/* ========== RESET AND BASE STYLES ========== */



/* Fix font family issues */
.success-stories-intro,
.success-quote,
.success-course,
.success-placement,
.success-story-text p,
.success-story-text span {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.apply-heading p,
.institute-tagline,
.footer-description,
.footer-column ul li a,
.contact-item span,
.copyright p,
.legal-link {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Fix form text */
.apply-form h3,
.form-group label,
.form-group input,
.form-group select,
.submit-btn,
.login-redirect p,
.login-redirect a {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Remove Orbitron from video section text */
.video-slideshow-container h3 {
    font-family: 'Playfair Display', Georgia, serif !important;
}

/* Keep Orbitron only where you want it */
.nav-menu {
    font-family: Orbitron !important;
    /* Keep for navigation */
}

/* For specific headings you want in Orbitron */
.course-title,
.filter-header h3,
.details-btn,
.pagination-btn,
.page-number {
    font-family: 'Orbitron', sans-serif !important;
    /* Keep for specific elements */
}

/* Ensure body font is consistent */
body {
    font-family: 'Playfair Display', Georgia, serif !important;
}

/* Success stories specific fixes */
.success-story-text *:not(.success-stats .stat-value) {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.success-stats .stat-value {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 700;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Playfair Display', Georgia, serif;
    background-color: #fffaf0;
    color: black;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #8b6914;
}

h1 {
    font-size: 2.5rem;
    text-transform: none;
}

h2 {
    font-size: 2rem;

    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: none;
}

/* ========== COMPACT NAVBAR ========== */
/* ========== NAVBAR SCROLL EFFECT ========== */

/* ========== NAVBAR SCROLL EFFECT ========== */
/* ========== NAVBAR SCROLL EFFECT ========== */
/* ========== NAVBAR SCROLL EFFECT ========== */
.navbar.scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: #ffffffe0 !important;
    /* Black text on dark background = invisible */
}

.navbar.scrolled .nav-logo h1 {
    color: #ffffff !important;
    /* Black text on dark background = invisible */
}

.navbar.scrolled .nav-link:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #8b6914 !important;
    /* Golden color on hover so it's visible */
}

.navbar.scrolled .apply-now-button {
    background: linear-gradient(135deg, #8b6914 0%, #daa520 100%);
    color: white;
}

/* Black navbar for about and courses pages */
.navbar.default-black {
    background: rgba(216, 215, 215, 0.95) !important;
}

.navbar.default-black .nav-link {
    color: #000000 !important;
    /* Black text on white background = visible */
}

.navbar.default-black .nav-logo h1 {
    color: #000000 !important;
    /* Black text on white background = visible */
}

.navbar.default-black .nav-link:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #8b6914 !important;
}

.navbar.default-black .apply-now-button {
    background: linear-gradient(135deg, #8b6914 0%, #daa520 100%);
    color: white;
}

/* Base navbar styles - transparent text for home page */
.navbar .nav-link {
    color: white !important;
    /* Invisible on home page */
}

.navbar .nav-logo h1 {
    color: white !important;
    /* Invisible on home page */
}

.navbar .mobile-nav-toggle span {
    background-color: transparent !important;
    /* Invisible on home page */
}

/* Mobile menu styles */
@media screen and (max-width: 768px) {
    .nav-menu {
        background: linear-gradient(135deg, #000000 0%, #000000 100%);
    }

    .nav-menu .nav-link {
        color: rgb(255, 255, 255) !important;
        /* Visible in mobile menu */
    }
}

.navbar {
    background: transparent;
    padding: 5px 0;
    box-shadow: 0 1px 5px rgba(139, 105, 20, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 100%;
}

/* Center the navigation menu */
.nav-menu {
    display: flex;
    gap: 15px;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0 20px;
    font-family: Orbitron;

}

/* Push the logo to the left and button to the right */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgb(0, 0, 0);
    flex-shrink: 0;
}

/* Keep the rest of your CSS the same */
.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.nav-logo h1 {
    font-size: 24px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: rgb(255, 255, 255);
    text-transform: none;
    letter-spacing: 0.5px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.nav-link {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 500;
    font-size: 17px;
    transition: all 0.3s ease;
    padding: 4px 10px;
    border-radius: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.apply-now-button {
    background: linear-gradient(135deg, #e6ab17 0%, #e1a716 100%);
    color: rgb(0, 0, 0);
    border: none;
    padding: 4px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
    box-shadow: 0 3px 10px rgba(184, 134, 11, 0.3);
    font-size: 17px;
    white-space: nowrap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    flex-shrink: 0;
}

.apply-now-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.4);
}

/* ========== MOBILE NAVIGATION FIXES ========== */
/* ========== MOBILE NAVIGATION - 100% WORKING ========== */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: fixed;
    top: 25px;
    right: 20px;
}

.mobile-nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* MOBILE MENU STYLES */
@media screen and (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }

    /* HIDE DESKTOP NAV MENU */
    .nav-menu {
        display: none !important;
    }

    /* SHOW MOBILE MENU */
    .nav-menu.mobile-active {
        display: flex !important;
        position: fixed;
        top: 80px;
        left: 0 !important;
        right: 0 !important;
        flex-direction: column;
        background: #000000;
        width: 100% !important;
        height: calc(100vh - 80px);
        padding: 40px 20px;
        justify-content: flex-start;
        gap: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        z-index: 999;
        transition: all 0.3s ease-in-out;
    }

    /* NAV LINKS IN MOBILE MENU */
    .nav-menu.mobile-active .nav-link {
        display: block !important;
        font-size: 18px;
        padding: 15px 20px;
        width: 100%;
        text-align: left;
        border-radius: 8px;
        color: white !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        text-decoration: none !important;
    }

    .nav-menu.mobile-active .nav-link:hover {
        background: rgba(139, 105, 20, 0.2) !important;
        color: #daa520 !important;
        transform: translateX(5px);
    }

    /* APPLY BUTTON IN MOBILE MENU */
    .nav-menu.mobile-active .apply-now-button {
        display: block !important;
        margin: 20px 0 0 0;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
        background: linear-gradient(135deg, #8b6914 0%, #daa520 100%);
        color: white;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
    }

    /* PREVENT BODY SCROLL */
    body.menu-open {
        overflow: hidden;
    }

    /* ENSURE TOGGLE IS VISIBLE */
    .mobile-nav-toggle span {
        background-color: white !important;
    }
}

/* EXTRA SMALL DEVICES */
@media screen and (max-width: 480px) {
    .nav-menu.mobile-active {
        width: 100%;
    }

    .mobile-nav-toggle {
        right: 15px;
        top: 20px;
    }
}

/* ========== SLIDESHOW SECTION - KEEP DESKTOP APPEARANCE ========== */
.slideshow-section {
    margin-top: 80px;
    /* Push below navbar */
    width: 100%;
    height: 75vh;
    max-height: 600px;
    position: relative;
    overflow: hidden;
    padding: 0 !important;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    background-color: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
}

/* ========== MARQUEE SECTION - CONSISTENT SPACING ========== */
.marquee-row {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #0a0a0a;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    margin-top: 25px;
}

.marquee-block {
    width: max-content;
    display: flex;
}

.marquee-item-list {
    display: flex;
    list-style: none;
    animation: marquee 90s linear infinite;
    padding: 0;
    margin: 0;
}

.marquee-item-list li {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 30px;
    font-size: 16px;
    font-weight: 500;
    color: white;
}

.img-fluid {
    width: 20px;
    height: 18px;
    margin-right: 10px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause animation on hover */
.marquee-row:hover .marquee-item-list {
    animation-play-state: paused;
}

/* Mobile adjustments - REDUCED SPACING */
@media (max-width: 768px) {
    .slideshow-section {
        margin-top: 30px;
        /* Reduced from 40px */
        height: 45vh;
        max-height: 350px;
    }

    .marquee-row {
        margin-top: 3px;
        /* Reduced from 5px */
    }
}

@media (max-width: 480px) {
    .slideshow-section {
        margin-top: 40px;
        /* Reduced from 60px */
        height: 40vh;
        max-height: 300px;
    }

    .marquee-row {
        margin-top: 2px;
        /* Reduced from 5px */
    }

    .marquee-item-list li {
        font-size: 14px;
        padding: 0 15px;
    }
}

/* ========== ABOUT SECTION ========== */
.about-section {
    padding: 60px 20px;
    background: hsl(0, 8%, 88%);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-container h2 {
    color: #c27f03d1;
    font-size: 32px;
    margin-top: 30px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.about-slideshow {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(139, 105, 20, 0.1);
    height: 450px;
}

.about-slides-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-slide.active {
    opacity: 1;
}

.about-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 105, 20, 0.8);
    color: rgb(0, 0, 0);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.about-slide-btn:hover {
    background: rgba(184, 134, 11, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.about-prev-btn {
    left: 15px;
}

.about-next-btn {
    right: 15px;
}

.about-slide-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.about-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-indicator.active {
    background: #daa520;
    transform: scale(1.2);
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-width: 80%;
    /* Reduce width of paragraph container */
    margin: 0 auto;
    /* Center the text block */
}

.about-text h4 {
    color: #8b6914;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-text p {
    color: #7d6b3a;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: justify;
    /* Straight alignment on both sides */
    text-justify: inter-word;
    /* Better word spacing */
    word-spacing: 0.5px;
    /* Improve word spacing */
    hyphens: auto;
    /* Enable hyphenation */
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #f0e68c;
    text-align: center;
    /* Center align stats */
}

.stat {
    text-align: center;
    padding: 15px 10px;
}

.stat h3 {
    color: #8b6914;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
    /* Better number alignment */
}

.stat p {
    color: #7d6b3a;
    font-size: 13px;
    margin: 0;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    /* Center align text */
    line-height: 1.3;
    /* Better text alignment */
    padding: 0 5px;
    /* Add small padding */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-text {
        max-width: 95%;
        /* Slightly wider on mobile */
    }

    .about-text p {
        text-align: left;
        /* Left align on mobile for better readability */
        text-justify: auto;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat {
        padding: 12px 5px;
    }
}

/* ========== APPLY SECTION ========== */
.apply-section {
    padding: 60px 20px;
    background: whitesmoke;
}

.apply-container {
    max-width: 1200px;
    margin: 0 auto;
}

.apply-heading {
    text-align: center;
    margin-bottom: 50px;
}

.apply-heading h2 {
    color: #bc991c;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Playfair Display', Georgia, serif;
}

.apply-heading p {
    color: #000000;
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.apply-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.apply-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(139, 105, 20, 0.1);
    height: 600px;
}

.institute-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.apply-image:hover .institute-img {
    transform: scale(1.05);
}

.image-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    color: white;
    padding: 25px 20px;
    z-index: 2;
    background: linear-gradient(transparent, rgba(139, 105, 20, 0.8));
}

/* ========== IMAGE TEXT CONTENT ========== */
.image-text-content {
    text-align: center;
    margin-top: 20px;
    padding: 0 20px;
}

.institute-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #8b6914;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.institute-tagline {
    font-size: 20px;
    color: #000000;
    font-style: italic;
    line-height: 1.5;
}

/* Remove the overlay styles since text is now outside */
.image-text-overlay {
    display: none;
}

/* ========== FORM STYLES ========== */
.apply-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.apply-form {
    background: white;
    padding: 20px 18px;
    /* Further reduced */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(139, 105, 20, 0.1);
    border: 2px solid #f0e68c;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Further reduced */
    min-height: 420px;
    /* Further reduced */
}

.apply-form h3 {
    color: #8b6914;
    font-size: 20px;
    /* Slightly smaller */
    margin-bottom: 3px;
    /* Reduced */
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 8px;
    /* Further reduced */
    border-bottom: 2px solid #f0e68c;
}

.form-group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    /* Further reduced */
    font-weight: 600;
    color: #8b6914;
    font-size: 13px;
    /* Slightly smaller */
    font-family: 'eurostile round extend', sans-serif;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    /* Further reduced */
    border: 2px solid #f0e68c;
    border-radius: 8px;
    font-size: 14px;
    /* Slightly smaller */
    transition: all 0.3s ease;
    background: white;
    font-family: 'eurostile round extend', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #daa520;
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.15);
    outline: none;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #8b6914 0%, #daa520 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    /* Further reduced */
    border-radius: 8px;
    font-size: 15px;
    /* Slightly smaller */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(139, 105, 20, 0.3);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 4px;
    /* Further reduced */
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 105, 20, 0.4);
    background: linear-gradient(135deg, #7a5a10 0%, #c6951c 100%);
}

/* Login Redirect */
.login-redirect {
    text-align: center;
    margin-top: 8px;
    /* Further reduced */
    padding-top: 10px;
    /* Further reduced */
    border-top: 1px solid #eee;
}

.login-redirect p {
    color: #666;
    font-size: 13px;
    /* Slightly smaller */
    margin: 0;
}

.login-redirect a {
    color: #8b6914;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.login-redirect a:hover {
    color: #daa520;
    text-decoration: underline;
}

/* ========== COURSES SECTION ========== */
.courses-section {
    padding: 80px 20px;
    background: rgb(227, 223, 223);
}

.courses-container {
    max-width: 1200px;
    margin: 0 auto;
}

.courses-container h2 {
    color: #8b6914;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.courses-intro {
    color: #7d6b3a;
    font-size: 18px;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(139, 105, 20, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #f0e68c;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 105, 20, 0.15);
    border-color: #daa520;
}

/* FIXED Image Slider Styles - SIMPLE VERSION */
.course-image-slider {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    /* Fallback background */
}

.slider-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slider-track {
    height: 100%;
    position: relative;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.course-card:hover .slide img {
    transform: scale(1.05);
}

.slider-indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    color: #8b6914;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-content p {
    color: #7d6b3a;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.learn-more-btn {
    background: linear-gradient(135deg, #8b6914 0%, #daa520 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 105, 20, 0.3);
}

/* Course Modal Styles */
.course-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.course-modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(139, 105, 20, 0.3);
    border: 3px solid #f0e68c;
}

.course-modal-content h2 {
    color: #8b6914;
    margin-bottom: 20px;
    text-align: center;
}

.course-modal-content p {
    color: #7d6b3a;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 16px;
}

.course-modal-content h3 {
    color: #8b6914;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0e68c;
    padding-bottom: 8px;
}

.course-modal-content ul {
    color: #7d6b3a;
    padding-left: 20px;
}

.course-modal-content li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #8b6914;
    font-weight: bold;
}

.enroll-now-btn {
    background: linear-gradient(135deg, #8b6914 0%, #daa520 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 25px;
    width: 100%;
    transition: all 0.3s ease;
}

.enroll-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 105, 20, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .course-image-slider {
        height: 180px;
    }

    .courses-container h2 {
        font-size: 28px;
    }

    .courses-intro {
        font-size: 16px;
    }
}

/* Success Popup Styles */
.success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    animation: fadeIn 0.3s ease;
}

.success-popup-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid #28a745;
    animation: popIn 0.4s ease;
}

.popup-close-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .courses-container h2 {
        font-size: 28px;
    }

    .courses-intro {
        font-size: 16px;
    }
}


/* ========== JOB CAREER SECTION ========== */
.jobcareer-section {
    padding: 80px 20px;
    background: white;
}

.jobcareer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.jobcareer-container h2 {
    color: #8b6914;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jobcareer-intro {
    color: #7d6b3a;
    font-size: 18px;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.career-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #fffaf0 0%, #f5f0e1 100%);
    border-radius: 15px;
    border: 2px solid #f0e68c;
}

.career-stat {
    text-align: center;
}

.career-stat h3 {
    color: #8b6914;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.career-stat p {
    color: #7d6b3a;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.career-opportunities {
    margin-bottom: 60px;
}

.career-opportunities h3 {
    color: #8b6914;
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.opportunity-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(139, 105, 20, 0.1);
    border: 2px solid #f0e68c;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.opportunity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #8b6914 0%, #daa520 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.opportunity-card:hover::before {
    transform: scaleX(1);
}

.opportunity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 105, 20, 0.15);
}

