/* === RANGE-BASED RESPONSIVE === */
/* ================================================================
   RANGE 1 — 125% zoom on 1920px ≈ 1536px
   Desktop tight — nav still visible, just tighter
   ================================================================ */
@media (max-width: 1499px) and (min-width: 1300px) {
  .wrap {
    width: min(1350px, calc(100% - 110px))
  }

  .nav-links {
    margin-left: 394px;
    gap: 18px
  }
  .nav-links a {
    font-size: 14px
  }
  .logo img {
    height: 72px
  }
  .hero-copy h1 {
    font-size: clamp(30px, 4.2vw, 42px)
  }
}

/* ================================================================
   RANGE 2 — Higher zoom / smaller desktop
   ================================================================ */
@media (max-width: 1299px) and (min-width: 1150px) {
  .wrap {
    width: min(1350px, calc(100% - 115px))
  }

  .nav-links {
   margin-left: 363px;
    gap: 14px
  }
  .nav-links a {
    font-size: 13px
  }
  .logo img {
    height: 64px
  }
  .hero-copy h1 {
    font-size: 32px
  }

  .dropdown-menu a {
    
    font-size: 13px;
   
}
}

/* ================================================================
   RANGE 3 — Tablet landscape
   ================================================================ */
@media (max-width: 1149px) {
  .wrap {
    width: min(1350px, calc(100% - 40px))
  }

  .hero-grid,
  .about-layout {
    grid-template-columns: 1fr
  }

  .trust-strip,
  .products-grid,
  .why-grid,
  .regions,
  .blogs-grid,
  .footer-grid,
  .mission-grid,
  .team-grid,
  .values-grid,
  .milestones {
    grid-template-columns: 1fr
  }

  .steps-grid {
    grid-template-columns: 1fr auto 1fr
  }
  .step-connector:nth-child(4) {
    display: none
  }
  .certs-grid {
    grid-template-columns: repeat(2, 1fr)
  }
  .partners-strip {
    grid-template-columns: repeat(2, 1fr)
  }
}

/* ================================================================
   RANGE 4 — Tablet portrait
   ================================================================ */
@media (max-width: 991px) {
  .wrap {
    width: min(1350px, calc(100% - 32px))
  }

  .hero-copy h1 {
    font-size: 30px
  }
  .logo img {
    height: 56px
  }
}

/* ================================================================
   RANGE 5 — Mobile / small tablet
   ================================================================ */
@media (min-width: 576px) and (max-width: 767px) {
  .wrap {
    width: min(1350px, calc(100% - 40px))
  }

  nav .wrap,
  .topbar .wrap {
    padding: 10px 0
  }

  .nav-toggle {
    display: flex
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
    z-index: 99;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease, opacity .25s ease;
    opacity: 0;
    visibility: hidden;
    margin-left: 0;
  }

  .nav-links.open {
    max-height: 2500px;
    opacity: 1;
    visibility: visible
  }

  .nav-links > li {
    width: 100%
  }

  .nav-links > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(30,39,97,.06)
  }

  .dropdown-menu,
  .submenu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    padding: 0 0 0 16px;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease
  }

  .nav-dropdown:hover > .dropdown-menu,
  .has-sub:hover > .submenu {
    transform: none
  }

  .dropdown-menu.open {
    max-height: 1500px
  }

  .submenu.open {
    max-height: 1000px
  }

  .dropdown-menu a {
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(30,39,97,.04)
  }

  .has-sub > a svg,
  .nav-dropdown > a svg {
    transition: transform .2s ease
  }

  .has-sub > a.open svg,
  .nav-dropdown > a.open svg {
    transform: rotate(180deg)
  }

  nav > .wrap > .btn-primary {
    display: none
  }

  .logo img {
    height: 70px
  }

  .hero-copy h1 {
    font-size: 32px
  }

  .hero-card {
    min-height: 320px
  }

  .hero-copy p {
    font-size: 15px
  }

  .hero-badge {
    position: static;
    max-width: 100%;
    margin-top: 16px
  }

  .trust-strip,
  .products-grid,
  .why-grid,
  .regions,
  .blogs-grid,
  .footer-grid {
    grid-template-columns: 1fr
  }

  section {
    padding: 32px 0
  }

  .about-image-frame img {
    height: 220px;
    object-fit: cover
  }

  .about-metrics {
    flex-wrap: wrap
  }

  .about-join {
    width: 100%;
    justify-content: center
  }

  .about-content-col {
    order: -1
  }

  .about-visual-col {
    order: 1
  }

  .about-text p {
    font-size: 16px
  }

  .about-heading {
    font-size: 26px
  }

  .blogs .blogs-head {
    flex-direction: column;
    align-items: flex-start
  }

  .blogs-head h2 {
    font-size: clamp(22px, 6vw, 28px) !important
  }

  .cta-box h2 {
    font-size: 24px
  }

  .cta-box p {
    font-size: 15px
  }

  
  .cta-actions {
    flex-direction: column;
    align-items: center
  }

  .footer-brand img {
    height: 60px
  }

  
  .steps-grid {
    grid-template-columns: 1fr
  }
  .step-connector {
    display: none
  }
  .certs-grid {
    grid-template-columns: repeat(2, 1fr)
  }
  .testimonials-track {
    gap: 12px
  }
  .testimonial-card {
    flex: 0 0 calc(100% - 12px)
  }
  .partners-strip {
    grid-template-columns: repeat(2, 1fr)
  }

