/* =============================
      RESET & BASE 
  ===============================*/


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk' Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f6ff;
}


/*=================================
       GLOBAL TYPOGRAPHY 
  =================================*/

body {
  letter-spacing: 0.06em;   /* small spacing for everything */
}

/* slightly stronger spacing on headings */
h1, h2, h3, h4 {
  letter-spacing: 0.08em;
}


/* ============================
      HEADER & NAVIGATION 
  ==============================*/


header {
  background: linear-gradient(90deg, #6fbabf 0%, #e78be0 100%);
  color: white;
  padding: 0.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 44px;
}

.brand {
  display: flex;
  align-items: center;
}

.header-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-right: 8px;
  vertical-align: middle;
}

.brand-title a {
  font-family: 'Space Grotesk', Arial, sans-serif;
  letter-spacing: 1px;
  font-size: 1.5rem;
  color: white;
  text-decoration: none !important;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin-left: auto;
  
}

.nav-menu li {
  margin-left: 20px;
  position: relative;
}

.nav-menu > li > a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: block;
  padding: 10px 15px;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(90deg, #6fbabf 0%, #e78be0 100%) !important;
  list-style: none;
  padding: 10px 0;
  min-width: 200px;
  border-radius: 4px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 12px 20px;
}

.dropdown-menu li a:hover {
  background: #0056b3;
}

/* desktop dropdown arrows */
.dropdown-toggle::after {
  content: "▼";
  font-size: 0.75em;
  margin-left: 4px;
  vertical-align: middle;
  color: #0c0c0c;   /* white arrow on gradient header */
}


/* mobile hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;          /* will show only in @media */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #1b2a3a;    /* pick a color that suits your gradient */
  transition: 0.2s ease;
}


/* ==================================
    this is the mp4 hero background 
  ===================================*/


.hero {
  position: relative;
  width: 100vw;
  min-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*background: #000; /* optional for black bars if i make the cover to contain*/
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* HERO SECTION WITH IMAGE BACKGROUND 
.hero {
  width: 100vw;
  min-height: 350px;
  background: url('images/1.png') center center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 450px 0;
  text-align: center;
  box-sizing: border-box;
}
*/

.hero-content {
  margin-top: -260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-content h1 {
  margin-bottom: 30px;
}
.hero-content p {
  margin-bottom: 30px;
}
.hero-content a.btn {
  margin-bottom: 0;
}

.hero h1, .hero p {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  color: #fff;
  background: rgba(0,0,0,0.5);
  border-radius: 8px;
  padding: 8px 0;
  /*margin-bottom: 20px;*/
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.hero p {
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.hero a {
  font-size: 1.2rem;
}

/* BUTTONS */
.btn {
  background: rgba(0,0,0,0.5);
  color: #fafafa;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
  transition: background 0.2s, color 0.2s;
  width: 100%;
  max-width: 100%;
}

.btn:hover {
  background: linear-gradient(90deg, #6fbabf 0%, #e78be0 100%);
  color: #333;
}

/* PAGE SECTIONS */
section:not(.hero) {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
}

/*========================= 
     SERVICES GRID 
  =========================*/


.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;            /* Adjust this value as needed for spacing */
  max-width: 1400px;          /* Increase as needed */
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  align-items: stretch;
  margin-top: 40px;
  margin-bottom: 40px;
}

#services, section#services {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100vw !important;
}

.service {
  background: #f4f4f4;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* always align bars */
  height: 340px; /* tweak if needed */
}

/* Service Card Headings */
.service h3 a {
  color: #f4f7f1;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
}
.service h3 a:hover {
  text-decoration: underline;
}
.service h3 {
  margin-bottom: 15px;
}

.service {
    position: relative;
    color: #fff; /* Ensures text stands out, adjust as needed */
    padding: 20px;
    min-height: 280px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
}

/* Add a semi-transparent overlay for better text visibility */
.service::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); /* adjust darkness as needed */
    border-radius: 15px;
    z-index: 0;
}
.service * { position: relative; z-index: 1; }

/* Individual background images at our servics if using pics 
.service-network  { background-image: url('images/3.png'); }
.service-cloud    { background-image: url('images/3.png'); }
.service-cyber    { background-image: url('images/3.png'); }
.service-support  { background-image: url('images/g'); }
*/

.service-card {
  position: relative;
  max-width: 400px;
  min-width: 250px;
  height: 380px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  background: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;

}

.service-card h3 a,
.service-card h3 a:visited {
  color: #fff !important;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 1px;
}
.service-card h3 a:hover {
  color: #00d1ff;
  text-decoration: underline;
}


.card-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.service-content {
  position: relative;
  z-index: 2;
  width: 85%;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;  /* gives spacing between title and description */
  width: 100%;
  max-width: 100%;
}

/*================================== 
     About & Contact background 
====================================*/

.white-box-bg {
  /* background-image: url('images/4.png'); */
  background: #ffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 6px 32px rgba(0,0,0,0.10);
  min-height: 800px;


  /* full‑bleed trick */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;          /* exactly viewport width */

  margin-top: 40px;
  padding: 28px 0;       /* vertical spacing only */
}

.white-box-bg .contact-bar {
  position: relative;
  z-index: 1;
  margin-top: 0;
  margin-bottom: 0;

}

/* background video */
.section-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* everything else above the video */
.white-box-bg > *:not(.section-bg-video) {
  position: relative;
}

/* About section position tweak (if you still want it) */
.white-box-bg .about-section {
  position: relative;
  top: -55px;
  margin-bottom: 0;
}

/* About & Contact headings (only inside this block) */
.white-box-bg #about > h2,
.white-box-bg #contact > h2 {
  color: #000000;
  font-weight: bold;
  background: none;
  padding: 0;
  margin-bottom: 20px;
}

/* text sizes */
.white-box-bg .about-big {
  font-size: 1.15em;
}

.white-box-bg .contact-big {
  font-size: 1.15em;
}

