  :root {
      --navy:#0d1b4c;
      --navy-2:#122762;
      --navy-3:#163274;
      --blue:#2456dd;
      --blue-2:#2a7ee7;
      --teal:#11b8a6;
      --teal-2:#34d6c5;
      --cyan:#48d8df;
      --text:#0d1b40;
      --muted:#5d7396;
      --line:#dfe6ef;
      --soft:#f4f8fb;
      --soft-2:#edf4f8;
      --white:#ffffff;
      --shadow-sm:0 10px 25px rgba(13,27,76,.06);
      --shadow-md:0 18px 45px rgba(13,27,76,.10);
      --shadow-lg:0 26px 70px rgba(13,27,76,.16);
      --radius-lg:20px;
      --radius-xl:28px;
      --radius-2xl:34px;
      --container:1280px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{margin:0;font-family:Inter,system-ui,sans-serif;color:var(--text);background:#fff;-webkit-font-smoothing:antialiased}
    a{text-decoration:none;color:inherit}
    img{display:block;max-width:100%}
    button,input,textarea{font:inherit}
    .container{width:min(var(--container),calc(100% - 56px));margin:0 auto}
    .page{display:none}
    .page.active{display:block}
    .section{padding:100px 0}
    .section-tight{padding:80px 0}
    .eyebrow{font-size:14px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--teal);margin-bottom:18px}
    .title{margin:0 0 22px;line-height:1.04;font-weight:800;font-size:clamp(2.3rem,4vw,4.4rem);color:var(--text)}
    .title.light{color:#fff}
    .gradient-word{background:linear-gradient(90deg,var(--blue),var(--teal));-webkit-background-clip:text;background-clip:text;color:transparent}
    .lead{font-size:clamp(1rem,1.55vw,1.18rem);line-height:1.8;color:var(--muted)}
    .lead.light{color:rgba(255,255,255,.78)}
    .card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-xl);box-shadow:var(--shadow-sm)}
    .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:none;border-radius:18px;padding:16px 28px;font-weight:700;cursor:pointer;transition:.28s ease}
    .btn:hover{transform:translateY(-2px)}
    .btn-primary{color:#fff;background:linear-gradient(90deg,var(--blue),var(--teal));box-shadow:0 20px 40px rgba(36,86,221,.18)}
    .btn-ghost{color:#fff;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.24);backdrop-filter:blur(10px)}

    .reveal{opacity:0;transform:translateY(22px) scale(.992);transition:opacity .32s ease-out, transform .32s ease-out;will-change:transform,opacity}
    .reveal.visible{opacity:1;transform:translateY(0) scale(1)}

    header{position:fixed;inset:0 0 auto 0;z-index:1000;transition:.3s ease}
    header.scrolled{background:rgba(13,27,76,.90);backdrop-filter:blur(14px);box-shadow:0 10px 30px rgba(0,0,0,.16)}
    nav{display:flex;align-items:center;justify-content:space-between;height:180px;gap:16px}
    .brand{display:flex;align-items:center;gap:12px;background:none;border:none;color:#fff;font-weight:800;font-size:1.55rem;cursor:pointer;padding:0;flex-shrink: 0}
.brand-badge {
  width: auto;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  box-shadow: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.brand-badge img {
  height: 180px;
  width: auto;
  object-fit: contain;
  display: block;
}
    .brand span strong{color:var(--teal-2)}
    .nav-center{display:flex;align-items:center;gap:8px;padding:7px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:18px;backdrop-filter:blur(8px);flex-shrink: 1;}
    .nav-link{border:none;background:none;color:rgba(255,255,255,.80);font-weight:700;padding:12px 16px;border-radius:14px;cursor:pointer;position:relative}
    .nav-link.active{background:rgba(255,255,255,.11);color:#fff}
    .nav-link.active::after{content:"";position:absolute;left:50%;bottom:4px;transform:translateX(-50%);width:5px;height:5px;border-radius:50%;background:var(--teal-2)}
    .top-tools{display:flex;align-items:center;gap:12px;flex-shrink: 0;margin-left: auto;}
    .lang-switch{display:flex;align-items:center;gap:4px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.13);padding:5px;border-radius:16px;backdrop-filter:blur(10px)}
    .lang-btn{border:none;background:none;color:rgba(255,255,255,.78);font-weight:700;padding:6px 10px;border-radius:12px;cursor:pointer;font-size: 0.9rem}
    .lang-btn.active{background:rgba(255,255,255,.16);color:#fff}
    /* .header-cta{padding:12px 20px;border-radius:16px;white-space: nowrap} */
    .mobile-toggle{display:none;background:none;border:none;color:#fff;font-size:1.6rem;cursor:pointer}
    .mobile-menu{display:none;background:rgba(13,27,76,.97);border-top:1px solid rgba(255,255,255,.08)}
    .mobile-menu.open{display:block}
    .mobile-menu .wrap{padding:18px 24px 24px;display:grid;gap:10px}
    .mobile-menu button{border:none;background:rgba(255,255,255,.08);color:#fff;padding:14px 16px;border-radius:16px;text-align:left;font-weight:700;cursor:pointer}

    .hero-home{position:relative;min-height:100vh;overflow:hidden;display:flex;align-items:center;background:linear-gradient(90deg,rgba(13,27,76,.88),rgba(13,27,76,.56),rgba(13,27,76,.18)),url('https://images.unsplash.com/photo-1584308666744-24d5c474f2ae?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat}
    .hero-home::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,14,32,.05),rgba(10,14,32,.26))}
    .hero-wrap{position:relative;z-index:2;display:grid;grid-template-columns:1.02fr .98fr;gap:42px;align-items:center;padding:200px 0 90px}
    .hero-badge{display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);color:var(--teal-2);font-weight:700;backdrop-filter:blur(8px);margin-bottom:24px}
    .hero-copy{max-width:650px}
    .hero-copy .title{font-size:clamp(3.1rem,5.4vw,6rem);color:#fff;margin-bottom:18px}
    .hero-copy .lead{max-width:620px}
    .hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:32px}
    .hero-stats{display:flex;gap:34px;flex-wrap:wrap;margin-top:54px;color:#fff}
    .hero-stats strong{display:block;font-size:2.2rem;margin-bottom:8px}
    .hero-stats span{color:rgba(255,255,255,.68);font-weight:600}
    .hero-visual{position:relative;min-height:520px}
  .hero-main-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  border-radius: 32px;
  overflow: hidden;
  min-height: 480px; /* ADD THIS - makes card taller */
}

.hero-main-card .image-slot {
  display: block;
  width: 100%;
  height: 480px; /* ADD THIS - fixed height instead of auto */
  background: #dce8e5;
}

.hero-main-card .image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* ADD THIS - focuses on better part of image */
}
    .floating-card{position:absolute;background:#fff;border-radius:22px;box-shadow:var(--shadow-md);padding:18px 20px;z-index:2}
    .rating-card{top:30px;right:0}
    .rating-card .stars{color:#e0a716;letter-spacing:2px;font-size:1rem}
    .rating-card strong{display:block;font-size:1.9rem;margin-top:8px;color:var(--text)}
    .rating-card span{color:var(--muted);font-weight:600}
    .license-card{left:20px;bottom:88px;display:flex;align-items:center;gap:14px}
    .license-icon{width:46px;height:46px;border-radius:15px;background:#e8fbf7;color:var(--teal);display:grid;place-items:center;font-weight:800}
    .decor-pill,.decor-dot{position:absolute;z-index:1;pointer-events:none;opacity:.7}
    .decor-pill{font-size:1.9rem}.decor-dot{width:14px;height:14px;border-radius:50%;background:rgba(255,255,255,.18)}
    .decor-pill.one{right:20px;top:160px}.decor-pill.two{right:118px;bottom:94px}.decor-pill.three{left:52%;top:120px}
    .decor-dot.one{left:54%;top:250px}.decor-dot.two{right:17%;bottom:170px}

    .story-wrap{display:grid;grid-template-columns:1.03fr .97fr;gap:62px;align-items:center}
    .story-image-wrap{position:relative}.story-image{border-radius:34px;overflow:hidden;min-height:510px;box-shadow:var(--shadow-md);background:#eaf3f6}.story-image img{width:100%;height:100%;object-fit:cover}
    /* .story-stat{position:absolute;right:-20px;bottom:-30px;background:linear-gradient(135deg,var(--blue),var(--teal));color:#fff;border-radius:24px;padding:26px 24px;min-width:195px;box-shadow:var(--shadow-lg)} */
    .story-stat strong{font-size:3rem;display:block;line-height:1}.story-stat span{display:block;margin-top:10px;line-height:1.45;color:rgba(255,255,255,.84);font-weight:600}

    .services-preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:34px}
    .service-preview{padding:28px}.service-preview .icon{width:60px;height:60px;border-radius:18px;background:#eef6fa;color:var(--blue);display:grid;place-items:center;font-size:1.35rem;margin-bottom:20px;font-weight:800}
    .service-preview h3{margin:0 0 10px;font-size:1.12rem}.service-preview p{margin:0;color:var(--muted);line-height:1.8}

    .subhero{position:relative;overflow:hidden;background:radial-gradient(circle at top center,rgba(44,84,202,.36),transparent 38%),linear-gradient(90deg,var(--navy-2),var(--navy));color:#fff;padding:150px 0 96px}
    .subhero .title{max-width:760px;margin-inline:auto}.subhero .lead{max-width:760px;margin:0 auto}
    .subhero .metrics{margin-top:46px;display:flex;justify-content:center;gap:22px;flex-wrap:wrap}
    .metric-box{min-width:180px;padding:22px 26px;border-radius:20px;border:1px solid rgba(255,255,255,.68);background:rgba(255,255,255,.02);text-align:center}
    .metric-box strong{display:block;font-size:2rem;color:#fff;margin-bottom:10px}.metric-box span{display:block;color:rgba(255,255,255,.66);font-weight:600}

    .about-mission{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:start}
    .about-copy .title{font-size:clamp(2.2rem,3.5vw,4.1rem)}.about-copy p{font-size:1.07rem;line-height:1.86;color:var(--muted);margin:0 0 22px}
    .stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:22px}
    .stat-card{border-radius:22px;padding:26px;background:#eef5fb;border:1px solid #d8e6f5;min-height:136px}
    .stat-card strong{display:block;font-size:3rem;line-height:1;color:var(--blue);margin-bottom:10px}.stat-card.teal strong{color:#098f9e}
    .stat-card.dark{background:linear-gradient(135deg,var(--blue),var(--teal));color:#fff;border:none}.stat-card.dark strong,.stat-card.dark span{color:#fff}.stat-card span{display:block;color:var(--muted);font-size:1.12rem;line-height:1.5}

    .team-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:34px;margin-top:26px}
    .team-card{overflow:hidden;transition:.28s ease;border-radius:26px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm)}
    .team-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-md)}
    .team-card.featured{border-color:#91eee5;box-shadow:0 0 0 2px rgba(52,214,197,.12),0 20px 42px rgba(17,184,166,.10);transform:translateY(-4px)}
    .team-card .image-slot{height:380px;background:#eff5f8}.team-card .image-slot img{width:100%;height:100%;object-fit:cover}.team-card .body{padding:28px 30px 30px}
    .team-card .name{font-size:1.05rem;font-weight:800;color:var(--text)}.team-card .role{font-size:1.05rem;color:var(--teal);font-weight:500;margin:10px 0 12px}.team-card p{margin:0;color:var(--muted);line-height:1.7;font-size:1rem}

    .services-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;align-items:start}
    .service-accordion{border-radius:24px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow-sm);overflow:hidden;transition:.3s ease}
    .service-accordion.open{border-color:#b9d6ff;box-shadow:0 0 0 1px rgba(36,86,221,.08),0 16px 40px rgba(13,27,76,.08)}
    .service-head{width:100%;background:#fff;border:none;padding:28px;display:grid;grid-template-columns:76px 1fr 28px;gap:18px;align-items:start;text-align:left;cursor:pointer}
    .service-icon{width:58px;height:58px;border-radius:18px;background:#eef6fa;color:var(--blue);display:grid;place-items:center;font-size:1.35rem;font-weight:800}
    .service-accordion.open .service-icon{background:linear-gradient(135deg,var(--blue),var(--teal));color:#fff}
    .service-head h3{margin:0 0 10px;font-size:1.05rem}.service-head p{margin:0;color:var(--muted);line-height:1.7;font-size:1rem}
    .service-chevron{color:#8a9ab6;font-size:1.25rem;transition:.25s ease;padding-top:6px}.service-accordion.open .service-chevron{transform:rotate(180deg);color:var(--muted)}
    .service-body{max-height:0;overflow:hidden;transition:max-height .35s ease;background:#fff;border-top:1px solid transparent}
    .service-accordion.open .service-body{border-top-color:#eef3fa}
    .service-body-inner{padding:26px 28px 30px}.service-body h4{margin:0 0 18px;font-size:1rem;color:#435676}
    .service-features{display:grid;grid-template-columns:repeat(2,1fr);gap:14px 28px;padding:0;margin:0 0 24px;list-style:none}
    .service-features li{position:relative;padding-left:18px;color:var(--muted);font-weight:500}
    .service-features li::before{content:"";position:absolute;left:0;top:.65em;width:8px;height:8px;border-radius:50%;background:var(--teal)}
    .service-link{display:inline-flex;align-items:center;gap:10px;color:var(--blue);font-weight:800}

    .contact-grid{display:grid;grid-template-columns:1fr .95fr;gap:28px}.contact-form{padding:32px}.contact-form .grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
    .field{display:grid;gap:8px}.field label{font-weight:700;color:#33476f;font-size:.95rem}
    .field input,.field textarea{width:100%;padding:16px 16px;border:1px solid var(--line);border-radius:16px;background:#f7fafc;outline:none;color:var(--text)}
    .field input:focus,.field textarea:focus{border-color:#a9c3f3;background:#fff;box-shadow:0 0 0 4px rgba(36,86,221,.08)}.field textarea{min-height:160px;resize:vertical}.error{font-size:.8rem;color:#d1475d}
    .contact-side{display:grid;gap:24px}.contact-info{padding:32px;background:linear-gradient(135deg,var(--navy-2),var(--navy));color:#fff;border:none}.info-item{display:flex;gap:14px;align-items:flex-start;margin-top:18px}
    .info-badge{width:50px;height:50px;border-radius:16px;background:rgba(255,255,255,.10);display:grid;place-items:center}.contact-info h3{margin:0 0 8px}.contact-info p,.contact-info span{color:rgba(255,255,255,.72);line-height:1.7}
    .hours-card{padding:30px}.hours-row{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #eef3f7;color:var(--muted)}.hours-row strong{color:var(--text)}
    .map-shell{margin-top:30px;height:330px;border-radius:28px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-sm);position:relative;background:#eef4f8}.map-shell iframe{width:100%;height:100%;border:0}.map-tag{position:absolute;top:16px;left:16px;background:#fff;padding:12px 16px;border-radius:14px;box-shadow:var(--shadow-sm);font-weight:800;color:var(--text)}

.image-slot::after {
  content: none;
  display: none;
}
    .image-slot {
  position: relative;
  background: #eef4f8;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
.image-slot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
    footer{background:var(--navy);color:#fff}.footer-wrap{padding:68px 0 28px}.footer-grid{display:grid;grid-template-columns:1fr auto auto auto;gap:60px}
    .footer-title{font-size:.85rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:18px;color:#dbe7ff}.footer-copy{color:rgba(255,255,255,.72);line-height:1.8;max-width:370px}
    .footer-list{display:grid;gap:12px}.footer-list button,.footer-list a{border:none;background:none;color:rgba(255,255,255,.72);padding:0;text-align:left;cursor:pointer}.footer-list button:hover,.footer-list a:hover{color:var(--teal-2)}
    .footer-bottom{display:flex;justify-content:space-between;gap:18px;padding-top:24px;margin-top:28px;border-top:1px solid rgba(255,255,255,.10);color:rgba(255,255,255,.50)}

    @media (max-width:1180px){.hero-wrap,.story-wrap,.about-mission,.contact-grid,.footer-grid{grid-template-columns:1fr}.hero-visual{min-height:460px}.services-preview-grid{grid-template-columns:repeat(2,1fr)}}
    @media (max-width:900px){
      .nav-center,.top-tools .header-cta,.top-tools .lang-switch{display:none}.mobile-toggle{display:block}
      .services-grid,.team-grid,.services-preview-grid,.stats-grid,.service-features,.contact-form .grid{grid-template-columns:1fr}
      .hero-wrap{padding:140px 0 80px}.hero-copy .title{font-size:clamp(2.8rem,9vw,4.8rem)}.hero-visual{min-height:390px}
      .hero-main-card{position:relative;right:auto;top:auto;width:100%}.rating-card{right:10px;top:-16px}.license-card{left:14px;bottom:-18px}
      .service-head{grid-template-columns:70px 1fr 24px}.footer-bottom{flex-direction:column}.container{width:min(var(--container),calc(100% - 34px))}
    
    /* FIX: remove whitespace below hero image */
.hero-main-card .image-slot::after {
  display: none !important;
  content: none !important;
}
.hero-main-card .image-slot {
  height: 100%;
  min-height: 420px;
}
.hero-main-card .image-slot img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
    }
/* ==============================
   CLEAN MOBILE FIX (SAFE RESET)
   NO OVERFLOW + KEEP HEADER UI
============================== */

@media (max-width: 900px) {

  /* 🔒 STOP HORIZONTAL SCROLL */
  html, body {
    overflow-x: hidden !important;
  }

  /* ================= HEADER FIX ================= */

  nav {
    height: 72px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* LOGO SHRINK ONLY */
  .brand-badge img {
    height: 80px !important;
    width: auto;
  }

  /* ================= NAVIGATION ================= */

  /* KEEP NAV BUT MAKE IT FIT (NOT HIDDEN) */
  .nav-center {
    display: none; /* we will rely on mobile toggle */
  }

  .mobile-toggle {
    display: block;
    font-size: 1.8rem;
    z-index: 1001;
  }

  /* ================= LANGUAGE SWITCH FIX ================= */

  .top-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .lang-switch {
    display: flex;
    flex-direction: row;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    max-width: none;
    overflow: visible;
  }

  .lang-btn {
    font-size: 0.75rem;
    padding: 6px 8px;
    white-space: nowrap;
  }

  /* ================= HERO FIX (PREVENT OVERFLOW) ================= */

  .hero-wrap {
    grid-template-columns: 1fr !important;
    gap: 24px;
    padding: 110px 0 60px;
  }

  .hero-main-card {
    width: 100%;
    max-width: 100%;
  }

  .hero-main-card .image-slot {
    height: 320px;
  }

  /* ================= GRID FIXES ================= */

  .services-preview-grid,
  .team-grid,
  .stats-grid,
  .services-grid,
  .about-mission,
  .contact-grid,
  .story-wrap {
    grid-template-columns: 1fr !important;
  }

  /* ================= PREVENT ANY CARD OVERFLOW ================= */

  .card,
  .team-card,
  .service-preview {
    width: 100%;
    box-sizing: border-box;
  }
}

/* ================= SMALL PHONES (375px FIX) ================= */

@media (max-width: 420px) {

  nav {
    height: 64px;
  }

  .brand-badge img {
    height: 42px !important;
  }

  .lang-btn {
    font-size: 0.7rem;
    padding: 4px 6px;
  }

  .hero-copy .title {
    font-size: 2.2rem;
  }

  .hero-main-card .image-slot {
    height: 260px;
  }
}

html, body {
  overflow-x: clip; /* Allows carousel to scroll properly while preventing page-wide overflow */
}

* {
  box-sizing: border-box;
}

@media (max-width: 900px) {

  /* NAV LAYOUT - Adjusted padding for tighter fit */
  nav {
    height: 60px; /* Further reduced height */
    padding: 0 4px; /* Minimal padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* BRAND (logo + text together) - Reduced gap and font size */
  .brand {
    display: flex;
    align-items: center;
    gap: 2px; /* Minimal gap */
    font-size: 0.75rem; /* Significantly smaller font */
  }

  /* LOGO CONTAINER - No change needed */
  .brand-badge {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* LOGO SIZE - Slightly reduced height */
  .brand-badge img {
    height: 38px !important;   /* Significantly smaller logo */
    width: auto;
    object-fit: contain;
  }

  /* TEXT NEXT TO LOGO - Font size adjusted with .brand */
  .brand span {
    font-size: 0.75rem; /* Matching .brand font size */
    white-space: nowrap;
  }


  /* FORCE RIGHT SIDE TO STAY INSIDE SCREEN - Reduced gap */
  .top-tools {
    display: flex;
    align-items: center;
    gap: 4px; /* Balanced gap between lang and toggle */
    flex-shrink: 0;
  }

  /* LANGUAGE SWITCH FIX (THIS WAS BREAKING YOUR SCREEN) */
  .lang-switch {
    display: flex;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 2px 4px;
    border-radius: 12px;
    max-width: 100%; /* Keep as is */
    overflow: visible; /* Ensure content is not hidden */
  }

  .lang-btn {
    font-size: 0.55rem; /* Tiny but readable */
    padding: 2px 4px;
    white-space: nowrap;
  }

  /* MOBILE TOGGLE ALWAYS VISIBLE - Reduced font size and margin */
  .mobile-toggle {
    display: block;
    flex-shrink: 0;
    font-size: 1.2rem; /* Slightly smaller toggle */
  }

  /* NAV CENTER ALWAYS HIDDEN ON MOBILE */
  .nav-center {
    display: none !important;
  }
}
/* ================= LANGUAGE FIX (SAFE PATCH) ================= */

.top-tools {
  max-width: none !important;
  flex-shrink: 0;
  overflow: visible;
}

.lang-switch {
  display: flex !important;
  gap: 4px;
  padding: 4px 6px;
  flex-shrink: 0;
  flex-wrap: nowrap;
  background: rgba(255,255,255,.12);
  border-radius: 12px;
  overflow: visible;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  padding: 4px 6px;
  min-width: 32px;
  white-space: nowrap;
}

@media (max-width: 900px) {

  nav {
    height: 72px !important;
    padding: 0 12px;
  }

  .brand-badge img {
    height: 52px !important;
    width: auto;
  }

  .brand span {
    font-size: 0.95rem;
  }
}

@media (max-width: 900px) {

  /* make sure layout always stacks properly */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  /* prevent horizontal squeezing */
  .contact-form,
  .contact-info,
  .hours-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* improve padding so cards breathe on mobile */
  .contact-form,
  .contact-info,
  .hours-card {
    padding: 22px !important;
  }

  /* fix form grid inside contact form */
  .contact-form .grid {
    grid-template-columns: 1fr !important;
  }

  /* prevent text overflow inside info items */
  .info-item {
    flex-wrap: wrap;
  }

  .info-item p {
    word-break: break-word;
  }

  /* map responsiveness */
  .map-shell {
    height: 240px;
  }
}
.info-item a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.info-item a:hover {
  color: var(--teal);
}.info-item a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.info-item a:hover {
  color: var(--teal);
}
    /* gap: 4px;              /* less space between items */
   */

  /* shrink language switch container */
  .lang-switch {
    padding: 2px 4px;      /* was bigger before */
    gap: 2px;
    transform: scale(0.85); /* 👈 slightly smaller but still readable */
    transform-origin: right center;
  }

  /* shrink buttons slightly */
  .lang-btn {
    font-size: 0.65rem;
    padding: 1px 3px;
    min-width: 24px;
  }

  /* give hamburger breathing space */
  .mobile-toggle {
    margin-left: 4px;
    font-size: 1.5rem;
  }

/* Carousel Improvements */
.carousel-wrapper {
  position: relative;
}
 
#servicesCarousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
 
#servicesCarousel::-webkit-scrollbar {
  display: none;
}
 
.carousel-card {
  min-width: 400px;           /* Increased size for desktop */
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.12); */
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  perspective: 1200px;
}
 
.carousel-card:hover {
  transform: scale(1.08) rotateY(10deg) translateY(-8px);   /* dramatic pop-out effect */
  box-shadow: 0 25px 50px rgba(30, 58, 138, 0.25);
  z-index: 5;
}
 
.carousel-card img {
  width: 100%;
  height: 300px;              /* Increased height for desktop */
  object-fit: cover;
  display: block;
}
 
.color-overlay {
  display: none; /* Removed the dark overlay to keep images plain */
}
 
.card-content {
  position: absolute;
  inset: 0;                   /* Spans entire card for centering */
  display: flex;
  align-items: center;        /* Centers words vertically */
  justify-content: center;    /* Centers words horizontally */
  left: 0;
  right: 0;
  background: none;           /* Removed the black thing at the bottom */
  color: white;
  padding: 20px;
  z-index: 2;
  text-align: center;
}
 
.card-content h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8); /* Stronger shadow for readability without the black box */
}
 
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.95);
  color: #1e3a8a;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  z-index: 10;
  transition: all 0.3s ease;
}
 
.carousel-btn:hover {
  background: #1e3a8a;
  color: white;
  transform: translateY(-50%) scale(1.1);
}
.carousel-card.active {
  transform: scale(1.08) rotateY(10deg) translateY(-8px);
  box-shadow: 0 25px 50px rgba(30, 58, 138, 0.25);
  z-index: 5;
}
#servicesCarousel {
  scroll-snap-type: x mandatory;
}

@media (max-width: 900px) {
  .services-showcase .container {
    padding: 0 !important;    /* Increase width of overall container on mobile */
    max-width: 100% !important;
  }

.carousel-card {
  scroll-snap-align: center;
}
@media (max-width: 900px) {
  .carousel-card {
    min-width: 100%;
    height: auto;
  }
  .carousel-card img {
    height: 220px;
  }
}}
#servicesCarousel {
  scroll-snap-type: x mandatory;
}

.carousel-card {
  scroll-snap-align: center;
}
.carousel-card {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.carousel-card:hover {
  transform: scale(1.05); /* subtle hover only */
}

.carousel-card.active {
  transform: scale(1.08) rotateY(10deg) translateY(-8px);
  box-shadow: 0 25px 50px rgba(30, 58, 138, 0.25);
  z-index: 5;
}
#servicesCarousel {
  scroll-snap-type: x mandatory;
}

.carousel-card {
  scroll-snap-align: center;
}