    :root {
        /* Define CSS variables for easier color management */
        --primary-gold: #FFD700; /* Bright gold */
        --primary-gold-hover: #E0B500; /* Slightly darker gold for hover states */
        --dark-royal-purple: #4B0082; /* Deep royal purple */
        --dark-royal-purple-hover: #3A0066; /* Darker royal purple for hover */
        --light-purple-accent: #9370DB; /* Medium purple accent for lighter elements */
        --light-purple-accent-hover: #8A2BE2; /* Slightly darker light purple for hover */

        --black: #000000;
        --dark-gray-bg: #1A1A1A; /* Dark background */
        --light-text: #E0E0E0; /* Light text for dark backgrounds */
        --medium-text: #B0B0B0; /* Medium light text */
        --dark-border: #333333; /* Darker border */
        --darker-gray-track: #282828; /* Darker scrollbar track */
        --accent-glow-gold: #FFECB3; /* Lighter gold for glow effects */
        --star-gold: #FFD700; /* Keeping original gold for stars as it fits */
    }

    body {
        font-family: 'Inter', sans-serif;
        background-color: var(--dark-gray-bg); /* Use new variable */
        overflow-x: hidden;
        color: var(--light-text); /* Default text color for body */
    }

    /* Golden Black with Dark Royal Purple Palette */
    .bg-primary-red {
        background-color: var(--dark-royal-purple); /* Changed to dark royal purple */
    }

    .text-primary-red {
        color: var(--primary-gold); /* Changed to primary gold */
    }

    .bg-secondary-white {
        background-color: var(--black); /* Changed to black */
    }

    .text-secondary-white {
        color: var(--light-text); /* Changed to light text */
    }

    .text-dark-gray {
        color: var(--light-text); /* Adjust for dark background */
    }

    .text-medium-gray {
        color: var(--medium-text); /* Adjust for dark background */
    }

    .border-light-gray {
        border-color: var(--dark-border); /* Changed to dark border */
    }

    /* --- Loading Overlay Styles --- */
    #loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--dark-royal-purple); /* Changed to dark royal purple */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
    }

    #loading-overlay.hidden {
        opacity: 0;
        visibility: hidden;
    }

    /* Loading Spinner */
    .spinner {
        border: 8px solid rgba(255, 215, 0, 0.3); /* Gold with transparency */
        border-top: 8px solid var(--primary-gold); /* Changed to primary gold */
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }

    /* --- Enhanced Animations --- */
    .fade-in-up {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInSlideUp 0.8s ease-out forwards;
        animation-delay: var(--delay, 0s);
    }

    @keyframes fadeInSlideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .scale-in {
        opacity: 0;
        transform: scale(0.8);
        animation: scaleIn 0.6s ease-out forwards;
        animation-delay: var(--delay, 0s);
    }

    @keyframes scaleIn {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .card-entry-animation {
        opacity: 0;
        transform: translateY(50px);
        animation: cardFadeInUp 1s ease-out forwards;
        animation-delay: var(--delay, 0s);
    }

    @keyframes cardFadeInUp {
        from {
            opacity: 0;
            transform: translateY(50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .pulse-animation {
        animation: pulse 2s infinite ease-in-out;
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
            opacity: 1;
        }
        50% {
            transform: scale(1.05);
            opacity: 0.9;
        }
        100% {
            transform: scale(1);
            opacity: 1;
        }
    }

    .text-glow {
        text-shadow: 0 0 8px rgba(255, 215, 0, 0.8), /* Gold glow */
            0 0 15px rgba(255, 215, 0, 0.6),
            0 0 20px rgba(255, 215, 0, 0.4);
    }

    /* --- Classroom Background Image (subtle effect) --- */
    #classroom-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png'); /* Changed to a darker, more fitting texture */
        background-size: 200px 200px;
        background-position: center;
        opacity: 0.05;
        z-index: -2;
    }

    /* --- Custom scrollbar --- */
    body::-webkit-scrollbar {
        width: 10px;
    }

    body::-webkit-scrollbar-track {
        background: var(--darker-gray-track); /* Changed to darker gray track */
        border-radius: 10px;
    }

    body::-webkit-scrollbar-thumb {
        background-color: var(--primary-gold); /* Changed to primary gold */
        border-radius: 10px;
        border: 2px solid var(--darker-gray-track); /* Changed to darker gray track */
    }

    body::-webkit-scrollbar-thumb:hover {
        background-color: var(--primary-gold-hover); /* Changed to primary gold hover */
    }

    /* --- General Layout & Components --- */
    .hero-section {
        background-image: none;
        background-color: var(--dark-royal-purple); /* Changed to dark royal purple */
        height: 600px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        color: var(--light-text); /* Changed to light text */
        position: relative;
        z-index: 10;
        overflow: hidden;
    }

    /* New Canvas for Hero Background */
    #hero-physics-bg-canvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.4); /* Darker overlay */
        z-index: 1;
    }

    .hero-content {
        z-index: 10;
        padding-left: 10%;
        max-width: 800px;
    }

    .feature-card {
        background-color: var(--black); /* Changed to black */
        border-radius: 12px;
        padding: 2.5rem;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Darker shadow */
        text-align: center;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        position: relative;
        overflow: hidden;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); /* Darker shadow */
    }

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(75, 0, 130, 0.1); /* Dark royal purple with transparency */
        transform: scale(0);
        border-radius: 12px;
        transition: transform 0.3s ease-in-out;
        z-index: 0;
    }

    .feature-card:hover::before {
        transform: scale(1);
    }

    .feature-card > * {
        position: relative;
        z-index: 1;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--light-purple-accent); /* Changed to light purple accent */
        border-radius: 50%;
        transition: background-color 0.3s ease-in-out;
    }

    .feature-card:hover .feature-icon {
        background-color: var(--light-purple-accent-hover); /* Changed to light purple accent hover */
    }

    .feature-icon svg {
        color: var(--primary-gold); /* Changed to primary gold */
        width: 60%;
        height: 60%;
    }

    /* Topic Button Style */
    .topic-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: var(--black); /* Changed to black */
        border: 2px solid var(--primary-gold); /* Changed to primary gold */
        color: var(--light-text); /* Changed to light text */
        padding: 1rem 2.5rem;
        border-radius: 8px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
        margin: 0.75rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Darker shadow */
        min-width: 180px;
        text-align: center;
    }

    .topic-button:hover {
        background-color: var(--primary-gold); /* Changed to primary gold */
        color: var(--dark-gray-bg); /* Text color for gold background */
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3); /* Gold shadow */
        border-color: var(--primary-gold-hover); /* Changed to primary gold hover */
    }

    .course-card {
        background-color: var(--black); /* Changed to black */
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Darker shadow */
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        position: relative;
    }

    .course-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Darker shadow */
    }

    .sale-off-badge {
        background-color: var(--primary-gold); /* Changed to primary gold */
        color: var(--dark-gray-bg); /* Text color for gold background */
        padding: 6px 12px;
        border-top-left-radius: 12px;
        border-bottom-right-radius: 12px;
        font-size: 0.8rem;
        font-weight: bold;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
    }

    .course-card img {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .course-card .price-old {
        color: #666666; /* Adjust for dark background */
    }

    .course-card .price-new {
        color: var(--primary-gold); /* Changed to primary gold */
        font-size: 1.5rem;
    }

    .course-card .monthly-payment {
        color: var(--medium-text); /* Changed to medium text */
        font-size: 0.85rem;
    }

    .course-card .star-rating {
        color: var(--star-gold); /* Keeping original gold for stars */
    }

    /* --- Navigation Bar Adjustments --- */
    nav {
        border-bottom: 1px solid var(--dark-border); /* Changed to dark border */
        background-color: var(--black); /* Dark nav bar */
        color: var(--light-text);
    }

    nav .text-gray-800 {
        color: var(--light-text); /* Changed to light text */
    }

    nav .text-gray-600 {
        color: var(--medium-text); /* Changed to medium text */
    }

    nav a:hover {
        color: var(--primary-gold); /* Changed to primary gold */
        transform: translateY(-2px);
    }

    nav button.border-primary-red {
        border-color: var(--primary-gold); /* Changed to primary gold */
        color: var(--primary-gold); /* Changed to primary gold */
    }

    nav button.border-primary-red:hover {
        background-color: var(--dark-royal-purple); /* Changed to dark royal purple */
        color: var(--light-text); /* Adjust text color on hover */
    }

    nav button.bg-primary-red {
        background-color: var(--primary-gold); /* Changed to primary gold */
    }

    nav button.bg-primary-red:hover {
        background-color: var(--primary-gold-hover); /* Changed to primary gold hover */
    }

    nav .fa-shopping-cart:hover {
        transform: scale(1.1);
        color: var(--primary-gold); /* Changed to primary gold */
    }

    /* --- Section Headings --- */
    h2,
    h3 {
        color: var(--primary-gold); /* Changed to primary gold for headings */
    }

    .underline-yellow {
        background-color: var(--dark-royal-purple); /* Changed to dark royal purple */
    }

    .underline-blue {
        background-color: var(--primary-gold); /* Changed to primary gold */
    }

    /* --- Statistics Section Styles --- */
    .stats-card {
        background-color: var(--black); /* Changed to black */
        border-radius: 12px;
        padding: 2.5rem;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Darker shadow */
        text-align: center;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    }

    .stats-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); /* Darker shadow */
    }

    .stats-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--light-purple-accent); /* Changed to light purple accent */
        border-radius: 50%;
    }

    .stats-icon svg {
        color: var(--primary-gold); /* Changed to primary gold */
        width: 50%;
        height: 50%;
    }

    .stats-number {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--primary-gold); /* Changed to primary gold */
        line-height: 1;
        display: inline-block;
        min-width: 50px;
    }

    .stats-label {
        font-size: 1rem;
        color: var(--medium-text); /* Changed to medium text */
        margin-top: 0.5rem;
    }

    /* --- Testimonial Section Styles --- */
    .testimonial-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        padding: 2rem;
        background-color: #0A0A0A; /* Very dark background */
        background-image: url('https://www.transparenttextures.com/patterns/dark-mosaic.png'); /* Changed to a darker texture */
        background-size: 100px 100px;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Darker shadow */
    }

    .testimonial-card {
        background-color: var(--black); /* Changed to black */
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Darker shadow */
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .testimonial-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); /* Darker shadow */
    }

    .testimonial-quote {
        font-size: 1.1rem;
        color: var(--light-text); /* Changed to light text */
        line-height: 1.6;
        margin-bottom: 1.5rem;
        font-style: italic;
        position: relative;
        padding-left: 20px;
    }

    .testimonial-quote::before {
        content: "\201C";
        font-family: serif;
        font-size: 4em;
        color: var(--primary-gold); /* Changed to primary gold */
        position: absolute;
        left: -10px;
        top: -20px;
        opacity: 0.2;
        z-index: 0;
    }

    .testimonial-author {
        display: flex;
        align-items: center;
        margin-top: 1.5rem;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 1rem;
        border: 3px solid var(--primary-gold); /* Changed to primary gold */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .author-name {
        font-weight: 700;
        color: var(--light-text); /* Changed to light text */
    }

    .author-title {
        font-size: 0.95rem;
        color: var(--medium-text); /* Changed to medium text */
    }

    /* --- FAQ Section Styles --- */
    .faq-item {
        background-color: var(--black); /* Changed to black */
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Darker shadow */
        margin-bottom: 1rem;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
    }

    .faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 2rem;
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--light-text); /* Changed to light text */
        cursor: pointer;
        background-color: var(--black); /* Changed to black */
        border-bottom: 1px solid var(--dark-border); /* Changed to dark border */
        transition: background-color 0.3s ease-in-out;
    }

    .faq-question:hover {
        background-color: var(--dark-royal-purple-hover); /* Changed to dark royal purple hover */
        color: var(--primary-gold); /* Changed to primary gold */
    }

    .faq-question.active {
        background-color: var(--dark-royal-purple); /* Changed to dark royal purple */
        color: var(--primary-gold); /* Changed to primary gold */
        border-bottom-color: var(--dark-royal-purple); /* Changed to dark royal purple */
    }

    .faq-question .icon {
        transition: transform 0.3s ease-in-out;
    }

    .faq-question.active .icon {
        transform: rotate(180deg);
    }

    .faq-answer {
        padding: 0 2rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
        color: var(--medium-text); /* Changed to medium text */
        line-height: 1.6;
    }

    .faq-answer.open {
        max-height: 200px; /* Adjust as needed based on content */
        padding: 1.5rem 2rem;
    }

    /* FAQ Illustration */
    .faq-illustration {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        /* --- ADD THIS LINE TO MAKE IT GOLDEN --- */
        background-color: var(--primary-gold); /* This will make it golden */
        /* You might also want to set text color for contrast if there's text inside */
        color: var(--dark-gray-bg); /* For text inside, assuming dark text on gold */
        display: flex; /* To center text if any */
        align-items: center; /* To center text if any */
        justify-content: center; /* To center text if any */
        height: 200px; /* Example height, adjust as needed */
        border-radius: 12px; /* Add border-radius for consistency */
    }

    /* --- Mobile Navigation Specific Styles --- */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9); /* Darker overlay */
        z-index: 999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100%;
        background-color: var(--black); /* Changed to black */
        box-shadow: -6px 0 20px rgba(0, 0, 0, 0.5); /* Darker shadow */
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-menu.open {
        right: 0;
    }

    .mobile-menu-close {
        align-self: flex-end;
        font-size: 2rem;
        color: var(--light-text); /* Changed to light text */
        cursor: pointer;
        margin-bottom: 1.5rem;
        transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
    }

    .mobile-menu-close:hover {
        color: var(--primary-gold); /* Changed to primary gold */
        transform: rotate(90deg);
    }

    .mobile-nav-link,
    .mobile-nav-button {
        display: block;
        width: 100%;
        padding: 0.8rem 1rem;
        text-align: left;
        font-size: 1.1rem;
        color: var(--light-text); /* Changed to light text */
        text-decoration: none;
        transition: background-color 0.2s, color 0.2s, transform 0.2s;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .mobile-nav-link:hover,
    .mobile-nav-button:hover {
        background-color: var(--dark-royal-purple); /* Changed to dark royal purple */
        color: var(--primary-gold); /* Changed to primary gold */
        transform: translateX(5px);
    }

    .mobile-nav-button.login {
        border: 1px solid var(--primary-gold); /* Changed to primary gold */
        color: var(--primary-gold); /* Changed to primary gold */
        background-color: transparent;
        margin-top: 1rem;
        text-align: center;
    }

    .mobile-nav-button.login:hover {
        background-color: var(--dark-royal-purple); /* Changed to dark royal purple */
    }

    .mobile-nav-button.signup {
        background-color: var(--primary-gold); /* Changed to primary gold */
        color: var(--dark-gray-bg); /* Text color for gold background */
        margin-top: 0.5rem;
        text-align: center;
    }

    .mobile-nav-button.signup:hover {
        background-color: var(--primary-gold-hover); /* Changed to primary gold hover */
    }

    /* --- Affiliations Carousel Styles (Updated) --- */
    .affiliations-carousel-container {
        overflow: hidden;
        width: 100%;
        position: relative;
        padding: 3rem 0;
        background-color: #0A0A0A; /* Very dark background */
        background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png'); /* Changed to darker texture */
        background-size: 200px 200px;
        opacity: 0.85;
        box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.2), inset 0 -5px 15px rgba(0, 0, 0, 0.2); /* Darker shadow */
    }

    .affiliations-carousel {
        display: flex;
        animation: scroll-left 40s linear infinite;
        white-space: nowrap;
        will-change: transform;
    }

    .affiliations-carousel-item {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 250px;
        height: 120px;
        margin: 0 2.5rem;
        opacity: 0.7;
        transition: opacity 0.3s ease-in-out, filter 0.3s ease-in-out, border-color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        border: 3px solid transparent;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Darker shadow */
        background-color: var(--black); /* Changed to black */
    }

    .affiliations-carousel-item:hover {
        opacity: 1;
        border-color: var(--primary-gold); /* Changed to primary gold */
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3); /* Gold shadow */
    }

    .affiliations-carousel-item img {
        max-width: 80%;
        max-height: 80%;
        filter: grayscale(80%);
        transition: filter 0.3s ease-in-out;
    }

    .affiliations-carousel-item:hover img {
        filter: grayscale(0%);
    }

    @keyframes scroll-left {
        0% {
            transform: translateX(0%);
        }
        100% {
            transform: translateX(-100%);
        }
    }

    /* To duplicate items for seamless loop */
    .affiliations-carousel.duplicated {
        animation: scroll-left 40s linear infinite;
    }

    /* Pause animation on hover */
    .affiliations-carousel-container:hover .affiliations-carousel {
        animation-play-state: paused;
    }

    /* Responsive adjustments for carousel */
    @media (max-width: 768px) {
        .affiliations-carousel-item {
            width: 180px;
            height: 100px;
            margin: 0 1.5rem;
        }
        .affiliations-carousel {
            animation-duration: 25s;
        }
    }

    /* --- Course Section Styles (New Design) --- */
    .course-tabs {
        display: flex;
        justify-content: center;
        margin-bottom: 3rem;
        background-color: var(--darker-gray-track); /* Changed to darker gray track */
        border-radius: 10px;
        padding: 0.5rem;
        box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1); /* Darker shadow */
    }

    .course-tab-button {
        padding: 0.8rem 2rem;
        font-weight: 600;
        color: var(--medium-text); /* Changed to medium text */
        background-color: transparent;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        flex-grow: 1;
        text-align: center;
    }

    .course-tab-button.active {
        background-color: var(--dark-royal-purple); /* Changed to dark royal purple */
        color: var(--primary-gold); /* Changed to primary gold */
        box-shadow: 0 3px 10px rgba(75, 0, 130, 0.2); /* Dark royal purple shadow */
    }

    .course-tab-button:hover:not(.active) {
        color: var(--primary-gold); /* Changed to primary gold */
        background-color: var(--light-purple-accent); /* Changed to light purple accent */
    }

    .course-content-wrapper {
        position: relative;
        overflow: hidden;
        padding-bottom: 2rem;
    }

    .course-grid {
        display: flex;
        transition: transform 0.5s ease-in-out;
        gap: 2rem;
    }

    .course-card-new {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        background-color: var(--black); /* Changed to black */
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2); /* Darker shadow */
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, opacity 0.5s ease-in-out;
        position: relative;
        display: flex;
        flex-direction: column;
        opacity: 0;
        transform: translateY(20px);
    }

    .course-card-new.visible {
        opacity: 1;
        transform: translateY(0);
    }

    @media (max-width: 1024px) {
        .course-card-new {
            flex: 0 0 50%;
            max-width: 50%;
        }
    }

    @media (max-width: 768px) {
        .course-card-new {
            flex: 0 0 100%;
            max-width: 100%;
        }
    }

    .course-card-new:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3); /* Darker shadow */
    }

    .course-card-new img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .course-card-new-content {
        padding: 1.5rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .course-card-new-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--primary-gold); /* Changed to primary gold for titles */
        margin-bottom: 0.5rem;
    }

    .course-card-new-description {
        font-size: 0.95rem;
        color: var(--medium-text); /* Changed to medium text */
        margin-bottom: 1rem;
    }

    .course-card-new-price {
        font-size: 1.6rem;
        font-weight: 700;
        color: var(--primary-gold); /* Changed to primary gold */
        margin-top: auto;
    }

    .course-card-new-button {
        background-color: var(--primary-gold); /* Changed to primary gold */
        color: var(--dark-gray-bg); /* Text color for gold background */
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-weight: 600;
        text-align: center;
        transition: background-color 0.3s ease-in-out;
        margin-top: 1rem;
        display: block;
    }

    .course-card-new-button:hover {
        background-color: var(--primary-gold-hover); /* Changed to primary gold hover */
    }

    .carousel-navigation {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
        gap: 1rem;
    }

    .carousel-button {
        background-color: var(--dark-royal-purple); /* Changed to dark royal purple */
        color: var(--primary-gold); /* Changed to primary gold */
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        cursor: pointer;
        transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4); /* Darker shadow */
    }

    .carousel-button:hover {
        background-color: var(--dark-royal-purple-hover); /* Changed to dark royal purple hover */
        transform: scale(1.05);
    }

    .carousel-button:disabled {
        background-color: #333333; /* Darker disabled color */
        color: #999999;
        cursor: not-allowed;
        box-shadow: none;
    }
