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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shine {
    from { transform: translateX(-100%) rotate(45deg); }
    to { transform: translateX(100%) rotate(45deg); }
}

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

@keyframes bgParallax {
    from { background-position: 0 0; }
    to { background-position: 0 -50px; }
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100vh) scale(1.5);
        opacity: 0;
    }
}

@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.2; transform: scale(0.8); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

:root {
    --primary-color: #2962FF;
    --secondary-color: #1E88E5;
    --text-color: #333333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --spacing-unit: 1rem;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 80px;
}

/* Make sure the mobile toggle is completely hidden on desktop */
.mobile-menu-toggle {
    display: none; /* Ensure it's hidden on desktop */
    background: none;
    border: none;
    padding: 0.8rem;
    cursor: pointer;
    z-index: 1050;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(41, 98, 255, 0.1);
}

.mobile-menu-toggle .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.logo {
    flex-shrink: 0;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
    position: relative;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1;
    margin: 0;
}

.logo-text .slogan {
    font-size: 0.8em;
    color: #2962FF;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 0.2rem;
}

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

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

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

.btn-login, .btn-register {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-login:hover {
    background: rgba(41, 98, 255, 0.1);
}

.btn-register {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border: 2px solid var(--primary-color);
}

.btn-register:hover {
    background-color: #1e4fcc;
    border-color: #1e4fcc;
}

@media (max-width: 768px) {
    /* Fix header logo and text visibility */
    .navbar {
        padding: 0.5rem 1rem;
        height: 70px;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        display: flex;
        align-items: center;
    }
    
    .logo a {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .logo img {
        width: 50px;
        height: 50px;
        margin-right: 0;
    }
    
    .logo-text {
        display: flex;
        flex-direction: column;
    }
    
    .logo-text h1 {
        font-size: 18px;
        margin-bottom: 0;
        line-height: 1.2;
    }
    
    .logo-text .slogan {
        font-size: 10px;
        line-height: 1;
        margin-top: 2px;
    }
    
    /* Fix mobile toggle button visibility */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 42px;
        height: 42px;
        background-color: rgba(41, 98, 255, 0.25);
        border-radius: 6px;
        margin-left: auto;
        margin-right: 5px; /* Add margin to prevent being cut off */
        z-index: 1050;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    /* Ensure the toggle bars are visible with stronger contrast */
    .mobile-menu-toggle .bar {
        display: block;
        width: 24px;
        height: 3px;
        margin: 4px 0;
        background-color: #0040c1;
        border-radius: 2px;
    }
    
    /* Hide the navigation links initially on mobile */
    .nav-links {
        display: none;
        padding: 1.5rem;
    }
    
    /* Fixed positioning for header to ensure it stays at top */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1200; /* Increased z-index to ensure it stays on top */
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        height: 70px; /* Explicit height */
    }
    
    /* When menu is active */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        z-index: 999;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 1rem;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid #ffffff;
    }
    
    .nav-links a {
        display: block;
        padding: 0.5rem;
        font-size: 1.1rem;
        color: var(--primary-color);
        font-weight: 500;
    }

    .nav-cta {
        margin-top: 0.5rem;
    }
    
    .nav-cta a {
        width: 100%;
    }

    /* Hero section content fixes for mobile */
    .hero-section {
        padding-top: 100px !important;
        margin-top: 0;
        position: relative;
        z-index: 1;
    }

    .hero-content {
        margin-top: 1rem;
        padding: 1rem;
    }

    /* Fix the feature cards */
    .hero-features {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin: 1.5rem auto;
        flex-wrap: wrap;
        max-width: 100%;
    }
    
    .feature {
        width: 120px;
        padding: 0.8rem;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin-bottom: 0.5rem;
    }
    
    .feature span {
        font-size: 0.9rem;
        margin-top: 0.5rem;
        font-weight: 500;
        color: white;
    }
    
    /* Fix for "Our Popular Courses" section */
    .section-title {
        font-size: 1.8rem;
        margin: 1rem 0;
        padding-top: 1.5rem;
        color: var(--primary-color);
        z-index: 5;
        position: relative;
    }
    
    /* Course cards container */
    .course-container {
        padding: 0 1rem;
        margin-top: 1.5rem;
    }
    
    /* Course cards */
    .course-card {
        margin-bottom: 1.5rem;
    }
    
    /* Mobile overlay */
    .mobile-overlay {
        z-index: 990;
    }
}

/* Mobile Sidebar Styles */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    padding: 1.5rem;
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.mobile-sidebar-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #555;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.close-sidebar:hover {
    color: var(--primary-color);
}

.mobile-sidebar .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-sidebar .nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    transition: color 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
    display: block;
}

.mobile-sidebar .nav-link:hover,
.mobile-sidebar .nav-link.active {
    color: var(--primary-color);
}

.mobile-sidebar .cta-button {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    padding-top: 80px; /* Match the header height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--primary-color);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    z-index: -1;
}

/* SVG Elements */
.svg-container {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.floating-svg {
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
    transform-origin: center;
    width: 100%;
    height: auto;
}

.floating-svg.wave {
    animation: wave 12s ease-in-out infinite;
}

.pattern-svg {
    opacity: 0.15;
    transition: opacity 0.3s ease;
}

.pattern-svg.top-right {
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    transform: rotate(30deg);
}

.pattern-svg.bottom-left {
    bottom: -50px;
    left: -50px;
    width: 350px;
    height: 350px;
    transform: rotate(-15deg);
}

.tech-cube {
    width: 120px;
    height: 120px;
    left: 10%;
    top: 30%;
}

.tech-wave {
    width: 200px;
    height: 100px;
    right: 12%;
    bottom: 20%;
}

/* Particles container */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    text-align: left;
    max-width: 800px;
    margin: 0;
    padding: 2rem;
    margin-left: 10%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    color: white;
    text-align: left;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    color: white;
    text-align: left;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: 0;
    margin-right: auto;
    opacity: 0.9;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
    color: white;
    text-align: left;
}

/* Feature Icons */
.hero-features {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    width: 180px;
    transition: transform 0.3s ease;
}

.feature-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
}

.feature span {
    font-weight: 500;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, 
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 160px;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-light);
    box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 152, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Scroll indicator styling */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    z-index: 10;
    cursor: pointer;
    animation: pulse 2s infinite;
    text-align: center;
    width: 120px; /* Set a fixed width */
}

.scroll-indicator span {
    margin-bottom: 8px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    letter-spacing: 0.5px;
    display: block;
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
}

.scroll-indicator i {
    font-size: 16px;
    text-align: center;
    display: block;
    margin: 0 auto;
}

/* @keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
} */

@keyframes pulse {
    0% {
        opacity: 0.7;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        opacity: 0.7;
        transform: translateX(-50%) translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .tech-cube, .tech-wave {
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1rem;
        text-align: center;
        margin-left: auto;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .feature {
        padding: 0.5rem 1rem;
        margin: 0 0.5rem 0.75rem;
    }
    
    .tech-cube {
        left: 5%;
        width: 80px;
        height: 80px;
    }
    
    .tech-wave {
        right: 5%;
        width: 150px;
        height: 75px;
    }
    
    .pattern-svg.top-right, 
    .pattern-svg.bottom-left {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
    
    .tech-cube, .tech-wave {
        opacity: 0.4;
    }
}

/* Add geometric shapes for the hero section */
.hero-shape {
    position: absolute;
    opacity: 0.15;
    z-index: 1;
}

.hero-shape.circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 6px solid white;
    top: 15%;
    right: 5%;
    animation: float 10s ease-in-out infinite;
}

.hero-shape.triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 200px solid white;
    bottom: 10%;
    left: 5%;
    animation: float 14s ease-in-out infinite;
}

.hero-shape.square {
    width: 120px;
    height: 120px;
    border: 6px solid white;
    top: 30%;
    left: 10%;
    transform: rotate(45deg);
    animation: float 12s ease-in-out infinite reverse;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-features .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    width: 180px;
    transition: transform 0.3s ease;
}

.feature-icon {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    font-size: 2rem;
}

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

#courses .section-header h2,
#why-us .section-header h2 {
    font-size: 2.8em;
    color: #0066FF !important;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-align: center;
}

