/* =============================================
   LOWLEKAR & BARJATYA — CLEAN LIQUID GLASS DESIGN
   Natural 3D · Frosted Glass · Crisp Slate Typography
   ============================================= */

/* --- Design Tokens --- */
:root {
    /* Primary Slate / Charcoal (Clean & Neutral - No Blue Hue) */
    --color-primary: #0f172a;
    --color-primary-light: #1e293b;
    --color-slate-dark: #334155;
    --color-slate: #475569;
    --color-slate-light: #64748b;
    --color-slate-soft: #94a3b8;

    /* Subtle Warm Accent */
    --color-accent: #1e293b;
    --color-accent-hover: #334155;

    /* Surfaces & Backgrounds */
    --color-bg: #f8fafc;
    --color-bg-alt: #f1f5f9;
    --color-surface: #ffffff;
    --color-surface-glass: rgba(255, 255, 255, 0.82);
    --color-surface-glass-strong: rgba(255, 255, 255, 0.94);

    /* Liquid Glass (Frosted White, No Blue Tint) */
    --glass-blur: blur(18px) saturate(160%);
    --glass-blur-light: blur(12px) saturate(150%);
    --glass-border: rgba(255, 255, 255, 0.65);
    --glass-border-subtle: rgba(0, 0, 0, 0.06);
    --glass-border-hover: rgba(0, 0, 0, 0.12);
    --glass-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    --glass-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.08);

    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-inverse: #f8fafc;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing & Layout */
    --section-padding: clamp(4.5rem, 8vw, 7.5rem);
    --content-max: 1240px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;

    /* Borders */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 28px;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.45s var(--ease-out),
                transform 0.45s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.28s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.36s; }

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

@keyframes scrollIndicator {
    0% { opacity: 0.2; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(8px); }
    100% { opacity: 0.2; transform: translateY(0); }
}

/* =========================================
   NAVIGATION — Pure Frosted Glass
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 5%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    color: var(--text-primary);
    transition: all var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
    background: var(--color-surface-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border-subtle);
    padding: 0.85rem 5%;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    transition: opacity var(--duration-fast) ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    color: inherit;
    line-height: 1.1;
}

.logo .subtitle {
    font-size: 0.72rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.94rem;
    font-weight: 600;
    transition: opacity var(--duration-fast) ease;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Inner pages navbar light styling (on dark hero banners) */
.navbar-light .logo,
.navbar-light .logo a,
.navbar-light .nav-links > li > a,
.navbar-light .nav-actions a {
    color: #ffffff;
}

.navbar-light .nav-links > li > a:hover {
    opacity: 0.8;
}

.navbar-light.scrolled {
    background: var(--color-surface-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border-subtle);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.navbar-light.scrolled .logo,
.navbar-light.scrolled .logo a,
.navbar-light.scrolled .nav-links > li > a,
.navbar-light.scrolled .nav-actions a {
    color: var(--text-primary) !important;
}

/* Frosted Dropdown Menu */
.nav-dropdown-wrapper {
    position: relative;
}

.nav-dropdown-wrapper > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.nav-dropdown {
    position: absolute;
    top: 135%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 250px;
    background: var(--color-surface-glass-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-out);
    padding: 0.6rem 0;
    z-index: 1000;
    border: 1px solid var(--glass-border-subtle);
}

.nav-dropdown-wrapper:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 0.6rem 1.4rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--duration-fast) ease;
}

.nav-dropdown a:hover {
    background-color: var(--color-bg-alt);
    color: var(--text-primary);
    padding-left: 1.6rem;
}

.nav-actions {
    display: flex;
    gap: 1.1rem;
    align-items: center;
}

.nav-actions a {
    color: inherit;
    transition: opacity var(--duration-fast) ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-actions a:hover {
    opacity: 0.65;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn,
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2.2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    text-decoration: none;
}

.btn-primary {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
}

.btn-primary:hover {
    background: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.btn-outline:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.15);
}

