html {
    background: var(--white, #FFFFFF);
}

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

:root {
    --primary: #18181B;
    --primary-dark: #142d47;
    --primary-light: #f8f9fa;
    --heading: #18181B;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #adb5bd;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --gray-900: #18181B;
    --white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}



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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    height: 90px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 90px;
    gap: 120px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 55px;
    height: 55px;
    border-radius: 10px;
}

.logo-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.3;
    text-transform: uppercase;
    transition: color 0.3s;
}

.logo:hover .logo-text {
    color: #F04E6B;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #F04E6B;
}

.nav-arrow {
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.3s;
}

.nav-dropdown.active .nav-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: -20px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    min-width: 250px;
    padding: 10px 0;
    list-style: none;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.nav-dropdown.active > .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-600);
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: transparent;
    color: #F04E6B;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 30px;
    min-width: 600px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.nav-dropdown.active > .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mega-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--gray-700);
    border-radius: 8px;
    transition: all 0.2s;
}

.mega-item:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.mega-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.mega-item span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.btn svg {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: 1.25px;
    flex-shrink: 0;
    stroke-width: 2.5;
    transition: transform 0.2s;
}

.btn:hover svg {
    transform: translateX(4px);
}

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

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

.btn-outline {
    background: transparent;
    border: 2px solid #F04E6B;
    color: #F04E6B;
}

.btn-outline:hover {
    background: #F04E6B;
    color: var(--white);
}

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

.btn-white:hover {
    background: #E03A58;
    color: var(--white);
}

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

.hero-badge {
    display: inline-block;
    background: #CDDEFF;
    color: #003359;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
    margin-left: 180px;
    position: relative;
    text-align: center;
}

.hero-badge::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50px;
    width: 20px;
    height: 15px;
    background: #CDDEFF;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #18181B;
}

/* Course Grid in Hero */
.hero-courses {
    flex: 1;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.course-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    aspect-ratio: 4/3;
}

.course-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.course-item:hover img {
    transform: scale(1.05);
}

.course-item-content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 50px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.course-item-title {
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
}

.course-item:hover .course-item-title {
    color: #F04E6B;
}

.course-arrow {
    color: var(--gray-600);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s, color 0.3s;
    stroke-width: 1.5;
}

.course-item:hover .course-arrow {
    transform: translateX(5px);
    color: #F04E6B;
}

.hero-method {
    font-size: 32px;
    font-weight: 500;
    color: #18181B;
    margin-bottom: 20px;
}

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

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

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

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

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

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 450px;
}

.hero-image-placeholder svg {
    width: 100%;
    height: auto;
}

/* Sections */
.section-title {
    font-size: 40px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 50px;
    color: var(--gray-900);
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    background: var(--gray-50);
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
}

.feature-expand {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: #F04E6B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    transition: background 0.3s;
    padding-bottom: 2px;
}

.feature-card:hover .feature-expand {
    background: #E03A58;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
}

/* Courses */
.courses {
    padding: 80px 0;
    background: var(--gray-50);
}

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

.course-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s;
}

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

.course-card.featured {
    border: 2px solid var(--primary);
}

.course-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.course-level {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.course-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--gray-900);
}

.course-card > p {
    color: var(--gray-500);
    margin-bottom: 20px;
    font-size: 14px;
}

.course-features {
    list-style: none;
    margin-bottom: 25px;
}

.course-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    color: var(--gray-600);
}

.course-features li:last-child {
    border-bottom: none;
}

/* CTA */
.cta {
    padding: 80px 0;
    background: #F4F5F7;
}

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

.cta h2 {
    color: #18181B;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

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

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 30px;
}

.testimonial-content p {
    font-size: 15px;
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 20px;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
}

.author-course {
    font-size: 13px;
    color: var(--gray-500);
}

/* Book Page */
.book-hero {
    padding: 120px 0 20px;
    background: var(--white);
    flex: 1;
}



.book-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.book-info h1 {
    font-size: 36px;
    font-weight: 700;
    color: #18181B;
    margin-bottom: 25px;
    line-height: 1.3;
}

.book-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.book-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Book Features */
.book-features.book-features {
    background: #E8EEF4;
    padding: 50px 20px;
    border-radius: 20px;
    margin: 20px 20px 0;
}

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

.book-feature {
    text-align: left;
}

.book-feature-icon {
    font-size: 24px;
    margin-bottom: 15px;
}

