/* ==========================================================================
   Doverite Financial Institution - Premium CSS Stylesheet
   Designed with Modern Glassmorphism, Vibrant Gradients, & Rich Aesthetics
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Animation speed & Curves (Global, same in all themes) */
    --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;

    /* Dynamic Variables (Default: Midnight Sapphire) */
    --bg-primary: #070b19;
    --bg-secondary: #0c1328;
    --bg-card: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(255, 255, 255, 0.07);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Vibrant Money & Trust Colors */
    --color-emerald: #10b981;
    --color-cyan: #06b6d4;
    --color-blue: #3b82f6;
    --color-amber: #f59e0b;
    --color-rose: #f43f5e;
    
    /* Premium Gradients */
    --grad-primary: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --grad-dark-mesh: radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
                      #070b19;
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    --grad-text: linear-gradient(135deg, #34d399 0%, #22d3ee 100%);
    
    /* Shadow systems */
    --shadow-neon: 0 0 25px rgba(6, 182, 212, 0.15);
    --shadow-emerald: 0 0 25px rgba(16, 185, 129, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* --- Theme 2: Emerald Mint (Light Mode) --- */
:root[data-theme="mint"] {
    --bg-primary: #f0fbf7;
    --bg-secondary: #e6f4ee;
    --bg-card: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(4, 120, 87, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    
    --color-emerald: #047857;
    --color-cyan: #0d9488;
    
    --grad-primary: linear-gradient(135deg, #047857 0%, #0d9488 100%);
    --grad-dark-mesh: radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.05) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(4, 120, 87, 0.05) 0%, transparent 45%),
                      #f0fbf7;
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
    --grad-text: linear-gradient(135deg, #047857 0%, #0d9488 100%);
    
    --shadow-neon: 0 8px 30px rgba(13, 148, 136, 0.08);
    --shadow-emerald: 0 8px 30px rgba(4, 120, 87, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(15, 23, 42, 0.06);
}

/* --- Theme 3: Gold Luxury (Royal Dark Mode) --- */
:root[data-theme="gold"] {
    --bg-primary: #0c0c0e;
    --bg-secondary: #141416;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(217, 119, 6, 0.12);
    --text-primary: #fcfcfd;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --color-emerald: #d97706;
    --color-cyan: #f59e0b;
    
    --grad-primary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --grad-dark-mesh: radial-gradient(circle at 10% 20%, rgba(217, 119, 6, 0.06) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.06) 0%, transparent 45%),
                      #0c0c0e;
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    --grad-text: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    
    --shadow-neon: 0 0 25px rgba(217, 119, 6, 0.12);
    --shadow-emerald: 0 0 25px rgba(245, 158, 11, 0.12);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
}

/* --- Theme 4: Sunset Rose (Cyberpunk Warm Mode) --- */
:root[data-theme="sunset"] {
    --bg-primary: #0f0714;
    --bg-secondary: #160c1e;
    --bg-card: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(236, 72, 153, 0.12);
    --text-primary: #fafaf9;
    --text-secondary: #d6d3d1;
    --text-muted: #78716c;
    
    --color-emerald: #fb7185;
    --color-cyan: #f59e0b;
    
    --grad-primary: linear-gradient(135deg, #ec4899 0%, #f59e0b 100%);
    --grad-dark-mesh: radial-gradient(circle at 10% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
                      #0f0714;
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    --grad-text: linear-gradient(135deg, #f472b6 0%, #fbbf24 100%);
    
    --shadow-neon: 0 0 25px rgba(236, 72, 153, 0.15);
    --shadow-emerald: 0 0 25px rgba(245, 158, 11, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* --- Document & Global Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background: var(--grad-dark-mesh);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

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

/* --- Custom Styled Premium Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--grad-primary);
    border-radius: 10px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-cyan);
}

/* --- Typography Utilities & Badges --- */
.gradient-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-emerald { color: var(--color-emerald); }
.text-cyan { color: var(--color-cyan); }
.text-glow {
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}
.font-bold { font-weight: 700; }
.font-mono { font-family: monospace; }
.ml-auto { margin-left: auto; }
.text-center { text-align: center; }

.badge {
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-cyan);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-neon);
}

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

/* --- Premium Buttons System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--trans-medium);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--grad-primary);
    color: #040815;
    box-shadow: var(--shadow-emerald);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* --- Dynamic Glassmorphism Base --- */
.glass-card {
    background: var(--grad-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-glass);
    transition: border-color var(--trans-medium), box-shadow var(--trans-medium), transform var(--trans-medium);
}

.glass-card:hover {
    border-color: rgba(6, 182, 212, 0.2);
}

/* --- Main Header / Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 11, 25, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    padding: 16px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--grad-primary);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #040815;
    font-size: 1.3rem;
    box-shadow: var(--shadow-emerald);
}

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

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1.1;
    letter-spacing: 0.05em;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-sub {
    font-size: 0.68rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: width var(--trans-fast);
}

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

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

.nav-btn {
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-cyan);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 8px 20px !important;
    border-radius: var(--border-radius-sm);
}

.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    background: var(--grad-primary);
    color: #040815 !important;
    box-shadow: var(--shadow-neon);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: all var(--trans-fast);
}

/* --- Theme Switcher Dropdown Styling --- */
.theme-switcher {
    position: relative;
    pointer-events: auto;
}

.theme-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--trans-fast);
    outline: none;
}

.theme-trigger-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-cyan);
}

.theme-trigger-icon {
    font-size: 0.7rem;
    color: var(--text-secondary);
    transition: transform var(--trans-medium);
}

.theme-switcher.open .theme-trigger-icon {
    transform: rotate(180deg);
    color: var(--color-cyan);
}

.theme-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 200px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
    animation: popupAnimation 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: top right;
}

.theme-switcher.open .theme-dropdown {
    display: flex;
}

.theme-opt {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 12px;
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    transition: all var(--trans-fast);
}

.theme-opt:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.theme-opt.active {
    background: var(--grad-primary);
    color: #040815 !important;
    font-weight: 600;
}

.theme-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

.sapphire-dot { background: #06b6d4; border: 1px solid rgba(255, 255, 255, 0.2); }
.mint-dot { background: #047857; border: 1px solid rgba(255, 255, 255, 0.2); }
.gold-dot { background: #f59e0b; border: 1px solid rgba(255, 255, 255, 0.2); }
.sunset-dot { background: #ec4899; border: 1px solid rgba(255, 255, 255, 0.2); }

/* --- Special Adaptations for Light Mode (Mint Theme) --- */
:root[data-theme="mint"] .nav-link:hover, 
:root[data-theme="mint"] .nav-link.active {
    color: var(--color-emerald) !important;
}

:root[data-theme="mint"] .glass-card {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 30px rgba(4, 120, 87, 0.05);
}

:root[data-theme="mint"] .theme-trigger-btn {
    background: rgba(0, 0, 0, 0.02);
}

:root[data-theme="mint"] .theme-trigger-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

:root[data-theme="mint"] .theme-opt:hover {
    background: rgba(0, 0, 0, 0.03);
}

:root[data-theme="mint"] .calc-segment-tabs {
    background: rgba(0, 0, 0, 0.04);
}

:root[data-theme="mint"] .calc-tab {
    color: var(--text-secondary);
}

:root[data-theme="mint"] .calc-tab.active {
    color: #ffffff;
}

:root[data-theme="mint"] .calc-output-box {
    background: rgba(0, 0, 0, 0.02);
}

:root[data-theme="mint"] .form-group input, 
:root[data-theme="mint"] .form-group select, 
:root[data-theme="mint"] .form-group textarea {
    background: rgba(0, 0, 0, 0.02);
    color: #0f172a;
}

:root[data-theme="mint"] .main-header {
    background: rgba(240, 251, 247, 0.8);
    border-bottom-color: rgba(4, 120, 87, 0.1);
}

:root[data-theme="mint"] .main-footer {
    background: #e6f4ee;
    border-top-color: rgba(4, 120, 87, 0.1);
}

:root[data-theme="mint"] .footer-logo,
:root[data-theme="mint"] .footer-col h4 {
    color: #0f172a;
}

:root[data-theme="mint"] .footer-bottom {
    border-top-color: rgba(4, 120, 87, 0.1);
}

:root[data-theme="mint"] .success-receipt-card {
    background: rgba(255, 255, 255, 0.95);
}

:root[data-theme="mint"] .custom-slider {
    background: rgba(0, 0, 0, 0.08);
}

/* --- Hero Section & Background Elements --- */
.hero-section {
    padding: 160px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideUpFade 0.8s ease-out;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--color-cyan);
    padding: 12px 20px;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* --- Real-Time Loan Calculator Card --- */
.calculator-container {
    animation: floatAnimation 6s ease-in-out infinite;
}

.calculator-card {
    padding: 32px;
}

.calc-header {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 16px;
}

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

.calc-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.calc-segment-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 28px;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px;
    border-radius: var(--border-radius-md);
}

.calc-tab {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-secondary);
    padding: 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--trans-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.calc-tab i {
    font-size: 0.95rem;
}

.calc-tab:hover {
    color: var(--text-primary);
}

.calc-tab.active {
    background: var(--grad-primary);
    color: #040815;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
}

.calc-sliders {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

.calc-slider-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.88rem;
}

.slider-header label {
    color: var(--text-secondary);
}

.slider-val {
    color: var(--color-cyan);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

/* Custom premium slider runner */
.custom-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: background 0.3s;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-emerald);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
    transition: transform 0.1s;
}

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

.custom-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-emerald);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
    transition: transform 0.1s;
}

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

.slider-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Output Display Box */
.calc-output-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.output-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
}

