:root {
    --container: 1440px;
    --container-padding: 20px;
    --font-heading: "Space Grotesk", Arial, sans-serif;
    --font-body: "Inter", Arial, sans-serif;
    --fs-h1: clamp(35px, 6.4vw, 75px);
    --fs-h2: clamp(32px, 4.3vw, 58px);
    --fs-h3: 26px;
    --fs-body: 16px;
    --fs-lead: 20px;
    --lh-tight: .98;
    --lh-heading: 1.08;
    --lh-body: 1.72;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --radius-full: 999px;
    --section-padding: 110px;
    --section-padding-md: 84px;
    --card-padding: 28px;
    --primary: #6d5dfb;
    --cyan: #20d7ff;
    --green: #38e6a7;
    --danger: #ff6b6b;
    --transition: .32s cubic-bezier(.2, .8, .2, 1);
}

html[data-theme="dark"] {
    --bg: #080b12;
    --bg-2: #0d1320;
    --surface: rgba(255, 255, 255, .06);
    --surface-2: rgba(255, 255, 255, .09);
    --text: #f8fafc;
    --muted: #aab4c8;
    --border: rgba(255, 255, 255, .12);
    --input-bg: #202631;
    --input-text: #ffffff;
    --select-option-bg: #101827;
    --select-option-text: #f8fafc;
    --footer-bg: #10182d;
    --footer-title: #20d7ff;
    --shadow-card: 0 28px 90px rgba(0, 0, 0, .28);
    --shadow-glow: 0 30px 90px rgba(32, 215, 255, .18);
    --hero-gradient: radial-gradient(circle at 14% 12%, rgba(109, 93, 251, .32), transparent 34%), radial-gradient(circle at 88% 16%, rgba(32, 215, 255, .18), transparent 30%), linear-gradient(135deg, #080b12 0%, #0b1220 56%, #061e29 100%);
    --section-gradient: radial-gradient(circle at 80% 0%, rgba(32, 215, 255, .12), transparent 30%), linear-gradient(180deg, #080b12, #0b111d);
}

html[data-theme="light"] {
    --bg: #f7f9ff;
    --bg-2: #eef4ff;
    --surface: rgba(255, 255, 255, .78);
    --surface-2: rgba(255, 255, 255, .96);
    --text: #101828;
    --muted: #5b6475;
    --border: rgba(15, 23, 42, .13);
    --input-bg: #ffffff;
    --input-text: #101828;
    --select-option-bg: #ffffff;
    --select-option-text: #101828;
    --footer-bg: #10182d;
    --footer-title: #20d7ff;
    --shadow-card: 0 28px 90px rgba(52, 64, 84, .12);
    --shadow-glow: 0 30px 90px rgba(32, 215, 255, .14);
    --hero-gradient: radial-gradient(circle at 14% 12%, rgba(109, 93, 251, .18), transparent 34%), radial-gradient(circle at 88% 16%, rgba(32, 215, 255, .22), transparent 30%), linear-gradient(135deg, #f8fbff 0%, #eef4ff 55%, #e8fbff 100%);
    --section-gradient: radial-gradient(circle at 80% 0%, rgba(32, 215, 255, .16), transparent 30%), linear-gradient(180deg, #ffffff, #f4f8ff);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: var(--font-body);
    font-size: var(--fs-body)
}

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

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

button,
input,
textarea,
select {
    font: inherit
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding)
}

section {
    padding: var(--section-padding) 0;
    position: relative
}

.section-gradient {
    background: var(--section-gradient)
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3,
.nav-logo,
.btn,
.eyebrow {
    font-family: var(--font-heading)
}

h1 {
    font-size: var(--fs-h1);
    line-height: var(--lh-tight);
    letter-spacing: -.075em;
    margin-bottom: 24px
}

h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-heading);
    letter-spacing: -.06em;
    margin: 16px 0 18px
}

h3 {
    font-size: var(--fs-h3);
    line-height: var(--lh-heading);
    letter-spacing: -.035em;
    margin-bottom: 12px
}

p {
    color: var(--muted);
    line-height: var(--lh-body)
}

.lead {
    font-size: var(--fs-lead);
    max-width: 720px
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 8px 13px;
    border: 1px solid color-mix(in srgb, var(--cyan) 34%, transparent);
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--cyan) 10%, transparent)
}

.gradient-text {
    background: linear-gradient(135deg, var(--text), var(--cyan), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.navbar {
    position: fixed;
    top: 18px;
    left: 0;
    width: 100%;
    z-index: 1000
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--bg) 74%, transparent);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-card)
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -.04em;
    font-size: 20px
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    box-shadow: var(--shadow-glow)
}

.logo-mark img,
.icon-img img,
.footer-social img,
.btn-icon,
.info-icon img,
.marquee-card img {
    width: 22px;
    height: 22px;
    object-fit: contain
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 14px
}

