/* ====================================
   CSS Variables & Reset
   ==================================== */
:root {
    --primary-navy: #0A2540;
    --secondary-blue: #1E4D7B;
    --accent-gold: #D4AF37;
    --light-blue: #5B8DB8;
    --cream: #F8F6F1;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #6B7280;
    --border-light: #E5E7EB;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--secondary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-navy);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* ====================================
   Header & Navigation
   ==================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 20px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-navy);
    letter-spacing: 2px;
    line-height: 1.2;
}

.logo h1 span {
    color: var(--accent-gold);
}

.logo .tagline {
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--secondary-blue);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    transition: var(--transition);
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    height: 90vh;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

/* ====================================
   Partnership Banner
   ==================================== */
.partnership-banner {
    background: var(--accent-gold);
    padding: 15px 0;
    text-align: center;
}

.partnership-banner p {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 1rem;
}

.partnership-banner a {
    color: var(--primary-navy);
    text-decoration: underline;
}

.partnership-banner a:hover {
    color: var(--secondary-blue);
}

/* ====================================
   Categories Section
   ==================================== */
.categories {
    padding: 100px 0;
    background: var(--cream);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-blue);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.category-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.category-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.category-card > p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.category-list {
    margin: 20px 0;
    padding-left: 0;
}

.category-list li {
    padding: 8px 0;
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.category-list li::before {
    content: '→';
    color: var(--accent-gold);
    margin-right: 10px;
    font-weight: bold;
}

.category-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--secondary-blue);
    font-weight: 600;
    transition: var(--transition);
}

.category-link:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

/* ====================================
   Why Choose Us Section
   ==================================== */
.why-choose {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ====================================
   Partnership Section
   ==================================== */
.partnership {
    padding: 100px 0;
    background: var(--cream);
}

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

.partnership-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 25px;
}

.partnership-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.partnership-benefits {
    margin: 30px 0;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.benefit svg {
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.benefit span {
    color: var(--text-dark);
    font-weight: 500;
}

.partnership-logo-placeholder {
    background: var(--white);
    padding: 60px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.logo-box {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-blue));
    color: var(--white);
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
}

.logo-box h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.partnership-symbol {
    font-size: 3rem;
    color: var(--accent-gold);
}

/* ====================================
   CTA Section
   ==================================== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ====================================
   Contact Section
   ==================================== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item svg {
    width: 40px;
    height: 40px;
    color: var(--secondary-blue);
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-blue);
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-section h4 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom a {
    color: var(--accent-gold);
}

/* ====================================
   Courses Page Styles
   ==================================== */
.page-header {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 15px;
}

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

/* Courses Filter */
.courses-filter {
    padding: 40px 0;
    background: var(--white);
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.filter-wrapper {
    display: flex;
    justify-content: center;
}

.filter-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border-light);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 25px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-blue);
    color: var(--white);
    border-color: var(--secondary-blue);
}

/* Courses Section */
.courses-section {
    padding: 80px 0;
    background: var(--cream);
}

.courses-section:nth-child(even) {
    background: var(--white);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.course-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.course-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
    line-height: 1.3;
}

.course-content > p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.course-highlights {
    margin-bottom: 25px;
    flex-grow: 1;
}

.course-highlights li {
    padding: 8px 0;
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.course-highlights li::before {
    content: '✓';
    color: var(--accent-gold);
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 0;
        gap: 20px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .partnership-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .hero {
        height: 70vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.3rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .partnership-logo-placeholder {
        padding: 40px 20px;
    }
}