/* =========================================================
   GLOBAL CSS
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #f8f9fa;
}

/* =========================================================
   TOP HEADER
========================================================= */

.top-header {
    background: #111;
    color: #fff;
    padding: 10px 0;
}

    .top-header i {
        margin-right: 15px;
        cursor: pointer;
        transition: 0.3s;
    }

        .top-header i:hover {
            color: #FE5D37;
        }

/* =========================================================
   SCHOOL HEADER
========================================================= */

.school-header {
    background: #fff;
    padding: 18px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* =========================================================
   NAVBAR
========================================================= */

.custom-nav {
    background: rgba(254,93,55,0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* DESKTOP MENU CENTER */

@media (min-width:992px) {

    .navbar-collapse {
        justify-content: center;
    }

    .navbar-nav {
        width: auto !important;
        margin: auto;
        align-items: center;
    }

        .navbar-nav .nav-link {
            padding: 18px 18px !important;
        }
}

.navbar-brand,
.nav-link {
    color: #fff !important;
    font-weight: 600;
    position: relative;
}

    /* DESKTOP UNDERLINE */

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0%;
        height: 2px;
        left: 0;
        bottom: 0;
        background: #fff;
        transition: 0.3s;
    }

    .nav-link:hover::after {
        width: 100%;
    }

/* =========================================================
   DROPDOWN
========================================================= */

.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.dropdown-item {
    padding: 10px 18px;
    font-weight: 600;
}

    .dropdown-item:hover {
        background: #FE5D37;
        color: #fff;
    }

/* DESKTOP DROPDOWN ARROW */

.navbar .dropdown-toggle::after {
    margin-left: 8px;
    vertical-align: middle;
    border-top: 0.35em solid #fff;
    border-right: 0.35em solid transparent;
    border-left: 0.35em solid transparent;
}

/* =========================================================
   BANNER
========================================================= */

.docs-banner {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("../images/contactus.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .docs-banner h1 {
        color: #fff;
        font-size: 55px;
        font-weight: bold;
        text-shadow: 0 0 10px #00aaff;
    }

    .docs-banner h2 {
        font-size: 42px;
        font-weight: 700;
        margin-bottom: 15px;
        color: #fff;
    }

    .docs-banner p {
        font-size: 18px;
        opacity: 0.95;
        color: #fff;
    }

/* =========================================================
   SECTION TITLE
========================================================= */

.section-title {
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 50px;
    text-align: center;
}

.doc-title {
    color: #fe5d37f2;
    font-size: 55px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Times New Roman", serif;
}

/* =========================================================
   TABLES
========================================================= */

#documents table {
    font-family: "Times New Roman", serif;
}

    #documents table th {
        border: none;
        font-size: 18px;
        padding-bottom: 20px;
    }

    #documents table td {
        border: none;
        padding: 15px 10px;
        font-size: 16px;
    }

    #documents table a {
        color: #1a73e8;
        text-decoration: none;
    }

        #documents table a:hover {
            text-decoration: underline;
        }

.custom-table {
    background: #fff;
}

    .custom-table thead {
        background: #0d3c6e;
        color: #fff;
    }

        .custom-table thead th {
            padding: 15px;
            font-size: 15px;
            text-align: center;
            vertical-align: middle;
        }

    .custom-table tbody td {
        padding: 14px;
        font-size: 14px;
        color: #333;
        vertical-align: middle;
    }

    .custom-table tbody tr:nth-child(even) {
        background: #f8fbff;
    }

    .custom-table tbody tr:hover {
        background: #eef5ff;
        transition: 0.3s;
    }

/* =========================================================
   BUTTONS
========================================================= */

.download-btn {
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

    .download-btn:hover {
        background: #003b8b;
        color: #fff;
    }

.excel-btn {
    background: #198754 !important;
}

    .excel-btn:hover {
        background: #0f5e3b !important;
    }

/* =========================================================
   SLIDER
========================================================= */

.carousel-item {
    position: relative;
}

    .carousel-item::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 1;
    }

.carousel-caption {
    z-index: 2;
    bottom: 22%;
}

    .carousel-caption h1 {
        font-size: 65px;
        font-weight: 700;
        text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    }

    .carousel-caption p {
        font-size: 22px;
    }

/* =========================================================
   BLINK BUTTON
========================================================= */