.nav-links a {
    padding: 10px 13px;
    border-radius: var(--radius-full);
    transition: var(--transition)
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    box-shadow: 0 12px 34px rgba(32, 215, 255, .18)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.theme-toggle,
.menu-btn {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--surface);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-toggle img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.theme-toggle:hover,
.menu-btn:hover {
    transform: translateY(-2px);
    border-color: var(--cyan);
    box-shadow: 0 12px 30px rgba(32, 215, 255, .14)
}

.menu-btn {
    display: none
}

.mobile-menu {
    display: none;
    margin-top: 10px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(18px)
}

.mobile-menu a {
    display: block;
    padding: 13px;
    color: var(--muted);
    border-radius: var(--radius-md)
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--cyan))
}

.btn,
.filter-btn,
.pagination-btn,
.faq-question {
    position: relative;
    overflow: hidden
}

.btn::before,
.filter-btn::before,
.pagination-btn::before {
    content: "";
    position: absolute;
    inset: -80% -45%;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .38), transparent 70%);
    transform: translateX(-60%);
    animation: shineMove 2.8s linear infinite;
    pointer-events: none
}

@keyframes shineMove {
    to {
        transform: translateX(70%)
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: var(--radius-full);
    border: 0;
    cursor: pointer;
    font-weight: 900;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition)
}

.btn:hover {
    transform: translateY(-4px) scale(1.025);
    filter: saturate(1.16);
    box-shadow: 0 22px 55px rgba(32, 215, 255, .24)
}

.btn-primary {
    padding: 13px 20px;
    color: #fff;
    background: linear-gradient(100deg, var(--primary), var(--cyan), var(--primary));
    background-size: 220% 220%;
    animation: gradientLoop 4s ease infinite;
    box-shadow: 0 18px 46px rgba(109, 93, 251, .28)
}

.btn-secondary {
    padding: 13px 20px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border)
}

@keyframes gradientLoop {

    0%,
    100% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }
}

.page-hero,
.home-hero {
    min-height: 720px;
    display: grid;
    align-items: center;
    padding-top: 150px;
    background: var(--hero-gradient)
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 60px;
    align-items: center
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px
}

.hero-media {
    position: relative
}

.hero-image-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-glow);
    transform: rotate(1deg);
    transition: var(--transition)
}

.hero-image-card:hover {
    transform: rotate(0) translateY(-8px)
}

.hero-image-card img {
    aspect-ratio: 1.12
}

.float-badge {
    position: absolute;
    right: -10px;
    bottom: 34px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--bg) 76%, transparent);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-card);
    animation: floatY 4s ease-in-out infinite
}

@keyframes floatY {

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

    50% {
        transform: translateY(-12px)
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 42px
}

.stat-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    transition: var(--transition)
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: 0 30px 80px rgba(32, 215, 255, .18)
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -.04em
}

.stat-card span:last-child {
    color: var(--muted);
    font-size: 14px
}

.logo-marquee {
    overflow: hidden;
    padding: 42px 0;
    background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 14%, transparent), color-mix(in srgb, var(--cyan) 13%, transparent))
}

.marquee-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: marqueeRightToLeft 34s linear infinite
}

.marquee-card {
    width: 230px;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--muted);
    font-weight: 900;
    transition: var(--transition)
}

.marquee-card:hover {
    transform: translateY(-5px);
    color: var(--text);
    border-color: var(--cyan)
}

.logo-marquee:hover .marquee-track {
    animation-play-state: paused
}

@keyframes marqueeRightToLeft {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.section-header {
    max-width: 820px;
    margin-bottom: 46px
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto
}

.card,
.service-card,
.project-card,
.team-card,
.faq-item,
.legal-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    box-shadow: var(--shadow-card)
}

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

.service-card {
    padding: var(--card-padding);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition)
}

.service-card:hover {
    transform: translateY(-10px) rotate(.25deg);
    border-color: color-mix(in srgb, var(--cyan) 48%, transparent);
    box-shadow: 0 34px 85px rgba(32, 215, 255, .18)
}

.icon-img {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    margin-bottom: 24px;
    transition: var(--transition)
}

.service-card:hover .icon-img,
.contact-info-panel:hover .info-icon {
    transform: rotate(-6deg) scale(1.08)
}

.point-list {
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--muted)
}

.point-list li::before {
    content: "✓";
    color: var(--green);
    margin-right: 8px;
    font-weight: 900
}

.section-action {
    display: flex;
    justify-content: center;
    margin-top: 38px
}

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

.process-section.in-view .process-number.active {
    background: linear-gradient(135deg, var(--cyan), var(--green));
    color: #041018;
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--cyan) 16%, transparent)
}

