/* ===== CSS Variables ===== */
:root {
    --color-primary: #01B34B;
    --color-primary-dark: #008C3F;
    --color-primary-light: #6AD98D;
    --color-primary-bg: #F0FDF4;
    --color-accent: #FFA91E;
    --color-text: #000000;
    --color-text-secondary: #45556C;
    --color-text-light: #7A7A7A;
    --color-bg: #FFFFFF;
    --color-bg-light: #F5F5F5;
    --color-border: #D9D9D9;
    --color-border-light: #F0F0F0;

    --font-family: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* Black Footer (part of contact section) */
.black-footer {
    background: #faba13;
    color: #111111;
    margin-top: 0;
    padding: 22px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-offices {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.footer-offices>span {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.office-list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 18px;
    min-width: 0;
}

.office-list .office+.office {
    position: relative;
    padding-left: 18px;
}

.office-list .office+.office::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 12px;
    background: rgba(17, 17, 17, 0.25);
    transform: translateY(-50%);
}

.office {
    font-size: 12px;
    color: rgba(17, 17, 17, 0.85);
    white-space: nowrap;
    line-height: 1.4;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 0;
}

.footer-social a {
    color: rgba(17, 17, 17, 0.85);
    font-size: 16px;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    color: #111111;
    transform: translateY(-2px);
}

.footer-copyright {
    font-size: 12px;
    color: rgba(17, 17, 17, 0.7);
    text-align: right;
    margin-left: auto;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .black-footer {
        padding: 20px 0;
    }

    .office-list {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .footer-offices {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer-copyright {
        text-align: center;
        margin-left: 0;
    }
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section>.container {
    margin: auto;
}

/* ===== Main Layout Wrapper ===== */
.fullpage-wrapper {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.section {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 30px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .fullpage-wrapper {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        scroll-snap-type: none;
    }

    .section {
        padding-top: 88px;
        /* keep content clear of fixed header */
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
        scroll-margin-top: 88px;
        /* when navigating with anchors */
    }

    .hero-section {
        padding-top: 0;
        height: 100vh;
        height: 100dvh;
        scroll-margin-top: 0;
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-light);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 16px;
    padding: 4px;
    background: var(--color-bg-light);
    border-radius: 6px;
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--color-primary);
}

.lang-btn.active {
    background: var(--color-primary);
    color: white;
}

.nav-cta {
    background: var(--color-primary);
    color: white;
    padding: 10px 24px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 500;
}

.nav-cta:hover {
    background: var(--color-primary-dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-text);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: #ffa91e;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #0a0a0a;
}

.btn-outline:hover {
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn-outline-dark:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline-sm {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 8px 16px;
    font-size: 13px;
}

.btn-outline-sm:hover {
    background: var(--color-primary);
    color: white;
}

.btn-link {
    background: transparent;
    color: var(--color-primary);
    padding: 0;
}

.btn-link:hover {
    gap: 12px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Section Headers ===== */
.section-header {
    margin-bottom: 20px;
}

.section-header.center {
    text-align: center;
}


.section-label {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    /* Orange text */
    background-color: #01b34b;
    /* Green background */
    margin-bottom: 6px;
    padding: 4px 8px;
    /* Add padding for badge appearance */
    border-radius: 20px;
    /* Rounded corners for badge look */
    border: 2px solid #fff;
    /* Orange outline */
    text-transform: uppercase;
    /* Optional: makes it look more like a badge */
    letter-spacing: 0.5px;
    /* Optional: adds spacing between letters */
}

.section-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 15px;
    color: var(--color-text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ===== Hero Section ===== */
.hero-section {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    padding-top: 0;
    position: relative;
    justify-content: flex-end;
    overflow: hidden;
}

.carousel {
    position: absolute;
    inset: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    position: absolute;
    bottom: clamp(80px, 12vh, 160px);
    left: clamp(32px, 8vw, 160px);
    right: clamp(32px, 8vw, 160px);
    max-width: min(800px, 85vw);
    color: white;
}

.hero-badge {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    padding: 12px 28px;
    border-radius: 99px;
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 600;
    margin-bottom: 28px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: clamp(20px, 4vh, 40px);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--color-accent);
    width: 32px;
    border-radius: 99px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 12px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* ===== About Section ===== */
.about-section {
    background: var(--color-bg);
    justify-content: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.about-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}

.about-divider {
    height: 1px;
    background: var(--color-border);
    margin: 10px 0;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-item {
    display: flex;
    gap: 12px;
    padding: 10px 12px;
    background: white;
    border-radius: var(--radius-md);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 18px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 12px;
    color: var(--color-text-secondary);
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    width: 100%;
}

@media (max-width: 768px) {
    .about-visual {
        margin-top: 24px;
    }
}

.video-placeholder {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    max-height: 180px;
    width: 100%;
    cursor: pointer;
}

@media (max-width: 768px) {
    .video-placeholder {
        max-height: 160px;
    }
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
    transition: var(--transition);
}

.play-btn:hover {
    background: var(--color-primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-link-box {
    background: linear-gradient(to bottom, var(--color-primary-bg), #DCFCE7);
    border: 1px solid var(--color-primary-light);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.gallery-icon {
    width: 40px;
    height: 40px;
    background: rgba(1, 179, 75, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 18px;
    flex-shrink: 0;
}

.gallery-text h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 2px;
}

.gallery-text p {
    font-size: 11px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.link-arrow {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.link-arrow:hover {
    gap: 12px;
}

/* ===== Clients Carousel (in About Section) ===== */
.clients-carousel-section {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.clients-carousel-header {
    text-align: center;
    margin-bottom: 10px;
}

.clients-carousel-header .section-label {
    font-size: 12px;
}

.clients-carousel-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 4px;
}

.clients-carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.clients-track {
    display: flex;
    gap: 20px;
    animation: scrollClients 20s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    flex-shrink: 0;
    width: 130px;
    height: 90px;
    background: var(--color-bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== Services Section ===== */
.services-section {
    background: linear-gradient(135deg, #01B34B 0%, #008C3F 100%);
}

.services-section .section-label {
    /* color: rgba(255,255,255,0.9); */
}

.services-section .section-header h2 {
    /* color: white; */
}

.services-section .section-header p {
    /* color: rgba(255,255,255,0.85); */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* Hide service images to match Figma (icon-only cards) */
.service-image {
    display: none;
}

.service-content {
    padding: 20px;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.service-icon.blue {
    background: #EFF6FF;
    color: #2563EB;
}

.service-icon.cyan {
    background: #ECFEFF;
    color: #0891B2;
}

.service-icon.green {
    background: var(--color-primary-bg);
    color: var(--color-primary);
}

.service-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.service-content>p {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.service-features {
    margin-bottom: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 5px;
}

.service-features li i {
    color: var(--color-primary);
}

/* ===== Benefits Section ===== */
.benefits-section {
    background: linear-gradient(180deg, #E8F5E9 0%, #FFFFFF 50%, #FDF8F3 100%);
    justify-content: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.benefit-card {
    background: white;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
}

@media (min-width: 1400px) {
    .benefit-card {
        padding: 24px;
    }
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 14px;
}

@media (min-width: 1400px) {
    .benefit-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
        margin: 0 auto 16px;
    }
}

.benefit-icon.green {
    background: var(--color-primary-bg);
    color: var(--color-primary);
}

.benefit-icon.blue {
    background: #EFF6FF;
    color: #2563EB;
}

.benefit-icon.orange {
    background: #FFF7ED;
    color: #EA580C;
}

.benefit-icon.purple {
    background: #FAF5FF;
    color: #9333EA;
}

.benefit-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

@media (min-width: 1400px) {
    .benefit-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .benefit-card p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* ===== Industries Section ===== */
.industries-section {
    background: linear-gradient(135deg, #FDF8F3 0%, #F5EDE4 100%);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.industry-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition);
}

.industry-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.industry-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}

.industry-icon.yellow {
    background: #FEF3C7;
    color: #D97706;
}

.industry-icon.blue {
    background: #DBEAFE;
    color: #2563EB;
}

.industry-icon.red {
    background: #FEE2E2;
    color: #DC2626;
}

.industry-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.industry-card>p {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.industry-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 5px;
}

.industry-features li i {
    color: var(--color-primary);
}

/* ===== Articles Section ===== */
.articles-section {
    background: var(--color-bg);
}

.articles-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.article-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 500;
}

.article-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.article-meta span {
    font-size: 12px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-link {
    margin-top: auto;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-link:hover {
    gap: 12px;
}

/* ===== Articles Carousel ===== */
.articles-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.articles-carousel {
    flex: 1;
    overflow: hidden;
    width: 100%;
}

/* Flex-based carousel for articles */
.articles-track {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    align-items: stretch;
    transition: transform 0.4s ease;
}

.articles-track .article-card {
    box-sizing: border-box;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .articles-carousel-wrapper {
        flex-direction: column;
    }
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 5px;
}

/* ===== Article Modal ===== */
.article-modal-container {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.article-modal-image {
    height: 280px;
    position: relative;
    flex-shrink: 0;
}

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

.article-modal-category {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--color-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.article-modal-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
}

.article-modal-body h2 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-modal-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.article-modal-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-modal-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.article-modal-content p {
    margin-bottom: 16px;
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--color-bg);
    justify-content: flex-start;
    padding: 120px 16px 0;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
}

.contact-section>.container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px);
    min-height: calc(100dvh - 120px);
}

.contact-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-section .black-footer {
    margin-top: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-extra {
    display: none;
}

.contact-info h3,
.contact-form-wrapper h3 {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 14px;
}

.info-list {
    margin-bottom: 14px;
}

.info-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.info-icon {
    width: 36px;
    height: 36px;
    background: var(--color-primary-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 16px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 2px;
}

.info-text p {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.wa-links {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.wa-link-item {
    display: flex;
    flex-direction: column;
}

.wa-link-item span {
    font-size: 11px;
    color: var(--color-text-light);
    margin-bottom: 2px;
}

.wa-link-item a {
    font-size: 13px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.wa-link-item a:hover {
    text-decoration: underline;
}

.business-hours h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 10px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.hours-item span:first-child {
    color: var(--color-text-secondary);
}

.hours-item span:last-child {
    color: var(--color-text);
}

.contact-form-wrapper {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    color: var(--color-text);
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    background: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(1, 179, 75, 0.1);
}

.phone-input {
    display: flex;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: white;
}

.phone-prefix {
    padding: 12px;
    background: var(--color-bg-light);
    border-right: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 16px;
}

.phone-input input {
    border: none;
    border-radius: 0;
    flex: 1;
}

.phone-input input:focus {
    box-shadow: none;
}

/* ===== Footer ===== */
.footer {
    background: #faba13;
    color: #111111;
    padding: 48px 0 24px;
    border-top: none;
    scroll-snap-align: end;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo span {
    color: #111111;
}

.footer-brand>p {
    font-size: 14px;
    color: rgba(17, 17, 17, 0.85);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-offices h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 12px;
}

.offices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.office strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #111111;
    margin-bottom: 4px;
}

.office span {
    font-size: 13px;
    color: rgba(17, 17, 17, 0.75);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 16px;
}

.links-columns {
    display: flex;
    gap: 48px;
    margin-bottom: 16px;
}

.links-columns ul li {
    margin-bottom: 8px;
}

.links-columns ul li a {
    font-size: 14px;
    color: rgba(17, 17, 17, 0.85);
}

.links-columns ul li a:hover {
    color: var(--color-primary);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(17, 17, 17, 0.85);
    margin-bottom: 12px;
}

.contact-list li i {
    color: var(--color-primary);
    width: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(17, 17, 17, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(17, 17, 17, 0.85);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(17, 17, 17, 0.25);
    color: rgba(17, 17, 17, 0.75);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(17, 17, 17, 0.75);
}

/* ===== Section Navigation Dots ===== */
.section-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.section-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.section-dot:hover {
    background: var(--color-primary);
    transform: scale(1.2);
}

.section-dot.active {
    background: var(--color-primary);
    border-color: white;
    box-shadow: 0 0 0 2px var(--color-primary);
}

/* ===== Modals ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 24px;
    overflow-y: auto;
}

#videoModal {
    padding: 0;
}

@media (max-width: 768px) {
    #videoModal {
        padding: 0;
        align-items: center;
    }
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    color: var(--color-text);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

#videoModalClose {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    top: 12px;
    right: 12px;
    z-index: 1001;
}

@media (max-width: 768px) {
    #videoModalClose {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
}

.modal-close:hover {
    background: var(--color-primary);
    color: white;
}

.modal-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

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

.modal-body {
    padding: 32px;
}

.modal-category {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.modal-body h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.3;
}

.modal-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border-light);
}

.modal-meta span {
    font-size: 14px;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-meta i {
    color: var(--color-primary);
}

.modal-text {
    margin-bottom: 24px;
}

.modal-text p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.modal-text h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin: 24px 0 12px;
}

.modal-text ul {
    margin: 16px 0;
    padding-left: 24px;
}

.modal-text ul li {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    list-style: disc;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    background: var(--color-bg-light);
    color: var(--color-text-secondary);
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 13px;
}

.modal-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
}

.modal-share span {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--color-primary);
    color: white;
}

/* Video Modal */
.video-modal-container {
    background: black;
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 94%;
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    aspect-ratio: 16/9;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .video-modal-container {
        width: 100%;
        border-radius: var(--radius-md);
        max-height: none;
        height: auto;
        margin: 0 auto;
    }
}

/* Portrait video container style */
@media (orientation: portrait) {
    .video-modal-container {
        aspect-ratio: 9/16;
    }

    .video-wrapper {
        padding-bottom: 177.78%;
        /* 16:9 inverted */
    }
}

/* Landscape video container style */
@media (orientation: landscape) {
    .video-modal-container {
        aspect-ratio: 16/9;
    }
}

.modal-overlay.active .video-modal-container {
    transform: translateY(0);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    width: 100%;
    flex: 1;
}

@media (max-width: 768px) {
    .video-wrapper {
        padding-bottom: 56.25%;
        height: 0;
        min-height: auto;
        max-height: none;
    }
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    .video-wrapper iframe {
        border-radius: var(--radius-md);
        border: none;
    }
}

/* Gallery Modal */
.gallery-modal-container {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    padding: 32px;
}

.modal-overlay.active .gallery-modal-container {
    transform: translateY(0);
}

.gallery-header {
    text-align: center;
    margin-bottom: 24px;
}

.gallery-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.gallery-header p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.gallery-tab {
    padding: 10px 24px;
    border: 1px solid var(--color-border);
    background: white;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-tab:hover,
.gallery-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    color: white;
    font-size: 24px;
}

.gallery-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    font-size: 13px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-primary);
}

.lightbox-close {
    top: 24px;
    right: 24px;
}

.lightbox-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-md);
}

.lightbox-caption {
    color: white;
    margin-top: 16px;
    font-size: 14px;
}

/* Article card cursor */
.article-card {
    cursor: pointer;
}

/* All Articles Grid */
.all-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 8px;
}

.all-articles-grid::-webkit-scrollbar {
    width: 6px;
}

.all-articles-grid::-webkit-scrollbar-track {
    background: var(--color-bg-light);
    border-radius: 3px;
}

.all-articles-grid::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}

.all-article-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.all-article-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.all-article-item-image {
    width: 120px;
    height: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.all-article-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.all-article-item-content {
    flex: 1;
    min-width: 0;
}

.all-article-item-content .category {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-primary);
    background: var(--color-primary-bg);
    padding: 2px 8px;
    border-radius: 99px;
    margin-bottom: 8px;
}

.all-article-item-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.all-article-item-content .meta {
    font-size: 12px;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .all-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-logo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .navbar {
        height: auto;
        padding: 4px 0;
    }

    .nav-container {
        padding: 10px 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .industries-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content {
        left: 40px;
        right: 40px;
        bottom: 100px;
    }

    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 22px;
        margin-top: 10px;
    }

    .section-header {
        margin-bottom: 16px;
        margin-top: 10px;
    }

    .services-grid,
    .industries-grid,
    .articles-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .clients-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-nav {
        display: none;
    }

    /* Fixed Mobile Menu Styles */
    .mobile-menu-btn {
        display: block !important;
        position: relative;
        z-index: 1002;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        gap: 20px;
        border-top: 1px solid #f0f0f0;
    }

    .nav-links.mobile-open,
    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 16px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-body h2 {
        font-size: 22px;
    }

    .modal-meta {
        flex-wrap: wrap;
        gap: 12px;
    }

    .gallery-modal-container {
        padding: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-tabs {
        flex-wrap: wrap;
    }

    .gallery-tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 12px 16px;
    }

    .hero-content {
        left: 20px;
        right: 20px;
        bottom: 80px;
    }

    .hero-badge {
        font-size: 14px;
        padding: 8px 16px;
    }

    .modal-image {
        height: 200px;
    }

    .modal-body h2 {
        font-size: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Video Modal ===== */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 0;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .video-modal-overlay {
        align-items: center;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
}

.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.video-modal-content video {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: #000;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.video-modal-close:hover {
    transform: scale(1.1);
}

/* ===== Large Screen Support ===== */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }

    .nav-container {
        max-width: 1600px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .nav-container {
        max-width: 1800px;
    }

    body {
        font-size: 18px;
    }
}

/* ===== Scaled Display Support (125%, 150%) ===== */
@media (min-resolution: 120dpi),
(min-resolution: 1.25dppx) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 12px 24px;
    }

    .nav-links {
        gap: 24px;
    }

    .nav-links a {
        font-size: 13px;
        padding: 6px 0;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    .nav-cta {
        padding: 8px 18px;
        font-size: 13px;
    }

    .section {
        padding-top: 84px;
        padding-bottom: 24px;
    }

    .contact-section {
        padding-top: 96px;
        padding-bottom: 0px !important;

    }

    .contact-section>.container {
        min-height: calc(100vh - 96px);
        min-height: calc(100dvh - 96px);
    }

    .hero-content h1 {
        font-size: clamp(1.75rem, 4vw, 3rem);
    }

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

    .section-title {
        font-size: clamp(1.5rem, 3vw, 2.5rem);
    }

    .benefits-grid {
        gap: 16px;
    }

    .benefit-card {
        padding: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .article-card {
        min-width: 280px;
    }
}

@media (min-resolution: 144dpi),
(min-resolution: 1.5dppx) {
    .nav-container {
        padding: 10px 20px;
    }

    .logo img {
        height: 28px;
        width: auto;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 12px;
        padding: 5px 0;
    }

    .nav-cta {
        padding: 7px 14px;
        font-size: 12px;
    }

    .section {
        justify-content: center;
        padding-top: 88px;
        padding-bottom: 22px;
    }

    .contact-section {
        /* padding-top: 54px!important; */
        padding-bottom: 0px !important;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .contact-section>.container {
        min-height: calc(100vh - 72px);
        min-height: calc(100dvh - 72px);
    }

    .contact-content {
        justify-content: flex-start;
    }

    .contact-section .section-header {
        margin-bottom: 10px;
    }

    .contact-section .section-header h2 {
        font-size: 1.35rem;
        margin-bottom: 6px;
    }

    .contact-section .section-header p {
        font-size: 0.85rem;
    }

    .contact-grid {
        gap: 14px;
    }

    .contact-info h3,
    .contact-form-wrapper h3 {
        margin-bottom: 10px;
    }

    .info-item {
        gap: 10px;
        padding: 6px 0;
    }

    .info-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .contact-form-wrapper {
        padding: 12px;
    }

    .contact-form {
        gap: 6px;
    }

    .form-row {
        gap: 6px;
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 13px;
    }

    .phone-prefix {
        padding: 10px;
        font-size: 14px;
    }

    .black-footer {
        padding: 14px 0;
    }

    .footer-container {
        gap: 16px;
    }

    .footer-offices>span {
        font-size: 13px;
    }

    .office {
        font-size: 11px;
    }

    .footer-social a {
        font-size: 15px;
    }

    .footer-copyright {
        font-size: 11px;
    }
}

/* ===== Extra scaling fixes ===== */
@media (max-height: 700px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .section-header p {
        font-size: 0.875rem;
    }

    .section {
        padding-top: 56px;
        padding-bottom: 20px;
    }

    .contact-section {
        padding-top: 52px;
        padding-bottom: 0px !important;

        /* padding-bottom: 16px; */
    }
}

/* ===== Prevent content clipping ===== */
.section-content {
    max-height: none !important;
    overflow: auto !important;
}

.benefits-grid,
.services-grid,
.industries-grid,
.articles-track {
    overflow: visible;
}

/* ===== Very small viewport heights (heavily scaled) ===== */
@media (max-height: 600px) {
    .section {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        bottom: 40px;
    }

    .carousel-dots {
        bottom: 16px;
    }

    .scroll-indicator {
        display: none;
    }

    .benefit-card {
        padding: 12px;
    }

    .service-card {
        padding: 12px;
    }

    .section-header {
        margin-bottom: 12px;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }

    .section-header p {
        font-size: 0.875rem;
    }

    .section {
        padding-top: 48px;
        padding-bottom: 16px;
    }

    .contact-section {
        padding-top: 48px;
        padding-bottom: 0px !important;

    }
}

 / *   C a p t c h a   S t y l i n g   * /   . c a p t c h a - w r a p p e r    {
               b a c k g r o u n d :    r g b a ( 0 ,    0 ,    0 ,    0 . 0 3 ) ;
               p a d d i n g :    1 2 p x ;
               b o r d e r - r a d i u s :    8 p x ;
               m a r g i n - b o t t o m :    2 0 p x ;
               d i s p l a y :    f l e x ;
               f l e x - d i r e c t i o n :    c o l u m n ;
               g a p :    8 p x ;
       
}

     . c a p t c h a - w r a p p e r   l a b e l    {
               f o n t - w e i g h t :    6 0 0 ;
               f o n t - s i z e :    0 . 9 r e m ;
               c o l o r :    # 4 4 4 ;
               m a r g i n - b o t t o m :    0    ! i m p o r t a n t ;
       
}

     # c a p t c h a - q u e s t i o n    {
               c o l o r :    # 0 1 B 3 4 B ;
               f o n t - w e i g h t :    7 0 0 ;
               f o n t - s i z e :    1 . 1 r e m ;
               m a r g i n - l e f t :    5 p x ;
       
}

     . c a p t c h a - w r a p p e r   i n p u t    {
               b o r d e r :    2 p x   s o l i d   # d d d ;
               b o r d e r - r a d i u s :    6 p x ;
               p a d d i n g :    8 p x   1 2 p x ;
               f o n t - s i z e :    1 r e m ;
               w i d t h :    1 0 0 % ;
               m a x - w i d t h :    1 5 0 p x ;
               t r a n s i t i o n :    b o r d e r - c o l o r   0 . 3 s ;
       
}

     . c a p t c h a - w r a p p e r   i n p u t : f o c u s    {
               b o r d e r - c o l o r :    # 0 1 B 3 4 B ;
               o u t l i n e :    n o n e ;
       
}

       . c a p t c h a - h e a d e r    {
               d i s p l a y :    f l e x ;
               j u s t i f y - c o n t e n t :    s p a c e - b e t w e e n ;
               a l i g n - i t e m s :    c e n t e r ;
               w i d t h :    1 0 0 % ;
       
}

     . r e f r e s h - b t n    {
               b a c k g r o u n d :    n o n e ;
               b o r d e r :    n o n e ;
               c o l o r :    # 0 1 B 3 4 B ;
               c u r s o r :    p o i n t e r ;
               f o n t - s i z e :    0 . 9 r e m ;
               p a d d i n g :    4 p x ;
               t r a n s i t i o n :    t r a n s f o r m   0 . 3 s   e a s e ;
       
}

     . r e f r e s h - b t n : h o v e r    {
               t r a n s f o r m :    r o t a t e ( 1 8 0 d e g ) ;
       
}

     . f o r m - s t a t u s    {
               m a r g i n - b o t t o m :    2 0 p x ;
               p a d d i n g :    1 2 p x   1 6 p x ;
               b o r d e r - r a d i u s :    8 p x ;
               f o n t - s i z e :    0 . 9 5 r e m ;
               d i s p l a y :    n o n e ;
       
}

     . f o r m - s t a t u s . s u c c e s s    {
               d i s p l a y :    b l o c k ;
               b a c k g r o u n d :    r g b a ( 1 ,    1 7 9 ,    7 5 ,    0 . 1 ) ;
               c o l o r :    # 0 0 8 C 3 F ;
               b o r d e r :    1 p x   s o l i d   r g b a ( 1 ,    1 7 9 ,    7 5 ,    0 . 2 ) ;
       
}

     . f o r m - s t a t u s . e r r o r    {
               d i s p l a y :    b l o c k ;
               b a c k g r o u n d :    r g b a ( 2 3 9 ,    6 8 ,    6 8 ,    0 . 1 ) ;
               c o l o r :    # b 9 1 c 1 c ;
               b o r d e r :    1 p x   s o l i d   r g b a ( 2 3 9 ,    6 8 ,    6 8 ,    0 . 2 ) ;
       
}

         / *   M o d e r n   V e r i f i c a t i o n   B o x   * /   . v e r i f i c a t i o n - b o x    {
               b a c k g r o u n d :    # f d f d f d ;
               b o r d e r :    1 p x   s o l i d   # e e f 2 f 5 ;
               b o r d e r - r a d i u s :    1 2 p x ;
               p a d d i n g :    1 8 p x ;
               m a r g i n - b o t t o m :    2 4 p x ;
               b o x - s h a d o w :    0   4 p x   1 2 p x   r g b a ( 0 ,  0 ,  0 ,  0 . 0 3 ) ;
               t r a n s i t i o n :    a l l   0 . 3 s   e a s e ;
       
}

     . v e r i f i c a t i o n - b o x : h o v e r    {
               b o r d e r - c o l o r :    # 0 1 B 3 4 B ;
               b o x - s h a d o w :    0   6 p x   1 6 p x   r g b a ( 1 ,    1 7 9 ,    7 5 ,    0 . 0 5 ) ;
       
}

     . v e r i f i c a t i o n - h e a d e r    {
               d i s p l a y :    f l e x ;
               j u s t i f y - c o n t e n t :    s p a c e - b e t w e e n ;
               a l i g n - i t e m s :    c e n t e r ;
               m a r g i n - b o t t o m :    1 2 p x ;
               b o r d e r - b o t t o m :    1 p x   d a s h e d   # e e e ;
               p a d d i n g - b o t t o m :    1 0 p x ;
       
}

     . v e r i f i c a t i o n - t i t l e    {
               d i s p l a y :    f l e x ;
               a l i g n - i t e m s :    c e n t e r ;
               g a p :    8 p x ;
               f o n t - s i z e :    0 . 8 5 r e m ;
               f o n t - w e i g h t :    7 0 0 ;
               t e x t - t r a n s f o r m :    u p p e r c a s e ;
               l e t t e r - s p a c i n g :    0 . 5 p x ;
               c o l o r :    # 6 6 6 ;
       
}

     . v e r i f i c a t i o n - t i t l e   i    {
               c o l o r :    # 0 1 B 3 4 B ;
       
}

     . v e r i f i c a t i o n - b o d y    {
               d i s p l a y :    f l e x ;
               a l i g n - i t e m s :    c e n t e r ;
               g a p :    1 5 p x ;
               p a d d i n g :    5 p x   0 ;
       
}

     . c a p t c h a - m a t h    {
               d i s p l a y :    f l e x ;
               a l i g n - i t e m s :    c e n t e r ;
               g a p :    8 p x ;
               f o n t - f a m i l y :    ' C o u r i e r   N e w '  ,    C o u r i e r ,    m o n o s p a c e ;
               b a c k g r o u n d :    # f 0 f 4 f 8 ;
               p a d d i n g :    8 p x   1 5 p x ;
               b o r d e r - r a d i u s :    8 p x ;
               b o r d e r :    1 p x   s o l i d   # e 2 e 8 f 0 ;
       
}

     . m a t h - n u m    {
               f o n t - w e i g h t :    7 0 0 ;
               f o n t - s i z e :    1 . 2 r e m ;
               c o l o r :    # 2 D 3 7 4 8 ;
       
}

     . m a t h - o p ,
   . m a t h - e q    {
               c o l o r :    # A 0 A E C 0 ;
               f o n t - w e i g h t :    6 0 0 ;
       
}

     . v e r i f i c a t i o n - i n p u t    {
               f l e x :    1 ;
               m a x - w i d t h :    1 0 0 p x ;
               b o r d e r :    2 p x   s o l i d   # e d f 2 f 7 ;
               b o r d e r - r a d i u s :    8 p x ;
               p a d d i n g :    1 0 p x ;
               f o n t - s i z e :    1 . 1 r e m ;
               f o n t - w e i g h t :    7 0 0 ;
               t e x t - a l i g n :    c e n t e r ;
               c o l o r :    # 0 1 B 3 4 B ;
               t r a n s i t i o n :    a l l   0 . 2 s   e a s e ;
       
}

     . v e r i f i c a t i o n - i n p u t : f o c u s    {
               b o r d e r - c o l o r :    # 0 1 B 3 4 B ;
               b a c k g r o u n d :    # f f f ;
               o u t l i n e :    n o n e ;
               b o x - s h a d o w :    0   0   0   3 p x   r g b a ( 1 ,    1 7 9 ,    7 5 ,    0 . 1 ) ;
       
}

     . v e r i f i c a t i o n - h e l p    {
               m a r g i n - t o p :    1 0 p x    ! i m p o r t a n t ;
               f o n t - s i z e :    0 . 8 r e m ;
               c o l o r :    # 9 4 a 3 b 8 ;
               m a r g i n - b o t t o m :    0    ! i m p o r t a n t ;
       
}

     / *   H i d e   s p i n   a r r o w s   f o r   i n p u t   n u m b e r   * /   . v e r i f i c a t i o n - i n p u t : : - w e b k i t - o u t e r - s p i n - b u t t o n ,
   . v e r i f i c a t i o n - i n p u t : : - w e b k i t - i n n e r - s p i n - b u t t o n    {
           - w e b k i t - a p p e a r a n c e :    n o n e ;
           m a r g i n :    0 ;
       
}

       