
:root {
    --green-dark: #087443;
    --academic-gold: #F0C75E;
    --academic-light: #f1f8f2;
    --academic-text: #344438;
}

* {
    box-sizing: border-box
}

body {
    color: var(--ink);
    font-family: Inter,"Segoe UI",Arial,sans-serif;
    line-height: 1.6
}


/* Main navigation bar */
.school-nav {
    background-color: var(--green-dark, #087443);
    padding: 0.85rem 0;
}

/* School name and logo text */
.navbar-brand {
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    line-height: 1.25;
    color: #ffffff;
    transition: color 0.3s ease;
}

    .navbar-brand span {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }

/* Navigation links */
.school-nav .navbar-nav .nav-link {
    font-weight: 500;
    margin-left: 0.4rem;
    padding: 0.55rem 0.85rem;
    color: #ffffff;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    /* Hover and keyboard focus */
    .school-nav .navbar-nav .nav-link:hover,
    .school-nav .navbar-nav .nav-link:focus {
        background-color: var(--academic-gold, #e8bd4a);
        color: var(--green-dark, #087443);
    }

    /* Active page link */
    .school-nav .navbar-nav .nav-link.active {
        color: var(--academic-gold, #e8bd4a);
    }

/* Navbar shadow separator */
.navbar {
    border-bottom: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
    position: relative;
    z-index: 10;
}

/* Mobile navigation spacing */
@media (max-width: 991.98px) {
    .school-nav .navbar-nav .nav-link {
        margin: 0.2rem 0;
        padding: 0.65rem 0.85rem;
    }
}

.hero {
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
    background: linear-gradient(90deg,rgba(9,44,31,.94),rgba(9,44,31,.68)),url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1800&q=85') center/cover
}

.hero-content {
    padding-top: 5rem;
    padding-bottom: 5rem
}

.hero h1 {
    font-size: clamp(2.5rem,5vw,4.6rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 1rem 0
}

    .hero h1 span {
        color: var(--gold)
    }

.hero p {
    font-size: 1.15rem;
    max-width: 620px;
    margin-bottom: 1.7rem;
    color: #eef4ef
}

.eyebrow {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--gold)
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.6rem
}

    .section-heading h2 {
        font-size: clamp(1.7rem,3vw,2.3rem);
        font-weight: 800;
        margin: .25rem 0
    }

    .section-heading p {
        color: var(--muted);
        max-width: 330px;
        margin: 0
    }

.feature-card, .admin-card {
    height: 100%;
    padding: 1.7rem;
    border: 1px solid #e2ebe5;
    border-radius: 18px;
    background: white;
    box-shadow: 0 8px 24px #183d2810
}

.feature-icon {
    font-size: 2rem;
    color: var(--green);
    margin-bottom: .6rem
}

.feature-card h3, .admin-card h2 {
    font-size: 1.25rem;
    font-weight: 750
}

.feature-card p, .admin-card p {
    color: var(--muted);
    margin-bottom: 0
}

.notice-section {
    background: var(--pale)
}

.notice-card {
    background: white;
    border: 1px solid #e1e9e3;
    border-radius: 14px;
    padding: 1.3rem;
    height: 100%
}

    .notice-card h2, .notice-card h3 {
        font-size: 1.18rem;
        font-weight: 750;
        margin: .65rem 0
    }

    .notice-card p {
        color: #58675f;
        white-space: pre-line;
        margin-bottom: .4rem
    }

    .notice-card time, .gallery-tile time {
        color: var(--muted);
        font-size: .82rem
    }

.notice-category {
    color: var(--green);
    background: #e8f4ed;
    border-radius: 30px;
    padding: .2rem .65rem;
    font-size: .75rem;
    font-weight: 700
}

.photo-card {
    display: block;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 190px;
    color: white;
    text-decoration: none;
    background: #dce9df
}

    .photo-card img {
        width: 100%;
        height: 230px;
        object-fit: cover;
        display: block;
        transition: transform .25s
    }

    .photo-card:hover img {
        transform: scale(1.04)
    }

    .photo-card span {
        position: absolute;
        inset: auto 0 0;
        padding: 2.2rem 1rem .8rem;
        background: linear-gradient(transparent,#000b);
        font-weight: 700
    }

.page-banner {
    background: linear-gradient(120deg,#104b35,#1e7952);
    color: white;
    padding: 3.5rem 0
}

    .page-banner h1 {
        font-size: clamp(2rem,4vw,3rem);
        font-weight: 800;
        margin: .5rem 0
    }

    .page-banner p {
        color: #e1eee6;
        margin: 0
    }

    .page-banner .eyebrow {
        color: var(--gold)
    }

.gallery-tile {
    height: 100%;
    border: 1px solid #e4ebe6;
    border-radius: 14px;
    overflow: hidden;
    background: white
}

    .gallery-tile img {
        width: 100%;
        height: 210px;
        object-fit: cover
    }

    .gallery-tile h2 {
        font-size: 1.02rem;
        font-weight: 750;
        margin: 0 0 .2rem
    }

    .gallery-tile p {
        font-size: .9rem;
        color: var(--muted);
        margin: .5rem 0 0
    }

.notice-list {
    max-width: 900px;
    margin: auto;
    display: grid;
    gap: 1rem
}

.notice-message {
    white-space: pre-line
}

.empty-state {
    padding: 2.5rem 1rem;
    border: 1px dashed #cbd9cf;
    border-radius: 14px;
    background: #fbfdfb;
    color: var(--muted);
    text-align: center
}

.auth-wrap {
    min-height: 65vh;
    display: grid;
    place-items: center;
    padding-top: 3rem;
    padding-bottom: 3rem
}

.auth-card {
    width: min(100%,450px);
    padding: 2rem;
    border: 1px solid #e0e9e2;
    border-radius: 18px;
    box-shadow: 0 12px 40px #183d2810
}

    .auth-card h1, .form-page h1 {
        font-weight: 800
    }

.form-page {
    max-width: 850px
}

    .form-page form {
        margin-top: 1.5rem;
        padding: 1.6rem;
        border: 1px solid #e1e9e3;
        border-radius: 16px;
        background: #fff
    }

.form-control, .form-select {
    padding: .7rem;
    border-color: #d4dfd7
}

    .form-control:focus, .form-select:focus {
        border-color: var(--green);
        box-shadow: 0 0 0 .2rem #176b4820
    }

.admin-thumb {
    width: 82px;
    height: 60px;
    object-fit: cover;
    border-radius: 7px
}

.table thead th {
    background: #f2f7f3;
    color: #46564d;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em
}

.footer {
    background: #102f23;
    color: white
}

    .footer .small {
        color: #c8d8ce
    }

.btn-success {
    background: var(--green);
    border-color: var(--green)
}

    .btn-success:hover {
        background: var(--green-dark);
        border-color: var(--green-dark)
    }

@media(max-width:767px) {
    .hero {
        min-height: 430px
    }

    .hero-content {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem
    }

    .section-heading {
        align-items: start;
        flex-direction: column
    }

    .photo-card img {
        height: 170px
    }

    .gallery-tile img {
        height: 150px
    }

    .gallery-tile .p-3 {
        padding: .75rem !important
    }

    .auth-card {
        padding: 1.4rem
    }

    .table td, .table th {
        white-space: nowrap
    }

    .admin-card .btn {
        margin: 0 0 .5rem
    }

    .navbar-brand {
        font-size: .9rem
    }
}
/* School Introduction */
.school-about .section-heading h2 {
    color: #123b70;
    font-weight: 800;
    margin-top: 8px;
}

.school-about .section-heading p {
    max-width: 650px;
    line-height: 1.7;
}

.school-intro-image {
    height: 420px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(18, 59, 112, 0.12);
}

    .school-intro-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
    }

.school-about-badge {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 145px;
    margin-top: -55px;
    margin-left: 18px;
    padding: 12px 18px;
    border-radius: 12px;
    background: #fff;
    color: #123b70;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

    .school-about-badge strong {
        font-size: 27px;
        line-height: 1.2;
    }

    .school-about-badge span {
        font-size: 13px;
        color: #667085;
    }

.school-intro-content h3 {
    color: #123b70;
    font-size: 28px;
    font-weight: 750;
    line-height: 1.35;
    margin-bottom: 18px;
}

.school-intro-content > p {
    color: #596579;
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 15px;
}

.school-intro-content strong {
    color: #123b70;
}

.school-highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
    padding: 15px;
    border: 1px solid #e5edf6;
    border-radius: 12px;
    background: #f8fbff;
}

.highlight-icon {
    font-size: 25px;
    line-height: 1.3;
}

.school-highlight-card h4 {
    color: #123b70;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
}

.school-highlight-card p {
    color: #687386;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 767.98px) {
    .school-intro-image {
        height: 280px;
    }

    .school-intro-content h3 {
        font-size: 23px;
    }

    .school-intro-content > p {
        font-size: 14px;
    }
}

/* School Hero Carousel */
.school-hero {
    position: relative;
    overflow: hidden;
    background: #123b70;
}

.school-hero .carousel-item {
    height: 560px;
    position: relative;
}

.school-hero .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.school-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(5, 25, 55, 0.88) 0%, rgba(5, 25, 55, 0.65) 48%, rgba(5, 25, 55, 0.15) 100% );
}

.school-hero .hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
    padding-top: 40px;
    padding-bottom: 60px;
    pointer-events: none;
}

    .school-hero .hero-content a {
        pointer-events: auto;
    }

.school-hero .eyebrow {
    display: inline-block;
    color: #ffd166;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.school-hero .hero-content h1 {
    max-width: 800px;
    font-size: clamp(34px, 4.5vw, 60px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

    .school-hero .hero-content h1 span {
        color: #ffd166;
    }

.school-hero .hero-content p {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.school-hero .carousel-control-prev,
.school-hero .carousel-control-next {
    z-index: 3;
    width: 7%;
}

.school-hero .carousel-indicators {
    z-index: 4;
}

    .school-hero .carousel-indicators button {
        width: 32px;
        height: 5px;
        border-radius: 5px;
    }

/* Mobile */
@media (max-width: 767.98px) {
    .school-hero .carousel-item {
        height: 490px;
    }

    .school-hero .hero-overlay {
        background: rgba(5, 25, 55, 0.72);
    }

    .school-hero .hero-content {
        padding-left: 45px;
        padding-right: 35px;
    }

        .school-hero .hero-content h1 {
            font-size: 34px;
        }

        .school-hero .hero-content p {
            font-size: 16px;
            line-height: 1.6;
        }

    .school-hero .eyebrow {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .school-hero .carousel-control-prev,
    .school-hero .carousel-control-next {
        width: 9%;
    }
}
/* School Hero Carousel end */


/* ===== Academic Highlights ===== */
.academic-highlights {
    padding: 75px 0;
    background: #f5f8f4;
}

.highlights-heading {
    max-width: 720px;
    margin: 0 auto 42px;
}

.highlights-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #b18a27;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.highlights-heading h2 {
    margin: 0 0 12px;
    color: var(--green-dark);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
}

    .highlights-heading h2 span {
        color: #198754;
    }

.highlights-heading p {
    margin: 0;
    color: #68756b;
    font-size: 16px;
    line-height: 1.8;
}

.heading-divider {
    width: 58px;
    height: 4px;
    margin: 20px auto 0;
    background: #e8bd4a;
    border-radius: 10px;
}

.highlight-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 270px;
    padding: 25px 22px 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e3eae3;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(24, 65, 38, 0.045);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .highlight-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--green-dark), #e8bd4a);
    }

    .highlight-card:hover {
        transform: translateY(-6px);
        border-color: #bfd7c3;
        box-shadow: 0 14px 30px rgba(24, 65, 38, 0.12);
    }

.highlight-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.highlight-number {
    color: #c3cec4;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.highlight-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: var(--green-dark);
    background: #edf5ee;
    border-radius: 13px;
    font-size: 23px;
}

.highlight-card h3 {
    margin: 0 0 10px;
    color: var(--green-dark);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}

.highlight-card p {
    margin: 0 0 23px;
    color: #69746b;
    font-size: 14px;
    line-height: 1.75;
}

.highlight-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #edf1ed;
    color: #267443;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

    .highlight-bottom i {
        color: #b18a27;
        font-size: 16px;
    }

@media (max-width: 767.98px) {
    .academic-highlights {
        padding: 50px 0;
    }

    .highlights-heading {
        margin-bottom: 30px;
    }

    .highlight-card {
        min-height: 255px;
        padding: 21px 18px 18px;
    }

    .highlight-top {
        margin-bottom: 18px;
    }

    .highlight-card h3 {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .highlight-card {
        transition: none;
    }
}
/*academics end*/

/* ==============================
   MANAGEMENT MESSAGE SECTION
   ============================== */
.management-section {
    background: #f5f8fc;
    overflow: hidden;
}

.management-heading .eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #0877bd;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.management-heading h2 {
    margin-bottom: 14px;
    color: #12345a;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 750;
}

.management-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: #64748b;
    line-height: 1.8;
}

.management-divider {
    width: 70px;
    height: 4px;
    margin: 20px auto 0;
    background: #0785c9;
    border-radius: 10px;
}

/* Equal-height image column */

.management-photo {
    position: relative;
    min-height: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #dce8f2;
    box-shadow: 0 10px 30px rgba(18, 52, 90, 0.10);
}

    .management-photo img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 520px;
        object-fit: cover;
        object-position: center;
    }

/* Image label */

.management-photo-label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 10px 18px;
    color: #fff;
    background: rgba(18, 52, 90, 0.90);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Message card */

.management-card {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 38px;
    background: #fff;
    border: 1px solid #e5edf5;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(18, 52, 90, 0.07);
}

.management-content {
    width: 100%;
}

.management-designation {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #0877bd;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 1px;
}

    .management-designation i {
        font-size: 22px;
    }

.management-content h3 {
    margin-bottom: 20px;
    color: #12345a;
    font-size: 27px;
    font-weight: 750;
    line-height: 1.35;
}

.management-content p {
    margin-bottom: 16px;
    color: #526174;
    font-size: 15px;
    line-height: 1.85;
    text-align: left;
}

/* Management signature */

.management-signature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #e5edf5;
}

.signature-line {
    flex: 0 0 4px;
    align-self: stretch;
    min-height: 45px;
    background: #0785c9;
    border-radius: 5px;
}

.signature-details h4 {
    margin: 0 0 6px;
    color: #12345a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.signature-details span {
    color: #718096;
    font-size: 14px;
}

/* Tablet and mobile */

@media (max-width: 991.98px) {
    .management-photo {
        height: auto;
        min-height: 0;
    }

        .management-photo img {
            height: auto;
            min-height: 0;
            aspect-ratio: 4 / 3;
            object-fit: cover;
        }

    .management-card {
        padding: 30px;
    }
}

@media (max-width: 575.98px) {
    .management-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .management-heading {
        margin-bottom: 30px !important;
    }

    .management-card {
        padding: 22px;
    }

    .management-content h3 {
        font-size: 23px;
    }

    .management-content p {
        font-size: 14px;
        line-height: 1.8;
    }

    .management-photo-label {
        left: 12px;
        bottom: 12px;
        padding: 8px 12px;
        font-size: 11px;
    }

    .signature-details h4 {
        font-size: 14px;
    }
}

/* ===== Management Messages end ===== */


/* =====================================
   TAGORE JEEVAN SCHOOL FOOTER
   ===================================== */
.school-footer {
    background: var(--green-dark);
    color: #f1f8f2;
    font-size: 14px;
}

.school-footer a {
    color: #d7e2ef;
    text-decoration: none;
    transition: color 0.25s ease;
}

    .school-footer a:hover {
        color: #61c7ff;
    }

/* School brand */

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.footer-brand strong {
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.footer-brand small {
    display: block;
    margin-top: 5px;
    color: #91c8ee;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.7px;
}

.footer-description {
    max-width: 390px;
    color: #bdccdd;
    font-size: 14px;
    line-height: 1.9;
}

/* Headings */

.footer-heading {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

    .footer-heading::after {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 42px;
        height: 3px;
        background: #e8bd4a;
        border-radius: 5px;
        content: "";
    }

/* Navigation links */

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #e8bd4a;
}

    .footer-links li {
        margin-bottom: 13px;
    }

    .footer-links a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #bdccdd;
    }

        .footer-links a i {
            color: #45b7eb;
            font-size: 11px;
        }

        .footer-links a:hover {
            padding-left: 4px;
            color: #61c7ff;
        }

/* Contact details */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .footer-contact li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        min-width: 0;

    }

    .footer-contact > li > i {
        flex: 0 0 18px;
        margin-top: 3px;
        color: #e8bd4a;
        font-size: 17px;
    }

    .footer-contact li span {
        min-width: 0;
        overflow-wrap: anywhere;
        line-height: 1.7;
    }

    .footer-contact strong {
        display: block;
        margin-bottom: 3px;
        color: #fff;
        font-weight: 600;
    }

    .footer-contact a {
        overflow-wrap: anywhere;
    }

