/* ==========================================================================
   GLOBAL MOBILE TAP OVERRIDE - REMOVES DEFAULT BLUE FLASH
========================================================================== */
*, 
a, 
button, 
.card, 
.card-pages, 
.nav-link,
[role="button"] {
  /* Forces the mobile browser to make the automatic touch flash transparent */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  -webkit-tap-highlight-color: transparent !important;
  
  /* Extra mobile safety properties to block native browser callout popups */
  -webkit-touch-callout: none;
}


/*ACTUAL CSS CODE*/
:root {
  --blue: #009bd7;
  --cyan: #27B6E3;
  --orange: #F58220;
  --dark: #0D1B2A;
  --grey: #B3B7BD;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Montserrat',sans-serif;
}

html{
  scroll-behavior:smooth;
  overflow-x:clip;
  max-width:100%;
}

body{
  background: linear-gradient(
    135deg,
    black 47%/*rgba(6, 9, 34, 0.98) 47%*/,
    black 53%
  );

  color:#B3B7BD;

  display:flex;
  flex-direction:column;

  min-height:100vh;
  margin:0;
  width:100%;
  max-width:100%;

  overflow-x:clip;
  position:relative;
  isolation:isolate;

  -webkit-text-size-adjust:100%;

    
}

#tsparticles {
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}

nav,
section,
.features,
.services,
footer,
.page-content {
  position:relative;
  z-index:1;
}

/*HAMBURGER BUTTON*/
html.nav-open-lock {
  overflow: hidden !important;
  overscroll-behavior: contain;
   background: black;
}
body.nav-open-lock {
  position: fixed !important;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden !important;
  touch-action: none;
}

/* Keep the nav pinned to the viewport while the menu is open */
body.nav-open-lock nav {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
}
/*HAMBURGER BUTTON*/

.page-content{
  flex:1;

  display:flex;
  flex-direction:column;
}

h1,h2,h3{
  color:white;
  font-family:'Montserrat',sans-serif;
  font-weight:600;
}

img{
  max-width:100%;
  height:auto;
}

/* =========================
   NAV
========================= */

nav{
  position:sticky;
  top:0;
  z-index:100;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:14px 7%;

 background: linear-gradient(
    135deg,
    rgba(6, 9, 34, 0.98) 0%,
    rgba(6, 9, 34, 0.98) 100%
  );


   border-bottom:
    1px solid rgba(255,255,255,0.06);


  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    padding 0.4s ease;

}


.nav-left{
  display:flex;
  align-items:center;
    gap:14px;
    text-decoration:none;
}

.nav-left h2{
  line-height:1.05;
   /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.5rem | Maximum: 22px (1.375rem) */
  font-size: clamp(0.5rem, 1vw + 0.5rem, 1.375rem); 		/*SAME AS CARD HEADING*/

}

.logo{
    width: clamp(1rem, 1vw + 1.375rem, 3.5rem) !important;
  height: clamp(1rem, 1vw + 1.375rem, 3.5rem) !important; 

}

nav.scrolled{
  padding:6px 7%;

  background:
    rgba(6, 9, 34, 0.9);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.25);
}

.nav-active{
  color:white !important;
}

.nav-active::after{
  width:100% !important;
}

.nav-link{
  position:relative;

  margin-left:28px;

  color:rgba(255,255,255,0.82);

  text-decoration:none;

  font-size:clamp(0.4rem, 1vw + 0.2rem, 1.375rem);
  font-weight:500;

  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}

.nav-link::after{
  content:"";

  position:absolute;

  left:0;
  bottom:-8px;

  width:0%;
  height:2px;

  background:var(--blue);

  transition:width 0.3s ease;
}

.nav-link:hover{
  color:white;
}

.nav-link:hover::after{
  width:100%;
}

nav{
  animation:navReveal 0.8s ease;
}

@keyframes navReveal{
  from{
    opacity:0;
    transform:translateY(-20px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}
nav span{
  color:var(--blue);
}


.nav-right{
  margin-top:30px;
  font-size:23px;
  
}

.nav-right a{
  color:white;
  font-size: clamp(6px, 1vw, 18px);

}

.nav-right a:not(:has(.get-quote-btn-nav)):hover{
  opacity:0.7;
    
}



.social-icon{
   /* Box Size: Scales from 20px (1.25rem) to 56px (3.5rem) so the 48px font actually fits */
  width: clamp(0.5rem, 1vw + 0.75rem, 1.5rem) !important;
  height: clamp(0.5rem, 1vw + 0.75rem, 1.5rem) !important;

  filter: invert(100%)
          sepia(100%)
          grayscale(100%)
          brightness(150%);

  transition: filter 0.3s ease;
}

/* =========================
   HERO
========================= */

/* ---- HERO (fluid) ---- */
.hero{
  position:relative;
  /* Fluid height: never less than 560px, scales with viewport, capped at 800px */
  /* FLUID HEIGHT: Scales flawlessly based on screen width. 
     - Minimum: 300px on small mobile so text/content fits safely.
     - Preferred: 50vw ensures the height shrinks proportionally with the screen width.
     - Maximum: 750px so it never gets too tall on ultra-wide desktop monitors. */
  /*height: clamp(90vh, 50vw, 900px);*/
  /*height: clamp(200px, 80vh, 90vh);*/
  height: 80vh;
  background:url('images/cloud_router_clearer.png') ;
   background-position: center center; 
  background-size: cover;
   background-repeat: no-repeat;
  overflow:hidden;
  
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, black 20%, transparent);
}

.hero-content{
  position:relative;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap: clamp(24px, 4vw, 40px);
  min-height: 100%;
  /* Fluid padding scales from tight phone to wide desktop */
  padding: clamp(70px, 10vh, 110px) clamp(20px, 8vw, 120px) clamp(90px, 12vh, 130px);
}

.hero-text{
  flex: 1 1 320px;
  /*max-width: 720px;*/
  max-width: 100%;
}

.hero-text h1{
  /* Smooth scale from phone to large desktop — no breakpoints needed */
  font-size: clamp(30px, 3vw, 70px); ;
  line-height: 1.15;
}

.hero-text span{
  color:#009BD7;
}

.hero-text p{
  margin: clamp(12px, 2vh, 22px) 0;
  color:#aaa;
  /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.3rem | Maximum: 22px (1.375rem) */
  font-size: clamp(12px, 1vw, 24px);  		/*Same as CARD PARAGRAPH*/

  line-height: 1.5;
}

.hero-buttons{
  display:flex;
  gap: clamp(10px, 1.5vw, 18px);
  flex-wrap: wrap;
}

.hero-visual img{
  width: clamp(140px, 18vw, 220px);
  opacity:.8;
}

.hero-stats{
  
    display: flex;
    flex-wrap: nowrap; /* Allows items to wrap to the next line on small screens */
    justify-content: center; /* Centers the boxes horizontally (optional) */
    gap: clamp(15px, 3vw, 30px); /* Adjust the middle value down so it doesn't get too large */
    margin-top: clamp(20px, 3vh, 40px);
  
}

.stat{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(10px);
  /* Tighter padding that shrinks down significantly on small screens */
  padding: clamp(10px, 1.2vw, 18px);
  border-radius: 14px;
  /* WIDTH: Shrinks down to a very narrow 140px on mobile, maxes out at 220px */
  width: clamp(100px, 15vw, 220px) !important;
   /* HEIGHT: Shrinks down to 50px on mobile, caps tightly at 85px */
  height: clamp(50px, 7vw, 85px) !important; 
  
  /* Flexbox forces the text to stay perfectly centered inside the restricted height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box; 
  

}

.stat h3{
  color: white;
  margin: 0;
  white-space: nowrap; /* Prevents the headline from wrapping awkwardly when tiny */
  
  /* Text shrinks down to a tiny 11px on mobile, caps at 20px on desktop */
  font-size: clamp(10px, 1.3vw, 20px);
  line-height: 1.1;
}

.stat p{
  color: #B3B7BD;
  margin-top: 3px; /* Reduced gap to save vertical space */
  margin-bottom: 0;
  white-space: nowrap; /* Keeps subtext clean and on one line */
  
  /* Text shrinks down to a micro 9px on mobile, caps at 14px on desktop */
  font-size: clamp(8px, 0.9vw, 14px);
}

/* =========================
   BUTTONS (fluid)
========================= */

.btn{
  padding: clamp(8px, 1.2vh, 14px) clamp(14px, 2vw, 22px);
  border:none;
  border-radius:8px;
  cursor:pointer;
  color:white;
}

.btn a{
  color:inherit;
  text-decoration:none;
}

.btn-primary{
  background:#009BD7;
  color:white;
  font-size: clamp(0.7rem, 0.55rem + 0.4vw, 1.05rem);
  font-family:'Montserrat',sans-serif;
  font-weight:600;
  height: clamp(38px, 5.5vh, 50px);
  text-decoration:none;
}

.btn-primary:hover{
  background:white;
  color:black;
  transition:all 0.3s ease;
}

.request-btn{
  width:100%;
  margin-top:auto;
  font-size: clamp(14px, 2vw, 18px);
  padding:10px 16px;
  height:auto;
}

.btn-secondary{
  color:#B3B7BD;
  font-size: clamp(0.7rem, 0.55rem + 0.4vw, 1rem);
  height: clamp(38px, 5.5vh, 50px);
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.1);
  backdrop-filter:blur(10px);
}

