/* ===== CSS Variables ===== */
:root {
    /* Main Theme Colors */
    --primary-green: #0F3D2E;
    --secondary-green: #1F6F5F;
    --gold-accent: #C8A951;
    --light-gold: #F5E6C4;
    
    /* Background Colors */
    --main-bg: #FAF7F0;
    --card-bg: #FFFFFF;
    --section-bg: #F1EFEA;
    
    /* Text Colors */
    --heading-color: #0F3D2E;
    --text-color: #333333;
    --light-text: #777777;
    --footer-text: #EADFB4;
    
    /* Border & Shadow */
    --border-color: #E0D8C3;
    --shadow: rgba(0, 0, 0, 0.1);
    
    /* Fonts */
    --font-heading: 'Amiri', serif;
    --font-body: 'Poppins', sans-serif;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: url('img/bg.png') center/cover fixed;
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 247, 240, 0.85);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header Navbar ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary-green) 0%, #0a2a1f 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px var(--shadow);
    border-bottom: 3px solid var(--gold-accent);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold-accent);
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.logo i {
    font-size: 32px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--light-gold);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold-accent);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-login, .btn-register {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-login {
    background: transparent;
    color: var(--light-gold);
    border: 2px solid var(--gold-accent);
}

.btn-login:hover {
    background: var(--gold-accent);
    color: var(--primary-green);
}

.btn-register {
    background: var(--gold-accent);
    color: var(--primary-green);
}

.btn-register:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 169, 81, 0.3);
}

/* ===== Hero Section ===== */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 61, 46, 0.4), rgba(15, 61, 46, 0.7));
}

/* Slider Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--gold-accent);
}

.dot:hover {
    background: rgba(200, 169, 81, 0.7);
    transform: scale(1.2);
}

.dot.active {
    background: var(--gold-accent);
    width: 30px;
    border-radius: 6px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-slide .hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.decorative-line {
    width: 80px;
    height: 3px;
    background: var(--gold-accent);
    margin: 0 auto 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero .highlight {
    color: var(--gold-accent);
    display: block;
    font-size: 64px;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--light-gold);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--secondary-green);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(31, 111, 95, 0.4);
}

.btn-secondary {
    background: var(--light-gold);
    color: var(--primary-green);
    border: 2px solid var(--gold-accent);
}

.btn-secondary:hover {
    background: var(--gold-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(200, 169, 81, 0.4);
}

/* ===== Academy Section ===== */
.academy-section {
    padding: 80px 0;
    background: rgba(241, 239, 234, 0.7);
    backdrop-filter: blur(5px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.decorative-ornament {
    width: 60px;
    height: 2px;
    background: var(--gold-accent);
    margin: 0 auto 15px;
    position: relative;
}

.decorative-ornament::before,
.decorative-ornament::after {
    content: '◆';
    position: absolute;
    color: var(--gold-accent);
    font-size: 12px;
    top: -8px;
}

.decorative-ornament::before {
    left: -20px;
}

.decorative-ornament::after {
    right: -20px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--light-text);
    font-weight: 400;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-accent);
    box-shadow: 0 10px 30px rgba(200, 169, 81, 0.2);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(31, 111, 95, 0.3);
}

.icon-wrapper i {
    font-size: 36px;
    color: var(--gold-accent);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.6;
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(200, 169, 81, 0.1);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(200, 169, 81, 0.1);
    border-radius: 50%;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--gold-accent);
    position: relative;
    z-index: 2;
}

/* ===== Features Section ===== */
.features-section {
    padding: 80px 0;
    background: rgba(250, 247, 240, 0.7);
    backdrop-filter: blur(5px);
}

.feature-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--gold-accent);
    backdrop-filter: blur(10px);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--light-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid var(--gold-accent);
}

.feature-icon i {
    font-size: 32px;
    color: var(--secondary-green);
}

.feature-box h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--light-text);
    font-size: 14px;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, rgba(15, 61, 46, 0.95) 0%, rgba(10, 42, 31, 0.95) 100%);
    color: var(--footer-text);
    padding: 60px 0 20px;
    border-top: 4px solid var(--gold-accent);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-family: var(--font-heading);
    color: var(--gold-accent);
    font-size: 22px;
    margin-bottom: 20px;
}

.footer-column p {
    line-height: 1.8;
    font-size: 14px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: var(--gold-accent);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--gold-accent);
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--secondary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icons a:hover {
    background: var(--gold-accent);
    color: var(--primary-green);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(200, 169, 81, 0.3);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--footer-text);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero .highlight {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .feature-cards,
    .feature-boxes {
        grid-template-columns: 1fr;
    }
    
    .cta-banner h2 {
        font-size: 24px;
        padding: 0 20px;
    }
}
