:root {
    --primary-color: #001F3F;
    /* Signature Navy */
    --primary-dark: #001529;
    --accent-color: #D4AF37;
    /* Signature Gold */
    --accent-hover: #B8860B;
    --accent-glow: rgba(212, 175, 55, 0.4);
    --dual-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --dual-gradient-soft: linear-gradient(135deg, rgba(0, 31, 63, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    --bg-main: #f8faff;
    --bg-card: #ffffff;
    --text-main: #001A33;
    --text-muted: #4A5568;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(212, 175, 55, 0.5);
    --shadow-premium: 0 30px 60px -12px rgba(0, 31, 63, 0.2);
    --shadow-gold: 0 15px 35px -5px rgba(212, 175, 55, 0.5);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dual-gradient-soft);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

@keyframes floatBlob {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-50px, 50px);
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-visual {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.loader-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 0 15px var(--accent-glow));
    animation: pulseLogo 2s infinite ease-in-out;
}

.loader-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-top: 3px solid var(--accent-color);
    border-right: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: rotateRing 1.5s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
    z-index: 1;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseLogo {

    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 0 5%;
    background: var(--dual-gradient);
    border-bottom: 2px solid white;
}

header.scrolled nav a {
    color: white;
}

header.scrolled .logo img {
    filter: brightness(0) invert(1);
}

.logo img {
    height: 60px;
    padding: 5px 0;
    transform: scale(1.4);
    transform-origin: left center;
    transition: var(--transition-smooth);
}


nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
    animation: kenburns 20s infinite alternate;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.6);
    /* Navy overlay */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}


.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.btn {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-smooth);
    display: inline-block;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

/* Global Glassmorphism Sections */
section:not(.hero):not(.hero-sub) {
    padding: 100px 10%;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
    /* Ensure watermark stays inside */
}

/* Hero Section Base */
.hero,
.hero-sub {
    position: relative;
    overflow: hidden;
}

section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: url('images/background.png') no-repeat center;
    background-size: contain;
    opacity: 0.05;
    /* Subtle watermark */
    z-index: -1;
    pointer-events: none;
    filter: grayscale(100%);
}

/* Alternate watermark position for better flow */
section:nth-child(even)::after {
    left: -5%;
    right: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-title .underline {
    width: 80px;
    height: 5px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 10px;
}

/* Director Cards & Carousel System */
.director-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.director-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.director-card:hover::before {
    opacity: 1;
}

.director-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
    border-color: var(--accent-color);
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 40px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 2rem;
}

.carousel-track .director-card {
    flex: 0 0 calc(33.333% - 1.35rem);
    min-width: 320px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
}

.nav-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: var(--primary-color);
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-gold);
}

.nav-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1) rotate(10deg);
}

.btn-view-profile {
    margin-top: 1.5rem;
    padding: 0.6rem 2rem;
    font-size: 0.9rem;
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition-smooth);
}

.btn-view-profile:hover {
    background: var(--accent-color);
    color: white;
}

@media (max-width: 1100px) {
    .carousel-track .director-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

/* Directors Carousel V2 (One-by-One) */
.directors-carousel-v2 {
    background: var(--primary-color);
    padding: 60px 4%;
    border-radius: 40px;
    color: white;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.carousel-track-v2 {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.director-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.director-content-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2rem 4rem;
    flex-wrap: wrap;
}

.director-image-side {
    flex: 0 0 320px;
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
}

.director-image-side::before {
    content: '';
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    border: 2px dashed var(--accent-color);
    animation: rotateRing 15s linear infinite;
    opacity: 0.5;
}

.director-image-side::after {
    content: '';
    position: absolute;
    width: 315px;
    height: 315px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    animation: pulseRing 3s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseRing {

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

    50% {
        transform: scale(1.05);
        opacity: 0.1;
    }
}

.portrait-container-v2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 8px solid var(--accent-color);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-gold);
    position: relative;
    z-index: 2;
}

.portrait-container-v2 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.director-info-side {
    flex: 1;
    min-width: 300px;
}

.director-info-side h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.director-info-side .bio {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.director-actions {
    display: flex;
    gap: 1.5rem;
}

.carousel-controls-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.carousel-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.4);
    box-shadow: 0 0 10px var(--accent-glow);
}

.nav-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: var(--primary-color);
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-gold);
}

.nav-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1) rotate(10deg);
}

/* Schemes Grid & Cards */
.schemes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 0;
}

.scheme-card {
    background: var(--glass-bg);
    border-radius: 35px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    display: flex;
    flex-direction: row-reverse; /* Details Left, Image Right on Desktop */
    position: relative;
    min-height: 400px;
}

