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

:root {
    --primary-red: #FF5555;
    --primary-blue: #1F3A5F;
    --accent-gold: #D4AF37;
    --text-dark: #2C3E50;
    --text-light: #ECF0F1;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand h1 {
    font-size: 24px;
    color: var(--primary-red);
    margin: 0;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-login {
    background-color: var(--primary-blue);
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: var(--primary-red);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    background-image: url('https://private-us-east-1.manuscdn.com/sessionFile/vbfoVHqSGsomQys3AJ7dKn/sandbox/pPR8ierBzMIONBKJpZfFTh-img-1_1770809525000_na1fn_dG9lZmwtaGVyby1iZw.png?x-oss-process=image/resize,w_1920,h_1920/format,webp/quality,q_80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 58, 95, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 56px;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Buttons */
.btn-primary, .btn-primary-large {
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 85, 85, 0.3);
}

.btn-primary:hover, .btn-primary-large:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 58, 95, 0.4);
}

.btn-primary-large {
    padding: 18px 50px;
    font-size: 18px;
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    transform: translateY(-2px);
}

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

.why-choose h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

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

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Courses Section */
.courses {
    padding: 80px 20px;
    background-color: white;
}

.courses h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
}

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

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.course-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2C5AA0 100%);
}

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

.course-card h3 {
    font-size: 24px;
    padding: 25px 25px 10px;
    color: var(--primary-blue);
}

.course-subtitle {
    padding: 0 25px;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
}

.course-description {
    padding: 10px 25px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.course-details {
    display: flex;
    justify-content: space-between;
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.course-details span:first-child {
    color: var(--text-dark);
}

.course-details span:last-child {
    color: var(--primary-red);
    font-size: 18px;
}

.course-card .btn-secondary {
    width: calc(100% - 50px);
    margin: 20px 25px;
}

/* Teachers Section */
.teachers {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.teachers h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
}

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

.teacher-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-10px);
}

.teacher-image {
    margin-bottom: 20px;
}

.placeholder-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto;
}

.teacher-card h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.teacher-title {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 15px;
}

.teacher-bio {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Success Stories Section */
.success-stories {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2C5AA0 100%);
    color: white;
}

.success-stories h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: white;
}

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

.story-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.story-rating {
    font-size: 20px;
    margin-bottom: 15px;
}

.story-text {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
    font-style: italic;
}

.story-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.story-detail {
    color: var(--accent-gold);
    font-size: 14px;
}

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

.cta h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #FFD700;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.contact h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #666;
}

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

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 5px rgba(255, 85, 85, 0.3);
}

.contact-form button {
    align-self: flex-start;
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .why-choose h2,
    .courses h2,
    .teachers h2,
    .success-stories h2,
    .cta h2,
    .contact h2 {
        font-size: 32px;
    }

    .features-grid,
    .courses-grid,
    .teachers-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer .container {
        flex-direction: column;
    }

    .course-card .btn-secondary {
        width: calc(100% - 50px);
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 10px;
        font-size: 12px;
    }

    .nav-brand h1 {
        font-size: 18px;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn-primary, .btn-primary-large {
        padding: 12px 30px;
        font-size: 14px;
    }

    .why-choose,
    .courses,
    .teachers,
    .success-stories,
    .cta,
    .contact {
        padding: 50px 20px;
    }

    .feature-card,
    .course-card,
    .teacher-card,
    .story-card {
        padding: 20px;
    }
}
