/*
  main.css - Consolidated shared stylesheet for the ClassPlusPlus demo site

  Purpose:
  - This file contains all the styles previously inlined inside individual
    HTML files (index.html, courses.html, webinars.html, workshops.html).
  - The goal is to centralize styling for consistency, maintainability and
    caching benefits when the site is deployed.

  Notes:
  - The stylesheet intentionally groups rules logically (global reset,
    variables, navigation, hero, page sections, shared card patterns and
    specific variants for courses/webinars/workshops).
  - Per-element inline styles (for example gradient backgrounds on specific
    .course-image elements) remain in the HTML when they are intentionally
    unique per-card.
*/

/* -------------------- Global reset & variables -------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1a1527;
    --dark-purple: #2a1f3d;
    --purple: #9b8fd9;
    --light-purple: #b8aee5;
    --white: #ffffff;
    --off-white: #f5f5f5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* -------------------- Navigation & dropdowns -------------------- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 21, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(155, 143, 217, 0.1);
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

nav .logo span {
    color: var(--purple);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav li { position: relative; }

nav a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
}

nav a:hover { color: var(--purple); }

/* Dropdown visual behaviour (desktop) */
.dropdown { position: relative; }
.dropdown > a { cursor: pointer; display: flex; align-items: center; gap: 0.3rem; }
.dropdown-arrow { font-size: 0.7rem; transition: transform 0.3s; }
.dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-purple);
    border: 1px solid rgba(155, 143, 217, 0.3);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    padding: 0.8rem 1.5rem;
    color: var(--off-white);
    font-weight: 400;
    font-size: 0.95rem;
}

.dropdown-menu a:hover { background: rgba(155, 143, 217, 0.1); color: var(--purple); }

/* Mobile menu (hamburger) - revealed via media queries */
.mobile-menu { display: none; flex-direction: column; gap: 0.3rem; cursor: pointer; }
.mobile-menu span { width: 25px; height: 3px; background: var(--white); transition: 0.3s; }

/* -------------------- Hero and page decoration -------------------- */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8rem 2rem 4rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(155, 143, 217, 0.15), transparent); border-radius: 50%; top: -200px; right: -200px; animation: float 20s infinite ease-in-out; }
.hero::after { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(155, 143, 217, 0.1), transparent); border-radius: 50%; bottom: -150px; left: -150px; animation: float 15s infinite ease-in-out reverse; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, 30px); } }

.hero-content { max-width: 800px; position: relative; z-index: 1; }
.hero-logo { max-width: 500px; width: 100%; margin-bottom: 2rem; animation: fadeInUp 1s ease-out; }

/* New image-based logo styling */
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-img { display: block; height: 40px; width: auto; }

@media (max-width: 768px) {
    .logo-img { height: 34px; }
    .hero-logo { max-width: 320px; }
}
.hero h1 { font-size: 3rem; margin-bottom: 1.5rem; font-weight: 700; animation: fadeInUp 1s ease-out 0.2s backwards; }
.hero p { font-size: 1.3rem; color: var(--light-purple); margin-bottom: 2rem; animation: fadeInUp 1s ease-out 0.4s backwards; }

.cta-button { display: inline-block; padding: 1rem 2.5rem; background: var(--purple); color: var(--white); text-decoration: none; border-radius: 50px; font-weight: 600; transition: all 0.3s; animation: fadeInUp 1s ease-out 0.6s backwards; }
.cta-button:hover { background: var(--light-purple); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(155, 143, 217, 0.3); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* -------------------- Generic section styles -------------------- */
section, main { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; }

section h2 { font-size: 2.5rem; text-align: center; margin-bottom: 1rem; color: var(--white); }
section .subtitle { text-align: center; color: var(--light-purple); margin-bottom: 4rem; font-size: 1.1rem; }

/* -------------------- Page header (cards/list pages) -------------------- */
/* Center and visually highlight page headers used on courses/webinars/workshops */
.page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.6rem;
    margin: 2.5rem auto 3.5rem;
    padding: 1.75rem 1.25rem;
    max-width: 900px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(155,143,217,0.04), rgba(26,21,39,0.02));
    border: 1px solid rgba(155,143,217,0.06);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.page-header h1 { font-size: 2.2rem; font-weight: 800; color: var(--white); line-height: 1.05; margin: 0; letter-spacing: -0.3px; }
.page-header p { color: var(--light-purple); font-size: 1.05rem; max-width: 60ch; margin: 0; }

@media (max-width: 768px) {
    .page-header { padding: 1.25rem; margin-top: 1.75rem; margin-bottom: 2rem; }
    .page-header h1 { font-size: 1.6rem; }
    .page-header p { font-size: 1rem; }
}