.btn-secondary:hover{
  color:white;
  transition:all 0.3s ease;
}

/* =========================
   FEATURES (fluid grid)
========================= */

.features{
  /*display:grid;
  /* auto-fit reflows 4 → 3 → 2 → 1 columns as screen shrinks */
  /*grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));*/
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(8px, 1.5vw, 16px);
  padding: clamp(12px, 1.8vw, 22px);
  margin: 0 auto;
  max-width:2200px;
  background: transparent;/*rgba(6, 9, 34, 0.98);*/
  border-radius:12px;
  position:relative;
  z-index:10;
  opacity:0;
  animation: featuresIntro 1.2s ease-out forwards;
}

@keyframes featuresIntro{
  from{ opacity:0; transform:translateY(20px); }
  to  { opacity:1; transform:translateY(0); }
}

.feature{
  text-align:left;
  padding: clamp(10px, 1.5vw, 18px);
  
}

.feature h3{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px 0;
  /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.5rem | Maximum: 22px (1.375rem) */
  font-size: clamp(14px, 1vw, 18px);   /* SAME AS CARD heading*/

  font-weight: 600;
  color: var(--blue);
}

.feature p{
  margin: 0;

  /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.3rem | Maximum: 22px (1.375rem) */
 font-size: clamp(10px, 1vw, 16px);  		/* SAME AS CARD PARAGRAPH*/

  line-height: 1.45;
  color: #B3B7BD;
}

/* Vertical divider between cards — only when they sit on the same row */
.feature + .feature{
  border-left:1px solid rgba(179,183,189,0.4);
}

/* =========================
   SECTIONS
========================= */

.services,
.pricing{
  padding: clamp(40px, 7vh, 80px) clamp(20px, 6vw, 100px);
  text-align:center;
}

.services p, .pricing p{
  /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.3rem | Maximum: 22px (1.375rem) */
  font-size: clamp(0.5rem, 1vw + 0.3rem, 1.375rem); /*SAME AS CARD paragraph*/

}

.services h2,
.pricing h2{
  /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.5rem | Maximum: 22px (1.375rem) */
  font-size: clamp(0.5rem, 1vw + 0.5rem, 1.375rem);  /*SAME AS CARD HEADING*/
  line-height: 1.25;
}

/* =========================
   MAIN CARD GRID (fluid)
========================= */

.cards{
  display:grid;
  /* Auto-fit: cards reflow naturally on any screen */
  grid-template-columns: repeat(auto-fit, minmax(clamp(160px, 30vw, 320px), 1fr));
  gap: clamp(12px, 2vw, 35px);
  max-width:1700px;
  margin:0 auto;
  padding: clamp(15px, 2.5vw, 40px);
}

/* =========================
   MAIN CARDS
========================= */

.cards a{
  text-decoration:none;
}

.card{
  width:100%;
  /* Fluid min-height: shrinks on phones, expands on desktop, no breakpoints */
  min-height: clamp(100px, 35vh, 200px);
  padding: clamp(14px, 2.2vw, 32px);
  border-radius: clamp(12px, 1.5vw, 20px);
  position:relative;
  overflow:hidden;
  font-family:'Montserrat',sans-serif;
  border:1px solid rgba(255,255,255,0.08);
  background: transparent;
  display:flex;
  flex-direction:column;
}

.card h3{
  font-size: clamp(14px, 1vw, 26px);
  margin-bottom: clamp(6px, 1vw, 18px);
  color:#aaa;
  line-height:1.25;
}


.card p{
  color:#aaa;
  /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.3rem | Maximum: 22px (1.375rem) */
  font-size: clamp(10px, 1vw, 18px);
  line-height:1.5;
  margin-top: clamp(6px, 1vw, 10px);
}


.card::before{
  content:'';

  position:absolute;

  top:0;
  left:0;

  height:100%;
  width:4px;

  background: linear-gradient(
    to bottom,
    var(--blue),
    var(--orange)
  );

  transform:scaleY(0);
  transform-origin:top;

  transition: transform 0.35s cubic-bezier(0.23, 1, 0.320, 1);

  z-index:1;
}

.card::after{
  content:"";

  position:absolute;
  inset:0;

  background: radial-gradient(
    circle at bottom right,
    var(--dark ),
    transparent 10%
  );

  pointer-events:none;
}

.card:nth-child(odd){
  border-left:3px solid var(--blue);
}

.card:nth-child(even){
  border-left:3px solid var(--orange);
}

.card:hover{
  transform:translateY(-6px);

  border-color: rgba(39, 182, 227, 0.3);

  box-shadow:
    0 0px 0px rgba(39, 182, 227, 0.25),
    0 0 0px rgba(39, 182, 227, 0.15);

  cursor:pointer;
}

.card:hover::before{
  transform:scaleY(1);
}

.highlight{
  border:1px solid var(--blue);
}

/* =========================
   PAGE CARD GRID
========================= */

.card-pages-main{
  display:grid;

  /* Lowered from 500px to 280px to allow 2 columns to fit on mobile landscape */
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(600px, 100%), 1fr)
  );

  gap:40px;

  max-width:1600px;
  margin:60px auto;
  padding:20px;

  align-items:stretch;
}

/* 3. MOBILE LANDSCAPE (Explicitly 2 Columns) */
@media (max-width: 950px) and (orientation: landscape) {

  .card-pages-main {
    /* Ensures it stays at 2 columns when a phone flipped sideways */
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

}

/* =========================
   PAGE CARDS
========================= */

.card-pages,
.card-pages-about-us{
  width:100%;
  /*min-height:380px;*/

  padding:32px;
  border-radius:18px;

  border:1px solid rgba(255,255,255,0.08);



  color:#B3B7BD;

  transition: all 0.35s ease;

  

  text-decoration:none;
}

.card-pages-contact-us,
#card-pages-contact-us-quote{
  display: block;
  text-decoration: none; /* Removes the underline from link behavior */
  /*background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);*/
  border-radius: 16px;
  padding: 24px 30px;
  margin: 40px auto;
  max-width: 650px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Subtle background glow effect on hover */
.card-pages-contact-us::before,
#card-pages-contact-us-quote::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.card-pages-contact-us h3,
#card-pages-contact-us-quote h3 {
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

 .card-pages-contact-us p,
  #card-pages-contact-us-quote p {
    color:#B3B7BD;
  }

/* "Talk to us" wrapper row */
.card-pages-contact-us .price,
#card-pages-contact-us-quote .price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  color: white/*#25D366*/; /* Official premium WhatsApp green color */
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 16px;
  border: 1.5px solid rgba(37, 211, 102, 0.4);
  border-radius: 18px;
  transition: all 0.3s ease;
}


.card-pages-contact-us .Email-CV-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  color: white/*#25D366*/; /* Official premium WhatsApp green color */
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 16px;
  border: 1.5px solid var(--blue );
  border-radius: 18px;
  transition: all 0.3s ease;
}

