/* ==========================================================================
   PR FinHub Service Private Limited - KredSetu Light White Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-white: #ffffff;
    --bg-offwhite: #f8fafc;
    --bg-card: #ffffff;
    
    /* Metallic Palette matching pr_logo */
    --accent-primary: #0b5d7a;     /* Metallic Teal */
    --accent-secondary: #c86428;   /* Metallic Copper */
    --accent-teal-light: #0d769c;
    --accent-copper-light: #d97724;
    --accent-gold: #d97706;        /* Warm Gold */
    --accent-emerald: #10b981;     /* Success Green */
    
    --text-dark: #0f172a;          /* Slate Dark */
    --text-muted: #64748b;         /* Slate Muted */
    
    --border-light: rgba(15, 23, 42, 0.08);
    --border-accent: rgba(11, 93, 122, 0.18);
    
    --soft-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    --hover-shadow: 0 20px 40px rgba(11, 93, 122, 0.12);
    --glow-shadow: 0 12px 30px rgba(11, 93, 122, 0.25);
    
    --bar-h: 38px;
    --lsp-h: 38px;
    --nav-h: 68px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--bar-h) + var(--lsp-h) + var(--nav-h) + 20px);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR & LSP DISCLOSURE STRIP
   ========================================================================== */

.announcement-bar {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-teal-light), var(--accent-secondary));
    color: #ffffff;
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1040;
    height: var(--bar-h);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.announcement-bar .dot {
    opacity: 0.6;
    margin: 0 10px;
}

.lsp-strip {
    position: fixed;
    top: var(--bar-h);
    left: 0; right: 0;
    z-index: 1030;
    background: #fffbeb;
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
    color: #92400e;
    font-size: 12px;
    padding: 7px 0;
    height: var(--lsp-h);
    display: flex;
    align-items: center;
}

.lsp-strip-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.lsp-badge {
    background: var(--accent-gold);
    color: #ffffff;
    font-weight: 800;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* ==========================================================================
   FLOATING GLASS NAVBAR
   ========================================================================== */

.glass-nav {
    position: fixed;
    top: calc(var(--bar-h) + var(--lsp-h));
    left: 0; right: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.glass-nav.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.brand-logo {
    height: 62px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 10px rgba(11, 93, 122, 0.12));
}

.brand-logo:hover {
    transform: scale(1.04);
}

.nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin-left: 22px;
    color: var(--text-muted) !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: var(--accent-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

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

/* ==========================================================================
   BUTTONS & GRADIENTS
   ========================================================================== */

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-teal-light) 45%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-premium {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-teal-light) 50%, var(--accent-secondary) 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 32px;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(11, 93, 122, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 35px rgba(200, 100, 40, 0.35);
    color: #ffffff !important;
}

.btn-outline-premium {
    background: #ffffff;
    color: var(--accent-primary) !important;
    border: 2px solid var(--accent-primary);
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 11px 28px;
    transition: all 0.3s ease;
    box-shadow: var(--soft-shadow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-premium:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 12px 25px rgba(11, 93, 122, 0.25);
    transform: translateY(-2px);
}

/* ==========================================================================
   FULL PAGE COVER HERO BANNER SLIDER
   ========================================================================== */

.hero-slider-section {
    padding-top: calc(var(--bar-h) + var(--lsp-h) + var(--nav-h) + 16px);
    padding-bottom: 24px;
}

.hero-slider-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 93, 122, 0.12);
    border: 1px solid var(--border-accent);
    position: relative;
    background: #ffffff;
}

.hero-slider-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 20px;
}

.slider-glass-btn {
    width: 46px;
    height: 46px;
    background: rgba(11, 93, 122, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.slider-glass-btn:hover {
    background: var(--accent-secondary);
    border-color: #ffffff;
    transform: scale(1.15);
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.carousel-indicators .active {
    width: 28px;
    border-radius: 12px;
    background-color: var(--accent-primary);
}

/* ==========================================================================
   VERTICAL STICKY SCROLL STACKING CARDS (BOTTOM TO TOP SCROLL)
   ========================================================================== */

.vertical-stack-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.sticky-step-card {
    position: sticky;
    background: #ffffff;
    border: 1px solid var(--border-accent);
    border-radius: 28px;
    padding: 42px 36px;
    box-shadow: 0 20px 50px rgba(11, 93, 122, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    margin-bottom: 40px;
}

.sticky-step-card:hover {
    box-shadow: 0 25px 60px rgba(200, 100, 40, 0.18);
}

/* Stacking z-indexes & top offsets for sticky scroll stack */
.step-card-1 { z-index: 1; top: calc(var(--bar-h) + var(--lsp-h) + var(--nav-h) + 20px); }
.step-card-2 { z-index: 2; top: calc(var(--bar-h) + var(--lsp-h) + var(--nav-h) + 45px); }
.step-card-3 { z-index: 3; top: calc(var(--bar-h) + var(--lsp-h) + var(--nav-h) + 70px); }
.step-card-4 { z-index: 4; top: calc(var(--bar-h) + var(--lsp-h) + var(--nav-h) + 95px); }

.step-num-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(11, 93, 122, 0.3);
}

/* ==========================================================================
   HERO SECTION & FLOATING ADVANCED EMI CALCULATOR
   ========================================================================== */

.hero {
    position: relative;
    padding-top: 30px;
    padding-bottom: 70px;
    background: radial-gradient(circle at 80% 20%, rgba(11, 93, 122, 0.05) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(200, 100, 40, 0.05) 0%, transparent 60%);
}

.pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 93, 122, 0.08);
    border: 1px solid rgba(11, 93, 122, 0.2);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(38px, 4.8vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* ==========================================================================
   ADVANCED 3-SLIDER CALCULATOR
   ========================================================================== */

.advanced-calc-card {
    background: #ffffff;
    border: 1px solid var(--border-accent);
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 20px 60px rgba(11, 93, 122, 0.1);
}

.slider-box {
    background: var(--bg-offwhite);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 18px;
}

input[type=range].custom-range {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    appearance: none;
    outline: none;
    cursor: pointer;
}

input[type=range].custom-range::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px rgba(11, 93, 122, 0.4);
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease;
}

input[type=range].custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.calc-breakdown-box {
    background: linear-gradient(135deg, rgba(11, 93, 122, 0.04), rgba(200, 100, 40, 0.04));
    border: 1px solid rgba(11, 93, 122, 0.15);
    border-radius: 20px;
    padding: 24px;
}

.breakdown-item-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.breakdown-item-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-primary);
}

