/* Reset and Base Styles */
:root {
    /* Main Colors */
    --color-black: #0A0909;
    --color-dark-black: #0d0d0c;
    --color-orange: rgba(255, 255, 255, 0.1);
    --color-grey: #434443;
    --color-light-grey: #848484;
    --color-white: #ffffff;
    --color-off-white: #f5f5f5;
    --color-brown: #ba8f6f;

    /* Gradient Colors */
    --gradient-dark: linear-gradient(to bottom, #0A0909, #131313);
    --gradient-button: linear-gradient(to right, #FF7700, #e65d14);

    /* Font Family */
    --font-primary: 'Poppins', sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;

    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-white);
    background: var(--gradient-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    text-decoration: none; /* Remove underline from links */
}

.btn span {
    margin-left: var(--spacing-xs);
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
    border: 1px solid var(--color-orange);
}

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

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.enroll-btn {
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

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

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.price-duration {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .service-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
    
    .enroll-btn {
        width: 100%;
        text-align: center;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(10, 9, 9, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md) 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 34px;
}

.main-nav {
    display: none;
}

.main-nav ul {
    display: flex;
    gap: var(--spacing-xl);
}

.main-nav a {
    font-size: 0.875rem;
    transition: all var(--transition-normal);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    font-weight: 500;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-white);
    opacity: 0;
    transition: all var(--transition-normal);
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
    opacity: 0.25;
}

.header-buttons {
    display: none;
    align-items: center;
    gap: var(--spacing-md);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background-image: url('https://ext.same-assets.com/527631429/1930455939.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Ensures full screen height */
    text-align: center;
}


.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 9, 9, 0.8), rgba(10, 9, 9, 0.95));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.03em;
}

.text-faded {
    color: rgba(255, 255, 255, 0.5);
}

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

.hero-description {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

/* Features Section */
.services {
    padding: var(--spacing-xxl) 0;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.service-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: #fff;
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.service-features {
    margin-bottom: var(--spacing-xl);
    flex-grow: 1;
}

.feature-main-item {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
}

.feature-sublist {
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.feature-sublist li {
    color: rgba(255, 255, 255, 0.8);
    list-style-type: "• ";
    padding-left: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.feature-sublist li::marker {
    color: #fff;
    font-size: 1.2em;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-top: auto;
    padding-top: var(--spacing-lg);
    text-align: center;
}

.price-amount {
    display: block;
}

.price-duration {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: var(--spacing-xs);
}

/* Trading Data Section */
.trading-data {
    padding: var(--spacing-xxl) 0;
    background-color: rgba(10, 9, 9, 0.5);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xxl);
    color: rgba(255, 255, 255, 0.7);
}

.kpi-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.kpi-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 200px;   /* makes it vertically tall */
    max-width: 19000px;    /* makes it horizontally slim */
}

.kpi-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
}

.kpi-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-orange);
    margin-bottom: var(--spacing-md);
}

.kpi-description {
    color: rgba(255, 255, 255, 0.7);
}

/* Services Section */
.services {
    padding: var(--spacing-xxl) 0;
}

.service-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.service-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xl);
}

.service-features {
    margin-bottom: var(--spacing-xl);
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-orange);
}

.service-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-price span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.service-price small {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-xxl) 0;
    background-color: rgba(10, 9, 9, 0.5);
    overflow: hidden;
    position: relative;
}

.testimonial-slider {
    display: flex;
    gap: var(--spacing-xl);
    width: 300%;
    animation: slide 30s linear infinite;
}

.testimonial-slide {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    position: relative;
}

.testimonial-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 30px;
    height: 30px;
    background-color: var(--color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-66.666%); } /* Move by two slides */
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

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

.author-name {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-quote {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.cta-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xl);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 500px;
    margin: 0 auto;
}

.cta-form input {
    padding: 1rem;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
}

.cta-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-form button {
    padding: 1rem;
}

/* Footer */
.footer {
    padding: var(--spacing-xl) 0;
    background-color: #161616;
    margin-top: auto;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
}

.footer-logo img {
    height: 34px;
    margin-bottom: var(--spacing-lg);
}

.footer-address {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.uk-flag {
    height: 12px;
}

.footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: var(--spacing-xl);
}

.footer-disclaimer p {
    margin-bottom: var(--spacing-md);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    transition: all var(--transition-normal);
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Additional styles for About Us page */

/* About Hero Section */
.about-hero {
    padding: 8rem 0 4rem;
    position: relative;
    text-align: center;
    background-color: var(--color-black);
    overflow: hidden;
}

.about-hero:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 119, 0, 0) 0%, rgba(255, 119, 0, 0.8) 50%, rgba(255, 119, 0, 0) 100%);
    box-shadow: 0 0 20px 2px rgba(255, 119, 0, 0.5);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.03em;
}

.about-hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* Team Section */
.team {
    padding: 4rem 0;
    background-color: #000;
}

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

