:root {
    --primary-color: #001F3F; /* Darker Navy */
    --accent-color: #D4AF37;  /* Metallic Gold */
    --accent-glow: rgba(212, 175, 55, 0.4);
    --bg-light: #FDFDFD;
    --text-dark: #0A0A0A;
    --text-muted: #555;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.2);
    --transition-smooth: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* 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;
}

.loader-logo {
    width: 80px;
    animation: pulse 2s infinite ease-in-out;
}


@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* 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: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 0.5rem 5%;
    box-shadow: var(--shadow-soft);
}

.logo img {
    height: 45px;
    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);
}

/* Sections */
section {
    padding: 120px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.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 */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
}

.director-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    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(-20px);
    box-shadow: var(--shadow-gold);
    border-color: var(--accent-color);
}

/* 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);
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    font-weight: bold;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* 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);
}

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

.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;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    nav {
        display: none;
    }
    section {
        padding: 80px 5%;
    }
}