.section-header p {
    color: #666666;
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.course-name {
    color: #2962FF;
    font-size: 1.8em;
    font-weight: 700;
    text-align: center;
    margin: 1.5rem 1rem 0.5rem;
}

.course-subtitle {
    color: #666;
    text-align: center;
    font-size: 1.1em;
    margin: 0 1rem 1.5rem;
    padding: 0;
}

.course-card h3 {
    color: #2962FF;
    font-size: 2em;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.course-card:hover h3 {
    background: linear-gradient(45deg, #2962FF, #1E88E5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-title p {
    color: #666666;
    font-size: 1.1em;
    margin: 0;
}

.course-info {
    color: #666666;
    padding: 0;
    background: #ffffff;
    text-align: center;
}

.course-features li {
    color: #666666;
}

.course-duration, .course-price {
    color: #2962FF;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 1.5rem;
    padding: 0.5rem 0;
}

.hero-features .feature span {
    font-size: 1.1em;
    font-weight: 500;
    opacity: 0.9;
}

.btn-explore {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto;
    border-radius: 2px;
}

.section-header h2 {
    font-size: 2.4em;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.1em;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.why-us-section {
    position: relative;
    padding: 5rem 2rem;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), 
                url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDABQODxIPDRQSEBIXFRQdHx4eHRoaHSQtJSAyTS1BNz8uQVVeZ0BXXmdSVV9wdnlzhIaImUlTaXJ5i5yCnqe0t7X/2wBDARUXFx4aHR4eHbVzXXN1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbX/wAARCABkAGQDASIAAhEBAxEB/8QAGgAAAwEBAQEAAAAAAAAAAAAAAAMEAgEGBf/EABoQAAMBAQEBAQAAAAAAAAAAAAABAgMREiEx/8QAGAEBAQEBAQAAAAAAAAAAAAAAAAECAwT/xAAZEQEBAQEBAQAAAAAAAAAAAAAAARECEjH/2gAMAwEAAhEDEQA/APHYWvlE2Gr5O7zp2GrxE2GrxGRNhq8RNhq8RkTYavETYavEZE2GrxE2GrxA9hq+UTYavlHd505D18om89fKKynIevlE3nr5RWU5D18om89fKKynIevlE3nr5RWU5D18om89fKKyj//Z');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    flex: 1;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    margin-top: 2rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* Courses Section */
.courses-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)), 
                url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDABQODxIPDRQSEBIXFRQdHx4eHRoaHSQtJSAyTS1BNz8uQVVeZ0BXXmdSVV9wdnlzhIaImUlTaXJ5i5yCnqe0t7X/2wBDARUXFx4aHR4eHbVzXXN1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbX/wAARCABkAGQDASIAAhEBAxEB/8QAGgAAAwEBAQEAAAAAAAAAAAAAAAMEAgEGBf/EABoQAAMBAQEBAQAAAAAAAAAAAAABAgMREiEx/8QAGAEBAQEBAQAAAAAAAAAAAAAAAAECAwT/xAAZEQEBAQEBAQAAAAAAAAAAAAAAARECEjH/2gAMAwEAAhEDEQA/APHYWvlE2Gr5O7zp2GrxE2GrxGRNhq8RNhq8RkTYavETYavEZE2GrxE2GrxA9hq+UTYavlHd505D18om89fKKynIevlE3nr5RWU5D18om89fKKynIevlE3nr5RWU5D18om89fKKyj//Z');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(41, 98, 255, 0.05), transparent 80%),
                radial-gradient(circle at bottom left, rgba(30, 136, 229, 0.05), transparent 80%);
    z-index: -1;
}

.feat.course-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem auto;
    padding: 0;
    max-width: 1200px;
}

.course-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.course-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #f8f9fa;
}

.course-box {
    flex: 1;
    max-width: 350px;
    margin: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.course-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(41, 98, 255, 0.15);
}

.course-box .course-card {
    text-align: center;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.course-box .course-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #f8f9fa;
    transition: transform 0.5s ease;
}

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

.course-box .course-name {
    color: var(--primary-color);
    margin: 10px 20px;
    font-size: 20px;
    font-weight: 600;
}

.course-box .course-subtitle {
    color: #666;
    margin: 10px 20px;
    font-size: 14px;
}

.course-box .course-info {
    padding: 0 20px 20px;
}

.course-box .course-features {
    text-align: left;
    margin-bottom: 15px;
}

.course-box .course-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-box .course-features li {
    padding: 8px 0;
    color: #555;
    font-size: 14px;
}

.course-box .course-features li i {
    color: var(--primary-color);
    margin-right: 8px;
}

.course-box .course-duration,
.course-box .course-price {
    display: inline-block;
    margin: 10px 0;
    font-size: 14px;
    color: #555;
}

.course-box .course-duration {
    margin-right: 15px;
}

.course-box .course-price {
    font-weight: 600;
    color: var(--primary-color);
}

.course-box .btn-view-course {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    margin-top: 15px;
}

.course-box .btn-view-course:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(41, 98, 255, 0.15);
}

.course-card {
    text-align: center;
    padding: 20px;
    border: 2px solid #e1e1e1;
    border-radius: 8px 8px 0 0;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(41, 98, 255, 0.1), transparent);
    transition: 0.5s;
}

.course-box:hover .course-card {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(41, 98, 255, 0.1);
}

.course-box:hover .course-card::before {
    left: 100%;
}

.course-card img {
    transform-origin: center;
    transition: transform 0.5s ease;
}

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

.course-features ul li {
    transform: translateX(-20px);
    opacity: 0;
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.course-features ul li:nth-child(1) { animation-delay: 0.1s; }
.course-features ul li:nth-child(2) { animation-delay: 0.2s; }
.course-features ul li:nth-child(3) { animation-delay: 0.3s; }

.course-features ul li {
    position: relative;
    padding-left: 20px;
}

.course-features ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1em;
    transform: scale(0);
    animation: checkmark 0.5s ease forwards;
}

@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.course-info {
    padding: 20px;
    border: 2px solid #e1e1e1;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: #f8f9fa;
}

.course-features ul {
    display: grid;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.course-features li {
    margin: 8px 0;
    color: #555;
}

.course-features i {
    color: var(--primary-color);
    margin-right: 8px;
}

.course-duration, .course-price {
    color: #666;
    margin: 10px 0;
    font-size: 0.9rem;
}

.course-duration i {
    margin-right: 5px;
    color: var(--primary-color);
}

.course-price {
    text-align: center;
    margin: 15px 0;
    padding: 15px;
}

.course-price p {
    margin: 0.25rem 0;
    color: #444;
    font-size: 1rem;
}

.course-price p:first-child {
    color: var(--primary-color);
}

.course-features ul li {
    color: #444;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    justify-content: flex-start;
    padding-left: 1rem;
}

.course-features ul li::before {
    content: '✓';
    color: #2962FF;
    font-weight: bold;
}

.course-features ul li:hover {
    transform: translateX(5px);
}

.course-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2962FF;
    font-size: 1rem;
    border-top: 1px solid rgba(41, 98, 255, 0.1);
    transition: transform 0.3s ease;
}

.course-duration i {
    color: var(--primary-color);
}

.course-box:hover .course-duration {
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: #fff;
    margin: 5% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-options h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.contact-methods {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-btn i {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-btn span {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}

.contact-btn small {
    font-size: 14px;
    opacity: 0.9;
}

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

.whatsapp-btn {
    background: #25D366;
}

.email-btn {
    background: #EA4335;
}

.contact-note {
    text-align: center;
    color: #666;
    margin-top: 20px;
    font-style: italic;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn-enroll {
    width: 80%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1rem auto 1.5rem;
    position: relative;
    overflow: hidden;
    display: block;
}

.btn-enroll:hover {
    background: #1E88E5;
    box-shadow: 0 4px 12px rgba(41, 98, 255, 0.2);
}

.btn-enroll:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(41, 98, 255, 0.1);
}

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

.course-card h3 {
    color: var(--primary-color);
    margin: 10px 0;
    font-size: 24px;
}

.course-card p {
    color: #666;
    margin: 0;
    font-size: 16px;
}

.course-card {
    flex: 1;
    max-width: 350px;
    min-width: 300px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.course-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-content {
    padding: 20px;
}

.course-header h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.course-description {
    color: #666;
    margin-bottom: 20px;
}

.course-card {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.course-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.course-card {
    flex: 1;
    min-width: 0;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

.course-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(33.333% - 11px);
    min-width: 300px;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(41, 98, 255, 0.15);
}

.course-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(rgba(41, 98, 255, 0.1), rgba(41, 98, 255, 0.05));
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.08);
}

.course-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1.5rem;
}

.course-header {
    margin-bottom: 0.5rem;
}

.course-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.course-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.course-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.course-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.course-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.85;
    margin: 0;
}

.course-features {
    flex: 1;
    margin: 0;
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
}

.course-features h4 {
    color: #444;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.course-features ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    gap: 0.75rem;
}

.course-features li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 1.5rem;
}

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

.course-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(41, 98, 255, 0.1);
    border-bottom: 1px solid rgba(41, 98, 255, 0.1);
    margin: 0.5rem 0 1rem;
    gap: 1.5rem;
}

.duration, .price {
    font-size: 0.9rem;
    color: var(--text-color);
}

.price {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

.btn-enroll {
    width: 100%;
    padding: clamp(0.5rem, 2vw, 1rem);
    margin-top: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-enroll:hover {
    background: #1a4ecc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(41, 98, 255, 0.2);
}

.no-courses {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 1.2rem;
    grid-column: 1 / -1;
}

.courses-section {
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)), url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDABQODxIPDRQSEBIXFRQdHx4eHRoaHSQtJSAyTS1BNz8uQVVeZ0BXXmdSVV9wdnlzhIaImUlTaXJ5i5yCnqe0t7X/2wBDARUXFx4aHR4eHbVzXXN1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbX/wAARCABkAGQDASIAAhEBAxEB/8QAGgAAAwEBAQEAAAAAAAAAAAAAAAMEAgEGBf/EABoQAAMBAQEBAQAAAAAAAAAAAAABAgMREiEx/8QAGAEBAQEBAQAAAAAAAAAAAAAAAAECAwT/xAAZEQEBAQEBAQAAAAAAAAAAAAAAARECEjH/2gAMAwEAAhEDEQA/APHYWvlE2Gr5O7zp2GrxE2GrxGRNhq8RNhq8RkTYavETYavEZE2GrxE2GrxA9hq+UTYavlHd505D18om89fKKynIevlE3nr5RWU5D18om89fKKynIevlE3nr5RWU5D18om89fKKyj//Z');
    padding: 4rem 0;
}

