﻿/* =============================
   GLOBAL STYLES
============================= */
body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 600;
}

section {
    overflow: hidden;
}

/* =============================
   TOP BAR
============================= */
.top-bar {
    background: #222;
    color: #fff;
    font-size: 14px;
}

/* =============================
   NAVBAR
============================= */
.navbar {
    transition: 0.3s;
}

.navbar-brand {
    font-size: 24px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin-left: 10px;
    color: #333 !important;
}

.navbar-nav .nav-link:hover {
    color: #dc3545 !important;
}

.navbar-nav .nav-link.active {
    background: #dc3545;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 3px;
}

/* =============================
   SLIDER
============================= */
.carousel img {
    height: 500px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
}

/* =============================
   ABOUT SECTION
============================= */
section h2 {
    margin-bottom: 20px;
}

/* =============================
   FEATURES
============================= */
.bg-light h4 {
    color: #dc3545;
}

.bg-light p {
    font-size: 14px;
}

/* =============================
   ACADEMICS SECTION
============================= */
.academics h1 {
    font-size: 40px;
}

.academics p {
    font-size: 15px;
    color: #555;
}

/* Cards */
.card {
    border: none;
    overflow: hidden;
    transition: 0.3s;
}

.card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.card:hover {
    transform: scale(1.03);
}

/* Blue label under images */
.card .bg-primary {
    background-color: #0d3b66 !important;
}

.card h6 {
    font-weight: 600;
    margin: 0;
}

/* =============================
   GALLERY
============================= */
.gallery img {
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* =============================
   CONTACT FORM
============================= */
.form-control {
    border-radius: 0;
    box-shadow: none;
}

.form-control:focus {
    border-color: #dc3545;
    box-shadow: none;
}

.btn-danger {
    background-color: #dc3545;
    border: none;
}

.btn-danger:hover {
    background-color: #b02a37;
}

/* =============================
   FOOTER
============================= */
footer {
    font-size: 14px;
}

/* =============================
   RESPONSIVE DESIGN
============================= */
@media (max-width: 768px) {

    .carousel img {
        height: 250px;
    }

    .academics h1 {
        font-size: 28px;
        text-align: center;
    }

    .academics p {
        text-align: center;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }
}


/* =============================
   INFRASTRUCTURE SECTION
============================= */
.infrastructure {
    background: #f8f8f8;
}

.infrastructure h1 {
    font-size: 40px;
    font-weight: 500;
}

/* dots under heading */
.infrastructure .dot {
    height: 6px;
    width: 6px;
    background: #f4a261;
    display: inline-block;
    border-radius: 50%;
    margin: 0 3px;
}

.infrastructure .star {
    color: purple;
    margin: 0 5px;
}

/* box */
.infra-box {
    background: #fff;
    padding: 30px 20px;
    border: 1px solid #eee;
    transition: 0.3s;
    height: 100%;
}

.infra-box:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* icon */
.icon-box {
    width: 60px;
    height: 60px;
    background: #dc3545;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -50px auto 15px;
    border-radius: 3px;
}

/* text */
.infra-box h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.infra-box p {
    font-size: 14px;
    color: #555;
}


/* =============================
   TESTIMONIAL SECTION
============================= */
.testimonial-section {
    background: url('../images/bg-school.jpg') center/cover no-repeat;
    position: relative;
    padding: 80px 0;
}

/* red overlay */
.testimonial-section .overlay {
    background: rgba(220, 53, 69, 0.9);
    padding: 80px 0;
}

/* text */
.testimonial-section h1 {
    font-size: 40px;
    line-height: 1.4;
}

/* right text */
.testimonial-section p {
    font-size: 16px;
    max-width: 400px;
    margin: auto;
}

.testimonial-section h6 {
    font-weight: 600;
}

/* dots */
.carousel-indicators [data-bs-target] {
    background-color: #000;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* responsive */
@media (max-width: 768px) {
    .testimonial-section h1 {
        font-size: 26px;
        text-align: center;
        margin-bottom: 20px;
    }
}

/* =============================
   CONTACT + NOTICE SECTION
============================= */
.contact-notice h2 {
    font-weight: 600;
}

/* contact box */
.contact-box {
    background: #f2f2f2;
}

.contact-box label {
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-box .form-control {
    border-radius: 0;
    border: none;
    padding: 10px;
}

/* button */
.contact-box .btn {
    background: #dc3545;
    border: none;
}

.contact-box .btn:hover {
    background: #b02a37;
}

/* accordion */
.accordion-button {
    background: #eee;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background: #dc3545;
    color: #fff;
}

.accordion-body {
    background: #f8f8f8;
    font-size: 14px;
}

/* responsive */
@media (max-width: 768px) {
    .contact-box {
        margin-bottom: 20px;
    }
}
/* =============================
   FOOTER
============================= */
.footer-section {
    background: #111;
}

.footer-section h5 {
    margin-bottom: 15px;
}

/* links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #dc3545;
}

/* text */
.footer-section p {
    font-size: 14px;
    color: #ccc;
}

/* social */
.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
    color: #fff;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #dc3545;
}

/* bottom */
.footer-bottom {
    background: #000;
    font-size: 14px;
}
/* SLIDER HEIGHT FIX */
.carousel-item img {
    height: 600px;   /* increase height */
    object-fit: cover;
}
@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }
}
.carousel-caption {
    bottom: 20%;
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 5px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.6);
    padding: 15px;
    border-radius: 50%;
}
.navbar-brand img {
    height: 101px;
    width: auto;
}