.output-label {
    color: var(--text-secondary);
}

.output-value {
    color: var(--text-primary);
    font-weight: 600;
}

.total-row {
    border-top: 1px dashed var(--border-glass);
    padding-top: 12px;
    margin-top: 4px;
    font-size: 1.15rem;
}

.mini-row {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* --- Section Formatting Rules --- */
section {
    position: relative;
    z-index: 1;
}

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

.section-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-cyan);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
}

.section-lead {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 20px auto 0 auto;
}

.title-bar {
    width: 60px;
    height: 3px;
    background: var(--grad-primary);
    margin: 16px auto 0 auto;
    border-radius: 5px;
}

/* --- About Us Cards Section --- */
.about-section {
    padding: 100px 0;
}

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

.about-card {
    padding: 40px;
    text-align: center;
}

.about-icon {
    width: 64px;
    height: 64px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--border-radius-md);
    color: var(--color-cyan);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px auto;
    transition: var(--trans-fast);
}

.about-card:hover .about-icon {
    background: var(--grad-primary);
    color: #040815;
    transform: rotateY(180deg);
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.about-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* --- Loan Products Target Sections --- */
.products-section {
    padding: 100px 0;
    background: rgba(7, 11, 25, 0.4);
}

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

.product-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--color-cyan);
    color: #040815;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 30px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.accent-badge {
    background: var(--color-emerald);
}

