/* ================= GLOBAL ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




body {
    font-family: 'Poppins', sans-serif;
    background: #0f2e26;
    color: #f8f6f0;

}




h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* ================= LOADER ================= */

.loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #0f2e26;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

.loader-content h1 {
    font-size: 40px;
    color: #d4af37;
    animation: fadeIn 2s ease infinite alternate;
}

@keyframes fadeIn {
    from { opacity: 0.5; }
    to { opacity: 1; }
}


.loader-content span {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    color: #f8f6f0;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 90px;
    margin-bottom: 20px;
    animation: logoZoom 1.5s ease-in-out infinite alternate;
}

@keyframes logoZoom {
    from {
        transform: scale(0.95);
        opacity: 0.8;
    }
    to {
        transform: scale(1.05);
        opacity: 1;
    }
}






/* Header */


#headerWrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0f2e27;   /* same as navbar */
    z-index: 1000;
    transition: 0.4s ease;
}

.top-bar {
    display: flex;
    justify-content: flex-end;
    padding: 8px 60px;
    font-size: 14px;
    color: #fff;
    background: #0f2e27;   
    transition: 0.4s ease;
}

.top-info span {
    margin-left: 25px;
}

.top-info i {
    margin-right: 8px;
    font-size: 13px;
    color: #d4af37;

}


.logo-subtitle {
  font-size: 15px;
  font-weight: 400;
    color: #d4af37;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .logo-title {
    font-size: 14px;
  }

  .logo-subtitle {
    font-size: 10px;
  }
}


#headerWrapper.scrolled .top-bar {
    height: 0;
    padding: 0 60px;
    overflow: hidden;
    opacity: 0;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 60px;       transition: 0.4s ease;
}

.brand {
    display: flex;
    align-items: center;
}


/* Default (At Top - Overlay on Topbar) */
.brand img {
    height: 85px;
    position: relative;
    top: -18px;   /* This makes it overlap topbar */
    transition: all 0.4s ease;
}
/* After Scrolling */
#headerWrapper.scrolled .brand img {
    height: 55px;
    top: 0;   /* Removes overlay when scrolling */
}

.academy-name {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-left: 15px;
    letter-spacing: 1px;
}
#headerWrapper.scrolled .brand img {
    height: 55px;
}

#headerWrapper.scrolled .navbar {
    padding: 12px 60px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #d4af37;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 4px 0;
}
@media (max-width: 992px) {

    .academy-name {
        font-size: 18px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        width: 350px;
        background: #0c5f3a;
        flex-direction: column;
        padding: 20px;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: flex;

    }
}


/* ================= HERO ================= */

.hero {
    height: 100vh;
    background: url('hero.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(15,46,38,0.8),
        rgba(15,46,38,0.9)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Buttons */

.white-btn, .gold-btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    margin: 10px;
    font-weight: 500;
    transition: 0.3s;
}


.white-btn {
    background: #f8f6f0;
    color: #0f2e26;
}

.white-btn:hover {
    background: #d4af37;
    color: #0f2e26;
}

.gold-btn {
    background: #d4af37;
    color: #0f2e26;
}

.gold-btn:hover {
    background: #f8f6f0;
}

/* ================= POPUP ================= */

.admission-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    z-index: 10000;
}

.popup-card {
    background: #f8f6f0;
    color: #0f2e26;
    padding: 30px;
    margin: 30px;

    border-radius: 15px;
    width: 300px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    position: relative;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
}






/* ================= ABOUT SECTION ================= */


.about-school {
    padding: 100px 8%;
    background: #f9f9f9;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.section-tag {
    color: #0f2e26;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 18px;
}

.about-content h2 {
    font-size: 36px;
    margin: 15px 0;
    color: #0f2e26;

}

