/* ===== BASE STYLES ===== */
:root {
    /* Primary Colors */
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;
    --primary-300: #a5b4fc;
    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --primary-800: #3730a3;
    --primary-900: #312e81;
    
    /* Secondary Colors */
    --secondary-50: #f0f9ff;
    --secondary-100: #e0f2fe;
    --secondary-200: #bae6fd;
    --secondary-300: #7dd3fc;
    --secondary-400: #38bdf8;
    --secondary-500: #0ea5e9;
    --secondary-600: #0284c7;
    --secondary-700: #0369a1;
    --secondary-800: #075985;
    --secondary-900: #0c4a6e;
    
    /* Accent Colors */
    --accent-50: #fdf2f8;
    --accent-100: #fce7f3;
    --accent-200: #fbcfe8;
    --accent-300: #f9a8d4;
    --accent-400: #f472b6;
    --accent-500: #ec4899;
    --accent-600: #db2777;
    --accent-700: #be185d;
    --accent-800: #9d174d;
    --accent-900: #831843;
    
    /* Neutral Colors */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Success/Error/Warning */
    --success-50: #f0fdf4;
    --success-100: #dcfce7;
    --success-500: #22c55e;
    --success-600: #16a34a;
    --error-50: #fef2f2;
    --error-100: #fee2e2;
    --error-500: #ef4444;
    --error-600: #dc2626;
    --warning-50: #fefce8;
    --warning-100: #fef9c3;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background-color: var(--gray-50);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
}

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

section {
    padding: 100px 0;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary-600), var(--accent-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
}

.btn-secondary {
    background-color: var(--secondary-500);
    color: white;
    border: none;
}

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

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

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

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-600);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-600);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-normal);
}

.btn-link:hover {
    gap: 10px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all var(--transition-normal);
}

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

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo i {
    color: var(--primary-600);
    font-size: 32px;
}

.logo-highlight {
    color: var(--primary-600);
}

nav {
    display: flex;
    align-items: center;
}

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

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 16px;
    transition: color var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-600);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-600);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    margin-left: 16px;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-700);
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-100) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.badge {
    display: inline-block;
    background-color: var(--primary-100);
    color: var(--primary-700);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-600);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image-container {
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform var(--transition-normal);
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.floating-card {
    position: absolute;
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 30px;
    left: -30px;
    animation-delay: 2s;
}

.floating-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background-color: var(--primary-100);
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.floating-title {
    font-weight: 600;
    color: var(--gray-900);
}

.floating-subtitle {
    font-size: 12px;
    color: var(--gray-500);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background-color: var(--primary-100);
    color: var(--primary-700);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
}

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-300);
}

.feature-card-highlight {
    border-top: 4px solid var(--primary-500);
    position: relative;
    overflow: hidden;
}

.feature-card-highlight::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--primary-500);
    color: white;
    padding: 4px 30px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
}

.feature-icon {
    font-size: 48px;
    color: var(--primary-600);
    margin-bottom: 24px;
}

.feature-title {
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-list li i {
    color: var(--success-500);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ===== COURSES SECTION ===== */
.courses-section {
    background-color: var(--gray-50);
}

.course-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: white;
    border: 1px solid var(--gray-300);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--primary-500);
    color: var(--primary-600);
}

.filter-btn.active {
    background-color: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

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

.course-header {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

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

.course-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--primary-600);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
}

.course-rating {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 6px 10px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-800);
}

.course-rating i {
    color: var(--warning-500);
}

.course-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.course-description {
    color: var(--gray-600);
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gray-600);
}

.meta-item i {
    color: var(--primary-500);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.course-price {
    display: flex;
    flex-direction: column;
}

.original-price {
    font-size: 14px;
    color: var(--gray-500);
    text-decoration: line-through;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-600);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-container {
    position: relative;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--warning-500);
    font-size: 20px;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 30px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--primary-100);
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-size: 18px;
    margin-bottom: 4px;
}

.author-title {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.author-course {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--primary-600);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: white;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-btn:hover {
    background-color: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background-color: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.slider-dot.active {
    background-color: var(--primary-600);
}

/* ===== FAQ SECTION ===== */
.faq-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary-300);
}

.faq-question {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 16px;
}

.faq-question h3 {
    font-size: 18px;
    margin-bottom: 0;
    flex-grow: 1;
}

.faq-number {
    color: var(--primary-600);
    font-weight: 700;
    font-size: 14px;
}

.faq-toggle {
    color: var(--primary-600);
    font-size: 20px;
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 300px;
}

.faq-answer p {
    color: var(--gray-600);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-600) 100%);
    color: white;
}

.cta-card {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 60px;
    box-shadow: var(--shadow-xl);
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-size: 36px;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-image {
    flex: 1;
}

.cta-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===== CONTACT SECTION ===== */
.contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.contact-header {
    margin-bottom: 40px;
}

.contact-title {
    font-size: 36px;
    margin-bottom: 16px;
}

.contact-subtitle {
    font-size: 18px;
    color: var(--gray-600);
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background-color: var(--primary-100);
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--gray-600);
    margin-bottom: 4px;
}

.social-links h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background-color: var(--gray-100);
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary-600);
    color: white;
    transform: translateY(-3px);
}

.contact-form-container {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 24px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--gray-900);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 30px;
    line-height: 1.7;
}

.footer-newsletter h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 16px;
    border: 1px solid var(--gray-700);
    border-radius: var(--radius);
    background-color: var(--gray-800);
    color: white;
    font-family: 'Inter', sans-serif;
}

.newsletter-form input::placeholder {
    color: var(--gray-500);
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
    font-size: 14px;
}

.payment-methods {
    display: flex;
    gap: 16px;
    font-size: 24px;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalFadeIn 0.3s ease-out;
}

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

.modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 24px;
    margin-bottom: 0;
}

.close-modal {
    font-size: 28px;
    cursor: pointer;
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

.close-modal:hover {
    color: var(--gray-900);
}

.modal-body {
    padding: 30px;
}

.enrollment-step {
    display: none;
}

.enrollment-step.active {
    display: block;
}

.course-summary {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.course-summary-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

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

.course-summary-details {
    flex-grow: 1;
}

.course-summary-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.course-summary-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-600);
    margin-bottom: 12px;
}

.course-summary-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
}

.enrollment-features h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.enrollment-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.enrollment-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.enrollment-features li i {
    color: var(--success-500);
    margin-top: 4px;
    flex-shrink: 0;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.enrollment-success {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    font-size: 64px;
    color: var(--success-500);
    margin-bottom: 20px;
}

.enrollment-success h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.enrollment-success p {
    color: var(--gray-600);
    margin-bottom: 30px;
}

.success-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: white;
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    border-left: 4px solid var(--success-500);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 20px;
    color: var(--success-500);
}

.toast-message {
    font-weight: 500;
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 4000;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--gray-200);
    border-top: 5px solid var(--primary-600);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    .features-grid,
    .courses-grid,
    .faq-container,
    .contact-container,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .cta-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        padding: 16px 0;
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .features-grid,
    .courses-grid,
    .faq-container,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
    }
    .nav-link::after{
        display: none;
    }
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .cta-buttons,
    .success-actions {
        flex-direction: column;
    }
    
    .modal-content {
        padding: 0;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    cta-title{
        font-size:16px;
    }
}
.myname{
    color: red;
    text-decoration: none;
}