.product-icon {
    font-size: 2.2rem;
    color: var(--color-cyan);
    margin-bottom: 24px;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.prod-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.prod-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.prod-features li {
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.prod-features li i {
    font-size: 0.85rem;
}

/* --- Timeline Process Steps --- */
.process-section {
    padding: 100px 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.process-timeline::after {
    content: '';
    position: absolute;
    top: 36px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: dashed rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.timeline-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 72px;
    height: 72px;
    background: var(--bg-primary);
    border: 3px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-cyan);
    margin: 0 auto 28px auto;
    box-shadow: var(--shadow-glass);
    transition: all var(--trans-medium);
}

.timeline-step:hover .step-number {
    background: var(--grad-primary);
    color: #040815;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: var(--shadow-emerald);
}

.timeline-step .step-content {
    padding: 24px;
}

.timeline-step h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.timeline-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- Multi-Step Application Wizard Portal --- */
.application-section {
    padding: 100px 0;
    background: rgba(7, 11, 25, 0.5);
}

.wizard-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

.wizard-steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.indicator-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all var(--trans-medium);
}

.indicator-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--trans-medium);
}

.step-indicator.active .indicator-num {
    background: var(--color-cyan);
    color: #040815;
    border-color: transparent;
    box-shadow: var(--shadow-neon);
}

.step-indicator.active .indicator-label {
    color: var(--color-cyan);
}

.step-indicator.completed .indicator-num {
    background: var(--color-emerald);
    color: #040815;
    border-color: transparent;
}

.step-indicator.completed .indicator-label {
    color: var(--color-emerald);
}

.wizard-progress-bar-wrapper {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 40px;
    overflow: hidden;
}

