@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

/* =========================================================
   1. MODERN LIGHT LUXURY VARIABLES
   ========================================================= */
:root {
    /* Sophisticated, Professional Palette */
    --primary-color: #0F172A;     /* Deep Slate for strong contrast & text */
    --secondary-color: #B8860B;   /* Elegant Dark Gold */
    --accent-color: #2563EB;      /* Professional Royal Blue */
    
    /* Text & Background Mapping */
    --text-light: #ffffff;
    --text-dark: #334155;         /* Soft dark for readable info */
    --bg-light: rgba(255, 255, 255, 0.6);
    
    /* Typography - More elegant scaling */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Frosted Glassmorphism & 3D Depth */
    --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
    
    /* Animation */
    --transition-standard: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Colorful Ambient Mesh Gradient */
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(184, 134, 11, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(219, 39, 119, 0.08) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(15, 23, 42, 0.08) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: default; /* Fallback */
    line-height: 1.7;
    font-weight: 300;
}

/* =========================================================
   2. CUSTOM GRADIENT SCROLLBAR
   ========================================================= */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-color), var(--secondary-color));
    border-radius: 10px;
    border: 2px solid #f8fafc;
}

/* =========================================================
   3. MODERN CUSTOM ARROW CURSOR
   ========================================================= */
.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-color);
    background: rgba(37, 99, 235, 0.05);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    z-index: 99999;
    backdrop-filter: blur(2px);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}
.custom-cursor::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 6px; height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--secondary-color);
}

/* =========================================================
   4. OVERRIDING INLINE STYLES FOR CLEAN, AIRY LOOK
   ========================================================= */
h1, h2, h3, h4, h5, h6 { 
    font-family: var(--font-heading) !important; 
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

p {
    color: #475569 !important; /* Soften paragraph text so it's not overwhelming */
    font-size: 1rem !important; /* Standardize font sizes */
}

/* Force inline dark backgrounds to become light glass */
[style*="background-color: var(--primary-color)"],
[style*="background: var(--primary-color)"],
[style*="background-color: var(--text-light)"],
[style*="background: var(--text-light)"],
[style*="background-color: var(--bg-light)"] {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
    color: var(--text-dark) !important;
}

/* Fix text colors inside forced glass containers */
[style*="color: var(--text-light)"],
[style*="color: rgba(255,255,255"] {
    color: var(--primary-color) !important;
}

/* =========================================================
   5. GLASSMORPHIC HEADER & NAVIGATION
   ========================================================= */
.main-header {
    position: fixed;
    top: 0; width: 100%; height: 120px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 10%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(25px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(150%) !important;
    border-bottom: 15px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition-standard);
}

.brand-container { display: flex; align-items: center; }
.logo-wrapper { position: relative; width: 250px; height: 100px; }
.static-logo, .video-logo { width: 100%; height: 100%; object-fit: contain; position: absolute; top: 0; left: 0; }
.video-logo { opacity: 0; transition: opacity 0.4s ease; }
.logo-wrapper:hover .video-logo { opacity: 1; filter: drop-shadow(0 0 15px rgba(255,255,255,0.8)); }
.logo-wrapper:hover .static-logo { opacity: 0; }

.desktop-nav { display: flex; align-items: center; }
.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 20px;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    transition: color 0.3s;
}
.nav-link::after {
    content: '';
    position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--accent-color); }

/* =========================================================
   6. HERO SECTION (AIRY & BRIGHT)
   ========================================================= */