.scheme-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: var(--dual-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.scheme-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.2);
}

.scheme-card:hover::after {
    opacity: 1;
}

.scheme-img-container {
    flex: 1;
    height: auto;
    min-height: 350px;
    overflow: hidden;
    background: #fff;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    text-decoration: none;
}

.download-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 31, 63, 0.8);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    opacity: 0;
    transition: var(--transition-smooth);
    text-align: center;
    padding: 20px;
    z-index: 5;
}

.scheme-img-container:hover .download-overlay {
    opacity: 1;
}

.scheme-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

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

.scheme-info {
    padding: 3rem;
    text-align: left;
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.scheme-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
}

.scheme-card-btns {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-join-sm {
    background: var(--dual-gradient);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    display: inline-block;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-view-profile {
    background: white;
    color: var(--primary-color);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--accent-color);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-view-profile:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Schemes Bento Grid (Native App Feel) */
.schemes-bento-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stack horizontal cards */
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .scheme-card {
        flex-direction: column; /* Info Top, Image Bottom or vice versa */
        min-height: auto;
    }

    .scheme-img-container {
        width: 100%;
        min-height: 300px;
        order: 1; /* Image Top */
        border-left: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }

    .scheme-info {
        width: 100%;
        order: 2; /* Info Bottom */
        padding: 2rem;
        text-align: center;
    }
}

.bento-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 35px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.bento-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bento-card.featured {
    background: var(--dual-gradient);
    border: none;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.bento-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.bento-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.bento-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bento-meta span {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.bento-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.bento-actions {
    display: flex;
    gap: 1rem;
}

.bento-btn-primary {
    flex: 1;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.8rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 800;
    text-align: center;
    transition: var(--transition-smooth);
}

.bento-btn-secondary {
    padding: 0.8rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    background: transparent;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 600;
}

.bento-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.bento-btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

@media (max-width: 600px) {
    .bento-amount {
        font-size: 2.2rem;
    }
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--accent-color);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-modal:hover {
    color: var(--accent-color);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dual-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: var(--shadow-gold);
    z-index: 3000;
    transform: translateY(150%);
    transition: var(--transition-smooth);
}

.toast-notification.active {
    transform: translateY(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Advanced Director Portrait Design */
.portrait-container {
    width: 100%;
    height: 320px;
    background: radial-gradient(circle at center, #ffffff 0%, #f0f0f0 100%);
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.02);
}

.portrait-container img {
    height: 95%;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.director-card:hover .portrait-container {
    background: radial-gradient(circle at center, #fff 0%, var(--bg-light) 100%);
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
}

.director-card:hover .portrait-container img {
    transform: scale(1.1) translateY(-10px);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

.portrait-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 31, 63, 0.05), transparent);
    z-index: 1;
}

.director-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.director-card:hover h3 {
    color: var(--accent-color);
}

.director-card p {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}


/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 100px 10% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-col h4 {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 1rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-col a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}


/* Modal System for Schemes */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: zoomIn 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.modal-content img {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

/* Investment Dashboard Modal Redesign */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 20px;
}

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

.modal-dashboard {
    background: white;
    width: 100%;
    max-width: 1100px;
    height: 85vh;
    border-radius: 40px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-dashboard {
    transform: scale(1);
}

.modal-viewer-side {
    flex: 1.2;
    background: #f8f9fa;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    position: relative;
}

.modal-viewer-side img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.modal-info-side {
    flex: 0.8;
    background: var(--primary-color);
    padding: 4rem 3rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.close-dashboard {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
    transition: 0.3s;
}

.close-dashboard:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-info-side h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.modal-info-side .modal-description {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.modal-meta-list {
    margin-bottom: 3rem;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.modal-meta-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.modal-dashboard-actions {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.btn-modal-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 800;
    text-align: center;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-modal-secondary {
    border: 2px solid rgba(212, 175, 55, 0.5);
    color: var(--accent-color);
    padding: 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-modal-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-modal-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-color);
}

@media (max-width: 900px) {
    .modal-dashboard {
        flex-direction: column;
        height: 90vh;
        border-radius: 30px;
    }

    .modal-info-side {
        padding: 2rem;
    }

    .modal-viewer-side {
        height: 40%;
    }
}

/* Floating WhatsApp Hub */
.whatsapp-hub {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
}

.wa-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.wa-btn:hover {
    transform: scale(1.1) rotate(15deg);
    animation: none;
}

.wa-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    width: 280px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    display: none;
    animation: slideUpWa 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes slideUpWa {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.wa-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.wa-contact:hover {
    background: #f5f5f5;
}

.wa-status {
    width: 10px;
    height: 10px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 0 5px #25D366;
}

/* Location Section Redesign */
.location-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: stretch;
}

.location-info {
    background: var(--primary-color);
    color: white;
    padding: 3rem;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-wrapper {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    position: relative;
    height: 450px;
}

/* Cartoon Mascot Animation */
.savings-mascot {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 120px;
    z-index: 9997;
    animation: floatMascot 4s ease-in-out infinite;
    pointer-events: none;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

@keyframes floatMascot {

    0%,
    100% {
        transform: translateY(0) rotate(5deg);
    }

    50% {
        transform: translateY(-20px) rotate(-5deg);
    }
}

.floating-coin {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #FFD700, #DAA520);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.3;
    animation: coinFall 10s linear infinite;
}

@keyframes coinFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Coin Stack Animation */
.coin-stack {
    width: 40px;
    background: var(--accent-color);
    border-radius: 8px 8px 0 0;
    box-shadow: inset 0 20px 0 rgba(255, 255, 255, 0.2);
    animation: stackGrow 2s ease-out infinite alternate;
    height: 0;
    animation-delay: var(--d);
}

@keyframes stackGrow {
    from {
        height: 0;
        opacity: 0.5;
    }

    to {
        height: var(--h);
        opacity: 1;
    }
}


/* Coming Soon Toast */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 11000;
    transform: translateX(150%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-left: 5px solid var(--accent-color);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Mobile Navigation */
.menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 2000;
}

header.scrolled .menu-btn {
    color: white;
}

@media (max-width: 992px) {
    .menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--glass-bg);
        backdrop-filter: blur(30px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1500;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    nav a {
        font-size: 1.4rem;
        color: #410707 !important; /* Force dark color for visibility on mobile */
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    nav a:hover {
        color: var(--accent-color) !important;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 5%;
    }

    .carousel-track-v2 .director-slide {
        padding: 2rem 5%;
    }

    .director-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .director-image-side {
        margin-bottom: 2rem;
    }

    .schemes-bento-grid {
        grid-template-columns: 1fr !important;
    }

    .directors-grid-premium {
        padding: 0 5% !important;
    }

    .director-info-side h3 {
        font-size: 2rem !important;
    }

    .portrait-container-v2 {
        width: 250px !important;
        height: 250px !important;
    }

    .director-image-side::before, 
    .director-image-side::after {
        width: 270px !important;
        height: 270px !important;
    }

    .carousel-controls-v2 {
        gap: 1.5rem !important;
    }

    .director-actions {
        flex-direction: column;
        gap: 1rem !important;
    }

    .director-actions .btn {
        width: 100%;
    }

    .savings-mascot {
        width: 70px !important;
        bottom: 150px !important;
        right: 15px !important;
        opacity: 0.8;
    }

    .director-slide {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden;
    }

    .director-info-side h3 {
        font-size: 1.5rem !important;
        letter-spacing: 1px !important;
        margin-top: 1rem;
        word-wrap: break-word;
        max-width: 100%;
    }

    .director-info-side {
        width: 100% !important;
        overflow: hidden;
    }

    .director-info-side .bio {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }

    .director-content-wrapper {
        padding: 1rem 1rem 2rem !important;
        gap: 1.5rem !important;
    }

    .carousel-track-v2 {
        display: flex !important;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 1rem 2rem;
        width: 100%;
        margin-bottom: 1rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        margin-left: 0 !important;
    }
}

/* Gallery View Tabs */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 1rem 2rem;
    border: 2px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(10px);
}

.tab-btn span {
    font-size: 1.2rem;
}

.tab-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.leadership-view {
    display: none;
    animation: fadeIn 0.5s ease;
}

.leadership-view.active {
    display: block;
}



    ::selection {
        background: var(--accent-color);
        color: var(--primary-color);
    }

    /* Floating Back to Top */
    .back-to-top {
        position: fixed;
        bottom: 30px;
        left: 30px;
        width: 50px;
        height: 50px;
        background: var(--accent-color);
        color: var(--primary-color);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 9996;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        font-size: 1.5rem;
        font-weight: bold;
    }

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    /* Scroll Down Indicator */
    .scroll-down {
        position: absolute;
        bottom: 120px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
        animation: bounceDown 2s infinite;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        opacity: 0.7;
    }

    @keyframes bounceDown {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateX(-50%) translateY(0);
        }

        40% {
            transform: translateX(-50%) translateY(-10px);
        }

        60% {
            transform: translateX(-50%) translateY(-5px);
        }
    }