﻿/* =============================
   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;
}