/* =========================================
   HERO SECTION — Crisp Clean Original Aesthetic
   ========================================= */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 6%;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Pure clean white gradient overlay — original look preserved */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    z-index: 3;
    position: relative;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6.2vw, 5.2rem);
    line-height: 1.05;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.015em;
}

.hero-content p {
    font-size: clamp(1.1rem, 1.5vw, 1.28rem);
    color: #334155;
    max-width: 480px;
    line-height: 1.55;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-cta .btn-primary {
    background: #0f172a;
    color: #ffffff;
    padding: 0.85rem 2.2rem;
}

.hero-cta .btn-outline {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-color: #0f172a;
    color: #0f172a;
    padding: 0.85rem 2.2rem;
}

.hero-cta .btn-outline:hover {
    background: #0f172a;
    color: #ffffff;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(15, 23, 42, 0.45);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

.scroll-indicator .scroll-line {
    width: 2px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.5), transparent);
    animation: scrollIndicator 2s ease-in-out infinite;
    border-radius: 2px;
}

/* =========================================
   SECTIONS & HEADERS
   ========================================= */
/* =========================================
   SECTIONS & HEADERS — Ambient Illumination & Rich Glass Depth
   ========================================= */
.section {
    position: relative;
    padding: var(--section-padding) 6%;
    background: radial-gradient(circle at 85% 15%, rgba(241, 245, 249, 0.75) 0%, #ffffff 65%);
}

.section.alt-bg {
    background: radial-gradient(circle at 15% 25%, rgba(226, 232, 240, 0.55) 0%, #f8fafc 60%, #f1f5f9 100%);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    gap: 2rem;
}

.section-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #475569;
    margin-bottom: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.95rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 100px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.2vw, 3.5rem);
    color: #0f172a;
    max-width: 640px;
    line-height: 1.12;
    letter-spacing: -0.015em;
}

.section-desc {
    font-size: 1.08rem;
    color: #475569;
    max-width: 440px;
    line-height: 1.68;
}

/* =========================================
   STATS ROW — Frosted Liquid Glass Cards
   ========================================= */
.stats-container {
    display: flex;
    justify-content: center;
    gap: clamp(1.5rem, 3.5vw, 3rem);
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
    text-align: center;
}

.stat-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    padding: 2.2rem 2.4rem;
    border-radius: 16px;
    min-width: 190px;
    box-shadow: 0 6px 24px -2px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.35), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: 0 18px 36px -6px rgba(15, 23, 42, 0.09), 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.stat-num {
    font-size: clamp(2.6rem, 4vw, 3.5rem);
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 0.5rem;
}

.stat-title {
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

/* =========================================
   SERVICES GRID & CARDS — Tactile Glass Elevation
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: var(--content-max);
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2.8rem 2.4rem;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 6px 24px -2px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: all var(--duration-normal) var(--ease-out);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0f172a, #475569);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 23, 42, 0.22);
    box-shadow: 0 20px 42px -8px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.6rem;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrap {
    background: #0f172a;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.48rem;
    margin-bottom: 0.85rem;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.service-card p {
    color: #475569;
    line-height: 1.68;
    margin-bottom: 1.6rem;
    font-size: 0.98rem;
    flex-grow: 1;
}

.service-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.94rem;
    transition: gap var(--duration-fast) ease, color var(--duration-fast) ease;
}

.service-link:hover {
    gap: 0.8rem;
    color: #334155;
}

/* =========================================
   HORIZONTAL SCROLL — Industries
   ========================================= */
.horizontal-scroll-wrapper {
    display: flex;
    gap: 1.8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1.2rem 0 2rem;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}
.horizontal-scroll-wrapper::-webkit-scrollbar-track {
    background: transparent;
}
.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2.6rem 2.2rem;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 23, 42, 0.2);
    box-shadow: 0 18px 36px -6px rgba(15, 23, 42, 0.08);
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: #0f172a;
    margin-bottom: 0.85rem;
}

