:root {
    --color-primary: #111827;
    --color-secondary: #9a6a2f;
    --color-accent: #d9a441;
    --color-bg: #ffffff;
    --color-bg-soft: #f7f3ed;
    --color-text: #243041;
    --color-muted: #687386;
    --color-border: #e7dfd4;
    --color-white: #ffffff;
    --color-dark-overlay: rgba(10, 14, 23, 0.68);
    --font-main: Arial, Helvetica, sans-serif;
    --container-width: 1180px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --shadow-soft: 0 16px 45px rgba(17, 24, 39, 0.10);
    --shadow-card: 0 10px 26px rgba(17, 24, 39, 0.08);
    --transition-fast: 180ms ease;
    --transition-normal: 300ms ease;
    --header-height: 100px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
}

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

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

code {
    background: rgba(154, 106, 47, 0.10);
    padding: 0.1rem 0.35rem;
    border-radius: 6px;
}

.container {
    width: min(calc(100% - 32px), var(--container-width));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    z-index: 9999;
    padding: 10px 14px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    left: 12px;
}

/* Header / Navbar */
.site-header .container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 24px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: linear-gradient(90deg, #f7f3ed 0%, #efe4d3 100%);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(154, 106, 47, 0.22);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.nav-wrap {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
}

.brand img {
    width: 130px;
    height: 92px;
    object-fit: contain;
    border-radius: 0;
}

.brand strong {
    display: block;
    color: var(--color-primary);
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.brand small {
    display: block;
    color: var(--color-muted);
    font-size: 0.76rem;
    line-height: 1.2;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.94rem;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.main-nav a:hover,
.main-nav a.is-active {
    background: rgba(154, 106, 47, 0.12);
    color: var(--color-secondary);
}

.main-nav .nav-cta {
    background: var(--color-primary);
    color: var(--color-white);
    margin-left: 6px;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.14);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta.is-active {
    background: var(--color-secondary);
    color: var(--color-white);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-white);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--color-primary);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    min-height: 680px;
    height: calc(100vh - var(--header-height));
    overflow: hidden;
}

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

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.carousel-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% top;
    z-index: 1;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 36, 55, 0.42), rgba(18, 36, 55, 0.06));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1180px;
    padding-top: 70px;
    padding-bottom: 70px;
}

.eyebrow,
.section-kicker,
.pill {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
    background: rgba(217, 164, 65, 0.14);
    border: 1px solid rgba(217, 164, 65, 0.26);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.hero-content .eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
}

h1,
h2,
h3 {
    margin: 0 0 14px;
    color: var(--color-primary);
    line-height: 1.15;
}

.hero-content h1,
.hero-content h2 {
    color: var(--color-white);
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: -0.05em;
    margin-top: 18px;
    max-width: 760px;
}

.hero-subheading {
    margin-top: 8px;
    margin-bottom: 14px;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--color-white);
}

.hero-content p {
    max-width: 660px;
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px;
}


.hero-actions,
.cta-content {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

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

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary);
    box-shadow: 0 12px 24px rgba(217, 164, 65, 0.22);
}

.btn-light {
    background: rgba(255, 255, 255, 0.16);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Carousel Arrows */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #122437;
    font-size: 34px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.carousel-control.prev {
    left: 22px;
}

.carousel-control.next {
    right: 22px;
}

.carousel-control:hover {
    background: #ffffff;
    color: #122437;
}

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.carousel-dots button.is-active {
    width: 28px;
    background: var(--color-accent);
}

/* General Sections */
.section {
    padding: 88px 0;
}

.section-muted {
    background: var(--color-bg-soft);
}

.section-heading {
    max-width: 790px;
    text-align: center;
    margin-bottom: 38px;
}

.section-heading .section-kicker {
    margin-inline: auto;
}

.section-heading h2,
.split-grid h2,
.cta-content h2,
.contact-details h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: -0.035em;
    margin-top: 14px;
}

.section-heading p,
.split-grid p,
.feature-card p,
.product-card p,
.timeline-card p,
.contact-card p {
    color: var(--color-muted);
}

/* Stats Section */
.stats-section {
    padding: 30px 0;
    background: var(--color-white);
}

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