.hero-section {
    height: 90vh;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    margin-top: 50px; /* Offset for header */
}
.hero-media-wrapper {
    position: absolute; inset: 0; z-index: 1;
    padding: 20px; /* Floating frame effect */
}
.hero-video {
    width: 100%; height: 100%; object-fit: contain;
    border-radius: 40px; /* Modern rounded corners */
    filter: brightness(0.9) contrast(1.1);
}
.hero-overlay {
    position: absolute; top: 20px; left: 20px; right: 20px; bottom: 20px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(248,250,252,0.3) 100%);
    backdrop-filter: blur(8px);
    z-index: 2;
}
.hero-text-content {
    position: relative; z-index: 3; text-align: center;
    padding: 60px 40px; border-radius: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(15,23,42,0.1), inset 0 2px 5px rgba(255,255,255,0.8);
    max-width: 850px; width: 90%;
    transform: translateZ(50px);
}

.hero-title {
    font-size: 3.5rem !important;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem; font-weight: 400; color: #475569;
    margin-bottom: 35px;
}

/* =========================================================
   7. 3D GLASSMORPHIC CARDS (CLEAN & UNIQUE)
   ========================================================= */
.spotlight-section {
    padding: 80px 5%; position: relative; z-index: 5;
}
.section-title {
    font-size: 2.5rem !important; text-align: center; margin-bottom: 50px;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px; max-width: 1300px; margin: 0 auto;
    perspective: 1200px;
}

.spotlight-card {
    background: var(--glass-bg) !important;
    border-radius: 24px; overflow: hidden;
    border: 1px solid var(--glass-border) !important;
    border-right: 1px solid rgba(255,255,255,0.4) !important;
    border-bottom: 1px solid rgba(255,255,255,0.4) !important;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-standard);
    transform-style: preserve-3d;
    position: relative;
    display: flex; flex-direction: column;
}

/* Elegant light reflection */
.spotlight-card::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-25deg); transition: 0.8s; z-index: 1; pointer-events: none;
}
.spotlight-card:hover::after { left: 150%; }

.spotlight-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(15,23,42,0.12), inset 0 2px 10px rgba(255, 255, 255, 1);
    border-color: #ffffff !important;
}

.card-content {
    padding: 40px 30px; position: relative; z-index: 2;
    flex-grow: 1; display: flex; flex-direction: column; justify-content: center;
}

.card-media { position: relative; height: 250px; overflow: hidden; border-radius: 20px 20px 0 0; padding: 15px 15px 0 15px;}
.card-image, .card-video { width: 100%; height: 100%; object-fit: contain; border-radius: 15px; transition: transform 0.8s; }
.card-overlay {
    position: absolute; inset: 15px 15px 0 15px; border-radius: 15px;
    background: linear-gradient(0deg, rgba(255,255,255,0.4) 0%, transparent 100%);
}
.spotlight-card:hover .card-image { transform: scale(1.08); }

/* =========================================================
   8. ELEGANT BUTTONS & FORMS
   ========================================================= */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #3B82F6);
    color: #ffffff !important;
    padding: 14px 35px; border-radius: 50px;
    font-family: var(--font-body); font-weight: 500;
    text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.3); cursor: pointer;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2), inset 0 2px 0 rgba(255,255,255,0.3);
    transition: var(--transition-standard);
    text-decoration: none; display: inline-block;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3), inset 0 2px 0 rgba(255,255,255,0.5);
    background: linear-gradient(135deg, #3B82F6, var(--accent-color));
}

form label { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: var(--primary-color) !important; }
input, select, textarea {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    color: var(--primary-color) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
    transition: var(--transition-standard);
    font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
    transform: translateY(-2px);
}

/* =========================================================
   9. PROFILES & MODAL (LIGHT 3D DEPTH)
   ========================================================= */
.profile-card .card-media { background: transparent; }
.profile-card .card-image {
    object-position: top; filter: drop-shadow(0 15px 25px rgba(15,23,42,0.15));
}
.profile-name { color: var(--primary-color) !important; font-size: 1.5rem !important; margin-bottom: 5px; }
.profile-role { color: var(--accent-color) !important; font-size: 0.9rem !important; font-weight: 600; text-transform: uppercase; margin-bottom: 25px !important;}