/* =============================
   FOOTER MODERN DESIGN
============================= */
.footer-section {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    color: #ccc;
}

.footer-logo {
    height: 60px;
}

/* headings */
.footer-section h5 {
    color: #fff;
    margin-bottom: 15px;
    position: relative;
}

/* underline effect */
.footer-section h5::after {
    content: "";
    width: 40px;
    height: 2px;
    background: #dc3545;
    display: block;
    margin-top: 5px;
}

/* links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a i {
    margin-right: 8px;
    color: #dc3545;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

/* contact */
.footer-section p {
    font-size: 14px;
}

.footer-section p i {
    color: #dc3545;
    margin-right: 8px;
}

/* social */
.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #333;
    color: #fff;
    margin-right: 8px;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #dc3545;
}

/* bottom */
.footer-bottom {
    background: #000;
    color: #aaa;
    font-size: 14px;
}

/* =============================
   TOP BAR
============================= */
.top-bar {
    background: #111;
    font-size: 14px;
}

/* icons spacing */
.top-bar i {
    color: white;
    margin-right: 5px;
}

/* social icons */
.top-social a {
    color: #fff;
    margin-left: 12px;
    transition: 0.3s;
}

.top-social a:hover {
    color: #dc3545;
}
/* =============================
   MANAGEMENT SECTION
============================= */
.management-section {
    background: #f8f8f8;
}

.management-section h1 {
    font-weight: 600;
}

