/* Global Styles */
:root {
    --primary-color: #4169e1;
    --primary-dark: #3050b5;
    --primary-light: #6384e8;
    --secondary-color: #ff7f50;
    --secondary-dark: #e66c40;
    --secondary-light: #ff9473;
    --bg-light: #f8f4f0;
    --bg-card: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --border-radius: 8px;
    --card-radius: 12px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
}

/* Header */
header {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 10px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 20px;
}

/* Hero Section */
.hero {
    background-color: #7286e1;
    color: var(--text-white);
    padding: 5rem 0;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rating {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stars {
    color: #ffd700;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

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

.secondary-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border: 1px solid var(--text-white);
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--text-white);
}

.full-width {
    width: 100%;
}

/* Topics Section */
.learn-topics {
    padding: 5rem 0;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.topic-card {
    background-color: var(--bg-card);
    border-radius: var(--card-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.topic-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.topic-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Curriculum Section */
.curriculum {
    padding: 5rem 0;
    background-color: #fff;
}

.module-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.module-card {
    display: flex;
    background-color: var(--bg-light);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.module-img {
    flex: 0 0 250px;
}

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

.module-content {
    flex: 1;
    padding: 2rem;
}

.module-number {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.module-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.module-details {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

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

/* Trainers Section */
.trainers {
    padding: 5rem 0;
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trainer-card {
    background-color: var(--bg-card);
    border-radius: var(--card-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

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

.trainer-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

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

.trainer-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.trainer-bio {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--bg-light);
    border-radius: var(--card-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: #ffd700;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--bg-card);
    border-radius: var(--card-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--text-white);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-note {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.features {
    margin-bottom: 2rem;
    text-align: left;
}

.features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.features i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.pricing-btn {
    width: 100%;
}

.basic-btn {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.basic-btn:hover {
    background-color: var(--primary-dark);
    color: var(--text-white);
}

.plus-btn {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

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

.premium-btn {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.premium-btn:hover {
    background-color: var(--primary-dark);
    color: var(--text-white);
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1.5rem 0;
}

.faq-question h3 {
    margin-bottom: 0;
}

.faq-icon {
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-image {
    position: relative;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
}

.contact-message {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    position: absolute;
    bottom: -20px;
    left: 20px;
    right: 20px;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-white);
    opacity: 0.8;
}

.footer-column a:hover {
    opacity: 1;
}

address {
    font-style: normal;
    line-height: 1.8;
}

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

/* Legal Pages */
.legal-page {
    padding: 5rem 0;
}

.legal-content {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-section ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .module-card {
        flex-direction: column;
    }

    .module-img {
        flex: auto;
        height: 200px;
    }

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

    .contact-message {
        position: static;
        margin-top: 1rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Header Mobile Navigation */
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: var(--shadow-md);
        padding: 1rem 0;
        text-align: center;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0.75rem 0;
    }

    /* Adjust layouts */
    .hero-buttons {
        flex-direction: column;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .legal-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .topics-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .module-details {
        flex-direction: column;
        gap: 0.75rem;
    }

    section {
        padding: 4rem 0;
    }
}