/* ============================================
   GLOBAL COLLEGE - MAIN STYLESHEET (FIXED DROPDOWNS)
   ============================================ */

/* --------------------------------------------
   1. RESET & BASE STYLES
-------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    color: #666;
    background-color: #fff;
    line-height: 1.7em;
    font-weight: 500;
}

a {
    color: #4e49fc;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #252161;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

img {
    max-width: 100%;
    height: auto;
}

/* --------------------------------------------
   2. BUTTONS
-------------------------------------------- */
.btn-primary {
    display: inline-block;
    background: #4e49fc;
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #252161;
    color: #fff;
    transform: scale(0.97);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 10px 25px;
    border: 2px solid #fff;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #fff;
    color: #4e49fc;
    transform: scale(0.97);
}

.btn-small {
    display: inline-block;
    background: #fff;
    color: #4e49fc;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.btn-small:hover {
    background: #f0f0f0;
}

.btn-card {
    display: inline-block;
    background: #4e49fc;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    margin: 5px;
}

.btn-card-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid #fff;
    margin: 5px;
}

.btn-card-outline:hover {
    background: #fff;
    color: #4e49fc;
}

.btn-footer {
    display: inline-block;
    background: #fff;
    color: #4e49fc;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 15px;
    width: 100%;
    text-align: center;
}

.btn-footer:hover {
    background: #f0f0f0;
    transform: scale(0.97);
}

.btn-submit {
    background: #4e49fc;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.btn-submit:hover {
    background: #252161;
}

/* --------------------------------------------
   3. TOP BAR
-------------------------------------------- */
.top-bar {
    background: #4e49fc;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-links a {
    color: #fff;
    margin-right: 15px;
    font-size: 14px;
}

.social-links a:hover {
    opacity: 0.8;
}

.contact-info a {
    color: rgba(255,255,255,0.85);
    margin-right: 20px;
    font-size: 12px;
}

.contact-info a:hover {
    color: #fff;
}

.contact-info i {
    margin-right: 5px;
}

/* --------------------------------------------
   4. HEADER & NAVIGATION (FULLY STYLED WITH DROPDOWNS)
-------------------------------------------- */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 70px;
    width: auto;
}

/* Main Navigation - Desktop */
.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav ul li {
    position: relative;
}

.nav ul li a {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 0;
    display: block;
    text-transform: uppercase;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #4e49fc;
}

/* Dropdown Menu (Level 1) - Properly styled */
.nav ul li .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
}

.nav ul li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav ul li .dropdown-menu li {
    display: block;
}

.nav ul li .dropdown-menu li a {
    padding: 10px 20px;
    font-size: 13px;
    color: #555;
    text-transform: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav ul li .dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #4e49fc;
    padding-left: 25px;
}

/* Submenu (Level 2) - Proper drop-right */
.nav ul li .dropdown-menu .dropdown-submenu {
    position: relative;
}

.nav ul li .dropdown-menu .dropdown-submenu .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 240px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    list-style: none;
}

.nav ul li .dropdown-menu .dropdown-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav ul li .dropdown-menu .dropdown-submenu .submenu li a {
    padding: 10px 20px;
    font-size: 13px;
}

.nav ul li .dropdown-menu .dropdown-submenu .submenu li a:hover {
    padding-left: 25px;
}

/* Dropdown arrow icons */
.nav ul li.dropdown > a i,
.nav ul li .dropdown-submenu > a i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav ul li.dropdown:hover > a i {
    transform: rotate(180deg);
}

.nav ul li .dropdown-submenu:hover > a i {
    transform: rotate(90deg);
}

/* Enrolment Button */
.enrolment-btn .btn-primary {
    padding: 10px 20px;
    font-size: 13px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #4e49fc;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* --------------------------------------------
   5. MOBILE MENU (with working dropdowns)
-------------------------------------------- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    box-shadow: -2px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-header img {
    height: 40px;
}

.close-menu {
    font-size: 30px;
    cursor: pointer;
    color: #4e49fc;
}

.mobile-menu ul {
    list-style: none;
    padding: 20px;
}

.mobile-menu ul li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: #333;
    font-weight: 500;
}

