/* 
    HUCB ULTRA-PREMIUM EVOLUTION
    ----------------------------
    A state-of-the-art design language for Hisar Urban Cooperative Bank.
    Focus: Luxury, Depth, and Security.
*/

:root {
    --navy: #0a192f;
    --navy-light: #112240;
    --navy-lighter: #233554;
    --gold: #c5a059;
    --gold-light: #e6c88a;
    --gold-dark: #8b6e36;
    --blue: #3a86ff;
    --blue-soft: #ecf3ff;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-400: #9ca3af;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-soft: 0 10px 30px -10px rgba(2, 12, 27, 0.1);
    --shadow-lux: 0 20px 40px -15px rgba(2, 12, 27, 0.25);
}

/* Base Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, .premium-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* ── LAYOUT HELPER ── */
.hucb-section { padding: 80px 0; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.bg-alt { background: var(--gray-50); }
.bg-navy { background: var(--navy); color: white; }

/* ── HEADER & NAVIGATION ── */
.top-notice-bar {
    background: var(--navy-light);
    color: var(--gold-light);
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.notice-flex { display: flex; justify-content: space-between; align-items: center; }
.news-ticker { display: flex; align-items: center; gap: 10px; }
.news-badge { background: var(--gold); color: var(--navy); padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }

.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 90px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-wrap { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.logo-wrap img { height: 60px; object-fit: contain; }
.logo-text h1 { color: var(--navy); font-size: 1.4rem; line-height: 1; margin-bottom: 2px; }
.logo-text p { color: var(--text-muted); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }

/* Navigation */
.main-nav ul { display: flex; list-style: none; gap: 35px; }
.main-nav a {
    text-decoration: none;
    color: var(--navy-lighter);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-smooth);
    padding: 10px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-smooth);
}

.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after { width: 100%; }

.nav-cta .btn-premium {
    background: var(--navy);
    color: var(--gold);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.2);
    transition: var(--transition-smooth);
    border: 1px solid var(--gold-dark);
}

.nav-cta .btn-premium:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
}

/* ── HERO SECTION 2.0 ── */
.ultra-hero {
    height: 85vh;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.ultra-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.6) 50%, rgba(10, 25, 47, 0.2) 100%);
    z-index: 1;
}

.ultra-hero .hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease backwards;
}

.ultra-hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.ultra-hero h1 span {
    color: var(--gold);
    display: block;
}

.ultra-hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-btns {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn-main {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-main.primary {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
}

.btn-main.primary:hover {
    background: var(--white);
    transform: translateY(-5px);
}

.btn-main.outline {
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
}

.btn-main.outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(255,255,255,0.05);
}

/* Floating Loan UI */
.floating-loan-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    animation: fadeInRight 1s ease 0.5s backwards;
    box-shadow: var(--shadow-lux);
}

