/* ============================
   Credit Connects — Premium UI
   ============================*/

/* --- Variables --- */
:root {
    --bg: #04050e;
    --bg2: #07081a;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-heavy: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-border-hover: rgba(255, 255, 255, 0.18);
    --accent-blue: #3d5afe;
    --accent-purple: #7c3aed;
    --accent-pink: #e84393;
    --text: #f4f4f5;
    --muted: #8e9aaf;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 35px 70px rgba(0, 0, 0, 0.6);
    --glow-blue: 0 0 40px rgba(61, 90, 254, 0.2);
    --glow-purple: 0 0 40px rgba(124, 58, 237, 0.2);
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    /* Subtle radial ambient glow in background */
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 10%, rgba(61, 90, 254, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(124, 58, 237, 0.07) 0%, transparent 60%);
    background-attachment: fixed;
    /* Page load fade-in — ONLY opacity, no transform (transform on body breaks position:fixed children) */
    animation: page-load 0.6s ease both;
}

@keyframes page-load {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* --- Background Particles --- */
#bg-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(100, 120, 255, 0.15);
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* --- Ambient Glow Orbs (decorative, fixed) --- */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(120px);
    opacity: 0.5;
}

body::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(61, 90, 254, 0.18) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: orb-drift1 20s ease-in-out infinite alternate;
}

body::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.14) 0%, transparent 70%);
    bottom: 5%;
    right: -80px;
    animation: orb-drift2 25s ease-in-out infinite alternate;
}

@keyframes orb-drift1 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(80px, 120px);
    }
}

@keyframes orb-drift2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-60px, -90px);
    }
}

/* --- Blog Specific Layout --- */
.blog-page {
    background-attachment: scroll;
}

/* Better for long articles */
.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.blog-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--glass-border);
}

.blog-section:last-of-type {
    border-bottom: none;
}

.blog-section h2 {
    margin-bottom: 40px;
    text-align: left;
}

/* --- Blog Hero --- */
.blog-hero {
    text-align: center;
    margin-bottom: 80px;
}

.blog-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin: 20px 0;
}

.intro-text {
    font-size: 1.25rem;
    color: var(--text);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 40px;
}

.blog-cta-intro {
    min-width: 300px;
    justify-content: center;
}

/* --- Blog Cards --- */
.blog-card-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.blog-card-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.blog-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}

/* --- Updated Blog Card Icons --- */
.blog-card-icon-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: perspective(1000px) rotateX(10deg) rotateY(-10deg);
    cursor: pointer;
    overflow: visible;
}

