@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global font: enforce Lato across this page */
html,
body,
button,
input,
textarea,
select {
    font-family: "Lato", sans-serif;
}

body * {
    font-family: "Lato", sans-serif !important;
}

html {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    margin: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.navbar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: transparent;
    border-bottom: none;
}

.navbar-overlay .nav-links > .nav-item > .nav-item__link--solo:not(.active),
.navbar-overlay .nav-links > .nav-item .nav-item__row .nav-item__link:not(.active) {
    color: #111;
}

.navbar-overlay .nav-links > .nav-item > .nav-item__link--solo.active,
.navbar-overlay .nav-links > .nav-item .nav-item__row .nav-item__link.active {
    color: #149473;
    border-bottom: 2px solid #149473;
    padding-bottom: 4px;
}

.navbar-overlay .search-icon {
    color: #111;
}

.navbar .container,
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-inner {
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
    position: relative;
    z-index: 301;
}

.nav-brand-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.social-links.social-links--header {
    display: none;
    align-items: center;
    margin: 0;
    margin-bottom: 0;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle:focus-visible {
    outline: 2px solid #149473;
    outline-offset: 2px;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #111;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar-overlay.nav-open .nav-toggle .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-overlay.nav-open .nav-toggle .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.navbar-overlay.nav-open .nav-toggle .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 0;

}

.logo-img {
    display: block;
    height: auto;
    width: auto;
    max-height: 64px;
    max-width: min(220px, 52vw);
    object-fit: contain;
    object-position: left center;
}

.logo-img--footer {
    max-height: 44px;
    max-width: 200px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #149473;
}

.navbar:not(.navbar-overlay) .nav-links a.active,
.navbar:not(.navbar-overlay) .nav-item__link.active {
    color: #149473;
}

/* —— 主导航：二级 / 三级下拉（数据来自栏目树 childlist） —— */
.nav-links .nav-item {
    position: relative;
    list-style: none;
}

.nav-item__link {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-item__link:hover {
    color: #149473;
}

.nav-item__link--solo {
    display: inline-block;
}

.nav-item__row {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-item__caret {
    display: none;
    align-items: center;
    justify-content: center;

    height: 40px;
    margin: 0;
    margin-left:5px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    color: #666;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.nav-item__caret::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform 0.2s ease;
}

.nav-item--open > .nav-item__row .nav-item__caret::after {
    transform: rotate(180deg);
}

.nav-item--has-children .nav-submenu {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.nav-submenu__link,
.nav-submenu-nested__link {
    display: block;
    padding: 0.7rem 1.35rem;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: #444;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.nav-submenu-nested__link {
    font-weight: 500;
    font-size: 16px;
    padding: 0.6rem 1.2rem 0.6rem 1.45rem;
    line-height: 1.45;
    white-space: normal;
}

.nav-submenu__link:hover,
.nav-submenu-nested__link:hover {
    background: rgba(20, 148, 115, 0.08);
    color: #149473;
}

.nav-submenu .active,
.nav-submenu-nested .active {
    color: #149473;
    background: rgba(20, 148, 115, 0.1);
}

.nav-submenu-nested {
    list-style: none;
    margin: 0;
    padding: 0.2rem 0 0.35rem 0.5rem;
    border-left: 2px solid rgba(20, 148, 115, 0.28);
}

@media (min-width: 901px) {
    .nav-item--has-children .nav-item__caret {
        display: inline-flex;
    }

    .nav-item--has-children .nav-submenu {
        position: absolute;
        left: 50%;
        /*top: calc(100% + 6px);*/
        transform: translateX(-50%) translateY(4px);
        min-width: 220px;
        max-width: min(340px, 90vw);
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 14px 44px rgba(0, 0, 0, 0.14);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
        z-index: 300;
    }

    .nav-item--has-children:hover .nav-submenu,
    .nav-item--has-children:focus-within .nav-submenu,
    .nav-item--has-children.nav-item--open .nav-submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .nav-item--has-children .nav-submenu__link {
        white-space: normal;
    }
}

.search-icon {
    color: #666;
    display: flex;
    align-items: center;
}

/* Hero */
.hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    /* overflow: hidden; */
}

.hero-bg {
    position: relative;
    z-index: 0;
    overflow: hidden;
    /* background: #e8e4dc; */
    width: 100%;
}

.hero-bg-img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Swiper inside .hero-bg (additive) */
.hero-bg.swiper .swiper-slide {
    line-height: 0;
    position: relative;
}

.hero-swiper-pagination.swiper-pagination-bullets {
    bottom: 10px;
    z-index: 2;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.95);
    opacity: 1;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    background: #111;
    border-color: #111;
}

.hero-main {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 25%;
    z-index: 1;
}

.hero-main .container {
    display: flex;
    justify-content: flex-start;
    /* align-items: center; */
    width: 100%;
}

.hero-content {
    /*max-width: 520px;*/
}

.hero-content h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.25;
    color: #111;
}

.hero-content p {
    color: #111;
    font-size: clamp(15px, 1.8vw, 18px);
    margin-bottom: 38px;
    font-weight: 400;
}

/* 窄屏：隐藏溢出，用 min(vw,vh)+clamp 缩小字号，不出现滚动条 */
@media (max-width: 900px) {
    .hero {
        overflow: visible;
    }

    /* bottom 不要用 max(90px,23%)：幻灯片不高时至少吃掉 90px，容器只剩几十 px，.hero-content 被 overflow:hidden 裁切 */
    .hero-main {
        top: max(6px, env(safe-area-inset-top, 0px));
        bottom: clamp(48px, 16%, 88px);
        left: 0;
        right: 0;
        padding-left: max(12px, env(safe-area-inset-left, 0px));
        padding-right: max(12px, env(safe-area-inset-right, 0px));
        padding-top: clamp(4px, 2.5vh, 28px);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .hero-main .container {
        height: 100%;
        max-height: 100%;
        min-height: 0;
        align-items: stretch;
    }

    .hero-content {
        width: 100%;
        max-height: 100%;
        min-height: 0;
        overflow: visible;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        align-items: flex-start;
        --hero-title-size: clamp(12px, min(3.2vw, 3.8vh), 22px);
    }

    .hero .hero-content .redb {
        margin-bottom: clamp(2px, 1.5vw, 10px);
        font-size: calc(var(--hero-title-size) + 6px);
        line-height: 1.12;
    }

    .hero-content h1 {
        margin-bottom: clamp(2px, 1vw, 8px);
        font-size: var(--hero-title-size);
        line-height: 1.15;
    }

    .hero-content p {
        margin-bottom: clamp(2px, 1.2vw, 10px);
        font-size: clamp(9px, min(2.7vw, 3.2vh), 15px);
    }

    .hero .hero-content .btn-primary {
        margin-top: clamp(6px, 2vw, 28px);
        padding: clamp(8px, 2vw, 12px) clamp(18px, 5vw, 32px);
        font-size: clamp(10px, min(2.4vw, 2.8vh), 13px);
        align-self: flex-start;
        width: auto;
        max-width: none;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }
}

.carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 36px;
    z-index: 2;
    text-align: center;
    margin-top: 0;
}

.hero .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.hero .dot.active {
    background: #111;
    border-color: #111;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #333;
}





.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 4px;
    cursor: pointer;
}

