/* ==========================================================================
   ENBEE TRADE AND FINANCE LIMITED - MODERN FINTECH DESIGN SYSTEM
   BidaTech Production Theme (Based on Universal Agency Blueprint)
   ========================================================================== */

:root {
    /* Brand Accent Colors */
    --primary-accent: #0066FF;           /* Modern Institutional Trust Blue */
    --primary-accent-hover: #0052CC;
    --primary-accent-glow: rgba(0, 102, 255, 0.35);
    --secondary-accent: #00D084;         /* Growth & Financial Emerald */
    --gold-accent: #FFB800;              /* BSE & Heritage Gold */
    --gold-glow: rgba(255, 184, 0, 0.3);

    /* Dark Theme Surfaces (Default) */
    --bg-dark: #070B16;                  /* Deep Institutional Midnight */
    --bg-dark-secondary: #0D1424;
    --surface-card: rgba(255, 255, 255, 0.035);
    --surface-card-hover: rgba(255, 255, 255, 0.07);
    --surface-card-elevated: rgba(20, 30, 55, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(0, 102, 255, 0.35);
    
    /* Typography */
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Glassmorphism & Micro-Interactions */
    --backdrop-blur: blur(20px);
    --card-radius: 16px;
    --card-radius-sm: 10px;
    --card-radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glass: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 20px 40px rgba(0, 102, 255, 0.15);
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-dark: #F8FAFC;
    --bg-dark-secondary: #EDF2F7;
    --surface-card: rgba(255, 255, 255, 0.85);
    --surface-card-hover: #FFFFFF;
    --surface-card-elevated: #FFFFFF;
    --border-glass: rgba(0, 0, 0, 0.09);
    --border-accent: rgba(0, 102, 255, 0.3);
    --text-main: #0A192F;
    --text-muted: #475569;
    --text-dim: #64748B;
    --shadow-glass: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 15px 35px rgba(0, 102, 255, 0.12);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ambient Background Glow */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 50% 10%, rgba(0, 102, 255, 0.08) 0%, transparent 60%);
}

.site-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
}

.accent-text {
    color: var(--primary-accent);
}

.gold-text {
    color: var(--gold-accent);
}

.gradient-text {
    background: linear-gradient(135deg, #0066FF 0%, #00D084 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Top Statutory Bar */
.top-bar {
    background: var(--bg-dark-secondary);
    border-bottom: 1px solid var(--border-glass);
    padding: 8px 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.statutory-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-accent);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 102, 255, 0.2);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.badge-tag:hover {
    background: rgba(0, 102, 255, 0.2);
    color: #FFF;
}

.badge-gold {
    background: rgba(255, 184, 0, 0.1);
    color: var(--gold-accent);
    border-color: rgba(255, 184, 0, 0.3);
}

.contact-quick-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-quick-links a {
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.contact-quick-links a:hover {
    color: var(--primary-accent);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 11, 22, 0.85);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--border-glass);
    padding: 14px 0;
    transition: var(--transition-smooth);
}

[data-theme="light"] .navbar {
    background: rgba(248, 250, 252, 0.9);
}

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

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

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 0;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-accent);
    border-radius: 2px;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.theme-toggle {
    background: var(--surface-card);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.theme-toggle:hover {
    background: var(--surface-card-hover);
    color: var(--primary-accent);
    transform: scale(1.05);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--card-radius-sm);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary-accent);
    color: #FFFFFF;
    box-shadow: 0 4px 15px var(--primary-accent-glow);
}

.btn-primary:hover {
    background: var(--primary-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-accent-glow);
}

.btn-outline {
    background: var(--surface-card);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    background: var(--surface-card-hover);
    border-color: var(--primary-accent);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: #FFFFFF;
}

.btn-whatsapp:hover {
    background: #1EBE5D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Hero Section */
.hero-section {
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--surface-card);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-accent);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.1rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 580px;
    color: var(--text-muted);
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
}

.stat-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Glass Card */
.glass-card {
    background: var(--surface-card);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-glass);
    border-radius: var(--card-radius);
    padding: 32px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glass);
}

.glass-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* EMI Calculator Widget (Hero & Section) */
.calculator-card {
    background: var(--surface-card-elevated);
    border: 1px solid var(--border-glass);
    border-radius: var(--card-radius);
    padding: 28px;
    box-shadow: var(--shadow-glass);
}

.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-glass);
}

.calculator-header h3 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calculator-header h3 i {
    color: var(--primary-accent);
}

