/* Finance Assistance - Premium Stylesheet */
:root {
    --primary: #0B1F4D;
    --primary-light: #1e3a8a;
    --accent: #F59E0B;
    --accent-hover: #d97706;
    --orange: #F97316;
    --secondary-accent: #EF4444;
    --bg: #FFFFFF;
    --bg-soft: #F8FAFC;
    --bg-dark: #0f172a;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --gradient-primary: linear-gradient(135deg, #0B1F4D 0%, #1e3a8a 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    --gradient-mesh: linear-gradient(135deg, #0B1F4D 0%, #1e3a8a 50%, #312e81 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--primary); }

a { color: var(--primary-light); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--accent); }

/* Scroll Progress */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; background: var(--gradient-accent);
    z-index: 9999; transition: width 0.1s;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.4s ease;
    background: transparent;
    position: fixed; width: 100%; top: 0; z-index: 1000;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 0.6rem 0;
}
.navbar.scrolled .nav-link { color: var(--primary) !important; }
.navbar.scrolled .logo-text { color: var(--primary); }
.navbar.scrolled .logo-icon {
    background: var(--gradient-primary);
    color: var(--accent);
}
.nav-link {
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
    background: var(--accent); transition: all 0.3s; transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-link:hover { color: var(--accent) !important; }

/* Logo */
.logo-text {
    font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.5rem;
    color: var(--primary); display: flex; align-items: center; gap: 0.5rem;
}
.logo-icon {
    width: 40px; height: 40px; background: var(--gradient-accent);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 0.9rem; font-weight: 800;
}

/* Buttons */
.btn-eligibility {
    background: var(--gradient-accent); color: var(--primary);
    border: none; padding: 0.75rem 1.5rem; border-radius: 50px;
    font-weight: 700; font-size: 0.9rem; transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(245,158,11,0.3);
}
.btn-eligibility:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245,158,11,0.4);
    color: var(--primary);
}
.btn-primary-glow {
    background: var(--gradient-accent); color: var(--primary);
    border: none; padding: 1rem 2rem; border-radius: 50px;
    font-weight: 700; font-size: 1rem; transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(245,158,11,0.3);
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(245,158,11,0.4);
    color: var(--primary);
}
.btn-outline-primary {
    border: 2px solid var(--primary); color: var(--primary);
    padding: 1rem 2rem; border-radius: 50px; font-weight: 600;
    transition: all 0.3s;
}
.btn-outline-primary:hover {
    background: var(--primary); color: #fff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #fffbeb 50%, #fef3c7 100%);
    position: relative; overflow: hidden;
    display: flex; align-items: center;
    padding-top: 100px; padding-bottom: 60px;
}
.hero-section::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px; background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
    border-radius: 50%; animation: float 6s ease-in-out infinite;
}
.hero-section::after {
    content: ''; position: absolute; bottom: -30%; left: -10%;
    width: 400px; height: 400px; background: radial-gradient(circle, rgba(11,31,77,0.08) 0%, transparent 70%);
    border-radius: 50%; animation: float 8s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.hero-title span { color: var(--accent); position: relative; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; line-height: 1.8; max-width: 500px; }

/* Glassmorphism Card */
.glass-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(11,31,77,0.1);
    position: relative; overflow: hidden;
}
.glass-card::before {
    content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: var(--gradient-accent); z-index: -1; border-radius: var(--radius-xl);
    opacity: 0.3;
}

/* Form Controls */
.form-control-premium {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: #fff;
}
.form-control-premium:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(245,158,11,0.15);
    outline: none;
}
.form-label-premium {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}
.form-select-premium {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.9rem 1.2rem;
    appearance: auto;
}

/* Sections */
.section { padding: 5rem 0; }
.section-bg { background: var(--bg-soft); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--primary);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.section-header p { color: var(--text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Cards */
.card-premium {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}
.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}
.card-premium .card-body { padding: 1.5rem; }
.card-premium .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.card-premium .card-text { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.rate-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Feature Icons */
.feature-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--accent);
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}
.card-premium:hover .feature-icon { transform: scale(1.1) rotate(5deg); }

/* Offer Table */
.offer-table-container {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.offer-table { width: 100%; border-collapse: collapse; margin: 0; }
.offer-table thead th {
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
    border: none;
}
.offer-table tbody td { padding: 1.2rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.offer-table tbody tr { transition: all 0.3s; }
.offer-table tbody tr:hover { background: var(--bg-soft); }
.offer-img { width: 50px; height: 40px; object-fit: contain; border-radius: var(--radius-sm); }
.offer-name { font-weight: 700; color: var(--primary); font-size: 0.95rem; }
.offer-bank { font-size: 0.8rem; color: var(--text-light); }
.offer-rate { font-size: 1.2rem; font-weight: 800; color: var(--secondary-accent); }
.btn-apply {
    background: var(--gradient-accent);
    color: var(--primary);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s;
}
.btn-apply:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(245,158,11,0.4); color: var(--primary); }
.btn-details {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Swiper */
.swiper-button-next, .swiper-button-prev {
    width: 50px; height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1.2rem; font-weight: 700; }
.swiper-pagination-bullet-active { background: var(--accent); }

/* Calculator */
.calculator-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.calculator-card h4 { color: var(--primary); margin-bottom: 1.5rem; font-size: 1.3rem; }
.range-slider { margin-bottom: 1.5rem; }
.range-slider label { font-weight: 600; color: var(--primary); font-size: 0.9rem; display: block; margin-bottom: 0.5rem; }
.range-slider input[type="range"] { width: 100%; height: 6px; border-radius: 3px; background: var(--border); outline: none; -webkit-appearance: none; }
.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 20px; height: 20px;
    background: var(--gradient-accent); border-radius: 50%; cursor: pointer; box-shadow: 0 2px 6px rgba(245,158,11,0.4);
}
.result-box {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}
.result-label { color: var(--text-light); font-size: 0.85rem; margin-bottom: 0.5rem; }
.result-value { font-size: 2rem; font-weight: 800; color: var(--primary); }

/* Glass Cards */
.card-glass {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s;
}
.card-glass:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: rgba(255,255,255,0.95);
}