.dot.active {
    background: #666;
}

.whatwedo-section{
    background:#f9f9f9;
    padding:60px 0;

}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #149473;
    color: #fff;
}

.btn-primary:hover {
    background: #158a7d;
}
.more-btn{
    margin-top:35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:15px;
}
.btn-outline {
    background: transparent;
    color: #149473;
    border: 1px solid #149473;
}

.btn-outline:hover {
    background: #149473;
    color: #fff;
}

/* Process Section */
.process-section {
    padding: 60px 0;
    background: #fff;
}

.process-gallery {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 30px;
}

.process-img {
    border-radius: 8px;
    overflow: hidden;
}

.process-img:hover img{
    transform: scale(1.2);
}

.process-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.process-steps {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    background: #333;
    border-radius: 8px;
    padding: 15px 30px;

    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    padding: 0 20px;
    color: #fff;
    position: relative;
    min-height: 0;
}

.arrow-bar {
    width: 10px;
    height: 18px;
    margin-left: 8px;
    align-self: center;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

/* .step:not(:last-child)::after {
    content: '>';
    position: absolute;
    right: -5px;
    color: #fff;
} */

.step.active {
    color: #fff;
}

.step-num {
    font-size: 12px;
    font-weight: 600;
}

.step-name {
    font-size: 14px;
    font-family: Barlow;
    line-height: 1.35;
}

.process-steps > .arrow-bar {
    align-self: center;
}

.process-steps .step:has(> .arrow-bar) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
}
.process-steps .step:has(> .arrow-bar) > .arrow-bar {
    margin-left: 0;
}
.certifications-section {
    padding: 36px 0 78px;
    background: #f9f9f9;
}
.certifications-section .section-title {
    margin-bottom: 18px;
}
.certifications-desc {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px 12px;
}

