/* =========================== MENU ======================== */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-navbar {
    background: #fff;
    height: 70px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.navbar-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    font-weight: 700;
    color: #100568;
}
/* ===== DROPDOWN ===== */
.submenu {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;

    background: #fff;
    min-width: 180px;

    display: none;
    list-style: none;
    margin: 0;
    padding: 0;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-top: 3px solid #100568;
    z-index: 9999;
}

.submenu:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #100568;
    font-weight: 600;
}

.dropdown-menu li a:hover {
    background: #100568;
    color: white;
}

/* ===== LOGO ===== */

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo img {
    height: 95px;   /* adjust size like reference */
    width: auto;
    position: relative;
    top: 30px;       /* 👈 moves logo slightly down */
}

/* ====== RESPONSIVE DESIGN === */
@media (max-width: 992px) {

    .nav-menu {
        gap: 20px;
    }

    .logo img {
        height: 70px;
    }
}

@media (max-width: 768px) {

    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }

}

@media (max-width: 480px) {

    .nav-menu li a {
        font-size: 15px;
    }

    .logo img {
        height: 55px;
    }
}


/* Smooth link click feel */
.nav-menu li a:active {
    transform: scale(0.95);
    display: inline-block;
}

/* hide mobile elements on desktop */
.mobile-title,
.hamburger {
    display: none;
}

/* ===== MOBILE VIEW ================================ */
    @media (max-width: 768px) {

        /* show mobile elements */
        .mobile-title {
            flex: 1;
            display: block;   /* IMPORTANT */
            text-align: center;
            font-weight: 700;
            color: #100568;
            font-size: 13px;
            font-family: 'Times New Roman', sans-serif;
            line-height: 1.2;
            letter-spacing: 1px;
            padding: 0 8px;
            text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.403);
            overflow: visible;
            text-overflow: unset;  
        }

        .hamburger {
            display: block;
            font-size: 26px;
            cursor: pointer;
        }

        /* hide desktop menus */
        .nav-menu {
            display: none;
            flex-direction: column;
            gap: 10px;
            width: 100%;
            background: #fff;
            padding: 10px 15px;
             /* 👇 IMPORTANT FIX */
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        }

        .nav-menu.active {
            display: flex;
        }

        /* 🔥 REMOVE ALL POSITIONING HACKS */
    .left-menu,
    .right-menu {
        position: static;
        margin: 0;
    }

    /* spacing between menus */
    .right-menu {
        margin-top: 10px;
    }

        /* layout fix */
        .navbar-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: nowrap;
            width: 100%;
        }

        /* top bar: hide email */
        .top-bar-content span:nth-child(2) {
            display: none;
        }
        
        .logo {
            flex-shrink: 0;
        }
        
        .logo img {
            height: 60px;
            top: 0;
        }
        
    }


    /* =================================================
   MOBILE HEADER EXTRA (NEW ADDITION)
================================================= */

.mobile-header-extra {
    display: none;
}

/* ===== MOBILE VIEW ===== */
@media (max-width: 768px) {

    /* SHOW MOBILE HEADER EXTRA */
    .mobile-header-extra {
        display: block;
        background: #fff;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    /* MOBILE MENU PANEL */
    .mobile-menu-panel {
        display: none;
        background: #fff;
        text-align: center;
        border-top: 1px solid #eee;
    }

    .mobile-menu-panel ul {
        list-style: none;
        padding: 10px 0;
        margin: 0;
    }

    .mobile-menu-panel ul li {
        padding: 12px 0;
    }

    .mobile-menu-panel ul li a {
        text-decoration: none;
        color: #100568;
        font-weight: 600;
        font-size: 15px;
        display: block;
    }

    /* OPEN STATE */
    .mobile-menu-panel.active {
        display: block;
    }
}
/* ===================== HERO SECTION ===================== */
.image-slider {
    margin-top: 120px;
}

.swiper {
 /* responsive hero height */
    transition: all 0.5s ease;
    width: 100%;
    height: calc(100vh - 80px);
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

/* IMPORTANT FIX */
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.05);
}

.swiper .swiper-pagination-bullet {
    background: rgb(255, 255, 255);
    opacity: 0.7 !important;
    width: 12px;
    height: 12px;
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.swiper .swiper-pagination-bullet-active {
    background-color: #007bff !important;
    opacity: 1 !important;
    width: 15px;
    border-radius: 10px;
}

.swiper-pagination {
    bottom: 15px !important;
}


/* Tablets */
@media (max-width: 992px) {
    .swiper {
        height: 70vh;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .swiper {
        height: 55vh;
    }

    .swiper-slide img {
        object-position: center top; /* better crop for mobile */
        transform: scale(1);
    }
}

/* ===================== ABOUT SECTION ===================== */
.about-section {
    background: #f9f9f9;
    font-family: 'Roboto', sans-serif;
}

/* Heading */
.about-section h2 {
    color: #000;
    font-size: 40px;
    margin: 0 0 15px -2px;
    font-weight: 300;
}

/* Paragraph */
.about-section p {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: #212529;
    line-height: 1.6;
    font-weight: 300;
}

/* ===================== FEATURES SECTION ===================== */
.features-section {
    background: #2e2a7b;
    padding: 0;
}

/* full width */
.features-section .container {
    max-width: 100%;
    padding: 0;
}

/* GRID LAYOUT */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    height: 100%; 
}

/* CARD */
.feature-card {
    width: 100%;
    height: 100%;
    padding: 100px 20px; /* increase height visually */
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.2);
    display: flex;              /* NEW */
    flex-direction: column;     /* NEW */
    justify-content: center;    /* vertical center */
    align-items: center;        /* horizontal center */
    transition: all 0.3s ease;
}

/* remove last divider */
.feature-card:last-child {
    border-right: none;
}

/* HOVER EFFECT */
.feature-card:hover {
    background: rgba(8, 2, 50, 0.625);
    transform: translateY(-5px);
}

/* ICON */
.feature-icon i {
    font-size: 62px;
    color: #fff;
    margin-bottom: 12px;
}

/* TEXT */
.feature-card h5 {
    font-size: 25px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0;
}

/* BIG NUMBER STYLE */
.feature-card h5 strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

/* ================= RESPONSIVE FEATURES ================= */

/* Tablet view */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        padding: 70px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
}

/* Mobile view */
@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 50px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.3);
    }

    .feature-card:last-child {
        border-bottom: none;
    }

    .feature-icon i {
        font-size: 50px;
    }

    .feature-card h5 {
        font-size: 20px;
    }
}

/* ===================== FOUNDER SECTION ===================== */
/* SECTION */
.founder-section {
    background: #fff;
}

/* GRID */
.founder-grid {
    display: flex;
    height: 520px;
    width: 113%;
}

/* LEFT IMAGE */
.founder-image {
    flex: 1;
    position: relative;
}

/* IMAGE */
.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* RIGHT CONTENT */
.founder-content {
    flex: 1;
    background-color: #eaeaeaa6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 100px;
    text-align: left;
    font-family: Arial, sans-serif;
}

/* HEADING */
.founder-content h2 {
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #000000;
}

/* BLUE TEXT */
.title-prefix {
    color: #100568;
}

/* ICON */
.founder-content i {
    color: #100568;
    margin-right: 10px;
}

/* PARAGRAPH */
.founder-content p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .founder-grid {
        height: auto;
        width: 100%;
    }

    .founder-content {
        padding: 60px 40px;
    }

    .founder-content h2 {
        font-size: 28px;
    }

    .founder-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {

    .founder-grid {
        flex-direction: column;
        height: auto;
        width: 100%;
    }

    .founder-image {
        height: 320px;
    }

    .founder-content {
        padding: 30px 20px;
        text-align: center;
    }

    .founder-content h2 {
        font-size: 22px;
        line-height: 1.4;
    }

    .founder-content p {
        font-size: 15px;
    }
}
/* ===================== Affiliation ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* SECTION */
.affiliations-section {
    width: 100%;
    padding: 80px 40px;
    background: #f5f5f5;
}

/* TITLE */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

/* WRAPPER (MULTI ROW ENABLED) */
.card-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* CARD (3 PER ROW) */
.card {
    flex: 1 1 calc(33.33% - 20px);
    height: 380px;
    background: #f5f5f5;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    cursor: pointer;

    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.6s ease;
}

/* IMAGE */
.card img {
    width: 320px;
    max-width: 80%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(26, 26, 26, 0.336);
    transition: all 0.4s ease;
}

.card.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* OVERLAY */
.overlay {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(26, 24, 35, 0.764);

    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

/* TEXT */
.overlay p {
    color: #fff;
    font-size: 15px;
    text-align: center;
}

/* HOVER EFFECT */
.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.card:hover img {
    transform: scale(1.05);
}

/* SHOW OVERLAY ON HOVER */
.card:hover .overlay {
    opacity: 1;
    transform: scale(1);
}

/* 📱 MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .card {
        flex: 1 1 calc(50% - 20px);
        height: 320px;
    }

    .card-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .affiliations-section {
        padding: 50px 20px;
    }

    .card {
        flex: 1 1 100%;
        height: 280px;
    }

    .card-wrapper {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .card img {
        width: 260px;
    }

    .overlay p {
        font-size: 14px;
    }
}

/* ===================== RECENT EVENTS ===================== */
@media (max-width: 576px) {

    /* Make modal thinner */
    .modal-dialog {
        margin: 10px;
        max-width: 95%;
        align-items: center;
    }

    /* Reduce padding inside modal */
    .modal-content {
        padding: 1px;
        border-radius: 6px;
    }

    /* Header adjustment */
    .modal-header {
        padding: 10px 15px;
    }

    .modal-header h4 {
        font-size: 18px;
        color: #000;
    }

    /* Images spacing */
    .modal-body img {
        margin-bottom: 10px;
        border-radius: 8px;
    }
}

.modal-body img {
    transition: transform 0.3s ease;
}

.modal-body img:hover {
    transform: scale(1.02);
}

.modal-body {
    max-height: 500vh;
    overflow-y: auto;
}

/* ===================== FOOTER ===================== */
.footer {
    background: #100568;
    color: #f7f7f7;
}

.footer-main {
    padding: 70px 0 30px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 10px;
}

.underline {
    width: 60px;
    height: 3px;
    background: #00bfff;
    margin-bottom: 20px;
}

/* CONTACT */
.footer-contact p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-contact i {
    margin-right: 10px;

}

.footer-contact a {
    color: #f7f7f7;
    text-decoration: none;
}

/* SOCIAL ICONS (NEW) */
.social-icons {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    margin-right: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #00bfff;
    transform: translateY(-3px);
}

/* LOCATIONS LIST (FIXED) */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f7f7f7;
}

.footer-links i {
    color: #ffffff;
}

/* BOTTOM */
.footer-bottom {
    background: #0a043f;
    padding: 20px 0;
    text-align: center;
    color: #ddd;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 992px) {

    .footer-main {
        padding: 60px 0 20px;
    }

    .footer-col {
        margin-bottom: 30px;
    }

    .footer h4 {
        font-size: 18px;
    }
}

@media (max-width: 576px) {

    .footer-main {
        padding: 50px 0 20px;
        text-align: left;
    }

    .footer-contact p {
        font-size: 14px;
    }

    .footer-links li {
        justify-content: left;
        font-size: 14px;
    }

    .social-icons {
        justify-content: left;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .footer-bottom {
        font-size: 13px;
    }
}