:root {
    /* Color Palette */
    --primary-color: #E60000; /* Logo Red */
    --primary-dark: #b30000;
    --secondary-color: #9B26B6; /* Logo Purple */
    --accent-color: #D4AF37; /* Logo Gold */
    
    /* Backgrounds */
    --bg-light: #fcfcfc;
    --bg-dark: #121212;
    --bg-card: rgba(255, 255, 255, 0.05);
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: #333;
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.bg-dark {
    background-color: var(--bg-dark);
    color: #fff;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.highlight {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-small {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-primary-small {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 20px;
}

.btn-primary-small:hover {
    background-color: var(--primary-dark);
}

.btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.btn-text:hover {
    color: var(--accent-color);
    letter-spacing: 1px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(18, 18, 18, 0.95);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.logo span {
    color: var(--primary-color);
    margin-left: 5px;
    font-family: var(--font-body);
    font-weight: 300;
}

.nav-logo {
    height: 60px; /* Adjust based on logo proportions */
    width: auto;
    transition: var(--transition-smooth);
}

.scrolled .nav-logo {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    list-style: none;
    padding: 10px 0;
    margin-top: 15px;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background: rgba(255, 153, 51, 0.1);
    color: var(--primary-color);
    padding-left: 25px; /* slight indent on hover */
}

/* Hamburger Menu Base */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: #fff;
}

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

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(155, 38, 182, 0.4), rgba(230, 0, 0, 0.3));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 2px 5px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Interior Page Headers */
.page-header {
    padding: 180px 0 100px;
    color: #fff;
    margin-bottom: 50px;
}

.page-header .hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* About Section */
.about {
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(155, 38, 182, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.about .lead {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(155, 38, 182, 0.2);
    animation: float 6s ease-in-out infinite;
}

.about-photo {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
    display: block;
    border-radius: 30px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.program-card:hover::before {
    opacity: 0.1;
}

.program-card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* Why Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.feature-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    opacity: 0.3;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Instagram Reels Section */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
    align-items: stretch;
}

.instagram-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    transition: var(--transition-smooth);
    padding: 0;
}

.instagram-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.instagram-iframe {
    width: 100%;
    min-height: 480px;
    height: 520px;
    border: none;
    display: block;
    border-radius: 16px;
}

@media (max-width: 1024px) {
    .instagram-grid {
        grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
        gap: 20px;
    }
    .instagram-iframe {
        height: 500px;
    }
}

@media (max-width: 650px) {
    .instagram-grid {
        grid-template-columns: 1fr;
    }
    .instagram-iframe {
        height: 480px;
    }
}

/* Testimonials */
.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 5px;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 350px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.quote-mark {
    font-size: 5rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card .author {
    color: var(--accent-color);
    font-weight: 600;
}

/* Final CTA */
.gradient-bg {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    background: #fff;
    color: var(--secondary-color);
}

.btn-large:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Contact Form Styles */
.contact-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(155, 38, 182, 0.1);
}

/* Footer */
footer {
    background: #000;
    color: #888;
    padding: 30px 0;
}

/* Animation Classes (Intersection Observer) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active, .reveal-left.active, .reveal-right.active, .reveal-up.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 1024px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title, .page-header .hero-title {
        font-size: 1.6rem;
    }

    .hero-title br {
        display: none;
    }
    
    .page-header {
        padding: 120px 0 60px;
        margin-bottom: 30px;
    }

    .nav-container {
        flex-wrap: wrap;
        position: relative;
    }

    .logo {
        font-size: 1.3rem; /* Prevent overflow on small screens */
    }

    .hamburger {
        display: block !important;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: rgba(18,18,18,0.98);
        padding: 20px 0;
        gap: 15px;
        position: absolute;
        top: 100%;
        left: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links.active {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

html, body {
    overflow-x: hidden;
}
