@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* ===================================================== */
/* BASE & GLOBAL PAGE STYLES */
/* ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide scrollbars universally */
::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

body {
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
      -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Prominent section headings */
.section-heading {
    font-family: 'Quantico', sans-serif;
    font-weight: 700;
    color: #FFD700;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        4px 4px 8px rgba(128, 128, 128, 0.6),
        6px 6px 12px rgba(128, 128, 128, 0.4);
    font-size: 2.5em;
    margin-bottom: 0.5em;
    letter-spacing: 1px;
}

/* Apply to main section headings */
#main-content-wrapper > h2 {
    font-family: 'Quantico', sans-serif;
    font-weight: 700;
    color: #FFD700;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        4px 4px 8px rgba(128, 128, 128, 0.6),
        6px 6px 12px rgba(128, 128, 128, 0.4);
    font-size: 2.5em;
    margin-bottom: 0.5em;
    letter-spacing: 1px;
}

/* Page Title Styles */
.page-title {
    font-family: 'Quantico', sans-serif;
    font-weight: 700;
    font-size: 3em;
    color: #FF8C00;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.6);
    margin: 0 0 0.3em 0;
    letter-spacing: 1px;
    float: left;
    line-height: 1.1;
}

.page-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5em 0;
    float: left;
    clear: right;
    max-width: 70%;
    line-height: 1.4;
}


body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('../images/background.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    transform: scale(1.05);
    z-index: -1;
}

#main-content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 140px 20px 50px;
}

h1 { font-size: 3rem; color: white; text-align: center; margin-bottom: 10px; }
h2 { font-size: 2.2rem; color: white; text-align: center; margin: 40px 0 20px 0; }
h3 { font-size: 1.2em; color: #ddd; text-align: center; margin-bottom: 30px; }
hr { width: 90%; max-width: 1400px; margin: 30px auto; border: none; border-top: 3px solid #f89500; opacity: 0.8; }

/* ===================================================== */
/* NAVBAR */
/* ===================================================== */
.top-navbar {
    position: fixed;
    top: 0;
    inset: 0 0 auto 0;
    padding: 15px 20px;
    background: transparent;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo { font-size: 1.5rem; color: white; font-weight: bold; text-decoration: none; cursor: pointer; transition: color 0.3s; }
.navbar-logo:hover { color: #4fb3d9; }

/* Home Icon Styles */
.navbar-home-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
}

.navbar-home-icon svg {
    width: 100%;
    height: 100%;
}

.navbar-home-icon:hover {
    color: #FFB841;
    transform: scale(1.1);
}

.nav-button { background: none; border: none; cursor: pointer; display: none; }

/* ===================================================== */

/* ===================================================== */
/* FADE-UP ANIMATION */
/* ===================================================== */
.fade-up-element { opacity: 0; transform: translateY(100px); transition: opacity 1s ease-out, transform 1s ease-out; }
.fade-up-element.in-view { opacity: 1; transform: translateY(0); }

/* ===================================================== */
/* CAROUSEL & ASSESSMENT BOXES */
/* ===================================================== */
/* CAROUSEL */
.carousel-container {
    width: 90%;
    max-width: 1400px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 18px;
    overflow: hidden;
    margin: 20px auto;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    position: relative;
    padding-bottom: 70px;
}

.carousel-track-container { display: flex; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

.carousel-slide {
    flex-shrink: 0;
    width: 100%;
    padding: 40px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    gap: 40px;
    border-radius: 18px;
}

.slide-content-wrapper { width: 100%; height: 100%; display: flex; align-items: center; gap: 40px; }

.slide-image-section { flex: 0.5; min-height: 350px; order: 2; }
.slide-image-section img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

.slide-text-section { flex: 0.5; color: white; order: 1; }
.slide-text-section h2 {
    font-size: 2.8em;
    margin: 0 0 20px 0;
    text-align: left;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Different colors for each slide */
.carousel-slide:nth-child(1) .slide-text-section h2 {
    color: #FFFF00; /* Yellow */
}
.carousel-slide:nth-child(2) .slide-text-section h2 {
    color: #90EE90; /* Light Green */
}
.carousel-slide:nth-child(3) .slide-text-section h2 {
    color: #008B8B; /* Teal */
}
.carousel-slide:nth-child(4) .slide-text-section h2 {
    color: #FFA500; /* Orange-Gold */
}
.carousel-slide:nth-child(5) .slide-text-section h2 {
    color: #AFEEEE; /* Light Teal */
}
.carousel-slide:nth-child(6) .slide-text-section h2 {
    color: #FF6347; /* Orange-Red */
}

.bullet-list, .requirement-list, .teacher-bio { list-style: none; padding: 0; margin: 0; }
.bullet-list li, .requirement-list li, .teacher-bio li, .requirement-list li ul li {
    padding: 12px 0 12px 35px;
    position: relative;
    color: rgba(255,255,255,0.95);
    font-size: 1.3em;
    font-weight: 500;
    line-height: 1.4;
}
.bullet-list li:before, .teacher-bio li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4fb3d9;
    font-size: 1.2em;
    font-weight: bold;
}

/* Remove ticks from requirement list */
.requirement-list li:before,
.requirement-list li ul li:before {
    display: none;
}

.carousel-nav { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; gap: 8px; z-index: 5; }

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C0C0C0, #E5E5E5);
    border: 1px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.2);
    position: relative;
    overflow: hidden;
}

.nav-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-dot:hover {
    transform: scale(1.2);
    box-shadow:
        0 4px 12px rgba(192, 192, 192, 0.4),
        0 0 15px rgba(255, 215, 0, 0.3);
}

.nav-dot:hover::before {
    width: 100%;
    height: 100%;
}

.nav-dot.current-dot {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    width: 12px;
    height: 12px;
    box-shadow:
        0 4px 15px rgba(255, 215, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg,
        #C0C0C0 0%,
        #E5E5E5 15%,
        #FFD700 40%,
        #FFA500 60%,
        #FFD700 85%,
        #D3D3D3 100%
    );
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: #2c2c2c;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 24px;
    font-weight: bold;
    padding: 14px 18px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow:
        0 4px 15px rgba(192, 192, 192, 0.3),
        0 8px 25px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.carousel-button:hover {
    background-position: 100% 50%;
    color: #000033;
    transform: translateY(-50%) scale(1.1);
    box-shadow:
        0 8px 25px rgba(192, 192, 192, 0.4),
        0 15px 35px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    text-shadow:
        1px 1px 2px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(255, 215, 0, 0.5);
}

.carousel-button:active {
    transform: translateY(-50%) scale(1.05);
    box-shadow:
        0 4px 20px rgba(192, 192, 192, 0.3),
        0 8px 25px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.carousel-button.prev { left: 15px; }
.carousel-button.next { right: 15px; }

/* SYLLABUS BUTTON */
.syllabus-button-container {
    width: 90%;
    max-width: 1400px;
    margin: 15px auto;
    text-align: center;
}

.syllabus-button {
    display: inline-block;
    background: linear-gradient(135deg,
        #C0C0C0 0%,      /* Silver start */
        #E5E5E5 15%,     /* Light silver */
        #FFD700 40%,     /* Gold */
        #FFA500 60%,     /* Darker gold */
        #FFD700 85%,     /* Gold again */
        #D3D3D3 100%     /* Silver end */
    );
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: #2c2c2c;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow:
        0 4px 20px rgba(192, 192, 192, 0.3),
        0 8px 30px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: perspective(1000px) rotateX(0deg) translateZ(0);
}

/* Slanted gradient overlay */
.syllabus-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(192, 192, 192, 0.8) 0%,
        rgba(255, 215, 0, 0.9) 50%,
        rgba(192, 192, 192, 0.8) 100%
    );
    transition: left 0.6s ease;
    z-index: 0;
    transform: skewX(-15deg);
}

/* Subtle inner glow */
.syllabus-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 50%,
        rgba(255, 215, 0, 0.1) 100%
    );
    border-radius: 8px;
    z-index: 1;
    pointer-events: none;
}