/* full‑width black bars inside this block */
.white-box-bg .black-bg {
  background: rgba(0,0,0,0.7) !important;
  color: #fff;
  padding: 12px 20px;
  display: block;
  width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.white-box-bg .btn {
  background: rgba(0,0,0,0.7);
  color: #fafafa;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: block;
  text-align: center;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw; 
}

.white-box-bg .btn:hover {
  background: linear-gradient(90deg, #6fbabf 0%, #e78be0 100%);
  color: #333;
}

/* make About + Contact sections themselves full‑width in this block */
.white-box-bg #about,
.white-box-bg #contact {
  max-width: 100vw;
  width: 100%;
  margin: 0;
  padding: 60px 20px;
  margin-top: 40px;
  }

/* contact table inside black bar */
.white-box-bg .contact-table {
 width: 100vw;
 max-width: 100vw;
 margin: 0;
 border-collapse: separate;
 box-sizing: border-box;
}

.white-box-bg .contact-table td {
  padding: 0;
  font-size: 1em;
  color: #fff;
  vertical-align: middle;
  border: none;
  background: transparent;
}

.white-box-bg .contact-table tr:first-child td {
  border-top: none;
}

.white-box-bg .contact-table tr:last-child td {
  border-bottom: none;
}


/*===================================
          main blog page 
======================================*/

.content-page {
  background: white;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.content-page h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #0056b3;
}


/* INDIVIDUAL SERVICE CARD BACKGROUNDS */
.service-network {
  position: relative;
  background: url('images/3.png') center center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.service-cloud {
  position: relative;
  background: url('images/3.png') center center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.service-cyber {
  position: relative;
  background: url('images/3.png') center center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.service-support {
  position: relative;
  background: url('images/3.png') center center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}


.blog-hero {
  text-align: center;
  margin-top: 48px;
  margin-bottom: 26px;
}
.blog-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 1.2px;
}
.blog-hero-summary {
  font-size: 1.16em;
  color: #222;
  margin-bottom: 34px;
}
.blog-search-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 42px;
}
.blog-search-bar input[type="text"] {
  min-width: 390px;
  padding: 14px 20px;
  font-size: 1.07em;
  border: 1.5px solid #222;
  border-radius: 8px;
  outline: none;
  background: #fff;
}

.blog-grid-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 38px 24px;
}
.blog-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 18px rgba(0,0,0,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  background: #eee;
}
.blog-card-body {
  padding: 24px 22px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.blog-card-body h3 {
  font-size: 1.15em;
  font-weight: 700;
  color: #181b24;
  margin-bottom: 15px;
}
.blog-card-summary {
  font-size: 1.01em;
  color: #555;
  margin-bottom: 32px;
}
.blog-btn {
  width: 100%;
  border: 2px solid #222;
  border-radius: 7px;
  font-size: 1.1em;
  padding: 10px 0;
  background: #fff;
  color: #222;
  text-decoration: none;
  display: block;
  text-align: center;
  font-weight: 600;
  margin-top: auto;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.blog-btn:hover {
  background: #222;
  color: #fff;
  border-color: #444;
}


/* Blog 2 article layout */
.blog2-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 32px 40px 32px;   /* side gap (32px) and top/bottom padding */
}

/* hero layout */
.blog2-hero {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 28px;
}

.blog2-hero-image {
  max-width: 320px;
  border-radius: 15px;
}

.blog2-meta {
  color: #888;
}

/* headings and paragraph spacing */
.blog2-body h2 {
  margin: 1.6em 0 0.7em 0;
}

.blog2-body p {
  margin: 0 0 1.1em 0;      /* gap between paragraphs */
  line-height: 1.8;
}

/* lists */
.blog2-body ul {
  margin: 0 0 1.4em 1.2em;
  padding-left: 0;
}

.blog2-body li {
  margin-bottom: 0.6em;
}





/* ==========================
      FADE-IN EFFECTS 
  ===========================*/


.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 2.5s cubic-bezier(0.77,0,0.18,1) forwards;
}
.fade-in.delay-1 { animation-delay: 0.2s; }
.fade-in.delay-2 { animation-delay: 0.5s; }
.fade-in.delay-3 { animation-delay: 0.8s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}


/* SERVICE HIGHLIGHT STYLES – FORCE PERFECT BAR ALIGNMENT */
.service-highlight {
  background: rgba(0,0,0,0.7);
  border-radius: 8px;
  padding: 8px 16px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 98px;   /* increase if you want thicker bar, but all bars now LEVEL across cards */
  margin: 0;
}

.service h3,
.service-highlight { margin-top: 0; margin-bottom: 0; }
.service h3.service-highlight { margin-bottom: 0; }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
}



/* =======================
    Your footer styling: 
  =======================*/

