:root {
    --primary: #D4AF37; /* Metallic Gold */
    --secondary: #FFD700; /* Gold */
    --accent: #FF6B35; /* Soft Orange Accent */
    --dark: #0F172A; /* Slate 900 */
    --darker: #0B1120; /* Darker Slate */
    --light: #FFFFFF;
    --text-main: #F8FAFC; /* Slate 50 */
    --text-muted: #E2E8F0; /* Slate 200 - Slightly less bright than the title */
    --bg-light: #1E293B; /* Slate 800 for cards */
    --bg-soft: #0F172A; 
    --transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.text-muted {
    color: var(--text-muted) !important;
}

html, body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark);
    color: var(--text-main);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--light);
}

.text-accent {
    color: var(--accent) !important;
}
.text-primary {
    color: var(--primary) !important;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Navbar */
.main-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.navbar-brand .brand-text {
    color: var(--dark);
    font-size: 26px;
    letter-spacing: 1px;
    font-weight: 800;
}

.navbar-brand:hover .brand-logo-container {
    transform: rotate(360deg) scale(1.1);
    box-shadow: var(--gold-glow);
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    margin: 0 12px;
    transition: var(--transition);
    opacity: 0.85;
}

.nav-link:hover {
    color: var(--primary) !important;
    opacity: 1;
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary) !important;
    opacity: 1;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 12px;
    right: 12px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 5px;
    box-shadow: var(--gold-glow);
}

.btn-contact {
    background: var(--gold-gradient);
    color: var(--dark) !important;
    padding: 10px 25px !important;
    border-radius: 12px;
    font-weight: 700 !important;
    box-shadow: var(--gold-glow);
}

.btn-contact:hover {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
}

.carousel,
.carousel-inner,
.carousel-item,
.carousel-item.active {
    height: 600px !important;
    background-size: cover;
    background-position: center;
}

.carousel-item > .container {
    height: 600px !important;
}

.carousel-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.4) 100%);
    z-index: 1;
}

.slide-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--light);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.carousel-caption {
    z-index: 2;
    bottom: 20%;
    color: #fff;
    text-shadow: none;
    left: 5%;
    right: 35%;
    text-align: left;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 40px;
}

/* Buttons */
.btn-accent {
    background: var(--gold-gradient);
    color: var(--dark);
    border: none;
    padding: 15px 35px;
    border-radius: 18px;
    font-weight: 700;
    box-shadow: var(--gold-glow);
    transition: var(--transition);
}

.btn-accent:hover {
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

.btn-teacher {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 18px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    transition: var(--transition);
}

.btn-teacher:hover {
    background: #FF5A1F;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.6);
}

/* Registration Section */
.registration-section {
    padding-bottom: 80px;
}

.registration-box {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    margin-top: -100px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-control {
    border-radius: 15px;
    padding: 15px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(15, 23, 42, 0.8);
    color: var(--light);
}
.form-control:focus {
    background: rgba(15, 23, 42, 1);
    border-color: var(--primary);
    color: var(--light);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Registration Tabs */
.reg-tabs {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 18px;
    padding: 8px;
    gap: 5px;
    border: 1px solid rgba(255,255,255,0.05);
}

.reg-tab {
    border-radius: 14px !important;
    padding: 12px 25px !important;
    font-weight: 600;
    color: var(--text-muted) !important;
    background: transparent !important;
    border: none;
    transition: var(--transition);
}

.reg-tab.active {
    background: var(--gold-gradient) !important;
    color: var(--dark) !important;
    box-shadow: var(--gold-glow);
}

.reg-icon-box {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.reg-icon-box h4 {
    color: var(--light);
}

/* Section Styling */
.section-title {
    font-size: 3rem;
    margin-bottom: 25px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-section {
    padding: 80px 0;
    background: var(--darker);
}

/* Feature Items */
.feature-item h4 {
    color: var(--light);
}
.feature-item p {
    color: var(--text-muted);
}

.feature-icon {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--primary) !important;
    border-radius: 18px !important;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    box-shadow: var(--gold-glow);
    transform: translateY(-5px);
    color: var(--secondary) !important;
}

.feature-img-wrapper {
    position: relative;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    padding: 10px;
    background: rgba(255,255,255,0.02);
}
.feature-img-wrapper img {
    border-radius: 18px;
}

/* Course Cards */
.course-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), var(--gold-glow);
}

.course-img-box {
    height: 240px;
    position: relative;
}

.course-img-box img {
    width: 100%; height: 100%; object-fit: cover;
}

.course-badge {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--gold-gradient);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    color: var(--dark);
    box-shadow: var(--gold-glow);
}

.course-content {
    padding: 25px;
}
.course-title {
    color: var(--light);
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* Footer */
.main-footer {
    background: var(--darker);
    color: var(--text-main);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
}
.main-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold-gradient);
    opacity: 0.5;
}

.footer-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.footer-desc {
    color: var(--text-muted) !important;
}

.footer-divider {
    border-color: rgba(212, 175, 55, 0.1) !important;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.8);
    color: var(--light);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    border-color: var(--accent);
}

/* Testimonials Section */
.testimonial-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 24px;
    padding: 30px;
    transition: var(--transition);
    text-align: center;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--gold-glow);
}
.testimonial-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    margin: 0 auto 20px;
    padding: 3px;
}
.testimonial-avatar img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.quote-icon {
    color: var(--primary);
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 15px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,1) 100%);
    border-bottom: 1px solid rgba(212,175,55,0.2);
    padding: 40px 0;
}

/* =======================================
   RESPONSIVE DESIGN / MEDIA QUERIES
   ======================================= */

/* For Tablets and smaller devices */
@media (max-width: 991.98px) {
    .registration-box {
        margin-top: -50px;
        padding: 30px;
    }
    
    .hero-slider, .carousel, .carousel-inner, .carousel-item, .carousel-item.active, .carousel-item > .container {
        height: 500px !important;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

/* For Mobile Phones */
@media (max-width: 767.98px) {
    .hero-slider, .carousel, .carousel-inner, .carousel-item, .carousel-item.active, .carousel-item > .container {
        height: 450px !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .carousel-caption {
        right: 5%;
        bottom: 15%;
    }
    
    .registration-box {
        margin-top: -30px;
        padding: 20px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .content-section {
        padding: 50px 0;
    }
    
    .feature-img-wrapper {
        margin-bottom: 30px;
    }
    
    .btn-accent, .btn-teacher {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .nav-link.btn-contact {
        display: inline-block;
        margin-top: 10px;
        margin-left: 0 !important;
        text-align: center;
    }
    
    .reg-tabs {
        flex-direction: column;
    }
    
    .reg-tab {
        width: 100%;
        margin-bottom: 5px;
    }
}
