html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
}

p{
    font-size:.9rem;
    font-family:Arial;
    font-weight:500;
}

/*-- Layout --*/
.top-bar {
    background: linear-gradient(90deg, rgb(104, 209, 213) 50%, rgb(220, 241, 242) 100%);
    /*color: white;*/
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800 !important;
}

.head p:hover {
    color: blue;
    cursor: pointer;
}

.main-nav {
    background-color: white;
    padding: 10px 0;
}

.logo-area img {
    height: 70px;
}

.nav-link {
    color: black !important;
    font-weight: 500;
}

    .nav-link:hover {
        color: #800000 !important;
    }


/* Underline on Hover for nav links */
.navbar-nav > .nav-item > .nav-link {
    position: relative;
    transition: color 0.3s;
}

    .navbar-nav > .nav-item > .nav-link::after {
        content: "";
        position: absolute;
        width: 0;
        height: 3px;
        background-color: #b31641;
        left: 0;
        bottom: 0;
        transition: all 0.3s ease-in-out;
    }

.navbar-nav > .nav-item:hover > .nav-link::after {
    width: 100%;
}

/* Smooth dropdown animation */
.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 0;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer-section {
    background: linear-gradient(90deg, rgb(104, 209, 213) 50%, rgb(220, 241, 242) 100%);
    color: #1a1a1a;
    padding: 50px 20px 20px 20px;
}

    .footer-section h5 {
        font-weight: 700;
        margin-bottom: 20px;
    }

    .footer-section ul {
        list-style: none;
        padding-left: 0;
    }

        .footer-section ul li {
            margin-bottom: 10px;
        }

            .footer-section ul li a {
                text-decoration: none;
                color: #2c2c2c;
            }

                .footer-section ul li a:hover {
                    text-decoration: underline;
                }

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
}

    .footer-bottom i {
        color: red;
    }


/*-- Index --*/
.index {
    width: 100%;
    background: linear-gradient(90deg, rgb(104, 209, 213) 50%, rgb(220, 241, 242) 100%);
    padding-top: 10px;
}

.section-container {
    display: flex;
    flex-wrap: wrap;
    padding: 30px;
    max-width: 1200px;
    margin: auto;
    align-items: flex-start;
}

.image-box img {
    max-width: 100%;
    height: auto;
    width: 500px;
    border-radius: 6px;
    transition: all 0.5s ease;
}

.content-box {
    flex: 1;
    padding-left: 40px;
    min-width: 300px;
}

.tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab {
    font-weight: bold;
    color: #888;
    cursor: pointer;
}

    .tab.active {
        color: #000;
        border-bottom: 3px solid #000;
        padding-bottom: 5px;
    }

.tab-content {
    display: none;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

    .tab-content.active {
        display: block;
    }

    .tab-content h3 {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .tab-content ul {
        list-style-type: disc;
        padding-left: 20px;
        line-height: 1.8;
    }

.view-more {
    text-align: right;
    margin-top: 20px;
}

    .view-more a {
        color: #a80034;
        font-weight: bold;
        text-decoration: none;
    }

        .view-more a:hover {
            text-decoration: underline;
        }

@media (max-width: 768px) {
    .section-container {
        flex-direction: column;
    }

    .content-box {
        padding-left: 0;
        margin-top: 20px;
    }

    .image-box img {
        width: 100%;
    }
}

/* Info Section */

.info-section {
    background: linear-gradient(90deg, rgb(104, 209, 213) 50%, rgb(220, 241, 242) 100%);
    padding: 60px 0;
}

.info-block {
    text-align: center;
    padding: 20px;
    color: #1a1a1a;
}

    .info-block i {
        font-size: 50px;
        color: #f4b400;
        margin-bottom: 15px;
    }

    .info-block h5 {
        font-weight: bold;
        margin-bottom: 15px;
    }

    .info-block p {
        font-size: 16px;
        min-height: 100px;
    }

    .info-block a {
        font-style: italic;
        color: #b00a2f;
        text-decoration: none;
        font-weight: 500;
    }

    .info-block a:hover {
            text-decoration: underline;
     }

/*-- Message */


.carousel-container {
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.testimonial-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

    .testimonial-box blockquote {
        font-style: italic;
        color: #444;
        margin-bottom: 20px;
    }

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .author img {
        border-radius: 50%;
        width: 60px;
        height: 60px;
        object-fit: cover;
    }

.author-info {
    font-weight: bold;
}

.carousel-nav {
    text-align: right;
    margin-top: 20px;
}

    .carousel-nav button {
        padding: 10px 15px;
        margin: 0 5px;
        background: #fff;
        border: 1px solid #ccc;
        cursor: pointer;
        font-size: 18px;
    }

.active {
    display: grid;
}

/*-- Admission Page -- */

.contact-section {
    background: url('https://png.pngtree.com/background/20220716/original/pngtree-blue-simple-school-opening-season-exhibition-board-background-picture-image_1645070.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    position: relative;
    color: white;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    opacity:.8;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.form-wrapper {
    position: relative;
    z-index: 2;
}

.form-control, .form-select, textarea {
    border-radius: 0;
    padding: 12px;
}

.btn-submit {
    background-color: #b4002f;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    font-weight: bold;
}

label {
    color: #fff;
    margin-bottom: 5px;
}

.form-label {
    font-weight: 500;
}

/*-- About Us --*/

p{
    text-align:justify;
}

.page-header-section {
    background: url(../images/pic-202001070613043146.jpg) no-repeat center center;
    background-size: cover;
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .page-header-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
    }

.page-header-content {
    position: relative;
    color: white;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
}

.about-section {
    padding: 60px 0;
}

.about-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
}

    .about-title::after {
        content: "";
        display: block;
        width: 50px;
        height: 3px;
        background: orange;
        margin-top: 8px;
    }

.about-text {
    font-size: 16px;
    line-height: 1.7;
}

iframe {
    width: 100%;
    height: 250px;
    border-radius: 10px;
}

@media(min-width: 768px) {
    iframe {
        height: 300px;
    }
}

/*-- Departments --*/

.sidebar-box {
    background-color: #9d2235;
    /*color: white;*/
    padding: 20px;
    border-radius: 0;
}

.sidebar-box h5{
    color:white;
}

    .sidebar-box a {
        text-decoration: none;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 700;
        color:white;
    }

    .sidebar-box h5 {
        font-weight: bold;
        border-bottom: 1px solid #fff;
        padding-bottom: 10px;
    }

/*-- Admission --*/

/* Add this to your main CSS or inside <style> tag */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: 0.1rem;
        margin-right: 0.1rem;
        display: none;
        position: absolute;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