.icon-glow-bg {
    position: absolute;
    inset: -4px;
    background: radial-gradient(circle, var(--icon-color, var(--accent-purple)) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(8px);
    z-index: -1;
    transition: all 0.4s ease;
}

.blog-card-icon-wrap svg {
    width: 26px;
    height: 26px;
    stroke: var(--icon-color, white);
    stroke-width: 1.5px;
    fill: none;
    filter: drop-shadow(0 0 8px var(--icon-color, transparent));
    transition: all 0.4s ease;
}

.blog-card-item:hover .blog-card-icon-wrap {
    transform: perspective(1000px) rotateX(0) rotateY(0) scale(1.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.4),
        0 0 20px var(--icon-color, transparent);
}

.blog-card-item:hover .icon-glow-bg {
    opacity: 0.5;
    transform: scale(1.2);
}

.blog-card-item:hover .blog-card-icon-wrap svg {
    transform: scale(1.1);
    stroke-width: 2px;
}

/* Specific Icon Colors */
.axis-icon { --icon-color: #ff3df0; }   /* Pinkish Purple */
.hdfc-icon { --icon-color: #3d5afe; }   /* Blue */
.sbi-icon { --icon-color: #00d2ff; }    /* Cyan */
.kiwi-icon { --icon-color: #3dfebc; }   /* Mint/Green */
.idfc-icon { --icon-color: #7c3aed; }   /* Deep Purple */
.yes-icon { --icon-color: #1e40af; }    /* Dark Blue */


.blog-card-header h3 {
    font-size: 1.8rem;
}

.blog-card-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(61, 90, 254, 0.15);
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.blog-card-desc {
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.blog-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 35px;
}

.blog-card-perks h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: white;
}

.blog-card-perks ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-card-perks li {
    font-size: 0.95rem;
    color: var(--muted);
    position: relative;
    padding-left: 24px;
}

.blog-card-perks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 800;
}

.blog-card-pros-cons .pc-group {
    margin-bottom: 15px;
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
}

.blog-card-pros-cons strong {
    color: white;
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* --- Comparison Table --- */
.table-scroll-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: var(--glass);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-weight: 700;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td {
    color: var(--muted);
    font-size: 0.95rem;
}

/* --- Verdict Grid --- */
.verdict-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.verdict-item {
    padding: 24px;
    border-radius: var(--radius-md);
    background: rgba(61, 90, 254, 0.05);
    border: 1px solid rgba(61, 90, 254, 0.1);
}

.verdict-item h4 {
    color: var(--accent-blue);
    margin-bottom: 8px;
    font-size: 1.15rem;
}

/* --- Final CTA --- */
.blog-final-cta {
    text-align: center;
    padding: 100px 40px;
    background: linear-gradient(135deg, rgba(61, 90, 254, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: var(--radius-xl);
    margin-top: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.blog-final-cta p {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.final-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


/* --- Layout Wrapper --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- Typography --- */
h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
}

Section h2,
.section-head h2 {
    /* Subtle ghost glow on headings */
    text-shadow: 0 0 60px rgba(61, 90, 254, 0.2);
}

h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

p {
    color: var(--muted);
    line-height: 1.7;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(61, 90, 254, 0.3);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(61, 90, 254, 0.45);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 8px 20px rgba(61, 90, 254, 0.35);
}

.btn-primary.large {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-primary.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
    margin-top: 30px;
    justify-content: center;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 16px 28px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-ghost:active {
    transform: translateY(0) scale(0.98);
}

.btn-ghost.large {
    font-size: 1.1rem;
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(61, 90, 254, 0.35);
    white-space: nowrap;
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 36px rgba(61, 90, 254, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.btn-glow:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-glow.full-btn {
    width: 100%;
    justify-content: center;
    padding: 18px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-outline-sm {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-outline-sm:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-outline-sm:active {
    transform: scale(0.97);
}

/* --- Navbar --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 24px;
    transition: all var(--transition);
}

#navbar.scrolled {
    background: rgba(4, 5, 14, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    white-space: nowrap;
}

.logo span {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    gap: 28px;
    margin-left: auto;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    transition: width var(--transition);
    border-radius: 10px;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    margin-left: 16px;
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* --- Reveal Animations --- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.visible,
.reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* ==================
   HERO SECTION
   ================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    max-width: 100%;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(61, 90, 254, 0.1);
    border: 1px solid rgba(61, 90, 254, 0.25);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.hero-text h1 {
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Credit Card Visual --- */
.hero-card-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 360px;
}

.credit-card {
    width: 370px;
    height: 230px;
    border-radius: var(--radius-xl);
    padding: 28px 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.1s ease-out;
    z-index: 3;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.card-dark {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Shimmer effect */
.card-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }

    100% {
        transform: translateX(100%) translateY(100%);
    }
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.card-logo span {
    color: var(--accent-blue);
}

.card-network {
    font-size: 1.5rem;
    letter-spacing: -8px;
    opacity: 0.7;
}

.card-chip {
    width: 42px;
    height: 32px;
    background: linear-gradient(135deg, #d4af37, #f0d060, #d4af37);
    border-radius: 6px;
    margin: 4px 0;
}

.card-num {
    font-family: 'Outfit', monospace;
    font-size: 1.05rem;
    letter-spacing: 3px;
    font-weight: 500;
}

.card-bottom {
    display: flex;
    gap: 32px;
}

.card-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.card-val {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Ghost cards for depth */
.ghost-card {
    position: absolute;
    width: 370px;
    height: 230px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
}

.ghost-1 {
    transform: translateX(15px) translateY(15px) scale(0.97);
    z-index: 2;
}

.ghost-2 {
    transform: translateX(30px) translateY(30px) scale(0.94);
    z-index: 1;
}

/* --- Section Glow Divider --- */
.section-head h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-head h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    box-shadow: 0 0 12px rgba(61, 90, 254, 0.6), 0 0 24px rgba(124, 58, 237, 0.3);
}

/* --- Card Shine Layer --- */
.card-shine {
    position: absolute;
    inset: 0;
    background: radial-gradient(700px circle at var(--mx, 50%) var(--my, 50%),
            rgba(255, 255, 255, 0.14),
            transparent 40%);
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

/* Glassy highlight on top-left */
.card-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.01) 40%,
            transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.card-item:hover .card-shine,
.credit-card:hover .card-shine {
    opacity: 1;
}

/* ==================
   STATS BAR
   ================== */
.stats-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--glass-border);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md), var(--glow-blue);
}

.stat-item {
    background: var(--glass-heavy);
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    transition: background var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Soft glow behind the number */
    filter: drop-shadow(0 0 12px rgba(61, 90, 254, 0.35));
}

.stat-label {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 4px;
}

/* ==================
   SECTION HEADER
   ================== */
.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head h2 {
    margin-bottom: 12px;
}

.section-head p {
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ==================
   CARDS GRID
   ================== */
.cards-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* --- Card Item Base --- */
.card-item {
    border-radius: var(--radius-xl);
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: linear-gradient(160deg,
            rgba(255, 255, 255, 0.07) 0%,
            rgba(255, 255, 255, 0.02) 40%,
            rgba(0, 0, 0, 0.05) 100%);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    /* Multi-layer shadows for depth */
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition:
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
    cursor: pointer;
    z-index: 1;
}

.card-item:hover {
    transform: perspective(1000px) translateY(-10px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    z-index: 10;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        var(--card-glow, 0 0 20px transparent);
}


/* Card color accents */
.card-axis {
    border-top: 2px solid rgba(176, 18, 88, 0.8);
}

.card-axis:hover {
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 25px 55px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(176, 18, 88, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-hdfc {
    border-top: 2px solid rgba(0, 75, 147, 0.9);
}

.card-hdfc:hover {
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 25px 55px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 75, 147, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-sbi {
    border-top: 2px solid rgba(26, 107, 212, 0.9);
}

.card-sbi:hover {
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 25px 55px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(26, 107, 212, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-idfc {
    border-top: 2px solid rgba(239, 68, 68, 0.8);
}

.card-idfc:hover {
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 25px 55px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-yes {
    border-top: 2px solid rgba(30, 58, 138, 0.9);
}

.card-yes:hover {
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 25px 55px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(30, 58, 138, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-kiwi {
    border-top: 2px solid rgba(16, 185, 129, 0.8);
}

.card-kiwi:hover {
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 25px 55px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Card badge */
.card-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Card brand row */
.card-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.cb-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* --- Bank Icon Color Tokens (Legacy Backgrounds Removed) --- */

.cb-name {
    font-weight: 700;
    font-size: 1.05rem;
}

.cb-sub {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 2px;
}

/* Card perks */
.card-perks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
}

.card-perks span {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.2px;
}

.card-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 6px;
}

/* === HERO CARD — Extra richness === */
.credit-card.card-dark {
    /* Richer gradient with a third deeper stop */
    background: linear-gradient(145deg,
            #0a0825 0%,
            #1a1550 35%,
            #302b63 65%,
            #1c1a3a 100%);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 80px rgba(61, 90, 254, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Glowing bottom strip on hero card */
.credit-card.card-dark::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(61, 90, 254, 0.6), rgba(124, 58, 237, 0.6), transparent);
    border-radius: 0 0 32px 32px;
}

/* ==================
   CONTACT / LEAD FORM
   ================== */
.lead-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    position: relative;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 40px 80px rgba(0, 0, 0, 0.4),
        var(--glow-blue),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    /* Subtle top shimmer stripe */
    overflow: hidden;
}

.lead-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    pointer-events: none;
}

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

.field-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 8px;
}

.field-group input,
.field-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all var(--transition);
    box-sizing: border-box;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
}

.field-group input:focus,
.field-group select:focus {
    border-color: var(--accent-blue);
    background: rgba(61, 90, 254, 0.06);
    box-shadow: 0 0 0 3px rgba(61, 90, 254, 0.18), inset 0 2px 6px rgba(0, 0, 0, 0.1);
}

.field-group select option {
    background: #0f1020;
    color: var(--text);
}

.form-trust {
    text-align: center;
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--muted);
}

/* Success screen */
#success-screen {
    text-align: center;
    padding: 40px 20px;
}

.success-icon-wrap {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
    color: white;
    box-shadow: 0 10px 30px rgba(61, 90, 254, 0.4);
    animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pop-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#success-screen h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

#success-screen p {
    max-width: 380px;
    margin: 0 auto;
}

/* ==================
   FOOTER
   ================== */
footer {
    text-align: center;
    padding: 50px 24px;
    border-top: 1px solid var(--glass-border);
    color: var(--muted);
    font-size: 0.9rem;
}

footer .footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

footer .footer-logo span {
    color: var(--accent-blue);
}

/* ==================
   MODAL
   ================== */

/* --- OVERLAY: pure full-screen dark background --- */
#modal-overlay {
    /* Covers entire viewport as a background dimmer */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark blurred background */
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    /* Above everything including navbar (z-index: 100) */
    z-index: 9998;
    /* Hidden by default — no clicks pass through */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

#modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* --- MODAL BOX: independently centered in viewport --- */
/* Uses position:fixed directly so it is ALWAYS relative to the
   viewport, never affected by any parent transform or overflow.    */
.modal-box {
    /* INDEPENDENT fixed positioning — centered with translate trick */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    /* Sit one level above the overlay */
    z-index: 9999;
    /* Sizing */
    width: calc(100% - 40px);
    max-width: 560px;
    max-height: calc(100vh - 40px);
    /* Layout */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Appearance */
    background: linear-gradient(145deg,
            rgba(10, 11, 28, 0.98) 0%,
            rgba(5, 6, 20, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-xl);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.5),
        0 28px 72px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 60px rgba(61, 90, 254, 0.2);
    /* Hidden by default — matches overlay timing */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Smooth open/close animation — Desktop focus */
    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease,
        visibility 0.3s ease;
}

/* Drag handle for mobile swipe */
.modal-drag-handle {
    display: none;
    width: 40px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 12px auto 0;
    flex-shrink: 0;
}

/* Top edge gloss line */
.modal-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    pointer-events: none;
    z-index: 2;
}

/* Fully visible + snapped to center when overlay is active */
#modal-overlay.active .modal-box {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.modal-top {
    padding: 24px 28px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-top h3 {
    font-size: 1.3rem;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, white, var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
}

#modal-close:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: rotate(90deg);
}

#modal-body {
    padding: 24px 28px;
    overflow-y: auto;
}

.modal-cta {
    padding: 20px 28px;
    border-top: 1px solid var(--glass-border);
}

/* Modal Content Styles */
.m-trust {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 184, 148, 0.07);
    border: 1px dashed rgba(0, 184, 148, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.m-trust-item {
    font-size: 0.82rem;
    color: #00b894;
    font-weight: 600;
}

.m-social {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.m-social strong {
    color: var(--accent-blue);
}

.m-urgency {
    background: rgba(232, 67, 147, 0.1);
    color: #e84393;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.m-benefits-label {
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.m-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.m-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.m-elig {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 18px;
}

.m-elig-title {
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.m-elig-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.m-elig-item span {
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
    margin-bottom: 2px;
}

.m-elig-item strong {
    font-size: 0.9rem;
}

/* ==================
   SCROLL LOCK
   ================== */
body.modal-open {
    overflow: hidden;
    /* Prevent layout shift from scrollbar disappearing */
    padding-right: var(--scrollbar-width, 0px);
}

/* ==================
   RESPONSIVE
   ================== */
@media (max-width: 1024px) {
    .cards-stack {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 20px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-text p {
        margin: 0 auto 36px;
    }

    .hero-card-wrap {
        height: 260px;
    }

    .credit-card {
        width: 295px;
        height: 185px;
        padding: 20px 22px;
    }

    .card-num {
        font-size: 0.82rem;
        letter-spacing: 2px;
    }

    .card-logo {
        font-size: 0.85rem;
    }

    .ghost-card {
        width: 295px;
        height: 185px;
    }

    .cards-stack {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .lead-form-wrap {
        padding: 28px 20px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: none;
    }

    .m-elig-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Modal responsive — Bottom Sheet on Mobile */
    .modal-box {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        transform: translateY(100%);
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        border-radius: 24px 24px 0 0;
        margin: 0;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    }

    #modal-overlay.active .modal-box {
        transform: translateY(0);
        opacity: 1;
    }

    .modal-drag-handle {
        display: block;
    }

    .modal-top {
        padding: 12px 20px 18px;
    }

    #modal-body {
        padding: 18px 20px;
    }

    .modal-cta {
        padding: 14px 20px 30px;
    }

    /* Extra bottom padding for home indicator */
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .hero-card-wrap {
        height: 220px;
    }

    .credit-card,
    .ghost-card {
        width: 265px;
    }

    .credit-card {
        height: 170px;
        padding: 18px 20px;
    }

    .ghost-card {
        height: 170px;
    }

    .card-num {
        font-size: 0.78rem;
        letter-spacing: 1.5px;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .card-actions {
        flex-direction: column;
    }

    .btn-glow {
        width: 100%;
        justify-content: center;
    }

    .btn-outline-sm {
        width: 100%;
        text-align: center;
    }

    /* Disable heavy blur on mobile for performance */
    .lead-form-wrap,
    #navbar.scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(5, 6, 15, 0.95);
    }
}

/* ==========================
   APPLY TRANSITION OVERLAY
   ========================== */
#apply-transition {
    position: fixed;
    inset: 0;
    z-index: 20000;
    /* Above everything */
    background: rgba(4, 5, 14, 0.9);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

#apply-transition.active {
    opacity: 1;
    visibility: visible;
}

.transition-container {
    text-align: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 60px 40px;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 400px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#apply-transition.active .transition-container {
    transform: translateY(0);
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid var(--accent-blue);
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
}

.transition-message {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.progress-bar-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    border-radius: 100px;
}

#apply-transition.active .progress-bar-fill {
    animation: fill-progress 1.5s linear forwards;
}

.transition-sub {
    font-size: 0.85rem;
    color: var(--muted);
    letter-spacing: 0.5px;
}

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

@keyframes fill-progress {
    100% {
        width: 100%;
    }
}

/* ==================
   EXIT INTENT POPUP
   ================== */
#exit-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(4, 5, 14, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#exit-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.exit-box {
    width: 90%;
    max-width: 500px;
    background: linear-gradient(145deg, #161b33 0%, #0a0e21 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 60px 40px 50px;
    text-align: center;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(61, 90, 254, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#exit-overlay.active .exit-box {
    transform: scale(1) translateY(0);
}

#exit-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.4rem;
    transition: color 0.2s ease;
}

#exit-close:hover {
    color: white;
}

.exit-emoji {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.exit-box h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, #8e9aaf);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.exit-box p {
    font-size: 1rem;
    margin-bottom: 32px;
    color: var(--muted);
}

#exit-cta {
    width: 100%;
}

@media (max-width: 768px) {
    .blog-container {
        padding: 100px 20px 60px;
    }

    .blog-card-grid {
        grid-template-columns: 1fr;
    }

    .verdict-grid {
        grid-template-columns: 1fr;
    }

    .blog-final-cta h2 {
        font-size: 2rem;
    }

    .blog-card-item {
        padding: 30px 20px;
    }
}

/* BLOG UI */

.container {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
}

h1 {
    font-size: 42px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #5f9cff, #d946ef);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    margin-top: 40px;
    font-size: 28px;
    color: #fff;
}

h3 {
    margin-top: 25px;
    color: #ddd;
}

/* CARD STYLE */
.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.blog-card:hover {
    transform: rotateY(6deg) rotateX(4deg) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* BUTTON */
.apply-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 22px;
    border-radius: 30px;
    background: linear-gradient(90deg, #5f9cff, #d946ef);
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.apply-btn:hover {
    opacity: 0.85;
}

/* TABLE */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

th,
td {
    padding: 12px;
    text-align: center;
}

th {
    background: rgba(255, 255, 255, 0.1);
}

tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ADVANCED 3D EFFECT */
.blog-card {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.blog-card:hover {
    transform: rotateY(6deg) rotateX(4deg) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* BUTTON GLOW EFFECT */
.apply-btn {
    position: relative;
    overflow: hidden;
}

.apply-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.apply-btn:hover::before {
    left: 100%;
}

/* IMAGE POLISH */
.card-img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.blog-card:hover .card-img {
    transform: scale(1.05);
}

.card-img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
}

.blog-card {
    margin-bottom: 30px;
}

.subtext {
    color: #aaa;
    font-size: 18px;
    margin-bottom: 20px;
}

/* BLOG SECTION */

.blog-section {
    padding: 60px 20px;
    text-align: center;
}

.blog-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.blog-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-box:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(61, 90, 254, 0.15);
}

.blog-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
    color: white;
    letter-spacing: -0.01em;
}

.blog-box p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Updated Apply Button in Blog Card */
.blog-box .apply-btn {
    width: fit-content;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 100px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.blog-box:hover .apply-btn {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(61, 90, 254, 0.3);
    transform: translateX(5px);
}

.bank-logo {
    width: 80px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}