/* About content card */
.about-content { background: var(--dark-purple); padding: 3rem; border-radius: 20px; border: 1px solid rgba(155, 143, 217, 0.2); max-width: 900px; margin: 0 auto; }
.about-content p { font-size: 1.1rem; line-height: 1.8; color: var(--off-white); margin-bottom: 1.5rem; }
.about-content p:last-child { margin-bottom: 0; }

/* Generic project/expertise cards */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.project-card { background: var(--dark-purple); padding: 2.5rem; border-radius: 20px; border: 1px solid rgba(155, 143, 217, 0.2); transition: all 0.3s; cursor: pointer; }
.project-card:hover { transform: translateY(-10px); border-color: var(--purple); box-shadow: 0 20px 40px rgba(155, 143, 217, 0.2); }
.project-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.project-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--light-purple); }
.project-card p { color: var(--off-white); line-height: 1.7; }

/* Expertise grid */
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.expertise-item { background: var(--dark-purple); padding: 2rem; border-radius: 15px; border: 1px solid rgba(155, 143, 217, 0.2); text-align: center; transition: all 0.3s; }
.expertise-item:hover { border-color: var(--purple); transform: scale(1.05); }
.expertise-item h3 { color: var(--purple); margin-bottom: 0.5rem; font-size: 1.3rem; }
.expertise-item p { color: var(--off-white); }

/* Contact */
.contact-content { margin-top: 2rem; }
.contact-card { background: var(--dark-purple); padding: 2rem; border-radius: 24px; border: 1px solid rgba(155, 143, 217, 0.2); box-shadow: 0 20px 40px rgba(155, 143, 217, 0.15); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact-info { color: var(--white); }
.contact-title { color: var(--white); font-size: 1.6rem; margin: 0 0 1rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; background: rgba(98, 78, 178, 0.18); padding: 0.9rem 1rem; border-radius: 16px; }
.contact-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(155, 143, 217, 0.2); color: var(--light-purple); font-weight: 700; }
.contact-label { font-weight: 700; color: var(--white); }
.contact-value a { color: var(--light-purple); text-decoration: none; }
.contact-value a:hover { color: var(--purple); }
.contact-info a { color: var(--purple); text-decoration: none; font-size: 1.2rem; font-weight: 600; transition: color 0.3s; }
.contact-info a:hover { color: var(--light-purple); }
.social-links { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; }
.social-links a { display: inline-block; width: 50px; height: 50px; background: var(--purple); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; text-decoration: none; color: var(--white); font-size: 1.5rem; }
.social-links a:hover { background: var(--light-purple); transform: translateY(-5px); }

.contact-form { }
.contact-form .form-group input,
.contact-form .form-group textarea { padding: 0.9rem 1rem; border: 2px solid rgba(155, 143, 217, 0.3); border-radius: 12px; background: rgba(98, 78, 178, 0.1); color: var(--white); font-size: 1rem; transition: all 0.2s ease; }
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder { color: rgba(255, 255, 255, 0.6); }
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(155, 143, 217, 0.25); background: rgba(98, 78, 178, 0.2); }
.contact-send { display: inline-block; background: var(--purple); color: var(--white); border: none; padding: 0.9rem 1.4rem; border-radius: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 20px rgba(155, 143, 217, 0.35); transition: transform 0.1s ease; }
.contact-send:hover { transform: translateY(-2px); background: var(--light-purple); }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* Footer */
footer { background: var(--dark-purple); padding: 2rem; text-align: center; border-top: 1px solid rgba(155, 143, 217, 0.2); }
footer p { color: var(--light-purple); }

/* -------------------- Responsive rules -------------------- */
@media (max-width: 768px) {
    nav ul { display: none; }
    .mobile-menu { display: flex; }

    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 1rem; background: transparent; }

    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.1rem; }

    section, main { padding: 4rem 1.5rem; }
    section h2 { font-size: 2rem; }

    .about-content, .contact-info { padding: 2rem; }

    .projects-grid, .expertise-grid { grid-template-columns: 1fr; }
}

/* -------------------- Courses specific styles -------------------- */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2rem; }
.course-card { background: var(--dark-purple); border-radius: 15px; overflow: hidden; border: 1px solid rgba(155, 143, 217, 0.2); transition: all 0.3s ease; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.course-card:hover { transform: translateY(-10px); border-color: var(--purple); box-shadow: 0 20px 40px rgba(155, 143, 217, 0.3); }
.course-image { width: 100%; height: 200px; object-fit: cover; background: linear-gradient(135deg, var(--purple), var(--dark-purple)); display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative; }
.course-badge { position: absolute; top: 1rem; right: 1rem; background: var(--white); color: var(--dark-purple); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.course-content { padding: 1.5rem; }
.course-provider { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--light-purple); }
.provider-logo { width: 24px; height: 24px; background: var(--purple); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }
.course-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; color: var(--white); line-height: 1.3; }
.course-skills { margin-bottom: 1rem; }
.course-skills-label { font-size: 0.85rem; color: var(--light-purple); margin-bottom: 0.5rem; }
.course-skills-text { font-size: 0.9rem; color: var(--off-white); line-height: 1.5; }
.course-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid rgba(155, 143, 217, 0.1); }
.course-rating { display: flex; align-items: center; gap: 0.5rem; }
.rating-stars { color: #ffd700; font-size: 1.1rem; }
.rating-value { font-weight: 700; font-size: 1rem; }
.rating-count { font-size: 0.85rem; color: var(--light-purple); }
.course-duration { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--off-white); }
.course-level { display: inline-block; padding: 0.3rem 0.8rem; background: rgba(155, 143, 217, 0.2); border-radius: 15px; font-size: 0.85rem; margin-bottom: 1rem; color: var(--light-purple); }