/* Social media */

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

    .footer-socials a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        color: #fff;
        background: rgba(255, 255, 255, 0.09);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 50%;
        font-size: 17px;
    }

        .footer-socials a:hover {
            color: var(--green-dark);
            background: #e8bd4a;
            border-color: #e8bd4a;
        }

/* Google Maps */

.footer-map {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #e4edf6;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

    .footer-map iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    color: #e8bd4a !important;
    font-weight: 600;
}

    .footer-map-link:hover {
        color: #fff !important;
    }

/* Copyright */

.footer-bottom {
    background: var(--green-dark);
    border-top: 1px solid rgba(232, 189, 74, 0.35);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
}

    .footer-bottom-content p {
        margin: 0;
        color: #aebed0;
        line-height: 1.8;
    }

    .footer-bottom-content a {
        color: #e8bd4a;
        font-weight: 600;
     
    }

.footer-credit {
    text-align: right;
}

/* Tablet and mobile */

@media (max-width: 767.98px) {
    .school-footer .container > .row {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }

    .footer-heading {
        margin-bottom: 20px;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-credit {
        text-align: left;
    }
}

@media (max-width: 400px) {
    .footer-brand strong {
        font-size: 17px;
    }

    .footer-brand small {
        font-size: 9px;
    }

    .footer-logo {
        width: 50px;
        height: 50px;
    }

    .footer-map {
        height: 180px;
    }
}
/* =====================================
   TAGORE JEEVAN SCHOOL FOOTER END
   ===================================== */

/* =====================================
   CONTACT US PAGE
   ===================================== */

/* Contact page hero - same background as navbar */
.contact-hero {
    background: linear-gradient(120deg, #103b25, #176b3a);
    color: #ffffff;
    padding: 55px 0 60px;
    border-top: none;
    border-bottom: 4px solid var(--academic-gold, #e8bd4a);
}

.contact-hero-label {
    display: inline-block;
    color: var(--academic-gold, #e8bd4a);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-hero h1 {
    color: #ffffff;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-hero p {
    color: #f2f7f3;
    margin: 0;
    font-size: 16px;
}

/* Contact information */
.contact-section {
    background: var(--academic-light, #f1f8f2);
}

.contact-info-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e0e9e2;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

    .contact-info-card h3 {
        color: var(--green-dark, #087443);
        font-size: 23px;
        font-weight: 700;
        margin-bottom: 28px;
    }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

    .contact-info-item > i {
        color: var(--green-dark, #087443);
        font-size: 22px;
        margin-top: 2px;
    }

    .contact-info-item h5 {
        color: #26382c;
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .contact-info-item p {
        color: #58645b;
        line-height: 1.7;
        margin: 0;
        overflow-wrap: anywhere;
    }

.contact-directions-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 22px;
    background: var(--green-dark, #087443);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s ease;
}

    .contact-directions-btn:hover {
        background: #075b36;
        color: #ffffff;
    }

/* Google map */
.contact-map-wrapper {
    min-height: 430px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e0e9e2;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

    .contact-map-wrapper iframe {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 430px;
        border: 0;
    }

@media (max-width: 767px) {
    .contact-hero {
        padding: 40px 15px 45px;
    }

    .contact-info-card {
        padding: 22px;
    }

    .contact-map-wrapper,
    .contact-map-wrapper iframe {
        min-height: 320px;
    }
}


/* =====================================
   CONTACT US PAGE END
   ===================================== */


/* Clickable admin gallery thumbnail */
.gallery-view-thumb {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 7px;
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .gallery-view-thumb:hover,
    .gallery-view-thumb:focus {
        transform: scale(1.06);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        outline: 2px solid var(--green-dark, #087443);
    }

/* Photo viewer popup */
.photo-viewer-content {
    background: #152019;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

    .photo-viewer-content .modal-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .photo-viewer-content .modal-body {
        padding: 15px;
        min-height: 200px;
    }

.photo-viewer-image {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 5px;
}

@media (max-width: 767px) {
    .photo-viewer-image {
        max-height: 65vh;
    }
}
/* Clickable admin gallery thumbnail end*/


/* Public gallery clickable photos */
.gallery-clickable-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-tile {
    overflow: hidden;
}

.gallery-clickable-image:hover,
.gallery-clickable-image:focus {
    filter: brightness(0.92);
    outline: 2px solid var(--green-dark, #087443);
    outline-offset: -2px;
}

@media (max-width: 767px) {
    .gallery-clickable-image {
        height: 160px;
    }
}
/*Public gallery end*/


/* Bulk photo upload page */
.bulk-upload-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

.form-page .form-control:focus {
    border-color: var(--green-dark, #087443);
    box-shadow: 0 0 0 0.2rem rgba(8, 116, 67, 0.12);
}

#selectedFiles {
    overflow-wrap: anywhere;
}
/*Bulk upload end*/

.gallery-album-navigation {
    padding: 22px;
    background: #f6faf7;
    border: 1px solid #e1ece4;
    border-radius: 12px;
}

.gallery-album-label {
    color: var(--green-dark, #087443);
    font-size: 1.1rem;
    font-weight: 700;
}

.gallery-album-section {
    scroll-margin-top: 100px;
}

.gallery-album-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--academic-gold, #e8bd4a);
}

    .gallery-album-heading h2 {
        margin: 5px 0;
        color: var(--green-dark, #087443);
        font-weight: 700;
    }

    .gallery-album-heading p {
        margin: 0;
        color: #6c757d;
    }

.gallery-clickable-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-tile {
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

    .gallery-tile:hover .gallery-clickable-image {
        transform: scale(1.03);
    }

.photo-viewer-content {
    background: #17211b;
    color: #fff;
}

.photo-viewer-image {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .gallery-clickable-image {
        height: 150px;
    }

    .gallery-album-navigation {
        padding: 16px;
    }
}