.breakdown-item-val.sub {
    font-size: 17px;
    color: var(--text-dark);
}

/* ==========================================================================
   LOAN COMPARISON TABLE SECTION
   ========================================================================== */

.comparison-table-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
}

.table-custom {
    margin: 0;
    width: 100%;
}

.table-custom th {
    background: var(--accent-primary);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 16px 20px;
    border: none;
}

.table-custom td {
    padding: 18px 20px;
    vertical-align: middle;
    font-size: 14px;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.table-custom tbody tr:hover {
    background-color: rgba(11, 93, 122, 0.02);
}

/* ==========================================================================
   SMART BORROWING GUIDE & SECURITY GUARANTEE CARDS
   ========================================================================== */

.guide-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    box-shadow: var(--soft-shadow);
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
}

/* ==========================================================================
   WHO CAN APPLY & DOCUMENTS REQUIRED
   ========================================================================== */

.eligibility-box {
    background: var(--bg-offwhite);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
}

.eligibility-box:hover {
    background: #ffffff;
    border-color: var(--border-accent);
    box-shadow: 0 4px 15px rgba(11, 93, 122, 0.08);
    transform: translateX(4px);
}

.eligibility-box i {
    font-size: 18px;
    color: var(--accent-emerald);
    flex-shrink: 0;
}

.eligibility-box span {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.doc-card {
    background: #ffffff;
    border: 1px solid var(--border-accent);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.doc-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.doc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
}

.applicant-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 24px;
}

.applicant-img-wrapper img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   MARQUEE TICKER BAR
   ========================================================================== */

.ticker-bar {
    background: var(--bg-offwhite);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px 0;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}

.ticker-set {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-right: 40px;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.ticker-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-secondary);
    border-radius: 50%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.accordion-item {
    border: 1px solid var(--border-light);
    border-radius: 16px !important;
    margin-bottom: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.accordion-button {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
    padding: 20px 24px;
    background: #ffffff;
}

.accordion-button:not(.collapsed) {
    color: var(--accent-primary);
    background: var(--bg-offwhite);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--accent-primary);
}

.accordion-body {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    padding: 20px 24px;
    background: #ffffff;
}

/* ==========================================================================
   SECTIONS & CARDS
   ========================================================================== */

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.section-offwhite {
    background-color: var(--bg-offwhite);
}

.section-tag {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--accent-primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(30px, 3.8vw, 44px);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 36px 28px;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--soft-shadow);
    position: relative;
}

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

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(11, 93, 122, 0.08), rgba(200, 100, 40, 0.08));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--accent-primary);
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.glass-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #ffffff;
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 10px 20px rgba(11, 93, 122, 0.2);
}

.premium-input {
    background: var(--bg-offwhite);
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-dark);
    border-radius: 14px;
    padding: 15px 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.premium-input:focus {
    background: #ffffff;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(11, 93, 122, 0.12);
    outline: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--bg-white);
    border-top: 1px solid rgba(0,0,0,0.06);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-teal-light), var(--accent-secondary));
}

.footer-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 4px 10px rgba(11, 93, 122, 0.12));
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-offwhite);
    color: var(--text-dark);
    font-size: 1.1rem;
    transition: all 0.35s ease;
    border: 1px solid rgba(0,0,0,0.06);
}

.social-btn:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(11, 93, 122, 0.2);
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.94);
    transition: all 0.7s ease;
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 992px) {
    :root {
        --bar-h: 42px;
        --lsp-h: 52px;
    }
    .lsp-strip {
        font-size: 11px;
    }
    .announcement-bar {
        font-size: 12px;
    }
    .brand-logo {
        height: 50px;
    }
    .hero-slider-section {
        padding-top: calc(var(--bar-h) + var(--lsp-h) + var(--nav-h) + 16px);
    }
    .hero-slider-img {
        height: 280px;
        object-fit: cover;
        object-position: top center;
    }
    .advanced-calc-card {
        padding: 24px;
    }
    .sticky-step-card {
        padding: 28px 20px;
        position: relative;
        top: 0 !important;
        margin-bottom: 20px;
    }
    .step-num-circle {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }
}