.syllabus-button .button-text {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.syllabus-button:hover {
    background-position: 100% 50%;
    color: #000033;
    transform: perspective(1000px) rotateX(-2deg) translateY(-4px) scale(1.02);
    box-shadow:
        0 8px 35px rgba(192, 192, 192, 0.4),
        0 15px 40px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.syllabus-button:hover .button-text {
    color: #000033;
    font-weight: 600;
    text-shadow:
        1px 1px 2px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(255, 215, 0, 0.5);
}

.syllabus-button:hover::before {
    left: 100%;
}

.syllabus-button:active {
    transform: perspective(1000px) rotateX(-1deg) translateY(-2px) scale(1.01);
    box-shadow:
        0 4px 20px rgba(192, 192, 192, 0.3),
        0 8px 25px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

/* ASSESSMENT BOX */
.assessment-box {
    width: 90%;
    max-width: 1400px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 18px;
    padding: 40px;
    margin: 20px auto;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    color: white;
}

.assessment-box h3 {
    font-family: 'Quantico', sans-serif;
    font-weight: 700;
    font-size: 1.8em;
    margin: 0 0 25px 0;
    text-align: left;
    color: #FFD700;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        4px 4px 8px rgba(128, 128, 128, 0.6);
    letter-spacing: 1px;
}

.requirement-list li { border-bottom: 1px solid rgba(255,255,255,0.15); }
.requirement-list li:last-child { border-bottom: none; }
.requirement-list li ul { padding: 8px 0 0 0; margin: 0; }
.requirement-list li ul li { padding: 4px 0 4px 20px; border-bottom: none; color: rgba(255,255,255,0.8); font-size: 0.9em; }

.requirement-list li > strong:first-child {
    font-family: 'Quantico', sans-serif;
    font-weight: 700;
    font-size: 1.3em;
    color: #32CD32 !important;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
    display: inline-block;
    margin-right: 8px;
    padding-bottom: 4px;
    border-bottom: 3px solid #32CD32;
}

/* TEACHERS */
.teachers-grid {
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.teacher-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 18px;
    overflow: hidden;
    color: white;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.teacher-card:hover { transform: translateY(-8px); }
.teacher-image { width: 100%; height: 400px; overflow: hidden; flex-shrink: 0; }
.teacher-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.teacher-card:hover .teacher-image img { transform: scale(1.05); }
.teacher-card h3 { font-size: 1.2em; margin: 12px; padding: 0; text-align: center; }
.teacher-role { color: #4fb3d9; font-size: 0.85em; margin: 0 12px 8px; text-align: center; }
.teacher-bio { padding: 0 12px 12px; color: rgba(255,255,255,0.85); font-size: 0.8em; line-height: 1.4; }

.teacher-social-links {
    padding: 0 12px 12px;
    text-align: center;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0077B5;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #0077B5;
}

.linkedin-btn svg {
    flex-shrink: 0;
    transition: fill 0.3s ease;
}

.linkedin-btn svg path {
    fill: white !important;
}

.linkedin-btn:hover {
    background: #005885;
    border-color: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.linkedin-btn:hover svg path {
    fill: #0077B5 !important;
}
.teacher-bio li { padding: 4px 0 4px 18px; }

/* FAQ */
.faq-container { width: 90%; max-width: 1400px; margin: 40px auto; }

.faq-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover { background: rgba(255,255,255,0.15); box-shadow: 0 8px 22px rgba(0,0,0,0.18); }

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover { color: #4fb3d9; }
.faq-icon { font-size: 1.5em; font-weight: bold; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 20px;
    opacity: 0;
}

.faq-item.open .faq-answer { max-height: none; padding: 0 20px 20px; opacity: 1; }
.faq-answer p { color: rgba(255,255,255,0.85); line-height: 1.7; font-size: 0.95em; margin: 0; }

/* FAQ List and Bold Text Styling */
.faq-answer ul {
    color: white;
    margin: 10px 0;
    padding-left: 20px;
}

.faq-answer ul li {
    color: white;
    margin: 8px 0;
    line-height: 1.6;
}

.faq-answer ul li ul {
    margin: 5px 0;
    padding-left: 20px;
}

.faq-answer ul li ul li {
    color: white;
    margin: 5px 0;
    font-size: 0.95em;
}

.faq-answer b,
.faq-answer strong {
    color: #FFD700;
    font-weight: bold;
}

/* ===================================================== */
/* RESPONSIVE */
/* ===================================================== */
@media (max-width: 1024px) {
    .teachers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-button { display: block; }
    .desktop-nav-links { display: none; }
    #main-content-wrapper { padding-top: 90px; }
    h1 { font-size: 2rem; }

    /* Mobile section headings */
    #main-content-wrapper > h2 {
        font-size: 1.8rem;
        text-shadow:
            1px 1px 2px rgba(0, 0, 0, 0.8),
            2px 2px 4px rgba(128, 128, 128, 0.6),
            3px 3px 6px rgba(128, 128, 128, 0.4);
    }

    .section-heading {
        font-size: 1.8rem;
        text-shadow:
            1px 1px 2px rgba(0, 0, 0, 0.8),
            2px 2px 4px rgba(128, 128, 128, 0.6),
            3px 3px 6px rgba(128, 128, 128, 0.4);
    }
    .carousel-slide { flex-direction: column; padding: 30px; min-height: auto; }
    .slide-image-section { display: none; } /* Hide images on mobile */
    .slide-text-section { flex: 1; order: 1; width: 100%; }

    /* Mobile carousel text adjustments */
    .slide-text-section h2 {
        font-size: 1.8em;
        margin: 0 0 15px 0;
    }

    .bullet-list li, .requirement-list li, .teacher-bio li, .requirement-list li ul li {
        font-size: 1.1em;
        padding: 10px 0 10px 30px;
    }

    .bullet-list li:before, .requirement-list li:before, .teacher-bio li:before, .requirement-list li ul li:before {
        font-size: 1.1em;
    }

    .teachers-grid { grid-template-columns: 1fr; }

    /* Hide carousel arrows on mobile */
    .carousel-button { display: none; }

    /* FAQ mobile fixes */
    .faq-item.open .faq-answer {
        max-height: none !important;
        padding: 0 15px 20px;
    }

    .faq-answer p {
        font-size: 0.9em;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .faq-answer p:last-child {
        margin-bottom: 0;
    }
}