.mobile-menu ul li a:hover {
    color: #4e49fc;
}

.mobile-menu .sub-menu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
    display: none;
    background: #fafafa;
}

.mobile-menu .sub-menu.active {
    display: block;
}

.mobile-menu .has-children > a i {
    transition: transform 0.3s ease;
}

.mobile-menu .has-children > a.active i {
    transform: rotate(180deg);
}

/* --------------------------------------------
   6. HERO SLIDER
-------------------------------------------- */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
    padding-top: 150px;
}

.slide-content h1 {
    color: #fff;
    font-size: 40px;
    margin-bottom: 10px;
    line-height: 1.1;
}

.slide-content .tagline {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.slide-content .description {
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.watch-video .play-btn {
    color: #fff;
    font-size: 16px;
}

.watch-video .play-btn i {
    font-size: 50px;
    vertical-align: middle;
    margin-right: 10px;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.prev, .next {
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev:hover, .next:hover {
    background: #4e49fc;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #4e49fc;
    transform: scale(1.2);
}

/* --------------------------------------------
   7. ABOUT SECTION
-------------------------------------------- */
.about-section {
    padding: 60px 0;
    background: #5d93ff;
}

.about-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 2;
    color: #fff;
}

.about-text h1 {
    color: #500dcb;
    font-size: 36px;
}

.about-text .subtitle {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #666;
}

.about-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-buttons .btn-primary {
    text-align: center;
    width: 100%;
}

/* --------------------------------------------
   8. VIDEO SECTION
-------------------------------------------- */
.video-section {
    padding: 40px 0;
}

.video-wrapper {
    text-align: center;
}

.video-thumb {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    background: rgba(224,43,32,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn i {
    font-size: 35px;
    color: #fff;
    margin-left: 5px;
}

.video-play-btn:hover {
    background: #4e49fc;
    transform: scale(1.1);
}

/* Pulse Animation */
.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(224,43,32,0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(224,43,32,0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(224,43,32,0);
    }
}

/* Video Popup */
.video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-popup.active {
    display: flex;
}

.video-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

.video-popup-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 1;
}

.video-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}

.video-iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.video-caption {
    margin-top: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #4e49fc;
}

/* --------------------------------------------
   9. ADMISSION CARDS
-------------------------------------------- */
.admission-cards {
    padding: 40px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    padding: 40px 20px 20px 20px;
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #fff;
    margin-bottom: 20px;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

/* Optional: Add a semi-transparent overlay for better text readability */
.card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    border-radius: 0 0 10px 10px;
    z-index: 1;
}

.card h3,
.card p,
.card .btn-card {
    position: relative;
    z-index: 2;
}
/* --------------------------------------------
   10. CONTACT SECTION
-------------------------------------------- */
.contact-section {
    padding: 60px 0;
    background-size: cover;
    background-position: center;
}

.contact-form-wrapper {
    max-width: 500px;
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 10px;
    margin: 0 auto;
}

.contact-form-wrapper h2 {
    text-align: center;
    color: #4e49fc;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4e49fc;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha input {
    width: 60px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* --------------------------------------------
   11. FEATURES SECTION
-------------------------------------------- */
.features-section {
    padding: 50px 0;
    background: #4e49fc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: scale(0.95);
}

.feature-icon i {
    font-size: 40px;
    color: #4e49fc;
    margin-bottom: 15px;
}

.feature-card h4 {
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13px;
}

/* --------------------------------------------
   UPDATES SECTION
-------------------------------------------- */

.updates-section {
    padding: 70px 0;

    background: #7875fc;

    position: relative;
    overflow: hidden;
}

/* glossy glow */
.updates-section::before{
    content:"";
    position:absolute;

    width:500px;
    height:500px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(1,182,254,0.10),
        transparent 70%
    );

    top:-250px;
    right:-120px;
}

/* second soft glow */
.updates-section::after{
    content:"";
    position:absolute;

    width:400px;
    height:400px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(78,73,252,0.08),
        transparent 70%
    );

    bottom:-220px;
    left:-100px;
}

.updates-section h2{
    color:#252161;
    margin-bottom:30px;

    position:relative;
    z-index:2;
}

.updates-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;

    position:relative;
    z-index:2;
}

.update-btn{
    display:inline-block;

    background:#ffffff;

    color:#4e49fc;

    padding:12px 28px;

    border-radius:50px;

    font-weight:600;

    border:
    1px solid rgba(78,73,252,0.12);

    box-shadow:
    0 10px 25px rgba(78,73,252,0.06);

    transition:0.35s ease;
}

.update-btn:hover{
    background:#4e49fc;
    color:#ffffff;

    transform:translateY(-4px);
}

/* --------------------------------------------
   13. BLOG SECTION
-------------------------------------------- */
.blog-section {
    padding: 50px 0;
    background: #f9f9f9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.blog-post {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h3 a {
    color: #333;
    font-size: 16px;
}

.post-content h3 a:hover {
    color: #4e49fc;
}

.post-meta {
    font-size: 12px;
    color: #4e49fc;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    background: #4e49fc;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: #252161;
    color: #fff;
}

/* --------------------------------------------
   14. CONTACT INFO SECTION
-------------------------------------------- */
.contact-info-section {
    padding: 40px 0;
    background: #4e49fc;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}

.contact-item i {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
    display: block;
}

.contact-item a,
.contact-item span {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
}

.contact-item a:hover {
    color: #fff;
}

/* --------------------------------------------
   15. FOOTER
-------------------------------------------- */
.footer {
    background: #4e49fc;
    padding: 50px 0 30px;
    color: rgba(255,255,255,0.85);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col p {
    font-size: 12px;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-col ul li i {
    margin-right: 8px;
    width: 20px;
}

/* --------------------------------------------
   16. FOOTER BOTTOM
-------------------------------------------- */
.footer-bottom {
    background: #252161;
    padding: 15px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
}

.footer-social a {
    color: #fff;
    margin-left: 15px;
    font-size: 14px;
}

.footer-social a:hover {
    opacity: 0.8;
}

.feedback-link {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.feedback-link a {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
}

.feedback-link a:hover {
    color: #fff;
}

/* --------------------------------------------
   17. WHATSAPP CHAT
-------------------------------------------- */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button {
    background: #00a028;
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-button i {
    font-size: 24px;
}

.whatsapp-button:hover {
    transform: scale(0.95);
}

.whatsapp-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: none;
    overflow: hidden;
}

.whatsapp-popup.active {
    display: block;
}

.whatsapp-header {
    background: #00a028;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-header img {
    height: 40px;
}

.close-chat {
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.whatsapp-body {
    padding: 15px;
}

.support-message {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 13px;
}

.support-person {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.support-person:hover {
    background: #f5f5f5;
}

.support-person img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.support-person h4 {
    margin-bottom: 2px;
    font-size: 16px;
}

.support-person p {
    font-size: 12px;
    color: #777;
}

.available {
    font-size: 10px;
    color: #00a028;
}

.chat-btn {
    background: #00a028;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
}

.chat-btn:hover {
    background: #008022;
    color: #fff;
}

/* --------------------------------------------
   18. RESPONSIVE DESIGN
-------------------------------------------- */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .about-grid {
        flex-direction: column;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
    
    .slide-buttons {
        flex-direction: column;
    }
    
    .top-bar-inner {
        justify-content: center;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-dots {
        display: none;
    }
    
    .video-iframe {
        height: 250px;
    }
}

/**---------------------/
/* Video Gallery Grid - 2 columns side by side */
.video-gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gallery-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-thumb {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    transition: background 0.3s ease;
}

.video-thumb:hover::before {
    background: rgba(0,0,0,0.5);
}

.video-play-btn {
    width: 80px;
    height: 80px;
    background: rgba(78, 73, 252, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-play-btn i {
    font-size: 35px;
    color: #fff;
    margin-left: 5px;
}

.video-play-btn:hover {
    background: #4e49fc;
    transform: scale(1.1);
}

.video-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Pulse Animation */
.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(78, 73, 252, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(78, 73, 252, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(78, 73, 252, 0);
    }
}

/* Video Popup Modal */
.video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-popup.active {
    display: flex;
}

.video-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

.video-popup-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 1;
}

.video-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}

.video-iframe {
    width: 100%;
    height: 500px;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-row-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-thumb {
        height: 300px;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
    }
    
    .video-play-btn i {
        font-size: 25px;
    }
    
    .video-iframe {
        height: 250px;
    }
}

/* -------- */
.gallery-row-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .gallery-row-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-row-4 {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   CTA SECTION
========================================= */

.admissions-cta {
    position: relative;

   background: #4e49fc;

    background-size: cover;
    background-position: center;

    overflow: hidden;
}

.admissions-cta::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at top right,
            rgba(1, 182, 254, 0.12),
            transparent 40%);

    pointer-events: none;
}

.cta-box {
    text-align: center;
    max-width: 850px;
    margin: auto;
}

.cta-box span {
    color: #ffffff;
    letter-spacing: 2px;
    font-weight: 700;
}

.cta-box h2 {
    font-size: 60px;
    line-height: 1.2;
    color: #ffffff;

    margin:
        25px 0;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;

    margin-bottom: 40px;
}

/* ============================================
   SMOOTH HERO SLIDER ANIMATION
============================================ */

.hero-slider .slide {
    opacity: 0;
    transform: scale(1.04);
    transition:
        opacity 1.2s ease-in-out,
        transform 4s ease;
}

.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Smooth content entrance */
.hero-slider .slide-content {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 1s ease,
        transform 1s ease;
}

.hero-slider .slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: make background feel cinematic */
.hero-slider .slide.active {
    animation: heroSlowZoom 6s ease forwards;
}

@keyframes heroSlowZoom {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1);
    }
}

/* ============================================
   ROTATING GALLERY STRIP
============================================ */

.gallery-strip{
    overflow:hidden;
    padding:40px 0;
    background:#ffffff;
}

.gallery-track{
    display:flex;
    gap:20px;
    width:max-content;
    animation:galleryScroll 45s linear infinite;
}

.gallery-track img{
    width:360px;
    height:240px;
    object-fit:cover;
    border-radius:18px;
    flex-shrink:0;
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
    transition:0.4s ease;
}

.gallery-track img:hover{
    transform:scale(1.04);
}

/* Pause on hover */
.gallery-track:hover{
    animation-play-state:paused;
}

@keyframes galleryScroll{
    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }
}

/* ============================================
   STAFF HIERARCHY LAYOUT
============================================ */

.principal-wrapper{
    display:flex;
    justify-content:center;
    margin-bottom:70px;
}

.principal-card{
    max-width:420px;
    text-align:center;

    background:#ffffff;

    border-radius:24px;

    overflow:hidden;

    box-shadow:
    0 15px 40px rgba(0,0,0,0.08);
}

.principal-card img{
    width:100%;
    height:420px;
    object-fit:cover;
    object-position:top center;
}

.leadership-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

    margin-bottom:40px;
}

.staff-list{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

@media(max-width:1100px){

    .staff-list{
        grid-template-columns:repeat(2,1fr);
    }

    .leadership-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .staff-list{
        grid-template-columns:1fr;
    }

}

/* ============================================
/* ============================================
   STICKY TOP BAR + HEADER
============================================ */

.top-bar{
    position:sticky;
    top:0;
    z-index:10000;
}

.header{
    position:sticky;
    top:40px; /* height of your top bar */
    z-index:9999;
    transform:none !important;
}