/* -------------------- Webinars specific styles -------------------- */
.webinars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2rem; }
.webinar-card { background: var(--dark-purple); border-radius: 15px; overflow: hidden; border: 1px solid rgba(155, 143, 217, 0.2); transition: all 0.3s ease; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.webinar-card:hover { transform: translateY(-10px); border-color: var(--purple); box-shadow: 0 20px 40px rgba(155, 143, 217, 0.3); }
.webinar-image { width: 100%; height: 200px; object-fit: cover; background: linear-gradient(135deg, var(--purple), var(--dark-purple)); display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative; }
.webinar-badge { position: absolute; top: 1rem; right: 1rem; background: #FF6B6B; color: var(--white); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.webinar-badge.upcoming { background: #4ECDC4; }
.webinar-badge.recorded { background: var(--purple); }
.webinar-content { padding: 1.5rem; }
.webinar-speaker { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--light-purple); }
.speaker-avatar { width: 32px; height: 32px; background: var(--purple); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.webinar-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; color: var(--white); line-height: 1.3; }
.webinar-topics { margin-bottom: 1rem; }
.webinar-topics-label { font-size: 0.85rem; color: var(--light-purple); margin-bottom: 0.5rem; }
.webinar-topics-text { font-size: 0.9rem; color: var(--off-white); line-height: 1.5; }
.webinar-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid rgba(155, 143, 217, 0.1); }
.webinar-rating { display: flex; align-items: center; gap: 0.5rem; }
.webinar-duration { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--off-white); }
.webinar-date { display: inline-block; padding: 0.3rem 0.8rem; background: rgba(155, 143, 217, 0.2); border-radius: 15px; font-size: 0.85rem; margin-bottom: 1rem; color: var(--light-purple); }

/* -------------------- Workshops specific styles -------------------- */
.workshops-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2rem; }
.workshop-card { background: var(--dark-purple); border-radius: 15px; overflow: hidden; border: 1px solid rgba(155, 143, 217, 0.2); transition: all 0.3s ease; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.workshop-card:hover { transform: translateY(-10px); border-color: var(--purple); box-shadow: 0 20px 40px rgba(155, 143, 217, 0.3); }
.workshop-image { width: 100%; height: 200px; object-fit: cover; background: linear-gradient(135deg, var(--purple), var(--dark-purple)); display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative; }
.workshop-badge { position: absolute; top: 1rem; right: 1rem; background: #48BB78; color: var(--white); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.workshop-badge.full { background: #FC8181; }
.workshop-badge.spots { background: #F6AD55; }
.workshop-content { padding: 1.5rem; }
.workshop-instructor { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--light-purple); }
.instructor-avatar { width: 32px; height: 32px; background: var(--purple); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.workshop-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; color: var(--white); line-height: 1.3; }
.workshop-skills { margin-bottom: 1rem; }
.workshop-skills-label { font-size: 0.85rem; color: var(--light-purple); margin-bottom: 0.5rem; }
.workshop-skills-text { font-size: 0.9rem; color: var(--off-white); line-height: 1.5; }
.workshop-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid rgba(155, 143, 217, 0.1); }
.workshop-rating { display: flex; align-items: center; gap: 0.5rem; }
.workshop-duration { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--off-white); }
.workshop-type { display: inline-block; padding: 0.3rem 0.8rem; background: rgba(155, 143, 217, 0.2); border-radius: 15px; font-size: 0.85rem; margin-bottom: 1rem; color: var(--light-purple); }
.workshop-meta { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; color: var(--light-purple); }

/* -------------------- Social Links -------------------- */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(155, 143, 217, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--light-purple);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-icon:hover {
    background: var(--purple);
    color: var(--white);
    transform: translateY(-4px);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.youtube:hover {
    background: #FF0000;
}

.social-icon.github:hover {
    background: #333333;
}

/* -------------------- Team Section -------------------- */
.team-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 2rem;
    color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.team-member-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(155, 143, 217, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-purple);
    transition: all 0.3s ease;
}

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