.loan-tabs {
    display: flex;
    gap: 8px;
    background: var(--surface-card);
    padding: 4px;
    border-radius: var(--card-radius-sm);
    margin-bottom: 20px;
}

.loan-tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.loan-tab-btn.active {
    background: var(--primary-accent);
    color: #FFFFFF;
}

.calc-control {
    margin-bottom: 20px;
}

.control-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.control-value {
    color: var(--primary-accent);
    font-weight: 700;
    font-size: 1rem;
}

.range-slider {
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: var(--border-glass);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-accent);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-accent-glow);
    transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* EMI Result Breakdown */
.emi-result-box {
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--card-radius-sm);
    padding: 18px;
    margin-bottom: 20px;
}

.emi-main-figure {
    text-align: center;
    margin-bottom: 14px;
}

.emi-main-figure span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.emi-main-figure h2 {
    font-size: 2.2rem;
    color: var(--primary-accent);
    font-weight: 800;
}

.emi-breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 6px 0;
    border-top: 1px dashed var(--border-glass);
}

.emi-breakdown-row span:last-child {
    font-weight: 700;
    color: var(--text-main);
}

/* Section Common Styles */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Loan Products Grid */
.loans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.loan-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.loan-card-top {
    margin-bottom: 24px;
}

.loan-card-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--card-radius-sm);
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.loan-card-title {
    font-size: 1.45rem;
    margin-bottom: 8px;
}

.loan-card-tagline {
    font-size: 0.95rem;
    color: var(--gold-accent);
    font-weight: 500;
    margin-bottom: 16px;
}

.loan-card-summary {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.55;
}

.loan-features-list {
    list-style: none;
    margin-bottom: 24px;
}

.loan-features-list li {
    font-size: 0.88rem;
    color: var(--text-main);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.loan-features-list li i {
    color: var(--secondary-accent);
    margin-top: 4px;
    font-size: 0.85rem;
}

.loan-card-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    gap: 10px;
}

/* Directors & Leadership */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.director-card {
    text-align: center;
}

.director-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--surface-card);
    border: 2px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary-accent);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.1);
}

.director-name {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.director-designation {
    color: var(--gold-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.director-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Testimonials Carousel / Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    font-size: 0.98rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-stars {
    color: var(--gold-accent);
    margin-bottom: 14px;
    font-size: 0.9rem;
}

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

.author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--primary-accent);
}

/* FAQ Accordion */
.faq-container {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--card-radius-sm);
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
}

.faq-toggle-icon {
    transition: transform 0.3s ease;
    color: var(--primary-accent);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Centralized Investor Relations Portal */
.investor-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.inv-tab-btn {
    background: var(--surface-card);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.inv-tab-btn:hover, .inv-tab-btn.active {
    background: var(--primary-accent);
    color: #FFFFFF;
    border-color: var(--primary-accent);
    box-shadow: 0 4px 15px var(--primary-accent-glow);
}

.investor-search-box {
    max-width: 500px;
    margin: 0 auto 30px;
    position: relative;
}

.investor-search-box input {
    width: 100%;
    padding: 12px 20px 12px 44px;
    background: var(--surface-card);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    color: var(--text-main);
    font-family: var(--font-body);
    outline: none;
    font-size: 0.95rem;
}

.investor-search-box input:focus {
    border-color: var(--primary-accent);
}

.investor-search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.docs-table-wrapper {
    background: var(--surface-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.docs-table th {
    background: rgba(0, 102, 255, 0.08);
    padding: 16px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-accent);
    border-bottom: 1px solid var(--border-glass);
}

.docs-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-glass);
    font-size: 0.92rem;
    color: var(--text-main);
}

.docs-table tr:hover td {
    background: var(--surface-card-hover);
}

.docs-table td .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-accent);
    background: rgba(0, 102, 255, 0.1);
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.docs-table td .btn-download:hover {
    background: var(--primary-accent);
    color: #FFFFFF;
}

/* Modal Lead Generation / Loan Application Form */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 11, 22, 0.85);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--card-radius-lg);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .modal-content {
    background: #FFFFFF;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--surface-card);
    border: 1px solid var(--border-glass);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--text-main);
    background: var(--surface-card-hover);
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--card-radius-sm);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 10px var(--primary-accent-glow);
}

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

/* Floating WhatsApp Widget */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    color: #FFFFFF;
}

.wa-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.6;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

.wa-tooltip {
    position: absolute;
    right: 72px;
    background: var(--bg-dark-secondary);
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--border-glass);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