.institute-showcase {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDABQODxIPDRQSEBIXFRQdHx4eHRoaHSQtJSAyTS1BNz8uQVVeZ0BXXmdSVV9wdnlzhIaImUlTaXJ5i5yCnqe0t7X/2wBDARUXFx4aHR4eHbVzXXN1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbX/wAARCABkAGQDASIAAhEBAxEB/8QAGgAAAwEBAQEAAAAAAAAAAAAAAAMEAgEGBf/EABoQAAMBAQEBAQAAAAAAAAAAAAABAgMREiEx/8QAGAEBAQEBAQAAAAAAAAAAAAAAAAECAwT/xAAZEQEBAQEBAQAAAAAAAAAAAAAAARECEjH/2gAMAwEAAhEDEQA/APHYWvlE2Gr5O7zp2GrxE2GrxGRNhq8RNhq8RkTYavETYavEZE2GrxE2GrxA9hq+UTYavlHd505D18om89fKKynIevlE3nr5RWU5D18om89fKKynIevlE3nr5RWU5D18om89fKKyj//Z');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    overflow: hidden;
}

.institute-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(41, 98, 255, 0.3), transparent 70%);
    z-index: 1;
    mix-blend-mode: overlay;
}

.institute-showcase-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.institute-showcase h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.institute-showcase p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
}

.institute-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.institute-feature {
    text-align: center;
}

.institute-feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.institute-feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.institute-feature p {
    opacity: 0.8;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.08);
}

.course-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1.5rem;
}

.course-header {
    margin-bottom: 0.5rem;
}

.course-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.course-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.course-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.course-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.course-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.85;
    margin: 0;
}

.course-features {
    flex: 1;
    margin: 0;
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
}

.course-features h4 {
    color: #444;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.course-features ul {
    list-style: none;
    padding-left: 0;
}

.course-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

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

.course-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(41, 98, 255, 0.1);
    border-bottom: 1px solid rgba(41, 98, 255, 0.1);
    margin: 0.5rem 0 1rem;
    gap: 1.5rem;
}

.duration, .price {
    font-size: 0.9rem;
    color: var(--text-color);
}