.modal-overlay {
    position: fixed; inset: 0; background: rgba(248,250,252,0.8);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; z-index: 2000;
    transition: opacity 0.5s; perspective: 1500px;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 80px rgba(15,23,42,0.15), inset 0 2px 5px rgba(255,255,255,1);
    border-radius: 24px; width: 90%; max-width: 700px; max-height: 85vh; overflow-y: auto;
    padding: 50px; transform: scale(0.9) translateY(30px);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-dark);
}
.modal-overlay.active .modal-container { transform: scale(1) translateY(0); }
.modal-close-btn {
    position: absolute; top: 20px; right: 25px; background: rgba(255,255,255,0.5); 
    border: 1px solid rgba(255,255,255,0.8); border-radius: 50%; width: 40px; height: 40px;
    color: var(--primary-color); font-size: 1.5rem; cursor: pointer;
    transition: all 0.3s; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}
.modal-close-btn:hover { background: #fff; transform: rotate(90deg); color: var(--accent-color); }

/* =========================================================
   10. LIGHT LUXURY FOOTER
   ========================================================= */
.main-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    padding: 80px 5% 30px; position: relative; overflow: hidden;
    margin-top: 50px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.02);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-logo { filter: drop-shadow(0 5px 10px rgba(15,23,42,0.05)); max-width: 200px; margin-bottom: 20px;}
.footer-tagline { color: #64748B; font-size: 1rem; }
.footer-heading { color: var(--primary-color); font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 25px;}
.footer-link { display: block; color: #475569; text-decoration: none; margin-bottom: 12px; transition: var(--transition-standard); font-size: 0.95rem; }
.footer-link:hover { color: var(--accent-color); padding-left: 8px; }
.footer-bottom { border-top: 1px solid rgba(15,23,42,0.05); padding-top: 25px; text-align: center; color: #94A3B8; font-size: 0.85rem;}

/* =========================================================
   11. ULTRA MOBILE-FRIENDLY & RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
    .spotlight-card[style*="grid-column: span 3"] { grid-column: span 1 !important; flex-direction: column !important; }
    .hero-title { font-size: 2.8rem !important; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    /* Mobile Navigation Full Screen Glass */
    .desktop-nav {
        position: fixed; top: 0; right: -100%; width: 100vw; height: 100vh;
        background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(30px);
        flex-direction: column; justify-content: center; align-items: center;
        transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
    }
    .desktop-nav.mobile-active { right: 0; }
    .desktop-nav .nav-link { margin: 20px 0; font-size: 1.4rem; letter-spacing: 2px; }
    
    /* Elegant Hamburger */
    .mobile-menu-btn { display: flex; flex-direction: column; justify-content: space-between; width: 30px; height: 20px; background: none; border: none; cursor: pointer; z-index: 1001; }
    .hamburger-line { width: 100%; height: 2px; background: var(--primary-color); border-radius: 2px; transition: var(--transition-standard); }
    .mobile-menu-btn.active .hamburger-line:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--accent-color); }
    .mobile-menu-btn.active .hamburger-line:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active .hamburger-line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--accent-color); }

    .hero-title { font-size: 2.2rem !important; }
    .hero-text-content { padding: 30px 20px; }
    .spotlight-section { padding: 50px 5%; }
    .card-content { padding: 25px 20px; }
    .hero-media-wrapper { padding: 10px; }
    .hero-video, .hero-overlay { border-radius: 20px; }
}

@media (min-width: 769px) { .mobile-menu-btn { display: none; } }

/* =========================================================
   12. BASE ANIMATIONS & UTILS
   ========================================================= */
.animate-slide-up { opacity: 0; transform: translateY(30px); transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1); }
.animate-slide-up-active { opacity: 1; transform: translateY(0); }
.animate-fade-in { opacity: 0; transform: scale(0.98); transition: all 1.2s cubic-bezier(0.25, 0.8, 0.25, 1); }
.animate-fade-in-active { opacity: 1; transform: scale(1); }