/* Reset and Base Styles */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* Theme Variables */
:root {
    /* Day Theme (Default) */
    --primary-color: #ffffff;
    --secondary-color: #4A6FFF;
    --accent-color: #8a2be2;
    --text-color: #333333;
    --text-secondary: #666666;
    --dark-bg: #f8f9fa;
    --card-bg: #ffffff;
    --gradient: linear-gradient(135deg, #4A6FFF, #8A2BE2);
    --navbar-bg: #ffffff;
    --navbar-text: #333333;
    --mobile-menu-text: #2c3e50;
    --navbar-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-color: #e0e0e0;
    --hover-bg: #f5f5f5;
    --input-bg: #ffffff;
    --input-border: #ddd;
    --sidebar-bg: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --sidebar-text: #495057;
    --sidebar-border: rgba(0, 0, 0, 0.1);
    --section-separator: #e8ecf0;
    --section-primary: #ffffff;
    --section-secondary: #f8f9fa;
}

/* Day Theme Class */
.day-theme {
    --primary-color: #ffffff;
    --secondary-color: #4A6FFF;
    --accent-color: #8a2be2;
    --text-color: #333333;
    --text-secondary: #666666;
    --dark-bg: #f8f9fa;
    --card-bg: #ffffff;
    --gradient: linear-gradient(135deg, #4A6FFF, #8A2BE2);
    --navbar-bg: #ffffff;
    --navbar-text: #333333;
    --mobile-menu-text: #2c3e50;
    --navbar-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-color: #e0e0e0;
    --hover-bg: #f5f5f5;
    --input-bg: #ffffff;
    --input-border: #ddd;
    --sidebar-bg: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --sidebar-text: #495057;
    --sidebar-border: rgba(0, 0, 0, 0.1);
    --section-separator: #e8ecf0;
    --section-primary: #ffffff;
    --section-secondary: #f8f9fa;
}

/* Night Theme Class */
.night-theme {
    --primary-color: #000000;
    --secondary-color: #4A6FFF;
    --accent-color: #8a2be2;
    --text-color: #FFFFFF;
    --text-secondary: #e8e8ff;
    --dark-bg: #0F0F17;
    --card-bg: #13071f;
    --gradient: linear-gradient(135deg, #4A6FFF, #8A2BE2);
    --navbar-bg: #000000;
    --navbar-text: #FFFFFF;
    --mobile-menu-text: #FFFFFF;
    --navbar-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    --border-color: #333333;
    --hover-bg: #1a1a1a;
    --input-bg: #1a1a1a;
    --input-border: #333;
    --sidebar-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --sidebar-text: #b8c5d6;
    --sidebar-border: rgba(74, 158, 255, 0.2);
    --section-separator: #1a1a2e;
    --section-primary: #000000;
    --section-secondary: #0F0F17;
}

/* Night Theme (Legacy support) */
[data-theme="dark"] {
    --primary-color: #000000;
    --secondary-color: #4A6FFF;
    --accent-color: #8a2be2;
    --text-color: #FFFFFF;
    --text-secondary: #e8e8ff;
    --dark-bg: #0F0F17;
    --card-bg: #13071f;
    --gradient: linear-gradient(135deg, #4A6FFF, #8A2BE2);
    --navbar-bg: #000000;
    --navbar-text: #FFFFFF;
    --navbar-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    --border-color: #333333;
    --hover-bg: #1a1a1a;
    --input-bg: #1a1a1a;
    --input-border: #333;
    --sidebar-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --sidebar-text: #b8c5d6;
    --sidebar-border: rgba(74, 158, 255, 0.2);
    --section-separator: #1a1a2e;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--primary-color);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--navbar-bg);
    box-shadow: var(--navbar-shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

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

/* Navigation links */
.nav-links {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    gap: 2rem; /* Adds consistent spacing between nav items */
    padding-right: 2rem;  /* Add space from right edge */
}

.nav-links .dropdown {
    margin: 0; /* Reset any default margins */
}

.nav-links a {
    text-decoration: none;
    color: var(--navbar-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none; /* Removed blue circle border */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 1rem;
    color: var(--navbar-text);
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background-color: transparent; /* Removed blue background on hover */
    color: var(--secondary-color); /* Change icon color on hover */
    transform: scale(1.1);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Section Separators */
/* Section Background Classes */
.section-primary {
    background-color: var(--section-primary);
    padding: 4rem 0;
}

.section-secondary {
    background-color: var(--section-secondary);
    padding: 4rem 0;
}

/* Legacy section-separator class for backward compatibility */
.section-separator {
    background-color: var(--section-separator);
    padding: 4rem 0;
}

/* Buttons */
.cta-button, .primary-button, .secondary-button {
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    letter-spacing: 0.3px;
}

.cta-button, .primary-button {
    background: linear-gradient(135deg, #4a6fff 0%, #6b5eff 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(74, 111, 255, 0.3);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover, .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(74, 111, 255, 0.5);
    background: linear-gradient(135deg, #5a7fff 0%, #7b6eff 100%);
}

.secondary-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.2);
}

.cta-button:active, .primary-button:active, .secondary-button:active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

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

/* Navigation Dots */
.slider-navigation {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.nav-dot.active {
    background: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hero Overlay - Make it darker */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85%; /* Reduced from 90% to 85% to expose more of the dots area */
    z-index: 2;
    background: rgba(0, 0, 0, 0.65);
    pointer-events: none;
    padding-bottom: 80px; /* Increased padding for smoother transition */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 70%, rgba(0, 0, 0, 0)); /* Added gradient fade-out */
}

/* Hero Content */
.hero .container {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    pointer-events: auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.766), /* Primary shadow */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4), /* Primary shadow */
                 0 0 15px rgba(0, 0, 0, 0.2); /* Subtle glow effect */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.primary-button, 
.secondary-button {
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-button {
    background-color: var(--secondary-color);
    color: #ffffff;
    border: none;
}

.secondary-button {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.primary-button:hover {
    background-color: var(--accent-color);
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .primary-button, 
    .secondary-button {
        width: 100%;
        max-width: 320px;
        padding: 1.1rem 2rem;
        font-size: 1.05rem;
        font-weight: 700;
        border-radius: 14px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .primary-button {
        box-shadow: 0 6px 20px rgba(74, 111, 255, 0.4);
    }
    
    .secondary-button {
        border: 2.5px solid rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(15px);
    }
    
    .primary-button:active {
        transform: scale(0.97);
        box-shadow: 0 3px 12px rgba(74, 111, 255, 0.5);
    }
    
    .secondary-button:active {
        transform: scale(0.97);
        background: rgba(255, 255, 255, 0.15);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .hero .container {
        padding: 0 1rem;
    }
    
    .primary-button, 
    .secondary-button {
        max-width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.5;
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
}

.features.section-secondary {
    background: var(--section-secondary);
}

.features.section-primary {
    background: var(--section-primary);
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(74, 111, 255, 0.08) 0%, rgba(107, 94, 255, 0.08) 100%);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(74, 111, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a6fff 0%, #6b5eff 100%);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(74, 111, 255, 0.25);
    border-color: rgba(74, 111, 255, 0.4);
    background: linear-gradient(135deg, rgba(74, 111, 255, 0.12) 0%, rgba(107, 94, 255, 0.12) 100%);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1) rotateY(360deg);
}

/* Market Trends Section */
.market-trends {
    padding: 6rem 0;
}

.market-trends.section-secondary {
    background: var(--section-secondary);
}

.market-trends.section-primary {
    background: var(--section-primary);
}

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

.trend-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(74, 111, 255, 0.1);
    border: 1px solid rgba(74, 111, 255, 0.1);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.trend-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 111, 255, 0.2);
    border: 1px solid rgba(74, 111, 255, 0.2);
}

.trend-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.trend-card h3, .trend-card p {
    padding: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
}

.testimonials.section-secondary {
    background: var(--section-secondary);
}

.testimonials.section-primary {
    background: var(--section-primary);
}

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

.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(74, 111, 255, 0.1);
    text-align: center;
    border: 1px solid rgba(74, 111, 255, 0.1);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 111, 255, 0.2);
    border: 1px solid rgba(74, 111, 255, 0.2);
}

/* Testimonial card image hover effects */
.testimonial-card a.course-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.testimonial-card a.course-image-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 110, 255, 0.7), rgba(137, 43, 226, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* View Course overlay - now using span element - Always visible */
.view-course-overlay {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #4a6fff 0%, #6b5eff 100%);
    padding: 0.9rem 2rem;
    border-radius: 12px;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 20px rgba(74, 111, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.testimonial-card img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(74, 111, 255, 0.2);
    border: 2px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card a.course-image-link:hover::before {
    opacity: 0.4;
}

.testimonial-card a:hover .view-course-overlay {
    transform: translateX(-50%) translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(74, 111, 255, 0.7);
    background: linear-gradient(135deg, #5a76ff 0%, #7b6eff 100%);
}

.testimonial-card a.course-image-link:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(74, 110, 255, 0.4);
}

/* Ensure button links look like buttons */
a.primary-button,
a.secondary-button {
    display: inline-block;
    text-decoration: none;
}

/* Responsive adjustments for testimonial images */
@media (max-width: 768px) {
    .testimonial-card img {
        width: 150px;  /* Slightly smaller on mobile but still square */
        height: 150px;
    }
}

@media (max-width: 480px) {
    .testimonial-card img {
        width: 120px;  /* Even smaller on very small screens */
        height: 120px;
    }
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern background */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(74, 111, 255, 0.02) 0%, transparent 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(74, 111, 255, 0.01) 10px,
            rgba(74, 111, 255, 0.01) 20px
        );
    pointer-events: none;
}

.contact.section-secondary {
    background: var(--section-secondary);
}

.contact.section-primary {
    background: var(--section-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-form {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(74, 111, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 15px 50px rgba(74, 111, 255, 0.15);
    transform: translateY(-5px);
}

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

.contact-form label {
    display: block;
    width: 100%;
}

.contact-form label span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Form input styles */
.contact-form input,
.contact-form textarea {
    padding: 1.2rem;
    font-size: 1rem;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(74, 111, 255, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Placeholder color */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Focus states */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(74, 111, 255, 0.1);
    transform: translateY(-2px);
    background: rgba(74, 111, 255, 0.03);
}

.contact-form button[type="submit"] {
    background: linear-gradient(135deg, var(--secondary-color), #8A2BE2);
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(74, 111, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(74, 111, 255, 0.4);
}

.contact-form button[type="submit"]:active {
    transform: translateY(-1px);
}

.contact-info {
    padding: 3rem 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid rgba(74, 111, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

.contact-info p {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(74, 111, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-info p:hover {
    background: rgba(74, 111, 255, 0.1);
    transform: translateX(5px);
}

.contact-info i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    min-width: 25px;
    text-align: center;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(74, 111, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    margin-bottom: 1rem;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    transition: color 0.2s ease-out;
}

.footer-col a:hover {
    color: var(--secondary-color);
}

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

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.2s ease-out;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(74, 111, 255, 0.1);
    color: var(--text-secondary);
}

/* Footer logo styles */
.footer-logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    height: 50px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .logo-img {
        height: 30px; /* Smaller on mobile */
    }
    
    .footer-logo .logo-img {
        height: 40px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .navbar .container {
        padding: 0.2rem 1rem;
        height: 50px;
    }

    .logo {
        font-size: 1.1rem;
        order: 2;
    }

    .burger-menu {
        display: block;
        order: 1;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: var(--primary-color) !important;
        /* Add subtle pattern background */
        background-image: 
            linear-gradient(135deg, rgba(74, 111, 255, 0.05) 25%, transparent 25%),
            linear-gradient(225deg, rgba(74, 111, 255, 0.05) 25%, transparent 25%),
            linear-gradient(45deg, rgba(74, 111, 255, 0.05) 25%, transparent 25%),
            linear-gradient(315deg, rgba(74, 111, 255, 0.05) 25%, var(--primary-color) 25%) !important;
        background-position: 10px 0, 10px 0, 0 0, 0 0 !important;
        background-size: 20px 20px !important;
        background-repeat: repeat !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
        z-index: 1000 !important;
        flex-direction: column !important;
        justify-content: flex-start !important; /* Align items to top */
        align-items: flex-start !important; /* Left align container */
        padding: 6rem 0 2rem 3rem !important; /* Top padding for close button and theme toggle, left padding for alignment */
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.3) !important;
        overflow-y: auto !important; /* Allow scrolling if needed */
    }

    .nav-links.active {
        transform: translateX(0) !important;
    }

    .nav-links a {
        padding: 0.8rem 0 !important;
        margin: 0.3rem 0 !important;
        font-size: 1.1rem !important;
        font-weight: 500 !important;
        color: var(--mobile-menu-text) !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        opacity: 0;
        transform: translateY(30px);
        animation: slideInUp 0.6s ease forwards;
        width: auto !important; /* Allow natural width */
        text-align: left !important; /* Left align all links */
        display: block !important;
    }

    .nav-links a:nth-child(1) { animation-delay: 0.1s; }
    .nav-links a:nth-child(2) { animation-delay: 0.2s; }
    .nav-links a:nth-child(3) { animation-delay: 0.3s; }
    .nav-links a:nth-child(4) { animation-delay: 0.4s; }
    .nav-links a:nth-child(5) { animation-delay: 0.5s; }
    .nav-links a:nth-child(6) { animation-delay: 0.6s; }

    .nav-links a:hover {
        color: var(--secondary-color);
        transform: translateX(5px);
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 0;
        min-height: 35px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);  /* Very subtle shadow */
    }

    .navbar .container {
        padding: 0.2rem 1rem;
        display: flex;
        flex-direction: row;          /* Reset to normal row */
        justify-content: space-between;
    }

    .logo {
        font-size: 1.1rem;
        order: 2;                     /* Move logo to the right */
        margin-right: 2rem;           /* Add right margin to move logo left and make it fully visible */
    }

    .burger-menu {
        padding: 2px;
    }

    .burger-menu span {
        width: 22px;
        height: 2px;
        margin: 3px 0;
    }

    .hero-content .btn {
        padding: 0.3rem 0.6rem;    /* Even smaller padding */
        font-size: 0.75rem;        /* Smaller text */
        min-width: 95px;           /* Reduced minimum width */
        margin: 0.2rem;            /* Smaller margin */
    }

    .hero-content .btn-container {
        margin-top: 0.8rem;        /* Less top margin */
        gap: 0.4rem;               /* Smaller gap */
    }

    @media (max-width: 480px) {
        .hero-content .btn {
            padding: 0.25rem 0.5rem;   /* Minimal padding */
            font-size: 0.7rem;         /* Even smaller text */
            min-width: 85px;           /* Smaller width */
            margin: 0.15rem;           /* Minimal margin */
        }
    }

    section {
        padding: 3rem 0;  /* General section padding */
    }

    #strategic-investing {
        padding-top: 4rem;    /* Increased top padding to prevent cropping */
        margin-top: 35px;     /* Add margin equal to navbar height */
    }

    .hero-section {
        margin-top: 35px;     /* Match navbar height */
    }

    .section-padding {
        padding: 3rem 0;
    }

    .hero-section {
        min-height: 100vh;      /* Full viewport height */
        height: auto;           /* Allow for content expansion */
    }

    .hero-image {
        height: 110vh;          /* Slightly taller than viewport */
    }

    .hero-content {
        padding: 2rem 1rem;     /* Maintain padding */
        margin-top: 35px;       /* Account for navbar */
    }
}

/* Additional adjustment for smaller phones */
@media (max-width: 480px) {
    .hero-image {
        height: 115vh;          /* Even taller for smaller screens */
    }
}

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

.hero-content, .feature-card, .trend-card, .testimonial-card {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Stagger animations for cards */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.trend-card:nth-child(1) { animation-delay: 0.1s; }
.trend-card:nth-child(2) { animation-delay: 0.2s; }
.trend-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }

/* Glow effects */
.hero-content h1,
.features h2,
.market-trends h2,
.testimonials h2,
.contact h2 {
    position: relative;
}

.hero-content h1::after,
.features h2::after,
.market-trends h2::after,
.testimonials h2::after,
.contact h2::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 50%;
    height: 50%;
    transform: translate(-20%, -10%);
    filter: blur(50px);
    background: var(--gradient);
    opacity: 0.05;
    z-index: -1;
}

/* About Me Section */
.about-me {
    padding: 6rem 0;
}

.about-me.section-secondary {
    background: var(--section-secondary);
}

.about-me.section-primary {
    background: var(--section-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: start;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.bio-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
}

/* Add mobile styles for bio-text */
@media (max-width: 768px) {
    .bio-text p {
        text-align: left;
        text-justify: none;
    }
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(74, 111, 255, 0.1);
}

/* Responsive design for About section */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

/* Heading Animations */
h1, h2 {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: normal;
}

/* Make sure hero section heading maintains its style */
.hero-content h1:hover {
    transform: translateY(-2px);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Ensure all h2 tags, including About Me, have the same hover effects */
h2, .about-me h2 {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: normal;
}

/* Removed hover glow effect from h2 titles - no styles needed */

/* Heading Styles - H2 */
h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    cursor: pointer;
    letter-spacing: normal;
    background: var(--gradient);
    /* -webkit-background-clip: text; */
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback for browsers that don't support text-fill-color */
    transition: letter-spacing 0.3s ease;
}


/* Underline animation for all h2
h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
    opacity: 0;
} */

/* Removed underline animation on hover - no styles needed */

/* Responsive styles for h2 */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;    /* Reduced from 2.5rem */
    }
}

/* Base h2 styles */
h2 {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback for browsers that don't support text-fill-color */
}

/* Hero content h1 */
.hero-content h1 {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback for browsers that don't support text-fill-color */
}

/* Feature card icons */
.feature-card i {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback for browsers that don't support text-fill-color */
}

/* Mobile Navigation - Consolidated */
@media screen and (max-width: 768px) {
    /* Position theme toggle in top right corner */
    .nav-links .theme-toggle {
        position: fixed !important;
        top: 1.5rem;
        right: 7rem; /* Moved left from 1.5rem to 3rem for better visibility */
        z-index: 1003;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Dropdown styling for mobile - always expanded, no accordion */
    .dropdown {
        width: 100%;
        text-align: left;
        margin: 0.5rem 0;
    }

    .dropdown-trigger {
        display: block !important;
        pointer-events: none !important; /* Disable clicking */
        cursor: default !important;
        padding: 0.8rem 0 !important;
        margin: 0.3rem 0 !important;
        font-size: 1.1rem !important;
        font-weight: 500 !important;
        color: var(--mobile-menu-text) !important;
        text-align: left !important;
        width: auto !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }

    /* Hide the chevron icon in mobile */
    .dropdown-trigger i {
        display: none !important;
    }

    .dropdown-content {
        position: static !important;
        display: block !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        margin: 0 !important;
    }

    /* Indent course links to show they are subcategories - matching reference image */
    .dropdown-content a {
        padding: 0.8rem 0 0.8rem 3.5rem !important; /* 3.5rem left padding for clear indentation */
        font-size: 1.05rem;
        opacity: 1;
        color: var(--mobile-menu-text) !important;
        margin: 0.3rem 0;
        transition: all 0.3s ease;
        width: auto;
        text-align: left;
        display: block;
        font-weight: 400; /* Slightly lighter weight for sub-items */
    }

    .dropdown-content a:hover {
        color: var(--secondary-color);
        transform: translateX(5px);
    }
}

/* Base burger menu styles */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background-color: var(--navbar-text);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin: auto;
    border-radius: 2px;
    transform-origin: center;
}

/* Burger menu animation states - transforms to X when active */
.burger-menu.active {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1003;
}

.burger-menu.active span {
    background-color: var(--mobile-menu-text);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile styles */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    /* Duplicate mobile nav-links removed - using consolidated version above */

    .nav-links a {
        padding: 0.8rem 0;
        width: 100%;
        text-align: center;
        color: var(--navbar-text) !important;
        font-weight: 500;
    }

    .nav-links a:hover {
        color: #7060fc;
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* Animation for profile picture slide-in from right */
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* About image slide-in animation */
@keyframes slideFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Education Section - centered content */
.education {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.education-text {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    text-justify: none;
}

.education-text .institution {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    font-style: italic;
}

/* Remove previous education card styles */
.education-items,
.education-item {
    all: unset;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .education-text {
        font-size: 1.1rem;
    }
    
    .education-text .institution {
        font-size: 0.9rem;
    }
}

/* Contact form textarea */
#contactForm textarea,
#message {
    height: 150px;          /* Increased height */
    min-height: 150px;      /* Ensure minimum height */
    resize: vertical;       /* Allow vertical resizing only */
    padding: 1rem;         /* Comfortable padding */
    margin-bottom: 1rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #contactForm textarea,
    #message {
        height: 120px;      /* Slightly smaller on mobile but still spacious */
        min-height: 120px;
        padding: 0.8rem;
    }
}

/* Update button styles for better visibility */
.primary-button {
    position: relative;
    z-index: 20; /* Highest z-index for interactive elements */
    padding: 1rem 2rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-button {
    position: relative;
    z-index: 20; /* Highest z-index for interactive elements */
    padding: 1rem 2rem;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* For the text-fill-color issues, we'll use proper text color properties */
/* Replace text-fill-color with proper WebKit text properties */

.element {
    /* Instead of text-fill-color, use: */
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

/* Duplicate styles removed - using the correct ones above */

/* Add vendor prefixes for background-clip */
.gradient-text {
    background: linear-gradient(to right, #3498db, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Base button styles */
.primary-button, .secondary-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Mobile styles */
@media (max-width: 768px) {
    .hero-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }

    .primary-button, .secondary-button {
        padding: 1.2rem 2rem; /* Increased height */
        font-size: 1rem; /* Slightly larger text */
        min-width: 140px; /* Ensure minimum width */
        height: 60px; /* Fixed height */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.hidden {
    display: none !important;
}

.success-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: var(--primary-color);
    color: var(--text-color);
}

.success-page h1 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.success-page p {
    margin-bottom: 1rem;
}

.success-page .primary-button {
    margin-top: 2rem;
    text-decoration: none;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

/* Mobile dropdown content styles */
@media (max-width: 768px) {
    .dropdown-content a {
        color: var(--mobile-menu-text) !important;
        background: transparent;
    }
}

.dropdown-content a:hover {
    background-color: rgba(74, 111, 255, 0.1);
    color: var(--secondary-color);
}

/* Mobile styles - Removed: dropdown content is now always visible (handled in consolidated mobile navigation section above) */

/* Course Page Specific Styles */
.course-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #296dff 100%);
    padding: 100px 0 50px;
    text-align: center;
    position: relative;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(41, 109, 255, 0.9) 100%);
    z-index: 0;
}

.course-hero .container {
    position: relative;
    z-index: 1;
}

.course-hero h1 {
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.course-intro {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 1;
    max-width: 800px;
    margin: 0 auto;
}

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

.highlight-card {
    background: linear-gradient(135deg, rgba(74, 111, 255, 0.08) 0%, rgba(107, 94, 255, 0.08) 100%);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(74, 111, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a6fff 0%, #6b5eff 100%);
}

.highlight-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(74, 111, 255, 0.25);
    border-color: rgba(74, 111, 255, 0.4);
    background: linear-gradient(135deg, rgba(74, 111, 255, 0.12) 0%, rgba(107, 94, 255, 0.12) 100%);
}

.highlight-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.highlight-card:hover i {
    transform: scale(1.1) rotateY(360deg);
}

.target-audience {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(74, 111, 255, 0.05) 0%, rgba(107, 94, 255, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(74, 111, 255, 0.15);
}

.target-audience h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.audience-grid li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(74, 111, 255, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 111, 255, 0.1);
}

.audience-grid li:hover {
    background: rgba(74, 111, 255, 0.15);
    transform: translateX(5px);
    border-color: rgba(74, 111, 255, 0.3);
}

.audience-grid i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.level-card {
    background: linear-gradient(135deg, rgba(74, 111, 255, 0.05) 0%, rgba(107, 94, 255, 0.05) 100%);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 111, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4a6fff 0%, #6b5eff 100%);
}

.level-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(74, 111, 255, 0.2);
    border-color: rgba(74, 111, 255, 0.3);
}

.level-card h3 {
    color: var(--secondary-color) !important;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    border-bottom: 2px solid rgba(74, 111, 255, 0.2);
    padding-bottom: 0.8rem;
}

.level-content {
    margin-top: 1.5rem;
}

.level-content h4 {
    color: var(--secondary-color);
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.level-content ul {
    list-style: none;
    padding-left: 0;
}

.level-content li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

.level-content li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.course-cta {
    background: var(--primary-color); /* This sets it to black */
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid rgba(74, 111, 255, 0.1);
}

.course-cta h2 {
    margin-bottom: 1rem;
}

.course-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .course-hero h1 {
        font-size: 2rem;
    }
    
    .course-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .highlight-card {
        padding: 1.5rem;
    }
    
    .level-card {
        padding: 1.5rem;
    }
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 35px;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 0.5rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown {
        width: 100%;
    }

    /* Dropdown content styling removed - handled in consolidated mobile navigation section above */
}

/* Course Structure Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.level-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.level-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.level-content ul {
    list-style: none;
    padding-left: 0;
}

.level-content li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.level-content li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Feasibility Studies Styles */
.feasibility-hero {
    background: var(--primary-color);
    padding: 100px 0 50px;
    text-align: center;
}

.feasibility-hero .hero-content h1 {
    background: linear-gradient(45deg, #ffffff, #66a6ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    font-weight: 700;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.feasibility-hero .section-intro {
    color: #ffffff;
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .feasibility-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .feasibility-hero .section-intro {
        font-size: 1.1rem;
    }
}

.studies-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    min-height: 800px;
}

.study-selector {
    grid-column: span 4;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    height: 800px;
}

.pdf-viewer {
    grid-column: span 8;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    height: 800px;
}

.study-cards {
    display: grid;
    gap: 1rem;
}

.study-card {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.study-card:hover {
    transform: translateY(-3px);
}

.study-card.active {
    border: 2px solid var(--secondary-color);
}

.study-card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.study-card h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.view-btn {
    background: var(--secondary-color);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.view-btn:hover {
    background: var(--primary-color);
}

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

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .study-selector {
        grid-column: span 5;
    }
    .pdf-viewer {
        grid-column: span 7;
    }
}

@media screen and (max-width: 968px) {
    .studies-grid {
        display: flex;
        flex-direction: column;
        min-height: auto;
        gap: 2rem;
        margin-bottom: 3rem; /* Added extra margin at bottom */
    }
    
    .study-selector {
        order: 1;
        min-height: 300px;
        height: auto;
        width: 100%;
        position: relative;
    }
    
    .select-options {
        max-height: 250px;
        overflow-y: auto;
    }
    
    .pdf-viewer {
        order: 2;
        height: 700px; /* Increased height */
        width: 100%;
        margin-top: 1rem;
        margin-bottom: 2rem; /* Added margin at bottom */
    }

    .pdf-container iframe {
        height: 650px; /* Adjusted iframe height */
    }
}

@media screen and (max-width: 480px) {
    .study-cards {
        grid-template-columns: 1fr;
    }
    
    .study-selector {
        min-height: 250px;
    }
    
    .studies-grid {
        gap: 2.5rem;
        margin-bottom: 4rem; /* Even more margin for smallest screens */
    }
}

.study-label {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Modern Custom Select Styles */
.custom-select {
    position: relative;
    width: 100%;
    font-family: var(--font-family);
}

.select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--background-color);
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-header:hover {
    border-color: var(--primary-color);
}

.select-header i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.custom-select.active .select-header i {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--background-color);
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    padding: 10px 0;
    display: none;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-select.active .select-options {
    display: block;
    animation: fadeIn 0.3s ease;
}

.select-option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.select-option:hover {
    background: rgba(var(--secondary-color-rgb), 0.1);
}

.select-option i {
    color: var(--secondary-color);
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.select-option span {
    color: var(--text-color);
}

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

/* Add hover effect for options */
.select-option.selected {
    background: var(--secondary-color);
}

.select-option.selected span,
.select-option.selected i {
    color: #ffffff;
}

/* Derivatives Page Styles */
.derivatives-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #296dff 100%);
    padding: 100px 0 50px;
    text-align: center;
    position: relative;
}

.derivatives-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(37, 99, 235, 0.9) 100%);
    z-index: 0;
}

.derivatives-hero .container {
    position: relative;
    z-index: 1;
}

.derivatives-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.derivatives-hero h1 {
    color: #ffffff !important;
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: #ffffff !important;
}

.derivatives-hero .hero-subtitle {
    color: #ffffff;
    font-size: 1.2rem;
    opacity: 1;
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.6;
    font-weight: 400;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .derivatives-hero h1 {
        font-size: 2rem;
    }
    
    .derivatives-hero .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

.derivatives-content {
    padding: 4rem 0;
}

.content-section {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.content-section p,
.intro-text p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.content-section h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.content-section h3 {
    color: var(--text-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.course-list, .feature-list, .investor-types {
    list-style: none;
    padding-left: 1.5rem;
}

.course-list li, .feature-list li, .investor-types li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1.05rem;
}

.course-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.highlight-text {
    background: rgba(var(--secondary-color-rgb), 0.1);
    padding: 1rem;
    border-radius: 5px;
    margin: 1.5rem 0;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.outcome-card {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.outcome-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .derivatives-hero h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .outcome-grid {
        grid-template-columns: 1fr;
    }
}

/* Derivatives Page Responsive Styles */
@media screen and (max-width: 968px) {
    .derivatives-content {
        padding: 2rem 0;
    }

    .content-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .content-section h3 {
        font-size: 1.3rem;
    }

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

    .outcome-card {
        padding: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .derivatives-hero h1 {
        font-size: 1.8rem;
    }

    .content-section {
        padding: 1.2rem;
    }

    .content-section h2 {
        font-size: 1.4rem;
    }

    .content-section h3 {
        font-size: 1.2rem;
    }

    .course-list li, 
    .feature-list li, 
    .investor-types li {
        padding-left: 1.2rem;
        margin-bottom: 0.6rem;
    }
}

/* Feasibility Hero Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 4rem;
    padding: 2rem 0;
}

.split-layout .text-content {
    flex: 1; /* Takes up more space than the image */
}

.split-layout .image-content {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Aligns image to the right */
    align-items: center;
}

.feasibility-diagram {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .split-layout .image-content {
        justify-content: center; /* Centers image on mobile */
    }

    .feasibility-diagram {
        max-width: 70%; /* Even smaller on mobile */
    }
}

/* Container and Hero Section */
.feasibility-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    width: 100%;
}

.hero-content.split-layout {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distributes space between elements */
    gap: 4rem;
    padding: 4rem 0;
    width: 100%; /* Takes full width of container */
}

.split-layout .text-content {
    flex: 1;
    max-width: 1000px;
}

.split-layout .image-content {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.feasibility-diagram {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-content.split-layout {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 0;
    }

    .split-layout .image-content {
        justify-content: center;
    }

    .feasibility-diagram {
        max-width: 70%;
    }

    /* Contact section mobile styles */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form form {
        gap: 1.2rem;
    }
    
    .contact-form label {
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form input,
    .contact-form textarea {
        width: 100%;
        max-width: 100%;
        padding: 1rem 0.9rem;
        font-size: 1rem;
        border-radius: 8px;
        border: 2px solid rgba(74, 111, 255, 0.2);
        box-sizing: border-box;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    .contact-form textarea {
        min-height: 120px;
    }
    
    .contact-form input:focus,
    .contact-form textarea:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 3px rgba(74, 111, 255, 0.1);
        transform: none;
    }

    .contact-info {
        position: static;
        padding: 2rem 1.5rem;
    }

    .contact-form button[type="submit"] {
        width: 100%;
        padding: 1.1rem 2rem;
        font-size: 1.05rem;
        font-weight: 700;
        border-radius: 12px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        box-sizing: border-box;
    }
    
    .contact-form button[type="submit"]:active {
        transform: scale(0.98);
    }
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Ensure slider arrows are above overlay */
.slider-arrow {
    z-index: 100;
    background: rgba(74, 111, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-arrow:hover {
    background: rgba(74, 111, 255, 1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(74, 111, 255, 0.5);
}

.slider-arrow.prev {
    left: 30px; /* Increased from 20px */
}

.slider-arrow.next {
    right: 30px; /* Increased from 20px */
}

/* Mobile responsive adjustments for arrows */
@media (max-width: 768px) {
    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
        background: rgba(74, 111, 255, 1);
        opacity: .7;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .slider-arrow:active {
        transform: translateY(-50%) scale(0.95);
    }
    
    .slider-arrow.prev {
        left: 15px;
    }
    
    .slider-arrow.next {
        right: 15px;
    }
}

/* Advanced Chart Section */
.advanced-chart-section {
    padding: 4rem 0;
}

.advanced-chart-section.section-secondary {
    background: var(--section-secondary);
}

.advanced-chart-section.section-primary {
    background: var(--section-primary);
}

.advanced-chart-section .container {
    max-width: 1400px; /* Wider container for the chart */
}

.tradingview-widget-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(74, 111, 255, 0.1);
}

/* Market Overview Section */
.market-overview-section {
    padding: 4rem 0;
}

.market-overview-section.section-secondary {
    background: var(--section-secondary);
}

.market-overview-section.section-primary {
    background: var(--section-primary);
}

.market-overview-section .container {
    max-width: 1400px; /* Match the width of Advanced Chart section */
    margin: 0 auto;
    padding: 0 15px; /* Add some padding for smaller screens */
}

.tradingview-widget-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(74, 111, 255, 0.1);
}