.stat-card {
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    background: var(--color-white);
    text-align: center;
}

.stat-card strong {
    display: block;
    color: var(--color-secondary);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1;
}

.stat-card span {
    color: var(--color-muted);
    font-weight: 700;
}

.stat-card-wide {
    padding-left: 38px;
    padding-right: 38px;
}

.stat-card-wide strong {
    font-size: 1.75rem;
    line-height: 1.2;
    white-space: normal;
}

/* Layouts */
.split-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
    gap: 54px;
    align-items: center;
}

.align-start {
    align-items: start;
}

.image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--color-bg-soft);
}

.image-card img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

/* Product Cards */
.product-grid,
.feature-grid,
.gallery-grid {
    display: grid;
    gap: 24px;
}

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

.product-grid-large {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.product-grid-large .product-card {
    overflow: hidden;
}

.product-grid-large .product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center top;
    padding: 0;
    background: none;
}

.product-card,
.feature-card,
.timeline-card,
.highlight-panel,
.contact-form,
.contact-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.product-card {
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center top;
}

.product-card div {
    padding: 24px;
}

.product-card h2,
.product-card h3 {
    margin-top: 10px;
}

/* 4 Product Cards - Bigger card, same size as image */
.product-grid-four {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1280px;
    gap: 28px;
}

.product-grid-four .product-card {
    position: relative;
    height: 430px;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
}

.product-grid-four .product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.product-grid-four .product-card div {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.76));
}

.product-grid-four .product-card h3 {
    color: #ffffff;
    font-size: 1.35rem;
    margin: 0 0 8px;
}

.product-grid-four .product-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* About Us Story Full Width */
.about-story-section {
    background: linear-gradient(135deg, #ffffff 0%, #f7f3ed 100%);
}

.about-story-full {
    max-width: 1050px;
    text-align: center;
    padding: 52px 60px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.about-story-full .section-kicker {
    margin-inline: auto;
    margin-bottom: 18px;
}

.about-story-full h2 {
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.about-story-full p {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 18px;
    color: var(--color-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

/* Feature Cards */
.feature-grid {
    grid-template-columns: repeat(4, 1fr);
}

.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.timeline-card,
.highlight-panel,
.contact-card {
    padding: 26px;
}

.feature-card h3,
.timeline-card h3 {
    font-size: 1.25rem;
}

.link-arrow {
    display: inline-flex;
    margin-top: 10px;
    color: var(--color-secondary);
    font-weight: 800;
}

.link-arrow::after {
    content: '→';
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* CTA */
.cta-band {
    padding: 70px 0;
    background: var(--color-primary);
    color: var(--color-white);
}

.cta-content {
    justify-content: space-between;
}

.cta-content h2 {
    color: var(--color-white);
    max-width: 660px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
}

/* Inner Page Hero */
.page-hero {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.94), rgba(154, 106, 47, 0.82)), url('../img/page-hero.jpg') center/cover;
    color: var(--color-white);
}

.compact-hero {
    padding: 100px 0;
}

.compact-hero h1 {
    color: var(--color-white);
    max-width: 850px;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    letter-spacing: -0.04em;
    margin-top: 18px;
}

.compact-hero p {
    max-width: 750px;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.84);
}

/* Lists */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    color: var(--color-muted);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: 900;
}

/* Timeline */
.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.timeline-card span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 900;
    margin-bottom: 16px;
}

/* Gallery */
.gallery-grid {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

/* Contact */
.contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}

.contact-details {
    display: grid;
    gap: 18px;
}

.contact-card a {
    color: var(--color-secondary);
    font-weight: 800;
}

.contact-form {
    padding: 34px;
    display: grid;
    gap: 12px;
}

.contact-form label {
    font-weight: 800;
    color: var(--color-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 13px 14px;
    font: inherit;
    color: var(--color-primary);
    background: var(--color-white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(217, 164, 65, 0.25);
    border-color: var(--color-accent);
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.form-message {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-weight: 800;
}

.form-message.success {
    background: #eefaf1;
    color: #176236;
}

.form-message.error {
    background: #fff1f1;
    color: #9f1d1d;
}

.map-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-frame iframe,
.map-placeholder {
    width: 100%;
    min-height: 380px;
    border: 0;
}

.map-placeholder {
    display: grid;
    place-items: center;
    background: var(--color-white);
    color: var(--color-muted);
    font-weight: 900;
}

/* Footer */
.site-footer {
    background: #0b111d;
    color: rgba(255, 255, 255, 0.78);
    padding: 70px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 280px));
    gap: 50px;
    justify-content: center;
    text-align: center;
}

.site-footer h2,
.site-footer h3 {
    color: var(--color-white);
}

.site-footer a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
}

.site-footer p {
    text-align: center;
}

.site-footer a:hover {
    color: var(--color-accent);
}

.footer-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-socials a {
    margin: 0;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.footer-bottom {
    display: grid;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding-top: 28px;
    margin-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
}

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    padding: 13px 17px;
    border-radius: 999px;
    background: #25d366;
    color: #07120b;
    font-weight: 900;
    box-shadow: var(--shadow-soft);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Infrastructure 6 Cards */
.infrastructure-process-section {
    background: var(--color-white);
}

.infra-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.infra-process-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.infra-process-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
}

.infra-process-content {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 18px;
    padding: 22px 6px 0;
}

.infra-process-content span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 900;
}