.card-pages-contact-us .social-icon,
#card-pages-contact-us-quote .social-icon {
  width: 20px;
  height: 20px;
  /* Recolor embedded SVG/bitmap towards WhatsApp green while preserving drop shadow */
  filter: invert(58%) sepia(66%) saturate(500%) hue-rotate(85deg) brightness(92%) contrast(92%) drop-shadow(0 3px 8px rgba(0,0,0,0.25));
}

.card-pages-contact-us .card-icons2 i, .card-pages-contact-us .card-icons2 svg{
  width: 20px;
  height: 20px;
  
}

/* ==========================================
   INTERACTIVE HOVER STATES (DESKTOP)
========================================== */
@media (hover: hover) {
 
  .card-pages-contact-us .price:hover,
#card-pages-contact-us-quote .price:hover {
  border-color: rgba(37, 211, 102, 0.3); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(37, 211, 102, 0.1);
    background: rgba(37, 211, 102, 0.1);
     
}

.card-pages-contact-us .Email-CV-text:hover {
  border-color: rgba(0, 155, 215, 0.3); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 155, 215, 0.1);
    background: rgba(0, 155, 215, 0.1);
}

  .card-pages-contact-us:hover .social-icon,
  #card-pages-contact-us-quote:hover .social-icon {
    transform: scale(1.2) rotate(8deg); /* Cute organic wiggle pop animation for the icon */

      filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.6)); /* Adds a soft glowing shadow to the icon on hover */
      transition: transform 0.3s ease, filter 0.6s ease; /* Smooth transition for both the transform and the filter */
  }

.card-pages-contact-us:hover .card-icons2 i, .card-pages-contact-us:hover .card-icons2 svg{
  transform: scale(1.2) rotate(0deg); /* Cute organic wiggle pop animation for the icon */
  
   
  transition: transform 0.3s ease, filter 0.6s ease; /* Smooth transition for both the transform and the filter */
}
}


.card-pages h3{
  
  font-size: clamp(18px, 1vw, 30px); 
  color:var(--orange);
}

.card-pages h4{
  font-size:26px;
}

.card-pages p,
.card-pages-about-us p{
  font-size: clamp(14px, 1vw, 24px); 
  line-height: 1.6 !important;   
}

.card-pages-about-us{
  text-align:justify;
}

/* =========================
   PAGE HEADER
========================= */

.page-header{
  text-align:center;

  margin:40px auto;

  max-width:800px;

  color:#B3B7BD;

  
}

.page-header h1{
  color:var(--orange);

  /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.5rem | Maximum: 22px (1.375rem) */
  font-size: clamp(20px, 2vw, 50px);  		


  margin-bottom:20px;
}

/* =========================
   PAGE DESIGN BORDER
========================= */

.page-design{
  margin:0;

  position:relative;

  min-height:100vh;

  color:var(--dark);
}

/* .page-design::before{
  content:"";

  position:fixed;

  top:0;
  left:0;

  width:9px;
  height:77px;

  background: linear-gradient(
    to top,
    var(--blue),
    var(--orange)
  );

  transform-origin:top;

  background-size:100% 200%;

  z-index:1000;

  animation: verticalHold 2s ease-in-out 10 alternate forwards;
}

@keyframes verticalHold{
  0%{
    background-position:0% 0%;
  }

  100%{
    background-position:0% 100%;
  } 
}*/

/* =========================
   PRICING
========================= */

.price,
.price-text{
 color: var(--orange);
  
  /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.2rem | Maximum: 22px (1.375rem) */
 /* font-size: clamp(0.5rem, 1vw + 0.2rem, 1.375rem);*/

 /* Text shrinks down to a micro 9px on mobile, caps at 14px on desktop */
  font-size: clamp(8px, 1vw, 16px);
  
 margin-top: 0.625rem; /* Exactly 10px */
  
 
}

/* =========================
   BACK TO TOP
========================= */

#backToTop{
  position:fixed;

  bottom:25px;
  right:25px;

  width:52px;
  height:52px;

  border:none;
  border-radius:50%;

  background:transparent;

  border:1px solid rgba(39,182,227,0.4);

  color:var(--orange);

  font-size:clamp(26px, 1vw, 36px); 

  cursor:pointer;

  backdrop-filter:blur(10px);

  z-index:9999;

  opacity:0;
  visibility:hidden;

  transform:translateY(20px);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background 0.35s ease;
}

#backToTop.show{
  opacity:1;
  visibility:visible;

  transform:translateY(0);
}

#backToTop:hover{
  background:var(--dark);
  color: white;
}

/* =========================
   MOUSE GLOW
========================= */

.mouse-glow{
  position:fixed;

  width:350px;
  height:350px;

  border-radius:50%;

  background:
    radial-gradient(
      circle,
      rgba(39,182,227,0.10),
      transparent 70%
    );

  pointer-events:none;

  z-index:9998;

  left:0;
  top:0;

  transform:
    translate(-50%, -50%);

    transition:
    left 0.06s linear,
    top 0.06s linear;

  mix-blend-mode:screen;
}



/* =========================
   FOOTER
========================= */

footer{
  background: linear-gradient(
    135deg,
    rgba(6, 9, 34, 0.98) 0%,
    rgba(6, 9, 34, 0.98) 100%
  );

  color:#B3B7BD;

  padding:20px 3% 7px;

  margin-top:auto;
}

.footer-grid{
  display:grid;

  grid-template-columns:
    minmax(220px, 1.5fr)
    repeat(3, minmax(180px, 1fr));

  gap:35px;

  align-items:start;
}

.footer-grid h4{
  font-size: clamp(10px, 1vw, 16px);
}

.footer-logo{
  width:50px;
  margin-bottom:1px;
}

.footer-brand h3{
  color:white;
  margin-bottom:12px;
}

.footer-brand h2{
  color:white;
  margin-bottom:12px;
  /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.3rem | Maximum: 22px (1.375rem) */
  font-size: clamp(0.5rem, 1vw + 0.3rem, 1.375rem); 		/*SAME as CARD PARAGRAPH*/

}

.footer-brand p{
  color:#F58220;

  max-width:320px;

  /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.2rem | Maximum: 22px (1.375rem) */
  font-size: clamp(0.4rem, 1vw + 0.2rem, 1rem);		/*  similar to PRICE-TEXT*/


  line-height:1.7;
}

.footer-brand span{
  color:#009BD7;
}

.footer-social{
  display:flex;
  gap:20px;

  margin-top:20px;
  margin-bottom:-20px;
}

.footer-links h4,
.footer-contact h4{
  color:white;
  margin-bottom:6px;

   /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.5rem | Maximum: 22px (1.375rem) */
  font-size: clamp(0.5rem, 1vw + 0.5rem, 1.375rem); 		/*same as CARD HEADING*/


}

.footer-links,
.footer-contact{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.footer-links a{
  color:#B3B7BD;
  text-decoration:none;

  /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.3rem | Maximum: 22px (1.375rem) */
  font-size: clamp(0.3rem, 1vw + 0.3rem, 1rem); 	/*similar to CARD PARAGRAPH*/


  opacity:0.85;

  transition: opacity 0.2s ease, color 0.2s ease;
  line-height: 2;

  
}

.footer-links a:hover{
  color:white;
  opacity:1;
}

.footer-contact p{
  margin:0;
  line-height:1.8;

  /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.3rem | Maximum: 22px (1.375rem) */
  font-size: clamp(0.3rem, 1vw + 0.3rem, 1rem); 	/*similar to CARD PARAGRAPH*/

  line-height: 2;
}

.footer-contact svg {
  /* Box Size: Scales from 20px (1.25rem) to 56px (3.5rem) so the 48px font actually fits */
  width: clamp(0.5rem, 1vw + 0.5rem, 0.875rem) !important;
  height: clamp(0.5rem, 1vw + 0.5rem, 0.875rem) !important; /*similar to CARD ICONS SVG*/

}

.footer-btn{
  margin-top:16px;
}

.get-quote-btn-nav{
  background:var(--orange);

  color:var(--dark);

  padding:clamp(4px,1vw,6px) clamp(10px,1vw,15px);

  border-radius:8px;

  text-decoration:none;

  font-weight:600;

  cursor:pointer;

  font-size: clamp(10px, 1vw, 18px); 

   box-shadow:
    0 0 18px rgba(245,130,32,0.25);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
    
}


  nav .nav-right a:has(.get-quote-btn-nav):hover {background: transparent;}

.get-quote-btn-nav:hover{
  
  border-color: var(--orange); 
  
  box-shadow:
    0 0 25px rgba(245,130,32,0.4);
    
}

.footer-bottom{
  margin-top:40px;

  border-top:1px solid rgba(255,255,255,0.08);

  padding-top:20px;

  text-align:center;

  color:#7a7f88;

  /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.2rem | Maximum: 22px (1.375rem) */
  font-size: clamp(0.5rem, 1vw + 0.2rem, 1rem);		PRICE-TEXT

}

/* =========================
   ICONS
========================= */

.card-icons svg{
   /* Box Size: Scales from 20px (1.25rem) to 56px (3.5rem) so the 48px font actually fits */
  width: clamp(16px, 1vw, 34px);  
  height: clamp(16px, 1vw, 34px); 
  
  /*Autoscroll icons*/
}

.card-icons {
  color: var(--blue);
  display: inline-flex;
  align-items: center;     /* Centers the icon vertically */
  justify-content: center; /* Centers the icon horizontally */

  /* Font Size: Scales from 28px (1.75rem) to 48px (3rem) */
  font-size: clamp(1.75rem, 2vw + 1.25rem, 3rem);

  /* Margin Bottom: Exactly 10px */
  margin-bottom: 0.625rem;

 
  
  /* Border Radius: Exactly 6px */
  border-radius: 0.375rem;

  transition: all 0.35s cubic-bezier(0.23, 1, 0.320, 1);
}

.card:nth-child(even) .card-icons{
  color:var(--orange);
}

.card:hover .card-icons{
  transform: scale(1.2) translateY(-4px);

  filter: drop-shadow(
    0 0 10px rgba(39, 182, 227, 0.6)
  );
}

.card:nth-child(even):hover .card-icons{
  filter: drop-shadow(
    0 0 10px rgba(242, 140, 40, 0.6)
  );
}





/* =========================
   QUOTE BOX
========================= */

.quote-box{
  background: rgba(255,255,255,0.04);

  border:1px solid rgba(255,255,255,0.05);

  backdrop-filter: blur(12px);

  padding:35px;

  border-radius:20px;

  max-width:700px;
  width:100%;

  margin:auto;

  box-shadow:
    0 0 20px rgba(39,182,227,0.08),
    0 10px 40px rgba(0,0,0,0.4);

  position:relative;
  overflow:hidden;
}

.quote-box::before{
  content:"";

  position:absolute;
  inset:0;

  border-radius:20px;

  pointer-events:none;

  background:
    radial-gradient(
      circle at top right,
      rgba(39,182,227,0.08),
      transparent 40%
    );
}

.quote-box h2{
  font-size:32px;
  margin-bottom:25px;
  color:white;
}

/*QUOTE BOX*/

@media (max-width: 768px) {


  .quote-box {
    padding:12px;
    max-width:100%;
    margin:15px 8px;
    box-shadow: 0 0 18px rgba(39,182,227,0.06), 0 8px 25px rgba(0,0,0,0.32);
    font-size:12px;
  }

  .quote-box h3 {
    font-size:13px;
    margin-bottom:12px;
    margin-top:14px;
    padding-top:8px;
    word-spacing:normal;
    line-height:1.3;
  }

 

  .service-options {
    margin-top:14px;
  }

  .quote-item {
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    padding:10px 12px;
  }

  .quote-left {
    width:100%;
    align-items:flex-start;
  }

  .quote-item label {
    font-size:13px;
  }

  .footer-logo{display:none;}

  
}



/* =========================
   DROPDOWN
========================= */

#service-select{
  width:100%;
  height:50px;

  padding:12px 14px;

  background:#0C2230;

  color:white;

  font-family:'Montserrat',sans-serif;
  font-size:16px;

  border:1px solid rgba(255,255,255,0.08);

  border-radius:12px;

  outline:none;

  transition:0.3s;
}

#service-select:focus{
  border-color:var(--blue);

  box-shadow:
    0 0 12px rgba(39,182,227,0.3);
}

/* =========================
   SERVICE OPTIONS
========================= */

.service-options{
  margin-top:30px;
}

.quote-item{
  background: rgba(255,255,255,0.03);

  border:1px solid rgba(255,255,255,0.05);

  padding:16px 18px;

  border-radius:14px;

  margin-bottom:15px;

  transition:0.3s;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:14px;

  cursor:pointer;
}

.quote-item:hover{
  border-color: rgba(39,182,227,0.3);

  box-shadow:
    0 0 15px rgba(39,182,227,0.08);
}

.quote-left{
  display:flex;
  align-items:center;
  gap:14px;
}

.quote-item input[type="checkbox"]{
  width:18px;
  height:18px;

  accent-color:#27B6E3;

  cursor:pointer;
}

.quote-item label{
  color:white;
  font-size:15px;
  cursor:pointer;
}

.quote-box h3{
  margin-top:35px;

 

  color:var(--grey);

  padding-top:20px;

  border-top:1px solid rgba(255,255,255,0.08);
}

#total,
#Rands{
  color:var(--orange);
}

/* =========================
   WEB DEV SECTION
========================= */

.web-dev-section{
  padding:40px 5%;
}

.developer-slider-wrapper{
  position:relative;
  overflow:hidden;

  width:100%;
  max-width:1200px;

  margin:auto;

  padding:0 55px;

  display:flex;
  align-items:center;

  gap:20px;
}

.developer-slider{
  display:flex;
  gap:30px;

  transition: transform 0.4s ease;

  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;

  scrollbar-width:none;

  width:100%;

  scroll-snap-type:x mandatory;

  overscroll-behavior-y:auto;
}

.developer-slider::-webkit-scrollbar{
  display:none;
}

/* =========================
   DEVELOPER CARD
========================= */

.developer-card{
  flex: 0 0 calc(50% - 15px) !important;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    scroll-snap-align: start;
    padding: 24px !important; 
    box-sizing: border-box;

    /* MOVE THE GRID TO THE CARD CONTAINER */
    display: grid !important;
    grid-template-columns: 110px 1fr !important; 
    grid-template-rows: auto 1fr auto !important;
    row-gap: 16px !important;    
    column-gap: 20px !important;
  
}




.developer-image {
  width: 110px !important;
    height: 110px !important;
    border-radius: 16px !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 !important; 
    grid-column: 1 !important; /* Locks image to column 1 */
    grid-row: 1 !important;    /* Locks image to row 1 */
    
}

.developer-image img{
  width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important; /* Stops portrait top-cropping */
}



/* TURN THIS INTO A SUB-DISPLAY CONTROLLER FOR THE LOWER ELEMENTS */
.developer-info {
    display: contents !important; /* Lets child components map directly to the parent card grid slots */
}

.developer-bottom{
  margin-top:auto;
}

/* 1. NEW: Direct the new header text wrapper to live cleanly in Column 2 */
.developer-header-text {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the name and badges next to the image */
}

/* 2. CLEANED: Removed the ugly negative margins and grid placement entirely */
.developer-info h2 {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-shrink: 1 !important;
    font-size: 22px !important;
    line-height: 1.2;
    margin: 0 0 6px 0 !important; /* Clean bottom gap before badges */

    grid-column: auto !important; /* Clear old desktop grid assignment */
    grid-row: auto !important;
}

/* 3. CLEANED: Removed negative margins; flows naturally inside the new header div */
.developer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 0 !important; /* Strips the old -55px pull-up */
    grid-column: auto !important;
    grid-row: auto !important;
}

.developer-meta span:not(.available):not(.busy) {
  font-size: clamp(0.4rem, 1vw + 0.5rem, 0.875rem);
  color: #7A7F85;
  font-weight: 500;
}

.available{
 background: rgba(46, 204, 113, 0.08);
  color: #2ECC71;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(46, 204, 113, 0.25);
  box-shadow: 0 0 15px rgba(46, 204, 113, 0.05);
}

.busy{
  background: rgba(231, 76, 60, 0.08);
  color: #E74C3C;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(231, 76, 60, 0.25);
}