.team-member-image.highlighted {
    border-color: #FF6B6B;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
}

.team-member:hover .team-member-image {
    transform: scale(1.02);
    border-color: var(--purple);
}

.team-member h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--white);
}

.team-role {
    font-size: 0.9rem;
    color: var(--light-purple);
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    justify-content: center;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(155, 143, 217, 0.2);
    color: var(--light-purple);
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.team-social a:hover {
    background: var(--purple);
    color: var(--white);
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------- Small-screen grid overrides for course/webinar/workshop pages */
@media (max-width: 768px) {
    .courses-grid, .webinars-grid, .workshops-grid { grid-template-columns: 1fr; }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* -------------------- Feedback styles -------------------- */
.feedback {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin-top: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.feedback-item {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(155, 143, 217, 0.15);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 0 0 calc(25% - 1.125rem);
    min-width: 280px;
}

.feedback-item:hover {
    border-color: rgba(155, 143, 217, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feedback-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.student-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(155, 143, 217, 0.2);
}

.student-info h4 {
    font-size: 1rem;
    color: var(--navy);
    margin: 0;
    font-weight: 700;
}

.student-meta {
    font-size: 0.85rem;
    color: var(--light-purple);
    margin: 0.2rem 0 0 0;
}

.feedback-text {
    font-style: italic;
    color: var(--navy);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* -------------------- Course section styles -------------------- */
.course-section {
    background: var(--dark-purple);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(155, 143, 217, 0.2);
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.course-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.course-section p, .course-section ul, .course-section li {
    color: var(--off-white);
}

.course-section li {
    margin-bottom: 0.5rem;
}

/* -------------------- Course details grid -------------------- */
.course-details-grid {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 1rem;
}

/* -------------------- Course details table -------------------- */
.course-details-table {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
    background: var(--dark-purple);
    color: var(--white);
    border-radius: 15px;
    padding: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(155, 143, 217, 0.2);
}

.detail-item {
    text-align: left;
    padding: 0 1.5rem;
    background: transparent;
    border-radius: 0;
    border: none;
    border-right: 2px solid rgba(155, 143, 217, 0.3);
    flex: 1;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-item:hover {
    opacity: 0.9;
}

.detail-item:last-child {
    border-right: none;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.skill-badge {
    background: linear-gradient(135deg, var(--purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skill-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(98, 78, 178, 0.4);
    border-color: var(--light-purple);
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--purple) 100%);
}

/* Modules List */
.modules-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.module-item {
    display: flex;
    align-items: center;
    background: rgba(98, 78, 178, 0.15);
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border-left: 4px solid var(--purple);
    transition: all 0.3s ease;
    cursor: pointer;
}

.module-item:hover {
    background: rgba(98, 78, 178, 0.25);
    border-left-color: var(--light-purple);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(98, 78, 178, 0.3);
}

.module-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light-purple);
    margin-right: 1rem;
    min-width: 40px;
    text-align: center;
}

.module-content h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

.detail-item h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.detail-item p {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--light-purple);
    line-height: 1.5;
}
/* Contact Form Styles */
.contact-form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.contact-social-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(155, 143, 217, 0.2);
    border: 2px solid rgba(155, 143, 217, 0.4);
    color: var(--light-purple);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-icon-link:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(155, 143, 217, 0.3);
}

.social-icon-link[href*="instagram"]:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e4405f;
    color: var(--white);
}

.social-icon-link[href*="youtube"]:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: var(--white);
}

.social-icon-link[href*="github"]:hover {
    background: #1a1a1a;
    border-color: #ffffff;
    color: var(--white);
}

.social-icon-link[href*="mailto"]:hover {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    border-color: #0066ff;
    color: var(--white);
}

.contact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(155, 143, 217, 0.2);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(155, 143, 217, 0.1) 0%, rgba(98, 78, 178, 0.05) 100%);
    border: 1px solid rgba(155, 143, 217, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-item:hover {
    background: linear-gradient(135deg, rgba(155, 143, 217, 0.2) 0%, rgba(98, 78, 178, 0.15) 100%);
    border-color: rgba(155, 143, 217, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(155, 143, 217, 0.2);
}

.stat-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #9b8fd9 0%, #c9b8e4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.enrollment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(155, 143, 217, 0.3);
    border-radius: 8px;
    background: rgba(98, 78, 178, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--purple);
    background: rgba(98, 78, 178, 0.2);
    box-shadow: 0 0 10px rgba(98, 78, 178, 0.3);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select option {
    background: var(--dark-purple);
    color: var(--white);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: var(--purple);
}

.checkbox-group span {
    font-weight: 500;
    color: var(--white);
}

.enrollment-form .cta-button {
    align-self: flex-start;
    margin-top: 1rem;
}