.book-feature h3 {
    font-size: 18px;
    font-weight: 600;
    color: #18181B;
    margin-bottom: 10px;
}

.book-feature p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.book-features-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.perfect-for {
    font-weight: 600;
    color: var(--gray-700);
}

.tag {
    font-size: 14px;
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .book-layout {
        grid-template-columns: 1fr;
    }
    
    .book-image {
        order: -1;
    }
    
    .book-features-grid {
        grid-template-columns: 1fr;
    }
    
    .book-features-footer {
        flex-wrap: wrap;
    }
}

/* Legal Pages */
.legal-page {
    padding: 140px 0 80px;
    flex: 1;
}

.legal-page h1 {
    font-size: 48px;
    font-weight: 700;
    color: #18181B;
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-800);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
}

.legal-content p {
    margin-bottom: 15px;
}

.legal-content strong {
    color: var(--gray-800);
}

/* Catalog Page */
.catalog-hero {
    padding: 140px 0 40px;
    background: var(--white);
    text-align: center;
}

.catalog-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #18181B;
    margin-bottom: 20px;
}

.catalog-hero p {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.catalog-grid {
    padding: 60px 0 80px;
    flex: 1;
    background: var(--gray-50);
}

.catalog-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.catalog-item {
    display: flex;
    gap: 30px;
    background: var(--white);
    padding: 0;
}

.catalog-item-image {
    flex-shrink: 0;
    width: 200px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
}

.catalog-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.catalog-item:hover .catalog-item-image img {
    transform: scale(1.05);
}

.catalog-item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.catalog-item-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.catalog-item-content h3 a {
    color: #18181B;
    text-decoration: none;
    transition: color 0.2s;
}

.catalog-item-content h3 a:hover {
    color: var(--primary);
}

.catalog-item-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 18px;
}

.catalog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F04E6B;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: gap 0.2s;
}

.catalog-link:hover {
    gap: 12px;
}

.catalog-link svg {
    transition: transform 0.2s;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: 1.25px;
    flex-shrink: 0;
    stroke-width: 2.5;
}

@media (max-width: 900px) {
    .catalog-items {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .catalog-item {
        flex-direction: column;
    }
    
    .catalog-item-image {
        width: 100%;
        height: 220px;
    }
    
    .catalog-hero h1 {
        font-size: 28px;
    }
    
    .catalog-item-content h3 {
        font-size: 20px;
    }
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray-400);
    transition: color 0.2s;
}

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

.modal h2 {
    font-size: 24px;
    font-weight: 700;
    color: #18181B;
    margin-bottom: 20px;
}

.modal p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 25px;
}

.modal .btn {
    width: 100%;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--gray-900);
    padding: 40px 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-social a {
    color: var(--gray-400);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #F04E6B;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    display: flex;
    margin-bottom: 15px;
}

.footer-logo .logo-text {
    color: var(--gray-300);
}

.footer-brand p {
    font-size: 14px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 20px;
    text-decoration: none;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-500);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        justify-content: space-between;
    }
    
    .mobile-menu-btn {
        display: flex;
        margin-left: auto;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 15px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-dropdown-mega .mega-menu {
        position: static;
        transform: none;
        min-width: 100%;
        box-shadow: none;
        padding: 10px 0;
        border-radius: 0;
        display: none;
    }
    
    .nav-dropdown-mega.active .mega-menu {
        display: block;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .mega-item {
        padding: 8px 10px;
    }
    
    .mega-item img {
        width: 40px;
        height: 40px;
    }
    
    .mega-item span {
        font-size: 13px;
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        min-width: 100%;
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta h2 {
        font-size: 28px;
    }
    
    .course-item-content {
        height: auto;
        min-height: 45px;
        padding: 8px 12px;
    }
    
    .course-item-title {
        font-size: 12px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Course Catalog Page (like Wall Street English) */
.course-catalog-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.course-catalog-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.breadcrumb {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 5px;
}

.course-catalog-content h1 {
    font-size: 42px;
    font-weight: 800;
    color: #18181B;
    margin-bottom: 20px;
    line-height: 1.2;
}

.course-catalog-content p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.course-catalog-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.course-catalog-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Course Levels Grid */
.course-levels-grid {
    padding: 60px 0 80px;
    background: var(--white);
    flex: 1;
}

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

.level-card {
    text-decoration: none;
    display: block;
    transition: transform 0.3s;
}

.level-card:hover {
    transform: translateY(-5px);
}

.level-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #E5E7EB;
}

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

.level-content {
    text-align: left;
}

.level-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #18181B;
    margin-bottom: 5px;
}

/* Chart Style for Levels */
.levels-chart {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    padding: 60px 0;
    min-height: 500px;
}

.chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.chart-item:hover {
    transform: translateY(-5px);
}



.chart-label {
    font-size: 36px;
    font-weight: 700;
    color: #9CA3AF;
    margin-bottom: 12px;
}

.chart-bar {
    width: 90px;
    background: #D1D5DB;
    border-radius: 0;
    transition: background 0.3s;
}

.chart-item:hover .chart-bar,
.chart-item:active .chart-bar {
    background: #F04E6B;
}

.chart-info {
    text-align: center;
    margin-top: 20px;
}

.chart-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #18181B;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .levels-chart {
        gap: 10px;
        min-height: 300px;
    }
    
    .chart-label {
        font-size: 20px;
    }
    
    .chart-bar {
        width: 40px;
    }
    
    .chart-info h3 {
        font-size: 14px;
    }
    
    .chart-item .level-details {
        font-size: 12px;
    }
}

