/* Base styles and variables */
:root {
    --primary-color: #6D63FF;
    --secondary-color: #4F46E5;
    --accent-color: #10B981;
    --text-color: #374151;
    --text-color-light: #6B7280;
    --background-color: #FFFFFF;
    --background-alt: #F9FAFB;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset & Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Spectral', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-color);
}

h1 {
    font-size: 5.2rem;
}

h2 {
    font-size: 3.6rem;
    position: relative;
    margin-bottom: 4rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    height: 0.3rem;
    width: 8rem;
    background-color: var(--accent-color);
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.6rem;
}

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

a:hover {
    color: var(--secondary-color);
}

ul, ol {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 10rem 0;
    position: relative;
}

section:nth-child(even) {
    background-color: var(--background-alt);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.6rem;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Header & Navigation */
header.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    background-color: var(--background-alt);
    overflow: hidden;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    z-index: 1000;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.logo {
    font-family: 'Spectral', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links li a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.6rem;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-links li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2.1rem;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 10px;
    transition: var(--transition);
}

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

.hero-content h1 {
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color-light);
}

.hero-spiral {
    position: absolute;
    top: 50%;
    right: -15%;
    transform: translateY(-50%);
    width: 80%;
    max-width: 600px;
    z-index: 0;
    opacity: 0.1;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.benefit-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

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

.benefit-icon {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(109, 99, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.benefit-icon svg {
    width: 3rem;
    height: 3rem;
}

.benefit-card h3 {
    margin-bottom: 1.5rem;
}

/* Approach Section */
.approach-content {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.approach-text, .approach-image {
    flex: 1;
}

.approach-features {
    margin-top: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-dot {
    width: 1.2rem;
    height: 1.2rem;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-right: 1.5rem;
}

.approach-image {
    position: relative;
}

.approach-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.image-accent {
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    z-index: 0;
}

/* Courses Section */
.courses-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.course-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.course-image {
    height: 200px;
    overflow: hidden;
}

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

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-content {
    padding: 2.5rem;
}

.course-details {
    margin: 2rem 0;
}

.course-details li {
    display: flex;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.course-details li span {
    font-weight: 600;
    width: 100px;
}

/* Instructors Section */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.instructor-card {
    text-align: center;
}

.instructor-image {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
}

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

.instructor-socials {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: var(--transition);
}

.instructor-image:hover .instructor-socials {
    opacity: 1;
}

.instructor-socials a {
    color: white;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.instructor-socials a:hover {
    background-color: var(--primary-color);
}

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

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

/* Testimonials Section */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding: 0 2rem;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-content p::before {
    top: -2rem;
    left: -1rem;
}

.testimonial-content p::after {
    bottom: -4rem;
    right: -1rem;
}

.testimonial-author {
    margin-top: 2rem;
    text-align: right;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-title {
    color: var(--text-color-light);
    font-size: 1.4rem;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 6rem;
    margin-top: 4rem;
}

.contact-info, .contact-form {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.info-item svg {
    width: 2.4rem;
    height: 2.4rem;
    margin-right: 2rem;
    color: var(--primary-color);
}

.info-item h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'Work Sans', sans-serif;
    font-size: 1.6rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(109, 99, 255, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox input {
    width: auto;
    margin-right: 1rem;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-logo {
    font-family: 'Spectral', serif;
    font-size: 2.4rem;
    font-weight: 600;
}

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

.footer-links a {
    color: #CBD5E1;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    color: #94A3B8;
    font-size: 1.4rem;
}

/* Media Queries */
@media (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .approach-content {
        flex-direction: column;
        gap: 4rem;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    h1 {
        font-size: 4.2rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background-color: white;
        padding: 2rem 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-content {
        padding: 0 2rem;
    }
    
    .hero-spiral {
        right: -30%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    nav {
        padding: 2rem;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .benefit-card, .course-card, .testimonial {
        padding: 2rem;
    }
    
    .instructor-image {
        width: 150px;
        height: 150px;
    }
}