.hero-slider { 
    min-height: 375px;
}

.trust-item span { 
    font-size: 16px;
}



}

/* ================================================================
   RANGE 6 — Small mobile
   ================================================================ */
@media (max-width: 575px) {
  .wrap {
    width: min(1350px, calc(100% - 32px))
  }

  nav .wrap,
  .topbar .wrap {
    padding: 10px 0
  }

  .nav-toggle {
    display: flex
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
    z-index: 99;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease, opacity .25s ease;
    opacity: 0;
    visibility: hidden;
    margin-left: 0
  }

  .nav-links.open {
    max-height: 2500px;
    opacity: 1;
    visibility: visible
  }

  .nav-links > li {
    width: 100%
  }

  .nav-links > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(30,39,97,.06)
  }

  .dropdown-menu,
  .submenu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    padding: 0 0 0 16px;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease
  }

  .nav-dropdown:hover > .dropdown-menu,
  .has-sub:hover > .submenu {
    transform: none
  }

  .dropdown-menu.open {
    max-height: 1500px
  }

  .submenu.open {
    max-height: 1000px
  }

  .dropdown-menu a {
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(30,39,97,.04)
  }

  .has-sub > a svg,
  .nav-dropdown > a svg {
    transition: transform .2s ease
  }

  .has-sub > a.open svg,
  .nav-dropdown > a.open svg {
    transform: rotate(180deg)
  }

  nav > .wrap > .btn-primary {
    display: none
  }