.team-member {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-member-header {
    margin-bottom: 2rem;
}

.team-member-name {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.team-member-position {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.team-member-photo {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 8px;
}

.team-member-bio {
    margin-bottom: 2rem;
}

.team-member-bio p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1rem;
}

.team-member-social {
    display: flex;
    gap: 1rem;
    align-items: center; /* Added to fix vertical alignment */
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icon img {
    width: 20px;
    height: 20px;
    vertical-align: middle; /* Ensures perfect centering */
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .team-member-photo {
        height: 300px;
    }
}

@media (min-width: 1024px) {
    .team {
        padding: 6rem 0;
    }
    
    .team-grid {
        gap: 3rem;
    }
}

/* Contact Us Page Styles */
.contact-page {
    padding: 10rem 0 5rem;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center content horizontally */
    background-color: #111; /* Dark background for the page */
}

.contact-container {
    display: flex;
    justify-content: center;
    width: 100%; /* Ensure container stretches across full width */
}

.contact-form-container {
    width: 100%;
    max-width: 700px;
    padding: 2rem; /* Add padding around form */
    background-color: rgba(255, 255, 255, 0.03); /* Semi-transparent dark background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Optional: box shadow for form */
    border-radius: 8px; /* Optional: rounded corners */
}

.contact-form input,
.contact-form textarea {
    width: 100%; /* Ensure form elements take full width */
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Dark border */
    border-radius: 4px;
    font-size: 1rem;
    background-color: #333; /* Dark background for form elements */
    color: #fff; /* White text */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7); /* Light placeholder text */
}

.contact-form button {
    padding: 1rem 2rem;
    background-color: #222; /* Dark button background */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #444; /* Darker shade for button on hover */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .contact-page {
        padding: 5rem 1rem; /* Adjust padding on small screens */
    }

    .contact-form-container {
        padding: 1rem; /* Reduce padding on small screens */
    }

    .contact-form button {
        width: 100%; /* Ensure button takes full width on small screens */
    }
}

/* Media Queries */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .feature-cards,
    .kpi-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-form {
        flex-direction: row;
    }

    .cta-form input {
        flex: 1;
    }

    .footer-top {
        flex-direction: row;
    }

    .footer-logo img {
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .main-nav {
        display: block;
    }

    .header-buttons {
        display: flex;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .hero {
        padding: 12rem 0 6rem;
    }

    .kpi-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Additional styles for Courses page */
.courses-hero {
    padding: 8rem 0 4rem;
    background-color: #000000; /* Replaced var(--color-black) with hex value */
}

.courses-hero-content {
    max-width: 800px;
}

.courses-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem; /* Replaced var(--spacing-md) with fixed value */
    background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, #565656 30%, #565656 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

.courses-hero-description {
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    line-height: 1.7;
}

.courses-list {
    padding: 3rem 0; /* Replaced var(--spacing-xxl) with fixed value */
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem; /* Replaced var(--spacing-xxl) with fixed value */
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px; /* Replaced var(--border-radius-lg) with fixed value */
    overflow: hidden;
    transition: all 0.3s ease; /* Replaced var(--transition-normal) with fixed value */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.course-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem; /* Replaced var(--spacing-md) with fixed value */
}

.course-card-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Replaced var(--spacing-xs) with fixed value */
}

.course-card-brand img {
    width: 24px;
    height: auto;
}

.course-card-brand span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.course-card-content {
    padding: 1.5rem; /* Replaced var(--spacing-xl) with fixed value */
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem; /* Replaced var(--spacing-md) with fixed value */
    color: rgba(255, 255, 255, 0.9);
}

.course-card-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem; /* Replaced var(--spacing-xl) with fixed value */
    flex: 1;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1); /* Fixed incorrect #rgba syntax */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Darkened hover state for better visibility */
    transform: translateY(-2px);
}

.promo-code {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

/* Media Queries for Courses page */
@media (min-width: 768px) {
    .courses-hero-title {
        font-size: 3.5rem;
    }

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

@media (min-width: 1024px) {
    .courses-grid {
        gap: 3rem; /* Replaced var(--spacing-xxl) with fixed value */
    }
}

/* Mobile Menu Styles */
@media (max-width: 1023px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 9, 9, 0.98);
        backdrop-filter: blur(10px);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 99;
        overflow-y: auto;
        padding: 2rem;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.2rem;
        color: white;
        padding: 0.75rem 1rem;
        display: block;
        border-radius: 4px;
        transition: background-color 0.3s;
    }

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* Hamburger icon styles */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 100;
        padding: 0;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: white;
        transition: all 0.3s ease;
        transform-origin: left center;
    }

    /* Hamburger animation */
    .mobile-menu-toggle.active .line-1 {
        transform: rotate(45deg) translateY(-2px);
    }

    .mobile-menu-toggle.active .line-2 {
        opacity: 0;
    }

    .mobile-menu-toggle.active .line-3 {
        transform: rotate(-45deg) translateY(2px);
    }

    /* Prevent scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