.opportunity-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b6914 0%, #daa520 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.opportunity-card h4 {
    color: #8b6914;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-roles {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.job-roles li {
    color: #7d6b3a;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.job-roles li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8b6914;
    font-weight: bold;
}

.salary-range {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b6914;
    font-weight: 600;
    padding-top: 15px;
    border-top: 2px solid #f0e68c;
}

.placement-partners {
    margin-bottom: 60px;
}

.placement-partners h3 {
    color: #8b6914;
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.partner-logo {
    background: #fffaf0;
    padding: 25px 15px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #f0e68c;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 105, 20, 0.1);
}

.partner-logo i {
    font-size: 32px;
    color: #8b6914;
    margin-bottom: 10px;
    display: block;
}

.partner-logo span {
    color: #7d6b3a;
    font-weight: 600;
    font-size: 14px;
}


/* ========== FOOTER SECTION ========== */
.footer-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    margin-top: 0px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 60px 0 40px;
    border-bottom: 1px solid #444;
}

.footer-info {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #daa520;
}

.footer-logo-text h3 {
    color: #daa520;
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 700;
    text-transform: unicase;
    letter-spacing: 1px;
}

.footer-logo-text p {
    color: #ccc;
    font-size: 14px;
    margin: 0;
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #daa520;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background: #daa520;
    color: #1a1a1a;
    transform: translateY(-3px);
    border-color: #daa520;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: #daa520;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: #daa520;
    padding-left: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.4;
}

