/**
 * INDEX BUNDLE CSS
 * Auto-generated bundle of all supplementary CSS files for index.html
 * This reduces 17 HTTP requests down to 1.
 * 
 * Files included (in cascade order):
 *   1. responsive.css
 *   2. spacing-and-tabs-fix.css
 *   3. keyboard-navigation.css
 *   4. testimonials-carousel.css
 *   5. certificate-carousel.css
 *   6. mobile-testimonials-certificates-fix.css
 *   7. corporate-training.css
 *   8. mobile-nav-final-fix.css
 *   9. vertical-large-image-cards.css
 *   10. new-coding-cards.css
 *   11. mobile-centering-fix.css
 *   12. mobile-tabs-width-fix.css
 *   13. mobile-tab-content-fix.css
 *   14. mobile-testimonials-improved.css
 *   15. mobile-testimonials-compact.css
 *   16. try-coding-enhanced.css
 *   17. why-learn-section.css
 *
 * Generated: 2026-02-17T11:03:50.300Z
 */

/* ============================================================ */
/* ===== FROM: responsive.css ===== */
/* ============================================================ */

/**
 * Responsive CSS for Modern Age Coders
 * Mobile-First Responsive Design
 */

/* ========================================
   MOBILE-FIRST BASE STYLES (320px+)
   ======================================== */

/* Base responsive container */
.container {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    max-width: 100%;
}

/* Responsive images - Requirements: 4.7, 8.2, 8.4, 8.5 */
img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Hero images - maintain aspect ratio */
.hero-image img,
.hero-section img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Course thumbnails - maintain aspect ratio */
.card-thumbnail-container img,
.course-image-container img,
.course-image,
.course-card img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

/* Logo images */
.logo-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Responsive typography - Mobile base */
body {
    font-size: 14px;
    line-height: 1.6;
}

h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.3;
    margin-bottom: 0.875rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    line-height: 1.4;
    margin-bottom: 0.625rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 65ch;
}

/* Responsive spacing */
.section {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}

/* Mobile navigation */
.nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 20, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1rem;
    overflow-y: auto;
    z-index: 9998;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.nav-menu.active {
    display: flex;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

.nav-item {
    width: 100%;
    margin: 8px 0;
    /* Minimum 8px spacing between items */
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    min-height: 44px;
    /* Minimum touch target height */
    min-width: 44px;
    /* Minimum touch target width */
    font-size: 1.125rem;
    -webkit-transition: background-color 0.2s ease, opacity 0.2s ease;
    -moz-transition: background-color 0.2s ease, opacity 0.2s ease;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

/* Touch feedback for navigation links */
.nav-link:active {
    background-color: rgba(168, 85, 247, 0.2);
    opacity: 0.8;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10000;
    position: relative;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    -webkit-transform: translateY(7px) rotate(45deg);
    -moz-transform: translateY(7px) rotate(45deg);
    -ms-transform: translateY(7px) rotate(45deg);
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    -webkit-transform: translateY(-7px) rotate(-45deg);
    -moz-transform: translateY(-7px) rotate(-45deg);
    -ms-transform: translateY(-7px) rotate(-45deg);
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   TOUCH TARGET OPTIMIZATION (44x44px minimum)
   Requirements: 5.1, 5.2, 5.3, 5.4, 5.5
   ======================================== */

/* All buttons - minimum 44x44px touch targets */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.btn,
.btn-primary,
.btn-secondary,
.btn-tertiary,
.cta-button,
.card-button,
.plan-button,
.submit-button,
.tab-button,
.view-more-button,
.mobile-menu-btn,
.carousel-arrow,
.certificate-arrow,
.auth-submit-btn,
.auth-modal-close,
.auth-password-toggle,
.feedback-close {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

/* All links - minimum 44x44px touch targets */
a,
.nav-link,
.dropdown-item,
.footer-link,
.social-link {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
}

/* Minimum 8px spacing between interactive elements */
button+button,
a+a,
button+a,
a+button,
.nav-item+.nav-item,
.tab-button+.tab-button {
    margin-left: 8px;
}

/* Vertical spacing for stacked interactive elements */
.nav-item,
.dropdown-item,
.footer-link {
    margin-bottom: 8px;
}

.nav-item:last-child,
.dropdown-item:last-child,
.footer-link:last-child {
    margin-bottom: 0;
}

/* Visual feedback for all touch interactions */
button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active,
.btn:active,
.cta-button:active,
.card-button:active,
.plan-button:active,
.submit-button:active,
.tab-button:active,
.view-more-button:active,
a:active,
.nav-link:active {
    opacity: 0.85;
    -webkit-transform: scale(0.97);
    -moz-transform: scale(0.97);
    -ms-transform: scale(0.97);
    transform: scale(0.97);
    -webkit-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
    transition: all 0.1s ease;
}

/* Enhanced touch feedback for primary interactive elements */
.cta-button:active,
.card-button:active,
.plan-button:active,
.submit-button:active {
    -webkit-transform: scale(0.95) translateY(1px);
    -moz-transform: scale(0.95) translateY(1px);
    -ms-transform: scale(0.95) translateY(1px);
    transform: scale(0.95) translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Touch feedback for icon buttons */
.mobile-menu-btn:active,
.carousel-arrow:active,
.certificate-arrow:active,
.auth-modal-close:active,
.auth-password-toggle:active,
.feedback-close:active {
    opacity: 0.7;
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}

/* ========================================
   MOBILE FORM OPTIMIZATION
   Requirements: 9.1, 9.2, 9.3, 9.4, 9.5
   ======================================== */

/* Form inputs - minimum 44px height (Requirement 5.4, 9.2) */
input,
textarea,
select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="date"] {
    min-height: 44px;
    font-size: 16px;
    /* Prevents zoom on iOS - Requirement 9.2 */
    padding: 0.75rem 1rem;
    width: 100%;
    max-width: 100%;
    border-radius: 0.5rem;
    -webkit-border-radius: 0.5rem;
    /* Safari */
    -moz-border-radius: 0.5rem;
    /* Firefox */
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    /* Safari */
    -moz-transition: all 0.2s ease;
    /* Firefox */
    -webkit-appearance: none;
    /* Remove default iOS styling */
    -moz-appearance: none;
    appearance: none;
}

/* Textarea specific styles */
textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

/* Native mobile select controls - Requirement 9.5 */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23CBD5E1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Visual feedback for form inputs on focus */
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid rgba(168, 85, 247, 0.8);
    outline-offset: 2px;
    -webkit-transform: scale(1.01);
    -moz-transform: scale(1.01);
    -ms-transform: scale(1.01);
    transform: scale(1.01);
    border-color: rgba(168, 85, 247, 0.5);
}

/* Valid input state */
input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown),
select:valid {
    border-color: rgba(78, 205, 196, 0.5);
}

/* Invalid input state - Requirement 9.3 */
input:invalid:not(:placeholder-shown):not(:focus),
textarea:invalid:not(:placeholder-shown):not(:focus),
select:invalid:not(:focus) {
    border-color: rgba(255, 107, 107, 0.5);
}

/* Form group container - Requirement 9.4 */
.form-group,
.contact-form-group {
    margin-bottom: 1rem;
    position: relative;
}

/* Labels positioned above inputs - Requirement 9.4 */
label {
    display: block;
    margin-bottom: 8px;
    min-height: 24px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1rem;
}

/* Required field indicator */
label.required::after,
label[required]::after {
    content: ' *';
    color: rgba(255, 107, 107, 0.8);
    font-weight: bold;
}

/* Validation message styles - Requirement 9.3 */
.validation-message {
    display: none;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    line-height: 1.4;
}

.validation-message.error {
    display: block;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-left: 3px solid #ff6b6b;
}

.validation-message.success {
    display: block;
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
    border-left: 3px solid #4ecdc4;
}

.validation-message.info {
    display: block;
    color: #CBD5E1;
    background: rgba(203, 213, 225, 0.1);
    border-left: 3px solid #CBD5E1;
}

/* Input with error state */
input.error,
textarea.error,
select.error {
    border-color: rgba(255, 107, 107, 0.7);
    background-color: rgba(255, 107, 107, 0.05);
}

/* Input with success state */
input.success,
textarea.success,
select.success {
    border-color: rgba(78, 205, 196, 0.7);
    background-color: rgba(78, 205, 196, 0.05);
}

/* Helper text for inputs */
.input-helper {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
    display: block;
}

/* Disabled input states */
input:disabled,
textarea:disabled,
select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: rgba(100, 100, 100, 0.2);
}

/* Placeholder styling */
input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Autofill styling */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary);
    -webkit-box-shadow: 0 0 0px 1000px rgba(16, 16, 28, 0.8) inset;
    -webkit-transition: background-color 5000s ease-in-out 0s;
    -moz-transition: background-color 5000s ease-in-out 0s;
    transition: background-color 5000s ease-in-out 0s;
}

/* Form submit button spacing */
form button[type="submit"],
form input[type="submit"] {
    margin-top: 0.5rem;
    width: 100%;
}

/* Checkbox and radio button styling for mobile */
input[type="checkbox"],
input[type="radio"] {
    min-width: 20px;
    min-height: 20px;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    cursor: pointer;
}

/* Checkbox/radio labels */
label.checkbox-label,
label.radio-label {
    display: flex;
    align-items: center;
    min-height: 44px;
    cursor: pointer;
    padding: 0.5rem 0;
}

/* Number input buttons on mobile */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Date input styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(0.8);
    padding: 0.25rem;
}

/* Search input clear button */
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23CBD5E1'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    cursor: pointer;
}