.wizard-progress-bar {
    width: 25%;
    height: 100%;
    background: var(--grad-primary);
    border-radius: 10px;
    transition: width var(--trans-medium);
}

.form-step {
    display: none;
    animation: slideUpFade 0.5s ease;
}

.form-step.active {
    display: block;
}

.step-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Forms layout elements */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

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

.span-2 {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.required {
    color: var(--color-rose);
}

.form-group input, .form-group select, .form-group textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: all var(--trans-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

.input-helper {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.error-msg {
    color: var(--color-rose);
    font-size: 0.72rem;
    font-weight: 500;
    margin-top: 2px;
    min-height: 14px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-checkbox label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    cursor: pointer;
}

.form-calc-preview {
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.preview-bold {
    font-weight: 700;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-glass);
    padding-top: 24px;
}

/* Spinner and Success Receipt states */
.wizard-state-container {
    padding: 40px 0;
    text-align: center;
    animation: slideUpFade 0.5s ease;
}

.wizard-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.spinner-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
}

.premium-spinner {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid rgba(6, 182, 212, 0.1);
    border-top-color: var(--color-cyan);
    animation: spin 1s linear infinite;
}

.wizard-loading h3 {
    font-size: 1.4rem;
}

.wizard-loading p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 480px;
}

.wizard-success {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon-badge {
    width: 72px;
    height: 72px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-emerald);
    font-size: 2.8rem;
    margin-bottom: 24px;
    box-shadow: var(--shadow-emerald);
}

.wizard-success h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.wizard-success p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 32px;
}

/* Glass Receipt Card Layout */
.success-receipt-card {
    width: 100%;
    max-width: 480px;
    padding: 24px;
    text-align: left;
    margin-bottom: 32px;
}

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

.receipt-header h4 {
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.receipt-tag {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-amber);
    border: 1px solid rgba(245, 158, 11, 0.2);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.receipt-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px dashed var(--border-glass);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.receipt-row span:first-child {
    color: var(--text-muted);
}

.receipt-footer {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.success-actions {
    display: flex;
    gap: 16px;
}

/* --- Testimonials Card Grid --- */
.testimonials-section {
    padding: 100px 0;
}

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

.testimonial-card {
    padding: 32px;
}

.testimonial-card .stars {
    color: var(--color-amber);
    font-size: 0.8rem;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

.testi-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 24px;
}

.testi-user h4 {
    font-size: 0.95rem;
}

.testi-user span {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-top: 2px;
}

/* --- FAQ Accordions --- */
.faqs-section {
    padding: 100px 0;
    background: rgba(7, 11, 25, 0.4);
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background var(--trans-fast);
}

.faq-trigger:hover {
    background: rgba(255, 255, 255, 0.01);
}

.faq-trigger span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-icon {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: transform var(--trans-medium);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--trans-medium) ease-out;
}

.faq-content p {
    padding: 0 30px 24px 30px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding-top: 16px;
}

.faq-item.active {
    border-color: rgba(6, 182, 212, 0.2);
}

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

/* --- Contact Details & Validated Form Section --- */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
}

.contact-info-card {
    padding: 40px;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.contact-info-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--border-radius-sm);
    color: var(--color-cyan);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.info-text span:first-child {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-text span:not(:first-child), .info-text a {
    font-size: 0.95rem;
    margin-top: 2px;
}

.branch-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.branch-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem !important;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: var(--text-primary);
}

/* Contact inquiry form card elements */
.contact-form-card {
    padding: 40px;
    position: relative;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-form-card .form-group {
    margin-bottom: 20px;
}

.contact-state {
    padding: 40px 0;
    text-align: center;
    animation: slideUpFade 0.5s ease;
}

.state-icon {
    font-size: 3rem;
    color: var(--color-emerald);
    margin-bottom: 20px;
}

.contact-state h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.contact-state p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 420px;
    margin: 0 auto 28px auto;
}

/* --- Professional Footer Grid --- */
.main-footer {
    background: #040815;
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
    gap: 40px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 60px;
    margin-bottom: 40px;
}

.col-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo i {
    font-size: 1.4rem;
    color: var(--color-emerald);
    -webkit-text-fill-color: initial; /* Un-gradient the icon color */
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

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

.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 0.65rem;
    color: var(--text-muted);
    transition: var(--trans-fast);
}

.footer-links a:hover {
    color: var(--color-cyan);
}

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

