/* 
   Talent Bloom Welfare Foundation - Ultra Premium Design System 
   Version: 2.6 (Restored Index Styles)
*/

:root {
    /* Colors - Brighter Maroon Theme */
    --primary-dark: #600000;
    --primary: #900020;
    /* Burgundy/Vibrant Maroon */
    --primary-light: #b30000;

    --secondary-dark: #B8860B;
    --secondary: #FFD700;
    --secondary-light: #FFFACD;

    --dark: #121212;
    --light: #fafafa;
    /* Lighter background */
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #900020 0%, #600000 100%);
    --gradient-gold: linear-gradient(45deg, #B8860B 0%, #FFD700 50%, #B8860B 100%);
    --gradient-dark: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing - Fluid for Mobile */
    --spacing-sm: clamp(0.75rem, 2vw, 1rem);
    --spacing-md: clamp(1.5rem, 3vw, 2rem);
    --spacing-lg: clamp(2.5rem, 5vw, 4rem);
    --spacing-xl: clamp(4rem, 8vw, 8rem);

    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 25px rgba(144, 0, 32, 0.3);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;

    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #0a0003;
}

body {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.2vw, 16px);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1400px;
    /* Wider container for modern look */
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-gold);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    color: var(--primary-dark);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-5px);
}

/* Navbar - Modern Floating Glass */
.navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    padding: 12px 30px;
    z-index: 1000;
    background: rgba(15, 5, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease-in-out;
}

.navbar.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border-color: transparent transparent rgba(255, 215, 0, 0.2) transparent;
    background: rgba(15, 5, 10, 0.98);
    padding: 10px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #FDB931);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #FFD700;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-primary.desktop-only {
    background: linear-gradient(135deg, #D4145A 0%, #FBB03B 100%);
    color: #ffffff;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 700;
    border: none;
    box-shadow: 0 5px 15px rgba(212, 20, 90, 0.3);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary.desktop-only:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 20, 90, 0.5);
    background: linear-gradient(135deg, #FBB03B 0%, #D4145A 100%);
    color: #ffffff;
}

.menu-toggle {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #FFD700;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background: #fff;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    background: #fff;
}

@media (max-width: 992px) {
    .navbar {
        top: 0;
        width: 100%;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/hero-bg.png') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(144, 0, 32, 0.8), rgba(18, 18, 18, 0.7));
    backdrop-filter: blur(4px);
    z-index: 1;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw + 1rem, 5.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(1.1rem, 2vw + 0.5rem, 1.5rem);
    opacity: 0.9;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
        width: 100%;
        text-align: center;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 5, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
        flex-direction: column;
        align-items: center;
        padding: 25px 0 30px;
        gap: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        transform: translateY(-150%);
        transition: var(--transition);
        opacity: 0;
        pointer-events: none;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    /* Fix for Mobile Join Mission Button */
    .nav-links .btn-primary {
        color: var(--white) !important;
        background: var(--gradient-primary);
        padding: 12px 30px;
        font-size: 1rem;
        width: 90%;
        margin: 10px auto 0;
    }

    .nav-links .btn-primary::after {
        display: none;
        /* Remove underline effect */
    }

    .nav-links .btn-primary:hover {
        color: var(--primary-dark) !important;
        transform: translateY(-5px);
        box-shadow: var(--shadow-glow);
    }

    .menu-toggle {
        display: block;
        flex-shrink: 0;
        /* Prevent shrinking */
        width: 30px;
        /* Fixed width */
        height: 20px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 20px;
        font-size: 1rem;
        width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Desktop Visibility Defaults */
.mobile-only {
    display: none;
}

/* Section Common */
.section-padding {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 30px;
}

.bento-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    padding: clamp(25px, 5vw, 40px);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), 0 0 15px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.6);
    background: rgba(255, 255, 255, 0.95);
}