/* card */
.management-card {
    border: none;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* image */
.management-card img {
    height: 300px;
    object-fit: cover;
}

/* hover */
.management-card:hover {
    transform: translateY(-5px);
}

/* role */
.management-card .role {
    color: #dc3545;
    font-weight: 500;
}

/* text */
.management-card p {
    font-size: 14px;
    color: #555;
}

/* =============================
   NOTICE BOARD
============================= */
.notice-board {
    height: 300px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    overflow: hidden;
}

/* text */
.notice-board p {
    font-size: 14px;
    margin: 10px 0;
    color: #333;
}

/* hover effect */
.notice-board p:hover {
    color: #dc3545;
    cursor: pointer;
}

.custom-bg {
    background: #1f1f1f;
    color: #fff;
}

.contact-box,
.notice-board {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-notice {
    padding: 80px 0;   /* top & bottom spacing */
}

/* dropdown styling */
.dropdown-menu {
    border-radius: 5px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dropdown-item:hover {
    background: #dc3545;
    color: #fff;
}

/* notice button */
.navbar .btn {
    padding: 6px 15px;
    font-size: 14px;
}

/* =============================
   HOVER DROPDOWN
============================= */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* smooth effect */
.dropdown-menu {
    display: none;
    transition: 0.3s;
}

/* keep it visible */
.dropdown:hover > .dropdown-menu {
    display: block;
}

/* =============================
   BREADCRUMB SECTION
============================= */
.breadcrumb-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('../images/bg-school.jpg') center/cover no-repeat;
    padding: 60px 0;
}

.breadcrumb-section h2 {
    font-size: 32px;
    font-weight: 600;
}

/* breadcrumb */
.breadcrumb {
    background: transparent;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #dc3545;
}

/* =============================
   ABOUT PAGE
============================= */
.about-section {
    background: #f9f9f9;
}

/* image styling */
.about-img {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* heading */
.about-section h2 {
    font-weight: 600;
}

/* text */
.about-section p {
    font-size: 15px;
    color: #555;
    text-align: justify;
}
/* =============================
   MANAGEMENT COMMITTEE
============================= */
.management-section {
    background: #f9f9f9;
}

.management-box {
    background: #fff;
    padding: 25px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.management-box:hover {
    transform: translateY(-5px);
}

/* role */
.management-box .role {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 5px;
}

/* qualification */
.management-box .qualification {
    font-size: 14px;
    color: #666;
}
/* =============================
   STAFF TABLE
============================= */
.staff-section {
    background: #f9f9f9;
}

.table th {
    background: #dc3545;
    color: #fff;
}

.table td {
    vertical-align: middle;
}

.table tr:hover {
    background: #fff5f5;
}
/* =============================
   MISSION & VISION
============================= */
.mission-section {
    background: #f9f9f9;
}

/* boxes */
.mission-box {
    background: #fff;
    padding: 25px;
    border-left: 4px solid #dc3545;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

/* values */
.value-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.value-box ul {
    padding-left: 15px;
    text-align: left;
}

.value-box li {
    font-size: 14px;
    margin-bottom: 5px;
}
/* =============================
   CHAIRMAN MESSAGE
============================= */
.chairman-section {
    background: #f9f9f9;
}

.chairman-img {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* text */
.chairman-section p {
    font-size: 15px;
    color: #555;
    text-align: justify;
}
.chairman-img {
    max-height: 400px;
    object-fit: cover;
}
/* =============================
   PUPIL PLEDGE
============================= */
.pledge-section {
    background: #f9f9f9;
}

/* list styling */
.pledge-list {
    columns: 2;   /* split into 2 columns */
    column-gap: 40px;
    padding-left: 20px;
}

.pledge-list li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #444;
    transition: 0.3s;
}

/* hover effect */
.pledge-list li:hover {
    color: #dc3545;
    transform: translateX(5px);
}

/* responsive */
@media (max-width: 768px) {
    .pledge-list {
        columns: 1;
    }
}
/* =============================
   CONTACT PAGE
============================= */
.contact-section {
    background: #f9f9f9;
}

/* contact info */
.contact-info p {
    font-size: 15px;
    color: #444;
    margin-bottom: 15px;
}

.contact-info i {
    color: #dc3545;
    margin-right: 8px;
}

/* form */
.contact-form {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.contact-form label {
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-form .form-control {
    border-radius: 0;
}

/* button */
.contact-form .btn {
    background: #dc3545;
    border: none;
}

.contact-form .btn:hover {
    background: #b02a37;
}
/* =============================
   ADMISSION PAGE
============================= */
.admission-section {
    background: #f9f9f9;
}

/* headings */
.admission-section h4 {
    font-weight: 600;
}

/* list */
.admission-list {
    padding-left: 20px;
}

.admission-list li {
    margin-bottom: 8px;
    font-size: 15px;
    color: #444;
}

/* table */
.table th {
    background: #dc3545;
    color: #fff;
}

.table tr:hover {
    background: #fff5f5;
}
/* =============================
   FEE STRUCTURE
============================= */
.fee-section {
    background: #f9f9f9;
}

/* tables */
.table th {
    background: #dc3545;
    color: #fff;
}

.table tr:hover {
    background: #fff5f5;
}

/* alerts spacing */
.alert {
    font-size: 14px;
}

/* =============================
   UNIFORM PAGE
============================= */
.uniform-section {
    background: #f9f9f9;
}

/* boxes */
.uniform-box {
    padding: 25px;
    border-radius: 10px;
    color: #fff;
    height: 100%;
}

/* summer */
.summer-box {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

/* winter */
.winter-box {
    background: linear-gradient(135deg, #343a40, #000);
}

/* list */
.uniform-box ul {
    padding-left: 20px;
}

.uniform-box li {
    margin-bottom: 8px;
}

/* HOUSE COLORS */
.house-box {
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
}

/* colors */
.red { background: #dc3545; }
.green { background: #28a745; }
.gray { background: #6c757d; }
.yellow { background: #ffc107; color: #000; }


/* =============================
   FACILITIES PAGE
============================= */
.facilities-section {
    background: #f9f9f9;
}

/* box */
.facility-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: 0.3s;
}

/* hover */
.facility-box:hover {
    transform: translateY(-5px);
}

/* icons */
.facility-box h4 i {
    color: #dc3545;
    margin-right: 8px;
}

/* text */
.facility-box p {
    font-size: 14px;
    color: #555;
}

/* list */
.facility-box ul {
    padding-left: 20px;
}

.facility-box li {
    font-size: 14px;
}
/* =============================
   HOUSE SYSTEM
============================= */
.house-section {
    background: #f9f9f9;
}

/* cards */
.house-card {
    padding: 25px;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    transition: 0.3s;
}

.house-card:hover {
    transform: translateY(-5px);
}

/* colors */
.nalanda {
    background: #dc3545;
}

.takshashila {
    background: #28a745;
}

.valabhi {
    background: #001f3f;
}

.vikramshila {
    background: #ffc107;
    color: #000;
}

/* activity list */
.activity-list {
    padding-left: 20px;
}

.activity-list li {
    margin-bottom: 8px;
    font-size: 15px;
    color: #444;
}
.notice-detail {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.notice-detail h3 {
    font-weight: 600;
}

.notice-detail p {
    font-size: 15px;
    color: #555;
}
.notice-page {
    background: #f9f9f9;
}

.notice-box {
    background: #fff;
    border-left: 4px solid #dc3545;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 6px;
}

.notice-box:hover {
    transform: translateY(-3px);
    transition: 0.3s;
}

.diary-section {
    background: #f9f9f9;
}

/* calendar styling */
.calendar {
    width: 100%;
}

td[title] {
    cursor: pointer;
}
/* =============================
   RULES PAGE
============================= */
.rules-section {
    background: #f9f9f9;
}

/* list */
.rules-list {
    padding-left: 20px;
}

.rules-list li {
    margin-bottom: 8px;
    font-size: 15px;
    color: #444;
    transition: 0.3s;
}

/* hover effect */
.rules-list li:hover {
    color: #dc3545;
    transform: translateX(5px);
}

.card {
    border-radius: 10px;
}

.table th {
    background: #dc3545 !important;
    color: #fff !important;
}

.btn-danger {
    border-radius: 5px;
}
/* =============================
   BOOK LIST PAGE
============================= */

.book-img {
    height: 120px;
    width: 80px;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

/* hover zoom */
.book-img:hover {
    transform: scale(1.1);
}

/* table */
.table th {
    background: #dc3545 !important;
    color: #fff !important;
}

/* card */
.card {
    border-radius: 10px;
}

/* =============================
   SYLLABUS PAGE
============================= */

.card {
    border-radius: 10px;
}

/* table header */
.table th {
    background: #dc3545 !important;
    color: #fff !important;
}

/* dropdown */
.form-control {
    border-radius: 5px;
}

/* button */
.btn-danger {
    border-radius: 5px;
}
.gallery-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
    height: 240px;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

/* IMAGE FIXED */
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    transition: 0.3s;
}

/* ZOOM */
.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}

/* TITLE */
.gallery-title {
    background: #dc3545;
    color: #fff;
    text-align: center;
    padding: 8px;
}

/* OVERLAY */
.gallery-card::after {
    content: "View Gallery";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: rgba(220,53,69,0.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.gallery-card:hover::after {
    opacity: 1;
}

.card {
    border: none;
    border-radius: 10px;
}

.card-header {
    font-weight: 600;
    font-size: 18px;
}

.table th {
    background: #f8f9fa;
}

.btn-danger {
    background: #dc3545;
    border: none;
}

.btn-danger:hover {
    background: #b02a37;
}

.top-social a {
    color: #fff;
    margin-right: 8px;
    font-size: 14px;
    transition: 0.3s;
}

.top-social a:hover {
    color: #ffc107;
}

.btn-sm {
    padding: 4px 10px;
    font-size: 12px;
}