/* Global Styles */
.font-heading { font-family: 'Montserrat', sans-serif; }
.btn-skew {
    transform: skewX(-10deg);
    display: inline-block;
    transition: all 0.3s ease;
}
.btn-skew > span {
    transform: skewX(10deg);
    display: inline-block;
}
.btn-red {
    background-color: #e50914;
    color: white;
}
.btn-red:hover {
    background-color: #b80710;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
}

.nav-link-active {
    color: #FF0033 !important;
    position: relative;
}
.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FF0033 !important;
}

html.light-theme .nav-link-active,
html.light-theme header a.nav-link-active,
html.light-theme header button.nav-link-active {
    color: #FF0033 !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #333333;
}
::-webkit-scrollbar-thumb:hover {
    background: #e50914;
}

.cta-footer-bg {
    background: linear-gradient(rgba(12,12,12,0.9), rgba(12,12,12,0.9)), url('https://images.unsplash.com/photo-1599058917212-d750089bc07e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
}

/* Ken Burns Animation & Hero Styles */
@keyframes kenburns {
    0% {
        transform: scale(1.0) translate(0, 0);
    }
    50% {
        transform: scale(1.08) translate(-1%, -0.5%);
    }
    100% {
        transform: scale(1.14) translate(1%, 0.5%);
    }
}

.hero-section {
    position: relative;
    overflow: hidden;
    background-color: #0c0c0c;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: linear-gradient(to right, rgba(12, 12, 12, 0.9) 20%, rgba(12, 12, 12, 0.2) 100%), url('../Assets/Hero%20Image.png') center/cover no-repeat;
    animation: kenburns 20s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    transform-origin: center center;
}

@media (max-width: 768px) {
    .hero-section::before {
        background: linear-gradient(to top, rgba(12, 12, 12, 0.95) 25%, rgba(12, 12, 12, 0.35) 100%), url('../Assets/Hero%20Image.png') center/cover no-repeat;
    }
}

/* Ken Burns on Program & About hero images */
.kenburns-img {
    animation: kenburns 20s ease-in-out infinite alternate;
    will-change: transform;
    transform-origin: center center;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #FF0033;
    color: #FF0033;
}
.btn-outline:hover {
    background-color: #FF0033;
    color: white;
    box-shadow: 0 0 15px rgba(255, 0, 51, 0.6);
}


html, body {
    background-color: #050505;
}

/* ========================================================
   LIGHT / WHITE THEME OVERRIDES
   ponytail: Pure CSS theme class toggled on <html> with localStorage persistence
   ======================================================== */
html.light-theme, 
html.light-theme body {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

html.light-theme .bg-\[\#050505\],
html.light-theme .bg-\[\#080808\],
html.light-theme .bg-\[\#0c0c0c\],
html.light-theme .bg-brand-gray {
    background-color: #ffffff !important;
}

html.light-theme .bg-\[\#111111\],
html.light-theme .bg-\[\#1a1a1a\],
html.light-theme .bg-\[\#1a1a1a\]\/80,
html.light-theme .bg-\[\#1a1a1a\]\/90,
html.light-theme .bg-brand-gray\/80,
html.light-theme .bg-brand-gray\/50 {
    background-color: #f1f5f9 !important;
}

html.light-theme .text-white {
    color: #0f172a !important;
}

html.light-theme .text-gray-100 {
    color: #0f172a !important;
}

html.light-theme .text-gray-300,
html.light-theme .text-gray-400 {
    color: #475569 !important;
}

html.light-theme .text-gray-500 {
    color: #64748b !important;
}

html.light-theme .border-brand-border,
html.light-theme .border-brand-border\/50,
html.light-theme .border-brand-border\/30 {
    border-color: #e2e8f0 !important;
}

html.light-theme header {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

html.light-theme header a,
html.light-theme header button {
    color: #0f172a !important;
}

html.light-theme header a:hover,
html.light-theme header button:hover {
    color: #FF0033 !important;
}

html.light-theme header .bg-\[\#0c0c0c\] {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

html.light-theme header .bg-\[\#0c0c0c\] a {
    color: #334155 !important;
    border-color: #f1f5f9 !important;
}

html.light-theme header .bg-\[\#0c0c0c\] a:hover {
    background-color: #f8fafc !important;
    color: #FF0033 !important;
}

html.light-theme header .bg-\[\#050505\]\/95 {
    background-color: rgba(255, 255, 255, 0.98) !important;
    border-color: #e2e8f0 !important;
}

html.light-theme header .bg-\[\#050505\]\/95 a {
    color: #0f172a !important;
}

html.light-theme header .bg-\[\#050505\]\/95 a:hover {
    color: #FF0033 !important;
}

/* Keep Hero Sections 100% dark & original like original in light mode */
html.light-theme .hero-section,
html.light-theme .program-hero,
html.light-theme .about-hero {
    background-color: #0c0c0c !important;
    border-color: #2a2a2a !important;
}

html.light-theme .hero-section::before {
    background: linear-gradient(to right, rgba(12, 12, 12, 0.9) 20%, rgba(12, 12, 12, 0.2) 100%), url('../Assets/Hero%20Image.png') center/cover no-repeat !important;
}

@media (max-width: 768px) {
    html.light-theme .hero-section::before {
        background: linear-gradient(to top, rgba(12, 12, 12, 0.95) 25%, rgba(12, 12, 12, 0.35) 100%), url('../Assets/Hero%20Image.png') center/cover no-repeat !important;
    }
}

html.light-theme .hero-section .text-white,
html.light-theme .program-hero .text-white,
html.light-theme .about-hero .text-white {
    color: #ffffff !important;
}
html.light-theme .hero-section .text-gray-100,
html.light-theme .program-hero .text-gray-100,
html.light-theme .about-hero .text-gray-100 {
    color: #f3f4f6 !important;
}
html.light-theme .hero-section .text-gray-300,
html.light-theme .program-hero .text-gray-300,
html.light-theme .about-hero .text-gray-300 {
    color: #d1d5db !important;
}
html.light-theme .hero-section .text-gray-400,
html.light-theme .program-hero .text-gray-400,
html.light-theme .about-hero .text-gray-400 {
    color: #9ca3af !important;
}
html.light-theme .hero-section .text-gray-500,
html.light-theme .program-hero .text-gray-500,
html.light-theme .about-hero .text-gray-500 {
    color: #6b7280 !important;
}
html.light-theme .hero-section .bg-brand-gray\/80,
html.light-theme .about-hero .bg-brand-gray\/80 {
    background-color: rgba(17, 17, 17, 0.8) !important;
}
html.light-theme .hero-section .bg-\[\#1a1a1a\]\/90,
html.light-theme .hero-section .bg-\[\#1a1a1a\]\/80,
html.light-theme .program-hero .bg-\[\#1a1a1a\]\/90,
html.light-theme .program-hero .bg-\[\#1a1a1a\]\/80 {
    background-color: rgba(26, 26, 26, 0.9) !important;
}
html.light-theme .hero-section .btn-outline {
    color: #FF0033 !important;
    border-color: #FF0033 !important;
    background-color: transparent !important;
}
html.light-theme .hero-section .btn-outline:hover {
    color: #ffffff !important;
    background-color: #FF0033 !important;
}

/* Keep Footer CTA banner dark & text white in light mode */
html.light-theme .cta-footer-bg {
    background: linear-gradient(rgba(12,12,12,0.9), rgba(12,12,12,0.9)), url('https://images.unsplash.com/photo-1599058917212-d750089bc07e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover !important;
}

html.light-theme .cta-footer-bg h2,
html.light-theme .cta-footer-bg .text-white {
    color: #ffffff !important;
}

html.light-theme .cta-footer-bg p,
html.light-theme .cta-footer-bg .text-white\/80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

html.light-theme .cta-footer-bg .text-white\/5 {
    color: rgba(255, 255, 255, 0.05) !important;
}

html.light-theme .btn-red,
html.light-theme .btn-red * {
    color: #ffffff !important;
}

html.light-theme footer {
    background-color: #ffffff !important;
    border-top: 1px solid #e2e8f0;
}

html.light-theme input,
html.light-theme textarea,
html.light-theme select {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

html.light-theme input::placeholder,
html.light-theme textarea::placeholder {
    color: #94a3b8 !important;
}