.card p {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.68;
}

/* =========================================
   TEAM SECTION
   ========================================= */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    padding: 2.8rem 2.2rem;
    cursor: pointer;
    text-align: center;
    max-width: 340px;
    width: 100%;
    box-shadow: 0 6px 24px -2px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 23, 42, 0.2);
    box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.09);
}

.team-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.4rem;
    font-size: 1.7rem;
    font-family: var(--font-display);
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.team-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #0f172a;
}

.team-card .team-role {
    color: #64748b;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

.team-card p {
    color: #475569;
    line-height: 1.6;
    font-size: 0.94rem;
}

/* =========================================
   PAGE HEADERS (Inner Pages)
   ========================================= */
.page-header {
    padding: 11rem 6% 5rem;
    background: linear-gradient(155deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.9) 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header.with-image {
    background: linear-gradient(155deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.92) 100%),
                var(--header-bg, url('industries_header_1788164200725.jpg')) center/cover no-repeat;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
    color: #cbd5e1;
    line-height: 1.65;
}

.page-content {
    padding: var(--section-padding) 8%;
    min-height: 50vh;
    background: var(--color-surface);
}

.page-content p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
    max-width: 820px;
    margin: 0 auto 1.5rem;
}

/* =========================================
   EMPANELMENT & FOUNDER CARDS
   ========================================= */
.empanelment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 2.5rem auto 0;
}

.empanelment-card {
    background: var(--color-surface);
    padding: 2.2rem 1.8rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border-subtle);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);
}

.empanelment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.empanelment-card h3 {
    font-size: 1.35rem;
    color: #0f172a;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.empanelment-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin: 0 !important;
}

.founder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.founder-card {
    background: var(--color-bg);
    padding: 3rem 2.4rem;
    border-radius: var(--radius-md);
    border-top: 4px solid #0f172a;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    transition: all var(--duration-normal) var(--ease-out);
}

.founder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.founder-card h3 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    color: #0f172a;
    margin-bottom: 0.4rem;
}

.founder-card .founder-role {
    color: #64748b;
    font-weight: 700;
    margin-bottom: 1.4rem;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.founder-card p {
    font-size: 1.02rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* =========================================
   CONTACT PAGE & FORMS
   ========================================= */
.contact-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 4rem;
}

.contact-form-box {
    background: var(--color-surface);
    padding: 3.2rem 2.6rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border-subtle);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.contact-form-box h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.3rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: #0f172a;
    background: var(--color-surface);
    transition: border-color var(--duration-fast) ease;
}

.form-control:focus {
    outline: none;
    border-color: #0f172a;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

/* =========================================
   FOOTER — Dark Frosted Liquid Glass Aesthetic
   ========================================= */
.site-footer {
    position: relative;
    background: radial-gradient(120% 120% at 50% 0%, #1e293b 0%, #0c1220 50%, #050811 100%);
    color: #f1f5f9;
    padding: 7rem 6% 3.5rem;
    text-align: center;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 220px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.06), transparent 70%);
    pointer-events: none;
}

.site-footer h2 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    margin-bottom: 1.2rem;
    color: #ffffff;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 2;
}