/* 4. RE-ALIGNED: Summary sits perfectly in Row 2 and expands to balance uneven text lengths */
.developer-summary {
    grid-column: 1 / span 2 !important; 
    grid-row: 2 !important;           
    margin: 0 !important;
    font-size: clamp(0.4rem, 1vw + 0.5rem, 1.25rem);
    line-height: 1.5;
    clear: both !important;
    padding-top: 4px;
    color: var(--grey);
}

.developer-bottom {
 grid-column: 1 / span 2 !important; /* Stretches edge-to-edge across columns */
    grid-row: 3 !important;           /* Safely drops to row 3, completely clearing the image and summary areas */
    margin-top: auto !important; /* Pushes it securely to the base line */
}

/* =========================
   PORTFOLIO
========================= */

.portfolio-title{
  font-size:clamp(0.4rem, 1vw + 0.5rem, 1rem);	
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #7A7F85;
  margin-bottom: 12px;
  font-weight: 600;
}

.portfolio-gallery{
 display: flex !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}

.portfolio-item{
  overflow: hidden;
  border-radius: 12px;
  display: block;
  text-decoration: none;
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.2);

  /* ADD THESE TO FIX THE SIZE */
    width: calc((100% - 20px) / 3); /* Caps its width at exactly 1/3 of the card, matching the 3-item layout */
    flex-grow: 0;                   /* Prevents a single item from stretching to fill the container */
    flex-shrink: 0;                 /* Prevents items from squishing when there are three of them */
}

.portfolio-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/*.portfolio-item img:hover{
  transform:scale(1.05);
}*/

.portfolio-item::after{
  content: "View Site";
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.85); /* Uses your custom theme --dark color */
  border: 1px solid var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio-item:hover::after{
  opacity:1;
}

/* =========================
   SLIDER BUTTONS
========================= */

.slider-btn{
  position:absolute;

  top:50%;
  transform:translateY(-50%);

  width:50px;
  height:50px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  border:none;
  border-radius:50%;

  background:#009BD7;

  color:white;

  font-size:26px;

  cursor:pointer;
  touch-action: manipulation;
  pointer-events: auto;

  z-index:999;

  transition:0.3s ease;
}

.slider-btn:hover{
  background:#F58220;
  color: white;
}

.prev-btn{
  left:0;
  z-index:0;
}

.next-btn{
  right:0;
  z-index:0;
}

/* =========================
   PRICING
========================= */

.pricing-section {
  padding: 100px 5%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  z-index: 1;
  background: transparent; 
  overflow: hidden; 
}



/* Fluid moving background glow element */
.pricing-bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

/*.pricing-section .page-header {
  max-width: 600px;
  margin: 0 auto 60px auto; 
}

.pricing-section .page-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em; 
  color: var(--grey);
  margin-bottom: 16px;
}*/

.page-header p {
  /* Minimum: 8px (0.5rem) | Ideal: 1vw + 0.3rem | Maximum: 22px (1.375rem) */
   	
  font-size: clamp(14px, 1vw, 24px); 
  color: #B3B7BD;
  line-height: 1.5;
}

/* Ensure pricing grid sits strictly on top of the moving glow */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2; 
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-tabs-container { 
  display: none;
  
}

/* Fluid Glass Card Styling */
.pricing-card {
 background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.09); 
  border-radius: 20px;
  padding: 40px 30px;
  
  /* FLEX FRAME LAYOUT: Standardized internal stack structure */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  
  /* CRITICAL STABILITY: Perfectly flat cards with unified matching heights */
  height: 100%;
  transform: scale(1) translateY(0) !important;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

/* HEADER TRACKER: Keeps Package name text on the same level */
.pricing-card h2 {
  font-size: 22px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 0 0 5px 0;
  width: 100%;
}

.pricing-card .price-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #B3B7BD;
  margin-bottom: 2px;
  width: 100%;
}

/* PRICE TARGET PRESENTATION: Anchored tightly to the header above it */
.pricing-card .price {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
 margin-bottom: 35px;
  transition: color 0.3s ease;
  width: 100%;
}

/* FIX: Standardizes header height across columns to level out the prices */
.pricing-card .card-header {
  width: 100%;
  min-height: 70px; /* Adjust this value slightly if your package names wrap to two lines */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.pricing-card ul {
 list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  
  /* CRITICAL GRID BALANCE: Fills space evenly so card bottoms stay flush */
  flex-grow: 1;
  
}

.pricing-card li {
  font-size: 16px;
  color: #B3B7BD;
  padding-left: 22px;
  position: relative;
  text-align: left; 
  line-height: 1.4;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--orange); 
  font-weight: bold;
}

/* ==========================================
   STABLE ANIMATION & INTERACTIVE HIGHLIGHTS
========================================== */

/* The JS Animated Highlight Target */
.pricing-card.active-highlight {
  border-color: rgba(245, 130, 32, 0.45) !important; 
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(245, 130, 32, 0.08);
  
  /* CRITICAL: Strict override that stops any scaling bugs instantly */
  transform: scale(1) translateY(0) !important; 
}

/* Force Price to turn Orange exclusively on the active animated card */
.pricing-card.active-highlight .price {
  color: var(--orange) !important;
}


/* ==========================================
   ZOHO RECRUIT EMBED
   ========================================== */

/* ============ ZOHO RECRUIT EMBED ============ */
.cb-careers {
    --cb-bg: #0D1B2A;
    --cb-card: #132238;
    --cb-card-hover: #182b45;
    --cb-orange: #F58220;
    --cb-blue: #009BD7;
    --cb-text: #ffffff;
    --cb-muted: #B3B7BD;
    --cb-border: rgba(255,255,255,.08);
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* --- Core widget reset --- */
.cb-careers .embed_jobs_head,
.cb-careers .embed_jobs_head2,
.cb-careers .embed_jobs_head3,
.cb-careers .erecruit_jobboard_joblist,
.cb-careers .erecruit_jobboard_jobrow,
.cb-careers .zrsite_Zoho_Class,
.cb-careers .zrsite_Job_Description,
.cb-careers .rec-job-info {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.rec_facet_group, .rec-grp-heading, .rec-job-filter{
  display: none !important;
}

.rec-grp-drop{
  background: var(--grey) !important;
}


.rec_facet-group{
  
}

.rec_job_listing_div_jobs{
    padding: 1px;
    
}

.cb-careers #rec_job_listing_div {
    background: rgba(6, 9, 34, 0.5) !important;
    border-radius: 16px !important;
    padding: 10px 15px !important;
    
}

/* --- Job card --- */
.cb-careers .erecruit_jobboard_jobrow {
    border-bottom: 1px solid var(--cb-border) !important;
    padding: 18px 0 !important;
}

.cb-careers .rec-job-info {
    /*background: rgba(6, 9, 34, 0.98) !important;*/
    border-radius: 14px !important;
    padding: 1px !important;
    margin-bottom: 16px !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
    display: block !important;
    width: 100% !important;
    
}

.cb-careers .rec-job-info:hover {
    /*background: rgba(6, 9, 34, 0.98) !important;*/
    
}



.cb-careers .rec-job-info > * {
    display: block !important;
    width: 100% !important;
    float: none !important;
}

.cb-careers .zr_fillayout,
.cb-careers .zr_fillayout_info,
.cb-careers .zr_jobinfo,
.cb-careers .zr_job_details {
    display: block !important;
    width: 100% !important;
    float: none !important;
}

.zrsite_Location{

  font-size: clamp(10px, 1vw, 16px); 
  color: var(--grey) !important;
  
}

.zrsite_Work_Experience{
   font-size: clamp(10px, 1vw, 16px);
   color: var(--orange) !important;
   margin-bottom: 10px;
}


/* --- Title --- */
.cb-careers .rec-job-title {
    margin: 0 0 10px 0 !important;
}

.cb-careers .rec-job-title a {
    color: #fff !important;
    font-size: clamp(14px, 1vw, 22px); 
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    display: inline-block !important;
}

.cb-careers .rec-job-title a:hover {
    color: var(--cb-orange) !important;
}

/* --- Location --- */
.cb-careers .zrsite_Job_Location {
    color: var(--cb-orange) !important;
    font-weight: 600 !important;
    /*font-size: 14px !important;*/
    margin: 0 0 16px 0 !important;
    display: block !important;
    width: 100% !important;
    float: none !important;
}




/* --- Description --- */
.cb-careers .zrsite_Job_Description {
    color: var(--cb-muted) !important;
    font-size: clamp(12px, 1vw, 18px);
    line-height: 1.65 !important;
    margin: 0 0 16px 0 !important;
    display: block !important;
    width: 100% !important;
    float: none !important;
}

/* --- Meta row (Type + Date) --- */
.cb-careers .zr_fillayout_info {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 0 16px 0 !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    float: none !important;
}

.cb-careers .zrsite_Job_Type { /*e.g FULL time*/
    /*background: rgba(245,130,32,.15) !important;*/
    color: var(--grey) !important;
    font-size: clamp(10px, 1vw, 16px);
    /*font-weight: 600 !important;*/
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    display: inline-block !important;
    white-space: nowrap !important;
    
}

.zrsite_Date_Opened{
  color: var(--grey) !important;
  font-size: clamp(10px, 1vw, 16px);
}

.cb-careers .zrsite_Zoho_Class {
    color: var(--cb-muted) !important;
    font-size: 13px !important;
}

/* --- Industry footer --- */
.cb-careers .zrsite_Industry {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    padding-top: 14px !important;
    border-top: 1px solid var(--cb-border) !important;
    margin-top: 6px !important;
    width: 100% !important;
    float: none !important;
    display:none !important; 
}

.cb-careers .zrsite_Industry span:first-child {
    color: var(--cb-muted) !important;
    font-size: 14px !important;
}

.cb-careers .zrsite_Industry span:last-child {
    color: #fff !important;
    font-weight: 600 !important;
}

/* --- Filter / sidebar grid --- */
.cb-careers .rec_filter_cls {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) !important;
    gap: 28px !important;
}