.price {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

.btn-enroll {
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.btn-enroll:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 98, 255, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(rgba(26, 26, 26, 0.98), rgba(26, 26, 26, 0.98)), url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDABQODxIPDRQSEBIXFRQdHx4eHRoaHSQtJSAyTS1BNz8uQVVeZ0BXXmdSVV9wdnlzhIaImUlTaXJ5i5yCnqe0t7X/2wBDARUXFx4aHR4eHbVzXXN1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbX/wAARCABkAGQDASIAAhEBAxEB/8QAGgAAAwEBAQEAAAAAAAAAAAAAAAMEAgEGBf/EABoQAAMBAQEBAQAAAAAAAAAAAAABAgMREiEx/8QAGAEBAQEBAQAAAAAAAAAAAAAAAAECAwT/xAAZEQEBAQEBAQAAAAAAAAAAAAAAARECEjH/2gAMAwEAAhEDEQA/APHYWvlE2Gr5O7zp2GrxE2GrxGRNhq8RNhq8RkTYavETYavEZE2GrxE2GrxA9hq+UTYavlHd505D18om89fKKynIevlE3nr5RWU5D18om89fKKynIevlE3nr5RWU5D18om89fKKyj//Z');
    color: var(--white);
    padding: 4rem 2rem 1rem;
    position: relative;
    background-size: cover;
    background-position: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer h3, .footer h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 3rem;
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Admin Portal Link */
.admin-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f0f0f0 !important;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.admin-link i {
    color: #f0f0f0;
}

.admin-link:hover {
    background-color: rgba(41, 98, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* About Page Styles */

/* Leadership Section Styles */
.leadership-section,
.faculty-section {
    margin: 4rem 0;
    text-align: center;
}

.leadership-grid,
.fa.course-grid {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.course-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Hide scrollbar but keep functionality */
.course-grid::-webkit-scrollbar {
    display: none;
}

.course-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Add scroll buttons for desktop */
.courses-section {
    position: relative;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

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

.scroll-btn.prev {
    left: 1rem;
}

.scroll-btn.next {
    right: 1rem;
}

@media (max-width: 768px) {
    .scroll-btn {
        display: none;
    }
    
    .course-grid {
        padding: 0.5rem;
    }
}

.leadership-card,
.faculty-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.leadership-card:hover,
.faculty-card:hover {
    transform: translateY(-5px);
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: #2962FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.profile-image i {
    color: white;
}

.leadership-card h3,
.faculty-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.designation {
    color: #2962FF;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif;
}

.bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .leadership-grid,
    .faculty-grid {
        grid-template-columns: 1fr;
    }
}

.about-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDABQODxIPDRQSEBIXFRQdHx4eHRoaHSQtJSAyTS1BNz8uQVVeZ0BXXmdSVV9wdnlzhIaImUlTaXJ5i5yCnqe0t7X/2wBDARUXFx4aHR4eHbVzXXN1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbX/wAARCABkAGQDASIAAhEBAxEB/8QAGgAAAwEBAQEAAAAAAAAAAAAAAAMEAgEGBf/EABoQAAMBAQEBAQAAAAAAAAAAAAABAgMREiEx/8QAGAEBAQEBAQAAAAAAAAAAAAAAAAECAwT/xAAZEQEBAQEBAQAAAAAAAAAAAAAAARECEjH/2gAMAwEAAhEDEQA/APHYWvlE2Gr5O7zp2GrxE2GrxGRNhq8RNhq8RkTYavETYavEZE2GrxE2GrxA9hq+UTYavlHd505D18om89fKKynIevlE3nr5RWU5D18om89fKKynIevlE3nr5RWU5D18om89fKKyj//Z');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(41, 98, 255, 0.3), transparent);
    z-index: 1;
    mix-blend-mode: overlay;
}

.about-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    overflow: hidden;
}

.about-section {
text-align: center;
margin-bottom: 4rem;
}

.about-section-header h2 {
    font-size: 2.5rem;
    color: #0066FF;
    margin-bottom: 1rem;
    text-align: center;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.about-grid, .facilities-grid, .achievements-grid, .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.about-card, .facility-card, .achievement-card, .team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-card:hover, .facility-card:hover, .team-card:hover {
    transform: translateY(-5px);
}

.about-card i, .facility-card i, .team-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-card h3, .facility-card h3, .team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-card p, .facility-card p, .team-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.facilities-section, .achievements-section, .team-section {
    margin: 4rem 0;
}

.facilities-section h2, .achievements-section h2, .team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.achievement-card {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem;
}

.achievement-card h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.achievement-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .about-hero-content h1 {
        font-size: 2.5rem;
    }

    .about-section h2, .facilities-section h2, .achievements-section h2, .team-section h2 {
        font-size: 2rem;
    }

    .about-grid, .facilities-grid, .achievements-grid, .team-grid {
        grid-template-columns: 1fr;
    }

    .achievement-card h3 {
        font-size: 2.5rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(rgba(41, 98, 255, 0.9), rgba(30, 136, 229, 0.9)), url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDABQODxIPDRQSEBIXFRQdHx4eHRoaHSQtJSAyTS1BNz8uQVVeZ0BXXmdSVV9wdnlzhIaImUlTaXJ5i5yCnqe0t7X/2wBDARUXFx4aHR4eHbVzXXN1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbX/wAARCABkAGQDASIAAhEBAxEB/8QAGgAAAwEBAQEAAAAAAAAAAAAAAAMEAgEGBf/EABoQAAMBAQEBAQAAAAAAAAAAAAABAgMREiEx/8QAGAEBAQEBAQAAAAAAAAAAAAAAAAECAwT/xAAZEQEBAQEBAQAAAAAAAAAAAAAAARECEjH/2gAMAwEAAhEDEQA/APHYWvlE2Gr5O7zp2GrxE2GrxGRNhq8RNhq8RkTYavETYavEZE2GrxE2GrxA9hq+UTYavlHd505D18om89fKKynIevlE3nr5RWU5D18om89fKKynIevlE3nr5RWU5D18om89fKKyj//Z');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 1;
    opacity: 0.3;
}

.contact-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info h2,
.contact-form h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-item p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

.contact-info .social-links {
    margin-top: 2rem;
}

.contact-form form {
    display: grid;
    gap: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.btn-submit {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background: var(--secondary-color);
}

.map-section {
    margin-top: 4rem;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
        max-width: 100%;
    }

    .hero-section {
        padding: 8rem 1rem 4rem;
    }

    .hero-content h2 {
        font-size: 2em;
    }

    .hero-features {
        gap: 2rem;
    }

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

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

@media (max-width: 768px) {
    /* General Styles */
    .container {
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }

    /* Header and Logo Styles */
    .header {
        padding: 0.5rem 0;
    }

    .logo img {
        width: 60px;
        height: 60px;
    }

    .logo-text h1 {
        font-size: 1.4rem;
    }

    .logo-text .slogan {
        font-size: 0.8em;
    }

    /* Mobile Navigation Styles */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 48px;
        height: 48px;
        right: 0;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }

    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 70px; /* Match the header height */
        padding-bottom: 2rem;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        margin-top: 3rem; /* Add space below the navbar */
    }

    .hero-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-features .feature {
        width: 100%;
        padding: 0.75rem;
    }

    /* Ensure the mobile menu doesn't overlap content when opened */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        z-index: 999;
        padding: 1rem;
        gap: 1rem;
        overflow-y: auto;
    }
    
    /* Hide shapes on mobile for better performance */
    .hero-shape {
        display: none;
    }

    /* Footer Styles */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section ul {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        padding: 1rem;
        text-align: center;
    }

    /* Course Section Styles */
    .courses-section {
        padding: 3rem 1rem;
    }

    .feat.course-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0;
    }
    
    .course-card {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
    
    .course-image {
        height: 180px;
    }
    
    .course-content {
        padding: 1.5rem 1rem;
    }
    
    .course-name {
        font-size: 1.5em;
        margin: 1rem 0 0.5rem;
    }

    .course-subtitle {
        font-size: 1em;
        margin-bottom: 1rem;
    }
    
    .course-features {
        margin: 1.5rem 0;
    }

    .course-features li {
        padding: 0.75rem 0;
        font-size: 0.95rem;
    }
    
    .course-details {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .course-details .price {
        text-align: center;
        font-size: 1.2rem;
    }
    
    .btn-enroll {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    /* Contact Section Styles */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info, .contact-form {
        padding: 1.5rem;
    }

    .contact-form form {
        gap: 1rem;
    }

    .contact-details {
        gap: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-item i {
        margin: 0;
        font-size: 1.8rem;
    }

    /* Features Grid Styles */
    .features-grid {
        flex-direction: column;
        padding: 0 1rem;
    }

    .feature-card {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Admin Controls for Courses */
.admin-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.course-card {
    position: relative;
    overflow: hidden;
}

.course-card:hover .admin-controls {
    opacity: 1;
}

.btn-delete-course {
    background: rgba(220, 53, 69, 0.8);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delete-course:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
}

/* For admin users only */
.admin-logged-in .admin-controls {
    display: flex !important;
}

/* General fixes for mobile overflow issues */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Ensure section widths don't exceed viewport */
    .hero-section,
    .courses-section,
    .why-us-section,
    .footer {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Fix for hero content */
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    /* Adjust hero features for small screens */
    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    /* Ensure course grid items stay in viewport */
    .feat.course-grid {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .course-box {
        width: 100%;
        max-width: 340px;
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        margin: 1.5rem 0;
    }
    
    .hero-features .feature {
        margin-bottom: 1rem;
    }
    
    .btn-explore {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Background pattern */
.pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: -1;
    background-image: radial-gradient(var(--primary-color) 2px, transparent 2px);
    background-size: 30px 30px;
}

/* Animated background bubbles */
.bg-bubble {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    animation: bubbleFloat 15s infinite linear;
    z-index: -1;
}

/* Create animated bubbles for hero section */
.hero-section::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Stars container */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.7);
    animation: twinkle 4s infinite ease-in-out;
    opacity: 0.7;
}

/* Enhanced institute showcase with gradient overlay */
.institute-showcase {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDABQODxIPDRQSEBIXFRQdHx4eHRoaHSQtJSAyTS1BNz8uQVVeZ0BXXmdSVV9wdnlzhIaImUlTaXJ5i5yCnqe0t7X/2wBDARUXFx4aHR4eHbVzXXN1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbX/wAARCABkAGQDASIAAhEBAxEB/8QAGgAAAwEBAQEAAAAAAAAAAAAAAAMEAgEGBf/EABoQAAMBAQEBAQAAAAAAAAAAAAABAgMREiEx/8QAGAEBAQEBAQAAAAAAAAAAAAAAAAECAwT/xAAZEQEBAQEBAQAAAAAAAAAAAAAAARECEjH/2gAMAwEAAhEDEQA/APHYWvlE2Gr5O7zp2GrxE2GrxGRNhq8RNhq8RkTYavETYavEZE2GrxE2GrxA9hq+UTYavlHd505D18om89fKKynIevlE3nr5RWU5D18om89fKKynIevlE3nr5RWU5D18om89fKKyj//Z');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    overflow: hidden;
}

.institute-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(41, 98, 255, 0.3), transparent 70%);
    z-index: 1;
    mix-blend-mode: overlay;
}

/* Enhanced about hero section */
.about-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDABQODxIPDRQSEBIXFRQdHx4eHRoaHSQtJSAyTS1BNz8uQVVeZ0BXXmdSVV9wdnlzhIaImUlTaXJ5i5yCnqe0t7X/2wBDARUXFx4aHR4eHbVzXXN1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbX/wAARCABkAGQDASIAAhEBAxEB/8QAGgAAAwEBAQEAAAAAAAAAAAAAAAMEAgEGBf/EABoQAAMBAQEBAQAAAAAAAAAAAAABAgMREiEx/8QAGAEBAQEBAQAAAAAAAAAAAAAAAAECAwT/xAAZEQEBAQEBAQAAAAAAAAAAAAAAARECEjH/2gAMAwEAAhEDEQA/APHYWvlE2Gr5O7zp2GrxE2GrxGRNhq8RNhq8RkTYavETYavEZE2GrxE2GrxA9hq+UTYavlHd505D18om89fKKynIevlE3nr5RWU5D18om89fKKynIevlE3nr5RWU5D18om89fKKyj//Z');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(41, 98, 255, 0.3), transparent);
    z-index: 1;
    mix-blend-mode: overlay;
}

/* Mobile menu toggle bar styling */
.mobile-menu-toggle .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile sidebar overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

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

/* Ensure button visibility on mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 48px;
        height: 48px;
        right: 0;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
    
    /* Ensure the toggle bars are visible */
    .mobile-menu-toggle .bar {
        display: block;
        width: 28px;
        height: 3px;
        margin: 5px 0;
        background-color: white;
    }
    
    /* Fixed positioning for header to ensure it stays at top */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--white);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    /* Ensure hero section starts below fixed header */
    .hero-section {
        padding-top: 80px;
    }
}

/* Hero background pattern */
.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox='0 0 84 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14 0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0-16h12v6H70V0zM28 32h12v6H28v-6zM14 16h12v6H14v-6zm0 8h12v6H14v-6zm14 0h12v6H28v-6zm14 8h12v6H42v-6zm-14 0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14 24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

/* Ensure mobile menu works correctly */
.mobile-menu-toggle {
    display: none; /* Ensure it's hidden on desktop */
    background: none;
    border: none;
    padding: 0.8rem;
    cursor: pointer;
    z-index: 1050;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(41, 98, 255, 0.1);
}

/* Mobile menu toggle bar styling - keep this code */
.mobile-menu-toggle .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Additional mobile styles */
@media (max-width: 768px) {
    /* Ensure menu toggle is visible on mobile */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    /* Style for the nav links on mobile */
    .nav-links {
        position: fixed;
        top: 70px; /* Header height */
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    
    /* When mobile menu is active, make overlay visible */
    .mobile-menu-toggle.active + .nav-links + .mobile-overlay,
    .nav-links.active + .mobile-overlay {
        opacity: 1;
        visibility: visible;
    }
}

/* Improve mobile toggle visibility */
.mobile-menu-toggle {
    display: none;
    background-color: rgba(41, 98, 255, 0.1);
    border: 2px solid rgba(41, 98, 255, 0.2);
    padding: 0.8rem;
    cursor: pointer;
    z-index: 1050;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle:hover {
    background-color: rgba(41, 98, 255, 0.2);
    transform: scale(1.05);
}

.mobile-menu-toggle .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Computer-related background elements */
.tech-element {
    position: absolute;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.tech-element.code {
    font-family: monospace;
    color: white;
    font-size: 16px;
    line-height: 1.4;
    white-space: nowrap;
    text-shadow: 0 0 5px rgba(41, 98, 255, 0.8);
    animation: codeScroll 20s linear infinite;
}

.tech-element.circuit {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M10 10 H 90 V 90 H 10 L 10 10' fill='none' stroke='%232962FF' stroke-width='1'/%3E%3Cpath d='M30 10 V 30 H 50 V 50 H 70 V 70 H 90' fill='none' stroke='%232962FF' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='3' fill='%232962FF'/%3E%3Ccircle cx='50' cy='50' r='3' fill='%232962FF'/%3E%3Ccircle cx='70' cy='70' r='3' fill='%232962FF'/%3E%3C/svg%3E");
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    animation: float 15s ease-in-out infinite alternate;
}

.tech-element.binary {
    font-family: monospace;
    color: white;
    font-size: 14px;
    line-height: 1.2;
    animation: fadeInOut 8s ease-in-out infinite;
}

/* Computer-related animations */
@keyframes codeScroll {
    from { transform: translateY(0); }
    to { transform: translateY(-100%); }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.2; }
}

@keyframes rotate3D {
    0% { transform: perspective(500px) rotateY(0deg) rotateX(0deg); }
    50% { transform: perspective(500px) rotateY(180deg) rotateX(30deg); }
    100% { transform: perspective(500px) rotateY(360deg) rotateX(0deg); }
}

/* Enhanced hero section with computer study related elements */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, 
        rgba(41, 98, 255, 0.92), 
        rgba(30, 136, 229, 0.92)), 
        url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDABQODxIPDRQSEBIXFRQdHx4eHRoaHSQtJSAyTS1BNz8uQVVeZ0BXXmdSVV9wdnlzhIaImUlTaXJ5i5yCnqe0t7X/2wBDARUXFx4aHR4eHbVzXXN1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbW1tbX/wAARCABkAGQDASIAAhEBAxEB/8QAGgAAAwEBAQEAAAAAAAAAAAAAAAMEAgEGBf/EABoQAAMBAQEBAQAAAAAAAAAAAAABAgMREiEx/8QAGAEBAQEBAQAAAAAAAAAAAAAAAAECAwT/xAAZEQEBAQEBAQAAAAAAAAAAAAAAARECEjH/2gAMAwEAAhEDEQA/APHYWvlE2Gr5O7zp2GrxE2GrxGRNhq8RNhq8RkTYavETYavEZE2GrxE2GrxA9hq+UTYavlHd505D18om89fKKynIevlE3nr5RWU5D18om89fKKynIevlE3nr5RWU5D18om89fKKyj//Z');
    background-size: cover;
    background-position: center;
    animation: gradientShift 15s ease infinite;
}

/* Add computer elements to hero section */
.hero-laptop {
    position: absolute;
    bottom: -30px;
    right: 5%;
    width: 200px;
    height: 120px;
    background-color: #333;
    border-radius: 10px 10px 0 0;
    transform: perspective(500px) rotateX(60deg);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 2;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.hero-laptop::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 30px;
    background: linear-gradient(45deg, #2962FF, #1E88E5);
    border-radius: 4px;
}

.hero-keyboard {
    position: absolute;
    bottom: -60px;
    right: 5%;
    width: 220px;
    height: 20px;
    background-color: #444;
    border-radius: 0 0 5px 5px;
    transform: perspective(500px) rotateX(70deg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    z-index: 1;
    opacity: 0.2;
}

.code-block {
    position: absolute;
    font-family: monospace;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-align: left;
    z-index: 1;
    opacity: 0.15;
    animation: codeGlow 4s ease-in-out infinite;
}

.code-block.left {
    top: 20%;
    left: 5%;
    transform: rotate(-5deg);
}

.code-block.right {
    bottom: 20%;
    right: 8%;
    transform: rotate(5deg);
}

@keyframes codeGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(41, 98, 255, 0.5); }
    50% { text-shadow: 0 0 15px rgba(41, 98, 255, 1); }
}

/* Enhanced courses section with tech elements */
.courses-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)), 
                url('data:image/svg+xml,%3Csvg width="64" height="64" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M8 16c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0-2c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zM33.414-6l5.95-5.95L45.95.636 40 6.586 34.05.636 32.636 2.05 38.586 8l-5.95 5.95 1.414 1.414L40 9.414l5.95 5.95 1.414-1.414L41.414 8zM40 48c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0-2c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zM9.414 40l5.95-5.95-1.414-1.414L8 38.586l-5.95-5.95L.636 34.05 6.586 40l-5.95 5.95 1.414 1.414L8 41.414l5.95 5.95 1.414-1.414L9.414 40z" fill="%232962FF" fill-opacity="0.05" fill-rule="evenodd"/%3E%3C/svg%3E');
    overflow: hidden;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(41, 98, 255, 0.05), transparent 80%),
                radial-gradient(circle at bottom left, rgba(30, 136, 229, 0.05), transparent 80%);
    z-index: -1;
}

