:root {
    /* Professional Color Palette */
    --primary-navy: #1a365d;
    --primary-teal: #2d7d8e;
    --accent-orange: #ff6b35;
    --white: #ffffff;
    --light-gray: #f7fafc;
    --light-navy-bg: #f4f6f8;
    --medium-gray: #a0aec0;
    --dark-gray: #2d3748;
    --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-orange) 0%, #ff8a5b 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 24px;
    --border-radius: 12px;
    --border-radius-large: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 54, 93, 0.08);
    --shadow-md: 0 8px 32px rgba(26, 54, 93, 0.12);
    --shadow-lg: 0 16px 64px rgba(26, 54, 93, 0.16);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--light-navy-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography Styles */
h1, h2, h3 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--primary-navy);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-black);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 65ch;
}

/* Button Styles */
.cta-primary {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-primary.large {
    padding: 20px 40px;
    font-size: 1.25rem;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    
    /* Enhanced navbar glass background */
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(15px) saturate(1.5);
    -webkit-backdrop-filter: blur(15px) saturate(1.5);
    
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

/* Sliding glass indicator */
.nav-links::before {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--indicator-left, 0);
    transform: translateY(-50%);
    width: var(--indicator-width, 0);
    height: 40px;
    
    /* Enhanced glass background */
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    
    /* Stronger blur effect */
    backdrop-filter: blur(20px) saturate(1.8) brightness(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.8) brightness(1.2);
    
    /* Glass-like borders */
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    
    /* Realistic glass shadows */
    box-shadow: 
        0 8px 24px rgba(45, 125, 142, 0.25),
        0 4px 12px rgba(45, 125, 142, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.9),
        inset 0 -1px 2px rgba(255, 255, 255, 0.3);
    
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    z-index: 0;
}

.nav-links.has-active::before {
    opacity: 1;
}

/* Glass reflection effect */
.nav-links::after {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--indicator-left, 0);
    transform: translateY(-50%);
    width: var(--indicator-width, 0);
    height: 40px;
    
    /* Subtle reflection gradient */
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.1) 30%,
        transparent 70%);
    
    border-radius: var(--border-radius);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    
    /* Clip to create realistic light reflection */
    clip-path: polygon(0% 0%, 60% 0%, 40% 100%, 0% 100%);
}

.nav-links.has-active::after {
    opacity: 0.6;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 8px 16px;
    position: relative;
    z-index: 1;
}

.nav-link:hover {
    color: var(--primary-teal);
    /* Clean professional hover - no blur effects */
}