.cb-careers .zr_left_container {
    width: 100% !important;
}

.cb-careers .erecruit_selectbox {
    background: var(--cb-card) !important;
    border: 1px solid var(--cb-border) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    width: 100% !important;
}

/* --- Group titles --- */
.cb-careers .zr_groupTitle {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}

/* --- No jobs message --- */
.cb-careers .empty_job_msg {
    color: var(--cb-muted) !important;
    font-size: clamp(12px, 1vw, 16px);
    text-align: center !important;
    padding: 40px 0 !important;
}

/* --- Buttons --- */
.cb-careers .embed_jobs_head button {
    background: var(--cb-orange) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

.cb-careers .embed_jobs_head button:hover {
    background: #ff8c3d !important;
}

.

/* --- Responsive --- */
/*@media (max-width: 820px) {
    .cb-careers .rec_filter_cls {
        grid-template-columns: 1fr !important;
    }
    .cb-careers .erecruit_jobboard_jobrow {
        grid-template-columns: 1fr !important;
        align-items: flex-start !important;
    }

    
}

@media (max-width: 768px) {
    .cb-careers {
        padding: 20px 15px 40px !important;
    }
    .cb-careers #rec_job_listing_div {
        padding: 18px !important;
    }
    .cb-careers .rec-job-title a {
        font-size: 16px !important;
    }
    .cb-careers .rec-job-info {
        padding: 18px !important;
    }

    .zrsite_Location{
      font-size: 10px !important;
    }

    .zrsite_Work_Experience{
      font-size: 10px !important;
    }

    .cb-careers .zrsite_Job_Description {
    
    font-size: 12px !important;
    }

    .cb-careers .zrsite_Job_Type {
      font-size: 10px !important;
    }

}*/

/*ZOHO RECRUIT EMBED-end*/


/* Desktop Hover Adjustments (Strictly color-based, no sizing changes) */
@media (hover: hover) {
  /*.pricing-card:hover {
    border-color: rgba(245, 130, 32, 0.3); 
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: scale(1) translateY(0) !important;
  }
  
  .pricing-card:hover .price {
    color: var(--orange); 
  } */
}

/* =========================
   ABOUT PHOTO
========================= */

.about-photo{
  

  max-width:400px;

    width: clamp(1.25rem, 1vw + 10.5rem, 15rem) !important;
  height: clamp(1.25rem, 1vw + 10.5rem, 15rem) !important; 


  object-fit:cover;

  border-radius:20px;

  display:block;

  margin:0 auto 35px auto;

  border:1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.35);

  transition:0.3s ease;
}

.about-photo:hover{
  box-shadow:
    0 15px 35px rgba(39,182,227,0.18);
}

/* =========================
   SCROLL REVEAL ANIMATIONS
========================= */

.reveal{
  opacity:0;

  transform:
    translateY(45px)
    scale(0.98);

  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.23, 1, 0.320, 1);

  will-change:
    opacity,
    transform;
}

.reveal-active{
  opacity:1;

  transform:
    translateY(0)
    scale(1);
}

/* STAGGER EFFECT */

.cards .card:nth-child(1){
  transition-delay:0.05s;
}

.cards .card:nth-child(2){
  transition-delay:0.1s;
}

.cards .card:nth-child(3){
  transition-delay:0.15s;
}

.cards .card:nth-child(4){
  transition-delay:0.2s;
}

.cards .card:nth-child(5){
  transition-delay:0.25s;
}

.cards .card:nth-child(6){
  transition-delay:0.3s;
}

.cards .card:nth-child(7){
  transition-delay:0.35s;
}

.cards .card:nth-child(8){
  transition-delay:0.4s;
}

.cards .card:nth-child(9){
  transition-delay:0.45s;
}

/* FEATURE STAGGER */

.feature:nth-child(1){
  transition-delay:0.1s;
}

.feature:nth-child(2){
  transition-delay:0.2s;
}

.feature:nth-child(3){
  transition-delay:0.3s;
}

.feature:nth-child(4){
  transition-delay:0.4s;
}

/* =========================
   MOBILE WEB DEVELOPMENT
========================= */

