/* CM Academy Stylesheet */
/* Brand Colors: #d72f4e, #1a73e8, #f99720, #630db3, #821B3B */

:root {
    --brand-red: #d72f4e;
    --brand-blue: #1a73e8;
    --brand-orange: #f99720;
    --brand-purple: #630db3;
    --brand-dark-red: #821B3B;
    --cream-bg: #fdfbf7;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: 
        linear-gradient(
            rgba(60, 12, 53, 0.65),
            rgba(12, 40, 60, 0.65)
        ),
        url('../CM-Academy-Assets/13.webp');
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    color: var(--white);
    padding: 100px 20px;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(249, 151, 32, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(26, 115, 232, 0.15) 0%, transparent 50%);
    pointer-events: none;
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--brand-orange);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: 'Roboto', sans-serif;
}

.btn-primary {
    background: var(--white);
    color: var(--brand-red);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--brand-red);
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--brand-orange);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
.about,
.courses {
    padding: 80px auto;
    margin-top: 35px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-dark-red);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Courses Section */
.courses {
    background: var(--light-gray);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.course-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.course-card.featured {
    border: 3px solid var(--brand-orange);
}

.course-header {
    padding: 40px 30px;
    color: var(--white);
    text-align: center;
}

.course-level {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.course-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-tagline {
    font-size: 1rem;
    opacity: 0.9;
}

.course-body {
    padding: 30px;
}

.course-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.course-topics h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-dark-red);
    margin-bottom: 15px;
}

.course-topics ul {
    list-style: none;
    padding: 0;
}

.course-topics li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-primary);
    border-bottom: 1px solid #f0f0f0;
}

.course-topics li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.btn-course {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--brand-red);
    color: var(--white);
    padding: 15px;
    font-weight: 600;
    border-radius: 10px;
}

.btn-course:hover {
    background: var(--brand-dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(215, 47, 78, 0.3);
}

/* CTA Section */
.cta {
    background-image: 
        linear-gradient(
            rgba(60, 12, 53, 0.65),
            rgba(12, 40, 60, 0.65)
        ),
        url('../CM-Academy-Assets/20.webp');
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    margin-top: 35px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-cta {
    background: var(--white);
    color: var(--brand-blue);
    padding: 12px 25px;
    font-size: 18px;
}

.btn-cta:hover {
    background: var(--brand-orange);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .course-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .navbar {
        padding: 10px 15px;
    }

    .nav-brand {
        font-size: 20px;
    }
}