.process-step {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition: var(--transition)
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: 0 28px 70px rgba(32, 215, 255, .14)
}

.process-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: color-mix(in srgb, var(--primary) 20%, transparent);
    color: var(--cyan);
    font-family: var(--font-heading);
    font-weight: 900;
    margin-bottom: 18px;
    transition: .45s ease
}

.project-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px
}

.filter-btn,
.pagination-btn,
.page-number {
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 11px 16px;
    cursor: pointer;
    color: var(--muted);
    background: var(--surface);
    transition: var(--transition)
}

.filter-btn.active,
.filter-btn:hover,
.page-number.active,
.page-number:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-color: transparent;
    transform: translateY(-2px)
}

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

.project-card {
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition)
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: color-mix(in srgb, var(--cyan) 44%, transparent);
    box-shadow: 0 34px 88px rgba(32, 215, 255, .16)
}

.project-image {
    height: 260px;
    overflow: hidden
}

.project-image img {
    transition: transform .6s ease
}

.project-card:hover .project-image img {
    transform: scale(1.09)
}

.project-content {
    padding: 24px
}

.tag {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--cyan) 12%, transparent);
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: var(--text);
    font-weight: 900
}

.project-link img {
    width: 16px;
    height: 16px;
    object-fit: contain
}

.pagination {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 34px
}

.pagination.show {
    display: flex
}

.pagination-btn.disabled {
    opacity: .5;
    pointer-events: none
}

.page-number {
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center
}

.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 34px;
    align-items: center
}

.about-image,
.contact-panel {
    min-height: 540px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface)
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 26px
}

.card {
    padding: 24px;
    transition: var(--transition)
}

.card:hover {
    transform: translateY(-7px);
    border-color: var(--cyan)
}

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

.team-card {
    overflow: hidden;
    transition: var(--transition)
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: color-mix(in srgb, var(--primary) 44%, transparent);
    box-shadow: 0 34px 88px rgba(109, 93, 251, .16)
}

.team-image {
    height: 300px;
    overflow: hidden
}

.team-image img {
    transition: transform .6s ease
}

.team-card:hover .team-image img {
    transform: scale(1.08)
}

.team-content {
    padding: 24px
}

/* =========================
FOUNDERS SECTION CSS
SMALLER CARD VERSION
========================= */

.founders-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 360px));
    justify-content: center;
    gap: 20px;
}

.founders-grid .team-card {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
}

.founders-grid .team-image {
    height: 250px;
}

.founders-grid .team-content {
    padding: 22px;
}

.founders-grid .team-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.founders-grid .team-content p {
    font-size: 15px;
    line-height: 1.7;
}

.founder-socials {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.founder-social {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: var(--transition);
}

.founder-social img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.founder-social:hover {
    transform: translateY(-4px) scale(1.06);
    border-color: var(--cyan);
    box-shadow: 0 18px 40px rgba(32, 215, 255, .18);
}

.founder-btn {
    width: 100%;
    margin-top: 4px;
    padding: 12px 18px;
    font-size: 15px;
}

/* Tablet */
@media(max-width:1180px) {
    .founders-grid {
        grid-template-columns: repeat(2, minmax(0, 340px));
    }
}

/* Mobile landscape / small tablet */
@media(max-width:880px) {
    .founders-grid {
        grid-template-columns: 1fr;
    }

    .founders-grid .team-card {
        max-width: 420px;
    }

    .founder-socials {
        justify-content: flex-start;
    }
}

/* Mobile portrait */
@media(max-width:560px) {

    .founders-grid .team-card {
        max-width: 100%;
    }

    .founders-grid .team-image {
        height: 220px;
    }

    .founders-grid .team-content {
        padding: 20px;
    }

    .founder-socials {
        gap: 10px;
        margin-top: 18px;
        margin-bottom: 18px;
    }

    .founder-social {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .founder-social img {
        width: 17px;
        height: 17px;
    }

    .founder-btn {
        padding: 11px 16px;
        font-size: 14px;
    }
}

.faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 36px
}

.faq-list {
    display: grid;
    gap: 12px
}

.faq-item {
    overflow: hidden;
    transition: var(--transition)
}

.faq-item:hover {
    border-color: var(--cyan)
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 0;
    color: var(--text);
    background: transparent;
    padding: 22px;
    cursor: pointer;
    text-align: left;
    font-weight: 900
}

.faq-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--primary) 20%, transparent);
    color: var(--cyan);
    font-size: 24px;
    line-height: 1;
    transition: var(--transition)
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: #fff
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s ease
}

.faq-answer-inner {
    padding: 0 22px 22px
}

.contact-section {
    background: radial-gradient(circle at 80% 100%, rgba(32, 215, 255, .16), transparent 34%), linear-gradient(135deg, var(--bg), var(--bg-2))
}