@media(max-width:768px){

  .developer-slider-wrapper{
   position: relative;
    /* REDUCED: Drops side spacing from 20px to 8px to let the inner card grow wider */
    padding: 0 8px !important;
  }

  /* 1. Set up a dedicated 2-column layout inside the card for mobile */
  .developer-card {
    display: grid !important;
    grid-template-columns: 75px 1fr !important; /* Column 1 for image, Column 2 for text */
    grid-template-rows: auto auto auto !important; /* Row 1: Header block, Row 2: Summary, Row 3: Gallery & Button */
    column-gap: 15px !important; /* Clean space between image right edge and name */
    row-gap: 12px !important;
    padding: 20px 16px 16px 16px !important; /* Optimized inner card boundaries */
    flex: 0 0 100% !important; 
    width: 100% !important;
    box-sizing: border-box;
    position: relative !important;
  }

  
  .developer-slider{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    /* Prevent the slider container container tracking from blocking buttons */
    pointer-events: auto;
  }

  /* 2. Position the image box cleanly in the first grid column slot */
  .developer-image {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 75px !important;  
    height: 75px !important;
    border-radius: 12px !important;
    background: var(--grey);
    margin: 0 !important;
    position: static !important; /* Clears out old absolute positioning rules */
  }



  .developer-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    
  }

  /* 3. Strip block overrides so components map directly to the main card grid */
  .developer-info {
    display: contents !important; 
  }
  

  /* 4. Position the text wrapper cleanly into column 2 next to the image */
  .developer-header-text {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin-left: 0 !important; /* Reset layout pushes */
    height: 75px !important; /* Keeps typography vertically centered with avatar */
  }

 /* 4. Strip desktop positioning rules */
  .developer-info h2 {
    display: block !important;
    margin: 0 0 4px 0 !important; 
    font-size: 18px !important;
    text-align: left !important; 
    line-height: 1.2 !important;
  }

  /* Reset the badges to line up neatly under the name */
  .developer-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important; 
    margin: 0 !important;
    gap: 6px !important;
  }

  .developer-meta span {
    	
    padding: 3px 8px;
  }

  /* 5. Force bio summary to span full width under the profile block */
  .developer-summary {
    grid-column: 1 / span 2 !important;
    grid-row: 2 !important;
    
    line-height: 1.4 !important;
    margin: 4px 0 !important;
    text-align: left !important;
    width: 100% !important;
  }

  /* 6. Lower panel sits firmly at the base of the card elements */
  .developer-bottom {
    grid-column: 1 / span 2 !important;
    grid-row: 3 !important;
    margin-top: auto !important;
  }

  /* Portfolio Gallery Adjustments */
  .portfolio-title {
    
    text-align: center;
    margin-bottom: 8px;
  }

  .portfolio-gallery {
   display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin-bottom: 15px !important;
    width: 100% !important;
  }

  .portfolio-item img {
    
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    
  }

  .portfolio-item{
    width: calc((100% - 16px) / 3) !important; /* Exact 3-column split calculation */
    flex-shrink: 0 !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden;
    border-radius: 6px !important;
  }

  .request-btn {
  display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1;
    white-space: nowrap; /* Prevents text from awkwardly wrapping into two lines on small screens */
    
    /* Dynamic Sizing System */
    width: 100% !important; /* Overrides the 100% block stretch */
    max-width: 180px !important; /* Locks the max width nicely */
    
    padding: 10px 0 !important; /* Premium horizontal breathing room */
    
    font-size: clamp(0.4rem, 1vw + 0.4rem, 0.875rem);	 /* Sharp, legible font scale for interface buttons */
    font-weight: 600 !important;
    
    /* Layout Centering */
    
    
    border-radius: 8px !important; /* Clean, compact geometry */

    /* THE FIX: Spans across both grid columns and drops perfectly into the center */
    grid-column: 1 / span 2 !important;
    margin: 10px auto 0 auto !important;

  }

  /* Shrink slider arrows slightly so they don't overpower the layout */
  .slider-btn {
   position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;                 /* Pulls the arrows above the developer card layers */
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6); /* Adds a slight background for contrast on mobile */
    border-radius: 50%;
  }

   .pricing-section {
    display: block;                /* Disables the 12-column layout grid on phones */
    padding: 60px 20px;            /* Tighter but comfortable mobile padding */
  }

  .pricing-section .page-header {
    text-align: center;            /* Re-centers titles for small displays */
    margin-bottom: 30px;
    position: static;              /* Turns off the sticky tracking behavior */
  }

  .pricing-section .page-header h1 {
    font-size: 28px;               /* Shrinks the headline to avoid clip wrapping */
    color: var(--grey);
  }

  .pricing-grid {
   display: flex;                 /* Keeps your seamless tab structure active */
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
  }

  .pricing-card {
    padding: 16px 20px;            /* Drastically reduces bulky inner padding */
    border-radius: 14px;
    text-align: left;              /* Left-aligning features on mobile makes them faster to read */
    display: grid;
    grid-template-columns: 1fr auto; /* Smart split: Header/Features left, Price right */
    align-items: center;
    gap: 12px;
    background: transparent;
  }

  .pricing-card h2 {
    font-size: 18px;               /* Shrinks package headings */
    margin-bottom: 2px;
    grid-column: 1;                /* Forces title to the left */
  }

  /* Structural wrap to group price elements neatly on the right side */
  .pricing-card .price-text,
  .pricing-card .price {
    grid-column: 2;                /* Pushes prices to the right */
    text-align: right;
  }

  .pricing-card .price-text {
    font-size: 11px;
    margin-bottom: -2px;
    opacity: 0.8;
  }

  .pricing-card .price {
    font-size: 20px;               /* Clean, punchy mobile price tag */
    font-weight: 700;
  }

  .pricing-card ul {
   grid-column: 1 / span 2;       
    margin-top: 6px;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .pricing-card li {
    font-size: 11px;               /* Compact but highly readable text size */
    line-height: 1.3;
    list-style-type: none;         /* Removes bullet points to maximize horizontal room */
    position: relative;
    padding-left: 14px;
  }

  /* Custom minimal checkmark replacement for list bullets */
  .pricing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F58220;                /* Matches your signature accent brand color */
    font-weight: bold;
  }

  /* 1. Show the tab bar container on mobile */
  .pricing-tabs-container {
    display: flex;
    justify-content: center;
    background: transparent;/*rgba(255, 255, 255, 0.05);*/
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 30px;
    margin: 0 auto 25px auto;
    max-width: 320px;
  }

  /* 2. Styling individual navigation tab buttons */
  .pricing-tab {
    flex: 1;
    background: none;
    border: none;
    color: #B3B7BD;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  /* 3. Highlighting the active target package selection */
  .pricing-tab.active {
    background: #F58220; /* Matches your brand accent color */
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.3);
  }

  /* 4. Hide inactive cards by default on mobile */
  .pricing-grid .pricing-card {
    display: none;                 /* Managed by your JavaScript Tab Toggle */
    grid-template-columns: 1fr auto; 
    padding: 20px;
    gap: 12px;
  }

  /* 5. Force only the selected active layout card to render */
  .pricing-grid .pricing-card.tab-visible {
    display: grid !important; /* Forces our smart 2-column mobile grid style to reveal */
    animation: fadeInTab 0.35s ease forwards;
  }

  @keyframes fadeInTab {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .portfolio-gallery{
    gap:8px;
  }

  

  .slider-btn{
    width:42px;
    height:42px;
    min-width:42px;
    min-height:42px;

    font-size:20px;
    touch-action: manipulation;
    pointer-events: auto;
    z-index: 20;
  }

  .prev-btn{
    left: -10px;                  /* Pins the back arrow clearly to the left edge margin */
    background: transparent;
    color: var(--blue);
  }

  .next-btn{
   right: -10px;                 /* Pins the forward arrow clearly to the right edge margin */
   background: transparent;
   color: var(--blue);
  }

  .pricing-card{
    padding:30px 20px;
  }

  .pricing-card .price{
    font-size:34px;
  }
}

/* =========================
   MOBILE
========================= */