.infra-process-content h3 {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}

.infra-process-content p {
    grid-column: 2;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.6;
}

/* Our Clients Page */
.clients-hero {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
}

.clients-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.clients-section {
    padding-top: 35px;
    background: var(--color-white);
}

.clients-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    margin-top: 18px;
}

.client-logo-item {
    min-height: 145px;
    display: grid;
    place-items: center;
    padding: 26px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.client-logo-item img {
    max-width: 190px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: filter var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast);
}

.client-logo-item:hover {
    transform: translateY(-4px);
    border-color: rgba(154, 106, 47, 0.18);
    box-shadow: 0 12px 26px rgba(17, 24, 39, 0.07);
}

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

.clients-kicker {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
}

/* Tablet View */
@media (max-width: 1024px) {
    .product-grid,
    .feature-grid,
    .three-col,
    .gallery-grid,
    .timeline,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .product-grid-four .product-card {
        height: 400px;
    }

    .product-grid-four .product-card img {
        height: 100%;
    }

    .product-grid-five .product-card h3 {
        font-size: 1.25rem;
    }

    .product-grid-five .product-card p {
        font-size: 0.92rem;
        line-height: 1.45;
    }

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

    .hero-carousel {
        min-height: 620px;
        height: calc(100vh - var(--header-height));
    }

    .carousel-bg-img {
        object-position: center top;
    }

    .carousel-overlay {
        background: linear-gradient(90deg, rgba(18, 36, 55, 0.52), rgba(18, 36, 55, 0.12));
    }

    .hero-content {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: clamp(2.8rem, 7vw, 4.4rem);
        max-width: 680px;
    }

    .hero-content p {
        max-width: 620px;
        font-size: 1.08rem;
    }

    .hero-content .eyebrow {
        font-size: 0.98rem;
    }

    .carousel-control {
        width: 42px;
        height: 42px;
        font-size: 30px;
    }

    .carousel-control.prev {
        left: 16px;
    }

    .carousel-control.next {
        right: 16px;
    }

    .product-grid-large {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .product-grid-large .product-card img {
        height: 280px;
        object-fit: cover;
        object-position: center;
        padding: 0;
    }
     .infra-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .infra-process-card img {
        height: 250px;
    }

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

    .clients-hero {
        height: 320px;
    }
}

/* Mobile Navbar */
@media (max-width: 820px) {
    :root {
        --header-height: 88px;
    }

    .site-header {
        height: var(--header-height);
    }

    .site-header .container {
        padding-left: 10px;
        padding-right: 14px;
    }

    .nav-wrap {
        min-height: var(--header-height);
    }

    .brand {
        min-width: auto;
    }

    .brand img {
        width: 105px;
        height: 82px;
    }

    .brand small {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        inset: var(--header-height) 16px auto 16px;
        display: grid;
        gap: 8px;
        padding: 18px;
        background: var(--color-white);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-soft);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav .nav-cta {
        margin-left: 0;
        text-align: center;
    }

    .carousel-control {
        display: none;
    }

    .hero-content {
        margin-left: 16px;
        padding-right: 16px;
        padding-top: 70px;
        padding-bottom: 60px;
    }

    .section {
        padding: 64px 0;
    }

    .product-grid-large {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .product-grid-large .product-card img {
        height: 270px;
        object-fit: cover;
        object-position: center;
        padding: 0;
    }

    .product-grid-large .product-card div {
        padding: 24px;
    }

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

    .clients-hero {
        height: 300px;
    }

    .clients-hero-overlay h1 {
        font-size: 2.4rem;
        letter-spacing: 0.1em;
    }
}

/* Small Mobile View */
@media (max-width: 640px) {
    .product-grid,
    .product-grid-large,
    .product-grid-five,
    .feature-grid,
    .three-col,
    .gallery-grid,
    .timeline,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-carousel {
        min-height: 640px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 2.55rem;
    }

    .hero-content .eyebrow {
        font-size: 0.88rem;
        letter-spacing: 0.04em;
    }

    .product-grid-four {
        grid-template-columns: 1fr;
    }

    .product-grid-four .product-card {
        height: 360px;
    }

    .product-grid-four .product-card img {
        height: 100%;
    }

    .product-grid-four .product-card div {
        padding: 20px;
    }

    .product-grid-four .product-card h3 {
        font-size: 1.25rem;
    }

    .product-grid-four .product-card p {
        font-size: 0.92rem;
    }

    .product-grid-large {
        grid-template-columns: 1fr;
        gap: 24px;
    }

.product-grid-large .product-card img {
    height: 260px;
    object-fit: cover;
    object-position: center;
    padding: 0;
}

.product-grid-large .product-card div {
    padding: 22px;
}

    .image-card img,
    .gallery-grid img {
        height: 260px;
    }

    .footer-bottom,
    .cta-content {
        display: grid;
    }

    .hero-carousel {
        min-height: 560px;
        height: 560px;
    }

    .carousel-slide {
        align-items: center;
    }

    .carousel-bg-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .carousel-overlay {
        background: linear-gradient(90deg, rgba(18, 36, 55, 0.72), rgba(18, 36, 55, 0.25));
    }

    .hero-content {
        padding-top: 40px;
        padding-bottom: 70px;
        padding-left: 10px;
        padding-right: 18px;
        margin-left: 16px;
    }

    .hero-content .eyebrow {
        font-size: 0.76rem;
        letter-spacing: 0.04em;
        line-height: 1.4;
        padding: 6px 10px;
        max-width: 92%;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 2.35rem;
        line-height: 1.05;
        max-width: 92%;
        /* margin-top: 16px; */
    }

    .hero-subheading {
        font-size: 1.05rem;
        margin-bottom: 12px;
    }

    .hero-content p {
        max-width: 92%;
        font-size: 0.95rem;
        line-height: 1.55;
        /* margin-bottom: 22px; */
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        min-height: 44px;
        padding: 11px 15px;
        font-size: 0.9rem;
    }

    .carousel-control {
        display: none;
    }

    .carousel-dots {
        bottom: 18px;
    }

    .infra-process-grid {
        grid-template-columns: 1fr;
    }

    .infra-process-card img {
        height: 240px;
    }

    .infra-process-content {
        padding: 20px 4px 0;
    }

    .clients-logo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .client-logo-item {
        min-height: 105px;
        padding: 20px 16px;
    }

    .client-logo-item img {
        max-width: 165px;
        max-height: 75px;
    }

    .clients-hero {
        height: 240px;
    }

    .clients-hero-overlay h1 {
        font-size: 1.8rem;
        letter-spacing: 0.08em;
    }
}


@media (max-width: 420px) {
    .hero-carousel {
        min-height: 540px;
        height: 540px;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 2.05rem;
    }

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

    .hero-actions {
        display: grid;
        width: fit-content;
    }

    .product-grid-large .product-card img {
        height: 230px;
    }
}