/* Why us section with tech-themed graphics */
.why-us-section {
    position: relative;
    padding: 5rem 2rem;
    background: linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)), 
                url('data:image/svg+xml,%3Csvg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%232962FF" fill-opacity="0.06"%3E%3Cpath d="M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zm10-8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zM9.414 40l5.95-5.95-1.414-1.414L8 38.586l-5.95-5.95L.636 34.05 6.586 40l-5.95 5.95 1.414 1.414L8 41.414l5.95 5.95 1.414-1.414L9.414 40z" /%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.feature-card {
    position: relative;
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232962FF' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(41, 98, 255, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

/* Enhanced media query for mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-right: 0.5rem;
        width: 48px;
        height: 48px;
        background-color: rgba(41, 98, 255, 0.08);
        border: 1px solid rgba(41, 98, 255, 0.1);
    }
    
    .mobile-menu-toggle .bar {
        width: 26px;
        height: 3px;
        background-color: var(--primary-color);
        border-radius: 2px;
    }
    
    .header {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .hero-laptop, .hero-keyboard {
        display: none; /* Hide on mobile for performance */
    }
    
    .code-block {
        font-size: 10px;
        opacity: 0.1;
    }
}

/* Tech Elements Styling */
.tech-element {
    position: absolute;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

.tech-element.small {
    transform: scale(0.7);
}

.tech-element.circuit {
    width: 120px;
    height: 120px;
    background-image: url('../images/circuit-pattern.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.tech-element.code {
    width: 180px;
    height: 150px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    color: #0f0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    padding: 15px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
    overflow: hidden;
}

.tech-element.binary {
    font-family: 'Courier New', monospace;
    color: rgba(0, 200, 0, 0.7);
    font-size: 14px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.section-background-tech {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(100, 200, 255, 0.05) 0%, transparent 60%);
    z-index: 0;
    opacity: 0.7;
}

/* Courses Section Styling */
.courses-section {
    position: relative;
    padding: 80px 20px;
    background-color: #f9f9f9;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.2rem;
    position: relative;
    z-index: 2;
}

.course-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.course-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.course-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-header {
    margin-bottom: 1rem;
}

.course-header h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.course-header p {
    color: #555;
    font-size: 0.9rem;
}

.course-description {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.course-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-features li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: #555;
}

.course-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.course-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.duration, .price {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

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

.price p {
    margin: 0.25rem 0;
}

.btn-enroll {
    display: inline-block;
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 0.5rem;
}

.btn-enroll:hover {
    background-color: #1e56cc;
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Make hero section buttons more visible */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 1rem;
    z-index: 5;
    position: relative;
}

.btn-primary, 
.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 160px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(41, 98, 255, 0.4);
}

.btn-primary:hover {
    background-color: #1e56cc;
    border-color: #1e56cc;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(41, 98, 255, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .course-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        padding: 0 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 80%;
        padding: 0.85rem 1.5rem;
    }
}

.course-card.placeholder {
    min-height: 350px;
    background-color: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.shimmer {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        #f5f5f5 8%,
        #e9e9e9 18%,
        #f5f5f5 33%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Why Choose Us Section */
.why-choose-section {
    position: relative;
    padding: 80px 20px;
    background-color: #fff;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Mobile Menu Improvements */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        z-index: 998;
        padding: 1rem 0;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .nav-links a {
        padding: 1rem;
        display: block;
        border-bottom: 1px solid #f5f5f5;
    }
    
    .nav-cta {
        padding: 1rem 0;
    }
    
    .nav-cta a {
        display: inline-block;
        width: 80%;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 48px;
        height: 48px;
        background-color: rgba(41, 98, 255, 0.3);
        border-radius: 4px;
    }
    
    .mobile-menu-toggle .bar {
        width: 28px;
        height: 3px;
        margin: 4px 0;
        background-color: white;
    }
    
    .header {
        background-color: var(--primary-dark);
    }
    
    .logo-text h1,
    .logo-text .slogan {
        color: white;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-content {
        max-width: 100%;
        width: 90%;
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-features {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .feature {
        margin-bottom: 0.5rem;
    }
    
    /* Course cards on mobile */
    .course-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .course-card {
        max-width: 100%;
    }
    
    .course-image {
        height: 180px;
    }
}

/* Improve course card display */
.course-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 1.5rem;
}

.course-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Ensure the mobile toggle is visible and properly styled */
@media (max-width: 768px) {
    /* Fix header text visibility */
    .logo-text h1 {
        font-size: 1.2rem;
        color: var(--primary-color);
        margin: 0;
        line-height: 1.2;
        font-weight: 600;
        display: block;
    }
    
    .logo-text .slogan {
        font-size: 0.65rem;
        color: #666;
        display: block;
    }
    
    .logo img {
        width: 40px;
        height: 40px;
        margin-right: 0.5rem;
    }
    
    /* Improve mobile menu toggle visibility and positioning */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background-color: rgba(41, 98, 255, 0.15);
        border-radius: 8px;
        margin-left: auto;
        z-index: 1050;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
    }
    
    .mobile-menu-toggle .bar {
        display: block;
        width: 24px;
        height: 3px;
        margin: 3px 0;
        background-color: var(--primary-color);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    /* Better mobile menu positioning */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        z-index: 999;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 1rem;
        overflow-y: auto;
    }
    
    /* Fix overlay positioning and visibility */
    .mobile-overlay {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Fix hero section content alignment */
    .hero-section {
        padding-top: 90px !important;
        text-align: center;
    }
    
    .hero-content {
        padding: 1rem;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Fix hero features alignment and visibility */
    .hero-features {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin: 1.5rem auto;
        max-width: 100%;
    }
    
    .feature {
        width: 100px;
        height: 100px;
        padding: 0.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .feature-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0.5rem;
    }
    
    .feature span {
        font-size: 0.85rem;
        text-align: center;
        font-weight: 500;
        color: white;
    }
    
    /* Make sure the hero CTA (buttons) are visible */
    .hero-cta {
        display: flex;
        justify-content: center;
        margin: 1.5rem auto;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    /* Fix course container alignment */
    .course-container {
        padding: 0 1rem;
    }
    
    /* Fix course cards display */
    .course-card {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    /* Improve section title visibility */
    .section-title {
        font-size: 1.8rem;
        margin: 1.5rem 0;
        text-align: center;
    }
}

/* Fix visibility and alignment of feature cards in mobile view */
@media (max-width: 768px) {
    /* Hero feature cards specific fixes */
    .hero-features {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        margin: 1.5rem auto;
        max-width: 90%;
    }
    
    .hero-features .feature {
        width: 100px;
        height: 100px;
        padding: 0.7rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    .hero-features .feature-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0.5rem;
        filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    }
    
    .hero-features .feature span {
        font-size: 0.8rem;
        text-align: center;
        font-weight: 600;
        color: white;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    /* Ensure proper spacing between sections */
    .hero-section {
        margin-bottom: 2rem;
    }
    
    /* Improved course section appearance on mobile */
    .courses-section {
        padding: 2rem 0;
    }
    
    .section-title {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }
    
    .course-container {
        width: 100%;
        padding: 0 1rem;
    }
    
    .course-card {
        margin-bottom: 2rem;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }
    
    /* Ensure course images maintain aspect ratio */
    .course-image {
        height: 180px;
    }
    
    .course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Hero CTA buttons specific fixes */
@media (max-width: 768px) {
    /* Fix hero CTA buttons */
    .hero-cta {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin: 2rem auto 1rem;
        max-width: 95%;
        position: relative;
        z-index: 5;
    }
    
    .hero-cta a.btn-primary {
        display: inline-block;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        font-weight: 600;
        text-align: center;
        background-color: var(--primary-color);
        color: white;
        border-radius: 6px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(41, 98, 255, 0.3);
        transition: all 0.3s ease;
        border: none;
        min-width: 140px;
    }
    
    .hero-cta a.btn-primary:hover {
        background-color: #1E4FCC;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(41, 98, 255, 0.4);
    }
    
    .hero-cta a.btn-secondary {
        display: inline-block;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        font-weight: 600;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
        border-radius: 6px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        min-width: 140px;
    }
    
    .hero-cta a.btn-secondary:hover {
        background-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }
}

/* General mobile fixes for better alignment */
@media (max-width: 768px) {
    /* Ensure content containers have consistent padding */
    .container, 
    section > div:not(.hero-background):not(.particles-container):not(.svg-container) {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix section padding for better content flow */
    section {
        padding: 3rem 0;
    }
    
    /* Adjust spacing for elements */
    h1, h2, h3, h4, h5, h6 {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    p {
        margin-bottom: 1.5rem;
    }
    
    /* Improve contrast for text legibility */
    .hero-description {
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Ensure mobile-optimized button sizes */
    button, .btn {
        min-height: 44px; /* Minimum touch target size */
    }
    
    /* Fix spacing between sections */
    .courses-section {
        padding-top: 2rem;
    }
    
    /* Ensure proper spacing in course cards */
    .course-content {
        padding: 1.25rem;
    }
    
    .course-header h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .course-header p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    /* Ensure header stays fixed at the top */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    
    /* Give main content appropriate spacing from fixed header */
    main {
        padding-top: 70px;
    }
    
    /* In-page navigation account for fixed header offset */
    :target {
        scroll-margin-top: 80px;
    }
}

/* Remove the SVG arrows from hero section */
@media (max-width: 768px) {
    /* Fix hero section by removing overlapping content */
    .svg-container.tech-cube,
    .svg-container.tech-wave,
    .svg-container.circuit-pattern,
    .svg-container.digital-grid {
        display: none !important; /* Hide decorative elements that cause visual clutter */
    }

    /* Fix feature card spacing and appearance */
    .hero-features {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 2rem auto;
        max-width: 90%;
    }
    
    .hero-features .feature {
        width: 90px;
        height: 90px;
        padding: 0.6rem;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    /* Fix modal positioning to appear below header */
    .modal {
        padding-top: 80px; /* Ensures modal content starts below header */
    }
    
    .modal-content {
        position: relative;
        margin: 0 auto;
        width: 90%;
        max-width: 500px;
        border-radius: 12px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    }
    
    /* Fix header title for better alignment */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
        padding: 0 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    /* Ensure toggle menu is working properly */
    .nav-links.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Fix general spacing and alignment */
    .hero-section {
        padding-top: 80px !important;
        height: auto;
        min-height: 100vh;
        position: relative;
        z-index: 1;
    }
    
    .hero-content {
        margin-top: 1rem;
        padding: 1rem;
        max-width: 100%;
        z-index: 2;
        position: relative;
    }
}

/* Fix mobile navigation toggle functionality */
@media (max-width: 768px) {
    /* Basic styles for nav links container when inactive */
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem;
        z-index: 999;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    /* When active, display the navigation links */
    .nav-links.active {
        display: flex !important;
    }
    
    /* Style for each navigation list item */
    .nav-links li {
        width: 100%;
        margin: 0.5rem 0;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* Style for navigation links */
    .nav-links a {
        color: var(--text-color);
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        display: block;
        width: 100%;
        text-align: left;
    }
    
    /* Hover effect for navigation links */
    .nav-links a:hover {
        background-color: #f8f8f8;
        color: var(--primary-color);
    }
    
    /* Style for CTA buttons in navigation */
    .nav-cta {
        margin-top: 1rem;
    }
    
    .nav-cta a {
        display: block;
        text-align: center;
        padding: 0.75rem 1rem;
        margin: 0.5rem 0;
        border-radius: 6px;
    }
    
    /* Ensure toggle button is visible */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background-color: rgba(41, 98, 255, 0.15);
        border-radius: 8px;
        z-index: 1050;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        cursor: pointer;
    }
    
    /* Ensure bars in toggle are visible */
    .mobile-menu-toggle .bar {
        display: block;
        width: 24px;
        height: 3px;
        margin: 3px 0;
        background-color: var(--primary-color);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    /* Ensure overlay works correctly */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    /* Animation for hamburger to X */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Enhanced feature cards in hero section */
@media (max-width: 768px) {
    /* Hero section general layout */
    .hero-section {
        padding-top: 70px !important;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: relative;
        background: linear-gradient(to bottom, #1a3a8f, #0f2456);
        overflow: hidden;
    }
    
    /* More professional hero feature cards */
    .hero-features {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin: 1.5rem auto;
        max-width: 320px;
    }
    
    .hero-features .feature {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 12px;
        width: 90px;
        height: 90px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .hero-features .feature:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        background: rgba(255, 255, 255, 0.2);
    }
    
    .hero-features .feature-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 8px;
        filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    }
    
    .hero-features .feature span {
        font-size: 11px;
        font-weight: 600;
        color: white;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }
    
    /* Improved background with subtle animation */
    .hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, #1a3a8f, #0f2456);
        z-index: -1;
    }
    
    /* Improved CTA button */
    .hero-cta {
        margin: 2rem auto 1rem;
        display: flex;
        justify-content: center;
    }
    
    .btn-primary {
        background-color: var(--primary-color);
        color: white;
        font-weight: 600;
        padding: 0.9rem 2rem;
        border-radius: 30px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.9rem;
        box-shadow: 0 4px 15px rgba(41, 98, 255, 0.3);
        transition: all 0.3s ease;
    }
    
    .btn-primary:hover {
        background-color: #1e4fcc;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(41, 98, 255, 0.4);
    }
}

/* Professional feature cards styling and alignment */
@media (max-width: 768px) {
    /* Improved feature cards container */
    .hero-features {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
        margin: 2rem auto;
        max-width: 320px; /* Better contained width */
        padding: 0 1rem;
    }
    
    /* Professional styling for feature cards */
    .hero-features .feature {
        width: 85px;
        height: 85px;
        background: rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    /* Hover effect for feature cards */
    .hero-features .feature:hover {
        transform: translateY(-4px);
        background: rgba(255, 255, 255, 0.22);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    }
    
    /* Icon styling */
    .hero-features .feature-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 8px;
        filter: brightness(1.2) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    }
    
    /* Feature text styling */
    .hero-features .feature span {
        font-size: 10px;
        font-weight: 600;
        color: white;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        letter-spacing: 0.5px;
        text-transform: uppercase;
        text-align: center;
        line-height: 1.2;
        padding: 0 4px;
    }
    
    /* Equal sizing for all features */
    .hero-features .feature:nth-child(1),
    .hero-features .feature:nth-child(2),
    .hero-features .feature:nth-child(3) {
        width: 85px;
        height: 85px;
    }
    
    /* Remove any possible inconsistent styling */
    .feature {
        margin: 0 !important;
    }
    
    /* Better hero section layout */
    .hero-section {
        text-align: center;
        padding: 80px 0 40px !important;
    }
    
    /* Adjust content spacing */
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        margin: 0 auto;
    }
    
    /* Improved text readability */
    .hero-title,
    .hero-subtitle {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    /* Remove unwanted spacing */
    .feature::before,
    .feature::after {
        display: none;
    }
}

/* Center content and improve spacing for hero section */
@media (max-width: 768px) {
    /* Better distribution of hero section content */
    .hero-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh; /* Use viewport height for better scaling */
        padding: 80px 0 60px !important;
    }
    
    /* Improved hero title styling */
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
        text-align: center;
        font-weight: 700;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        text-align: center;
        max-width: 310px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: center;
        margin-bottom: 1.5rem;
        max-width: 310px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Ensure all three feature cards are displayed on a single row */
    .hero-features {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px; /* Slightly reduce the gap for better fit */
        margin: 1.5rem auto;
        max-width: 290px; /* Adjusted width for three cards to fit */
        padding: 0;
    }
    
    /* Slightly smaller cards for better fit */
    .hero-features .feature {
        width: 82px;
        height: 82px;
        padding: 8px;
        flex: 0 0 auto; /* Prevent cards from growing/shrinking */
    }
    
    /* Ensure all cards have same styling */
    .hero-features .feature:nth-child(3) {
        display: flex !important; /* Force display of 3rd card */
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Improved CTA spacing */
    .hero-cta {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }
}

/* Final polish for feature cards styling */
@media (max-width: 768px) {
    /* More professional feature card appearance */
    .hero-features .feature {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }
    
    /* Enhanced hover effect */
    .hero-features .feature:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }
    
    /* Better icon styling */
    .hero-features .feature-icon {
        width: 26px;
        height: 26px;
        margin-bottom: 6px;
        filter: brightness(1.1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
        opacity: 0.95;
    }
    
    /* Improved text styling for better readability */
    .hero-features .feature span {
        font-size: 9px;
        font-weight: 700;
        color: white;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        letter-spacing: 0.3px;
        text-transform: uppercase;
        line-height: 1.1;
        max-width: 100%;
        display: block;
    }
    
    /* Ensure hero section has a clean background */
    .hero-section {
        background: linear-gradient(to bottom, #1B3C91, #0E2050);
        position: relative;
        overflow: hidden;
    }
    
    /* Subtle animation for a more professional look */
    .hero-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 70% 30%, rgba(41, 98, 255, 0.3) 0%, transparent 70%);
        z-index: 1;
    }
    
    /* Ensure content is above the background */
    .hero-content {
        position: relative;
        z-index: 2;
    }
    
    /* Better spacing of elements */
    .hero-features {
        margin: 1.75rem auto;
    }
}

/* Larger, more professional feature cards */
@media (max-width: 768px) {
    /* Increased size for feature cards and improved container */
    .hero-features {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin: 2rem auto;
        max-width: 350px;
        padding: 0;
    }
    
    /* Larger feature cards with improved styling */
    .hero-features .feature {
        width: 100px;
        height: 100px;
        background: rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        padding: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    /* Improved hover effect for larger cards */
    .hero-features .feature:hover {
        transform: translateY(-4px);
        background: rgba(255, 255, 255, 0.22);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    }
    
    /* Larger icons for better visibility */
    .hero-features .feature-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 10px;
        filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
    }
    
    /* Larger text for better readability */
    .hero-features .feature span {
        font-size: 11px;
        font-weight: 700;
        color: rgb(255, 255, 255);
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        letter-spacing: 0.5px;
        text-transform: uppercase;
        line-height: 1.2;
    }
    
    /* Apply consistent sizing to all feature cards */
    .hero-features .feature:nth-child(1),
    .hero-features .feature:nth-child(2),
    .hero-features .feature:nth-child(3) {
        width: 100px;
        height: 100px;
    }
}

/* Final refinements for larger feature cards */
@media (max-width: 768px) {
    /* Adjust container for larger cards */
    .hero-features {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        margin: 2rem auto;
        max-width: 370px; /* Wider container for larger cards */
        padding: 0 1rem;
    }
    
    /* Refined larger cards with improved style */
    .hero-features .feature {
        width: 100px;
        height: 100px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        overflow: hidden;
        position: relative;
        transition: all 0.3s ease;
    }
    
    /* Add subtle glow effect */
    .hero-features .feature::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
        pointer-events: none;
    }
    
    /* Improved icons for larger cards */
    .hero-features .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
        filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        z-index: 2;
    }
    
    /* Better text styling for larger cards */
    .hero-features .feature span {
        font-size: 12px;
        font-weight: 700;
        color: white;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        letter-spacing: 0.6px;
        text-transform: uppercase;
        text-align: center;
        z-index: 2;
        max-width: 90%;
        line-height: 1.2;
    }
    
    /* Enhanced hover effect for larger cards */
    .hero-features .feature:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }
    
    /* Override any conflicting styles */
    .hero-features .feature,
    .hero-features .feature:nth-child(1),
    .hero-features .feature:nth-child(2),
    .hero-features .feature:nth-child(3) {
        width: 100px !important;
        height: 100px !important;
        flex-shrink: 0;
        margin: 0 !important;
    }
    
    /* Adjust spacing for feature cards area */
    .hero-content {
        padding-bottom: 1rem;
    }
}

/* Larger professional feature cards */
@media (max-width: 768px) {
    /* Larger feature cards with improved spacing */
    .hero-features .feature,
    .hero-features .feature:nth-child(1),
    .hero-features .feature:nth-child(2),
    .hero-features .feature:nth-child(3) {
        width: 120px !important;
        height: 120px !important;
        border-radius: 18px;
        margin: 0 !important;
        padding: 15px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        background: rgba(255, 255, 255, 0.22);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1.5px solid rgba(255, 255, 255, 0.35);
    }
    
    /* Larger container to fit bigger cards */
    .hero-features {
        max-width: 400px;
        gap: 25px;
        margin-top: 2.5rem;
        margin-bottom: 2.5rem;
    }
    
    /* Larger icons for bigger cards */
    .hero-features .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 15px;
        filter: brightness(1.2) drop-shadow(0 3px 5px rgba(0, 0, 0, 0.25));
    }
    
    /* Improved text for larger cards */
    .hero-features .feature span {
        font-size: 14px;
        font-weight: 700;
        color: rgb(255, 255, 255);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        letter-spacing: 0.7px;
        max-width: 100px;
        padding: 0 5px;
    }
    
    /* Enhanced hover effects for bigger cards */
    .hero-features .feature:hover {
        transform: translateY(-7px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
        background: rgba(255, 255, 255, 0.28);
        border: 1.5px solid rgba(255, 255, 255, 0.45);
    }
}

/* Final layout adjustments for larger feature cards */
@media (max-width: 768px) {
    /* Adjust vertical spacing for content alignment */
    .hero-content {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }
    
    /* Better vertical distribution */
    .hero-section {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Enhanced feature card container */
    .hero-features {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        margin: 2rem auto;
    }
    
    /* Refine feature card styling for vertical layout */
    .hero-features .feature,
    .hero-features .feature:nth-child(1),
    .hero-features .feature:nth-child(2),
    .hero-features .feature:nth-child(3) {
        width: 130px !important;
        height: 130px !important;
        border-radius: 20px;
        margin: 0 !important;
        padding: 20px !important;
    }
    
    /* Larger icons for improved visibility */
    .hero-features .feature-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 15px;
    }
    
    /* Improved text styling for larger cards */
    .hero-features .feature span {
        font-size: 15px;
        max-width: 100%;
        line-height: 1.3;
    }
    
    /* Adjust contact button position */
    .hero-cta {
        margin-top: 2rem;
    }
    
    /* Contact button styling */
    .hero-cta .btn-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 50px;
    }
}

@media (max-width: 768px) {
    /* Instructor feature card styling */
    .hero-features .feature.instructor {
        background: linear-gradient(165deg, rgba(80, 120, 200, 0.85), rgba(60, 80, 180, 0.85));
        border: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .hero-features .feature.instructor::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 70%);
        pointer-events: none;
    }
    
    .hero-features .feature.instructor .feature-icon {
        background-color: #2c2c2c;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        border: 2px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
    }
    
    .hero-features .feature.instructor .feature-icon img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }
    
    .hero-features .feature.instructor span {
        color: white;
        font-weight: 700;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
        letter-spacing: 0.5px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    /* Feature card styling - vertical stack layout */
    .hero-features {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 2rem auto;
    }
    
    /* Common styling for all feature cards */
    .hero-features .feature {
        width: 140px !important;
        height: 140px !important;
        background-color: rgba(52, 86, 153, 0.85);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px !important;
        margin: 0 !important;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.15);
        text-align: center;
    }
    
    /* Subtle overlay effect */
    .hero-features .feature::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
        pointer-events: none;
    }
    
    /* SVG icon styling */
    .hero-features .feature-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 15px;
        opacity: 1;
        filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    }
    
    /* Text styling */
    .hero-features .feature span {
        color: white;
        font-weight: 700;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        text-align: center;
        max-width: 90%;
        line-height: 1.3;
    }
    
    /* Hover effect */
    .hero-features .feature:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
    }
}

/* Modern Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    z-index: 1050;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mobile-menu-toggle:hover {
    background-color: #1e4fcc;
    transform: scale(1.05);
}

.mobile-menu-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 3px 0;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

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

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.mobile-overlay.active {
    opacity: 1;
    display: block;
}

@media (max-width: 768px) {
    /* Show mobile toggle button */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile navigation links styling */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 2rem 2rem;
        z-index: 1045;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .nav-links a {
        padding: 1rem;
        font-size: 1.1rem;
        display: block;
        width: 100%;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background-color: rgba(41, 98, 255, 0.1);
    }
    
    /* Login/Register button styling for mobile */
    .nav-links .nav-cta {
        margin-top: 1rem;
    }
    
    .nav-links .btn-login,
    .nav-links .btn-register {
        width: 100%;
        padding: 0.8rem;
        margin: 0.5rem 0;
        text-align: center;
    }
    
    /* Ensure header stays above the overlay */
    .header {
        position: relative;
        z-index: 1050;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Student Testimonials */
.testimonials-section {
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
    padding: 30px 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s ease;
}

.testimonial-card {
    min-width: 350px;
    margin: 0 15px;
    padding: 25px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex: 0 0 calc(33.333% - 30px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
}

.testimonial-avatar i {
    font-size: 18px;
    color: #555;
}

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

.testimonial-author {
    flex: 1;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 8px;
    font-size: 14px;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-content {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.testimonial-course {
    display: inline-block;
    font-size: 12px;
    background-color: rgba(41, 98, 255, 0.08);
    color: var(--primary-color);
    padding: 3px 12px;
    border-radius: 30px;
    margin-top: 5px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--primary-color);
    width: 20px;
    border-radius: 10px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #555;
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    color: white;
}

.slider-arrow.prev {
    left: 5px;
}

.slider-arrow.next {
    right: 5px;
}

.read-more-btn, .write-review-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    margin-right: 10px;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.read-more-btn {
    background-color: #3498db;
    color: white !important;
}

.write-review-btn {
    background-color: #27ae60;
    color: white !important;
}

.read-more-btn:hover, .write-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.review-buttons {
    text-align: center;
    margin-top: 25px;
}

@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(100% - 30px);
        min-width: 280px;
        margin: 0 auto;
        padding: 18px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    
    .testimonial-content {
        font-size: 13px;
        line-height: 1.5;
        max-height: 120px;
        overflow-y: auto;
        padding-right: 5px;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
    
    .testimonial-header {
        margin-bottom: 8px;
    }
    
    .testimonial-rating {
        margin-bottom: 6px;
    }
    
    .testimonials-section {
        padding: 60px 0 50px;
    }
    
    .testimonials-section .section-title {
        margin-bottom: 25px;
        font-size: 24px;
        padding-bottom: 10px;
        position: relative;
    }
    
    .testimonials-section .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background-color: var(--primary-color);
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
    }
    
    .slider-arrow.prev {
        left: -10px;
    }
    
    .slider-arrow.next {
        right: -10px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        min-width: 260px;
        padding: 15px;
        margin: 0 5px;
    }
    
    .testimonial-content {
        font-size: 12px;
        line-height: 1.4;
        max-height: 100px;
    }
    
    .testimonial-avatar {
        width: 35px;
        height: 35px;
    }
    
    .testimonial-author h4 {
        font-size: 14px;
    }
    
    .testimonial-course {
        font-size: 11px;
        padding: 2px 8px;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
    }
    
    .slider-arrow.prev {
        left: -10px;
    }
    
    .slider-arrow.next {
        right: -10px;
    }
}

/* View More Container for Courses Section */
.view-more-container {
    margin-top: 2rem;
    text-align: center;
}

.view-more-container .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.view-more-container .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Improved Responsive Styles for all pages */
@media (max-width: 1024px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 10px 15px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .logo-text .slogan {
        font-size: 11px;
    }
    
    .nav-links li {
        margin: 0 8px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .section-header p {
        font-size: 16px;
        padding: 0 30px;
    }
    
    /* General grid layouts */
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-container {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .header {
        padding: 5px 0;
    }
    
    .navbar {
        padding: 0 15px;
    }
    
    .logo img {
        width: 50px;
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .logo-text .slogan {
        font-size: 10px;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        width: 80%;
        height: 100vh;
        padding: 80px 20px;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        align-items: flex-start;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-links li a {
        display: block;
        padding: 8px 0;
        font-size: 16px;
    }
    
    .mobile-overlay.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .nav-cta {
        margin: 10px 0;
        width: 100%;
    }
    
    .btn-login, .btn-register {
        display: block;
        text-align: center;
        margin: 5px 0;
    }
    
    .page-banner {
        padding: 100px 0 30px;
    }
    
    .page-banner h1 {
        font-size: 26px;
    }
    
    .page-banner h1::after {
        width: 60px;
    }
    
    .breadcrumbs {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    /* Form elements */
    input, select, textarea, button {
        font-size: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    /* Buttons */
    .btn, button.btn {
        padding: 10px 20px;
        font-size: 15px;
    }
    
    /* Sections spacing */
    .section {
        padding: 40px 0;
    }
    
    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .logo img {
        width: 45px;
        height: 45px;
        margin-right: 0;
    }
    
    .logo-text h1 {
        font-size: 16px;
        line-height: 1.2;
    }
    
    .logo-text .slogan {
        font-size: 9px;
        line-height: 1;
    }
    
    .page-banner {
        padding: 90px 0 25px;
    }
    
    // ... existing code ...
}

@media (max-width: 576px) {
    // ... existing code ...
    
    .logo img {
        width: 45px;
        height: 45px;
        margin-right: 0;
    }
    
    .logo-text h1 {
        font-size: 16px;
        line-height: 1.2;
    }
    
    .logo-text .slogan {
        font-size: 9px;
        line-height: 1;
        display: block;
    }
    
    // ... existing code ...
}

@media (max-width: 480px) {
    .logo-text .slogan {
        display: block;
        font-size: 8px;
    }
    
    // ... existing code ...
}

/* Slider arrow styling for mobile devices */
@media (max-width: 768px) {
    .testimonials-slider {
        padding: 0 30px;
        margin: 0;
        position: relative;
        overflow: visible;
    }
    
    .testimonials-track {
        padding: 15px 0;
    }
    
    .testimonial-card {
        padding: 18px 15px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        width: calc(100% - 30px);
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .testimonial-content {
        padding-right: 5px;
        max-height: 120px;
        overflow-y: auto;
        font-size: 13px;
        line-height: 1.5;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        top: 45%;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #2962FF;
        position: absolute;
    }
    
    .slider-arrow.prev {
        left: -5px;
    }
    
    .slider-arrow.next {
        right: -5px;
    }
    
    .slider-controls {
        margin-top: 15px;
    }
    
    .slider-dot {
        width: 6px;
        height: 6px;
        margin: 0 3px;
    }
    
    .slider-dot.active {
        width: 16px;
    }
    
    .review-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin-top: 25px;
    }
    
    .read-more-btn, .write-review-btn {
        width: 90%;
        max-width: 280px;
        margin: 0;
        text-align: center;
        padding: 12px 15px;
        border-radius: 5px;
        font-weight: 500;
        font-size: 15px;
        display: block;
        box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    }
    
    .read-more-btn:active, .write-review-btn:active {
        transform: translateY(1px);
    }
    
    .testimonials-section {
        padding: 50px 0 40px;
    }
    
    .testimonials-section .section-title {
        margin-bottom: 25px;
        padding-bottom: 8px;
    }
    
    /* Fix for review modal on mobile */
    .reviews-modal {
        z-index: 2000;
    }
    
    .reviews-modal-content {
        padding: 15px;
        width: 95%;
        max-height: 85vh;
    }
}

/* Add FAQ section styles to improve appearance and functionality */

/* FAQ Section Styles */
.faq-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background-color: #fff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 18px 20px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f8ff;
}

.faq-question:hover h3 {
    color: var(--primary-color);
}

.faq-question:hover i {
    transform: translateY(-2px);
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
    transition: color 0.2s ease;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 16px;
    transition: transform 0.3s ease, color 0.2s ease;
}

.faq-item.active .faq-question {
    background-color: var(--primary-color);
}

.faq-item.active .faq-question h3 {
    color: #fff;
}

.faq-item.active .faq-question i {
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fff;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px; /* Large enough to show content */
}

.faq-answer p {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.6;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .faq-question h3 {
        font-size: 15px;
    }
    
    .faq-question {
        padding: 15px;
    }
}

/* Cookie Notice Styling */
.cookie-notice {
    display: none; /* Hide by default */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(33, 37, 41, 0.95);
    color: #fff;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    padding: 12px 20px;
    transition: transform 0.3s ease-in-out;
}

.cookie-notice.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.btn-cookie {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-cookie:hover {
    background-color: #1d4ed8;
}

/* Enrollment Modal Styling */
.enrollment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-in-out;
}

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

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #333;
}

.modal-content h2 {
    margin-top: 0;
    color: #2563eb;
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-content p {
    margin-bottom: 25px;
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
}

.btn-cancel {
    background-color: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.btn-cancel:hover {
    background-color: #e5e7eb;
}

.enroll-btn {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    flex: 2;
}

.enroll-btn:hover {
    background-color: #1d4ed8;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-cancel, .enroll-btn {
        width: 100%;
    }
}

/* Reduce space between header and hero section */
.hero-section {
    padding-top: 30px !important;
    margin-top: 0 !important;
}

/* Adjust main content to have no extra padding */
main {
    padding-top: 0 !important;
}

/* When banner is present */
body:has(.announcement-banner) main {
    padding-top: 0 !important;
}