.about-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-points {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.about-points li {
    margin-bottom: 10px;
    font-weight: 500;
}


.why-choose {
    padding: 100px 8%;
    background: #ffffff;
    text-align: center;
}

.section-title {
    font-size: 36px;
    margin-bottom: 60px;
    color: #0f2e26;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.why-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #0f2e26;
}

.why-card p {
    color: #555;
    line-height: 1.7;
}



.testimonials {
    padding: 100px 8%;
    background: #f4f7f6;
    text-align: center;
}

.testimonial-card {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    color: #0f2e26;
    font-weight: 600;
}


.news {
    padding: 100px 8%;
    background: #ffffff;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.news-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    text-align: left;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.news-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0f2e26;
}

.news-card p {
    color: #555;
    line-height: 1.7;
}

.contact-section {
    padding: 100px 8%;
    background: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #0f2e26;
}

.contact-section p {
    margin-bottom: 12px;
    color: #555;
    font-size: 16px;
}

.map iframe {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .about-content h2 {
        font-size: 28px;
    }
}

/* ================= FACILITIES SECTION ================= */

.facilities-section {
    padding: 100px 0;
    background: #0f2e27;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    color: #d4af37;
    margin-bottom: 15px;
}

.section-header p {
    max-width: 600px;
    margin: auto;
    font-size: 16px;
    opacity: 0.85;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.facility-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(8px);

    transition: all 0.4s ease;
}

.facility-card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25);
}

.facility-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.facility-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #ffffff;
}

.facility-card p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
}


@media (max-width: 992px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }
}


/* ================= ACADEMICS SECTION ================= */

.academics-section {
    padding: 100px 0;
    background: #123c32;
}

.academics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.academic-card {
    background: rgba(255, 255, 255, 0.04);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
    text-align: center;
}

.academic-card:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.2);
}

.academic-card h3 {
    font-size: 22px;
    color: #d4af37;
    margin-bottom: 15px;
}

.academic-card p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

.curriculum-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.highlight {
    background: rgba(255,255,255,0.05);
    padding: 18px 20px;
    border-radius: 10px;
    font-size: 15px;
    border-left: 4px solid #d4af37;
}

.highlight span {
    color: #d4af37;
    font-weight: bold;
    margin-right: 8px;
}

@media (max-width: 992px) {
    .academics-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================= ACHIEVEMENTS SECTION ================= */

.achievements-section {
    position: relative;
    padding: 120px 0 ;
    background: url("hero.jpg") center/cover no-repeat;
}

.achievements-section .overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 46, 39, 0.85);
}

.achievements-content {
    position: relative;
    z-index: 2;
}

.section-header.light h2 {
    color: #d4af37;
}

.section-header.light p {
    color: #f5f5f5;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 60px;

}

.achievement-box {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border: 1px solid rgba(212,175,55,0.3);
    backdrop-filter: blur(6px);
    transition: 0.4s ease;
}

.achievement-box:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
}

.achievement-box h3 {
    font-size: 42px;
    color: #d4af37;
    margin-bottom: 10px;
}

.achievement-box span {
    font-size: 15px;
    color: #ffffff;
    opacity: 0.9;
}


/* ================= ULTRA GALLERY ================= */

.gallery-section {
    padding: 110px 8%;
    background: #f8f9fa;
    text-align: center;
}

.gallery-section .section-title {
    font-size: 38px;
    font-weight: 700;
    color: #0f2e27;
}

.gallery-section .section-subtitle {
    margin-bottom: 60px;
    color: #777;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.gallery-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,46,39,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s ease;
}

.gallery-overlay i {
    font-size: 30px;
    color: #d4af37;
    background: white;
    padding: 15px;
    border-radius: 50%;
    transform: scale(0.8);
    transition: 0.4s;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover .gallery-overlay i {
    transform: scale(1);
}

/* Swiper Custom */
.swiper-button-next,
.swiper-button-prev {
    color: #d4af37;
}

.swiper-pagination-bullet-active {
    background: #d4af37;
}



/* ================= PRINCIPAL SECTION ================= */

.principal-section {
    padding: 120px 0;
    background: #0f2e27;
}

.principal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.principal-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: 0.4s ease;
}

.principal-image img:hover {
    transform: scale(1.03);
}

.principal-content h2 {
    font-size: 38px;
    color: #d4af37;
    margin-bottom: 25px;
}

.principal-content p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.principal-content h4 {
    margin-top: 30px;
    font-size: 18px;
    color: #ffffff;
}

.principal-content span {
    font-size: 14px;
    opacity: 0.7;
}
@media (max-width: 900px) {

    .principal-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .principal-content h2 {
        font-size: 28px;
    }

    .principal-image {
        order: -1;
    }
}

@media (max-width: 992px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .academics-grid {
        grid-template-columns: 1fr;
    }

    .curriculum-highlights {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }
}

/* ================= MANAGER SECTION ================= */

.manager-section {
    padding: 120px 0;
    background: #123c32;
}

.manager-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.manager-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: 0.4s ease;
}

.manager-image img:hover {
    transform: scale(1.03);
}