.compliance-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.security-badges {
    display: flex;
    gap: 12px;
}

.security-badges span {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    font-size: 0.72rem;
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-meta-links {
    display: flex;
    gap: 20px;
}

.footer-meta-links a:hover {
    color: var(--text-secondary);
}

/* --- Floating Dynamic WhatsApp Widget --- */
.whatsapp-widget-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    pointer-events: none; /* Let elements catch click individually */
}

/* Tooltip Dialog Bubble */
.whatsapp-tooltip-bubble {
    width: 280px;
    padding: 16px;
    position: relative;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-glass);
    border-color: rgba(37, 211, 102, 0.2);
    display: flex;
    gap: 12px;
    pointer-events: auto; /* Enable hover/clicks on speech bubble */
    animation: popupAnimation 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
}

.wa-tooltip-close {
    position: absolute;
    top: 6px;
    right: 10px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
}

.wa-tooltip-close:hover {
    color: var(--text-primary);
}

.wa-tooltip-avatar {
    width: 36px;
    height: 36px;
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    position: relative;
    flex-shrink: 0;
}

.online-indicator {
    width: 8px;
    height: 8px;
    background: #25d366;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 1px solid var(--bg-secondary);
}

.wa-tooltip-text {
    display: flex;
    flex-direction: column;
}

.wa-tooltip-text h5 {
    font-size: 0.8rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.wa-tooltip-text p {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.3;
    margin-top: 4px;
}

/* WhatsApp Floating Circle Button */
.whatsapp-floating-btn {
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all var(--trans-medium);
    pointer-events: auto; /* Enable clicks */
    position: relative;
}

.whatsapp-floating-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    animation: pulseRing 2s infinite;
}

.whatsapp-floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.wa-badge {
    position: absolute;
    top: -3px;
    left: -3px;
    width: 20px;
    height: 20px;
    background: var(--color-rose);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: bounce 2.5s infinite;
}

/* --- Custom Keyframe Animations --- */
@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popupAnimation {
    0% {
        opacity: 0;
        transform: scale(0.6) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ==========================================================================
   Responsive Breakpoints & Layout Adaptations
   ========================================================================== */

/* --- Tablet Landscapes & Laptops (Max: 1024px) --- */
@media (max-width: 1024px) {
    html { font-size: 15px; }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .stats-grid {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .calculator-container {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-timeline::after {
        display: none;
    }
    
    .timeline-step .step-content {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Mobile Portrait & Small Screens (Max: 768px) --- */
@media (max-width: 768px) {
    /* Responsive Navigation Trigger */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background: #070b19;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: left var(--trans-medium);
        padding: 40px;
        border-top: 1px solid var(--border-glass);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    /* Toggle active animation rules */
    .mobile-menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .about-grid, .products-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .span-2 {
        grid-column: span 1;
    }
    
    .wizard-container {
        padding: 24px 16px;
    }
    
    .wizard-steps-indicator {
        gap: 4px;
    }
    
    .indicator-label {
        display: none; /* Hide stepper text labels on small screens */
    }
    
    .form-calc-preview {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .success-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .success-actions .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .whatsapp-tooltip-bubble {
        display: none !important; /* Hide floating tooltip bubble on mobile to avoid blocking views */
    }
    
    .whatsapp-widget-container {
        bottom: 20px;
        right: 20px;
    }
}

/* --- Collateral & Non-Collateral Info Banner & Hero Pills --- */
.hero-loan-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-loan-pill i {
    color: var(--color-emerald);
    font-size: 1rem;
}

.collateral-info-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 36px;
    margin-bottom: 48px;
    border-radius: var(--border-radius-md);
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.25);
    position: relative;
    overflow: hidden;
}

.collateral-info-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--grad-primary);
}

.banner-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-cyan);
    flex-shrink: 0;
}

.banner-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.banner-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.contact-hours-badge {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--color-cyan);
}

:root[data-theme="mint"] .collateral-info-banner {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(4, 120, 87, 0.2);
}

:root[data-theme="mint"] .hero-loan-pill {
    background: rgba(4, 120, 87, 0.08);
    border-color: rgba(4, 120, 87, 0.25);
}

@media (max-width: 768px) {
    .collateral-info-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }
    .collateral-info-banner::before {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 4px;
    }
}