.contact-item i {
    color: #daa520;
    margin-top: 2px;
    min-width: 16px;
}

.footer-bottom {
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    color: #ccc;
    margin: 0;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-link {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.legal-link:hover {
    color: #daa520;
}

.separator {
    color: #666;
    font-size: 14px;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-slideshow {
        height: 400px;
        order: 2;
    }

    .about-text {
        order: 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-info {
        max-width: 100%;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .career-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px;
    }

    .opportunities-grid {
        grid-template-columns: 1fr;
    }

    .event-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .event-img {
        height: 300px;
    }

    .prev-btn {
        left: -15px;
    }

    .next-btn {
        right: -15px;
    }

    .apply-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .apply-image {
        height: 400px;
    }

    .apply-form {
        padding: 30px 25px;
    }

}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background: linear-gradient(135deg, #8b6914 0%, #daa520 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        gap: 30px;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 16px;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }

    .apply-now-button {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
        max-width: 250px;
    }

    .video-section {
        height: 60vh;
        margin-top: 60px;
    }

    .hero-video {
        display: none;
    }

    .video-fallback {
        display: block;
    }

    .fallback-content h2 {
        font-size: 2rem;
    }

    .fallback-content p {
        font-size: 1rem;
    }

    .about-container h2 {
        font-size: 2rem;
    }

    .about-slideshow {
        height: 300px;
    }

    .about-slide-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .apply-heading h2 {
        font-size: 28px;
    }

    .apply-heading p {
        font-size: 16px;
    }

    .apply-form {
        padding: 25px 20px;
    }

    .courses-container h2 {
        font-size: 28px;
    }

    .courses-intro {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-container h2 {
        font-size: 28px;
    }

    .slideshow-container {
        height: 300px;
    }

    .events-container h2 {
        font-size: 28px;
    }

    .events-intro {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .event-content {
        padding: 25px;
    }

    .event-text h3 {
        font-size: 20px;
    }

    .slide-btn {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        left: -10px;
    }

    .next-btn {
        right: -10px;
    }

    .jobcareer-container h2 {
        font-size: 28px;
    }

    .career-stats {
        grid-template-columns: 1fr;
        padding: 25px 20px;
    }

    .career-stat h3 {
        font-size: 2rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-cta {
        padding: 40px 25px;
    }

    .career-cta h3 {
        font-size: 24px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .footer-section {
        margin-top: 40px;
    }

    .footer-content {
        padding: 40px 0 30px;
        gap: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .separator {
        display: none;
    }

    .legal-link {
        margin: 0 8px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

    .nav-logo h1 {
        font-size: 16px;
    }

    .logo-image {
        width: 30px;
        height: 30px;
    }

    .video-section {
        height: 50vh;
    }

    .fallback-content h2 {
        font-size: 1.8rem;
    }

    .about-section,
    .courses-section,
    .gallery-section,
    .events-section,
    .jobcareer-section,
    .apply-section {
        padding: 40px 15px;
    }

    .about-slideshow {
        height: 250px;
    }

    .apply-image {
        height: 300px;
    }

    .institute-title {
        font-size: 24px;
    }

    .institute-tagline {
        font-size: 14px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .course-content {
        padding: 20px;
    }

    .gallery-slideshow {
        border-radius: 10px;
    }

    .slideshow-container {
        height: 250px;
    }

    .event-img {
        height: 200px;
    }

    .opportunities-grid {
        grid-template-columns: 1fr;
    }

    .opportunity-card {
        padding: 25px 20px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .career-cta {
        padding: 30px 20px;
    }

    .career-cta h3 {
        font-size: 22px;
    }

    .career-cta p {
        font-size: 16px;
    }

    .footer-content {
        padding: 30px 0 20px;
    }

    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .apply-form {
        padding: 20px 15px;
    }

    .captcha-display {
        flex-direction: column;
        gap: 8px;
    }

    #refreshCaptcha {
        width: 100%;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.photo-preview-image {
    text-align: center;
    margin: 15px 0;
}

.photo-preview-image img {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover !important;
    border: 2px solid #007bff !important;
    border-radius: 4px !important;
    display: block !important;
    margin: 0 auto 10px auto !important;
}

.photo-size-label {
    font-size: 12px;
    color: #666;
    margin: 5px 0;
    font-weight: bold;
}

.remove-photo {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.photo-placeholder {
    width: 150px;
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
}

/* Mobile-friendly file input */
#student-photo {
    font-size: 16px;
    /* Prevents zoom on iOS */
}

@media (max-width: 768px) {
    #student-photo {
        padding: 12px;
        font-size: 14px;
    }

    .photo-preview-image img {
        max-width: 120px;
        max-height: 120px;
    }
}


/* ========== LEADERSHIP TEAM STYLES ========== */
.leadership-section {
    margin-bottom: 40px;
    text-align: center;
}

/* CEO Image Only - Small Size */
.ceo-img {
    width: 600px;
    height: 400px;
    border-radius: 8px;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.ceo-img:hover {
    transform: scale(1.05);
    border-color: #8b6914;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ceo-img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .ceo-img {
        width: 90px;
        height: 90px;
    }
}

/* Leadership Team Grid */
.leadership-team h3 {
    text-align: center;
    margin-bottom: 60px;
    color: #8b6914;
    font-size: 2rem;
    font-weight: 600;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    /* ← ADD THIS LINE */
}

.team-member {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: whites;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #8b6914 0%, #daa520 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #8b6914;
}

.member-photo {
    position: relative;
    width: 200px;
    height: 220px;
    margin: 0 auto 25px;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid #f0f0f0;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.team-member:hover .member-photo {
    border-color: #8b6914;
    transform: scale(1.05);
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.team-member:hover .member-img {
    transform: scale(1.1);
}

.member-photo .photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b6914;
    font-size: 50px;
    display: none;
    /* Hidden by default */
}

.member-info h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.member-position {
    color: #8b6914;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 1rem;
    line-height: 1.4;
    min-height: auto;
}

/* Image Error Handling */
.member-img:not([src]),
.member-img[src=""],
.member-img[src*="undefined"],
.member-img[src*="null"] {
    display: none;
}

.member-img:not([src])+.photo-placeholder,
.member-img[src=""]+.photo-placeholder,
.member-img[src*="undefined"]+.photo-placeholder,
.member-img[src*="null"]+.photo-placeholder {
    display: flex;
}

/* Responsive Design for Leadership Section */
@media (max-width: 768px) {
    .ceo-profile {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 30px 25px;
    }

    .ceo-photo {
        width: 200px;
        height: 250px;
    }

    .ceo-info h3 {
        font-size: 1.5rem;
    }

    .ceo-position {
        font-size: 1rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .member-photo {
        width: 180px;
        height: 200px;
    }

    .team-member {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ceo-photo {
        width: 180px;
        height: 220px;
    }

    .member-photo {
        width: 160px;
        height: 180px;
    }

    .ceo-photo .photo-placeholder {
        font-size: 40px;
    }

    .member-photo .photo-placeholder {
        font-size: 40px;
    }

    .member-info h4 {
        font-size: 1.2rem;
    }

    .member-position {
        font-size: 0.9rem;
    }
}

/* Additional Styles for Better Image Display */
.member-photo img,
.ceo-photo img {
    transition: all 0.3s ease;
}

.member-photo:hover img,
.ceo-photo:hover img {
    transform: scale(1.05);
}

/* Ensure images are properly loaded */
.member-img.loaded,
.ceo-img.loaded {
    opacity: 1;
}

.member-img:not(.loaded),
.ceo-img:not(.loaded) {
    opacity: 0;
}

/* Center the Leadership Team heading */
.about-container h3 {
    text-align: center !important;
    margin: 40px 0 !important;
    color: #d5a222 !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
    width: 100% !important;
}

.about-text h4 {
    align-items: center;
    text-align: center;
    color: #8b6914;
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;

}

/* Replace your video slideshow styles with this */
.video-slideshow {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(139, 105, 20, 0.2);
    border: 3px solid #000000;
    background: white !important;
    font-family: orbitron, sans-serif;
}


.video-slides-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: white !important;
    font-family: orbitron, sans-serif;
}

.video-slides-container h3 {

    font-family: orbitron, sans-serif;
}

.video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: white !important;
}

.video-slide.active {
    opacity: 1;
    background: white !important;
}

/* Make videos smaller to show background */
.video-slide video {
    width: 90%;
    height: 90%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: white !important;
}

/* Hide all video controls completely */
.video-slide video::-webkit-media-controls {
    display: none !important;
}

.video-slide video::-webkit-media-controls-panel {
    display: none !important;
}

.video-slide video::-webkit-media-controls-play-button {
    display: none !important;
}

.video-slide video::-webkit-media-controls-timeline {
    display: none !important;
}

.video-slide video::-webkit-media-controls-current-time-display {
    display: none !important;
}

.video-slide video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

.video-slide video::-webkit-media-controls-mute-button {
    display: none !important;
}

.video-slide video::-webkit-media-controls-volume-slider {
    display: none !important;
}

.video-slide video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}



/* For all browsers - ensure no controls are visible */
.video-slide video {
    pointer-events: none;
    /* Prevent any interaction */
}

/* Add this to your existing CSS */
.video-slideshow,
.video-slides-container,
.video-slide,
.video-slide video {
    background: white !important;
}

.video-slide video {
    background: white !important;
    /* This ensures the video element itself has white background */
}

.success-stories-section {
    padding: 80px 0;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.success-stories-section::before {
    content: '';
    position: absolute;
    top: 10px;
    /* Pull away from top edge */
    left: 10px;
    /* Pull away from left edge */
    right: 10px;
    /* Pull away from right edge */
    bottom: 10px;
    /* Pull away from bottom edge */
    background-image: url('images/neips page 2.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(29px) brightness(0.2);
    z-index: -1;
}

.success-stories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.success-stories-container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: rgba(249, 176, 7, 0.8);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.success-stories-intro {
    text-align: center;
    font-size: 1.1rem;
    color: rgb(255, 255, 255);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Success Stories Slideshow */
.success-stories-slideshow {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
}

.success-slideshow-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.success-slides-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.success-slide {
    display: none;
    width: 100%;
}

.success-slide.active {
    display: block;
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.success-story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: rgb(244, 232, 232);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 400px;
}

.success-media {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SEPARATE CLASSES: Image Container */
.photo-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SEPARATE CLASSES: Video Container - COMPLETELY FIXED */
.video-container {
    position: relative;
    width: 100%;
    height: auto;
    /* No fixed height */
    overflow: visible;
    /* Change from hidden */
    background: transparent;
    display: block;
    /* Change from flex */
}

/* Image styling */
.success-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video styling - No constraints */
.success-video {
    width: 100%;
    height: auto;
    display: block;
    background: transparent;

}

/* Remove ALL parent constraints */
.success-media .video-container {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

.success-story-content .success-media {
    height: auto !important;
    align-items: flex-start !important;
    /* Align to top */
}

/* Remove bottom space - simple fix */
.video-container {
    margin-bottom: -5px;
    /* Pull container up slightly */
}

.success-video {
    margin-bottom: -2px;
    /* Remove tiny gap */
    display: block;
}

/* Or use negative margin on the media container */
.success-media:has(.video-container) {
    margin-bottom: -4px;
}

/* Force video to fill container without cropping */
.video-container .success-video {
    object-fit: contain !important;
    background: transparent !important;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(139, 105, 20, 0.8);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
}

.play-overlay:hover {
    background: rgba(139, 105, 20, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay i {
    color: white;
    font-size: 2rem;
    margin-left: 5px;
}

/* Hide play overlay when video is playing */
.video-container.playing .play-overlay {
    display: none;
}

.success-story-text {
    padding: 40px 30px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.success-story-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.success-course {
    font-size: 1.1rem;
    color: #8b6914;
    font-weight: 600;
    margin-bottom: 5px;
}

.success-placement {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.success-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.success-quote::before {
    content: '"';
    font-size: 3rem;
    color: #8b6914;
    position: absolute;
    left: -10px;
    top: -15px;
    opacity: 0.3;
}

.success-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.success-stat {
    text-align: center;
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b6914;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

/* Navigation Buttons */
.success-slide-btn {
    background: #8b6914;
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.success-slide-btn.prev-btn {
    left: -80px;
}

.success-slide-btn.next-btn {
    right: -80px;
}

.success-slide-btn:hover {
    background: #6d5010;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.success-slide-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Slide Indicators */
.success-slide-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    padding: 10px 0;
}

.success-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.success-indicator.active {
    background: #8b6914;
    transform: scale(1.3);
    border-color: #6d5010;
}

.success-indicator:hover {
    background: #adb5bd;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .success-slide-btn.prev-btn {
        left: -30px;
    }

    .success-slide-btn.next-btn {
        right: -30px;
    }
}

@media (max-width: 992px) {
    .success-story-content {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }

    .success-story-text {
        padding: 30px;
        order: 2;
    }

    .success-media {
        order: 1;
        height: 350px;
    }

    .photo-container,
    .video-container {
        height: 350px;
    }

    .success-slide-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .success-slide-btn.prev-btn {
        left: -20px;
    }

    .success-slide-btn.next-btn {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .success-stories-container h2 {
        font-size: 2rem;
    }

    .photo-container,
    .video-container {
        height: 300px;
    }

    .success-story-text h3 {
        font-size: 1.5rem;
    }

    .success-stats {
        flex-direction: column;
        gap: 15px;
    }

    .success-slide-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .success-slide-btn.prev-btn {
        left: -15px;
    }

    .success-slide-btn.next-btn {
        right: -15px;
    }
}

@media (max-width: 576px) {
    .success-stories-section {
        padding: 60px 0;
    }

    .photo-container,
    .video-container {
        height: 250px;
    }

    .success-story-text {
        padding: 20px;
    }

    .play-overlay {
        width: 60px;
        height: 60px;
    }

    .play-overlay i {
        font-size: 1.5rem;
    }

    .success-slide-btn {
        width: 40px;
        height: 40px;
    }

    .success-slide-btn.prev-btn {
        left: -10px;
    }

    .success-slide-btn.next-btn {
        right: -10px;
    }
}

/* .career-cta {
    background-image: transparent;
    padding: 50px;

    text-align: center;
    color: white;
}

.career-cta h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0800ff;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    /* ADD THIS LINE */
/* }

.career-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    background: white;
    color: #000000;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
} */

*/ .about-text {
    text-align: left;
    line-height: 1.5;
    max-width: 1050px;
    margin: 0 auto;
}

.about-text p {
    color: #5d4c1e;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    font-family: 'eurostile round extend', sans-serif;
    text-align: justify;
    word-spacing: normal;
    letter-spacing: normal;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #f0e68c;
    text-align: center;
    align-items: center;
}

.stat {
    text-align: center;
    padding: 5px;
}

.stat h3 {
    color: #8b6914;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 1px;
    line-height: 1;
}

.stat p {
    color: #7d6b3a;
    font-size: 14px;
    margin-left: 130px;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.3;
}

/* ========== updated course details ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Eurostile:wdth,wght@75,400;75,500;75,600;75,700&display=swap');

body {
    font-family: 'Eurostile', 'Orbitron', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.courses-container {
    max-width: 1300px;
    margin: 90px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: start;
}

/* Filter Section Styles */
/* Filter Section Styles */
.filter-section {
    background: rgb(243, 241, 241);
    border-radius: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border: 2px solid #000000;
    position: sticky;
    top: 100px;
    transition: all 0.3s ease;
    margin-top: 30px;
    height: 500px;
    /* Fixed height */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.filter-header {
    font-family: 'Orbitron', sans-serif;
    border-bottom: 2px solid #f0f0f0;
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    flex-shrink: 0;
    /* Prevent header from shrinking */
}

.filter-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.5px;
}

.filter-options {
    margin-bottom: 15px;
    flex: 1;
    /* Take remaining space */
    overflow-y: auto;
    /* Enable scrolling */
    overflow-x: hidden;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 30px;
    font-family: 'Eurostile', sans-serif;
    font-weight: 500;
}

.filter-checkbox:hover {
    color: #000000;
    transform: translateX(5px);
}

.filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.filter-checkbox input:checked~.checkmark {
    background-color: #7a7676;
    border-color: #ffffff;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox input:checked~.checkmark:after {
    display: block;
}

.filter-actions {
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
    flex-shrink: 0;
    /* Prevent button from shrinking */
}

.clear-filters-btn {
    width: 100%;
    padding: 10px;
    background-color: #000000;
    border: 2px solid #000000;
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.clear-filters-btn:hover {
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Custom scrollbar for filter options */
.filter-options::-webkit-scrollbar {
    width: 6px;
}

.filter-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.filter-options::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

.filter-options::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .courses-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .filter-section {
        position: static;
        order: 2;
        height: auto;
        max-height: 400px;
    }

    .courses-content {
        order: 1;
    }
}

/* Courses Content Section */
.courses-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;

}

.results-count {
    font-size: 16px;
    color: #000000;
    font-family: 'Eurostile', sans-serif;
    font-weight: 500;
}

/* Course Cards Grid */
.courses-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

/* Course Card Layout */
.course-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    padding: 0;
    border: 2px solid #000000;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

    margin: 0 auto;
    width: 95%;
}


.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #d4af37;
}

.course-card-content {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}

.course-image {
    flex: 0 0 200px;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}



.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-badge {
    display: inline-block;
    background: rgb(144, 134, 134);
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    border: 1px solid #cdcbc5;
    align-self: flex-start;
}

.course-title {
    font-size: 22px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.course-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
    font-family: 'Eurostile', sans-serif;
    font-size: 15px;
    flex: 1;
}

.course-actions {
    margin-top: auto;
}

.details-btn {
    background: linear-gradient(135deg, #000000, #000000);
    color: #ffffff;
    border: 2px solid #000000;
    padding: 12px 25px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.details-btn:hover {
    background: linear-gradient(135deg, #000000, #000000);
    color: #ffffff;
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination-btn {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pagination-btn:hover:not(:disabled) {
    background: #d4af37;
    color: #000000;
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    background: #cccccc;
    border-color: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.pagination-numbers {
    display: flex;
    gap: 10px;
}

.page-number {
    padding: 8px 15px;
    border: 2px solid #000000;
    border-radius: 6px;
    background: white;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
}

.page-number.active {
    background: #000000;
    color: #ffffff;
}

.page-number:hover:not(.active) {
    background: #000000;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .course-image {
        flex: 0 0 180px;
        height: 160px;
    }
}

@media (max-width: 768px) {
    .courses-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .filter-section {
        position: static;
        order: 2;
    }

    .courses-content {
        order: 1;
    }

    .course-card-content {
        flex-direction: column;
        padding: 25px;
        gap: 20px;
    }

    .course-image {
        flex: 0 0 200px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .course-title {
        font-size: 20px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .course-card-content {
        padding: 20px;
        gap: 15px;
    }

    .course-image {
        flex: 0 0 150px;
        height: 140px;
    }

    .course-title {
        font-size: 18px;
    }

    .details-btn {
        width: 100%;
        text-align: center;
    }

    .pagination-numbers {
        gap: 5px;
    }

    .page-number {
        padding: 6px 12px;
        font-size: 14px;
    }
}

/* Course Detail Page Styles */
.course-detail-section {
    padding: 80px 20px 40px;
    background: whitesmoke;
    min-height: 100vh;
}

.course-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    background: whitesmoke;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.course-detail-header {
    background: whitesmoke;
    color: whitesmoke;
    padding: 30px 40px 20px;
    text-align: center;
}

.course-breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.course-breadcrumb a {
    color: #d4af37;
    text-decoration: none;
}

.course-breadcrumb a:hover {
    text-decoration: underline;
}

.course-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.course-detail-badge {
    display: inline-block;
    background: #d4af37;
    color: #000000;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

/* Image Section */
.course-detail-image {
    width: 100%;
    padding: 0 40px;
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.course-detail-image img {
    width: 100%;
    max-width: 1000px;
    height: 400px;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.course-detail-image img:hover {
    transform: scale(1.02);
}

/* Course description below the image */
.course-detail-description {
    padding: 0 40px 30px;
}

.course-detail-description h2 {
    color: #000000;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 8px;
}

.course-detail-description p {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 25px;
}

.course-highlights {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid #d4af37;
}

.course-highlights h3 {
    color: #000000;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.course-highlights ul {
    list-style: none;
    padding: 0;
}

.course-highlights li {
    color: #555;
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.course-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

.course-duration {
    background: #fff9e6;
    padding: 18px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #ffeb99;
}

.course-duration h3 {
    color: #000000;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.course-duration p {
    color: #666;
    margin: 0;
}

/* Career opportunities section */
.career-opportunities {
    background: #f8f9fa;
    padding: 25px 40px;
    margin: 25px 0;
    border-radius: 12px;
}

.career-opportunities h3 {
    color: #000000;
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    text-align: center;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 8px;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.career-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #d4af37;
}

.career-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.career-card h4 {
    color: #000000;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.career-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.enrollment-section {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.enroll-now-btn-large {
    background: #000000;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: auto;
    min-width: 160px;
    flex: none;
}

.enroll-now-btn-large:hover {
    background: #d4af37;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.back-to-courses-btn {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
    padding: 14px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    flex: none;
}

.back-to-courses-btn:hover {
    background: #000000;
    color: white;
    transform: translateY(-2px);
}

/* Navbar styling for course detail page */
.navbar {
    background: #000000 !important;
}

.navbar .nav-link {
    color: #ffffff !important;
}

.navbar .nav-link:hover {
    color: #d4af37 !important;
}

.nav-logo h1 {
    color: #ffffff !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-detail-section {
        padding: 70px 15px 30px;
    }

    .course-detail-header {
        padding: 25px 20px 15px;
    }

    .course-detail-title {
        font-size: 2rem;
    }

    .course-detail-image {
        padding: 0 20px;
        margin: 25px 0;
    }

    .course-detail-image img {
        height: 300px;
    }

    .course-detail-description {
        padding: 0 20px 25px;
    }

    .career-opportunities {
        padding: 20px;
    }

    .enrollment-section {
        flex-direction: column;
        align-items: stretch;
    }

    .enroll-now-btn-large,
    .back-to-courses-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .career-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .course-detail-section {
        padding: 60px 10px 20px;
    }

    .course-detail-title {
        font-size: 1.6rem;
    }

    .course-detail-image img {
        height: 250px;
    }

    .course-detail-description h2 {
        font-size: 1.4rem;
    }

    .enroll-now-btn-large {
        padding: 12px 25px;
        font-size: 14px;
        min-width: 140px;
    }

    .back-to-courses-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .course-detail-header,
    .course-detail-description,
    .course-detail-image {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Eligibility Criteria Styles */
.course-eligibility {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid #d4af37;
}

.course-eligibility h3 {
    color: #000000;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 8px;
}

.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.eligibility-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.eligibility-item i {
    font-size: 24px;
    color: #d4af37;
    width: 40px;
    text-align: center;
}

.eligibility-item h4 {
    color: #000000;
    font-size: 1rem;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.eligibility-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .eligibility-grid {
        grid-template-columns: 1fr;
    }

    .eligibility-item {
        padding: 12px;
    }
}