/* =========================
   MOBILE — PAGE-SPECIFIC TWEAKS ONLY
   (homepage sections are fluid via clamp() / auto-fit and need no overrides)
========================= */
@media (max-width:768px){

  /* Phones: feature carousel auto-scrolls horizontally (intentional design) */
  .features{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 16px !important;
    padding: 16px !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .features::-webkit-scrollbar{ display:none; }
  .feature{
    flex: 0 0 80% !important;
    text-align: center !important;
  }
  .feature h3{
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .feature + .feature{ border-left: none !important; }

  /* Service / pricing cards: stack 2 per row on phones for a tighter grid */
  .cards{
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .cards .card{
    align-items: center;
    text-align: center;
  }

  /* ---- Sub-page layouts ---- */
  .page-header{
    padding: 40px 20px 20px;
    text-align: center;
  }

  .page-header h1{                /*Removing this breaks index page footer, and all webpage cards*/
    
    line-height: 1.25;
  
  }
  .page-header br{ display: none; }
  

  .card-pages-main{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px 15px 40px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .card-pages,
  .card-pages-about-us{
    width: 100% !important;
    padding: 24px 20px !important;
    border-radius: 16px !important;
    margin: 0 0 10px 0 !important;
    box-sizing: border-box;
    min-height: auto;
  }
  /*.card-pages h3{ font-size: clamp(0.5rem, 1vw + 0.6rem, 1.5rem); margin-bottom: 0; }
  .card-pages h4{ font-size: 16px; }
  .card-pages br{ display: none; }
  .card-pages p,
  .card-pages-about-us p{
     
    line-height: 1.6 !important;
    margin-top: 14px;
    color: #B3B7BD;
  }*/
  .card-pages p br{
    display: block !important;
    content: "";
    margin-top: 12px !important;
  }

  .page-content{
    padding: 0 6px;
    overflow-x: hidden;
  }

  /* Footer becomes a 2-col grid on phones with brand spanning full width */
  .footer-grid{
    grid-template-columns: repeat(2, 1fr) !important;
    /*gap: 24px 16px !important;*/
    text-align: center;
  }
  .footer-brand{
    grid-column: span 2 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-social{ justify-content: center; }
  .footer-links{ text-align: left; }
  .footer-links,
  .footer-contact{ align-items: center; }
  .footer-contact{
    grid-column: span 2 !important;
    text-align: center;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  .footer-contact p{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  /* Contact-us card variants */
  .card-pages-contact-us,
  #card-pages-contact-us-quote{
    margin: 20px 15px 40px !important;
    padding: 20px !important;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .card-pages-contact-us h3,
  #card-pages-contact-us-quote h3{ font-size: clamp(0.5rem, 1vw + 0.5rem, 1.5rem); }
  .card-pages-contact-us p,
  #card-pages-contact-us-quote p{
    font-size: clamp(0.5rem, 1vw + 0.4rem, 1rem);;
    line-height: 1.3;
    margin-bottom: 6px;
    font-weight: 600;
    color: #B3B7BD;
  }
  .card-pages-contact-us .price,
  #card-pages-contact-us-quote .price,
  .card-pages-contact-us .Email-CV-text{
    font-size: clamp(0.5rem, 1vw + 0.2rem, 1.5rem);
    letter-spacing: 0.5px;
  }
  .card-pages-contact-us .social-icon,
  #card-pages-contact-us-quote .social-icon,
  .card-pages-contact-us .card-icons2 i,
  .card-pages-contact-us .card-icons2 svg{
     width: clamp(1.25rem, 1vw + 1.125rem, 3.5rem) !important;
  height: clamp(0.5rem, 1vw + 0.6rem, 1rem) !important; 

  }
  .card-pages-contact-us:active,
  #card-pages-contact-us-quote:active{
    transform: scale(0.98);
    background: rgba(37, 211, 102, 0.05);
    transition: all 0.1s ease;
  }

  .about-photo{ height: 350px; }

  /* Page-design vertical brand bar */
  .page-design{
    margin: 0;
    position: relative;
    min-height: 100vh;
    color: var(--blue);
  }
  .page-design::before{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 9px;
    height: 41px;
    background: linear-gradient(to top, var(--blue), var(--orange));
    transform-origin: top;
    background-size: 100% 200%;
    z-index: 1000;
    animation: verticalHold 2s ease-in-out 10 alternate forwards;
  }
  @keyframes verticalHold{
    0%   { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
  }
}

@media (max-width:900px){

  /*.card-pages-main{
    grid-template-columns:1fr;
  }*/
}
/* =========================
   HAMBURGER MENU (mobile) — right-aligned, glassy, brand accent
========================= */
.nav-toggle{
  display:none;
  position:relative;
  margin-left:auto;       /* keep pinned to the right of the nav bar */
  width:46px;
  height:46px;
  padding:0;
  background:linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border:1px solid rgba(255,255,255,0.12);
  border-radius:12px;
  cursor:pointer;
  z-index:120;
  -webkit-tap-highlight-color:transparent;
  transition:border-color .25s ease, box-shadow .25s ease, background .25s ease, transform .2s ease;
}
.nav-toggle:hover,
.nav-toggle:focus-visible{
  scale:1;
  outline:none;
}
.nav-toggle:active{ transform:scale(0.96); }
.nav-toggle span{
  display:block;
  position:absolute;
  left:50%;
  width:22px;
  height:2px;
  background:#fff;
  border-radius:2px;
  transform:translateX(-50%);
  transition:transform .35s cubic-bezier(.65,.05,.36,1),
             opacity .2s ease,
             top .35s cubic-bezier(.65,.05,.36,1),
             background .25s ease,
             width .25s ease;
}
.nav-toggle span:nth-child(1){ top:15px; }
.nav-toggle span:nth-child(2){ top:22px; width:10px;  }
.nav-toggle span:nth-child(3){ top:29px; }
nav.nav-open .nav-toggle{
  border-color:var(--blue);
  background:linear-gradient(135deg, rgba(245,130,32,0.18), rgba(0,155,215,0.12));
  
}
nav.nav-open .nav-toggle span{ background:var(--blue); }
nav.nav-open .nav-toggle span:nth-child(1){ top:22px; transform:translateX(-50%) rotate(45deg); }
nav.nav-open .nav-toggle span:nth-child(2){ opacity:0; }
nav.nav-open .nav-toggle span:nth-child(3){ top:22px; transform:translateX(-50%) rotate(-45deg); width:22px; left:50%; right:auto; }

/* Backdrop scrim */
nav::after{
  content:"";
  position:fixed;
  inset:0;
  background:radial-gradient(120% 80% at 100% 0%, rgba(245,130,32,0.18), transparent 55%),
             rgba(6,9,34,0.55);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  opacity:0;
  visibility:hidden;
  transition:opacity .35s ease, visibility .35s ease;
  z-index:100;
  pointer-events:none;
}
nav.nav-open::after{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

/* =========================
   MOBILE NAV — single breakpoint swap (desktop nav <-> blue hamburger + drawer)
========================= */
@media (max-width: 960px){

  /* Nav bar stays horizontal: logo left, blue hamburger right */
  nav{
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px clamp(16px, 5vw, 32px);
    gap: 0;
  }
  .nav-left{ margin-left: 0; }
  .logo{ height: clamp(30px, 5vh, 44px); }
  nav h2{ font-size: clamp(12px, 1.6vw, 16px); line-height: 1.05; }

  /* Blue hamburger button */
  .nav-toggle{
    display: block;
    position: relative;
    margin-left: auto;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    border: 1.5px solid var(--blue);
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(0,155,215,0.10), 0 4px 12px rgba(0,155,215,0.14);
    cursor: pointer;
    z-index: 120;
    transition: background .25s ease, box-shadow .25s ease, transform .2s ease;
    
  }
  .nav-toggle:hover,
  .nav-toggle:focus-visible,
  nav.nav-open .nav-toggle{
    background: transparent;
    box-shadow: 0 0 0 3px rgba(0,155,215,0.15), 0 6px 16px rgba(0,155,215,0.18);
    outline: none;
  }
  .nav-toggle:active{ transform: scale(0.96); }

  .nav-toggle span{
    display: block;
    position: absolute;
    left: 50%;
    width: 14px;
    height: 1.5px;
    background: var(--blue);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: top .3s ease, transform .3s ease, opacity .2s ease;
  }
  .nav-toggle span:nth-child(1){ top: 7px; }
  .nav-toggle span:nth-child(2){ top: 13px; }
  .nav-toggle span:nth-child(3){ top: 19px; }
  nav.nav-open .nav-toggle span:nth-child(1){ top: 15px; width: 14px; left: 50%; right: auto; transform: translateX(-50%) rotate(45deg); }
  nav.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
  nav.nav-open .nav-toggle span:nth-child(3){ top: 15px; width: 14px; left: 50%; right: auto; transform: translateX(-50%) rotate(-45deg); }

  /* Drawer-style menu sliding in from the right */
  nav .nav-right{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: clamp(150px, 1vw, 250px); 
    margin-top: 0;
    padding: 80px 18px 24px;
    
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -30px 0 60px -20px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .4s cubic-bezier(.22,.61,.36,1), visibility 0s linear .4s;
    z-index: 110;
    overflow-y: auto;
  }
  nav.nav-open .nav-right{
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .4s cubic-bezier(.22,.61,.36,1), visibility 0s linear 0s;
  }

  

  nav .nav-right .nav-link,
  nav .nav-right a{
    margin-left: 0;
    padding: 10px 6px;
    font-size: clamp(10px, 1vw, 16px); 
    color: white;
    width: 100%;
    border-radius: 10px;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
  }
  nav .nav-right a:hover,
  nav .nav-right a.nav-active,
  nav .nav-right a:not(:has(.get-quote-btn-nav)):hover,
nav .nav-right a:not(:has(.get-quote-btn-nav)).nav-active{
    background: rgba(0,155,215,0.10);
    color: #fff;
  }


  /* Scrim behind drawer */
  nav::after{
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(6,9,34,0.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 100;
    pointer-events: none;
  }
  nav.nav-open::after{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open-lock{ overflow: hidden; }

  /* Hide stat cards on phones — the hero text + CTA take priority */
  .hero-stats{ display: ; }

  /* Center hero content on phones */
  .hero-content{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero-buttons{
    
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 18px;
  }

  /* Trim hero so the features section peeks above the fold on mobile */
  .hero{ min-height: 70vh; }
  .hero-content{ padding: 56px 5% 48px; }
}

/* Landscape phones: keep hero compact so the carousel peeks below it */
@media (max-width: 960px) and (orientation: landscape) and (max-height: 500px){
  .hero{ min-height: calc(100vh - 60px); }
  .hero-content{ padding: 24px 5% 90px; }
}