.blink-btn {
    background: linear-gradient(45deg,#ff512f,#dd2476);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 35px;
    font-size: 18px;
    font-weight: 600;
    animation: blinkAnim 1s infinite;
    box-shadow: 0 10px 25px rgba(255,0,80,0.4);
}

@keyframes blinkAnim {

    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* =========================================================
   FEATURE BOX
========================================================= */

.feature-box {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.4s;
    height: 100%;
}

    .feature-box:hover {
        transform: translateY(-10px);
    }

    .feature-box i {
        font-size: 55px;
        color: #FE5D37;
        margin-bottom: 20px;
    }

/* =========================================================
   STATS
========================================================= */

.stats {
    background: linear-gradient(135deg,#0d6efd,#003b99);
    color: #fff;
    padding: 80px 0;
}

/* =========================================================
   TEACHER CARD
========================================================= */

.teacher-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

    .teacher-card:hover {
        transform: translateY(-10px);
    }

    .teacher-card img {
        height: 450px;
        object-fit: cover;
    }

/* =========================================================
   GALLERY
========================================================= */

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.4s;
    border-radius: 20px;
}

    .gallery img:hover {
        transform: scale(1.04);
    }

/* =========================================================
   CONTACT BOX
========================================================= */

.contact-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-control {
    height: 55px;
    border-radius: 12px;
}

textarea.form-control {
    height: auto;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    background: linear-gradient(135deg,#111,#1f1f1f);
    color: #fff;
    padding: 70px 0 20px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: 0.3s;
}

    .footer-links a:hover {
        color: #FE5D37;
        padding-left: 5px;
    }

/* =========================================================
   WHATSAPP BUTTON
========================================================= */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: float 2s infinite;
}

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

/* =========================================================
   FULL MOBILE RESPONSIVE FIX
========================================================= */

@media (max-width:991px) {

    /* BODY */

    html,
    body {
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* ================= NAVBAR ================= */

    .custom-nav {
        background: rgba(254,93,55,0.95) !important;
        padding: 0;
    }

    .custom-toggler {
        width: 100%;
        border: none;
        background: transparent !important;
        box-shadow: none !important;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 14px 16px;
    }

        .custom-toggler:focus {
            box-shadow: none !important;
        }

    .navbar-toggler-icon {
        filter: brightness(0) invert(1);
        width: 26px;
        height: 26px;
    }

    .navbar-collapse {
        background: rgba(254,93,55,0.98);
        padding: 0;
        margin-top: 0;
    }

    .navbar-nav {
        width: 100%;
        text-align: left !important;
    }

        .navbar-nav .nav-item {
            width: 100%;
            border-bottom: 1px solid rgba(255,255,255,0.12);
        }

            .navbar-nav .nav-item:last-child {
                border-bottom: none;
            }

        .navbar-nav .nav-link {
            color: #fff !important;
            font-size: 15px;
            font-weight: 500;
            padding: 16px 20px !important;
            display: flex;
            align-items: center;
            justify-content: space-between;
            text-transform: uppercase;
        }

            .navbar-nav .nav-link:hover {
                background: rgba(255,255,255,0.08);
            }

    .nav-link::after {
        display: none !important;
    }

    /* RIGHT ICON */

    .navbar-nav .nav-link::before {
        content: "\f105";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        order: 2;
        margin-left: auto;
        font-size: 14px;
    }

    .dropdown-toggle::before {
        content: "\f107" !important;
    }

    .dropdown-toggle::after {
        display: none !important;
    }

    /* DROPDOWN */

    .mobile-dropdown {
        width: 100%;
        background: rgba(0,0,0,0.10) !important;
        border: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        transform: none !important;
        inset: auto !important;
        box-shadow: none !important;
    }

        .mobile-dropdown .dropdown-item {
            color: #fff !important;
            padding: 14px 35px !important;
            font-size: 14px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            text-transform: uppercase;
            background: transparent !important;
        }

            .mobile-dropdown .dropdown-item:hover {
                background: rgba(255,255,255,0.08) !important;
            }

            .mobile-dropdown .dropdown-item:last-child {
                border-bottom: none;
            }

    .mx-auto {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .text-center {
        text-align: left !important;
    }

    /* ================= HEADER ================= */

    .school-header {
        padding: 12px 0;
    }

        .school-header .row {
            text-align: center;
        }

        .school-header img {
            width: 60px;
            max-width: 100%;
        }

        .school-header h5 {
            font-size: 15px;
            margin-top: 8px;
        }

        .school-header h6 {
            font-size: 13px;
        }

        .school-header .border-start,
        .school-header .border-end {
            border: none !important;
            margin-top: 10px;
        }

    /* ================= SLIDER ================= */

    .carousel-item img {
        height: 55vh !important;
        object-fit: cover;
        width: 100%;
    }

    .carousel-caption {
        bottom: 14%;
        padding-left: 15px;
        padding-right: 15px;
    }

        .carousel-caption h1 {
            font-size: 28px;
            line-height: 36px;
        }

        .carousel-caption p {
            font-size: 14px;
        }

    .blink-btn {
        padding: 10px 22px;
        font-size: 14px;
    }

    /* ================= SECTIONS ================= */

    section {
        overflow: hidden;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .feature-box {
        padding: 22px;
        margin-bottom: 20px;
    }

    .teacher-card {
        margin-bottom: 20px;
    }

        .teacher-card img {
            height: 280px;
            width: 100%;
            object-fit: cover;
        }

    /* ================= GALLERY ================= */

    .gallery .col-lg-4,
    .gallery .col-md-6,
    .gallery .col-12 {
        margin-bottom: 15px;
    }

    .gallery img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    /* ================= TABLE ================= */

    .table-responsive {
        width: 100%;
        overflow-x: auto;
    }

    table {
        min-width: 700px;
    }

    /* ================= CONTACT ================= */

    .contact-box {
        padding: 22px;
    }

    .form-control {
        font-size: 14px;
    }

    /* ================= FOOTER ================= */

    footer {
        text-align: center;
    }

        footer .col-lg-4,
        footer .col-md-6 {
            margin-bottom: 25px;
        }

    /* ================= DOC TITLE ================= */

    .doc-title {
        font-size: 30px;
    }

    #documents table td,
    #documents table th {
        font-size: 14px;
    }

    /* ================= BANNER ================= */

    .docs-banner {
        height: auto;
        padding: 70px 15px;
    }

        .docs-banner h1 {
            font-size: 32px;
        }

        .docs-banner h2 {
            font-size: 26px;
        }

        .docs-banner p {
            font-size: 14px;
        }

    /* ================= WHATSAPP ================= */

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }

    /* ================= IMAGES ================= */

    img {
        max-width: 100%;
        height: auto;
    }

    /* ================= ROW FIX ================= */

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
}
/* ================= MOBILE TABLE FIX ================= */

@media (max-width:768px) {

    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
    }

    .custom-table {
        min-width: 750px;
        white-space: nowrap;
    }

        .custom-table th,
        .custom-table td {
            padding: 14px 16px;
            font-size: 14px;
            vertical-align: middle;
        }

        /* Optional Better Look */

        .custom-table thead th {
            background: #0d3c6e;
            color: #fff;
            position: sticky;
            top: 0;
            z-index: 1;
        }
}
.principal-card {
    transition: all 0.4s ease;
}

    .principal-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

/* Fade-in animation */
#principalmessage {
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.academic-banner {
    height: 200px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/banner.png');
    background-size: cover;
    background-position: center;
}

.section-title {
    font-weight: 700;
    position: relative;
}

    .section-title::after {
        content: "";
        width: 80px;
        height: 3px;
        background: #0d6efd;
        display: block;
        margin: 10px auto 0;
        border-radius: 5px;
    }

.calendar-box {
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s ease;
}

    .calendar-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }

.calendar-table th {
    background: #f8f9fa;
    font-size: 13px;
    padding: 10px;
}

.calendar-table td {
    height: 45px;
    vertical-align: middle;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}

    .calendar-table td:hover {
        background: #eef5ff;
    }

.event-day {
    background: #0d6efd;
    color: #fff;
    font-weight: bold;
}

.holiday {
    background: #dc3545;
    color: #fff;
    font-weight: bold;
}

.festival {
    background: #ffc107;
    color: #000;
    font-weight: bold;
}

.calendar-events p {
    font-size: 14px;
    margin-bottom: 8px;
}

.calendar-events .badge {
    padding: 6px 10px;
    font-size: 12px;
}

.calendar-table th {
    background: #f8f9fa;
    font-size: 13px;
    padding: 10px;
}

.calendar-table td {
    height: 45px;
    width: 45px;
    vertical-align: middle;
    font-size: 14px;
    font-weight: 500;
}

.event-day {
    background: #0d6efd;
    color: #fff;
    font-weight: bold;
}

.holiday {
    background: #dc3545;
    color: #fff;
    font-weight: bold;
}

.festival {
    background: #ffc107;
    color: #000;
    font-weight: bold;
}

/* MOBILE RESPONSIVE */
@media(max-width:768px) {

    .calendar-table {
        font-size: 12px;
    }

        .calendar-table th {
            font-size: 11px;
            padding: 6px 2px;
        }

        .calendar-table td {
            height: 35px;
            width: 35px;
            font-size: 11px;
            padding: 2px;
        }

    .calendar-events p {
        font-size: 12px;
    }

    .calendar-box {
        margin-bottom: 20px;
    }
}

/* EXTRA SMALL MOBILE */
@media(max-width:480px) {

    .calendar-table th {
        font-size: 10px;
    }

    .calendar-table td {
        height: 30px;
        width: 30px;
        font-size: 10px;
    }
}