.site-footer > p {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 660px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Footer CTA Action */
.footer-cta-action {
    margin-bottom: 4.5rem;
    position: relative;
    z-index: 2;
}

.btn-primary-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 1.05rem 2.4rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.btn-primary-glass span {
    transition: transform 0.2s ease;
}

.btn-primary-glass:hover span {
    transform: translateX(4px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
    max-width: 1140px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 3.5rem;
    position: relative;
    z-index: 2;
}

/* Frosted Liquid Glass Column Cards */
.footer-column,
.footer-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 18px;
    padding: 2.5rem 2.2rem;
    text-align: left;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.footer-column:hover,
.footer-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -5px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.footer-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    margin-bottom: 1.2rem;
}

.footer-badge {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 0.4rem;
}

.footer-column h3, 
.footer-column h4,
.footer-card h3 {
    font-family: var(--font-display);
    margin-bottom: 0.9rem;
    color: #ffffff;
    font-size: 1.35rem;
}

.footer-column p,
.footer-card p,
.footer-addr {
    font-size: 0.96rem;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.footer-column a,
.footer-card a {
    color: #ffffff;
    transition: opacity var(--duration-fast) ease;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    width: fit-content;
    margin-top: 0.5rem;
    transition: all 0.25s ease;
}

.footer-contact-link:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    transform: translateX(3px);
}

.footer-social-links {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin-top: 1.2rem;
}

.social-glass-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-glass-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.footer-bottom-bar {
    margin-top: 4.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-bottom-bar p {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 0.4rem;
}

.footer-bottom-bar .footer-disclaimer {
    font-size: 0.76rem;
    color: #475569;
    max-width: 720px;
    margin: 0.5rem auto 0;
    line-height: 1.55;
}

/* =========================================
   FLOATING WHATSAPP BUTTON
   ========================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all var(--duration-normal) var(--ease-spring);
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* =========================================
   TEAM MODAL
   ========================================= */
.team-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.team-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.team-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    padding: 3.2rem;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.team-modal-overlay.active .team-modal-content {
    transform: translateY(0);
}

.team-modal-close {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #64748b;
    transition: color 0.2s;
}

.team-modal-close:hover {
    color: #0f172a;
}

.team-modal-content h3 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.team-modal-content h4 {
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.team-modal-content p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.02rem;
}

.team-modal-social {
    display: inline-block;
    padding: 0.65rem 1.8rem;
    border: 2px solid #0f172a;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}

.team-modal-social:hover {
    background: #0f172a;
    color: #ffffff;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
.mobile-menu-btn, .mobile-close-btn {
    display: none;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 2000;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1;
    }

    .mobile-close-btn {
        display: block !important;
        position: absolute;
        top: 1.2rem;
        right: 1.5rem;
        background: none;
        border: none;
        font-size: 2.5rem;
        line-height: 1;
        padding: 0.25rem 0.6rem;
        cursor: pointer;
        color: #0f172a !important;
        z-index: 1001;
    }
    .mobile-close-btn:focus { outline: none; }
    .mobile-close-btn:focus-visible { outline: 2px solid #3b82f6; border-radius: 6px; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.35s ease-in-out;
        box-shadow: -8px 0 25px rgba(0,0,0,0.12);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links > li > a {
        color: #0f172a !important;
        font-size: 1.2rem;
    }

    .nav-dropdown {
        position: relative;
        top: 0;
        min-width: 100%;
        box-shadow: none;
        background: transparent;
        border: none;
        visibility: visible;
        opacity: 1;
        display: none;
        transform: none;
    }

    .nav-dropdown-wrapper:hover .nav-dropdown {
        display: block;
    }

    .nav-dropdown a {
        text-align: center;
    }

    .nav-actions {
        display: none !important;
    }

    .hero-section {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: auto;
        padding: 0;
        padding-top: 60px;
    }

    .background-video {
        position: relative;
        height: 40vh;
        width: 100%;
        object-fit: cover;
    }

    .overlay {
        display: none;
    }

    .hero-content {
        position: relative;
        padding: 3.5rem 6%;
        background-color: #ffffff;
        z-index: 3;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .scroll-indicator {
        display: none;
    }

    .page-header {
        padding: 8rem 6% 3.5rem !important;
    }
    .page-header h1 {
        font-size: 2.5rem !important;
    }

    .section {
        padding: 4rem 6%;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .section-title {
        font-size: 2.4rem;
    }

    .horizontal-scroll-wrapper .card {
        flex: 0 0 85vw;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .stats-container {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }
}

/* Home footer intro line: same spacing as .site-footer > p on other pages */
.site-footer > .reveal > p {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 660px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}