.site-footer {
  background: #f9f9f9;
  color: #333;
  font-size: 0.95em;
  box-shadow: 0 -1px 5px rgba(0,0,0,0.05);
  padding: 40px 20px 10px 20px;
  margin-top: 60px;
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.footer-columns > div { min-width: 170px; }
.footer-columns h4 { margin-bottom: 8px; font-weight: bold; }
.footer-columns ul { list-style: none; margin: 0; padding: 0;}
.footer-columns ul li { margin-bottom: 8px;}
.footer-columns ul li a { color: #333; text-decoration: none;}
.footer-columns ul li a:hover { text-decoration: underline;}
.ack-country {
  margin: 28px 0 18px 0;
  font-size: 1em;
  text-align: left;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.footer-logo { font-family: 'Exo', Arial, sans-serif; font-size: 1.35em; font-weight: bold; margin-right: 16px;}
.footer-bottom {
  font-size: 0.9em;
  text-align: center;
  margin-top: 14px;
  color: #666;
}
.back-to-top {
  float: right;
  text-decoration: none;
  font-size: 1.5em;
  color: #d43f3a;
}

.policy-links {
  text-align: center;
  margin-bottom: 6px;
}
.policy-links a {
  color: #666;
  margin: 0 12px;
  text-decoration: none;
}
.policy-links a:hover {
  color: #0077cc;
  text-decoration: underline;
}

/*=================  
    CLOUD PAGE  
  =================*/

/* background image for cloud page */
.cloud-bg {
  background-image: url('images/5.png');  /* change to your cloud image if needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* full-width background section with centered content */
.content-page.cloud-bg {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  margin-right: 50%;
  transform: translateX(-50%);
  padding: 80px 0 60px 0;
}

/* video fills the section */
.content-page.cloud-bg .section-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* all other content sits above video */
.content-page.cloud-bg > *:not(.section-bg-video) {
  position: relative;
  z-index: 1;
}

/* headings general (reuse if same as other pages) */
.content-page h1,
.content-page h2 {
  color: #111;
  font-weight: bold;
  background: none;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.40);
}

/* heading black bars – full browser width */
.heading-black-box {
  background: rgba(0,0,0,0.7);
  padding: 22px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 24px 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
}

/* headings inside heading-black-box */
.heading-black-box h1,
.heading-black-box h2,
.heading-black-box h3 {
  color: #fff;
  font-weight: 900;
  text-align: center;
  margin: 0;
  width: 100%;
  letter-spacing: 1px;
  font-size: 1.85rem;
}

/* content black bars – full browser width */
.black-box {
  background: rgba(0,0,0,0.7);
  padding: 22px 24px;
  margin: 0 0 40px 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
  display: flex;
  justify-content: center;   /* centers inner content */
}

/* constrain and center inner text/list */
.black-box > p,
.black-box > ul {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

/* lists inside black-box */
.black-box ul {
  list-style-position: inside;
  padding: 0;
  margin: 0;
}

.black-box li {
  line-height: 2;
  color: #fff;
}

/* links inside black-box */
.black-box a {
  color: #fff;
  text-decoration: underline;
}

.black-box a:hover {
  color: #ffd700;
}


/*=====================  
  CYBERSECURITY PAGE  
  ====================*/

/* background image for cybersecurity page */
.cybersecurity-bg {
  background-image: url('images/5.png');  /* swap to your cyber image if needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* full-width background section with centered content */
.content-page.cybersecurity-bg {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  margin-right: 50%;
  transform: translateX(-50%);
  padding: 80px 0 60px 0;
}

/* video fills the section */
.content-page.cybersecurity-bg .section-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* all other content sits above video */
.content-page.cybersecurity-bg > *:not(.section-bg-video) {
  position: relative;
  z-index: 1;
}

/* headings general (same as other pages) */
.content-page h1,
.content-page h2 {
  color: #111;
  font-weight: bold;
  background: none;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.40);
}

/* heading black bars – full browser width */
.heading-black-box {
  background: rgba(0,0,0,0.7);
  padding: 22px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 24px 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
}

/* headings inside heading-black-box */
.heading-black-box h1,
.heading-black-box h2,
.heading-black-box h3 {
  color: #fff;
  font-weight: 900;
  text-align: center;
  margin: 0;
  width: 100%;
  letter-spacing: 1px;
  font-size: 1.85rem;
}

/* content black bars – full browser width */
.black-box {
  background: rgba(0,0,0,0.7);
  padding: 22px 24px;
  margin: 0 0 40px 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
  display: flex;
  justify-content: center;   /* centers inner content */
}

/* constrain and center inner text/list */
.black-box > p,
.black-box > ul {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

/* lists inside black-box */
.black-box ul {
  list-style-position: inside;
  padding: 0;
  margin: 0;
}

.black-box li {
  line-height: 2;
  color: #fff;
}

/* links inside black-box */
.black-box a {
  color: #fff;
  text-decoration: underline;
}

.black-box a:hover {
  color: #ffd700;
}

/*====================
  IT SUPPORT PAGE  
  ====================*/

/* background image for IT support page */
.itsupport-bg {
  background-image: url('images/5.png');  /* change to IT image if you like */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* full-width background section with centered content */
.content-page.itsupport-bg {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  margin-right: 50%;
  transform: translateX(-50%);
  padding: 80px 0 60px 0;
}

/* video fills the section */
.content-page.itsupport-bg .section-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* all other content sits above video */
.content-page.itsupport-bg > *:not(.section-bg-video) {
  position: relative;
  z-index: 1;
}

/* headings general (shared style) */
.content-page h1,
.content-page h2 {
  color: #111;
  font-weight: bold;
  background: none;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.40);
}

/* heading black bars – full browser width */
.heading-black-box {
  background: rgba(0,0,0,0.7);
  padding: 22px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 24px 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
}

/* headings inside heading-black-box */
.heading-black-box h1,
.heading-black-box h2,
.heading-black-box h3 {
  color: #fff;
  font-weight: 900;
  text-align: center;
  margin: 0;
  width: 100%;
  letter-spacing: 1px;
  font-size: 1.85rem;
}

/* content black bars – full browser width */
.black-box {
  background: rgba(0,0,0,0.7);
  padding: 22px 24px;
  margin: 0 0 40px 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
  display: flex;
  justify-content: center;   /* centers inner content */
}

/* constrain and center inner text/list */
.black-box > p,
.black-box > ul {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

/* lists inside black-box */
.black-box ul {
  list-style-position: inside;
  padding: 0;
  margin: 0;
}

.black-box li {
  line-height: 2;
  color: #fff;
}

/* links inside black-box */
.black-box a {
  color: #fff;
  text-decoration: underline;
}

.black-box a:hover {
  color: #ffd700;
}


/*=========================
   All-services cards
=========================*/

.qt-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1555px;
  margin: 40px auto;
}

.qt-service-card {
  position: relative;
  max-width: 500px;
  min-width: 380px;
  height: 400px;
  overflow: hidden !important;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qt-card-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 24px;
}

.qt-service-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* remove faded outer box */
.qt-service-outer {
  /* background: rgba(0,0,0,0.35); */
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* dark bars now full-width of card */
.qt-service-bar {
  background: rgba(0,0,0,0.7);
  border-radius: 12px;
  padding: 18px 12px;
  color: #fff;
  text-align: center;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.14);
  margin: 0;
  font-family: 'Exo', Arial, sans-serif;
  display: block;
  border-radius: 0;
}

.qt-service-outer h3.qt-service-bar {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.qt-service-outer p.qt-service-bar {
  font-size: 1.05rem;
  font-weight: 500;
}

.qt-service-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: .85em;
}

.qt-service-bar a:hover {
  color: #00d1ff;
  text-decoration: underline;
}


/*===================================
          network page 
====================================*/

/* background image for network page */
.network-bg {
  background-image: url('images/5.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* full-width background section with centered content */
.content-page.network-bg {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  margin-right: 50%;
  transform: translateX(-50%);
  padding: 80px 0 60px 0;
}

/* video fills the section */
.content-page.network-bg .section-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* all other content sits above video */
.content-page.network-bg > *:not(.section-bg-video) {
  position: relative;
  z-index: 1;
}

/* headings general */
.content-page h1,
.content-page h2 {
  color: #111;
  font-weight: bold;
  background: none;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.40);
}

/* heading black bars – full browser width */
.heading-black-box {
  background: rgba(0,0,0,0.7);
  padding: 22px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 24px 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
}

/* headings inside heading-black-box */
.heading-black-box h1,
.heading-black-box h2,
.heading-black-box h3 {
  color: #fff;
  font-weight: 900;
  text-align: center;
  margin: 0;
  width: 100%;
  letter-spacing: 1px;
  font-size: 1.85rem;
}

/* content black bars – full browser width */
.black-box {
  background: rgba(0,0,0,0.7);
  padding: 22px 24px;
  margin: 0 0 40px 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
  display: flex;
  justify-content: center;   /* centers inner content */
}

/* keep text constrained and centered inside full-width bar */
.black-box > p,
.black-box > ul {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

/* lists inside black-box */
.black-box ul {
  list-style-position: inside;  /* bullets follow centered text */
  padding: 0;
  margin: 0;
}

.black-box li {
  line-height: 2;
  color: #fff;
}

/* links inside black-box */
.black-box a {
  color: #fff;
  text-decoration: underline;
}

.black-box a:hover {
  color: #ffd700;
}




/*=============================================
        about page background pic
  =============================================*/


/* background for about page */
.about-bg {
  background-image: url('images/5.png');   /* swap to your about image if needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* full-width background section with centered content */
.content-page.about-bg {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  margin-right: 50%;
  min-height: 100vh;
  transform: translateX(-50%);
  padding: 80px 0 60px 0;
}

/* generic headings */
.content-page.about-bg h1,
.content-page.about-bg h2 {
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.45);
  margin-top: 0;
}

/* content boxes – full browser width */
.about-box {
  background: rgba(0,0,0,0.7);
  padding: 26px 28px;
  margin: 0 0 40px 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* inner content width + alignment */
.about-box > p,
.about-box > ul {
  max-width: 900px;
  width: 100%;
  margin: 12px auto 0 auto;
  color: #fff;
}

/* paragraphs centered, lists left for readability */
.about-box > p {
  text-align: center;
}

.about-box > ul {
  text-align: left;
  padding-left: 1.25rem;
  list-style-position: inside;
}

.about-box li {
  line-height: 1.9;
  color: #fff;
}

/* about call-to-action button */
.about-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 22px;
  background: #ff4fd8;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.about-btn:hover {
  background: #ff7be6;
}


/* full-width CTA bar on about page */
.about-cta {
  background: rgba(0,0,0,0.7);
  padding: 20px 24px;
  margin: 0 0 40px 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
}


.about-cta span {
  font-size: 0.95rem;
}



/* background image layer inside about page */
.about-bg-layer {
  position: absolute;
  inset: 0;
  background-image: url('images/5.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* make all about content sit above the layer */
.content-page.about-bg > *:not(.about-bg-layer) {
  position: relative;
  z-index: 1;
}



/*=====================================
        carrers page stuff
  =====================================*/


/* background for careers page */
.careers-bg {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  margin-right: 50%;
  min-height: 100vh;
  transform: translateX(-50%);
  padding: 80px 0 60px 0;
}

/* background image layer */
.careers-bg-layer {
  position: absolute;
  inset: 0;
  background-image: url('images/5.png');  /* change to careers image if you like */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* make content sit above the layer */
.careers-bg > *:not(.careers-bg-layer) {
  position: relative;
  z-index: 1;
}

/* headings */
.careers-bg h1,
.careers-bg h2 {
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.45);
  margin-top: 0;
}

/* full-width dark bands */
.careers-box {
  background: rgba(0,0,0,0.7);
  padding: 26px 28px;
  margin: 0 0 40px 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* links inside careers content */
.careers-box a {
  color: #ffb3ff;
  text-decoration: underline;
}

.carrers-box a:hover {
  color: #ffd700;
}

/* inner content width + alignment */
.careers-box > p,
.careers-box > ul {
  max-width: 900px;
  width: 100%;
  margin: 12px auto 0 auto;
  color: #fff;
}

/* paragraphs centered, lists left */
.careers-box > p {
  text-align: center;
}

.careers-box > ul {
  text-align: left;
  padding-left: 1.25rem;
  list-style-position: inside;
}

.careers-box li {
  line-height: 1.9;
  color: #fff;
}

/*================================
        legal page stuff
  ================================*/


/* outer section */
.legal-bg {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  margin-right: 50%;
  min-height: 100vh;
  transform: translateX(-50%);
  padding: 80px 0 60px 0;
}

/* background image layer */
.legal-bg-layer {
  position: absolute;
  inset: 0;
  background-image: url('images/5.png');  /* change to legal image if you like */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* content sits above background layer */
.legal-bg > *:not(.legal-bg-layer) {
  position: relative;
  z-index: 1;
}

/* headings */
.legal-bg h1,
.legal-bg h2 {
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.45);
  margin-top: 0;
}

/* full-width dark bands */
.legal-box {
  background: rgba(0,0,0,0.7);
  padding: 26px 28px;
  margin: 0 0 40px 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* inner content width + alignment */
.legal-box > p,
.legal-box > ul {
  max-width: 900px;
  width: 100%;
  margin: 12px auto 0 auto;
  color: #fff;
}

/* paragraphs centered, lists left */
.legal-box > p {
  text-align: center;
}

.legal-box > ul {
  text-align: left;
  padding-left: 1.25rem;
  list-style-position: inside;
}

.legal-box li {
  line-height: 1.9;
  color: #fff;
}

/* links inside legal content */
.legal-box a {
  color: #ffb3ff;
  text-decoration: underline;
}

.legal-box a:hover {
  color: #ffd700;
}

/*===============================
    whychooseus page stuff
  ==============================*/


/* outer section */
.whychooseus-bg {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  margin-right: 50%;
  min-height: 100vh;
  transform: translateX(-50%);
  padding: 80px 0 60px 0;
}

/* background image layer */
.whychooseus-bg-layer {
  position: absolute;
  inset: 0;
  background-image: url('images/5.png');  /* swap to a dedicated image if you like */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* content above background layer */
.whychooseus-bg > *:not(.whychooseus-bg-layer) {
  position: relative;
  z-index: 1;
}

/* headings */
.whychooseus-bg h1,
.whychooseus-bg h2 {
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.45);
  margin-top: 0;
}

/* full-width dark bands */
.whychooseus-box {
  background: rgba(0,0,0,0.7);
  padding: 26px 28px;
  margin: 0 0 40px 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* inner content width + alignment */
.whychooseus-box > p {
  max-width: 900px;
  width: 100%;
  margin: 12px auto 0 auto;
  color: #fff;
  text-align: center;
}



/*====================================
        new contact page
  ===================================*/

.contact-page-wrapper {
  background: #fff;
  font-family: 'Space Grotesk', Arial, sans-serif;
}

.contact-page-wrapper .contact-banner-bg {
  width: 100vw;
  height: 340px;
  background: url('images/bannercontact.jpg') center/cover no-repeat;
  position: absolute;
  left: 0; top: 0;
  z-index: 1;
}
.contact-page-wrapper .contact-banner-bg::after {
  content: '';
  position: absolute;
  left: 0; top: 0; width: 100vw; height: 100%;
  background: rgba(0,0,0,0.32);
  z-index: 2;
}

/* Centered big card overlay, floating above banner */
.contact-page-wrapper main {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.contact-page-wrapper .contact-center-card {
  background: #fff;
  box-shadow: 0 10px 38px 0 rgba(0,0,0,0.16);
  border-radius: 14px;
  padding: 46px 44px;
  margin-top: 120px;
  margin-bottom: 46px;
  display: flex;
  gap: 32px;
  max-width: 870px;
  width: 100%;
}

.contact-page-wrapper .contact-info-section { flex: 1 1 340px; }
.contact-page-wrapper .contact-form-section { flex: 1 1 340px; }

.contact-page-wrapper .contact-info-section h2 {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 13px;
}
.contact-page-wrapper .contact-abn {
  font-size: 1.08em;
  color: #333;
  margin-bottom: 7px;
}
.contact-page-wrapper .contact-desc {
  margin-bottom: 24px;
  line-height: 1.54;
  color: #444;
}
.contact-page-wrapper .orange-btn {
  width: 100%;
  background: #adf0ff;
  color: #111;
  border: none;
  border-radius: 7px;
  padding: 17px;
  margin-bottom: 22px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 10px rgba(233,123,48,0.12);
}
.contact-page-wrapper .orange-btn:hover {
  background: #adf0ff;
}

/* Phones listing */
.contact-page-wrapper .contact-list-label {
  font-size: 1.13em;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}
.contact-page-wrapper .contact-phones > div {
  margin-bottom: 14px;
}
.contact-page-wrapper .orange-outline {
  margin-top: 6px;
  padding: 7px 14px;
  border-radius: 7px;
  border: 2px solid #adf0ff;
  background: #fff;
  color: #111;
  font-weight: bold;
  font-size: 1em;
  outline: none;
  cursor: pointer;
}
.contact-page-wrapper .orange-outline:hover {
  background: #adf0ff;
  color: #111;
}
.contact-page-wrapper .orange-outline span {
  color: #adf0ff;
}

/* Contact form styling */
.contact-page-wrapper .contact-form-header {
  background: #adf0ff;
  color: #111;
  padding: 18px;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  font-weight: bold;
  font-size: 1.18em;
  text-align: center;
  margin-bottom: 22px;
}
.contact-page-wrapper .contact-form-section form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-page-wrapper .form-row {
  display: flex;
  gap: 10px;
}
.contact-page-wrapper form input,
.contact-page-wrapper form textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 7px;
  border: 1px solid #ccc;
  font-size: 1em;
  margin-bottom: 7px;
  background: #f8f8f8;
}
.contact-page-wrapper form input:focus,
.contact-page-wrapper form textarea:focus {
  border-color: #adf0ff;
}
.contact-page-wrapper form textarea {
  resize: vertical;
}

/* Make sure overlay cards are above the bg banner */
.contact-page-wrapper .contact-center-card,
.contact-page-wrapper main {
  position: relative;
  z-index: 10;
}



/*=====================================================================
 ----- SHARED DEFAULT STYLES (applies everywhere unless overridden) ----- 
 =====================================================================*/


nav {
  margin: 0 auto;
}

.nav-menu {
  margin-left: 0;
}
.nav-menu > li {
  margin: 0;
  position: relative;
}
.nav-menu > li > a {
  display: block;
  color: #222;
  transition: background 0.1s;
  text-decoration: none;
}
.header-logo {
  vertical-align: middle;
}
.brand-title a {
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: bold;
  text-decoration: none;
  color: #222;
}

/* Dropdown menu base */
.dropdown-menu {
  background: #fff;
  z-index: 20;
  width: 100%;
}
.dropdown-menu li a {
  color: #222;
  display: block;
  width: 100%;
  /*border-bottom: 1px solid #ececec; */
}

/* Dropdown triggers */
.dropdown:focus-within .dropdown-menu,
.dropdown.active .dropdown-menu,
.dropdown:active .dropdown-menu {
  display: block;
}





/* =========================
   MOBILE HEADER & DROPDOWN (<900px)
   ========================= */
   @media (max-width: 899px) {
  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    position: relative;
    max-width: 100%;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    width: auto;
  }

  .header-logo {
    width: 40px;
    height: 40px;
    margin-right: 0;
  }

  .brand-title a {
    font-size: 1.2rem;
    text-decoration: none;
    color: #222;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-weight: bold;
  }

  /* show hamburger, hide menu on mobile */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .nav-menu {
    position: absolute;
    top: 64px;          /* adjust if your header is taller/shorter */
    left: 0;
    right: 0;
    display: none;      /* hidden until .open added */
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    margin: 0;
    list-style: none;
    background: linear-gradient(90deg, #6fbabf 0%, #e78be0 100%);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    z-index: 50;
  }

  .nav-menu.open {
    display: block;
  }

  .nav-menu > li {
    width: 100%;
    margin: 0;
  }

  .nav-menu > li > a {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #222;
  }

  /* dropdowns inside panel */
  .dropdown {
    position: relative;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin: 0;
    padding: 0 0 0 10px;
    background: transparent;
    box-shadow: none;
  }

  .dropdown-menu li a {
    padding: 6px 0;
    font-size: 0.9rem;
    color: #444;
  }

  .dropdown-toggle::after {
    content: "▼";
    font-size: 0.75em;
    margin-left: 4px;
    vertical-align: middle;
    color: #222;
  }

  .dropdown:focus-within .dropdown-menu,
  .dropdown.active .dropdown-menu,
  .dropdown:active .dropdown-menu {
    display: block;
  }
}

/*index.html hero section mobile*/

@media (max-width: 900px) {
  html, body {
    overflow-x: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
  .hero {
    width: 100vw;                       /* Full viewport width */
    margin-left: calc(50% - 50vw);      /* Break out of any container */
    min-height: 50vh;                   /* Use a realistic height */
    padding: 0 !important;              /* Remove padding */
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    background: none !important;        /* Remove background if any */
  }
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;                       /* Video fills full width */
    height: 100%;                       /* Video matches hero section height */
    min-height: 100%;
    object-fit: contain !important;
    background: linear-gradient(90deg, #6fbabf 0%, #e78be0 100%);;
    z-index: 0;
  }

  .hero-content {
    display:  block !important;
    position: relative;
    z-index: 2;
    margin-top: 128px !important;
    padding: 24px 0;
  }

  .hero h1 {
    font-size: 1.3rem;
    padding: 8px 10px;
    margin-bottom: auto;
  }
  .hero p {
    font-size: .9rem;
    padding: 8px 10px;
    margin-bottom: 50px;
  }
  .hero-content a.btn {
    font-size: .95rem;
    padding: 8px 10px;
    margin-bottom: auto;
  }
}


@media (max-width: 600px) {
  .hero {
    min-height: 350px; /* compact for very small screens */
  }
  .hero-content {
    margin-top: 32px;
    padding: 12px 0 0 0;
  }
  .hero p {
    padding: 5px 7px;
    font-size: 1rem;
  }

   .hero h1 {
    padding: 5px 7px;
    font-size: 1.55rem !important;
  }

  .hero-content a.btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

@media (max-width: 600px) {
  .fade-in {
    transform: translateY(16px);
  }
}

/*======================================
      index service grid mobile 
=========================================*/

/* Tablets and small screens */
@media (max-width: 900px) {

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 100vw;
    padding: 0 8px;
  }

  .service-card {
    max-width: 90vw;
    min-width: 0;
    height: 330px;
  }

  /* Make black bars fill the card width */
  .service-content {
    padding: 18px 0;
    width: 100%;
    max-width: 100%;
    align-items: stretch;
  }

  .service-highlight {
    display: block;
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
    padding: 6px 8px;
  }

  .service-highlight a {
    font-size: 1.5rem !important;
  }

  .service-content p.service-highlight {
    font-size: 0.8rem;
  }
}

/* Phones */
@media (max-width: 600px) {

  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 4px;
  }

  .service-card {
    max-width: 98vw;
    height: 310px;
    min-width: 0;
    border-radius: 16px;
  }

  .service-content {
    padding: 14px 0;
    width: 100%;
    max-width: 100%;
  }

  .service-highlight {
    width: 100%;
    font-size: 0.97rem;
    min-height: 42px;
    padding: 5px 6px;
  }
}


/* ============================
   INDEX About + Contact mobile
   ============================ */

/* Phones and small tablets */
@media (max-width: 900px) {

  .white-box-bg {
    padding-top: 14px;
    padding-bottom: 24px;
  }

  /* Show the whole MP4 inside the rounded box */
  .white-box-bg .section-bg-video {
    object-fit: contain;   /* no side crop */
    background: linear-gradient(90deg, #6fbabf 0%, #e78be0 100%);
  }

  /* Headings tighter above bars */
  .white-box-bg #about > h2,
  .white-box-bg #contact > h2 {
    margin-top: 0;
    margin-bottom: 8px;
    text-align: center;
    font-size: 1.6rem;
  }

 .white-box-bg #about {
    margin-top: 0;      /* or 10–20px if you want a tiny gap */
  }

  /* Full‑width bars grouped nicely */
  .white-box-bg .black-bg,
  .white-box-bg .btn,
  .white-box-bg .contact-bar {
    margin-top: 8px;
    margin-bottom: 16px;
  }

  /* Lift Contact block over the band */
  .white-box-bg #contact {
    margin-top: 110px ;
  }

  /* Center contact info block over video */
  .white-box-bg .contact-bar {
    display: flex;
    justify-content: center;
  }

  .white-box-bg .contact-table {
    width: auto;
    max-width: 100%;
    font-size: 0.95rem;
  }

  .white-box-bg .contact-table td {
    padding: 2px 4px;
  }
}

/* Extra small phones */
@media (max-width: 600px) {

  .white-box-bg {
    padding-top: 2px;   /*moves the abount us up or down*/
    padding-bottom: 20px;
  }

  .white-box-bg #about > h2,
  .white-box-bg #contact > h2 {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }

  .white-box-bg .black-bg,        /*makes gap betwen discription box and btn*/
  .white-box-bg .btn,
  .white-box-bg .contact-bar {
    margin-top: 6px;
    margin-bottom: 8px;
  }

  .white-box-bg .contact-table {
    font-size: 0.9rem;
  }

  /* Slightly smaller lift on tiny screens */
  .white-box-bg #contact {              /*makes how far down the contact us start from learn more btn*/
    margin-top: 90px;
  }
}


/*================================
        footer mobile 
  =================================*/

@media (max-width: 900px) {
  .site-footer {
    padding: 22px 5px 5px 5px;
    font-size: 0.99em;
  }
  .footer-container {
    max-width: 99vw;
    padding: 0;
  }
  .footer-columns {
    flex-direction: column;
    gap: 14px;
  }
  .footer-columns > div {
    min-width: 0;
    margin-bottom: 8px;
  }
  .footer-logo {
    font-size: 1.09em;
    margin-right: 10px;
  }
  .footer-social {
    gap: 9px;
    margin-bottom: 9px;
    flex-wrap: wrap;
  }
  .footer-social img {
    height: 22px;
  }
  .ack-country {
    font-size: 0.91em;
    margin: 16px 0 11px 0;
    text-align: left;
    display: block;
  }
  .ack-country img {
    height: 18px;
    margin-right: 3px;
  }
  .policy-links {
    font-size: 0.95em;
    margin-bottom: 4px;
    margin-top: 8px;
  }
  .policy-links a {
    margin: 0 5px;
    font-size: 1em;
  }
  .footer-bottom {
    font-size: 0.88em;
    margin-top: 8px;
    text-align: center;
    color: #888;
  }
  .back-to-top {
    font-size: 1.2em;
    float: none;
    display: inline-block;
    margin-left: 7px;
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 11px 1px 3px 1px;
    font-size: 0.96em;
  }
  .footer-columns h4 {
    font-size: 1em;
    margin-bottom: 6px;
  }
  .footer-logo {
    font-size: 1em; margin-right: 6px;
  }
  .footer-social img,
  .ack-country img { height: 14px; }
}


/*====================================
  service page mobile optimization
  All-services cards – tablets 
  =====================================*/


  
@media (max-width: 900px) {
  .qt-service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 100vw;
    padding: 0 8px;
  }

  .qt-service-card {
    max-width: 90vw;
    min-width: 0;
    height: 340px;
    overflow: hidden !important;
    border-radius: 24px;
  }

  .qt-service-content,
  .qt-service-outer {
    width: 100%;
  }

  .qt-service-bar {
    width: 100%;
  }
}

/* All-services cards – phones */
@media (max-width: 600px) {
  .qt-service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 4px;
  }

  .qt-service-card {
    max-width: 98vw;
    height: 320px;
    min-width: 0;
    border-radius: 24px;
    overflow: hidden !important;
  }

  .qt-service-bar {
    padding: 14px 10px;
  }

  .qt-service-outer h3.qt-service-bar {
    font-size: 1.3rem;
  }

  .qt-service-outer p.qt-service-bar {
    font-size: 0.95rem;
  }
}



/*=========================
  RESPONSIVE: NETWORK PAGE  
  ========================*/

/* Tablets and down */
@media (max-width: 992px) {
  .content-page.network-bg {
    padding: 60px 0 40px 0;
  }

  .heading-black-box {
    padding: 18px 16px;
  }

  .heading-black-box h1,
  .heading-black-box h2 {
    font-size: 1.5rem;
  }

  .black-box {
    padding: 18px 16px;
    margin: 16px 0 32px 0;
  }

  .black-box > p,
  .black-box > ul {
    max-width: 95vw;
  }

  .black-box ul {
    font-size: 0.98rem;
  }

  .black-box li {
    line-height: 1.7;
  }
}

/* Phones */
@media (max-width: 600px) {
  html,
  body {
    overflow-x: hidden;                 /* stop horizontal scrolling */
  }

  .content-page.network-bg {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    transform: none;                    /* remove 50% translate hack */
    padding: 40px 0 30px 0;
  }

  .heading-black-box,
  .black-box {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .heading-black-box h1,
  .heading-black-box h2 {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
  }

  .black-box {
    padding: 14px 12px;
    margin: 16px 0 24px 0;
  }

  .black-box > p,
  .black-box > ul {
    max-width: 100%;
    padding: 0 12px;                    /* breathing room on sides */
  }

  .black-box ul {
    font-size: 0.95rem;
  }

  .black-box li {
    line-height: 1.6;
  }
}

/*==========================
  RESPONSIVE: CLOUD PAGE  
  ===========================*/

/* Tablets and down */
@media (max-width: 992px) {
  .content-page.cloud-bg {
    padding: 60px 0 40px 0;
  }

  .heading-black-box {
    padding: 18px 16px;
  }

  .heading-black-box h1,
  .heading-black-box h2 {
    font-size: 1.5rem;
  }

  .black-box {
    padding: 18px 16px;
    margin: 16px 0 32px 0;
  }

  .black-box > p,
  .black-box > ul {
    max-width: 95vw;
  }

  .black-box ul {
    font-size: 0.98rem;
  }

  .black-box li {
    line-height: 1.7;
  }
}

/* Phones */
@media (max-width: 600px) {
  html,
  body {
    overflow-x: hidden;
  }

  .content-page.cloud-bg {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    transform: none;
    padding: 40px 0 30px 0;
  }

  .heading-black-box,
  .black-box {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .heading-black-box h1,
  .heading-black-box h2 {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
  }

  .black-box {
    padding: 14px 12px;
    margin: 16px 0 24px 0;
  }

  .black-box > p,
  .black-box > ul {
    max-width: 100%;
    padding: 0 12px;
  }

  .black-box ul {
    font-size: 0.95rem;
  }

  .black-box li {
    line-height: 1.6;
  }
}


/*==============================
  RESPONSIVE: CYBERSECURITY PAGE  
  ==============================*/

/* Tablets and down */
@media (max-width: 992px) {
  .content-page.cybersecurity-bg {
    padding: 60px 0 40px 0;
  }

  .heading-black-box {
    padding: 18px 16px;
  }

  .heading-black-box h1,
  .heading-black-box h2 {
    font-size: 1.5rem;
  }

  .black-box {
    padding: 18px 16px;
    margin: 16px 0 32px 0;
  }

  .black-box > p,
  .black-box > ul {
    max-width: 95vw;
  }

  .black-box ul {
    font-size: 0.98rem;
  }

  .black-box li {
    line-height: 1.7;
  }
}

/* Phones */
@media (max-width: 600px) {
  html,
  body {
    overflow-x: hidden;
  }

  .content-page.cybersecurity-bg {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    transform: none;
    padding: 40px 0 30px 0;
  }

  .heading-black-box,
  .black-box {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .heading-black-box h1,
  .heading-black-box h2 {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
  }

  .black-box {
    padding: 14px 12px;
    margin: 16px 0 24px 0;
  }

  .black-box > p,
  .black-box > ul {
    max-width: 100%;
    padding: 0 12px;
  }

  .black-box ul {
    font-size: 0.95rem;
  }

  .black-box li {
    line-height: 1.6;
  }
}



/*==============================  
    RESPONSIVE: IT SUPPORT PAGE  
  ==============================*/

/* Tablets and down */
@media (max-width: 992px) {
  .content-page.itsupport-bg {
    padding: 60px 0 40px 0;
  }

  .heading-black-box {
    padding: 18px 16px;
  }

  .heading-black-box h1,
  .heading-black-box h2 {
    font-size: 1.5rem;
  }

  .black-box {
    padding: 18px 16px;
    margin: 16px 0 32px 0;
  }

  .black-box > p,
  .black-box > ul {
    max-width: 95vw;
  }

  .black-box ul {
    font-size: 0.98rem;
  }

  .black-box li {
    line-height: 1.7;
  }
}

/* Phones */
@media (max-width: 600px) {
  html,
  body {
    overflow-x: hidden;
  }

  .content-page.itsupport-bg {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    transform: none;
    padding: 40px 0 30px 0;
  }

  .heading-black-box,
  .black-box {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .heading-black-box h1,
  .heading-black-box h2 {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
  }

  .black-box {
    padding: 14px 12px;
    margin: 16px 0 24px 0;
  }

  .black-box > p,
  .black-box > ul {
    max-width: 100%;
    padding: 0 12px;
  }

  .black-box ul {
    font-size: 0.95rem;
  }

  .black-box li {
    line-height: 1.6;
  }
}

/*==============================
    RESPONSIVE: ABOUT PAGE  
  ==============================*/

/* Tablets and down */
@media (max-width: 992px) {
  .content-page.about-bg {
    padding: 60px 0 40px 0;
  }

  .about-box {
    padding: 20px 18px;
    margin: 0 0 32px 0;
  }

  .content-page.about-bg h1 {
    font-size: 1.7rem;
  }

  .content-page.about-bg h2 {
    font-size: 1.4rem;
  }

  .about-box > p,
  .about-box > ul {
    max-width: 95vw;
  }

  .about-box li {
    line-height: 1.7;
  }
}

/* Phones */
@media (max-width: 600px) {
  html,
  body {
    overflow-x: hidden;
  }

  .content-page.about-bg {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    transform: none;
    padding: 40px 0 30px 0;
    background-size: cover;      /* keep image on mobile */
    background-position: center;
  }

  .about-box {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 16px 14px;
    margin-bottom: 24px;
  }

  .content-page.about-bg h1 {
    font-size: 1.5rem;
  }

  .content-page.about-bg h2 {
    font-size: 1.25rem;
  }

  .about-box > p,
  .about-box > ul {
    max-width: 100%;
    padding: 0 10px;
  }

  .about-box ul {
    font-size: 0.95rem;
  }

  .about-box li {
    line-height: 1.6;
  }

  /* stack CTA content nicely */
  .about-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* responsive tweak */
@media (max-width: 600px) {
  .about-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


/*================================
    RESPONSIVE: CAREERS PAGE  
  ===============================*/

/* Tablets and down */
@media (max-width: 992px) {
  .careers-bg {
    padding: 60px 0 40px 0;
  }

  .careers-box {
    padding: 20px 18px;
    margin: 0 0 32px 0;
  }

  .careers-bg h1 {
    font-size: 1.7rem;
  }

  .careers-bg h2 {
    font-size: 1.4rem;
  }

  .careers-box > p,
  .careers-box > ul {
    max-width: 95vw;
  }

  .careers-box li {
    line-height: 1.7;
  }
}

/* Phones */
@media (max-width: 600px) {
  html,
  body {
    overflow-x: hidden;
  }

  .careers-bg {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    transform: none;
    padding: 40px 0 30px 0;
  }

  .careers-box {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 16px 14px;
    margin-bottom: 24px;
  }

  .careers-bg h1 {
    font-size: 1.5rem;
  }

  .careers-bg h2 {
    font-size: 1.25rem;
  }

  .careers-box > p,
  .careers-box > ul {
    max-width: 100%;
    padding: 0 10px;
  }

  .careers-box ul {
    font-size: 0.95rem;
  }

  .careers-box li {
    line-height: 1.6;
  }
}


/*=================================
    legal page @media code
  ==================================*/


/* Tablets and down */
@media (max-width: 992px) {
  .legal-bg {
    padding: 60px 0 40px 0;
  }

  .legal-box {
    padding: 20px 18px;
    margin: 0 0 32px 0;
  }

  .legal-bg h1 {
    font-size: 1.7rem;
  }

  .legal-bg h2 {
    font-size: 1.4rem;
  }

  .legal-box > p,
  .legal-box > ul {
    max-width: 95vw;
  }

  .legal-box li {
    line-height: 1.7;
  }
}

/* Phones */
@media (max-width: 600px) {
  html,
  body {
    overflow-x: hidden;
  }

  .legal-bg {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    transform: none;
    padding: 40px 0 30px 0;
  }

  .legal-box {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 16px 14px;
    margin-bottom: 24px;
  }

  .legal-bg h1 {
    font-size: 1.5rem;
  }

  .legal-bg h2 {
    font-size: 1.25rem;
  }

  .legal-box > p,
  .legal-box > ul {
    max-width: 100%;
    padding: 0 10px;
  }

  .legal-box ul {
    font-size: 0.95rem;
  }

  .legal-box li {
    line-height: 1.6;
  }
}

/*==================================
    whychooseus @media code
===================================*/



/* Tablets and down */
@media (max-width: 992px) {
  .whychooseus-bg {
    padding: 60px 0 40px 0;
  }

  .whychooseus-box {
    padding: 20px 18px;
    margin: 0 0 32px 0;
  }

  .whychooseus-bg h1 {
    font-size: 1.7rem;
  }

  .whychooseus-bg h2 {
    font-size: 1.4rem;
  }

  .whychooseus-box > p {
    max-width: 95vw;
  }
}

/* Phones */
@media (max-width: 600px) {
  html,
  body {
    overflow-x: hidden;
  }

  .whychooseus-bg {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    transform: none;
    padding: 40px 0 30px 0;
  }

  .whychooseus-box {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 16px 14px;
    margin-bottom: 24px;
  }

  .whychooseus-bg h1 {
    font-size: 1.5rem;
  }

  .whychooseus-bg h2 {
    font-size: 1.25rem;
  }

  .whychooseus-box > p {
    max-width: 100%;
    padding: 0 10px;
  }
}



/* ===================================
    contact us page @ media 
  ====================================*/

@media (max-width: 900px) {
  .contact-page-wrapper .contact-banner-bg {
    height: 190px;
    min-height: 110px;
  }
  .contact-page-wrapper main {
    min-height: 0;
    padding: 0 2vw;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  .contact-page-wrapper .contact-center-card {
    flex-direction: column;
    gap: 20px;
    padding: 18px 8px;
    margin-top: 86px;
    margin-bottom: 22px;
    border-radius: 10px;
    max-width: 97vw;
    width: 98vw;
    box-shadow: 0 6px 20px 0 rgba(0,0,0,0.13);
  }
  .contact-page-wrapper .contact-info-section,
  .contact-page-wrapper .contact-form-section {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
    padding: 0;
  }
  .contact-page-wrapper .contact-info-section h2 {
    font-size: 1.2em;
    margin-bottom: 11px;
  }
  .contact-page-wrapper .contact-abn,
  .contact-page-wrapper .contact-desc {
    font-size: 1em;
    margin-bottom: 10px;
  }
  .contact-page-wrapper .contact-list-label {
    font-size: 1.09em;
    margin-bottom: 4px;
  }
  .contact-page-wrapper .contact-phones > div {
    margin-bottom: 10px;
  }
  .contact-page-wrapper .orange-outline {
    padding: 7px 8px;
    font-size: 0.98em;
    border-radius: 6px;
    width: 96vw;
    max-width: 300px;
    margin-bottom: 5px;
    text-align: center;
  }
  .contact-page-wrapper .contact-form-header {
    padding: 11px 5px;
    font-size: 1.05em;
    margin-bottom: 13px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
  }
  .contact-page-wrapper .form-row {
    flex-direction: column;
    gap: 0;
  }
  .contact-page-wrapper form input,
  .contact-page-wrapper form textarea {
    padding: 9px 10px;
    font-size: 0.98em;
    border-radius: 6px;
    margin-bottom: 7px;
  }
  .contact-page-wrapper .orange-btn {
    font-size: 0.98em;
    padding: 11px 0;
    max-width: 290px;
    margin: 12px auto 0 auto;
    border-radius: 6px;
    width: 97vw;
    display: block;
  }
}

@media (max-width: 600px) {
  .contact-page-wrapper .contact-banner-bg {
    height: 98px;
    min-height: 48px;
  }
  .contact-page-wrapper .contact-center-card {
    padding: 7px 2px;
    margin-top: 38px;
    max-width: 98vw;
    border-radius: 5px;
    box-shadow: 0 2px 9px rgba(0,0,0,0.11);
  }
  .contact-page-wrapper .orange-outline,
  .contact-page-wrapper .orange-btn {
    font-size: 0.97em;
    padding: 7px 0;
    border-radius: 5px;
    max-width: 190px;
  }
  .contact-page-wrapper .contact-form-header {
    font-size: 0.99em;
    padding: 7px 2px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
  }
  .contact-page-wrapper form input,
  .contact-page-wrapper form textarea {
    padding: 7px 6px;
    font-size: 0.97em;
    border-radius: 5px;
  }
}


/*============================
  blog main page @media code 
  ============================*/

@media (max-width: 900px) {
  .blog-hero {
    margin-top: 23px;
    margin-bottom: 13px;
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .blog-hero h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
  }
  .blog-hero-summary {
    font-size: 1.08em;
    margin-bottom: 19px;
  }
  .blog-search-bar {
    margin-bottom: 23px;
  }
  .blog-search-bar input[type="text"] {
    min-width: 0;
    width: 96vw;
    max-width: 410px;
    padding: 10px 12px;
    font-size: 1em;
    border-radius: 6px;
    border-width: 1px;
  }
  .blog-grid-section {
    max-width: 100vw;
    width: 100vw;
    padding: 0 1vw;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px 0;
  }
  .blog-card {
    border-radius: 8px;
    box-shadow: 0 2px 11px rgba(0,0,0,0.10);
  }
  .blog-card-img {
    height: 152px;
    border-radius: 0;
  }
  .blog-card-body {
    padding: 14px 7px 15px 7px;
  }
  .blog-card-body h3 {
    font-size: 1em;
    margin-bottom: 11px;
  }
  .blog-card-summary {
    font-size: 0.99em;
    margin-bottom: 24px;
  }
  .blog-btn {
    font-size: 1em;
    padding: 8px 0;
    border-radius: 6px;
    margin-top: auto;
    max-width: 210px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .blog-hero {
    margin-top: 12px;
    margin-bottom: 6px;
    padding-left: 4px;
    padding-right: 4px;
  }
  .blog-hero h1 {
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
  }
  .blog-search-bar input[type="text"] {
    padding: 8px 6px;
    font-size: 0.97em;
    border-radius: 5px;
  }
  .blog-grid-section {
    padding: 0 0.5vw;
  }
  .blog-card {
    border-radius: 5px;
  }
  .blog-card-img {
    height: 88px;
  }
  .blog-card-body {
    padding: 8px 3px 9px 3px;
  }
  .blog-btn {
    font-size: 0.97em;
    padding: 7px 0;
    border-radius: 5px;
    max-width: 148px;
  }
}


/*=============================
  blog artical pages @media code
  ==============================*/

@media (max-width: 900px) {
  .content-page {
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 20px 0 0 0 !important;
    background: #fff;
  }
  .content-page > section {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
    margin-bottom: 16px !important;
    padding: 0 2vw;
  }
  .content-page > section img {
    max-width: 96vw !important;
    width: 98vw !important;
    margin: 0 auto 7px auto;
    border-radius: 10px !important;
    height: auto !important;
    display: block;
  }
  .content-page > section h1 {
    font-size: 1.47em !important;
    margin-bottom: 6px !important;
    text-align: center;
    letter-spacing: 1px;
  }
  .content-page > section p {
    font-size: 1em !important;
    color: #888 !important;
    text-align: center;
  }
  article, .content-page article {
    padding: 0 2vw !important;
    font-size: 0.99em;
  }
  article h2 {
    font-size: 1.07em !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    text-align: left;
  }
  ul, Ul {
    padding-left: 18px !important;
    font-size: 0.99em;
    margin-top: 8px;
    margin-bottom: 8px;
  }
  li, Li {
    font-size: 0.99em;
    margin-bottom: 5px;
    line-height: 1.5;
    word-break: break-word;
  }
  /* Recommended grid/card section */
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 13px 0 !important;
    max-width: 97vw !important;
    margin: 0 auto;
    padding: 0 2vw;
  }
  .blog-card {
    border-radius: 8px;
    box-shadow: 0 2px 9px rgba(0,0,0,0.10);
    overflow: hidden;
  }
  .blog-card-img {
    height: 120px !important;
    border-radius: 0;
    width: 100%;
    display: block;
    object-fit: cover;
  }
  .blog-card-body {
    padding: 11px 7px 13px 7px !important;
    font-size: 0.97em;
  }
  .blog-card-body h3 {
    font-size: 1em !important;
    margin-bottom: 8px !important;
  }
  .blog-card-summary {
    font-size: 0.97em !important;
    margin-bottom: 18px !important;
    color: #555 !important;
  }
  .blog-btn {
    font-size: 0.98em !important;
    padding: 8px 0 !important;
    border-radius: 5px !important;
    margin-top: auto !important;
    max-width: 180px !important;
    margin: 7px auto 0 auto !important;
    display: block !important;
  }
}

@media (max-width: 600px) {
  .content-page {
    padding: 7px 0 0 0 !important;
  }
  .content-page > section,
  article,
  .blog-grid {
    padding: 0 1vw !important;
    gap: 7px 0 !important;
    max-width: 99vw !important;
  }
  .content-page > section img {
    max-width: 97vw !important;
    border-radius: 6px !important;
    height: auto !important;
  }
  article h2 {
    font-size: 0.98em !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
  }
  .blog-card {
    border-radius: 5px !important;
  }
  .blog-card-img {
    height: 70px !important;
    border-radius: 0;
  }
  .blog-card-body {
    padding: 6px 3px 8px 3px !important;
    font-size: 0.97em;
  }
  .blog-btn {
    font-size: 0.97em !important;
    padding: 6px 0 !important;
    border-radius: 4px !important;
    max-width: 120px !important;
  }
}

@media (max-width: 768px) {
  .blog2-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog2-article {
    padding: 32px 18px 32px 18px;
  }
}

@media (max-width: 480px) {
  .blog2-article {
    padding: 28px 14px 28px 14px;
  }

  .blog2-hero-image {
    max-width: 100%;
  }

  .blog2-body h2 {
    font-size: 1.25rem;
  }
}



/*==============================
  bottom policy page @media code
  ==============================*/

@media (max-width: 900px) {
  .policy-page {
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 17px 0 0 0 !important;
    background: #fff;
    border-radius: 6px;
  }
  .policy-page h1, .policy-page h2 {
    font-size: 1.47em !important;
    padding: 6px 8px !important;
    margin-bottom: 13px !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.18) !important;
    text-align: center !important;
  }
  .policy-page h1 {
    font-size: 1.73em !important;
    margin-bottom: 17px !important;
  }
  .policy-page h2 {
    font-size: 1.29em !important;
    margin-top: 16px !important;
    margin-bottom: 9px !important;
  }
  .policy-page p, .policy-page ul, .policy-page li {
    font-size: 1em !important;
    padding-left: 0 !important;
    line-height: 1.5 !important;
    margin-bottom: 11px !important;
    word-break: break-word;
  }
  .policy-page ul {
    padding-left: 17px !important;
    margin-bottom: 14px !important;
  }
  .policy-page li {
    font-size: 0.99em !important;
    margin-bottom: 9px !important;
  }
  .policy-page a {
    color: #0056b3 !important;
    text-decoration: underline;
    word-break: break-word;
  }
}

@media (max-width: 600px) {
  .policy-page {
    max-width: 100vw !important;
    padding: 5px 0 0 0 !important;
    border-radius: 4px;
  }
  .policy-page h1, .policy-page h2 {
    font-size: 1.07em !important;
    padding: 4px 4px !important;
    margin-bottom: 6px !important;
    text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.12) !important;
    text-align: center !important;
  }
  .policy-page h1 {
    font-size: 1.25em !important;
    margin-bottom: 9px !important;
  }
  .policy-page h2 {
    font-size: 1em !important;
    margin-top: 11px !important;
    margin-bottom: 5px !important;
  }
  .policy-page p, .policy-page ul, .policy-page li {
    font-size: 0.98em !important;
    margin-bottom: 6px !important;
    word-break: break-word;
  }
  .policy-page ul {
    padding-left: 11px !important;
    margin-bottom: 10px !important;
  }
  .policy-page li {
    margin-bottom: 5px !important;
  }
}