.contact-box {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px
}

.contact-info-panel,
.form-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    padding: 34px;
    box-shadow: var(--shadow-card)
}

.info-row {
    display: flex;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border)
}

.info-row:last-child {
    border-bottom: 0
}

.info-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    background: var(--primary);
    flex: 0 0 auto;
    transition: var(--transition)
}

.info-icon img {
    width: 18px;
    height: 18px
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.field {
    display: grid;
    gap: 8px
}

.field.full {
    grid-column: 1/-1
}

label {
    color: var(--muted);
    font-weight: 900
}

input,
textarea,
select {
    width: 100%;
    color: var(--input-text);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    outline: none;
    background: var(--input-bg);
    padding: 15px 16px;
    transition: var(--transition)
}

select option {
    background: var(--select-option-bg);
    color: var(--select-option-text)
}

textarea {
    min-height: 150px;
    resize: vertical
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--cyan) 10%, transparent)
}

.error {
    min-height: 18px;
    color: var(--danger);
    font-size: 13px
}

.success-message {
    display: none;
    margin-top: 16px;
    padding: 14px;
    border-radius: var(--radius-md);
    color: var(--green);
    background: color-mix(in srgb, var(--green) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--green) 28%, transparent)
}

.success-message.show {
    display: block
}

.footer {
    padding: 70px 0 34px;
    background: var(--footer-bg);
    color: #fff
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr .9fr 1fr;
    gap: 60px
}

.footer-brand p {
    color: #d4d9e8;
    max-width: 390px
}

.footer-title {
    color: var(--footer-title);
    font-weight: 900;
    font-family: var(--font-heading);
    margin-bottom: 22px
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 14px 34px
}

.footer-col-links {
    display: grid;
    gap: 14px
}

.footer a {
    color: #fff;
    transition: var(--transition)
}

.footer a:hover,
.footer a.active {
    color: var(--cyan);
    transform: translateX(3px)
}

.footer-socials {
    display: flex;
    gap: 18px;
    margin-top: 24px
}

.footer-social {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center
}

.footer-bottom {
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #c7cede
}

.legal-content {
    display: grid;
    gap: 22px
}

.legal-card {
    padding: 32px
}

.reveal {
    opacity: 0;
    transition: .85s cubic-bezier(.2, .8, .2, 1)
}

.reveal-up {
    transform: translateY(34px)
}

.reveal-left {
    transform: translateX(-42px)
}

.reveal-right {
    transform: translateX(42px)
}

.reveal-zoom {
    transform: scale(.94)
}

.reveal-rotate {
    transform: rotate(-2deg) translateY(24px)
}

.reveal.active {
    opacity: 1;
    transform: none
}

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

    .team-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr)
    }

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

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

    .hero-grid {
        gap: 36px
    }
}

@media(max-width:880px) {
    :root {
        --section-padding: var(--section-padding-md);
        --fs-lead: 18px
    }

    .nav-links,
    .nav-actions .btn {
        display: none
    }

    .menu-btn {
        display: grid;
        place-items: center
    }

    .mobile-menu.show {
        display: block
    }

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

    .page-hero,
    .home-hero {
        min-height: auto
    }

    .stats-grid,
    .services-grid,
    .team-grid,
    .projects-grid,
    .form-grid,
    .about-cards {
        grid-template-columns: 1fr
    }

    .field.full {
        grid-column: auto
    }

    .float-badge {
        position: static;
        margin-top: 14px
    }

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

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

    .project-image {
        height: 230px
    }

    .team-image {
        height: 260px
    }
}

@media(max-width:560px) {
    :root {
        --container-padding: 16px;
        --section-padding-md: 66px;
        --fs-h1: clamp(38px, 12vw, 58px);
        --fs-h2: clamp(30px, 9vw, 46px)
    }

    .navbar {
        top: 10px
    }

    .nav-inner {
        border-radius: 24px
    }

    .page-hero,
    .home-hero {
        padding-top: 120px
    }

    .hero-actions {
        flex-direction: column
    }

    .btn {
        width: 100%
    }

    .stats-grid {
        gap: 10px
    }

    .stat-card {
        padding: 18px
    }

    .contact-info-panel,
    .form-panel {
        padding: 22px
    }

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

    .marquee-card {
        width: 190px
    }

    .footer {
        padding-top: 50px
    }
}
/* Theme-based icon switching */
.theme-icon-light { display: none; }
.theme-icon-dark { display: inline-block; }
html[data-theme="light"] .theme-icon-dark { display: none; }
html[data-theme="light"] .theme-icon-light { display: inline-block; }
html[data-theme="dark"] .theme-icon-dark { display: inline-block; }
html[data-theme="dark"] .theme-icon-light { display: none; }

.hidden-field {
    display: none;
}