.hero-badge span { 
    font-size: 16px;
}
  .logo img {
    height: 70px
  }

  .topbar-links {
    width: 100%
  }

  .topbar-search input {
    width: 120px;
    font-size: 11px
  }

  .topbar-brochure {
    font-size: 11px;
    padding: 4px 10px
  }

  .hero-copy h1 {
    font-size: 28px
  }

  .hero-copy p {
    font-size: 16px
  }

  .hero-card {
    min-height: 260px
  }

  .hero-badge {
    position: static;
    max-width: 100%;
    margin-top: 16px
  }

  .hero-slider {
    min-height: 375px
  }

  .trust-item span {
    font-size: 16px
  }

  .trust-strip,
  .products-grid,
  .why-grid,
  .regions,
  .blogs-grid,
  .footer-grid {
    grid-template-columns: 1fr
  }

  section {
    padding: 32px 0
  }

  .btn {
    font-size: 13px;
    padding: 8px 14px
  }

  .section-head h2 {
    font-size: clamp(20px, 6vw, 26px)
  }

  .section-head p {
    font-size: 16px
  }

  .about-image-frame img {
           height: auto;

  }

  .about-content-col {
    order: -1
  }

  .about-visual-col {
    order: 1
  }

  .about-text p {
    font-size: 16px
  }

  .about-metrics {
    flex-wrap: wrap
  }

  .about-join {
    width: 100%;
    justify-content: center
  }

  .about-heading {
    font-size: 26px
  }

  .blogs .blogs-head {
    flex-direction: column;
    align-items: flex-start
  }

  .blogs-head h2 {
    font-size: clamp(22px, 6vw, 28px) !important
  }

  .cta-box h2 {
    font-size: 20px
  }

  .cta-box p {
    font-size: 14px
  }

  .cta-actions {
           flex-direction: row;
    align-items: center
  }

  footer {
    padding: 40px 0 18px
  }

  .footer-col h4 {
    font-size: 14px
  }

  .footer-col a,
  .footer-brand p {
    font-size: 16px
  }

  .product-body p {
    font-size: 16px; 
}

.why-card p { 
    font-size: 16px;   
}
.region span {
    font-size: 16px; 
}
  .footer-brand img {
    height: 80px
  }

  .steps-grid {
    grid-template-columns: 1fr
  }

  .step-connector {
    display: none
  }

  .certs-grid {
    grid-template-columns: repeat(1, 1fr)
  }

  .testimonials-track {
    gap: 22px
  }
.blog-body p { 
    font-size: 16px;
    
}
.blog-card img {
    width: 100%;
    height:  auto;
    object-fit: cover;
}
  .testimonial-card {
    flex: 0 0 calc(100% - 12px);
    padding: 20px
  }

  .testimonial-card p {
    font-size: 16px
  }

  .partners-strip {
    grid-template-columns: repeat(2, 1fr)
  }

  .faq-question {
    font-size: 14px;
    padding: 14px 0
  }

  .faq-answer {
    font-size: 13px
  }

  .cert-card {
    padding: 14px
  }

  .cert-card span {
    font-size: 13px
  }

  .value-stack-item {
    flex-direction: column;
    padding: 20px 16px;
  }
  .value-stack-left {
    flex-direction: row;
    min-width: auto;
    gap: 12px;
  }
  .value-stack-body h3 {
    font-size: 16px;
  }
  .value-stack-body p {
    font-size: 14px;
  }
  .mission-grid {
    grid-template-columns: 1fr
  }
  .team-grid {
    grid-template-columns: 1fr
  }
  .values-grid {
    grid-template-columns: 1fr
  }
  .milestones {
    grid-template-columns: repeat(2,1fr)
  }
  .page-banner {
    padding: 50px 0 36px
  }
  .page-banner h1 {
    font-size: clamp(26px,6vw,32px)
  }
  .faq-question {
    font-size: 15px;
    padding: 16px 18px;
  }
  .faq-answer p {
    padding: 0 18px 16px;
    font-size: 14px;
  }
  .faq-item {
    border-radius: 12px;
  }
  .blogs-page {
    padding: 40px 0;
  }
  .blogs-grid {
    grid-template-columns: 1fr;
  }
  .pagination-bar {
    gap: 4px;
    margin-top: 28px;
  }
  .page-btn {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }


}

@media (max-width:768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-captcha {
    flex-direction: column;
    align-items: stretch;
  }
  .captcha-box {
    width: 100%;
  }
    .topbar .wrap {  
    gap: 10px;    
}
  .contact-info-card,
  .contact-form-card {
    padding: 24px 20px;
  }
  .contact-form-card .btn-primary {
    width: 100%;
    text-align: center;
  }

.intro-bordered { 
    padding: 30px 15px;   
}
.answer-card { 
   padding: 30px 15px; 
}

}

@media (max-width:480px) {
  .blogs-grid {
    grid-template-columns: 1fr;
  }
}