.nav-link.active {
    /* Simple magnification effect - just larger text like under a magnifying glass */
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    
    /* Smooth transition for size change */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-cta {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: calc(var(--section-padding) + 80px) 0 var(--section-padding) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-headline {
    color: var(--white);
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4em;
    line-height: 1;
}

.word {
    display: inline-block;
    position: relative;
}

.word-animated {
    min-width: 3.5em;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.highlight {
    color: var(--accent-orange);
}

.highlight {
    color: var(--accent-orange);
    position: relative;
}

/* Clean Hero Section */
.hero-clean {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    overflow: hidden;
    padding: 2rem 0;
}

.hero-content-clean {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-badge-clean {
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    animation: fadeInUp 0.8s ease-out;
}

.badge-text-clean {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title-clean {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.highlight-gradient-clean {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.hero-description-clean {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions-clean {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary-clean {
    padding: 1.1rem 2.5rem;
    background: var(--accent-orange);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 101, 38, 0.3);
}

.btn-primary-clean:hover {
    background: #e85d04;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 101, 38, 0.4);
}

.btn-secondary-clean {
    padding: 1.1rem 2.5rem;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary-clean:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-stats-clean {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-item-clean {
    text-align: center;
}

.stat-number-clean {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 0.25rem;
}

.stat-label-clean {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

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

/* Contact Page Styles */
.contact-hero {
    background: var(--gradient-primary);
    padding: 8rem 0 4rem;
    text-align: center;
}

.contact-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.contact-main {
    padding: 4rem 0;
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Contact Form */
.contact-form-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

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

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

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

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

.form-group label {
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(245, 101, 38, 0.1);
}

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

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #e85d04;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 101, 38, 0.3);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-weight: 500;
}

.form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Contact Info */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.method-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-orange), #f59e0b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.method-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.method-content p {
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.response-time {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.chat-btn {
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.chat-btn:hover {
    background: #e85d04;
}

/* FAQ Section */
.contact-faq {
    padding: 4rem 0;
    background: var(--white);
}

.faq-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Themed Contact Section - Matching Website Design */
.contact-section-themed {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.contact-hero-bg {
    background: var(--gradient-primary);
    position: relative;
    padding: 120px 0 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.6;
}

.contact-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(45, 125, 142, 0.15) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.contact-header-themed {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.contact-badge-themed {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 500;
    animation: fadeInUp 0.6s ease-out;
}

.contact-title-themed {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.contact-subtitle-themed {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

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

.contact-container-themed {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.contact-form-themed {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
}


.form-themed {
    position: relative;
}

.form-grid-themed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.input-group-themed {
    margin-bottom: 30px;
    position: relative;
}

.input-container-themed {
    position: relative;
}

.input-container-themed input,
.input-container-themed textarea {
    width: 100%;
    padding: 24px 16px 12px 16px;
    border: none;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.input-container-themed input:focus,
.input-container-themed textarea:focus,
.input-container-themed input:not(:placeholder-shown),
.input-container-themed textarea:not(:placeholder-shown) {
    background: white;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1) !important;
    border-color: var(--primary-navy) !important;
    outline: none !important;
}

.label-themed {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-gray);
    font-size: 1rem;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    padding: 0 4px;
    z-index: 2;
}

.input-container-themed input:focus + .label-themed,
.input-container-themed textarea:focus + .label-themed,
.input-container-themed input:not(:placeholder-shown) + .label-themed,
.input-container-themed textarea:not(:placeholder-shown) + .label-themed {
    top: 6px;
    font-size: 0.75rem;
    color: var(--primary-navy);
    font-weight: 600;
    transform: translateY(0);
}

.message-container .label-themed {
    top: 24px;
    transform: none;
}

.message-container textarea:focus + .label-themed,
.message-container textarea:not(:placeholder-shown) + .label-themed {
    top: 6px;
    transform: none;
}

.message-container textarea {
    padding-top: 30px;
    padding-bottom: 40px;
}

.input-border-themed {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 0 0 12px 12px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-container-themed input:focus ~ .input-border-themed,
.input-container-themed textarea:focus ~ .input-border-themed {
    transform: scaleX(1);
}

.validation-status {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
}

.validation-status.valid {
    background: #10b981;
    color: white;
    opacity: 1;
}

.validation-status.valid::after {
    content: '✓';
}

.validation-status.invalid {
    background: #ef4444;
    color: white;
    opacity: 1;
}

.validation-status.invalid::after {
    content: '✗';
}

.message-container .validation-status {
    top: 20px;
    transform: none;
}

.char-counter-themed {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 0.8rem;
    color: var(--medium-gray);
    font-weight: 500;
    background: rgba(248, 250, 252, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

/* Custom Dropdown */
.custom-dropdown-themed {
    position: relative;
}

.dropdown-trigger-themed {
    width: 100%;
    padding: 20px 16px 8px 16px;
    background: #f8fafc;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dropdown-trigger-themed:hover,
.dropdown-trigger-themed.active {
    background: white;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.dropdown-trigger-themed::before {
    content: 'Subject';
    position: absolute;
    left: 16px;
    top: 12px;
    font-size: 0.8rem;
    color: var(--primary-navy);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-trigger-themed.has-selection::before {
    opacity: 1;
}

.dropdown-text {
    color: var(--medium-gray);
    font-size: 1rem;
    flex: 1;
    text-align: left;
    transition: all 0.3s ease;
}

.dropdown-trigger-themed.has-selection .dropdown-text {
    color: var(--primary-navy);
    font-weight: 500;
    margin-top: 8px;
}

.dropdown-arrow {
    width: 20px;
    height: 20px;
    color: var(--medium-gray);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-trigger-themed.active .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary-navy);
}

.dropdown-menu-themed {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(26, 54, 93, 0.25);
    border: 1px solid rgba(229, 231, 235, 0.5);
    backdrop-filter: blur(20px);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.dropdown-menu-themed.open {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-option-themed {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.dropdown-option-themed:last-child {
    border-bottom: none;
    border-radius: 0 0 16px 16px;
}

.dropdown-option-themed:first-child {
    border-radius: 16px 16px 0 0;
}

.dropdown-option-themed:hover {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.05), rgba(45, 125, 142, 0.05));
}

.option-content {
    flex: 1;
}

.option-title {
    display: block;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 2px;
}

.option-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.submit-btn-themed {
    width: 100%;
    padding: 18px 24px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

.submit-btn-themed:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

.submit-btn-themed:active {
    transform: translateY(0);
}

.submit-btn-themed:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-content-themed {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.send-icon-themed {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.submit-btn-themed:hover .send-icon-themed {
    transform: translateX(4px);
}

.progress-overlay-themed {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 12px;
}

.progress-bar-themed {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill-themed {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.progress-text-themed {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.success-message-themed {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    padding: 32px;
    margin-top: 24px;
    text-align: center;
    animation: successSlide 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
}

@keyframes successSlide {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-animation-themed {
    text-align: center;
    max-width: 100%;
}

.success-icon-themed {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: successBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-icon-themed svg {
    width: 40px;
    height: 40px;
    color: white;
}

@keyframes successBounce {
    0% {
        transform: scale(0) rotate(-180deg);
    }
    50% {
        transform: scale(1.2) rotate(-90deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.success-animation-themed h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.success-animation-themed p {
    color: var(--medium-gray);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.success-features-themed {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.feature-item-themed {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--medium-gray);
}

.feature-icon-themed {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(45, 125, 142, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.new-message-btn-themed {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.new-message-btn-themed:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

@media (max-width: 768px) {
    .contact-hero-bg {
        padding: 100px 0 60px 0;
    }
    
    .contact-form-themed {
        padding: 30px 25px;
        margin: 0 15px;
    }
    
    .form-grid-themed {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .success-features-themed {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-title-themed {
        font-size: 2.5rem;
    }
}

.contact-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contactgrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(51,65,85,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23contactgrid)"/></svg>') repeat;
    opacity: 0.7;
}

.contact-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--accent-orange), #f59e0b);
    color: white;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(245, 101, 38, 0.3);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 2rem;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 1.5rem;
    }
    
    .contact-info-container {
        position: static;
    }
    
    .contact-section {
        padding: 60px 0;
    }
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
    border: 1px solid rgba(245, 101, 38, 0.1);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.contact-form-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

@media (max-width: 480px) {
    .form-row-main {
        grid-template-columns: 1fr;
    }
}

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

.form-group-main label {
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group-main input,
.form-group-main select,
.form-group-main textarea {
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group-main input:focus,
.form-group-main select:focus,
.form-group-main textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(245, 101, 38, 0.1);
}

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

.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.contact-submit-btn:hover {
    background: #e85d04;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 101, 38, 0.3);
}

/* Contact Info */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-orange), #f59e0b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text-color);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.contact-details span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.live-chat-btn {
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.live-chat-btn:hover {
    background: #e85d04;
}

.contact-form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-weight: 500;
}

.contact-form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.contact-form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Enhanced Contact Styles */
.form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.form-description {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.form-error {
    display: none;
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    min-height: 1rem;
    font-weight: var(--font-weight-medium);
}

/* Input error states */
.form-group-main input.error,
.form-group-main textarea.error {
    border-color: #dc2626;
    background-color: #fef2f2;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group-main input.error:focus,
.form-group-main textarea.error:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

/* Success states */
.form-group-main input:valid:not(:focus),
.form-group-main textarea:valid:not(:focus) {
    border-color: #10b981;
}

.form-group-main input:valid:not(:focus):not([value=""]),
.form-group-main textarea:valid:not(:focus):not(:placeholder-shown) {
    background-color: #f0fdf4;
}

.form-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.privacy-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.privacy-notice input[type="checkbox"] {
    margin-top: 0.2rem;
}

.privacy-notice label {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
}

.privacy-link {
    color: var(--accent-orange);
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.contact-submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-submit-btn:disabled:hover {
    background: var(--accent-orange);
    transform: none;
    box-shadow: none;
}

.btn-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: inherit;
}

.contact-info-section {
    margin-bottom: 2.5rem;
}

.contact-info-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-item.primary {
    border: 2px solid var(--accent-orange);
    background: linear-gradient(135deg, rgba(245, 101, 38, 0.05), rgba(245, 158, 11, 0.05));
}

.response-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #dcfce7;
    color: #166534;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* FAQ Section */
.contact-faq-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.faq-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.faq-item-compact {
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.faq-item-compact:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.faq-item-compact h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.faq-item-compact p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.view-all-faq {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.view-all-faq:hover {
    color: #e85d04;
}

/* Social Contact Section */
.social-contact-section {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.social-contact-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.social-links-contact {
    display: flex;
    gap: 1rem;
}

.social-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-orange), #f59e0b);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 101, 38, 0.4);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .contact-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .form-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .contact-faq-section {
        padding: 1.5rem;
    }
    
    .social-links-contact {
        justify-content: center;
    }
}

.hero-subheadline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* Credibility Section */
.credibility {
    background: var(--light-gray);
    padding: 100px 0;
}

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

.credibility-title {
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.credibility-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.company-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.company-name {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.company-stat {
    font-size: 0.875rem;
    color: var(--primary-teal);
    font-weight: var(--font-weight-medium);
}

.analytics-section {
    margin-top: 4rem;
}

.analytics-section h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 2rem;
    font-weight: var(--font-weight-semibold);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.analytics-section .stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    word-wrap: break-word;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--font-weight-black);
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.analytics-section .stat-label {
    display: block;
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    word-wrap: break-word;
    hyphens: auto;
}

.analytics-section .stat-growth {
    font-size: 0.875rem;
    color: var(--primary-teal);
    font-weight: var(--font-weight-medium);
    background: rgba(45, 125, 142, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    display: inline-block;
    line-height: 1.3;
    word-wrap: break-word;
    max-width: 100%;
    text-align: center;
}

/* Outcome Section */
/* Outcome Section - New Learning Path Design */
.outcome {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--light-navy-bg) 0%, var(--white) 50%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

/* Removed old outcome-content styles - using new learning path design */

/* Removed old progress-chart styles */

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

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* Removed old step icon styles */

.step span {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--medium-gray);
}

/* Removed old progress-arrow styles */

.outcome-text h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-navy);
}

/* Testimonials Section */
.testimonials {
    background: var(--light-gray);
    padding: var(--section-padding);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.testimonial-photo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.testimonial-photo svg {
    border-radius: 50%;
}

.testimonial-item blockquote {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-item cite {
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-teal);
    font-style: normal;
}

/* Courses Section */
.courses {
    padding: var(--section-padding);
    background: var(--white);
}

.courses h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.course-item {
    background: var(--white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 380px;
}

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

.course-cover {
    background: var(--gradient-primary);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    color: var(--white);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.course-cover h3 {
    color: var(--white);
    font-size: 1.9rem;
    margin-bottom: 0;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

.course-badge {
    position: static;
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-tagline {
    padding: 2rem 2rem 1rem;
    color: var(--medium-gray);
    font-size: 1.05rem;
    line-height: 1.6;
    flex-grow: 1;
}

.course-pricing {
    padding: 0 2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border: 2px solid rgba(45, 125, 142, 0.1);
}

.price {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-teal);
}

.duration {
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-weight: var(--font-weight-medium);
}

.course-list-container .course-cta {
    width: calc(100% - 4rem);
    margin: 0 2rem 2rem;
    padding: 1.2rem 2rem;
    background: var(--gradient-accent);
    border: none;
    color: var(--white);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.course-list-container .course-cta:hover {
    background: var(--primary-teal);
    color: var(--white);
}

.view-all-courses {
    text-align: center;
    margin-top: 4rem;
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--light-gray);
}

.view-all-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

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

.view-all-courses p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    max-width: none;
    font-weight: var(--font-weight-medium);
    margin-top: 0;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--light-gray);
}

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

.about-content > p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.feature-item h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-item p {
    color: var(--medium-gray);
    font-size: 1rem;
    max-width: none;
}

/* Final CTA Section */
.final-cta {
    background: var(--primary-navy);
    color: var(--white);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.final-cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Styles */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    max-width: none;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-teal);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    max-width: none;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-teal);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.875rem;
    }
    
    .nav-cta {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    
    .outcome-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Removed old progress-chart and progress-arrow responsive styles */
    
    .company-logos {
        gap: 1.5rem;
    }
    
    .logo-item {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .testimonial-grid,
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .analytics-section .stat-item {
        padding: 1.5rem 1rem;
        min-height: 180px;
    }
    
    .analytics-section .stat-label {
        font-size: 0.95rem;
        line-height: 1.3;
    }
    
    .analytics-section .stat-growth {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .nav-links {
        gap: 0.75rem;
    }
    
    .nav-link {
        display: none;
    }
    
    .nav-cta {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .hero-subheadline {
        font-size: 1.125rem;
    }
    
    .cta-primary {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .course-cover {
        padding: 2rem 1.5rem;
        min-height: 160px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        height: 40px;
    }
}

/* Login Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 2.5rem 0 2.5rem;
}

.modal-welcome {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-welcome h2 {
    color: var(--primary-navy);
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    margin: 0 0 0.5rem 0;
}

.close-btn {
    font-size: 2rem;
    font-weight: var(--font-weight-light);
    color: var(--medium-gray);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--primary-navy);
}

.modal-body {
    padding: 1rem 2.5rem 2.5rem 2.5rem;
}

.modal-subtitle {
    color: var(--medium-gray);
    font-size: 1rem;
    margin-bottom: 0;
    max-width: none;
}

.login-form {
    width: 100%;
}

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

.form-group label {
    display: block;
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(45, 125, 142, 0.1);
}

.error-message {
    display: block;
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember-me input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.remember-me label {
    margin: 0;
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: var(--font-weight-regular);
}

.forgot-password {
    color: var(--primary-teal);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-navy);
}

.login-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0.875rem 1rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


.signup-link {
    text-align: center;
    margin-top: 1rem;
}

.signup-link p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    max-width: none;
}

.signup-btn {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: color 0.3s ease;
}

.signup-btn:hover {
    color: var(--primary-navy);
}

/* Signup form styles */
.signup-form {
    width: 100%;
}

.terms-agreement {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.terms-agreement input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.terms-agreement label {
    margin: 0;
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
}

.terms-agreement a {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.terms-agreement a:hover {
    color: var(--primary-navy);
}

.signup-btn-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0.875rem 1rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.signup-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.login-link {
    text-align: center;
    margin-top: 1rem;
}

.login-link p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    max-width: none;
}

.login-btn-link {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: color 0.3s ease;
}

.login-btn-link:hover {
    color: var(--primary-navy);
}

/* Loading state styles */
.loading-state {
    text-align: center;
    padding: 2rem 0;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(45, 125, 142, 0.2);
    border-top: 4px solid var(--primary-teal);
    border-radius: 50%;
    margin: 0 auto 2rem auto;
    animation: spin 1s linear infinite;
}

.loading-state h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.5rem;
}

.loading-state p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    max-width: none;
}

.loading-progress {
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(45, 125, 142, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 4px;
}

.progress-text {
    font-size: 0.95rem;
    color: var(--primary-teal);
    font-weight: var(--font-weight-medium);
}

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

/* Courses Page Styles */
.courses-hero {
    background: var(--light-navy-bg);
    padding: calc(var(--section-padding) + 80px) 0 var(--section-padding) 0;
    text-align: center;
}

.courses-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.courses-hero-content p {
    font-size: 1.25rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.all-courses {
    padding: var(--section-padding);
    background: var(--white);
}

.courses-grid-extended {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* New Courses Hero Section */
.courses-hero-new {
    position: relative;
    overflow: hidden;
}

.hero-background {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    padding: calc(80px + 3rem) 0 3rem 0;
    position: relative;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="25" r="0.3" fill="rgba(255,255,255,0.08)"/><circle cx="60" cy="15" r="0.4" fill="rgba(255,255,255,0.06)"/><circle cx="80" cy="35" r="0.2" fill="rgba(255,255,255,0.1)"/><circle cx="25" cy="60" r="0.3" fill="rgba(255,255,255,0.09)"/><circle cx="75" cy="70" r="0.5" fill="rgba(255,255,255,0.07)"/><circle cx="45" cy="80" r="0.2" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.courses-hero-content-new {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.courses-hero-content-new h1 {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: var(--font-weight-black);
    line-height: 1.1;
}

.courses-hero-content-new p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enhanced Search Section */
.search-section {
    background: var(--white);
    padding: 3rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 3;
    border-radius: 2rem 2rem 0 0;
}

.search-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-header h3 {
    color: var(--primary-navy);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.search-header p {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

.search-box-enhanced {
    background: var(--light-gray);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.search-prefix {
    padding: 0 1rem;
    font-size: 1.2rem;
    filter: sepia(1) saturate(2) hue-rotate(180deg) brightness(0.8);
    color: var(--primary-teal);
}

.search-input-enhanced {
    flex: 1;
    padding: 1.2rem 0;
    border: none;
    font-size: 1.1rem;
    font-family: var(--font-primary);
    outline: none;
    background: transparent;
}

.search-input-enhanced::placeholder {
    color: var(--medium-gray);
}

.search-btn-enhanced {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal), var(--primary-navy));
    background-size: 300% 300%;
    color: var(--white);
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: gradientShift 5s ease-in-out infinite;
}

.search-btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s;
}

.search-btn-enhanced:hover::before {
    left: 100%;
}

.search-btn-enhanced:hover {
    transform: translateX(-3px);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.4);
    animation-duration: 2s;
}

.quick-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-label {
    color: var(--dark-gray);
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
}

.quick-filter {
    background: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-navy), var(--primary-teal));
    background-size: 300% 300%;
    transition: left 0.4s ease;
    z-index: 0;
    animation: gradientShift 4s ease-in-out infinite;
}

.quick-filter:hover::before {
    left: 0;
}

.quick-filter > * {
    position: relative;
    z-index: 1;
}

.quick-filter:hover {
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--primary-navy);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* Search Container */
.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    font-family: var(--font-primary);
    outline: none;
}

.search-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.05);
}

.search-icon {
    font-size: 1.2rem;
    filter: sepia(1) saturate(2) hue-rotate(180deg) brightness(0.8);
    color: var(--primary-teal);
}

/* Categories Section */
.categories-section {
    padding: var(--section-padding);
    background: var(--white);
}

.categories-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-navy);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(45, 55, 72, 0.08), rgba(20, 184, 166, 0.08));
    background-size: 300% 300%;
    transition: all 0.4s ease;
    z-index: 0;
    animation: gradientShift 6s ease-in-out infinite;
}

.category-card:hover::before {
    left: 0;
}

.category-card > * {
    position: relative;
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-teal);
}

.category-card:hover::before {
    animation-duration: 2s;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: sepia(1) saturate(2) hue-rotate(180deg) brightness(0.8);
    color: var(--primary-teal);
}

.category-card h3 {
    color: var(--primary-navy);
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.3;
}

.category-card p {
    color: var(--medium-gray);
    margin: 1rem 0 1.5rem 0;
    max-width: none;
    line-height: 1.5;
}

.course-count {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    margin-top: auto;
}

/* Technologies Section */
.technologies-section, .search-results-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

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

.back-btn {
    background: transparent;
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.technologies-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.technology-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.technology-card h3 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.tech-course-count {
    color: var(--primary-teal);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 2rem;
}

.courses-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.courses-list .course-card {
    height: 380px;
}

/* Course Cards */
.course-card {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(45, 125, 142, 0.1);
    transition: all 0.3s ease;
    height: 320px;
    display: flex;
    flex-direction: column;
}

/* Course Level Badge Colors */
.course-level {
    background: var(--primary-teal);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    font-size: 0.8rem;
    white-space: nowrap;
}

.course-card[data-level*="Beginner"] .course-level {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: var(--white);
    border: 1px solid #0891b2;
}

.course-card[data-level*="Intermediate"] .course-level {
    background: linear-gradient(135deg, var(--primary-teal), #059669);
    color: var(--white);
    border: 1px solid #059669;
}

.course-card[data-level*="Advanced"] .course-level {
    background: linear-gradient(135deg, #1e293b, var(--primary-navy));
    color: var(--white);
    border: 1px solid var(--primary-navy);
}

.course-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-footer {
    margin-top: auto;
    padding-top: 1rem;
}

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

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    min-height: 60px;
}

.course-header h3, .course-header h4 {
    color: var(--primary-navy);
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
    line-height: 1.3;
    margin-right: 1rem;
}


.course-category {
    color: var(--primary-teal);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.5rem;
    max-width: none;
}

.course-description {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    max-width: none;
    flex-grow: 1;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

.course-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    min-height: 24px;
}

.course-duration {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.course-price {
    color: var(--primary-navy);
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
}

.course-enroll-btn {
    width: 100%;
    background: var(--primary-navy);
    color: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.course-enroll-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal), var(--primary-navy));
    background-size: 300% 300%;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
    animation: gradientShift 3s ease-in-out infinite;
    animation-play-state: paused;
}

.course-enroll-btn:hover::before {
    opacity: 1;
    animation-play-state: running;
}

.course-enroll-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Search Results */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.no-results {
    text-align: center;
    color: var(--medium-gray);
    font-size: 1.125rem;
    margin: 3rem 0;
    grid-column: 1 / -1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        margin: 1.5rem 1rem 0 1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .courses-list {
        grid-template-columns: 1fr;
    }
    
    .courses-list .course-card {
        height: 360px;
    }
    
    .search-results-grid {
        grid-template-columns: 1fr;
    }
}

/* Basic Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-lg);
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem 1rem 3rem;
    border-bottom: 1px solid var(--light-gray);
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-navy);
    font-size: 1.75rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--medium-gray);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--light-gray);
    color: var(--primary-navy);
}

.modal-body {
    padding: 2rem 3rem 3rem 3rem;
}

/* Course Details Modal */
.course-details-modal {
    max-width: 1100px;
    max-height: 85vh;
    width: 85vw;
    min-width: 900px;
    aspect-ratio: 4/3;
}

.course-details-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    height: 100%;
}

.course-details-main {
    overflow-y: auto;
    padding-right: 1rem;
}

.course-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--light-gray);
    min-width: 320px;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.course-category {
    background: var(--primary-navy);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
}

.course-technology {
    background: var(--primary-teal);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
}

.course-description-full {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.course-highlights,
.course-requirements {
    margin-bottom: 2rem;
}

.course-highlights h4,
.course-requirements h4 {
    color: var(--primary-navy);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.course-highlights ul,
.course-requirements ul {
    list-style: none;
    padding: 0;
}

.course-highlights li,
.course-requirements li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    padding-left: 1.5rem;
}

.course-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
}

.course-requirements li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-navy);
    font-weight: bold;
}

.course-pricing-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    border: 2px solid var(--primary-teal);
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.course-price {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
}

.course-duration {
    color: var(--medium-gray);
    font-weight: var(--font-weight-semibold);
}

.course-level {
    background: var(--primary-teal);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    display: inline-block;
}

.course-salary {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: var(--border-radius-large);
    border-left: 4px solid var(--primary-teal);
    text-align: center;
}

.salary-label {
    font-size: 0.875rem;
    color: var(--primary-navy);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.salary-amount {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.salary-amount::before {
    content: '💰';
    font-size: 1.25rem;
}

.course-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    font-size: 1.5rem;
}

.enroll-btn-modal {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-large);
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.enroll-btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design for Course Details Modal */
@media (max-width: 1200px) {
    .course-details-modal {
        width: 90vw;
        max-width: 1000px;
        min-width: 800px;
    }
}

@media (max-width: 900px) {
    .course-details-modal {
        width: 95vw;
        min-width: 700px;
        max-width: 850px;
        aspect-ratio: 3/2;
    }
    
    .course-details-content {
        gap: 2rem;
    }
    
    .course-details-sidebar {
        min-width: 280px;
        padding-left: 1rem;
    }
}

@media (max-width: 768px) {
    .course-details-modal {
        margin: 1rem;
        max-height: 90vh;
        width: calc(100vw - 2rem);
        max-width: none;
        min-width: auto;
        aspect-ratio: auto;
    }
    
    .course-details-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        height: auto;
    }
    
    .course-details-main {
        padding-right: 0;
        overflow-y: visible;
    }
    
    .course-details-sidebar {
        order: -1;
        padding-left: 0;
        border-left: none;
        border-bottom: 1px solid var(--light-gray);
        padding-bottom: 2rem;
        margin-bottom: 1rem;
        min-width: auto;
    }
    
    .course-pricing-card {
        padding: 1.5rem;
    }
    
    .price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .course-price {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .course-details-modal {
        margin: 0.5rem;
        width: calc(100vw - 1rem);
        max-height: 98vh;
    }
    
    .course-details-content {
        gap: 1rem;
    }
}


/* Modal Styles from main page */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--white);
    margin: auto;
    padding: 0;
    border-radius: var(--border-radius-large);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

.modal-header {
    position: relative;
    padding: 2rem 3rem 1rem 3rem;
    text-align: right;
}

.close-btn {
    color: var(--medium-gray);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-btn:hover {
    color: var(--primary-navy);
}

.modal-body {
    padding: 0 3rem 3rem 3rem;
}

.modal-welcome {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-welcome h2 {
    color: var(--primary-navy);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
}

.modal-subtitle {
    color: var(--medium-gray);
    font-size: 1rem;
    max-width: none;
}

.signup-form {
    width: 100%;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-weight: var(--font-weight-medium);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(45, 125, 142, 0.1);
}

.error-message {
    color: var(--accent-orange);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.terms-agreement {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.terms-agreement input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.2rem;
}

.terms-agreement label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.signup-btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.signup-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.login-link p {
    margin: 0;
    color: var(--medium-gray);
    font-size: 0.95rem;
    max-width: none;
}

.login-btn-link {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
}

.login-btn-link:hover {
    text-decoration: underline;
}

/* Loading State Styles */
.loading-state {
    text-align: center;
    padding: 2rem 0;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

.loading-state h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.loading-state p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    max-width: none;
}

.loading-progress {
    max-width: 300px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.8s ease;
}

.progress-text {
    color: var(--dark-gray);
    font-size: 0.95rem;
    font-weight: var(--font-weight-medium);
}

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

/* Modal animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Disable animations during modal switches to prevent visual glitches */
.modal.no-animation {
    animation: none !important;
}

.modal.no-animation .modal-content {
    animation: none !important;
}

/* Modal responsive */
@media (max-width: 480px) {
    .modal-header {
        padding: 1rem 1.5rem 0 1.5rem;
    }
    
    .modal-body {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
    }
    
    .modal-welcome h2 {
        font-size: 1.5rem;
    }
}

/* Profile Section in Navbar */
.profile-section {
    display: flex;
    align-items: center;
    margin-left: 1rem;
    position: relative;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(45, 125, 142, 0.15);
    border-radius: var(--border-radius);
    color: var(--primary-teal);
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(45, 125, 142, 0.3);
}

.profile-info:hover {
    background: rgba(45, 125, 142, 0.25);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-teal);
}

.profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary-teal);
    border-radius: 50%;
    color: var(--white);
    font-weight: var(--font-weight-semibold);
    font-size: 0.8rem;
}

.profile-name {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--primary-teal);
}

.profile-arrow {
    margin-left: 0.5rem;
    color: var(--primary-teal);
    transition: transform 0.3s ease;
}

.profile-info:hover .profile-arrow {
    transform: rotate(180deg);
}

.profile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 160px;
    white-space: nowrap;
    z-index: 1000;
}

.profile-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.profile-menu a svg {
    flex-shrink: 0;
}

.profile-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-navy);
}

/* Success Modal */
.success-modal {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease;
}

.success-modal h2 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.75rem;
}

.success-modal p {
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.success-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.success-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Payment Modal */
.payment-modal {
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.payment-course-info {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.payment-course-info h3 {
    color: var(--primary-navy);
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.payment-course-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-detail .label {
    color: var(--dark-gray);
    font-weight: var(--font-weight-medium);
}

.payment-breakdown {
    margin-bottom: 1.5rem;
}

.payment-breakdown h4 {
    color: var(--primary-navy);
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.payment-item:last-child {
    border-bottom: none;
}

.payment-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 2px solid var(--primary-navy);
    margin-top: 0.5rem;
    font-weight: var(--font-weight-bold);
    font-size: 1.125rem;
    color: var(--primary-navy);
}

.payment-features {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.payment-features h4 {
    color: var(--primary-navy);
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

.payment-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-features li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    font-weight: var(--font-weight-medium);
}

.payment-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Payment Gateway Modal */
.gateway-modal {
    max-width: 450px;
    text-align: center;
}

.gateway-content {
    padding: 2rem;
}

.gateway-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.gateway-modal h2 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
}

.gateway-modal p {
    color: var(--dark-gray);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.gateway-progress {
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.8s ease;
    border-radius: 4px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-semibold);
    font-size: 0.875rem;
}

.step.active .step-number {
    background: var(--primary-navy);
    color: var(--white);
}

.step-text {
    font-size: 0.75rem;
    color: var(--dark-gray);
    font-weight: var(--font-weight-medium);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* New Courses Section */
.courses-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--light-navy-bg) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

/* Removed conflicting background layer that was interfering with card animations */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(26, 54, 93, 0.1);
    color: var(--primary-navy);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    border: 1px solid rgba(26, 54, 93, 0.2);
}

.badge-icon {
    font-size: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: var(--font-weight-black);
    color: var(--primary-navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.courses-section .course-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 54, 93, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
    height: auto;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-teal);
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.02), rgba(45, 125, 142, 0.02));
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.course-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    transition: all 0.3s ease;
}

.course-icon svg {
    width: 40px;
    height: 40px;
}

.course-card:hover .course-icon {
    transform: rotate(5deg) scale(1.1);
}

.course-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: inline-block;
}

.course-badge.popular {
    background: linear-gradient(135deg, var(--primary-navy), #2d5a87);
    color: var(--white);
}

.course-badge.high-demand {
    background: linear-gradient(135deg, var(--primary-teal), #1e5f6b);
    color: var(--white);
}

.course-badge.leadership {
    background: linear-gradient(135deg, var(--accent-orange), #d6551a);
    color: var(--white);
}

.course-badge.creative {
    background: linear-gradient(135deg, #2a4a6b, var(--primary-teal));
    color: var(--white);
}

.course-badge.quiz-badge {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: var(--white);
}

.course-cta.quiz-btn {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: var(--white);
}

.course-cta.quiz-btn:hover {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.quiz-start-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 120px;
    text-align: center;
}

.quiz-start-btn:hover {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.courses-section .course-content {
    margin-bottom: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}


.course-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.course-description {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.course-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--medium-gray);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
}

.course-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(45, 125, 142, 0.1);
    color: var(--primary-teal);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    border: 1px solid rgba(45, 125, 142, 0.2);
}

.courses-section .course-footer {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 20px 0 0 0;
    margin-top: auto;
    border-top: 1px solid rgba(26, 54, 93, 0.1);
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

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

.price-amount {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    line-height: 1;
}

.price-label {
    font-size: 0.75rem;
    color: var(--medium-gray);
    font-weight: var(--font-weight-semibold);
}

.courses-section .course-cta {
    display: inline-block !important;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1a365d, #2d7d8e) !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 120px;
    text-align: center;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

.courses-section .course-cta:hover {
    background: linear-gradient(135deg, #2d7d8e, #1a365d);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

.course-cta.primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.course-cta.secondary {
    background: linear-gradient(135deg, var(--primary-teal), #1e5f6b);
    color: var(--white);
}

.course-cta.accent {
    background: var(--gradient-accent);
    color: var(--white);
}

.course-cta.creative-btn {
    background: linear-gradient(135deg, #2a4a6b, var(--primary-teal));
    color: var(--white);
}

.course-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.courses-footer {
    text-align: center;
    position: relative;
    z-index: 1;
}

.courses-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 54, 93, 0.1);
}

.footer-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: var(--font-weight-black);
    color: var(--primary-navy);
    line-height: 1;
}

.stat-text {
    font-size: 0.875rem;
    color: var(--dark-gray);
    font-weight: var(--font-weight-semibold);
}

.view-all-courses-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-large);
    text-decoration: none;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.view-all-courses-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.view-all-courses-btn svg {
    transition: transform 0.3s ease;
}

.view-all-courses-btn:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .course-card {
        padding: 1.5rem;
    }
    
    .course-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .course-cta {
        width: 100%;
        text-align: center;
    }
    
    .courses-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .courses-section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .course-stats {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .courses-stats {
        gap: 1rem;
    }
}

/* My Courses Page Styles */
.my-courses-navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.my-courses-navbar .nav-brand a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.my-courses-navbar .nav-brand a:hover {
    opacity: 0.8;
}

.my-courses-navbar .nav-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-info .profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
}

.profile-info .profile-name {
    font-weight: var(--font-weight-medium);
    color: var(--primary-navy);
    font-size: 0.9rem;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid rgba(26, 54, 93, 0.2);
    color: var(--primary-navy);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    background: rgba(45, 125, 142, 0.05);
}

.my-courses-main {
    padding-top: 120px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-navy-bg) 0%, var(--white) 100%);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    font-weight: var(--font-weight-medium);
    text-align: center !important;
    margin: 0 auto;
    width: 100%;
    display: block;
}

.courses-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--medium-gray);
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
}

.courses-filters {
    margin-bottom: 2rem;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(26, 54, 93, 0.2);
    background: transparent;
    color: var(--primary-navy);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.filter-tab.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.enrolled-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.enrolled-course-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    padding-top: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 340px;
    min-height: 340px;
}

.enrolled-course-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.course-status-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    z-index: 10;
}

.course-status-badge.completed {
    background: rgba(34, 197, 94, 0.1);
    color: #059669;
}

.course-status-badge.in-progress {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
}

.course-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    min-height: 50px;
    padding-right: 120px;
}

.enrolled-course-card .course-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.enrolled-course-card .course-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.course-progress {
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(26, 54, 93, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: var(--font-weight-medium);
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    flex-grow: 1;
    align-items: flex-start;
}

.completion-date, .next-lesson {
    color: var(--medium-gray);
    font-weight: var(--font-weight-medium);
}

.next-lesson {
    color: var(--primary-teal);
    font-weight: var(--font-weight-semibold);
}

.course-duration {
    background: rgba(45, 125, 142, 0.1);
    color: var(--primary-teal);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: var(--font-weight-semibold);
}

.course-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    flex-shrink: 0;
}

.action-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.action-btn.primary:hover {
    background: linear-gradient(135deg, #2d7d8e, #1a365d);
    transform: translateY(-1px);
}

.action-btn.secondary {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid rgba(26, 54, 93, 0.2);
}

.action-btn.secondary:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.profile-menu-item.active {
    background: rgba(45, 125, 142, 0.1);
    color: var(--primary-teal);
}

/* Quiz Modal Styles */
.quiz-modal {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.quiz-container {
    padding: 2rem;
}

.quiz-progress {
    margin-bottom: 2rem;
    text-align: center;
}

.quiz-progress .progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.quiz-progress .progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: var(--font-weight-medium);
}

.quiz-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

.quiz-step h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    text-align: center;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quiz-option {
    display: block;
    cursor: pointer;
    border: 2px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--border-radius);
    padding: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.quiz-option:hover {
    border-color: #a855f7;
    background: rgba(124, 58, 237, 0.05);
}

.quiz-option input[type="radio"] {
    display: none;
}

.quiz-option input[type="radio"]:checked + .option-content {
    color: #7c3aed;
}

.quiz-option input[type="radio"]:checked {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-color: #7c3aed;
}

.quiz-option:has(input[type="radio"]:checked) {
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.option-title {
    font-weight: var(--font-weight-semibold);
    color: var(--primary-navy);
}

.option-desc {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.quiz-navigation button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

#prevBtn {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid rgba(26, 54, 93, 0.2);
}

#prevBtn:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

#nextBtn, #submitBtn {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: var(--white);
}

#nextBtn:hover, #submitBtn:hover {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    transform: translateY(-1px);
}

.quiz-result {
    text-align: center;
    padding: 2rem;
}

.result-icon {
    margin-bottom: 1rem;
}

.quiz-result h3 {
    font-size: 1.75rem;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.quiz-result p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.recommended-course {
    background: rgba(124, 58, 237, 0.05);
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quiz-cta {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.quiz-cta.primary {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: var(--white);
}

.quiz-cta.primary:hover {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    transform: translateY(-1px);
}

.quiz-cta.secondary {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid rgba(26, 54, 93, 0.2);
}

.quiz-cta.secondary:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .quiz-modal {
        max-width: 95vw;
        margin: 1rem;
    }
    
    .quiz-container {
        padding: 1rem;
    }
    
    .quiz-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .quiz-navigation button {
        width: 100%;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .quiz-cta {
        width: 100%;
        max-width: 200px;
    }
}

/* Responsive Design for My Courses */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .courses-stats-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .enrolled-courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .filter-tabs {
        justify-content: flex-start;
    }
    
    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Profile Page Styles */
.profile-main {
    padding-top: 120px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-navy-bg) 0%, var(--white) 100%);
    padding-bottom: 60px;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 54, 93, 0.1);
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    margin: 0;
}

.edit-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.edit-btn:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-1px);
}

.profile-info-section {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
}

.profile-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-group label {
    font-weight: var(--font-weight-semibold);
    color: var(--primary-navy);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.4;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.detail-group input, .detail-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.detail-group input:focus, .detail-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(45, 125, 142, 0.1);
}

.detail-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: var(--font-primary);
}

.profile-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

.save-btn, .cancel-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

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

.save-btn:hover {
    background: linear-gradient(135deg, #2d7d8e, #1a365d);
    transform: translateY(-1px);
}

.cancel-btn {
    background: transparent;
    border: 2px solid var(--medium-gray);
    color: var(--medium-gray);
}

.cancel-btn:hover {
    border-color: var(--dark-gray);
    color: var(--dark-gray);
}

/* Stats Card */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(45, 125, 142, 0.1);
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stats-card .stat-number {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    line-height: 1;
}

.stats-card .stat-label {
    color: var(--medium-gray);
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
}

/* Achievements Card */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.achievement-item.earned {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border-color: rgba(34, 197, 94, 0.2);
}

.achievement-item:not(.earned) {
    background: rgba(107, 114, 128, 0.05);
    border-color: rgba(107, 114, 128, 0.1);
}

.achievement-item:hover {
    transform: translateY(-2px);
}

.achievement-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.achievement-item.earned .achievement-badge {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: var(--white);
}

.achievement-badge.locked {
    background: rgba(107, 114, 128, 0.2);
    color: var(--medium-gray);
}

.achievement-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.achievement-info h3 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    margin: 0;
}

.achievement-item.earned .achievement-info h3 {
    color: #059669;
}

.achievement-info p {
    color: var(--medium-gray);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.achievement-date {
    font-size: 0.8rem;
    color: #059669;
    font-weight: var(--font-weight-semibold);
}

.achievement-progress {
    font-size: 0.8rem;
    color: var(--primary-teal);
    font-weight: var(--font-weight-semibold);
}

/* Settings Card */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.setting-item:hover {
    background: rgba(45, 125, 142, 0.05);
}

.setting-info {
    flex: 1;
}

.setting-info h3 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-navy);
    margin: 0 0 0.25rem 0;
}

.setting-info p {
    color: var(--medium-gray);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.setting-control {
    margin-left: 1rem;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.toggle-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--medium-gray);
    transition: all 0.3s ease;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: var(--white);
    transition: all 0.3s ease;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--gradient-primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* Danger Zone */
.danger-zone {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(239, 68, 68, 0.05);
    border: 2px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--border-radius);
}

.danger-zone h3 {
    color: #dc2626;
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin: 0 0 0.5rem 0;
}

.danger-zone p {
    color: var(--medium-gray);
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
}

.danger-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.danger-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid #dc2626;
    color: #dc2626;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.danger-btn:hover {
    background: #dc2626;
    color: var(--white);
    transform: translateY(-1px);
}

/* Profile Page Mobile Responsive */
@media (max-width: 768px) {
    .profile-info-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-avatar-large {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
    
    .profile-details {
        width: 100%;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .achievement-item {
        padding: 1rem;
    }
    
    .achievement-badge {
        width: 50px;
        height: 50px;
    }
    
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
    }
    
    .setting-control {
        margin-left: 0;
    }
    
    .danger-actions {
        flex-direction: column;
    }
    
    .danger-btn {
        width: 100%;
        text-align: center;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .save-btn, .cancel-btn {
        width: 100%;
    }
}

/* Learning Journey Section - Short & Animated */
.learning-journey {
    padding: 80px 0;
    background: var(--light-navy-bg);
    position: relative;
}

.journey-header {
    text-align: center;
    margin-bottom: 4rem;
}

.journey-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.journey-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    font-weight: var(--font-weight-medium);
}

/* Journey Path */
.journey-path {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
    padding: 0 2rem;
}

.path-line {
    position: absolute;
    top: 30px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-navy) 0%, var(--primary-teal) 50%, var(--accent-orange) 100%);
    border-radius: 2px;
    z-index: 1;
    animation: pathGrow 2s ease-out;
}

@keyframes pathGrow {
    from { width: 0; }
    to { width: 70%; }
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: stepFadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.journey-step:nth-child(2) { animation-delay: 0.2s; }
.journey-step:nth-child(3) { animation-delay: 0.4s; }
.journey-step:nth-child(4) { animation-delay: 0.6s; }
.journey-step:nth-child(5) { animation-delay: 0.8s; }

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

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.step-number:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.step-number.certified {
    background: var(--gradient-accent);
    border-color: var(--accent-orange);
    color: var(--white);
    font-size: 1.2rem;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    line-height: 1.4;
}

/* Journey Outcome */
.journey-outcome {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    animation: outcomeSlideUp 0.8s ease-out 1s both;
}

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

.outcome-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    min-width: 120px;
}

.outcome-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.outcome-number {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.outcome-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: var(--font-weight-semibold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .journey-title {
        font-size: 2rem;
    }
    
    .journey-path {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .path-line {
        display: none;
    }
    
    .journey-outcome {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .learning-journey {
        padding: 60px 0;
    }
    
    .journey-header {
        margin-bottom: 3rem;
    }
    
    .journey-title {
        font-size: 1.8rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .journey-outcome {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .outcome-item {
        width: 100%;
        max-width: 200px;
    }
}