/* Form-level message styles - Requirement 9.3 */
.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-message.error {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.form-message.success {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.form-message.info {
    color: #CBD5E1;
    background: rgba(203, 213, 225, 0.1);
    border: 1px solid rgba(203, 213, 225, 0.3);
}

.form-message::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.form-message.error::before {
    content: '⚠';
    font-size: 1.25rem;
}

.form-message.success::before {
    content: '✓';
    font-size: 1.25rem;
}

.form-message.info::before {
    content: 'ℹ';
    font-size: 1.25rem;
}

/* Responsive grids - Mobile First (Requirements: 4.2, 4.3) */
.features-grid,
.courses-grid,
.curriculum-grid,
.testimonial-grid,
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column on mobile */
    gap: 1.5rem;
    width: 100%;
    margin: 0 auto;
}

/* Inclusivity section grid - convert inline flex to responsive grid */
.inclusivity-demographics-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column on mobile */
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Demographic cards mobile optimization */
.demographic-card-mobile {
    width: 100%;
    min-width: unset;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* Hero section mobile optimization - Requirements: 4.2, 4.3 */
/* Note: Hero section styles are now handled in spacing-and-tabs-fix.css */

/* Mobile image sizing - Requirements: 4.7, 8.4, 8.5 */
.hero-image img {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.card-thumbnail-container,
.course-image-container {
    max-width: 100%;
    overflow: hidden;
}

.card-thumbnail-container img,
.course-image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Cards responsive */
.course-card,
.feature-item,
.demographic-card,
.content-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* Dropdown mobile - stacked layout */
.dropdown-content {
    position: static;
    display: none;
    background: rgba(20, 20, 35, 0.95);
    border: none;
    box-shadow: none;
    padding: 0.5rem 0;
    margin-top: 8px;
    /* Minimum 8px spacing */
    border-left: 3px solid rgba(168, 85, 247, 0.5);
    margin-left: 1rem;
    border-radius: 4px;
}

/* Hide courses dropdown on mobile - only show on tablet/desktop */
@media (max-width: 767px) {
    .nav-item.dropdown:has(.nav-link[href*="course"]) {
        display: none;
    }
}

.dropdown.active .dropdown-content {
    display: block;
    -webkit-animation: slideDown 0.3s ease;
    -moz-animation: slideDown 0.3s ease;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        -webkit-transform: translateY(-10px);
        -moz-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes slideDown {
    from {
        opacity: 0;
        -webkit-transform: translateY(-10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes slideDown {
    from {
        opacity: 0;
        -moz-transform: translateY(-10px);
    }

    to {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    min-height: 44px;
    /* Minimum touch target height */
    min-width: 44px;
    /* Minimum touch target width */
    margin: 4px 0;
    /* Spacing between dropdown items */
    transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.1s ease;
    border-radius: 4px;
    position: relative;
}

/* Touch feedback for dropdown items */
.dropdown-item:active {
    background-color: rgba(168, 85, 247, 0.3);
    opacity: 0.9;
    transform: scale(0.98);
}

/* Hover state for desktop */
@media (hover: hover) and (pointer: fine) {
    .dropdown-item:hover {
        background-color: rgba(168, 85, 247, 0.2);
    }
}

/* Visual indicator for dropdown toggle on mobile */
@media (max-width: 767px) {
    .dropdown>.nav-link {
        position: relative;
        justify-content: space-between;
    }

    .dropdown>.nav-link svg {
        transition: transform 0.3s ease;
    }

    .dropdown.active>.nav-link svg {
        transform: rotate(180deg);
    }
}

/* Tables responsive */
table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ========================================
   EXTRA SMALL MOBILE (320px - 359px)
   Touch target optimization for smallest devices
   ======================================== */

@media (max-width: 359px) {

    /* Ensure buttons don't overflow on very small screens */
    .cta-button,
    .card-button,
    .plan-button,
    .submit-button {
        width: 100%;
        max-width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* Stack buttons vertically with proper spacing */
    .card-button-container,
    .plan-button-container {
        width: 100%;
    }

    .card-button,
    .plan-button {
        width: 100%;
        margin-bottom: 8px;
    }

    /* Ensure tab buttons fit on small screens */
    .tab-button {
        padding: 0.625rem 0.75rem;
        font-size: 0.85rem;
        min-width: auto;
        flex: 1;
    }

    /* Tighter grid spacing on very small screens */
    .features-grid,
    .courses-grid,
    .curriculum-grid,
    .testimonial-grid,
    .values-grid,
    .inclusivity-demographics-grid {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    /* Hero section optimization for very small screens */
    .hero-section {
        padding: 1.5rem 0.75rem;
        gap: 1.5rem;
    }

    .hero-image svg,
    .hero-image img {
        max-width: 240px;
    }
}

/* ========================================
   SMALL MOBILE (360px+)
   ======================================== */

@media (min-width: 360px) {
    .container {
        padding: 0 1.25rem;
    }

    body {
        font-size: 15px;
    }

    .section {
        padding: 2.5rem 1.25rem;
    }

    .logo-text {
        display: inline;
        font-size: 1rem;
    }

    /* Better spacing for interactive elements on slightly larger screens */
    button+button,
    a+a {
        margin-left: 10px;
    }
}

/* ========================================
   LARGE MOBILE (480px+)
   ======================================== */

@media (min-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    body {
        font-size: 16px;
    }

    h1 {
        font-size: clamp(2rem, 5vw, 2.75rem);
    }

    .section {
        padding: 3rem 1.5rem;
    }

    /* Hero section improvements for larger mobile */
    .hero-section {
        padding: 2.5rem 1.5rem;
        gap: 2.5rem;
    }

    .hero-image svg {
        max-width: 350px;
    }

    .hero-image img {
        max-width: 350px;
    }

    .card-thumbnail-container img,
    .course-image-container img {
        max-height: 260px;
    }

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

    /* Inclusivity demographics grid - 2 columns on larger mobile */
    .inclusivity-demographics-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .course-card,
    .feature-item {
        padding: 2rem;
    }
}

/* ========================================
   TABLET PORTRAIT (768px+)
   ======================================== */

@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 2rem;
    }

    /* Show desktop navigation */
    .mobile-menu-btn {
        display: none;
    }

    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        background: transparent;
        padding: 0;
        transform: none;
        overflow: visible;
    }

    .nav-item {
        width: auto;
        margin: 0 0.25rem;
    }

    .nav-link {
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
    }

    /* Dropdown desktop */
    .dropdown-content {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: rgba(16, 16, 28, 0.98);
        border: 1px solid rgba(168, 85, 247, 0.3);
        border-radius: 0.875rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

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

    .dropdown-item {
        padding: 0.75rem 1.25rem;
    }

    /* Hero section tablet */
    .hero-section {
        flex-direction: row;
        text-align: left;
        padding: 3rem 2rem;
        gap: 3rem;
        align-items: center;
    }

    .hero-text,
    .hero-image {
        width: 50%;
        flex: 1;
    }

    .hero-image svg {
        max-width: 400px;
    }

    .hero-image img {
        max-width: 400px;
    }

    .card-thumbnail-container img,
    .course-image-container img {
        max-height: 280px;
    }

    /* Grids tablet */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .curriculum-grid,
    .testimonial-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Inclusivity demographics grid - 2 columns on tablet */
    .inclusivity-demographics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 2rem;
    }

    .section {
        padding: 4rem 2rem;
        margin-bottom: 3rem;
    }

    /* Typography tablet */
    h1 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }

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

/* ========================================
   TABLET LANDSCAPE / SMALL DESKTOP (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }

    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    /* Inclusivity demographics grid - 4 columns on desktop */
    .inclusivity-demographics-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }

    .section {
        padding: 5rem 2rem;
    }

    .hero-section {
        padding: 4rem 2rem;
    }

    .hero-image svg {
        max-width: 450px;
    }

    .hero-image img {
        max-width: 450px;
    }
}

/* ========================================
   DESKTOP (1280px+)
   ======================================== */

@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }

    .section {
        padding: 6rem 3rem;
    }

    .hero-section {
        padding: 5rem 3rem;
    }

    h1 {
        font-size: clamp(3rem, 5vw, 4rem);
    }

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

/* ========================================
   LARGE DESKTOP (1440px+)
   ======================================== */

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-image svg {
        max-width: 500px;
    }

    .hero-image img {
        max-width: 500px;
    }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   Requirements: 5.1, 5.2, 5.3, 5.4, 5.5
   ======================================== */

@media (hover: none) and (pointer: coarse) {

    /* Ensure all interactive elements are easily tappable on touch devices */
    button,
    a,
    input[type="submit"],
    input[type="button"],
    .btn,
    .cta-button,
    .card-button,
    .nav-link {
        /* Increase touch target size on touch devices */
        min-height: 48px;
        min-width: 48px;
    }

    /* Remove hover effects on touch devices */
    .course-card:hover,
    .feature-item:hover,
    .demographic-card:hover,
    .cta-button:hover,
    .card-button:hover,
    .nav-link:hover {
        transform: none;
    }

    /* Add active states for touch feedback on cards */
    .course-card:active,
    .feature-item:active,
    .demographic-card:active {
        -webkit-transform: scale(0.98);
        -moz-transform: scale(0.98);
        -ms-transform: scale(0.98);
        transform: scale(0.98);
        -webkit-transition: transform 0.1s ease;
        -moz-transition: transform 0.1s ease;
        transition: transform 0.1s ease;
        opacity: 0.9;
    }

    /* Enhanced touch feedback for buttons */
    button:active,
    a:active,
    .btn:active,
    .cta-button:active,
    .card-button:active,
    .plan-button:active,
    .submit-button:active {
        -webkit-transform: scale(0.95);
        -moz-transform: scale(0.95);
        -ms-transform: scale(0.95);
        transform: scale(0.95);
        -webkit-transition: transform 0.1s ease;
        -moz-transition: transform 0.1s ease;
        transition: transform 0.1s ease;
        opacity: 0.85;
    }

    /* Touch feedback for navigation */
    .nav-link:active,
    .dropdown-item:active {
        background-color: rgba(168, 85, 247, 0.3);
        opacity: 0.9;
    }

    /* Increase spacing between touch targets on mobile */
    .nav-item {
        margin: 10px 0;
    }

    button+button,
    a+a {
        margin-left: 10px;
    }

    /* Ensure form inputs are touch-friendly */
    input,
    textarea,
    select {
        min-height: 48px;
        font-size: 16px;
    }
}

/* ========================================
   HIGH DPI DISPLAYS
   ======================================== */

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    /* Optimize images for retina displays */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */

/* 
 * Main reduced motion implementation is in style.css
 * Additional responsive-specific reduced motion overrides below
 */

@media (prefers-reduced-motion: reduce) {

    /* Remove mobile-specific animations and transitions */
    .nav-menu {
        -webkit-transform: translateX(0) !important;
        -moz-transform: translateX(0) !important;
        -ms-transform: translateX(0) !important;
        transform: translateX(0) !important;
        -webkit-transition: none !important;
        -moz-transition: none !important;
        transition: none !important;
    }

    .nav-menu.active {
        -webkit-transform: translateX(0) !important;
        -moz-transform: translateX(0) !important;
        -ms-transform: translateX(0) !important;
        transform: translateX(0) !important;
    }

    .mobile-menu-btn span {
        -webkit-transition: none !important;
        -moz-transition: none !important;
        transition: none !important;
    }

    .mobile-menu-btn.active span:nth-child(1),
    .mobile-menu-btn.active span:nth-child(3) {
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        transform: none !important;
    }

    .dropdown-content {
        -webkit-transition: none !important;
        -moz-transition: none !important;
        transition: none !important;
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Remove touch feedback animations */
    button:active,
    a:active,
    .btn:active,
    .cta-button:active,
    .card-button:active,
    .nav-link:active {
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    /* Remove card hover effects */
    .course-card:active,
    .feature-item:active,
    .demographic-card:active {
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {

    .navbar,
    .mobile-menu-btn,
    .cta-button,
    .card-button,
    #background-canvas {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .section,
    .course-card,
    .feature-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ========================================
   ADDITIONAL TOUCH TARGET OPTIMIZATIONS
   ======================================== */

/* Ensure social media links have proper touch targets */
.social-links a,
.social-link,
.whatsapp-sticky-button {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

/* Footer links with proper spacing */
.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
}

/* Plan selection buttons */
.plan-button {
    width: 100%;
    min-height: 44px;
    padding: 0.875rem 1.5rem;
    margin-top: 8px;
}

/* Tab navigation with proper spacing */
.tab-wrapper {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tab-button {
    margin: 4px;
    min-height: 44px;
}

/* Carousel controls */
.carousel-arrow,
.certificate-arrow {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal close buttons */
.auth-modal-close,
.feedback-close {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem;
}

/* Login button in navigation */
.login-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0.625rem 1.25rem;
}

/* View more buttons */
.view-more-container {
    margin-top: 1rem;
    padding-top: 8px;
}

.view-more-button {
    min-height: 44px;
    padding: 0.875rem 2rem;
}

/* Card buttons container spacing */
.card-button-container {
    margin-top: 1rem;
    padding-top: 8px;
}

/* Ensure proper spacing in button groups */
.button-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.button-group>* {
    min-height: 44px;
    min-width: 44px;
}

/* Password toggle button */
.auth-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem;
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* 
 * COLOR CONTRAST COMPLIANCE
 * All text colors meet WCAG 2.1 Level AA standards (4.5:1 minimum)
 * Validated against #000002 background
 * See docs/ACCESSIBILITY-CONTRAST.md for full report
 */

/* Ensure text colors maintain proper contrast */
body,
p,
.body-text,
.text-secondary {
    color: var(--text-secondary);
    /* 14.13:1 contrast ratio */
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-primary,
.heading-secondary,
.heading-tertiary,
.text-primary {
    color: var(--text-primary);
    /* 20.05:1 contrast ratio */
}

.text-muted,
.body-small,
.text-small {
    color: var(--text-muted);
    /* 8.18:1 contrast ratio */
}

/* Ensure sufficient contrast for links */
a {
    color: var(--text-secondary);
    text-decoration-color: rgba(168, 85, 247, 0.5);
}

a:hover,
a:focus {
    color: var(--text-primary);
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid rgba(168, 85, 247, 0.8);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: rgba(168, 85, 247, 0.95);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 10001;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

@media (min-width: 768px) {
    .text-center-mobile {
        text-align: left;
    }
}

.hide-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hide-mobile {
        display: block;
    }
}

.show-mobile {
    display: block;
}

@media (min-width: 768px) {
    .show-mobile {
        display: none;
    }
}

/* Responsive spacing utilities */
.p-mobile-sm {
    padding: 1rem;
}

.p-mobile-md {
    padding: 1.5rem;
}

.p-mobile-lg {
    padding: 2rem;
}

@media (min-width: 768px) {
    .p-mobile-sm {
        padding: 1.5rem;
    }

    .p-mobile-md {
        padding: 2rem;
    }

    .p-mobile-lg {
        padding: 3rem;
    }
}

/* ========================================
   EXTRA SMALL MOBILE (320px and below)
   Fix horizontal scroll issues
   ======================================== */

@media (max-width: 320px) {

    /* Ensure no element causes horizontal scroll on iPhone SE */
    .search-box {
        min-width: 280px;
        max-width: 100%;
    }

    .girls-features-grid>* {
        min-width: 280px;
        max-width: 100%;
    }

    .features-grid>*,
    .inclusivity-chart>* {
        min-width: 280px;
        max-width: 100%;
    }

    /* Ensure containers don't exceed viewport */
    .container {
        max-width: 100%;
        padding: 0 0.75rem;
    }

    /* Reduce tab button min-width for very small screens */
    .tab-button {
        min-width: 100px;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    /* Ensure course cards fit */
    .course-card {
        min-width: 280px;
        max-width: 100%;
    }

    /* Reduce logo size if needed */
    .logo-img {
        width: 32px !important;
        height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
        min-width: 32px;
        min-height: 32px;
    }
}

/* Fi
x empowerment circle for very small screens */
.empowerment-circle {
    width: 280px;
    height: 280px;
    max-width: 90vw;
    max-height: 90vw;
}

/* Removed conflicting overrides - using fixed height approach instead */

/* ============================================================ */
/* ===== FROM: spacing-and-tabs-fix.css ===== */
/* ============================================================ */

/**
 * Spacing and Mobile Tabs Fix
 * Reduces section gaps and improves mobile tab experience
 */

/* ========================================
   REDUCED SECTION SPACING
   ======================================== */

/* Significantly reduce the gaps between sections */
:root {
    --section-gap: clamp(1rem, 2vw, 1.5rem);
    /* Much smaller gaps */
}

.section {
    margin: var(--section-gap) auto;
    padding: var(--spacing-lg) var(--spacing-md);
    /* Reduced padding further */
}

/* Specific spacing adjustments for mobile */
@media (max-width: 768px) {
    .section {
        margin: 0.75rem auto;
        /* Very small gaps on mobile */
        padding: 1rem 1rem;
    }

    .section-title {
        margin-bottom: 0.75rem;
        /* Tighter spacing */
    }

    .section-subtitle {
        margin-bottom: 1rem;
        /* Reduced spacing */
    }
}

/* Desktop spacing - still compact but readable */
@media (min-width: 769px) {
    .section {
        margin: 1.5rem auto;
        /* Small gaps on desktop */
        padding: 1.5rem 2rem;
    }
}

/* ========================================
   IMPROVED MOBILE TABS UI
   ======================================== */

/* Enhanced tabs wrapper for better mobile experience */
.tabs-wrapper {
    margin-bottom: 2rem;
    /* Reduced from 4rem */
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tabs-container {
    display: flex;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
}

/* Mobile-first tab button styling */
.tab-button {
    flex: 1;
    padding: 0.75rem 0.5rem;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
    /* Touch target */
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-button.active {
    background: linear-gradient(135deg, #a855f7, #4ecdc4);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.3);
}

.tab-button:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Mobile-specific tab improvements */
@media (max-width: 768px) {
    .tabs-wrapper {
        margin-bottom: 1.5rem;
        padding: 0.75rem;
    }

    .tabs-container {
        flex-direction: column;
        /* Stack tabs vertically on mobile */
        gap: 8px;
        padding: 8px;
    }

    .tab-button {
        flex: none;
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
        text-align: left;
        justify-content: flex-start;
        position: relative;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .tab-button.active {
        background: linear-gradient(135deg, #a855f7, #4ecdc4);
        border-color: rgba(168, 85, 247, 0.5);
        transform: translateX(4px);
    }

    /* Add icons for better visual hierarchy on mobile */
    .tab-button::before {
        /* content: ''; */
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: currentColor;
        margin-right: 12px;
        opacity: 0.6;
        transition: all 0.3s ease;
    }

    .tab-button.active::before {
        opacity: 1;
        background: white;
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    }

    /* Remove the tab glider on mobile since we're using vertical layout */
    .tab-glider {
        display: none;
    }
}

/* Very small screens - make tabs even more touch-friendly */
@media (max-width: 480px) {
    .tab-button {
        padding: 1.25rem 1rem;
        font-size: 1.1rem;
        min-height: 56px;
        /* Larger touch target */
    }

    .tabs-wrapper {
        margin: 0 -0.5rem 1.5rem -0.5rem;
        /* Extend to screen edges */
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

/* Desktop improvements */
@media (min-width: 769px) {
    .tabs-container {
        justify-content: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .tab-button {
        min-width: 160px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* ========================================
   ENHANCED SECTION TITLES FOR MOBILE
   ======================================== */

@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        /* Slightly smaller on mobile */
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
        opacity: 0.9;
    }
}

/* ========================================
   IMPROVED COURSE CARDS SPACING
   ======================================== */

.courses-grid {
    gap: 1.5rem;
    /* Reduced from larger gaps */
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .courses-grid {
        gap: 1rem;
        margin-top: 1rem;
    }
}

/* ========================================
   BETTER VISUAL HIERARCHY FOR PARENTS
   ======================================== */

/* Add subtle section separators with minimal spacing */
.section:not(:last-child)::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.2), transparent);
    margin: 0.5rem auto 0;
}

@media (max-width: 768px) {
    .section:not(:last-child)::after {
        margin: 0.25rem auto 0;
        width: 40px;
    }
}

/* Enhanced tab content area */
.tab-content {
    padding-top: 1rem;
    /* Minimal padding */
}

@media (max-width: 768px) {
    .tab-content {
        padding-top: 0.75rem;
    }
}

/* Override any existing large margins on main sections */
main .section,
#main .section {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

@media (max-width: 768px) {

    main .section,
    #main .section {
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
}

/* Specific overrides for hero and other sections */
.hero-section {
    margin-bottom: 1rem !important;
}

@media (max-width: 768px) {
    .hero-section {
        margin-bottom: 0.5rem !important;
    }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS FOR MOBILE TABS
   ======================================== */

.tab-button:focus {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}

.tab-button:focus:not(:focus-visible) {
    outline: none;
}

/* Add subtle animation for tab switching */
.tab-content {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.tab-content.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   PARENT-FRIENDLY LABELS FOR MOBILE
   ======================================== */

@media (max-width: 768px) {



    /* Add descriptive text to tabs for better parent understanding */
    .tab-button[data-target="#coding-kids"]::after {
        /* content: ' • Ages 8-12'; */
        font-size: 0.8rem;
        opacity: 0.7;
        display: block;
        margin-top: 2px;

    }

    .tab-button[data-target="#coding-teens"]::after {
        /* content: ' • Ages 13-18'; */
        font-size: 0.8rem;
        opacity: 0.7;
        display: block;
        margin-top: 2px;
        width: 100%;
    }

    .tab-button[data-target="#coding-college"]::after {
        /* content: ' • Ages 18-21'; */
        font-size: 0.8rem;
        opacity: 0.7;
        display: block;
        margin-top: 2px;
        width: 100%;
    }

    .tab-button[data-target="#coding-girls"]::after {
        /* content: ' • All Ages'; */
        font-size: 0.8rem;
        opacity: 0.7;
        display: block;
        margin-top: 2px;
        width: 100%;
    }

    /* Math tabs */
    .tab-button[data-target="#math-elementary"]::after {
        /* content: ' • Grade 1-5'; */
        font-size: 0.8rem;
        opacity: 0.7;
        display: block;
        margin-top: 2px;
    }

    .tab-button[data-target="#math-middle"]::after {
        /* content: ' • Grade 6-8'; */
        font-size: 0.8rem;
        opacity: 0.7;
        display: block;
        margin-top: 2px;
    }

    .tab-button[data-target="#math-high"]::after {
        /* content: ' • Grade 9-12'; */
        font-size: 0.8rem;
        opacity: 0.7;
        display: block;
        margin-top: 2px;
    }

    .tab-button[data-target="#math-college"]::after {
        /* content: ' • College Level'; */
        font-size: 0.8rem;
        opacity: 0.7;
        display: block;
        margin-top: 2px;
    }


}

/* =====
===================================
   AGGRESSIVE SPACING REDUCTION
   ======================================== */

/* Override the main CSS variables for spacing */
:root {
    --spacing-xl: 1rem !important;
    /* Reduced from 2rem */
    --spacing-2xl: 1.5rem !important;
    /* Reduced from 3rem */
    --spacing-3xl: 2rem !important;
    /* Reduced from 4rem */
}

/* Force minimal spacing on all sections */
body .section {
    margin: 0.75rem auto !important;
    padding: 1rem !important;
}

@media (max-width: 768px) {
    body .section {
        margin: 0.5rem auto !important;
        padding: 0.75rem 1rem !important;
    }
}

/* Remove excessive padding from section containers */
.section .features-grid,
.section .courses-grid,
.section .demographic-cards {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

/* Tighten up the inclusivity section cards */
.section div[style*="display:flex"] {
    gap: 15px !important;
    margin: 1rem auto !important;
}

/* Reduce spacing in the hero section */
.hero-section {
    padding: 2rem 1rem !important;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 1rem !important;
    }
}

/* Minimize gaps in feature grids */
.features-grid {
    gap: 1rem !important;
    margin: 1rem 0 !important;
}

@media (max-width: 768px) {
    .features-grid {
        gap: 0.75rem !important;
        margin: 0.75rem 0 !important;
    }
}

/* Reduce tabs wrapper spacing */
.tabs-wrapper {
    margin-bottom: 1rem !important;
}

@media (max-width: 768px) {
    .tabs-wrapper {
        margin-bottom: 0.75rem !important;
    }

}

#math-tabs .tab-button {
    flex: 1;
    /* Equal distribution like coding tabs */
    min-width: 0;
    /* Allow shrinking */
    padding: 0.875rem 0.5rem;
    /* Adjust padding */
    font-size: 0.875rem;
    /* Smaller font for longer text */
    white-space: nowrap;
    /* Keep text on one line */
    overflow: hidden;
    /* Hide overflow */
    text-overflow: ellipsis;
    /* Show ... for cut-off text */
}

/* Remove your previous fixed width rules */
#math-tabs .tab-button {
    width: auto !important;
    /* Override any fixed width */
}



@media (max-width: 768px) {

    #coding-tabs .tab-button,
    #math-tabs .tab-button {
        flex: none !important;
        width: 100% !important;
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
        min-width: unset !important;
        max-width: none !important;
        text-align: center !important;
        justify-content: center !important;
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }
}


/* ============================================================ */
/* ===== FROM: keyboard-navigation.css ===== */
/* ============================================================ */

/**
 * Keyboard Navigation Support
 * Implements comprehensive keyboard accessibility for all interactive elements
 * Requirements: 12.1 - Keyboard navigation support
 */

/* ========================================
   FOCUS INDICATORS - VISIBLE FOCUS STYLES
   ======================================== */

/* Base focus styles for all interactive elements */
*:focus {
    outline: none;
    /* Remove default outline */
}

*:focus-visible {
    outline: 2px solid rgba(168, 85, 247, 0.8);
    outline-offset: 2px;
    border-radius: 4px;
    transition: outline 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.2);
}

/* Enhanced focus for buttons */
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
input[type="reset"]:focus-visible,
.btn:focus-visible,
.cta-button:focus-visible,
.card-button:focus-visible,
.plan-button:focus-visible,
.submit-button:focus-visible,
.tab-button:focus-visible,
.view-more-button:focus-visible,
.mobile-menu-btn:focus-visible {
    outline: 3px solid rgba(168, 85, 247, 0.9);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.3);
    transform: scale(1.02);
}

/* Enhanced focus for navigation links */
.nav-link:focus-visible,
.dropdown-item:focus-visible {
    outline: 2px solid rgba(168, 85, 247, 0.9);
    outline-offset: 2px;
    background: rgba(168, 85, 247, 0.15);
    color: var(--text-primary);
    transform: translateX(3px);
}

/* Enhanced focus for form inputs */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid rgba(168, 85, 247, 0.8);
    outline-offset: 2px;
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.2);
    transform: scale(1.01);
}

/* Focus for links */
a:focus-visible {
    outline: 2px solid rgba(168, 85, 247, 0.8);
    outline-offset: 2px;
    text-decoration: underline;
    text-decoration-color: rgba(168, 85, 247, 0.8);
    text-decoration-thickness: 2px;
}

/* Focus for cards and interactive containers */
.course-card:focus-visible,
.feature-item:focus-visible,
.demographic-card:focus-visible,
.girls-empowerment-card:focus-visible {
    outline: 2px solid rgba(168, 85, 247, 0.8);
    outline-offset: 4px;
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

/* ========================================
   KEYBOARD NAVIGATION BEHAVIOR
   ======================================== */

/* Ensure all interactive elements are keyboard accessible */
button,
input,
select,
textarea,
a[href],
[tabindex]:not([tabindex="-1"]),
.nav-link,
.dropdown-item,
.cta-button,
.card-button,
.plan-button,
.submit-button,
.tab-button,
.view-more-button,
.mobile-menu-btn,
.course-card,
.feature-item,
.demographic-card,
.girls-empowerment-card {
    /* Ensure elements are focusable */
    position: relative;
}

/* Make cards keyboard accessible */
.course-card,
.feature-item,
.demographic-card,
.girls-empowerment-card {
    cursor: pointer;
    /* tabindex is an HTML attribute — set via HTML or JS */
}

/* ========================================
   SKIP LINKS FOR KEYBOARD NAVIGATION
   ======================================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: transparent;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10003;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
    background: rgba(168, 85, 247, 0.95);
    outline: 2px solid white;
    outline-offset: 2px;
}

/* ========================================
   DROPDOWN KEYBOARD NAVIGATION
   ======================================== */

/* Dropdown focus management */
.dropdown {
    position: relative;
}

.dropdown .nav-link:focus-visible+.dropdown-content,
.dropdown .nav-link[aria-expanded="true"]+.dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown keyboard accessibility managed via JS */

.dropdown-item:focus-visible {
    background: rgba(168, 85, 247, 0.2);
    color: var(--text-primary);
}

/* ========================================
   MOBILE MENU KEYBOARD NAVIGATION
   ======================================== */

/* Mobile menu button focus */
.mobile-menu-btn:focus-visible {
    outline: 3px solid rgba(168, 85, 247, 0.9);
    outline-offset: 3px;
    background: rgba(168, 85, 247, 0.1);
}

/* Mobile menu focus trap */
/* Mobile menu focus trapping managed via JS */

.nav-menu.active .nav-link:focus-visible {
    background: rgba(168, 85, 247, 0.2);
    color: var(--text-primary);
    transform: translateX(5px);
}

/* ========================================
   TAB ORDER OPTIMIZATION
   ======================================== */

/* Ensure logical tab order for main navigation */
/* Navigation tab order managed via HTML structure */

/* Nav menu tab order managed via HTML structure */

/* Nav item order managed via HTML structure */

/* Skip hidden elements from tab order */
/* Hidden mobile menu focusability managed via JS */

@media (max-width: 767px) {

    .nav-menu:not(.active) .nav-link,
    .nav-menu:not(.active) .dropdown-item {
        /* Tab order managed via JS — tabindex is an HTML attribute */
        visibility: hidden;
        pointer-events: none;
    }

    .nav-menu.active .nav-link,
    .nav-menu.active .dropdown-item {
        /* Tab order managed via JS — tabindex is an HTML attribute */
        visibility: visible;
        pointer-events: auto;
    }
}

/* ========================================
   FORM KEYBOARD NAVIGATION
   ======================================== */

/* Form field focus order */
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
    /* Enhanced focus for form fields */
    border-color: rgba(168, 85, 247, 0.7);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

/* Form validation focus states */
input.error:focus-visible,
textarea.error:focus-visible,
select.error:focus-visible {
    outline-color: rgba(255, 107, 107, 0.8);
    border-color: rgba(255, 107, 107, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

input.success:focus-visible,
textarea.success:focus-visible,
select.success:focus-visible {
    outline-color: rgba(78, 205, 196, 0.8);
    border-color: rgba(78, 205, 196, 0.7);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

/* ========================================
   KEYBOARD INTERACTION FEEDBACK
   ======================================== */

/* Visual feedback for keyboard activation */
button:focus-visible:active,
.cta-button:focus-visible:active,
.card-button:focus-visible:active {
    transform: scale(0.98);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.4);
}

/* Card keyboard activation */
.course-card:focus-visible:active,
.feature-item:focus-visible:active,
.demographic-card:focus-visible:active,
.girls-empowerment-card:focus-visible:active {
    transform: translateY(-2px) scale(0.99);
}

/* ========================================
   HIGH CONTRAST MODE SUPPORT
   ======================================== */

@media (prefers-contrast: high) {
    *:focus-visible {
        outline: 3px solid currentColor;
        outline-offset: 2px;
        box-shadow: none;
    }

    .nav-link:focus-visible,
    .dropdown-item:focus-visible {
        background: currentColor;
        color: white;
    }

    button:focus-visible,
    .cta-button:focus-visible,
    .card-button:focus-visible {
        outline: 3px solid currentColor;
        background: transparent;
        color: currentColor;
    }
}

/* ========================================
   REDUCED MOTION SUPPORT
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *:focus-visible {
        transition: none;
        transform: none;
    }

    .nav-link:focus-visible,
    .dropdown-item:focus-visible {
        transform: none;
    }

    button:focus-visible,
    .cta-button:focus-visible,
    .card-button:focus-visible {
        transform: none;
    }

    .course-card:focus-visible,
    .feature-item:focus-visible,
    .demographic-card:focus-visible,
    .girls-empowerment-card:focus-visible {
        transform: none;
    }
}

/* ========================================
   FOCUS MANAGEMENT UTILITIES
   ======================================== */

/* Hide focus outline for mouse users, show for keyboard users */
.js-focus-visible *:focus:not(.focus-visible) {
    outline: none;
}

/* Ensure focus is visible when navigating with keyboard */
/* .focus-visible class is added by JavaScript for keyboard navigation */

/* ========================================
   ARIA LIVE REGIONS FOR SCREEN READERS
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Announcements for dynamic content changes */
.aria-live-region {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ========================================
   KEYBOARD SHORTCUTS INDICATORS
   ======================================== */

/* Visual indicators for keyboard shortcuts */
.keyboard-shortcut {
    font-family: monospace;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 0.8em;
    margin-left: 8px;
}

/* ========================================
   FOCUS TRAP UTILITIES
   ======================================== */

/* Focus trap for modals and mobile menus */
/* .focus-trap container managed via JS */

.focus-trap-start,
.focus-trap-end {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    *:focus-visible {
        outline: none;
        box-shadow: none;
        transform: none;
    }

    .skip-link {
        display: none;
    }
}

/* ============================================================ */
/* ===== FROM: testimonials-carousel.css ===== */
/* ============================================================ */

/* ====== TESTIMONIALS CAROUSEL STYLES ====== */

.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonials-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-carousel {
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
}

.testimonial-card {
    flex: 0 0 calc(50% - 15px);
    min-width: calc(50% - 15px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    /* AUTO HEIGHT - force override with !important */
    aspect-ratio: unset !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 350px !important;
    height: auto !important;
    overflow: visible !important;
}

/* Allow cards to grow when text is expanded */
.testimonial-card:has(.expanded) {
    aspect-ratio: auto !important;
    height: auto !important;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.2);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

/* New testimonial header layout */
.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.parent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
    flex-shrink: 0;
}

.parent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.testimonial-info .name {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    margin: 0 0 5px 0;
}

.testimonial-info .course {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 8px 0;
}

/* Star Rating Styles */
.star-rating {
    display: flex;
    gap: 2px;
    margin-top: 5px;
}

.star-rating .star {
    color: #FFD700;
    font-size: 16px;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.5);
}

.testimonial-content blockquote {
    margin: 0 !important;
    padding: 15px 0 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #ffffff !important;
    font-style: italic !important;
    flex-grow: 1 !important;
    transition: all 0.3s ease;
    /* FORCE text visibility */
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
    height: auto !important;
    min-height: 100px !important;
    max-height: none !important;
}

/* Show enough lines of text by default */
.testimonial-content blockquote:not(.expanded) {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 8 !important;
    line-clamp: 8 !important;
    -webkit-box-orient: vertical !important;
}

/* Expanded state - full text visible */
.testimonial-content blockquote.expanded {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    max-height: none !important;
}

/* Read More Button */
.read-more-container {
    margin-top: 10px;
}

.read-more-btn {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: rgba(168, 85, 247, 1);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.read-more-btn:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.6);
    transform: translateY(-1px);
}

.read-more-btn svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.read-more-btn.expanded svg {
    transform: rotate(180deg);
}

/* Auto-hide read more button for short testimonials */
.read-more-btn.hidden {
    display: none !important;
}

/* Post Review Button */
.post-review-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.post-review-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.post-review-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
    background: linear-gradient(135deg, #3367d6, #2d8f47);
}

.post-review-button svg {
    width: 20px;
    height: 20px;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.2);
    border: 2px solid rgba(168, 85, 247, 0.5);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
    background: rgba(168, 85, 247, 0.4);
    border-color: rgba(168, 85, 247, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
}

.carousel-arrow-left {
    left: 0;
}

.carousel-arrow-right {
    right: 0;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(168, 85, 247, 0.5);
    border-color: rgba(168, 85, 247, 0.7);
}

.carousel-dot.active {
    background: rgba(168, 85, 247, 0.8);
    border-color: rgba(168, 85, 247, 1);
    width: 30px;
    border-radius: 6px;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .testimonials-carousel-container {
        padding: 0 50px;
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
    }

    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }

    .testimonial-card {
        aspect-ratio: unset;
        height: auto;
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .testimonials-carousel-container {
        padding: 0 45px;
    }

    .testimonials-track {
        gap: 20px;
    }

    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 25px;
        aspect-ratio: unset;
        height: auto;
        min-height: 320px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow svg {
        width: 18px;
        height: 18px;
    }

    .testimonial-header {
        gap: 12px;
        margin-bottom: 12px;
    }

    .parent-avatar {
        width: 50px;
        height: 50px;
    }

    .testimonial-content blockquote:not(.expanded) {
        font-size: 15px;
        line-height: 1.6;
        -webkit-line-clamp: 6;
        line-clamp: 6;
        color: #ffffff;
    }

    .testimonial-content blockquote.expanded {
        font-size: 15px;
        line-height: 1.6;
        color: #ffffff;
    }

    .read-more-btn {
        font-size: 11px;
        padding: 5px 10px;
    }

    .testimonial-info .name {
        font-size: 15px;
    }

    .testimonial-info .course {
        font-size: 12px;
    }

    .star-rating .star {
        font-size: 14px;
    }

    .post-review-button {
        padding: 12px 24px;
        font-size: 14px;
    }

    .post-review-button svg {
        width: 18px;
        height: 18px;
    }

    .carousel-dots {
        margin-top: 30px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .carousel-dot.active {
        width: 25px;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel-container {
        padding: 0 40px;
    }

    .testimonial-card {
        padding: 20px;
        aspect-ratio: unset;
        height: auto;
        min-height: 300px;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
    }

    .carousel-arrow svg {
        width: 16px;
        height: 16px;
    }

    .testimonial-header {
        gap: 10px;
        margin-bottom: 10px;
    }

    .parent-avatar {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }

    .testimonial-content blockquote:not(.expanded) {
        font-size: 14px;
        line-height: 1.6;
        -webkit-line-clamp: 6;
        line-clamp: 6;
        color: #ffffff;
    }

    .testimonial-content blockquote.expanded {
        font-size: 14px;
        line-height: 1.6;
        color: #ffffff;
    }

    .read-more-btn {
        font-size: 10px;
        padding: 4px 8px;
    }

    .read-more-btn svg {
        width: 10px;
        height: 10px;
    }

    .testimonial-info .name {
        font-size: 14px;
    }

    .testimonial-info .course {
        font-size: 11px;
    }

    .star-rating .star {
        font-size: 12px;
    }

    .post-review-button {
        padding: 10px 20px;
        font-size: 13px;
    }

    .post-review-button svg {
        width: 16px;
        height: 16px;
    }

    .carousel-dots {
        gap: 8px;
        margin-top: 25px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-dot.active {
        width: 20px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .carousel-arrow {
        background: rgba(168, 85, 247, 0.3);
    }

    .testimonial-card:hover {
        transform: none;
    }
}

/* Smooth scrolling for touch devices */
@supports (-webkit-overflow-scrolling: touch) {
    .testimonials-carousel {
        -webkit-overflow-scrolling: touch;
    }
}

/* ========================================
   REDUCED MOTION SUPPORT
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .testimonials-track {
        transition: none !important;
    }

    .testimonial-card {
        transition: none !important;
    }

    .testimonial-card:hover {
        transform: none !important;
    }

    .carousel-arrow {
        transition: none !important;
    }

    .carousel-arrow:hover {
        transform: translateY(-50%) !important;
    }

    .carousel-arrow:active {
        transform: translateY(-50%) !important;
    }

    .carousel-dot {
        transition: none !important;
    }
}

/* ============================================================ */
/* ===== FROM: certificate-carousel.css ===== */
/* ============================================================ */

/* Certificate Carousel Styles */
.certificate-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.certificate-carousel {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
    max-width: 100%;
}

.certificate-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.certificate-image {
    min-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.certificate-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.certificate-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.certificate-arrow:active {
    transform: scale(0.95);
}

.certificate-arrow svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.certificate-arrow:hover svg {
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .certificate-visual {
        gap: 8px;
    }

    .certificate-arrow {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .certificate-arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .certificate-visual {
        gap: 6px;
    }

    .certificate-arrow {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .certificate-arrow svg {
        width: 14px;
        height: 14px;
    }
}

/* ========================================
   REDUCED MOTION SUPPORT
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .certificate-track {
        transition: none !important;
    }

    .certificate-arrow {
        transition: none !important;
    }

    .certificate-arrow:hover {
        transform: none !important;
    }

    .certificate-arrow:active {
        transform: none !important;
    }
}


/* ============================================================ */
/* ===== FROM: mobile-testimonials-certificates-fix.css ===== */
/* ============================================================ */

/**
 * Mobile Testimonials and Certificates Fix
 * Improves mobile experience for testimonials and certificate sections
 */

/* ========================================
   TESTIMONIALS MOBILE IMPROVEMENTS
   ======================================== */

@media (max-width: 768px) {

    /* Remove purple dots (carousel dots) */
    .carousel-dots {
        display: none !important;
    }

    /* Make testimonials full width and properly spaced */
    .testimonials-carousel-container {
        padding: 0 20px;
        margin: 0 auto;
    }

    .testimonials-track {
        gap: 0;
        /* Remove gap since we show one card at a time */
    }

    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 2rem;
        margin: 0;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        min-height: 280px;
        /* Ensure consistent height */
        display: flex;
        flex-direction: column;
    }

    .testimonial-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        height: 100%;
        justify-content: space-between;
    }

    /* Improve avatar styling */
    .parent-avatar {
        width: 80px;
        height: 80px;
        border: 3px solid rgba(168, 85, 247, 0.6);
        box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
        align-self: center;
        margin-bottom: 1rem;
    }

    /* Better text styling */
    .testimonial-content blockquote {
        font-size: 1.1rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.9);
        text-align: center;
        padding: 0 1rem;
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .testimonial-info {
        text-align: center;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: auto;
    }

    .testimonial-info .name {
        font-size: 1.2rem;
        font-weight: 600;
        color: #fff;
        margin-bottom: 0.5rem;
    }

    .testimonial-info .course {
        font-size: 1rem;
        color: rgba(168, 85, 247, 0.8);
        font-weight: 500;
    }

    /* Improve carousel arrows for mobile */
    .carousel-arrow {
        width: 50px;
        height: 50px;
        background: rgba(168, 85, 247, 0.8);
        border: 2px solid rgba(168, 85, 247, 1);
        backdrop-filter: blur(15px);
        box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
    }

    .carousel-arrow:hover,
    .carousel-arrow:active {
        background: rgba(168, 85, 247, 1);
        transform: translateY(-50%) scale(1.05);
    }

    .carousel-arrow svg {
        width: 24px;
        height: 24px;
        color: white;
    }

    .carousel-arrow-left {
        left: 10px;
    }

    .carousel-arrow-right {
        right: 10px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .testimonials-carousel-container {
        padding: 0 15px;
    }

    .testimonial-card {
        padding: 1.5rem;
        min-height: 260px;
    }

    .parent-avatar {
        width: 70px;
        height: 70px;
    }

    .testimonial-content blockquote {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .testimonial-info .name {
        font-size: 1.1rem;
    }

    .testimonial-info .course {
        font-size: 0.9rem;
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
    }

    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }

    .carousel-arrow-left {
        left: 5px;
    }

    .carousel-arrow-right {
        right: 5px;
    }
}

/* ========================================
   CERTIFICATE SECTION MOBILE IMPROVEMENTS
   ======================================== */

@media (max-width: 768px) {

    /* Make certificate section more prominent */
    .certificate-visual {
        gap: 15px;
        padding: 1rem 0;
    }

    .certificate-carousel {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        border: 2px solid rgba(168, 85, 247, 0.3);
    }

    .certificate-image {
        min-width: 100%;
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
        background: white;
        padding: 10px;
        /* Add padding so certificate content is visible */
    }

    /* Larger, more prominent certificate arrows */
    .certificate-arrow {
        width: 50px;
        height: 50px;
        min-width: 50px;
        background: rgba(168, 85, 247, 0.9);
        border: 2px solid rgba(168, 85, 247, 1);
        backdrop-filter: blur(15px);
        box-shadow: 0 4px 15px rgba(168, 85, 247, 0.5);
    }

    .certificate-arrow:hover,
    .certificate-arrow:active {
        background: rgba(168, 85, 247, 1);
        border-color: rgba(168, 85, 247, 1);
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
    }

    .certificate-arrow svg {
        width: 24px;
        height: 24px;
        color: white;
    }

    /* Improve certificate section text */
    .feature-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .feature-text p {
        font-size: 1.1rem;
        line-height: 1.6;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .certificate-features {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        list-style: none;
        padding: 0;
        margin: 1rem 0;
    }

    .certificate-features li {
        background: rgba(168, 85, 247, 0.2);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        border: 1px solid rgba(168, 85, 247, 0.4);
        font-size: 0.9rem;
        font-weight: 500;
    }
}

/* Very small screens for certificates */
@media (max-width: 480px) {
    .certificate-visual {
        gap: 10px;
        padding: 0.5rem 0;
    }

    .certificate-arrow {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }

    .certificate-arrow svg {
        width: 20px;
        height: 20px;
    }

    .certificate-image {
        padding: 8px;
    }

    .feature-text h3 {
        font-size: 1.3rem;
    }

    .feature-text p {
        font-size: 1rem;
    }

    .certificate-features li {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ========================================
   DESKTOP IMPROVEMENTS
   ======================================== */

@media (min-width: 769px) {

    /* Ensure testimonials look good on desktop too */
    .testimonial-card {
        min-height: 300px;
    }

    .testimonial-content blockquote {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    /* Certificate improvements for desktop */
    .certificate-image {
        max-height: 400px;
        object-fit: contain;
    }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

/* Better focus states */
.carousel-arrow:focus,
.certificate-arrow:focus {
    outline: 3px solid rgba(168, 85, 247, 0.8);
    outline-offset: 3px;
}

/* Touch feedback */
@media (hover: none) and (pointer: coarse) {

    .carousel-arrow:active,
    .certificate-arrow:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* ========================================
   ANIMATION IMPROVEMENTS
   ======================================== */

.testimonial-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.certificate-carousel {
    transition: all 0.3s ease;
}

/* Smooth entrance animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card,
.certificate-visual {
    animation: slideInUp 0.6s ease-out;
}

/* ========================================
   REDUCED MOTION SUPPORT
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    .testimonial-card,
    .certificate-visual,
    .carousel-arrow,
    .certificate-arrow {
        animation: none !important;
        transition: none !important;
    }

    .carousel-arrow:hover,
    .certificate-arrow:hover {
        transform: none !important;
    }
}

/* ============================================================ */
/* ===== FROM: corporate-training.css ===== */
/* ============================================================ */

/* ========================================
   CORPORATE TRAINING FORM STYLES
   ======================================== */

.corporate-training-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.corporate-intro {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

.corporate-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #a855f7, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.corporate-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.benefit-card {
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s var(--transition-timing);
    animation: fadeInUp 0.6s ease-out;
}

.benefit-card:hover {
    background: var(--glass-hover-bg-light);
    border-color: var(--glass-hover-border);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(78, 205, 196, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    stroke: #a855f7;
}

.benefit-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Form Wrapper */
.corporate-form-wrapper {
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--glass-shadow);
    animation: fadeInUp 0.8s ease-out;
}

.form-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-description {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Form Styles */
.corporate-training-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(16, 16, 28, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s var(--transition-timing);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a855f7;
    background: rgba(16, 16, 28, 0.8);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a855f7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

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

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #a855f7, #4ecdc4);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all 0.3s var(--transition-timing);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

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

.submit-btn svg {
    width: 20px;
    height: 20px;
}

/* Info Section */
.corporate-info-section {
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out;
}

.info-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s var(--transition-timing);
    position: relative;
}

.step-card:hover {
    background: var(--glass-hover-bg-light);
    border-color: var(--glass-hover-border);
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #a855f7, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.step-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .corporate-form-wrapper {
        padding: 1.5rem;
    }

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

    .corporate-benefits-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .corporate-training-container {
        padding: 1rem 0.5rem;
    }

    .corporate-form-wrapper {
        padding: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .corporate-intro,
    .benefit-card,
    .corporate-form-wrapper,
    .corporate-info-section {
        animation: none;
    }

    .benefit-card:hover,
    .step-card:hover,
    .submit-btn:hover {
        transform: none;
    }
}

/* Form Validation Styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(239, 68, 68, 0.5);
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid,
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: rgba(34, 197, 94, 0.5);
}


/* ============================================================ */
/* ===== FROM: mobile-nav-final-fix.css ===== */
/* ============================================================ */

/**
 * Mobile Navigation Final Fix
 * This file provides the definitive mobile navigation solution
 * Load this LAST to override all conflicts
 */

/* ========================================
   MOBILE MENU BUTTON - CRITICAL FIXES
   ======================================== */

/* Ensure mobile menu button is visible on mobile */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 10001 !important;
        position: relative;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }

    .mobile-menu-btn:hover,
    .mobile-menu-btn:focus {
        background-color: rgba(255, 255, 255, 0.1);
        outline: 2px solid #a855f7;
        outline-offset: 2px;
    }

    .mobile-menu-btn:active {
        background-color: rgba(168, 85, 247, 0.2);
    }

    /* Hamburger lines */
    .mobile-menu-btn span {
        display: block !important;
        width: 24px;
        height: 3px;
        background: #fff !important;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    /* Hamburger animation when active */
    .mobile-menu-btn.active span:nth-child(1),
    .mobile-menu-btn.open span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-btn.active span:nth-child(2),
    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3),
    .mobile-menu-btn.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Hide mobile menu button on desktop */
@media (min-width: 901px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

/* ========================================
   MOBILE NAVIGATION MENU - CRITICAL FIXES
   ======================================== */

/* EMERGENCY FIX: Force all nav items to be visible on mobile */
@media (max-width: 900px) {

    .nav-menu .nav-item,
    .nav-menu .nav-item.dropdown,
    .nav-menu li.nav-item,
    .nav-menu li.nav-item.dropdown {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        transform: none !important;
        height: auto !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .nav-menu .nav-link,
    .nav-menu .dropdown .nav-link,
    .nav-menu li .nav-link,
    .nav-menu li.dropdown .nav-link {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        transform: none !important;
        height: auto !important;
        width: 100% !important;
    }
}

/* Desktop navigation - ensure it's visible */
@media (min-width: 901px) {
    .nav-menu {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        background: transparent !important;
        padding: 0 !important;
        transform: none !important;
        overflow: visible !important;
        z-index: auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: auto !important;
        height: auto !important;
    }
}

/* Mobile navigation - hidden by default */
@media (max-width: 900px) {
    .nav-menu {
        display: none !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: rgba(10, 10, 20, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        padding: 2rem 1rem !important;
        overflow-y: auto !important;
        z-index: 9999 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        list-style: none !important;
        margin: 0 !important;
    }

    /* Mobile navigation - active state */
    .nav-menu.active {
        display: flex !important;
        transform: translateX(0) !important;
    }

    /* Navigation items on mobile */
    .nav-menu .nav-item {
        width: 100% !important;
        margin: 8px 0 !important;
        list-style: none !important;
    }

    /* Navigation links on mobile */
    .nav-menu .nav-link {
        display: flex !important;
        align-items: center !important;
        padding: 0.75rem 1.25rem !important;
        min-height: 44px !important;
        min-width: 44px !important;
        font-size: 1.125rem !important;
        color: #fff !important;
        text-decoration: none !important;
        border-radius: 8px !important;
        transition: background-color 0.2s ease !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:focus {
        background-color: rgba(168, 85, 247, 0.2) !important;
        color: #fff !important;
    }

    .nav-menu .nav-link:active {
        background-color: rgba(168, 85, 247, 0.3) !important;
        opacity: 0.8;
    }

    /* Dropdown styles for mobile */
    .nav-menu .dropdown {
        position: relative !important;
        width: 100% !important;
    }

    .nav-menu .dropdown-content {
        display: none !important;
        background: rgba(0, 0, 0, 0.5) !important;
        border-radius: 8px !important;
        margin-top: 8px !important;
        padding: 8px 0 !important;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        border: none !important;
        width: 100% !important;
    }

    .nav-menu .dropdown.active .dropdown-content {
        display: block !important;
    }

    .nav-menu .dropdown-item {
        display: block !important;
        padding: 0.5rem 1.25rem !important;
        color: #cbd5e1 !important;
        text-decoration: none !important;
        transition: background-color 0.2s ease !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .nav-menu .dropdown-item:hover,
    .nav-menu .dropdown-item:focus {
        background-color: rgba(168, 85, 247, 0.2) !important;
        color: #fff !important;
    }
}

/* ========================================
   BODY SCROLL LOCK WHEN MENU IS OPEN
   ======================================== */

body.mobile-menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

/* Focus management for mobile menu */
@media (max-width: 900px) {

    .nav-menu:not(.active) .nav-link,
    .nav-menu:not(.active) .dropdown-item {
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .nav-menu.active .nav-link,
    .nav-menu.active .dropdown-item {
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

/* ========================================
   TOUCH FEEDBACK IMPROVEMENTS
   ======================================== */

@media (max-width: 900px) {

    .mobile-menu-btn,
    .nav-menu .nav-link,
    .nav-menu .dropdown-item {
        -webkit-tap-highlight-color: rgba(168, 85, 247, 0.2);
    }
}

/* ========================================
   REDUCED MOTION SUPPORT
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    .mobile-menu-btn span,
    .nav-menu {
        transition: none !important;
        animation: none !important;
    }
}

/* ========================================
   DEBUG STYLES (Remove in production)
   ======================================== */

/* Uncomment for debugging */
/*
@media (max-width: 900px) {
    .mobile-menu-btn {
        border: 2px solid red !important;
    }
    
    .nav-menu {
        border: 2px solid blue !important;
    }
    
    .nav-menu.active {
        border: 2px solid green !important;
    }
}
*/

/* ============================================================ */
/* ===== FROM: vertical-large-image-cards.css ===== */
/* ============================================================ */

/* ========================================
   VERTICAL CARDS WITH LARGE IMAGES
   Image top, content bottom - clean and simple
   ======================================== */

/* VERTICAL DESIGN: Clean card layout */
body.index-page main section .courses-grid .course-card,
body.index-page main .courses-grid .course-card,
body.index-page main section .tab-content .courses-grid .course-card,
body.index-page main .tab-content .courses-grid .course-card,
.courses-grid .course-card,
.tab-content .courses-grid .course-card {
    display: flex !important;
    flex-direction: column !important;
    /* Vertical: image top, content bottom */
    height: auto !important;
    min-height: 450px !important;
    /* Taller cards for bigger images */
    width: 100% !important;
    background: var(--glass-bg-light) !important;
    border-radius: 1.5rem !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

/* LARGE IMAGE SECTION: Top of the card */
body.index-page main section .courses-grid .course-card .card-content .card-thumbnail-container,
body.index-page main section .courses-grid .course-card .card-thumbnail-container,
body.index-page main section .courses-grid .card-thumbnail-container,
body.index-page main .courses-grid .card-thumbnail-container,
body.index-page main section .tab-content .courses-grid .course-card .card-content .card-thumbnail-container,
body.index-page main section .tab-content .courses-grid .course-card .card-thumbnail-container,
body.index-page main section .tab-content .courses-grid .card-thumbnail-container,
body.index-page main .tab-content .courses-grid .card-thumbnail-container,
.courses-grid .card-thumbnail-container,
.tab-content .courses-grid .card-thumbnail-container,
.card-thumbnail-container {
    width: 100% !important;
    /* Full card width */
    height: 280px !important;
    /* Much larger than original ~120px */
    min-height: 280px !important;
    max-height: 280px !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    /* No border radius for clean look */
    margin: 0 !important;
    padding: 0 !important;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(78, 205, 196, 0.1)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    flex-shrink: 0 !important;
    /* Don't shrink */
}

/* LARGE IMAGES: Fill the image section completely */
body.index-page main section .courses-grid .course-card .card-content .card-thumbnail-container img,
body.index-page main section .courses-grid .course-card .card-thumbnail-container img,
body.index-page main section .courses-grid .card-thumbnail-container img,
body.index-page main .courses-grid .card-thumbnail-container img,
body.index-page main section .tab-content .courses-grid .course-card .card-content .card-thumbnail-container img,
body.index-page main section .tab-content .courses-grid .course-card .card-thumbnail-container img,
body.index-page main section .tab-content .courses-grid .card-thumbnail-container img,
body.index-page main .tab-content .courses-grid .card-thumbnail-container img,
.courses-grid .card-thumbnail-container img,
.tab-content .courses-grid .card-thumbnail-container img,
.card-thumbnail-container img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    /* Show complete image without cropping */
    object-position: center !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 12px !important;
    /* Small padding so image doesn't touch edges */
    transition: transform 0.4s ease !important;
    filter: brightness(1.05) contrast(1.02) !important;
    box-sizing: border-box !important;
}

/* HOVER EFFECT: Subtle zoom */
body.index-page main section .courses-grid .course-card:hover .card-thumbnail-container img,
body.index-page main section .courses-grid .course-card:hover img,
body.index-page main section .tab-content .courses-grid .course-card:hover .card-thumbnail-container img,
body.index-page main section .tab-content .courses-grid .course-card:hover img,
body.index-page main .tab-content .courses-grid .course-card:hover .card-thumbnail-container img,
body.index-page main .tab-content .courses-grid .course-card:hover img,
.courses-grid .course-card:hover .card-thumbnail-container img,
.tab-content .courses-grid .course-card:hover .card-thumbnail-container img,
.courses-grid .course-card:hover img,
.tab-content .courses-grid .course-card:hover img {
    transform: scale(1.05) !important;
    /* Subtle zoom on hover */
    filter: brightness(1.1) contrast(1.05) !important;
}

/* CONTENT SECTION: Bottom of the card */
body.index-page main section .courses-grid .course-card .card-content,
body.index-page main .courses-grid .course-card .card-content,
body.index-page main section .tab-content .courses-grid .course-card .card-content,
body.index-page main .tab-content .courses-grid .course-card .card-content,
.courses-grid .course-card .card-content,
.tab-content .courses-grid .course-card .card-content {
    width: 100% !important;
    height: auto !important;
    flex: 1 !important;
    /* Take remaining space */
    display: flex !important;
    flex-direction: column !important;
    padding: 1.5rem !important;
    /* Good padding for content */
    gap: 1rem !important;
    background: var(--glass-bg-light) !important;
    position: relative !important;
    justify-content: space-between !important;
    /* Distribute content evenly */
}

/* CARD TITLES: Clean and readable */
body.index-page main section .courses-grid .course-card .card-title,
body.index-page main .courses-grid .course-card .card-title,
body.index-page main section .tab-content .courses-grid .course-card .card-title,
body.index-page main .tab-content .courses-grid .course-card .card-title,
.courses-grid .course-card .card-title,
.tab-content .courses-grid .course-card .card-title {
    font-size: 1.4rem !important;
    /* Large, readable titles */
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.3 !important;
    color: var(--text-primary) !important;
    flex-shrink: 0 !important;
    /* Don't shrink title */
    text-align: center !important;
    /* Center align titles */
}

/* CARD DESCRIPTIONS: Well-spaced text */
body.index-page main section .courses-grid .course-card .card-description,
body.index-page main .courses-grid .course-card .card-description,
body.index-page main section .tab-content .courses-grid .course-card .card-description,
body.index-page main .tab-content .courses-grid .course-card .card-description,
.courses-grid .course-card .card-description,
.tab-content .courses-grid .course-card .card-description {
    flex: 1 !important;
    /* Take available space */
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
    /* Center align descriptions */
    overflow: hidden !important;
    /* Prevent text overflow */
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    /* Limit to 4 lines */
    line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
}

/* BUTTON CONTAINERS: Bottom of content */
body.index-page main section .courses-grid .course-card .card-button-container,
body.index-page main .courses-grid .course-card .card-button-container,
body.index-page main section .tab-content .courses-grid .course-card .card-button-container,
body.index-page main .tab-content .courses-grid .course-card .card-button-container,
.courses-grid .course-card .card-button-container,
.tab-content .courses-grid .course-card .card-button-container {
    margin-top: auto !important;
    padding-top: 0 !important;
    flex-shrink: 0 !important;
    /* Don't shrink button */
}

/* BUTTONS: Full width and prominent */
body.index-page main section .courses-grid .course-card .card-button,
body.index-page main .courses-grid .course-card .card-button,
body.index-page main section .tab-content .courses-grid .course-card .card-button,
body.index-page main .tab-content .courses-grid .course-card .card-button,
.courses-grid .course-card .card-button,
.tab-content .courses-grid .course-card .card-button {
    width: 100% !important;
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 0.75rem !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
}

/* CARD HOVER EFFECTS: Subtle lift */
body.index-page main section .courses-grid .course-card:hover,
body.index-page main .courses-grid .course-card:hover,
body.index-page main section .tab-content .courses-grid .course-card:hover,
body.index-page main .tab-content .courses-grid .course-card:hover,
.courses-grid .course-card:hover,
.tab-content .courses-grid .course-card:hover {
    transform: translateY(-6px) !important;
    /* Subtle lift */
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(168, 85, 247, 0.3) !important;
}

/* GRID LAYOUT: Responsive columns */
body.index-page main section .courses-grid,
body.index-page main .courses-grid,
body.index-page main section .tab-content .courses-grid,
body.index-page main .tab-content .courses-grid,
.courses-grid,
.tab-content .courses-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 2rem !important;
    width: 100% !important;
}

/* TABLET RESPONSIVE */
@media (max-width: 1024px) {

    body.index-page main section .courses-grid,
    body.index-page main .courses-grid,
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 1.5rem !important;
    }
}

/* MOBILE RESPONSIVE - FORCE CENTERING */
@media (max-width: 768px) {

    body.index-page main section .courses-grid,
    body.index-page main .courses-grid,
    .courses-grid {
        display: flex !important;
        /* Change to flex for better control */
        flex-direction: column !important;
        align-items: center !important;
        /* Force center alignment */
        justify-content: center !important;
        gap: 1.5rem !important;
        padding: 0 20px !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.index-page main section .courses-grid .course-card,
    body.index-page main .courses-grid .course-card,
    .courses-grid .course-card {
        min-height: 400px !important;
        width: 90% !important;
        /* Use percentage width */
        max-width: 350px !important;
        margin: 0 auto !important;
        align-self: center !important;
        /* Force self-centering */
        position: relative !important;
        left: 0 !important;
        /* Reset any positioning */
        right: 0 !important;
        transform: translateX(0) !important;
        /* Reset transforms */
    }

    body.index-page main section .courses-grid .course-card .card-content .card-thumbnail-container,
    body.index-page main section .courses-grid .course-card .card-thumbnail-container,
    body.index-page main section .courses-grid .card-thumbnail-container,
    body.index-page main .courses-grid .card-thumbnail-container,
    .courses-grid .card-thumbnail-container,
    .card-thumbnail-container {
        height: 240px !important;
        /* Slightly smaller on mobile */
        min-height: 240px !important;
        max-height: 240px !important;
    }

    body.index-page main section .courses-grid .course-card .card-content,
    body.index-page main .courses-grid .course-card .card-content,
    .courses-grid .course-card .card-content {
        padding: 1.25rem !important;
    }

    body.index-page main section .courses-grid .course-card .card-title,
    body.index-page main .courses-grid .course-card .card-title,
    .courses-grid .course-card .card-title {
        font-size: 1.25rem !important;
    }

    body.index-page main section .courses-grid .course-card .card-description,
    body.index-page main .courses-grid .course-card .card-description,
    .courses-grid .course-card .card-description {
        -webkit-line-clamp: 3 !important;
        /* Fewer lines on mobile */
        line-clamp: 3 !important;
    }
}

/* SMALL MOBILE RESPONSIVE */
@media (max-width: 480px) {

    body.index-page main section .courses-grid .course-card,
    body.index-page main .courses-grid .course-card,
    .courses-grid .course-card {
        min-height: 380px !important;
    }

    body.index-page main section .courses-grid .course-card .card-content .card-thumbnail-container,
    body.index-page main section .courses-grid .course-card .card-thumbnail-container,
    body.index-page main section .courses-grid .card-thumbnail-container,
    body.index-page main .courses-grid .card-thumbnail-container,
    .courses-grid .card-thumbnail-container,
    .card-thumbnail-container {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }

    body.index-page main section .courses-grid .course-card .card-content,
    body.index-page main .courses-grid .course-card .card-content,
    .courses-grid .course-card .card-content {
        padding: 1rem !important;
    }
}

/* OVERRIDE CONFLICTING RULES */
@media (min-width: 1px) {

    .card-thumbnail-container img,
    .course-image-container img,
    .course-image,
    .course-card img {
        aspect-ratio: unset !important;
        max-width: none !important;
        max-height: none !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}

/* IMAGE QUALITY ENHANCEMENT */
body.index-page main section .courses-grid .course-card .card-thumbnail-container::before,
body.index-page main .courses-grid .course-card .card-thumbnail-container::before,
.courses-grid .course-card .card-thumbnail-container::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

body.index-page main section .courses-grid .course-card .card-thumbnail-container img,
body.index-page main .courses-grid .course-card .card-thumbnail-container img,
.courses-grid .course-card .card-thumbnail-container img {
    position: relative !important;
    z-index: 1 !important;
}

/* ============================================================ */
/* ===== FROM: new-coding-cards.css ===== */
/* ============================================================ */

/* ========================================
   COMPLETELY NEW CODING CARD DESIGN
   White top section + Colored bottom section
   ======================================== */

/* REMOVE OLD STYLING - Start fresh */
.tabs-wrapper .tab-content .courses-grid .course-card {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 400px !important;
    width: 100% !important;
    background: transparent !important;
    /* No background - we'll add sections */
    border-radius: 20px !important;
    /* Rounded corners like the design */
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: none !important;
    /* No border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    /* Soft shadow */
    padding: 0 !important;
    position: relative !important;
}

/* WHITE TOP SECTION - For images */
.tabs-wrapper .tab-content .courses-grid .course-card .card-thumbnail-container {
    width: 100% !important;
    height: 200px !important;
    /* Good height for images */
    min-height: 200px !important;
    max-height: 200px !important;
    background: #ffffff !important;
    /* Pure white background */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 20px 20px 0 0 !important;
    /* Rounded top corners only */
    margin: 0 !important;
    padding: 20px !important;
    /* Padding inside white section */
    position: relative !important;
    flex-shrink: 0 !important;
    order: 1 !important;
}

/* LARGE IMAGES in white section */
.tabs-wrapper .tab-content .courses-grid .course-card .card-thumbnail-container img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    /* Show complete image */
    object-position: center !important;
    border-radius: 12px !important;
    /* Slight rounding for images */
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.3s ease !important;
    filter: brightness(1.05) contrast(1.02) !important;
}

/* HOVER EFFECT for images */
.tabs-wrapper .tab-content .courses-grid .course-card:hover .card-thumbnail-container img {
    transform: scale(1.05) !important;
}

/* DARK BOTTOM SECTION - For content (like original) */
.tabs-wrapper .tab-content .courses-grid .course-card .card-content {
    width: 100% !important;
    height: auto !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    background: var(--glass-bg-light) !important;
    /* Original dark glass background */
    border-radius: 0 0 20px 20px !important;
    /* Rounded bottom corners only */
    padding: 25px 20px 20px 20px !important;
    color: white !important;
    position: relative !important;
    order: 2 !important;
}

/* TITLE in dark section */
.tabs-wrapper .tab-content .courses-grid .course-card .card-title {
    width: 100% !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    color: var(--text-primary) !important;
    /* Original text color */
    text-align: center !important;
    /* Center align like original */
    order: 1 !important;
    flex-shrink: 0 !important;
}

/* DESCRIPTION in dark section */
.tabs-wrapper .tab-content .courses-grid .course-card .card-description {
    width: 100% !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: var(--text-secondary) !important;
    /* Original text color */
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    text-align: center !important;
    /* Center align like original */
    order: 2 !important;
    flex: 1 !important;
    overflow: visible !important;
    display: block !important;
}

/* BUTTON in colored section */
.tabs-wrapper .tab-content .courses-grid .course-card .card-button-container {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 3 !important;
    flex-shrink: 0 !important;
}

.tabs-wrapper .tab-content .courses-grid .course-card .card-button {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    /* Use original button styling */
    background: linear-gradient(135deg, #8A2BE2, #4A00E0) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.3) !important;
}

.tabs-wrapper .tab-content .courses-grid .course-card .card-button:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.4) !important;
}

/* Keep original dark background for all cards */
.tabs-wrapper .tab-content .courses-grid .course-card.coding .card-content {
    background: var(--glass-bg-light) !important;
    /* Original dark glass background */
}

/* CARD HOVER EFFECTS */
.tabs-wrapper .tab-content .courses-grid .course-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
}

/* GRID LAYOUT */
.tabs-wrapper .tab-content .courses-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
    padding: 20px 0 !important;
    justify-items: center !important;
    /* Center items in grid */
    margin: 0 auto !important;
    /* Center the grid itself */
}

/* MOBILE RESPONSIVE - FORCE CENTERING */
@media (max-width: 768px) {
    .tabs-wrapper .tab-content .courses-grid {
        display: flex !important;
        /* Change to flex for better control */
        flex-direction: column !important;
        align-items: center !important;
        /* Force center alignment */
        justify-content: center !important;
        gap: 20px !important;
        padding: 10px 20px !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .tabs-wrapper .tab-content .courses-grid .course-card {
        min-height: 380px !important;
        width: 90% !important;
        /* Use percentage width */
        max-width: 350px !important;
        margin: 0 auto !important;
        align-self: center !important;
        /* Force self-centering */
        position: relative !important;
        left: 0 !important;
        /* Reset any positioning */
        right: 0 !important;
        transform: translateX(0) !important;
        /* Reset transforms */
    }

    .tabs-wrapper .tab-content .courses-grid .course-card .card-thumbnail-container {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
        padding: 15px !important;
    }

    .tabs-wrapper .tab-content .courses-grid .course-card .card-content {
        padding: 20px 15px 15px 15px !important;
    }

    .tabs-wrapper .tab-content .courses-grid .course-card .card-title {
        font-size: 1.25rem !important;
    }

    .tabs-wrapper .tab-content .courses-grid .course-card .card-description {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .tabs-wrapper .tab-content .courses-grid .course-card {
        min-height: 360px !important;
    }

    .tabs-wrapper .tab-content .courses-grid .course-card .card-thumbnail-container {
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
        padding: 12px !important;
    }

    .tabs-wrapper .tab-content .courses-grid .course-card .card-content {
        padding: 18px 12px 12px 12px !important;
    }
}

/* OVERRIDE ANY CONFLICTING STYLES */
.tabs-wrapper .tab-content .courses-grid .course-card .card-thumbnail-container img {
    aspect-ratio: unset !important;
    transform: none !important;
    /* Remove any scaling */
}

.tabs-wrapper .tab-content .courses-grid .course-card:hover .card-thumbnail-container img {
    transform: scale(1.05) !important;
    /* Only slight hover scale */
}

/* REMOVE OLD STYLING COMPLETELY */
.tabs-wrapper .tab-content .courses-grid .course-card .card-content {
    display: flex !important;
    /* Override display: contents */
}

/* ENSURE PROPER STACKING */
.tabs-wrapper .tab-content .courses-grid .course-card .card-thumbnail-container {
    z-index: 1 !important;
}

.tabs-wrapper .tab-content .courses-grid .course-card .card-content {
    z-index: 2 !important;
}

@media (max-width: 480px) {
    .tabs-wrapper .tab-content .courses-grid {
        padding: 10px 10px !important;
        /* Smaller padding on very small screens */
        justify-items: center !important;
        align-items: center !important;
    }

    .tabs-wrapper .tab-content .courses-grid .course-card {
        width: 100% !important;
        max-width: 320px !important;
        /* Even smaller max width */
        margin: 0 auto !important;
    }
}

/* ENSURE TABS WRAPPER IS CENTERED */
.tabs-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.tabs-wrapper .tab-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* PREVENT HORIZONTAL OVERFLOW */
@media (max-width: 768px) {

    .tabs-wrapper,
    .tabs-wrapper .tab-content,
    .tabs-wrapper .tab-content .courses-grid {
        overflow-x: hidden !important;
    }

    body {
        overflow-x: hidden !important;
    }
}

/* ============================================================ */
/* ===== FROM: mobile-centering-fix.css ===== */
/* ============================================================ */

/* ========================================
   MOBILE CENTERING FIX
   Force all curriculum sections to center on mobile
   ======================================== */

/* FORCE CENTERING FOR ALL SECTIONS ON MOBILE */
@media (max-width: 768px) {

    /* Main sections centering */
    body.index-page main {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        padding: 120px 10px 20px 10px !important;
    }

    /* Section containers */
    body.index-page main .section {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 2rem 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Tabs wrapper centering */
    .tabs-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .tabs-wrapper .tab-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Force all grids to center */
    .courses-grid,
    .tabs-wrapper .tab-content .courses-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 15px !important;
    }

    /* Force all cards to center */
    .course-card,
    .tabs-wrapper .tab-content .courses-grid .course-card {
        width: 90% !important;
        max-width: 350px !important;
        margin: 0 auto 20px auto !important;
        align-self: center !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: translateX(0) !important;
        float: none !important;
    }
}

/* EXTRA SMALL MOBILE */
@media (max-width: 480px) {
    body.index-page main {
        padding: 120px 5px 20px 5px !important;
    }

    body.index-page main .section {
        padding: 2rem 5px !important;
    }

    .courses-grid,
    .tabs-wrapper .tab-content .courses-grid {
        padding: 0 10px !important;
    }

    .course-card,
    .tabs-wrapper .tab-content .courses-grid .course-card {
        width: 95% !important;
        max-width: 320px !important;
    }
}

/* PREVENT ANY FLOAT OR POSITIONING ISSUES */
@media (max-width: 768px) {
    * {
        float: none !important;
    }

    .course-card,
    .tabs-wrapper .tab-content .courses-grid .course-card {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}

/* ============================================================ */
/* ===== FROM: mobile-tabs-width-fix.css ===== */
/* ============================================================ */

/**
 * Mobile Tabs Width Fix
 * Increases tab button width on mobile devices only
 */

/* Mobile-specific tab width increase */
@media (max-width: 768px) {

    /* Increase width for all tab buttons on mobile */
    .tab-button {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 1.25rem 1.5rem !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
    }

    /* Ensure tabs container takes full width */
    .tabs-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Ensure tabs wrapper takes full width */
    .tabs-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0.75rem !important;
    }
}

/* Very small screens - even larger touch targets */
@media (max-width: 480px) {
    .tab-button {
        padding: 1.5rem 2rem !important;
        font-size: 1.2rem !important;
        min-height: 60px !important;
    }
}


/* ============================================================ */
/* ===== FROM: mobile-tab-content-fix.css ===== */
/* ============================================================ */

/**
 * Mobile Tab Content Visibility Fix
 * Ensures only active tab content is visible on mobile
 */

/* Hide all tab content by default */
.tab-content {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

/* Show only active tab content */
.tab-content.active {
    display: block !important;
    opacity: 1;
    visibility: visible;
    height: auto;
    overflow: visible;
}

/* Smooth transition for tab content */
.tab-content.active {
    animation: fadeInTab 0.3s ease-in-out;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure this works on both mobile and desktop */
@media (max-width: 768px) {
    .tab-content {
        display: none !important;
    }

    .tab-content.active {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .tab-content {
        display: none !important;
    }

    .tab-content.active {
        display: block !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .tab-content.active {
        animation: none;
    }
}


/* ============================================================ */
/* ===== FROM: mobile-testimonials-improved.css ===== */
/* ============================================================ */

/**
 * Mobile Testimonials Improved
 * Clean, organized, and easy-to-read testimonials for mobile
 */

/* ========================================
   MOBILE TESTIMONIALS - CLEAN LAYOUT
   ======================================== */

@media (max-width: 768px) {

    /* Section spacing */
    .testimonials-section {
        padding: 2rem 0;
        margin: 2rem 0;
    }

    /* Section title improvements */
    .testimonials-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        text-align: center;
        padding: 0 1rem;
    }

    /* Container improvements */
    .testimonials-carousel-container {
        padding: 0 55px !important;
        /* Space for arrows */
        margin: 0 auto;
        max-width: 100%;
    }

    /* Track improvements */
    .testimonials-track {
        gap: 0 !important;
        align-items: stretch;
    }

    /* Card improvements - Clean and organized */
    .testimonial-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 2rem 1.5rem !important;
        margin: 0 !important;
        border-radius: 20px !important;
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(78, 205, 196, 0.05)) !important;
        border: 2px solid rgba(168, 85, 247, 0.25) !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
        min-height: auto !important;
        height: auto !important;
        aspect-ratio: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Content layout */
    .testimonial-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
        height: 100% !important;
        align-items: center !important;
    }

    /* Avatar - Centered and prominent */
    .parent-avatar {
        width: 90px !important;
        height: 90px !important;
        border: 4px solid rgba(168, 85, 247, 0.7) !important;
        box-shadow: 0 6px 25px rgba(168, 85, 247, 0.5) !important;
        margin: 0 auto 1rem !important;
        order: 1;
    }

    .parent-avatar img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Quote text - Clean and readable */
    .testimonial-content blockquote {
        font-size: 1.05rem !important;
        line-height: 1.7 !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-align: center !important;
        padding: 0 0.5rem !important;
        margin: 0 !important;
        font-style: italic !important;
        font-weight: 400 !important;
        order: 2;
        display: block !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
        -webkit-box-orient: unset !important;
        overflow: visible !important;
    }

    /* Remove read more button on mobile */
    .read-more-container,
    .read-more-btn {
        display: none !important;
    }

    /* Info section - Clean and organized */
    .testimonial-info {
        text-align: center !important;
        padding-top: 1rem !important;
        border-top: 2px solid rgba(168, 85, 247, 0.3) !important;
        margin-top: 1rem !important;
        width: 100% !important;
        order: 3;
    }

    .testimonial-info .name {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        color: #fff !important;
        margin: 0 0 0.5rem 0 !important;
        letter-spacing: 0.3px;
    }

    .testimonial-info .course {
        font-size: 1rem !important;
        color: rgba(168, 85, 247, 0.9) !important;
        font-weight: 500 !important;
        margin: 0 !important;
    }

    /* Star rating improvements */
    .star-rating {
        display: flex !important;
        justify-content: center !important;
        gap: 4px !important;
        margin-top: 0.75rem !important;
    }

    .star-rating .star {
        color: #FFD700 !important;
        font-size: 18px !important;
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.6) !important;
    }

    /* Carousel arrows - Large and easy to tap */
    .carousel-arrow {
        width: 55px !important;
        height: 55px !important;
        background: rgba(168, 85, 247, 0.9) !important;
        border: 3px solid rgba(168, 85, 247, 1) !important;
        backdrop-filter: blur(20px) !important;
        box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5) !important;
        z-index: 100 !important;
    }

    .carousel-arrow:hover,
    .carousel-arrow:active {
        background: rgba(168, 85, 247, 1) !important;
        transform: translateY(-50%) scale(1.08) !important;
        box-shadow: 0 8px 25px rgba(168, 85, 247, 0.7) !important;
    }

    .carousel-arrow svg {
        width: 26px !important;
        height: 26px !important;
        color: white !important;
        stroke-width: 3 !important;
    }

    .carousel-arrow-left {
        left: 5px !important;
    }

    .carousel-arrow-right {
        right: 5px !important;
    }

    /* Hide carousel dots on mobile */
    .carousel-dots {
        display: none !important;
    }

    /* Post review button improvements */
    .post-review-container {
        margin-top: 2rem !important;
        padding: 0 1rem !important;
    }

    .post-review-button {
        padding: 14px 28px !important;
        font-size: 1rem !important;
        border-radius: 50px !important;
        box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4) !important;
    }

    .post-review-button svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Very small screens (phones) */
@media (max-width: 480px) {
    .testimonials-section {
        padding: 1.5rem 0;
    }

    .testimonials-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .testimonials-carousel-container {
        padding: 0 50px !important;
    }

    .testimonial-card {
        padding: 1.75rem 1.25rem !important;
        border-radius: 18px !important;
    }

    .parent-avatar {
        width: 80px !important;
        height: 80px !important;
        border-width: 3px !important;
    }

    .testimonial-content blockquote {
        font-size: 1rem !important;
        line-height: 1.65 !important;
        padding: 0 0.25rem !important;
    }

    .testimonial-info .name {
        font-size: 1.15rem !important;
    }

    .testimonial-info .course {
        font-size: 0.95rem !important;
    }

    .star-rating .star {
        font-size: 16px !important;
    }

    .carousel-arrow {
        width: 50px !important;
        height: 50px !important;
    }

    .carousel-arrow svg {
        width: 24px !important;
        height: 24px !important;
    }

    .post-review-button {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .testimonials-carousel-container {
        padding: 0 45px !important;
    }

    .testimonial-card {
        padding: 1.5rem 1rem !important;
    }

    .parent-avatar {
        width: 70px !important;
        height: 70px !important;
    }

    .testimonial-content blockquote {
        font-size: 0.95rem !important;
    }

    .testimonial-info .name {
        font-size: 1.1rem !important;
    }

    .testimonial-info .course {
        font-size: 0.9rem !important;
    }

    .carousel-arrow {
        width: 45px !important;
        height: 45px !important;
    }

    .carousel-arrow svg {
        width: 22px !important;
        height: 22px !important;
    }
}

/* ========================================
   DESKTOP - Keep existing styles
   ======================================== */

@media (min-width: 769px) {

    /* Desktop styles remain unchanged */
    .testimonial-card {
        aspect-ratio: 1.4/1;
    }
}

/* ========================================
   ACCESSIBILITY & TOUCH IMPROVEMENTS
   ======================================== */

/* Better focus states for mobile */
@media (max-width: 768px) {
    .carousel-arrow:focus {
        outline: 4px solid rgba(168, 85, 247, 0.9) !important;
        outline-offset: 4px !important;
    }

    .post-review-button:focus {
        outline: 3px solid rgba(66, 133, 244, 0.8) !important;
        outline-offset: 3px !important;
    }
}

/* Touch feedback */
@media (hover: none) and (pointer: coarse) {
    .carousel-arrow:active {
        transform: translateY(-50%) scale(0.95) !important;
        transition: transform 0.1s ease !important;
    }

    .post-review-button:active {
        transform: scale(0.97) !important;
        transition: transform 0.1s ease !important;
    }
}

/* ========================================
   SMOOTH ANIMATIONS
   ======================================== */

@media (max-width: 768px) {
    .testimonial-card {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .carousel-arrow {
        transition: all 0.2s ease !important;
    }

    .testimonials-track {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
}

/* ========================================
   REDUCED MOTION SUPPORT
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    .testimonial-card,
    .carousel-arrow,
    .testimonials-track,
    .post-review-button {
        animation: none !important;
        transition: none !important;
    }

    .carousel-arrow:hover,
    .carousel-arrow:active {
        transform: translateY(-50%) !important;
    }
}


/* ============================================================ */
/* ===== FROM: mobile-testimonials-compact.css ===== */
/* ============================================================ */

/**
 * Mobile Testimonials Compact
 * Short, square, clean testimonial boxes for mobile
 */

/* ========================================
   MOBILE TESTIMONIALS - COMPACT SQUARE DESIGN
   ======================================== */

@media (max-width: 768px) {

    /* Section spacing */
    .testimonials-section {
        padding: 1.5rem 0 !important;
        margin: 1.5rem 0 !important;
    }

    .testimonials-section .section-title {
        font-size: 1.6rem !important;
        margin-bottom: 1.25rem !important;
        padding: 0 1rem !important;
    }

    /* Container - compact */
    .testimonials-carousel-container {
        padding: 0 60px !important;
        margin: 0 auto !important;
    }

    /* Track */
    .testimonials-track {
        gap: 0 !important;
    }

    /* READABLE TESTIMONIAL CARD - Full text visible */
    .testimonial-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;

        /* AUTO HEIGHT to fit all content */
        aspect-ratio: unset !important;
        height: auto !important;
        min-height: 350px !important;
        max-height: none !important;

        padding: 1.5rem 1.25rem !important;
        margin: 0 !important;
        border-radius: 20px !important;

        background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(78, 205, 196, 0.08)) !important;
        border: 2px solid rgba(168, 85, 247, 0.3) !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;

        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        overflow: visible !important;
    }

    /* Content layout - compact */
    .testimonial-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        height: 100% !important;
        width: 100% !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* Header with avatar and info side by side */
    .testimonial-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 1rem !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        padding-bottom: 0.75rem !important;
        border-bottom: 1px solid rgba(168, 85, 247, 0.25) !important;
    }

    /* Compact avatar */
    .parent-avatar {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        border: 3px solid rgba(168, 85, 247, 0.6) !important;
        box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4) !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    .parent-avatar img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Info next to avatar */
    .testimonial-info {
        text-align: left !important;
        padding: 0 !important;
        border: none !important;
        margin: 0 !important;
        flex-grow: 1 !important;
    }

    .testimonial-info .name {
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        color: #fff !important;
        margin: 0 0 0.25rem 0 !important;
        line-height: 1.2 !important;
    }

    .testimonial-info .course {
        font-size: 0.85rem !important;
        color: rgba(168, 85, 247, 0.9) !important;
        font-weight: 500 !important;
        margin: 0 0 0.25rem 0 !important;
        line-height: 1.2 !important;
    }

    /* Star rating compact */
    .star-rating {
        display: flex !important;
        justify-content: flex-start !important;
        gap: 2px !important;
        margin: 0 !important;
    }

    .star-rating .star {
        color: #FFD700 !important;
        font-size: 14px !important;
        text-shadow: 0 0 4px rgba(255, 215, 0, 0.5) !important;
    }

    /* Quote text - fully visible and readable */
    .testimonial-content blockquote {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-align: center !important;
        padding: 0.75rem 0.5rem !important;
        margin: 0 !important;
        font-style: italic !important;
        font-weight: 400 !important;

        flex-grow: 1 !important;

        /* SHOW FULL TEXT - no truncation */
        overflow: visible !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
        text-overflow: unset !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Collapsed state - show more lines (8 lines) */
    .testimonial-content blockquote:not(.expanded) {
        display: -webkit-box !important;
        -webkit-line-clamp: 8 !important;
        line-clamp: 8 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    /* Expanded state - full text */
    .testimonial-content blockquote.expanded {
        display: block !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
        -webkit-box-orient: unset !important;
        overflow: visible !important;
        max-height: none !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Expanded card - allow height to grow */
    .testimonial-card:has(blockquote.expanded) {
        aspect-ratio: auto !important;
        max-height: none !important;
        height: auto !important;
    }

    /* Read More Button - Show on mobile */
    .read-more-container {
        display: block !important;
        margin-top: 0.5rem !important;
        text-align: center !important;
    }

    .read-more-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        background: rgba(168, 85, 247, 0.25) !important;
        border: 1.5px solid rgba(168, 85, 247, 0.5) !important;
        color: rgba(168, 85, 247, 1) !important;
        padding: 6px 14px !important;
        border-radius: 20px !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        text-transform: none !important;
        letter-spacing: 0.3px !important;
    }

    .read-more-btn:active {
        background: rgba(168, 85, 247, 0.35) !important;
        border-color: rgba(168, 85, 247, 0.7) !important;
        transform: scale(0.97) !important;
    }

    .read-more-btn svg {
        width: 12px !important;
        height: 12px !important;
        transition: transform 0.3s ease !important;
    }

    .read-more-btn.expanded svg {
        transform: rotate(180deg) !important;
    }

    /* Hide button for short testimonials */
    .read-more-btn.hidden {
        display: none !important;
    }

    /* Carousel arrows - compact */
    .carousel-arrow {
        width: 50px !important;
        height: 50px !important;
        background: rgba(168, 85, 247, 0.85) !important;
        border: 2px solid rgba(168, 85, 247, 1) !important;
        backdrop-filter: blur(15px) !important;
        box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4) !important;
    }

    .carousel-arrow:active {
        background: rgba(168, 85, 247, 1) !important;
        transform: translateY(-50%) scale(0.95) !important;
    }

    .carousel-arrow svg {
        width: 24px !important;
        height: 24px !important;
        stroke-width: 2.5 !important;
    }

    .carousel-arrow-left {
        left: 5px !important;
    }

    .carousel-arrow-right {
        right: 5px !important;
    }

    /* Hide dots */
    .carousel-dots {
        display: none !important;
    }

    /* Post review button */
    .post-review-container {
        margin-top: 1.5rem !important;
    }

    .post-review-button {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
    }
}

/* Small phones - even more compact */
@media (max-width: 480px) {
    .testimonials-carousel-container {
        padding: 0 55px !important;
    }

    .testimonial-card {
        min-height: 320px !important;
        max-height: none !important;
        height: auto !important;
        padding: 1.25rem 1rem !important;
        overflow: visible !important;
    }

    .testimonial-header {
        gap: 0.75rem !important;
        padding-bottom: 0.5rem !important;
    }

    .parent-avatar {
        width: 55px !important;
        height: 55px !important;
        min-width: 55px !important;
        border-width: 2px !important;
    }

    .testimonial-info .name {
        font-size: 1rem !important;
    }

    .testimonial-info .course {
        font-size: 0.8rem !important;
    }

    .star-rating .star {
        font-size: 13px !important;
    }

    .testimonial-content blockquote:not(.expanded) {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        -webkit-line-clamp: 10 !important;
        line-clamp: 10 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .testimonial-content blockquote.expanded {
        font-size: 0.9rem !important;
        line-height: 1.45 !important;
    }

    .read-more-btn {
        font-size: 0.75rem !important;
        padding: 5px 12px !important;
    }

    .read-more-btn svg {
        width: 11px !important;
        height: 11px !important;
    }

    .carousel-arrow {
        width: 45px !important;
        height: 45px !important;
    }

    .carousel-arrow svg {
        width: 22px !important;
        height: 22px !important;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .testimonials-carousel-container {
        padding: 0 50px !important;
    }

    .testimonial-card {
        min-height: 300px !important;
        max-height: none !important;
        height: auto !important;
        padding: 1rem 0.85rem !important;
        overflow: visible !important;
    }

    .parent-avatar {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
    }

    .testimonial-info .name {
        font-size: 0.95rem !important;
    }

    .testimonial-info .course {
        font-size: 0.75rem !important;
    }

    .star-rating .star {
        font-size: 12px !important;
    }

    .testimonial-content blockquote:not(.expanded) {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        -webkit-line-clamp: 8 !important;
        line-clamp: 8 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .testimonial-content blockquote.expanded {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .read-more-btn {
        font-size: 0.7rem !important;
        padding: 4px 10px !important;
    }

    .read-more-btn svg {
        width: 10px !important;
        height: 10px !important;
    }

    .carousel-arrow {
        width: 42px !important;
        height: 42px !important;
    }
}

/* ========================================
   DESKTOP - Keep normal layout
   ======================================== */

@media (min-width: 769px) {
    /* Desktop keeps its own styles */
}

/* ========================================
   TOUCH IMPROVEMENTS
   ======================================== */

@media (hover: none) and (pointer: coarse) {
    .carousel-arrow:active {
        transform: translateY(-50%) scale(0.92) !important;
        transition: transform 0.1s ease !important;
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    .testimonial-card,
    .carousel-arrow,
    .testimonials-track {
        animation: none !important;
        transition: none !important;
    }

    .carousel-arrow:active {
        transform: translateY(-50%) !important;
    }
}

/* ============================================================ */
/* ===== FROM: try-coding-enhanced.css ===== */
/* ============================================================ */

/* ====== TRY CODING SECTION - ENHANCED STYLING ====== */

/* Main Try Coding Section */
.try-coding-section {
    padding: 4rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

/* Try Coding Header */
.try-coding-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Try Coding Title - Make it BIGGER and more attractive */
.try-coding-title {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #a855f7 0%, #4ecdc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #a855f7;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Subtitle styling - only for try-coding section */
.try-coding-header .section-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem) !important;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Contact Container */
.try-coding-section .contact-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem;
}

/* Form Groups */
.try-coding-section .contact-form .form-group {
    margin-bottom: 1.5rem;
}

/* Input Fields - Make them bigger and clearer */
.try-coding-section .contact-form .input-field {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    font-family: inherit;
    box-sizing: border-box;
    color: inherit;
}

.try-coding-section .contact-form .input-field:focus {
    outline: none;
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
}

.try-coding-section .contact-form .input-field::placeholder {
    color: #94a3b8;
    font-size: 1rem;
}

/* Textarea specific */
.try-coding-section .contact-form textarea.input-field {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Submit Button - Make it more prominent */
.try-coding-section .contact-form .submit-button {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a855f7 0%, #4ecdc4 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.try-coding-section .contact-form .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.4);
}

.try-coding-section .contact-form .submit-button:active {
    transform: translateY(0);
}

/* Error Messages - Hide by default */
.try-coding-section .error-message {
    display: none;
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.try-coding-section .error-message:not(:empty) {
    display: block;
}

/* Form Feedback */
.try-coding-section .form-feedback {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.try-coding-section .form-feedback.success {
    background: #d1fae5;
    border: 2px solid #10b981;
    color: #065f46;
}

.try-coding-section .form-feedback.error {
    background: #fee2e2;
    border: 2px solid #ef4444;
    color: #991b1b;
}

.try-coding-section .feedback-message {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.try-coding-section .feedback-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.2s;
    margin-left: 1rem;
}

.try-coding-section .feedback-close:hover {
    opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ====== MOBILE RESPONSIVE STYLES ====== */

/* Tablets and smaller */
@media (max-width: 768px) {
    .try-coding-section {
        padding: 3rem 1.5rem;
        margin: 1.5rem 1rem;
    }

    .try-coding-title {
        font-size: clamp(2.2rem, 8vw, 3rem) !important;
        margin-bottom: 1.25rem !important;
    }

    .try-coding-header .section-subtitle {
        font-size: clamp(1rem, 3vw, 1.2rem) !important;
        padding: 0 1rem;
    }

    .try-coding-section .contact-container {
        padding: 2rem 1rem;
    }

    .try-coding-section .contact-form .input-field {
        padding: 1rem;
        font-size: 1.05rem;
    }

    .try-coding-section .contact-form .submit-button {
        padding: 1.15rem 1.75rem;
        font-size: 1.1rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .try-coding-section {
        padding: 2.5rem 1rem;
        margin: 1rem 0.5rem;
        border-radius: 16px;
    }

    .try-coding-header {
        margin-bottom: 2rem;
    }

    .try-coding-title {
        font-size: clamp(2rem, 10vw, 2.5rem) !important;
        margin-bottom: 1rem !important;
        padding: 0 0.5rem;
    }

    .try-coding-header .section-subtitle {
        font-size: clamp(0.95rem, 4vw, 1.1rem) !important;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    .try-coding-section .contact-container {
        padding: 1.75rem 1rem;
    }

    .try-coding-section .contact-form .form-group {
        margin-bottom: 1.25rem;
    }

    .try-coding-section .contact-form .input-field {
        padding: 0.95rem 1rem;
        font-size: 1rem;
        border-radius: 10px;
    }

    .try-coding-section .contact-form .input-field::placeholder {
        font-size: 0.95rem;
    }

    .try-coding-section .contact-form textarea.input-field {
        min-height: 110px;
    }

    .try-coding-section .contact-form .submit-button {
        padding: 1.1rem 1.5rem;
        font-size: 1.05rem;
        border-radius: 10px;
    }

    .try-coding-section .feedback-message {
        font-size: 1rem;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .try-coding-section {
        padding: 2rem 0.75rem;
    }

    .try-coding-title {
        font-size: 1.85rem !important;
    }

    .try-coding-header .section-subtitle {
        font-size: 0.9rem !important;
    }

    .try-coding-section .contact-container {
        padding: 1.5rem 1rem;
    }

    .try-coding-section .contact-form .input-field {
        padding: 0.85rem 0.9rem;
        font-size: 0.95rem;
    }

    .try-coding-section .contact-form .submit-button {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
}

/* Landscape mode on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .try-coding-section {
        padding: 2rem 1.5rem;
    }

    .try-coding-title {
        font-size: 2rem !important;
        margin-bottom: 0.75rem !important;
    }

    .try-coding-header .section-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1rem;
    }

    .try-coding-section .contact-container {
        padding: 1.5rem;
    }

    .try-coding-section .contact-form .form-group {
        margin-bottom: 1rem;
    }

    .try-coding-section .contact-form .input-field {
        padding: 0.75rem 1rem;
    }

    .try-coding-section .contact-form textarea.input-field {
        min-height: 80px;
    }

    .try-coding-section .contact-form .submit-button {
        padding: 0.9rem 1.5rem;
    }
}


/* ============================================================ */
/* ===== FROM: why-learn-section.css ===== */
/* ============================================================ */

/* ====== WHY LEARN SECTION - ULTIMATE DESIGN ====== */

.why-learn-ultimate {
    padding: 8rem 2rem;
    margin: 0;
    position: relative;
    overflow: hidden;
    background: #0a0a0f;
}

/* Animated gradient background */
.why-learn-ultimate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(78, 205, 196, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.03) 0%, transparent 70%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Container */
.why-learn-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Quote Section */
.why-learn-quote {
    text-align: center;
    margin-bottom: 6rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.why-learn-quote blockquote {
    font-size: 1.875rem;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 950px;
    position: relative;
    padding: 0 4rem;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 20px rgba(168, 85, 247, 0.3);
}

.quote-mark {
    font-size: 5rem;
    color: #a855f7;
    opacity: 0.25;
    font-family: Georgia, serif;
    line-height: 0;
    position: absolute;
}

.quote-mark.left {
    left: 0;
    top: 0;
}

.quote-mark.right {
    right: 0;
    bottom: -1rem;
}

.quote-author {
    color: #4ecdc4;
    font-size: 1rem;
    margin-top: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Title Section */
.why-learn-header {
    text-align: center;
    margin-bottom: 6rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.why-learn-title {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.2;
}

.title-accent {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #a855f7, #4ecdc4, transparent);
    margin: 0 auto 2.5rem;
    border-radius: 2px;
}

.why-learn-subtitle {
    color: #94a3b8;
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

/* Reasons Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.reason-card {
    background: rgba(255, 255, 255, 0.01);
    padding: 3.5rem 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.reason-card:hover::before {
    opacity: 1;
}

.reason-card:hover {
    transform: translateY(-12px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.15);
}

.reason-card:nth-child(1) {
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.reason-card:nth-child(2) {
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.reason-card:nth-child(3) {
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.reason-card:nth-child(4) {
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.reason-card:nth-child(5) {
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

.reason-card:nth-child(6) {
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.reason-card.purple {
    border-left: 3px solid #a855f7;
}

.reason-card.teal {
    border-left: 3px solid #4ecdc4;
}

.card-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(168, 85, 247, 0.05);
    line-height: 1;
}

.card-accent {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #4ecdc4);
    margin-bottom: 2rem;
    border-radius: 2px;
}

.reason-title {
    color: #ffffff;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    position: relative;
}

.reason-description {
    color: #94a3b8;
    line-height: 1.9;
    font-size: 1.05rem;
    font-weight: 300;
}

/* Additional Quotes */
.additional-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.quote-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem;
    border-radius: 12px;
    border-left: 4px solid #a855f7;
    position: relative;
    transition: all 0.4s ease;
}

.quote-card:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.03);
}

.quote-card:nth-child(2) {
    border-left-color: #4ecdc4;
}

.quote-text {
    color: #e2e8f0;
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.quote-name {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* CTA Section */
.why-learn-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(78, 205, 196, 0.08) 100%);
    padding: 5rem 4rem;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.why-learn-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-title {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.cta-description {
    color: #94a3b8;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button.primary {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
}

.cta-button.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #a855f7;
    border: 2px solid #a855f7;
}

.cta-button.secondary:hover {
    background: rgba(168, 85, 247, 0.1);
    transform: translateY(-4px);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .reasons-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .additional-quotes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .why-learn-ultimate {
        padding: 5rem 1.5rem;
    }

    .why-learn-title {
        font-size: 2.25rem;
    }

    .why-learn-quote blockquote {
        font-size: 1.25rem;
        padding: 0 2rem;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reason-card {
        padding: 2.5rem 2rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .why-learn-title {
        font-size: 1.875rem;
    }

    .why-learn-quote blockquote {
        font-size: 1.125rem;
        padding: 0 1.5rem;
    }

    .reason-card {
        padding: 2rem 1.5rem;
    }

    .reason-title {
        font-size: 1.5rem;
    }
}