.item-large {
    grid-column: span 1;
    grid-row: span 2;
    background: var(--gradient-primary);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.item-large:hover {
    background: linear-gradient(135deg, #a00000 0%, #700000 100%);
    box-shadow: var(--shadow-glow);
}

.item-large .bento-icon {
    color: var(--secondary);
}

.item-wide {
    grid-column: span 2;
}

.bento-icon {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--primary);
    margin-bottom: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-item:hover .bento-icon {
    transform: scale(1.15) rotate(5deg);
}

.bento-item h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin-bottom: 15px;
    font-weight: 800;
}

.bento-item p {
    opacity: 0.85;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.5;
}

/* Impact Section */
.bg-dark {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.bg-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(128, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.text-white {
    color: var(--white);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(15px, 3vw, 40px);
    position: relative;
    z-index: 1;
}

@media (max-width: 576px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.impact-card {
    text-align: center;
    padding: clamp(15px, 3vw, 30px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-glow);
}

.counter {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-card p {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsive Bento */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .item-large,
    .item-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Stylish Breadcrumb Area */
.stylish-breadcrumb-area {
    background: linear-gradient(135deg, #0a0104 0%, #1a050a 100%); /* Deep rich dark gradient */
    padding: 180px 0 100px; /* Padding for navbar offset */
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    text-align: center !important; /* Force center alignment */
}

.breadcrumb-glow-bg {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, rgba(220, 20, 60, 0.1) 40%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.stylish-page-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    text-transform: uppercase;
    text-align: center !important;
}

.stylish-page-title .text-glow {
    background: linear-gradient(135deg, #FFD700, #FFF8DC, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

.stylish-page-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
    letter-spacing: 0.5px;
}

.stylish-breadcrumb-pill {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.1);
    margin: 0 auto; /* Force centering horizontally */
}

.stylish-breadcrumb-pill .breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center; /* Ensure contents are centered */
}

.stylish-breadcrumb-pill .breadcrumb-list li {
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    margin: 0;
}

.stylish-breadcrumb-pill .breadcrumb-list li::before {
    display: none !important;
}

.stylish-breadcrumb-pill .breadcrumb-list li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stylish-breadcrumb-pill .breadcrumb-list li a:hover {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
}

.stylish-breadcrumb-pill .breadcrumb-list li.separator {
    color: rgba(255, 215, 0, 0.6);
    font-size: 1rem;
}

.stylish-breadcrumb-pill .breadcrumb-list li.active {
    color: #FFD700;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Premium Story Card */
.premium-story-card {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    background: linear-gradient(135deg, #0a0104, #1a050a); /* Solid Dark Background */
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.premium-story-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 215, 0, 0.08), transparent 60%);
    pointer-events: none;
}

.premium-story-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(255, 215, 0, 0.05);
}

.premium-story-card.reverse {
    flex-direction: row-reverse;
}

.premium-story-card.reverse::before {
    background: radial-gradient(circle at top right, rgba(220, 20, 60, 0.08), transparent 60%);
}

.story-content {
    flex: 1;
    position: relative;
    z-index: 2;
    text-align: left;
}

.story-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
}

.premium-story-card .section-title {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
}

.premium-story-card .story-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.story-quote {
    background: rgba(255, 215, 0, 0.05);
    border-left: 4px solid #FFD700;
    padding: 20px 25px;
    border-radius: 0 15px 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.quote-icon {
    font-size: 1.5rem;
    color: #FFD700;
    margin-top: 5px;
}

.story-quote span {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFD700;
    font-style: italic;
    letter-spacing: 0.5px;
}

.story-image-wrapper {
    flex: 1;
    position: relative;
    z-index: 1;
}

.premium-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-tint {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-story-card:hover .theme-tint {
    transform: scale(1.04);
}

.image-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(0,0,0,0) 50%);
    pointer-events: none;
}

.image-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
}

.rounded-premium {
    display: block;
}

@media (max-width: 992px) {
    .premium-story-card,
    .premium-story-card.reverse {
        flex-direction: column;
        padding: 40px 25px;
    }
    .story-icon-wrapper {
        margin: 0 auto 20px;
    }
    .premium-story-card .story-content {
        text-align: center;
    }
    .story-quote {
        text-align: left;
    }
}

.quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
    margin-top: 30px;
    text-align: left;
}

.story-image {
    flex: 1;
    height: 400px;
    background: var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #aaa;
    font-size: 2rem;
}

/* Legal Grid */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.legal-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    text-align: center;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.legal-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.legal-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.legal-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.legal-item p {
    opacity: 0.7;
}

/* Responsive Story */
@media (max-width: 992px) {

    .story-row,
    .story-row.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .story-image {
        width: 100%;
        height: 300px;
    }
}

/* Schemes Grid (Flip Cards) */
.schemes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.scheme-card {
    background-color: transparent;
    height: 350px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
}

.scheme-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.card-front {
    background-color: var(--white);
    color: var(--dark);
}

.card-back {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.card-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card-front h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-back h3 {
    margin-bottom: 15px;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 15px 0;
    display: block;
}

.btn-sm {
    display: inline-block;
    padding: 10px 25px;
    background: var(--white);
    color: var(--primary);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-sm:hover {
    background: var(--secondary);
    color: var(--dark);
}

/* Scholarship Box */
.scholarship-box {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.png') no-repeat center center/cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.scholarship-content {
    flex: 2;
    position: relative;
    z-index: 1;
}

.scholarship-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.scholarship-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.scholarship-icon {
    flex: 1;
    text-align: center;
    font-size: 8rem;
    color: var(--secondary);
    opacity: 0.3;
}

/* Light Mode Overrides for Eligibility Section */
.bg-light .benefit-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.bg-light .benefit-card h4 {
    color: var(--dark);
}

.bg-light .benefit-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

/* Contact Page */
.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info>p {
    margin-bottom: 40px;
    color: var(--text-light);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-form {
    flex: 1.2;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Footer */
.footer-modern {
    background: linear-gradient(180deg, #1a050a 0%, #0a0003 100%);
    color: #ffffff;
    padding: 80px 0 20px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 45px;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: #ffffff;
    letter-spacing: 1px;
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 0.95rem;
    color: #cccccc;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #ffffff;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #1a050a;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    border-color: transparent;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    color: #FFD700;
    font-weight: 700;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, transparent);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #cccccc;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #FFD700;
    transform: translateX(5px);
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-list i {
    color: #FFD700;
    margin-top: 5px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 50px;
    margin-top: 25px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.newsletter-form:focus-within {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: #ffffff;
    outline: none;
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    border: none;
    border-radius: 50%;
    color: #1a050a;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* MLM Visuals */
.mlm-visual {
    position: relative;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.tree-node {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    z-index: 2;
    position: relative;
}

.tree-node i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.tree-node span {
    font-size: 0.8rem;
}

.tree-branches {
    width: 200px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: none;
    position: relative;
    top: -20px;
    z-index: 1;
}

.tree-branches::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%);
}

.tree-level {
    display: flex;
    gap: 100px;
    position: relative;
    top: -20px;
}

/* Fix for MLM Visuals Text Sizing */
@media (max-width: 576px) {
    .tree-level {
        gap: 40px;
    }

    .tree-branches {
        width: 140px;
    }

    .tree-node {
        width: 60px;
        height: 60px;
    }

    .tree-node i {
        font-size: 1.2rem;
    }

    .tree-node span {
        font-size: 0.6rem;
    }
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-glow);
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Eligibility & Benefits */
.eligibility-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.eligibility-list {
    margin-top: 30px;
}

.eligibility-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    background: var(--white);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    color: var(--dark);
    border-left: 4px solid var(--secondary);
}

.eligibility-list i {
    color: var(--primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.benefit-card h4 {
    font-size: 1rem;
    color: var(--white);
}

@media (max-width: 992px) {
    .eligibility-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Testimonials Slider */
.testimonial-card {
    background: linear-gradient(135deg, #1a050a 0%, #3a0010 100%);
    padding: 50px 40px 40px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 35px;
    /* Space for the top floating quote badge */
    overflow: visible;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
}

.quote-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #1a050a;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
    border: 4px solid #1a050a;
    z-index: 10;
    transition: transform 0.4s ease;
}

.testimonial-card:hover .quote-icon {
    transform: translateX(-50%) rotate(10deg) scale(1.1);
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 30px;
    flex: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 25px;
    border-top: 1px dashed rgba(255, 215, 0, 0.2);
    width: 100%;
}

.author-avatar {
    width: 65px;
    height: 65px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-size: 1.8rem;
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
}

.author-info h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.author-info p {
    font-size: 0.85rem;
    color: #FFD700;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, rgba(30, 10, 15, 0.8), rgba(15, 5, 10, 0.9));
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 215, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
}

.faq-question {
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #ffffff;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
    color: #FFD700;
}

.faq-question i {
    color: #1a050a;
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.faq-answer {
    padding: 0 35px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    opacity: 0;
}

.faq-answer p {
    font-size: 1.05rem;
    color: #b0b0b0;
    line-height: 1.8;
}

.faq-item.active {
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
}

.faq-item.active .faq-answer {
    padding: 10px 35px 30px;
    max-height: 300px;
    opacity: 1;
}

.faq-item.active .faq-question h3 {
    color: #FFD700;
}

.faq-item.active .faq-question i {
    transform: rotate(135deg);
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--gradient-gold);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white);
    border: 4px solid var(--primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition);
}

.timeline-item:hover::after {
    background-color: var(--secondary);
    transform: scale(1.2);
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.timeline-right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--white);
    position: relative;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
    display: block;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    .timeline-left::after,
    .timeline-right::after {
        left: 21px;
    }

    .timeline-right {
        left: 0%;
    }
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-img {
    height: 300px;
    background: #eee;
    position: relative;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Restored MLM Features */
.mlm-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mlm-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}

.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.feature-box p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 0;
    color: var(--dark);
}

/* Restored & Enhanced CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #1a050a 0%, #4a0010 100%);
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin: 60px auto;
    border-radius: 30px;
    max-width: 1100px;
    box-shadow: 0 20px 50px rgba(144, 0, 32, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, rgba(0,0,0,0) 60%);
    animation: rotateGradient 15s linear infinite;
    pointer-events: none;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.cta-content h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FFD700, #FFF8DC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.6;
    color: #e0e0e0;
}

.cta-banner .btn-secondary {
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    color: #1a050a;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-banner .btn-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #FFE55C, #E6C200);
}

@media (max-width: 992px) {
    .mlm-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-box:hover {
        transform: translateY(-5px);
    }
}

/* Recent Payouts Table */
.payout-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.table-responsive {
    overflow-x: auto;
}

.payout-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.payout-table th {
    background: var(--primary);
    color: var(--white);
    padding: 20px 30px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.payout-table td {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--dark);
    font-weight: 500;
}

.payout-table tr:last-child td {
    border-bottom: none;
}

.payout-table tr:hover {
    background-color: rgba(128, 0, 0, 0.02);
}

.payout-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.badge.gold {
    background: rgba(255, 215, 0, 0.15);
    color: #b8860b;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge.silver {
    background: rgba(192, 192, 192, 0.2);
    color: #707070;
    border: 1px solid rgba(192, 192, 192, 0.4);
}

.badge.bronze {
    background: rgba(205, 127, 50, 0.15);
    color: #cd7f32;
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.amount {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Core Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
    padding-bottom: 30px;
}

.value-card {
    background: #ffffff;
    padding: 50px 30px 40px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, rgba(220, 20, 60, 0.02) 100%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0%; height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), #FFD700);
    transition: width 0.4s ease;
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.08);
    border-color: rgba(139, 0, 0, 0.1);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover::after {
    width: 100%;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: #fff8f8;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--primary-dark);
    font-size: 2.2rem;
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.08);
    border: 1px solid rgba(139, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.value-icon::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.value-card:hover .value-icon {
    transform: translateY(-10px) scale(1.05);
    color: #FFD700;
    background: var(--primary-dark);
}

.value-card:hover .value-icon::after {
    opacity: 1;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
    transition: color 0.3s ease;
}

.value-card p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}
/* Map Section */
.map-section {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    margin-bottom: -50px;
    /* Pull footer up slightly */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(20%) contrast(1.2);
    /* Subtle filter to match theme */
    transition: var(--transition);
}

.map-section:hover iframe {
    filter: grayscale(0%) contrast(1);
}