[data-theme="light"] .wa-tooltip {
    background: #FFFFFF;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
}

/* Footer */
.footer {
    background: var(--bg-dark-secondary);
    border-top: 1px solid var(--border-glass);
    padding: 70px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary-accent);
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-accent);
    transform: translateX(4px);
}

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

.footer-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface-card);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.footer-social-links a:hover {
    background: var(--primary-accent);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-bottom a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .loans-grid, .directors-grid, .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-dark-secondary);
        border-bottom: 1px solid var(--border-glass);
        flex-direction: column;
        padding: 24px;
        gap: 18px;
        display: none;
    }
    .nav-menu.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .loans-grid, .directors-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Authentic Image & Portrait Styles */
.director-avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid var(--border-glass);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.2);
    display: block;
    transition: var(--transition-smooth);
    background: var(--bg-dark-secondary);
}

.director-card:hover .director-avatar-img {
    border-color: var(--primary-accent);
    transform: scale(1.06);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.35);
}

.loan-thumb-wrapper {
    width: 100%;
    height: 190px;
    border-radius: var(--card-radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-glass);
}

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

.loan-card:hover .loan-thumb-img {
    transform: scale(1.08);
}

.brand-symbol-watermark {
    position: absolute;
    right: -15px;
    bottom: -15px;
    width: 140px;
    opacity: 0.07;
    pointer-events: none;
}

/* ==========================================================================
   INFINITE RUPEE COINS (3D SCROLL EXPERIENCE)
   ========================================================================== */
.infinite-coins-wrapper {
    position: relative;
    min-height: 380vh;
    background: #040812; /* Pure dark for maximum coin PBR contrast */
}

/* Bottom fade: seamlessly blends coins into the hero section below */
.infinite-coins-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 50;
    pointer-events: none;
    background: linear-gradient(to top, var(--bg-dark) 0%, transparent 100%);
}

.infinite-coins-sticky {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 10;
}

.coins-canvas-box {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.coins-hud-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 24px;
    pointer-events: none;
    z-index: 20;
}

.coins-hud-overlay a, .coins-hud-overlay button {
    pointer-events: auto;
}

.scroll-helper-mouse {
    align-self: center;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    animation: bounce-mouse 2s infinite ease-in-out;
}

.mouse-wheel-icon {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    position: relative;
}

.mouse-wheel-icon::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-accent);
    border-radius: 2px;
    animation: mouse-scroll 1.5s infinite;
}

@keyframes mouse-scroll {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 12px); }
}

@keyframes bounce-mouse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.coins-scroll-content {
    position: relative;
    z-index: 30;
    pointer-events: none;
    padding-bottom: 40vh;
}

.scroll-stage-card {
    pointer-events: auto;
    max-width: 480px;
    margin: 0 0 75vh 40px;
    /* Transparent glassmorphism — no opaque background, coins visible through */
    background: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scroll-stage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 60px rgba(0, 102, 255, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}

.scroll-stage-card:nth-child(even) {
    margin-left: auto;
    margin-right: 40px;
}

.scroll-stage-card h3 {
    font-size: 1.45rem;
    margin-bottom: 12px;
    color: #FFFFFF;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.scroll-stage-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
    margin-bottom: 16px;
}

/* HUD title always white on the dark WebGL background */
.coins-hud-title {
    font-size: 1.4rem;
    margin-top: 6px;
    color: #FFFFFF !important;
    text-shadow: 0 2px 16px rgba(0,0,0,0.9);
}

.coin-spec-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-accent);
    background: rgba(255, 184, 0, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 184, 0, 0.25);
}

@media (max-width: 768px) {
    .scroll-stage-card {
        margin: 0 20px 60vh 20px !important;
        max-width: 100%;
        padding: 24px;
    }
}

[data-theme="light"] .infinite-coins-wrapper {
    background: #040812; /* keep same deep dark */
}

/* In light mode, bottom fade blends into the light hero section */
[data-theme="light"] .infinite-coins-wrapper::after {
    background: linear-gradient(to top, #F8FAFC 0%, transparent 100%);
}

/* Keep cards transparent in light mode too — white text on dark WebGL */
[data-theme="light"] .scroll-stage-card {
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .scroll-stage-card h3 {
    color: #FFFFFF;
}

[data-theme="light"] .scroll-stage-card p {
    color: rgba(255, 255, 255, 0.82);
}

[data-theme="light"] .mouse-wheel-icon {
    border-color: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .coins-hud-overlay h2 {
    color: #0A192F !important;
}