.level-details {
    font-size: 14px;
    color: #F04E6B;
    font-weight: 600;
}

.level-card:hover .level-details {
    text-decoration: underline;
}

/* Course Info Cards */
.course-info-cards {
    padding: 60px 0 80px;
    background: var(--gray-50);
}

/* Course Info Section */
.course-info-section {
    padding: 60px 0 80px;
    background: #F8F9FA;
}

.course-info-section .info-cards-grid {
    margin-bottom: 40px;
}

.course-info-section .info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
}

.course-info-section .info-card-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.course-info-section .info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #18181B;
    margin-bottom: 12px;
}

.course-info-section .info-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
}

.info-link {
    color: #F04E6B;
    text-decoration: underline;
    font-weight: 600;
}

.info-link:hover {
    text-decoration: none;
}

.course-info-footer {
    border-top: 1px solid #E5E7EB;
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.course-tags {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.course-tag {
    color: #18181B;
    font-size: 15px;
    font-weight: 500;
}

.course-info-footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .course-info-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .course-tags {
        flex-direction: column;
        gap: 10px;
    }
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
}

.info-card-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #18181B;
    margin-bottom: 12px;
}

.info-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
}

/* Course Detail Page */
.course-detail-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.course-detail-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.course-detail-content h1 {
    font-size: 42px;
    font-weight: 800;
    color: #18181B;
    margin-bottom: 20px;
    line-height: 1.2;
}

.course-detail-content p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.course-detail-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.course-detail-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
    .course-catalog-hero .container,
    .course-detail-hero .container {
        grid-template-columns: 1fr;
    }
    
    .course-catalog-image,
    .course-detail-image {
        order: -1;
    }
    
    .levels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .levels-grid {
        grid-template-columns: 1fr;
    }
    
    .course-catalog-content h1,
    .course-detail-content h1 {
        font-size: 32px;
    }
}

/* Shop Page */
.shop-hero {
    padding: 140px 0 40px;
    background: var(--white);
    text-align: center;
}

.shop-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #18181B;
    margin-bottom: 15px;
}

.shop-hero p {
    font-size: 18px;
    color: var(--gray-600);
}

.shop-cards {
    padding: 40px 0 80px;
    flex: 1;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.shop-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    text-decoration: none;
}

.shop-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.shop-card:hover img {
    transform: scale(1.05);
}

.shop-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.shop-card-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    max-width: 70%;
}

.shop-card-arrow {
    flex-shrink: 0;
}

.shop-card-arrow svg circle {
    fill: var(--primary);
}

@media (max-width: 700px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-hero h1 {
        font-size: 32px;
    }
}

/* Contacts Page */
.contacts-page {
    padding: 140px 0 80px;
    flex: 1;
}

.contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contacts-photo img {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contacts-info h1 {
    font-size: 42px;
    font-weight: 700;
    color: #18181B;
    margin-bottom: 25px;
}

.contacts-info p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .contacts-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contacts-photo {
        order: -1;
    }
    
    .contacts-photo img {
        margin: 0 auto;
    }
    
    .contacts-info h1 {
        font-size: 32px;
    }
}

/* Gallery Modal */
.gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.gallery-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.gallery-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    z-index: 10;
}

.gallery-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gallery-image {
    max-width: 80vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-nav {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.gallery-dot.active {
    background: white;
}