.manager-content h2 {
    font-size: 38px;
    color: #d4af37;
    margin-bottom: 25px;
}

.manager-content p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.manager-content h4 {
    margin-top: 30px;
    font-size: 18px;
    color: #ffffff;
}

.manager-content span {
    font-size: 14px;
    opacity: 0.7;
}

@media (max-width: 900px) {

    .manager-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .manager-image {
        order: -1;
    }

    .manager-content h2 {
        font-size: 28px;
    }
}

/* ================= ADMISSION CTA ================= */

.admission-cta {
    position: relative;
    padding: 120px 0;
    background: url("hero.jpg") center/cover no-repeat;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15,46,39,0.95),
        rgba(18,60,50,0.95)
    );
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: auto;
}

.cta-content h2 {
    font-size: 42px;
    color: #d4af37;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Primary Button */
.btn-primary {
    padding: 14px 30px;
    background: #d4af37;
    color: #0f2e27;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: #ffffff;
    color: #0f2e27;
}

/* Outline Button */
.btn-outline {
    padding: 14px 30px;
    border: 2px solid #d4af37;
    color: #d4af37;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-outline:hover {
    background: #d4af37;
    color: #0f2e27;
}

@media (max-width: 768px) {

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* ================= FOOTER ================= */



.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #d4af37;
    font-size: 14px;
    min-width: 18px;
}

@media (max-width: 600px) {
    .footer-contact p {
        justify-content: center;
    }
}

.footer {
    background: #0b241e;
    padding-top: 80px;
    color: #f5f5f5;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 60px;
}

.footer h3,
.footer h4 {
    color: #d4af37;
    margin-bottom: 20px;
}

.footer p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.85;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.footer-links ul li a:hover {
    color: #d4af37;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 18px;
    text-decoration: none;
    color: #f5f5f5;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: #d4af37;
}

.footer-bottom {
    background: #081c17;
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* ================= SOCIAL ICONS PREMIUM ================= */

.social-icons {
    display: flex;
    gap: 15px;
}

.social-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Animation */
.social-circle::before {
    content: "";
    position: absolute;
    width: 0%;
    height: 0%;
    background: #d4af37;
    border-radius: 50%;
    transition: 0.4s ease;
    z-index: 0;
}

.social-circle:hover::before {
    width: 100%;
    height: 100%;
}

.social-circle i {
    position: relative;
    z-index: 2;
    transition: 0.3s ease;
}

.social-circle:hover i {
    color: #0f2e27;
}

@media (max-width: 600px) {
    .social-icons {
        justify-content: center;
    }
}

/* ================= FLOATING WHATSAPP ================= */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 999;
    transition: 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Pulse Animation */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37,211,102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102, 0);
    }
}

/* ================= BACK TO TOP ================= */

#backToTop {
    position: fixed;
    bottom: 95px; /* above WhatsApp */
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #d4af37;
    color: #0f2e27;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 998;
}

#backToTop:hover {
    transform: translateY(-5px);
}

/* Show when active */
#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* ================= GALLERY SECTION ================= */

.gallery-section {
    padding: 100px 8%;
    background: #f8f9fa;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #0f2e27;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #777;
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Hover Effect */
.gallery-item:hover img {
    transform: scale(1.1);
}


/* ================= LIGHTBOX ================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    z-index: 9999;
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
    display: flex;

}


.lightbox-img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 15px;
    transform: scale(0.8);
    transition: 0.4s ease;
}

.lightbox.show .lightbox-img {
    transform: scale(1);
}

.close-lightbox {
    position: absolute;
    top: 40px;
    right: 60px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: #d4af37;
}



/******Modal */
.admission-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}


.admission-box {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: popupFade 0.4s ease;
}


.admission-modal h2{
color: #d4af37;
}
.close-admission {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 35px;
    height: 35px;
    background: #0f2e26;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s ease;
    z-index: 10;

}

.close-admission:hover {
    background: #d4af37; /* premium gold hover */
    transform: rotate(90deg);
}


.admission-box input,
.admission-box select,
.admission-box textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.admission-box input:focus,
.admission-box select:focus,
.admission-box textarea:focus {
    border-color: #0f2e26;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #0f2e26;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background: #d4af37;
    color: #0f2e26;
}
.apply-btn {
    padding: 12px 28px;
    background: #d4af37;
    color: #0f2e26;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.apply-btn:hover {
    background: #0f2e26;
    color: white;
}

@keyframes popupFade {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}