.flc-header { margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
.flc-header h3 { color: var(--gold); font-size: 1.5rem; margin-bottom: 5px; }
.flc-header p { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 0; }

.loan-tabs-mini {
    display: flex;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 30px;
}

.mini-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.mini-tab.active {
    background: var(--gold);
    color: var(--navy);
}

.loan-rate-display { text-align: center; margin-bottom: 30px; }
.lrd-rate { font-size: 4rem; font-weight: 800; color: white; line-height: 1; }
.lrd-rate span { font-size: 2rem; color: var(--gold); }
.lrd-label { color: var(--gold-light); font-weight: 600; margin-top: 10px; }

.btn-loan-cta {
    display: block;
    width: 100%;
    background: var(--white);
    color: var(--navy);
    text-align: center;
    padding: 15px;
    border-radius: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-loan-cta:hover {
    background: var(--gold);
    transform: scale(1.02);
}

/* ── STATS STRIP ── */
.ultra-stats {
    background: var(--navy-light);
    padding: 60px 0;
    margin-top: 60px; /* Space added after Vision section */
    border-bottom: 4px solid var(--gold);
}

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

.stat-box { text-align: center; color: white; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-box:last-child { border: none; }
.stat-box h2 { color: var(--gold); font-size: 2.5rem; margin-bottom: 5px; }
.stat-box p { font-size: 12px; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 1px; }

/* ── FEATURE CARDS ── */
.section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.section-header .eyebrow { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: 3px; font-size: 13px; display: block; margin-bottom: 15px; }
.section-header h2 { font-size: 3rem; margin-bottom: 20px; color: var(--navy); }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

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

.ultra-card {
    background: white;
    padding: 50px 35px;
    border-radius: 24px;
    border: 1px solid var(--gray-100);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.ultra-card:hover .card-icon {
    background: var(--gold);
    color: var(--navy) !important;
}

.ultra-card h3 { margin-bottom:  15px; transition: var(--transition-smooth); }
.ultra-card p { font-size: 15px; color: var(--text-muted); transition: var(--transition-smooth); }

.ultra-card:hover { 
    transform: translateY(-10px); 
    box-shadow: var(--shadow-lux); 
}


/* ── DOCUMENT PREVIEW ── */
.doc-box {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--gray-100);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: var(--transition-smooth);
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
}

.doc-box:hover {
    background: var(--blue-soft);
    border-color: var(--blue);
    transform: scale(1.02);
}

.doc-icon-mini {
    width: 60px;
    height: 60px;
    background: #fff0f0;
    color: #e63946;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 24px;
}

.doc-info h4 { font-size: 1.1rem; margin-bottom: 5px; }
.doc-info p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ── FOOTER ── */
.ultra-footer {
    background: var(--navy);
    color: white;
    padding: 100px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 30px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-col p { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 25px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; transition: var(--transition-smooth); font-size: 14px; }
.footer-links a:hover { color: var(--gold); padding-left: 8px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ── MOBILE MENU STYLES ── */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--navy);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100vh;
    background: var(--navy);
    z-index: 2000;
    padding: 40px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    visibility: hidden;
}

.mobile-sidebar.active { 
    right: 0; 
    visibility: visible;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.close-sidebar {
    color: var(--gold);
    font-size: 32px;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 50px;
}

.mobile-nav-links li { margin-bottom: 25px; }

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.mobile-nav-links a:hover { color: var(--gold); }

.sidebar-cta .btn-premium { width: 100%; justify-content: center; }

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.sidebar-overlay.active { opacity: 1; visibility: visible; }

body.sidebar-open { overflow: hidden; }

/* ── COMPREHENSIVE RESPONSIVENESS ── */

@media (max-width: 1200px) {
    .section-inner { padding: 0 40px; }
    .ultra-hero h1 { font-size: 3.8rem; }
}

@media (max-width: 992px) {
    .main-nav { display: none; }
    .nav-cta { display: none; }
    .mobile-menu-toggle { display: flex; }
    
    .ultra-hero { height: auto; min-height: auto; padding: 150px 0 100px; }
    .ultra-hero .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .ultra-hero h1 { font-size: 3.2rem; }
    .ultra-hero p { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .floating-loan-card { max-width: 100%; margin: 40px auto 0; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-box { border: none; padding: 20px; background: rgba(255,255,255,0.03); border-radius: 15px; }
    
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    
    .calc-container, .mission-box { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
    .leadership-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hucb-section { padding: 60px 0; }
    .section-header h2 { font-size: 2.2rem; }
    .ultra-hero h1 { font-size: 2.5rem; }
    
    .top-contact { display: none; }
    .notice-flex { justify-content: center; }
    
    .flowchart-container::before { left: 40px; }
    .flow-content { width: calc(100% - 80px); margin-left: auto !important; }
    .flow-badge { left: 40px; }
    
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

@media (max-width: 576px) {
    .logo-text h1 { font-size: 1.1rem; }
    .logo-wrap img { height: 45px; }
    .main-header { height: 75px; }
    
    .ultra-hero { padding: 120px 0 60px; }
    .ultra-hero h1 { font-size: 2.1rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-main { width: 100%; justify-content: center; }
    
    .stats-grid { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .leadership-grid { grid-template-columns: 1fr; }
    
    .section-header h2 { font-size: 1.8rem; }
    .res-value { font-size: 2.8rem; }
    
    .ultra-card { padding: 40px 25px; }
    .mobile-sidebar { width: 85%; padding: 30px; }
}

/* ── RESPONSIVE UTILITIES ── */
.grid-adaptive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.btn-group-responsive {
    display: flex;
    gap: 20px;
}

@media (max-width: 992px) {
    .grid-adaptive { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .grid-adaptive img { margin: 0 auto; }
    .grid-3-adaptive { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .grid-3-adaptive { grid-template-columns: 1fr; }
    .btn-group-responsive { flex-direction: column; width: 100%; }
    .btn-group-responsive .btn-main { width: 100%; justify-content: center; }
}

/* ── POWER CALCULATOR 3.0 ── */
.calc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: white;
    padding: 60px;
    border-radius: 40px;
    box-shadow: var(--shadow-lux);
    align-items: center;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-header label {
    font-weight: 700;
    color: var(--navy);
    font-size: 16px;
    margin: 0;
}

.slider-header .val-display {
    color: var(--blue);
    font-weight: 700;
    font-size: 16px;
}

.slider-group {
    display: flex;
    flex-direction: column;
}

/* Custom Slider Styling */
.premium-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 10px;
    outline: none;
}

.premium-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--gold);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
}

.premium-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.calc-type-selector {
    display: flex !important;
    gap: 15px;
    margin-top: 15px;
    background: #f8f9fa;
    padding: 6px;
    border-radius: 50px;
    width: max-content;
}

.calc-btn {
    padding: 10px 25px;
    border-radius: 40px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 13px;
}

.calc-btn.active {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.calc-btn:not(.active) {
    background: transparent;
    color: #cbd5e1;
}

/* Result Card Styling */
.calc-results {
    background: var(--navy);
    padding: 60px 40px;
    border-radius: 35px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
    box-shadow: 0 30px 60px rgba(10, 25, 47, 0.3);
}

.res-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 30px;
    font-weight: 700;
}

.res-value {
    font-size: 4.5rem;
    color: var(--gold);
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    margin: 10px 0;
}

.res-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 30px !important;
}

@media (max-width: 992px) {
    .calc-container { grid-template-columns: 1fr; padding: 40px 30px; gap: 40px; }
    .calc-results { min-height: auto; padding: 50px 30px; order: -1; }
    .res-value { font-size: 3.5rem; }
    .calc-type-selector { width: 100%; }
    .calc-btn { flex: 1; }
}

@media (max-width: 576px) {
    .res-value { font-size: 2.8rem; }
}

/* ── MISSION & VISION PREMIUM ── */
.mission-vision-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.mv-card {
    padding: 60px 40px;
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.mv-mission {
    background: var(--navy);
    color: white;
}

.mv-vision {
    background: white;
    color: var(--navy);
    border: 1px solid var(--gray-100);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.mv-vision .mv-icon {
    background: var(--blue-soft);
    color: var(--blue);
    border-color: rgba(58, 134, 255, 0.2);
}

.mv-card h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.mv-mission h3 { color: white; }
.mv-vision h3 { color: var(--navy); }

.mv-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

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

/* Decoration */
.mv-deco {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 200px;
    opacity: 0.03;
    color: white;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mv-vision .mv-deco {
    color: var(--navy);
}

.mv-card:hover .mv-deco {
    transform: scale(1.1) rotate(-10deg);
}

@media (max-width: 992px) {
    .mission-vision-wrapper { grid-template-columns: 1fr; }
    .mv-card { padding: 40px 30px; }
    .mv-card h3 { font-size: 1.8rem; }
}

/* ── COMPLAINTS FLOWCHART ── */
.flowchart-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 60px;
}

/* The vertical connecting line */
.flowchart-container::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 40px;
    bottom: 40px;
    width: 3px;
    background: linear-gradient(to bottom, var(--blue), var(--gold));
    border-radius: 10px;
}

.flow-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}

.flow-step:last-child {
    margin-bottom: 0;
}

.flow-badge {
    position: absolute;
    left: -60px;
    top: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(10, 25, 47, 0.25);
    z-index: 5;
    flex-shrink: 0;
}

.flow-content {
    background: white;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-left: 5px solid var(--blue);
    width: 100%;
    transition: var(--transition-smooth);
}

.flow-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.flow-content h4 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 10px;
    font-weight: 800;
}

.flow-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.escalation-time {
    display: inline-block;
    margin-top: 15px;
    padding: 5px 14px;
    border-radius: 20px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Complaint Info Card */
.complaint-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.glass-info-card {
    padding: 30px;
    border-radius: 20px;
}

/* Complaint Form Wrapper */
.complaint-form-wrap {
    background: var(--gray-50);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid var(--gray-100);
}

.complaint-form-wrap input:focus,
.complaint-form-wrap textarea:focus {
    outline: none;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

@media (max-width: 768px) {
    .flowchart-container { padding-left: 50px; }
    .flowchart-container::before { left: 22px; }
    .flow-badge { left: -50px; width: 44px; height: 44px; font-size: 16px; }
    .flow-content { padding: 25px 20px; }
    .complaint-form-wrap { padding: 25px; }
}

/* ── COMPREHENSIVE RESPONSIVENESS OVERRIDES ── */

/* Typography Scaling */
@media (max-width: 768px) {
    .ultra-hero h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem !important; }
    .res-value { font-size: 2.5rem !important; }
    .hucb-section { padding: 60px 0; }
}

/* Header & Notice Bar */
@media (max-width: 992px) {
    .main-nav, .nav-cta { display: none !important; }
    .mobile-menu-toggle { display: block !important; }
    .header-inner { justify-content: space-between; }
    .logo-text h1 { font-size: 1.2rem; }
    .logo-wrap img { height: 45px; }
}

@media (max-width: 600px) {
    .notice-flex { flex-direction: column; gap: 8px; text-align: center; }
    .top-contact { font-size: 11px; }
    .news-ticker { width: 100%; justify-content: center; }
}

/* Hero Section */
@media (max-width: 992px) {
    .ultra-hero { height: auto; min-height: 600px; padding: 120px 0 80px; }
    .ultra-hero .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .ultra-hero p { margin-left: auto; margin-right: auto; font-size: 1.1rem; }
    .hero-btns { justify-content: center; flex-direction: column; }
    .btn-main { width: 100%; justify-content: center; }
    .floating-loan-card { display: none; }
}

/* Calculator Section */
@media (max-width: 992px) {
    .calc-container { grid-template-columns: 1fr; gap: 40px; padding: 40px 25px; border-radius: 25px; }
    .calc-results { order: -1; min-height: auto; padding: 40px 20px; }
    .calc-type-selector { flex-direction: row; flex-wrap: wrap; }
    .calc-btn { flex: 1; min-width: 140px; font-size: 14px; }
}

/* Grids & Cards */
@media (max-width: 768px) {
    .grid-3-adaptive, .stats-grid, .grid-adaptive, .cards-grid { 
        grid-template-columns: 1fr !important; 
        gap: 20px !important;
    }
    .stats-grid { margin-top: 20px !important; margin-bottom: 40px !important; }
    .ultra-stats { margin-top: 40px; }
    .stat-box { padding: 30px 20px; }
    .doc-box { padding: 15px; }
    
    /* Center align headers on mobile */
    .section-header { text-align: center; margin-bottom: 40px; }
    .section-header p { margin: 10px auto 0; }
}

/* Specific Section Adjustments */
@media (max-width: 576px) {
    .hucb-section { padding: 40px 0; }
    .logo-text p { display: none; } /* Hide tagline on very small screens to save space */
    .res-value { font-size: 2rem !important; }
}

/* Tables Responsiveness */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.table-responsive::-webkit-scrollbar {
    height: 5px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

/* Mobile Sidebar & Overlay */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: var(--navy);
    z-index: 2000;
    transition: var(--transition-smooth);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active { right: 0; box-shadow: -10px 0 50px rgba(0,0,0,0.5); }

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-sidebar {
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 40px;
}

.mobile-nav-links li { margin-bottom: 25px; }
.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    transition: var(--transition-smooth);
}
.mobile-nav-links a:hover { color: var(--gold); padding-left: 10px; }

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1999;
    display: none;
}

.sidebar-overlay.active { display: block; }

/* Menu Toggle Animation */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--navy);
    margin-bottom: 5px;
    transition: var(--transition-smooth);
    border-radius: 3px;
}

.mobile-menu-toggle:last-child { margin-bottom: 0; }
