/* CSS Reset & Variables */
:root {
    --primary-blue: #0B5ED7;
    --navy-dark: #0A2540;
    --gold-accent: #F4B400;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-main: #333333;
    --text-muted: #6C757D;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 12px 24px rgba(10, 37, 64, 0.12);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--navy-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

/* Typography Utilities */
.text-gold {
    color: var(--gold-accent);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--gold-accent);
    border-radius: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 10px rgba(11, 94, 215, 0.3);
}

.btn-primary:hover {
    background-color: #094CB0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(11, 94, 215, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--navy-dark);
    border-color: var(--navy-dark);
}

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

.btn-buy {
    background-color: #28a745;
    color: white;
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    display: block;
    width: 100%;
}

.btn-buy:hover {
    background-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

/* Navbar */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--navy-dark);
    font-size: 1rem;
}

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

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    color: var(--navy-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, #E2E8F0 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(11,94,215,0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Featured Course */
.featured-course {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.course-card {
    display: flex;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(10, 37, 64, 0.15);
}

.course-image {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--gold-accent);
    color: var(--navy-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

.course-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.course-info h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.course-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--navy-dark);
    font-weight: 600;
}

.rating {
    color: var(--gold-accent);
}

.course-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.course-features span {
    background-color: rgba(11, 94, 215, 0.1);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-modules {
    margin-bottom: 30px;
}

.course-modules h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.course-modules ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.course-modules li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.course-action {
    margin-top: auto;
    text-align: center;
}

.price-container {
    margin-bottom: 20px;
}

.price-original {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: #E53E3E;
    text-decoration-thickness: 3px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    margin-bottom: -5px;
}

.price-new {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: #28a745;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.promo-badge {
    font-size: 0.9rem;
    background-color: var(--gold-accent);
    color: var(--navy-dark);
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.testimonial-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid #EBEBEB;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.testimonial-card .stars {
    color: var(--gold-accent);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
}

.testimonial-card .author {
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    color: var(--navy-dark);
}

/* Footer */
footer {
    background-color: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 300px;
}

.footer-links h4, .footer-legal h4 {
    color: white;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li, .footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links a, .footer-legal a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--gold-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .course-card {
        flex-direction: column;
    }
    
    .course-image {
        min-height: 300px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .course-modules ul {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
}