/* Marquee */
.partner-marquee {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.partner-logo {
    height: 40px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s;
}
.partner-logo:hover { opacity: 1; filter: grayscale(0%); }

/* Stats */
.stat-box { text-align: center; padding: 2rem; }
.stat-number { font-size: 3rem; font-weight: 800; color: var(--primary); display: block; }
.stat-label { color: var(--text-light); font-size: 0.9rem; }

/* Reviews */
.review-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--border);
}
.review-text { font-style: italic; color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.8; }
.review-author { font-weight: 700; color: var(--primary); }
.review-role { font-size: 0.85rem; color: var(--text-muted); }

/* CTA Banner */
.cta-banner {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(245,158,11,0.3) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-banner h2 { color: #fff; font-size: 2.2rem; }
.cta-banner p { color: rgba(255,255,255,0.8); }

/* FAQ */
.accordion-item {
    border: none;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.5rem;
}
.accordion-button {
    font-weight: 600;
    color: var(--primary);
    background: transparent;
    padding: 1.2rem 0;
    font-size: 1.05rem;
    box-shadow: none;
}
.accordion-button:not(.collapsed) {
    color: var(--primary);
    background: transparent;
    box-shadow: none;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230B1F4D'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.accordion-body { padding: 0 0 1.5rem 0; color: var(--text-light); line-height: 1.8; }

/* Blog */
.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s;
    height: 100%;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.blog-card-img { height: 220px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.1); }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { display: flex; gap: 1rem; margin-bottom: 0.75rem; font-size: 0.8rem; color: var(--text-muted); }
.blog-card-title { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; line-height: 1.4; }
.blog-card-text { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.6; }
.blog-card-link { color: var(--accent); font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.blog-card-link:hover { color: var(--accent-hover); }
.blog-card-link i { transition: transform 0.3s; }
.blog-card:hover .blog-card-link i { transform: translateX(5px); }

/* Footer */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    padding-top: 4rem;
}
.footer h5 { color: #fff; font-size: 1.1rem; margin-bottom: 1.5rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-links a::before { content: '›'; color: var(--accent); font-weight: 700; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact p { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; }
.footer-contact i { color: var(--accent); margin-top: 3px; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; transition: all 0.3s;
}
.footer-social a:hover { background: var(--accent); color: var(--primary); transform: translateY(-3px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* Page Header */
.page-header {
    background: var(--gradient-mesh);
    padding: 8rem 0 4rem;
    position: relative; overflow: hidden;
}
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; }
.breadcrumb-nav {
    display: flex; align-items: center; gap: 0.75rem;
    color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 1.5rem;
}
.breadcrumb-nav a { color: var(--accent); }
.breadcrumb-nav i { font-size: 0.6rem; color: rgba(255,255,255,0.5); }

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; padding: 0.75rem 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 999; border-top: 1px solid var(--border);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed; bottom: 100px; right: 20px;
    width: 60px; height: 60px;
    background: #25D366; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 998; transition: all 0.3s;
    text-decoration: none;
}
.floating-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
    color: #fff;
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

/* Alerts */
.alert-premium {
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    font-weight: 500;
}

/* Loading Spinner */
.spinner-premium {
    width: 20px; height: 20px;
    border: 3px solid rgba(245,158,11,0.3);
    border-top-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Empty States */
.coming-soon-section {
    text-align: center; padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--bg-soft), #fff);
    border-radius: var(--radius-xl);
    border: 2px dashed var(--border);
}
.coming-soon-icon {
    font-size: 4rem; color: var(--accent); margin-bottom: 1.5rem;
    display: inline-block; animation: float 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-section { padding-top: 80px; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .section { padding: 3rem 0; }
    .navbar-collapse { background: #fff; padding: 1rem; border-radius: var(--radius-lg); margin-top: 1rem; box-shadow: var(--shadow-lg); }
}
@media (max-width: 767.98px) {
    .sticky-mobile-cta { display: block; }
    .floating-whatsapp { bottom: 80px; }
    .offer-table { font-size: 0.85rem; }
    .offer-img { width: 40px; height: 30px; }
    .hero-title { font-size: 2rem; }
    .partner-marquee { gap: 2rem; }
    .stat-number { font-size: 2rem; }
}
@media (max-width: 575.98px) {
    .glass-card { padding: 1.5rem; }
    .cta-banner { padding: 2rem 1rem; }
    .cta-banner h2 { font-size: 1.5rem; }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }