* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ✅ BODY FIX (HEADER + NAVBAR SPACE) */
body {
    padding-top: 180px;
    font-family: 'Times New Roman', Times, serif;
}

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: white;
    z-index: 1000;

    display: flex;
    align-items: center;
}

/* LEFT IMAGE */
.header-left {
    height: 100%;
    width: calc(100% - 140px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-left img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* RIGHT LOGO */
.header-right {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.header-right img {
    width: 100px;
    height: auto;
    transition: all 1s ease;
    cursor: pointer;
}

.header-right img:hover {
    transform: scale(1.2) translateY(-5px);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 120px;
    width: 100%;
    background: #0d2c54;
    z-index: 999;
    padding: 0 40px;
    display: flex;
        justify-content: space-between;
}


.navbar ul {
    display: flex;
    align-items: center;
    list-style: none;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 5px;
    position: relative;
    transition: 0.3s ease;
}

/* 🔥 HOVER FIX */
.navbar ul li a:hover {
    transform: translateY(-2px) scale(1.05);
    color: #DDA63A;
    /* 👈 GOLD */
}

/* 🔥 UNDERLINE FIX */
.navbar ul li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #DDA63A;
    /* 👈 GOLD */
    left: 0;
    bottom: 5px;
    transition: 0.3s;
}

.navbar ul li a:hover::after {
    width: 100%;
}

.navbar ul li a:hover::after {
    width: 100%;
}

/* CONTENT */
.content {
    padding-bottom: 0;
}

/* FOOTER */
.footer {
    background: #f2f2f2;
    margin-top: 0;
    padding-top: 20px;
    font-family: 'Times New Roman', Times, serif;
    width: 100%;
}


.footer-top {
    display: flex;
    gap: 30px;
    padding: 30px 50px;
    flex-wrap: wrap;
}

.footer-map {
    flex: 1;
    min-width: 300px;
}

.footer-map iframe {
    width: 100%;
    height: 260px;
    border: none;
    border-radius: 8px;
}

.footer-info {
    flex: 1;
    min-width: 300px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
}

.footer-info h3 {
    color: #072449;
    margin-bottom: 15px;
    font-size: 25px;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 14px;
    font-size: 16px;
}

/* SOCIAL ICONS */
.social-icons img {
    width: 32px;
    margin: 0 6px;
    transition: 0.3s;
}

.social-icons img:hover {
    transform: scale(1.5);
}

/* QUICK LINKS */
.footer-links {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #ccc;
}

.footer-links h4 {
    margin-bottom: 10px;
}

.footer-links a {
    color: #1a2a4f;
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #8a5a00;
}

/* BOTTOM BAR */
.footer-bottom {
    background: #0d2c54;
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    font-family: 'Times New Roman', Times, serif;
}

/* TOP BUTTON (FINAL CLEAN VERSION) */
#topBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;

    width: 50px;
    height: 50px;

    background: linear-gradient(135deg, #0d2c54, #1e90ff);
    color: white;

    border: none;
    border-radius: 50%;

    font-size: 22px;
    font-weight: bold;

    cursor: pointer;
    opacity: 0;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);

    transition: all 0.3s ease;
    z-index: 1000;
}

#topBtn.show {
    opacity: 1;
}

#topBtn:hover {
    transform: scale(1.15) translateY(-5px);
    background: linear-gradient(135deg, #1e90ff, #0d2c54);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.6);
}

#topBtn:active {
    transform: scale(0.95);
}

/* ISTE SECTION */
.iste-section {
    margin: 40px auto;
    max-width: 1800px;
    padding: 0 20px;
    margin-bottom: 0;
}

.iste-section h2 {
    color: #2c2c6c;
}

.iste-desc {
    margin-bottom: 20px;
    color: #555;
    font-size: 17px;
}

/* ACCORDION */
.accordion-item {
    background: #e9eaec;
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.accordion-header {
    padding: 16px 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px;
}

.accordion-header:hover {
    background: #dfe3e8;
}

.icon {
    font-size: 20px;
    min-width: 20px;
    text-align: right;
    transition: transform 0.3s ease;
}



/* inner spacing fix */
.accordion-content>* {
    padding: 15px 20px;
}


.accordion-content p,
.accordion-content ul {
    margin: 15px 0;
}

/* IMAGE */
.image-container {
    position: relative;
    overflow: hidden;
    max-width: 750px;
    margin: 40px auto 0;
    border-radius: 10px;
}

.image-container img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.08);
}

.image-container::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: 0.4s ease;
}

.image-container:hover::after {
    opacity: 1;
}

.image-text {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    color: white;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    transition: 0.4s ease;
    font-size: 20px;
}

.image-container:hover .image-text {
    bottom: 20px;
}

/* INTRO */
.intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro h1 {
    margin-bottom: 20px;
}

.intro p {
    text-align: justify;
    line-height: 1.35;
    font-size: 20px;
    margin-bottom: 18px;
    color: #0e1e9a;
}

/* VISITOR */
.visitor-section {
    text-align: center;
    margin: 60px 0 30px;
}

#date {
    font-size: 20px;
    color: #7873c8;
    margin-bottom: 12px;
}

.visitor-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: rgba(13, 44, 84, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.visitor-card:hover {
    transform: translateY(-6px) scale(1.05);
}

.visitor-card .count {
    font-size: 20px;
    font-weight: bold;
    color: #00e0ff;
}

/* NORMAL ACCORDION (same sabke liye) */


.accordion-content>* {
    padding: 15px 20px;
}

/* 🔥 ITEM 6 SPECIAL (CERTIFICATES) */
/* MAIN ACCORDION */

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    /* 👈 white clearly */
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
    border-top: 1px solid #ddd;
}

/* OPEN STATE */
.accordion-content.open {
    padding: 15px 20px;
}

/* OPEN STATE */
.accordion-content.open {
    padding: 15px 20px;
    /* 👈 open hone pe hi padding */
}

/* CERTIFICATES */
.accordion-content.certs {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.accordion-content.certs img {
    width: 260px;
    border-radius: 10px;
}
/* PROFILE (RITA MAAM) */
.profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* IMAGE */
.profile img {
    width: 120px;
    /* 👈 size control */
    height: auto;
    border-radius: 10px;
    object-fit: cover;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* TEXT */
.profile-text h3 {
    margin-bottom: 5px;
}

.profile-text h4 {
    font-weight: normal;
    font-size: 15px;
    color: #555;
}

/* 🔥 UNIVERSAL RESPONSIVE SYSTEM */

/* Tablets */
@media (max-width: 1024px) {

    .content {
        padding: 50px 15px;
    }

    .team-grid {
        gap: 20px;
    }

    .team-card {
        width: 220px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .join-hero {
        height: 140px;
    }

    .join-hero h1 {
        font-size: 28px;
    }

    .join-hero p {
        font-size: 14px;
    }

    .team-section h2 {
        font-size: 24px;
    }

    .team-grid {
        justify-content: center;
    }

    .team-card {
        width: 90%;
        max-width: 320px;
    }

    .img-box img {
        height: 200px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .join-hero {
        height: 120px;
    }

    .join-hero h1 {
        font-size: 24px;
    }

    .join-hero p {
        font-size: 13px;
    }

    .team-card {
        width: 100%;
    }

    .img-box img {
        height: 180px;
    }
}

/* ================= MOBILE NAVBAR FIX ================= */

/* Navbar base */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #18283A;
}

/* Links */
.nav-links {
    display: flex;
    gap: 25px;
}

/* Hamburger hidden */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* 📱 MOBILE */
@media (max-width: 768px) {

    /* Show hamburger */
    .menu-toggle {
        display: block;
    }

    /* Hide links */
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: #0d2c54;

        flex-direction: column;
        align-items: center;
        gap: 20px;

        padding: 20px 0;

        display: none;
    }

    /* Show when active */
    .nav-links.active {
        display: flex;
    }
}
.top-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    flex-wrap: wrap;
}