.cert-card {
    position: relative;
    border: 1px solid #d8d8d8;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.cert-card > img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: #fafafa;
    padding: 4px;
    display: block;
}

.cert-card__tab {
    position: absolute;
    left: 50%;
    bottom: -22px;
    width: 58px;
    height: 44px;
    margin-left: -29px;
    border-radius: 29px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cert-card__tab img {
    width: 100%;
    height: auto;
    object-fit: contain;
    
}




/* Contact Section — map background + teal title + white form card */
.contact-section {
    padding: 0;
    position: relative;
   
}

/* Contact bar + title: horizontal inset matches .container (mobile safe area) */
.contact-section > .section-title {
    box-sizing: border-box;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.contact-section .contact-bar {
    box-sizing: border-box;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.contact-section .contact-bar .ddds {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.contact-section .contact-bar p {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-hero {
    position: relative;
   
}

.contact-hero__bg {
   
    width: 100%;
    height: auto;
   
    display: block;
}

.contact-hero__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    max-width: 1200px;
}

.contact-title{
    max-width: 1200px;
    margin:0 auto;
    background:none;
    position: relative;
    z-index: 1;
}

.contact-info-box {
    margin-bottom:-60px;
    background: #149473;
    color: #fff;
    padding: 22px 28px 24px;
    max-width: 200px;
    box-sizing: border-box;
}

.contact-info-box h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.contact-info-box__line {
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 14px;
    background: #fff;
}

.contact-form-card {
    /*position: absolute;*/
    /*left:0;*/
    /*bottom:-180px;*/
    margin-bottom:-180px;
    width:100%;
    padding: clamp(24px, 4vw, 36px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

.contact-form {
    max-width: 100%;
    margin: 0;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    font-family: inherit;
}

.form-textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
}

.form-input:focus {
    outline: none;
    border-color: #149473;
}

.submit-row {
    justify-content: flex-end;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: #fff;
    padding: 230px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-brand {
    flex: 1;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-flex;
}

.contact-email {
    color: #149473;
    margin-bottom: 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap:10px;
}

.social-links {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    overflow: hidden;
    box-sizing: border-box;
}

/* 与首页 styles.css 一致：限制图标在圆内，避免父级 overflow-y 裁切上下 */
.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.redb{
    font-size:60px;
    color:#B41E1E;
    font-weight:bold;
    margin-bottom:60px;
}
.social-icon:hover {
    background: #149473;
}

.social-icon.facebook:hover {
    background: #3b5998;
}

.social-icon.twitter:hover {
    background: #1da1f2;
}

.social-icon.linkedin:hover {
    background: #0077b5;
}

.social-icon.instagram:hover {
    background: #e4405f;
}

.social-icon.youtube:hover {
    background: #ff0000;
}

.copyright {
    color: #888;
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-column h4 {
    font-size: 14px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

.link-column ul {
    list-style: none;
}

.link-column li {
    margin-bottom: 10px;
}

.link-column a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.link-column a:hover {
    color: #149473;
}


.abls{
    color:#149473;
}
.bline{
    border-bottom:3px solid #149473;
}
.wline{
    width:40px;
    margin:0 auto;
}

@media (min-width: 1200px) {
    .process-img {
        width: 180px;
        height: 180px;
    }
}

/* Nav + hero: tablet */
@media (max-width: 1200px) {
    .nav-links {
        gap: clamp(12px, 2vw, 24px);
    }

    


    /* .nav-links a {
        font-size: clamp(12px, 1.2vw, 14px);
    } */
}

@media (max-width: 1240px) {
    .advantages {
        flex-direction: column;
        align-items: center;
    }

    .advantage-card {
        width: 100%;
        max-width: min(560px, 100%);
        margin-left: auto;
        margin-right: auto;
    }

    .advantage-card__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .advantage-card__photo {
        order: 1;
        display: block;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        height: clamp(200px, 42vw, 320px);
        object-fit: cover;
    }

    .advantage-card__panel {
        order: 2;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        height: auto;
        min-height: 0;
        box-sizing: border-box;
        padding: clamp(16px, 4vw, 22px) clamp(16px, 4vw, 22px) 76px;
    }

    .advantage-card__panel p {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .advantage-card__inner:hover .advantage-card__photo,
    .advantage-card__inner:hover .advantage-card__panel {
        transform: none;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .process-steps {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }

    .about-layout {
        gap: 24px;
    }

    .about-content {
        flex: 0 0 40%;
        max-width: 400px;
    }

    .expertise-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-gallery-item img {
        height: 140px;
    }

    .whatwedo-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .module-title {
        font-size: 42px;
    }

    .value-card h3 {
        font-size: 26px;
    }

    .vision-copy h3 {
        font-size: 34px;
    }

    .certifications-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Process：手机端单行横向滑动，箭头与多行文案垂直居中对齐 */
@media (max-width: 768px) {
    .process-steps {
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        align-content: center;
        gap: 0;
        padding: 14px 12px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .process-steps::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .process-steps > .arrow-bar {
        align-self: center;
        flex-shrink: 0;
        margin: 0 4px;
    }

    .process-steps .step {
        flex: 0 0 auto;
        align-items: center;
        align-self: center;
        padding: 6px 10px;
    }

    .process-steps .arrow-bar {
        align-self: center;
    }

    .process-steps .step-name {
        line-height: 1.3;
    }
}


/* Nav: mobile menu */
@media (max-width: 900px) {
    .nav-toggle {
        display: none;
    }

    .process-img {
        flex: 1;
        min-width: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .navbar-overlay {
        position: relative;
        background: #fff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        overflow: visible;
    }

    .navbar-overlay .nav-brand-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 6px 0 12px;
        gap: 14px;
        box-sizing: border-box;
    }

    .navbar-overlay .nav-brand-row .logo {
        margin: 0;
        justify-content: flex-start;
        width: auto;
        flex: 0 1 auto;
        min-width: 0;
        padding: 0;
    }

    .navbar-overlay .social-links.social-links--header {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 5px;
        margin: 0;
        margin-bottom: 0;
        max-width: min(70vw, 300px);
        padding: 6px 0;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: flex-end;
        flex: 1 0 auto;
        min-width: 0;
    }

    .navbar-overlay .social-links.social-links--header::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .navbar-overlay .social-links.social-links--header .social-icon {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .navbar-overlay .nav-inner {
        position: relative;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .navbar-overlay .nav-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-content: flex-start;
        align-items: center;
        gap: 6px 14px;
        flex-basis: auto;
        width: calc(100% + 40px);
        max-width: none;
        margin-left: -20px;
        margin-right: -20px;
        margin-top: 0;
        margin-bottom: 0;
        padding: 8px 14px 6px;
        list-style: none;
        border-radius: 0;
        background: #149473;
        box-shadow: none;
        overflow: visible;
    }

    .navbar-overlay .nav-links > .nav-item {
        border-bottom: none;
        flex: 0 0 auto;
    }

    .navbar-overlay .nav-links > .nav-item--has-children {
        position: relative;
    }

    .navbar-overlay .nav-item--has-children.nav-item--open {
        z-index: 500;
    }

    .navbar-overlay .nav-links > .nav-item:last-child {
        border-bottom: none;
    }

    .navbar-overlay .nav-links > .nav-item > .nav-item__link--solo:not(.active),
    .navbar-overlay .nav-links > .nav-item .nav-item__row .nav-item__link:not(.active) {
        color: #fff;
    }

    .navbar-overlay .nav-links > .nav-item > .nav-item__link--solo.active,
    .navbar-overlay .nav-links > .nav-item .nav-item__row .nav-item__link.active {
        color: #fff;
        border-bottom: none;
    }

    .navbar-overlay .nav-item__row {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        gap: 4px;
    }

    .navbar-overlay .nav-item__link {
        flex: 0 1 auto;
        display: inline-flex;
        align-items: center;
        padding: 6px 10px;
        color: #fff;
        border-bottom: none;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        box-sizing: border-box;
    }

    .navbar-overlay .nav-item__link--solo {
        display: inline-flex;
        width: auto;
    }

    .navbar-overlay .nav-item__link.active {
        border-bottom: none;
        border: none;
        padding: 6px 14px;
        color: #fff;
        box-shadow: 0 0 0 1px #fff;
        border-radius: 999px;
        line-height: 1.35;
    }

    .navbar-overlay .nav-item__caret {
        display: inline-flex;
        margin-right: 0;
        margin-left: 0;
        color: rgba(255, 255, 255, 0.9);
        height: 28px;
    }

    .navbar-overlay .nav-item--has-children .nav-submenu {
        position: absolute;
        left: 50%;
        top: calc(100% + 6px);
        transform: translateX(-50%) translateY(-6px);
        width: min(92vw, 300px);
        max-width: min(92vw, 300px);
        max-height: min(72vh, 380px);
        margin: 0;
        padding: 0.35rem 0;
        list-style: none;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow-x: hidden;
        overflow-y: auto;
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
        z-index: 500;
    }

    .navbar-overlay .nav-item--has-children.nav-item--open .nav-submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .navbar-overlay .nav-submenu__link,
    .navbar-overlay .nav-submenu-nested__link {
        white-space: normal;
        padding: 0.65rem 1rem;
        color: #333;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.45;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .navbar-overlay .nav-submenu-nested__link {
        font-size: 14px;
        font-weight: 500;
        padding-left: 1.35rem;
    }

    .navbar-overlay .nav-submenu .active,
    .navbar-overlay .nav-submenu-nested .active {
        box-shadow: inset 3px 0 0 #149473;
        color: #149473;
    }

    .navbar-overlay .nav-submenu-nested {
        border-left: none;
        padding-left: 0.4rem;
        margin-left: 0.35rem;
        border-left: 2px solid rgba(20, 148, 115, 0.35);
    }

    .navbar-overlay .search-icon {
        justify-content: flex-start;
    }

    .logo-img {
        max-height: clamp(36px, 11vw, 48px);
        max-width: min(200px, 48vw);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-main .container,
    .about-section .container {
        flex-direction: column;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .products-track {
        flex-wrap: wrap;
    }
    
    .features-grid {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: flex-start;
        gap: clamp(2px, 1vw, 8px);
        margin-bottom: 48px;
    }

    .features-grid .feature-item {
        flex: 1 1 0;
        min-width: 0;
    }

    .features-grid .feature-icon {
        width: clamp(28px, 9vw, 44px);
        height: clamp(28px, 9vw, 44px);
        margin-bottom: clamp(4px, 1.2vw, 8px);
    }

    .features-grid .feature-icon img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .features-grid .feature-item span {
        font-size: clamp(8px, 2.5vw, 11px);
        line-height: 1.15;
    }
    
    .process-gallery {
        flex-wrap: wrap;
    }
    
    .contact-info-box {
        position: relative;
        top: auto;
        left: auto;
        max-width: none;
        margin-bottom: 20px;
    }

    .contact-form-card {
        margin-top: 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
        margin-top: 40px;
    }
    
    .form-row {
        flex-direction: column;
    }

    .about-layout {
        flex-direction: column;
    }

    .about-content {
        max-width: none;
        width: 100%;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-stitle {
        font-size: 14px;
    }

    .about-image {
        width: 100%;
    }

    .about-gallery {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .about-gallery-item img {
        height: 180px;
    }

    .about-gallery-item span {
        font-size: 20px;
    }

    .whatwedo-section,
    .values-section {
        padding: 52px 0;

    }

    .module-title {
        font-size: 34px;
    }

    .whatwedo-cards,
    .values-grid,
    .vision-block {
        grid-template-columns: 1fr;
    }

    .whatwedo-card.is-offset {
        margin-top: 0;
    }

    .whatwedo-image {
        margin-top: 16px;
    }

    .certifications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 10px;
    }

    .certifications-desc {
        margin-bottom: 26px;
        font-size: 12px;
    }
}

/* Hero: small screens */
@media (max-width: 600px) {
    .hero-main .container {
        align-items: center;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        align-items: flex-start;
        --hero-title-size: clamp(12px, min(3.5vw, 3.7vh), 17px);
    }

    .hero-content h1 {
        font-size: var(--hero-title-size);
        line-height: 1.25;
    }

    .hero-content p {
        font-size: clamp(0.72rem, 3.2vw, 0.9rem);
    }

    .hero .hero-content .redb {
        font-size: calc(var(--hero-title-size) + 6px);
    }

    .carousel-dots {
        bottom: clamp(1rem, 5vw, 1.5rem);
    }

    .btn-primary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hero .hero-content .btn-primary {
        width: auto;
        max-width: none;
        align-self: flex-start;
    }

    .about-section {
        padding: 48px 0;
    }

    .about-top {
        font-size: 30px;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .about-content p {
        font-size: 14px;
    }

    .expertise-list li {
        font-size: 13px;
    }

    .about-gallery-item img {
        height: 150px;
    }

    .certifications-section {
        padding: 14px 0 56px;
    }

    .certifications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 10px;
    }

    .cert-card__tab {
        bottom: -18px;
        width: 52px;
        height: 38px;
        margin-left: -26px;
    }

    .module-title {
        font-size: 30px;
    }

    .whatwedo-card h3,
    .value-card h3 {
        font-size: 24px;
    }

    .vision-copy h3 {
        font-size: 30px;
    }
}
