﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* ============================
   BASIC GLOBAL CSS RESET
============================ */

/* Box sizing for all elements */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Global font & background */
body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    line-height: 28px;
    color: #6a6a6a;
    font-size: 14px;
  /*  background-color: #eff2f1;*/


}

/* --- TOP BAR --- */
.top-bar {
    background-color: #8bacbf;
    font-size: 14px;
    padding: 5px 10px;
}

    .top-bar a {
        color: #4a2a00;
        text-decoration: none;
        margin-left: 5px;
    }

        .top-bar a:hover {
            text-decoration: underline;
        }

/* --- HEADER --- */
.navbar {
    background-color: #ffffff;
    border-bottom: 4px solid #8bacbf;
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

    .navbar-brand img {
        height: 70px;
        margin-right: 10px;
    }

.logo-text {
    font-weight: 700;
    color: #5a2e00;
    line-height: 1.2;
}

.hindi-text {
    text-align: right;
    line-height: 1.2;
}

/* --- STATUS BAR --- */
.status-bar {
    text-align: center;
    color: #5a2e00;
    font-weight: 600;
    padding: 6px;
    background-color: #e8f0f5;
}

/* --- MAIN MENU --- */
.main-menu {
    background-color: #2f8dc4;
}

.nav-link {
    color: #fff !important;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 15px;
}

    .nav-link:hover {
        text-decoration: underline;
    }


/* ============================
   FOOTER SECTION
============================ */
.footer-section {
    background: #2f8dc4; /* Match header/nav color */
    color: #fff;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

    .footer-section .footer-logo-wrap .footer-logo {
        font-size: 24px;
        font-weight: 700;
        color: #fff;
        text-decoration: none;
    }

    .footer-section .footer-logo span {
        color: #ffc107; /* Accent dot */
    }

    .footer-section p {
        font-size: 14px;
        line-height: 1.8;
        color: #ddd;
    }

    /* Social Icons */
    .footer-section .custom-social {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }

        .footer-section .custom-social li {
            list-style: none;
        }

        .footer-section .custom-social a {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #2f8dc4;
            color: #fff;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

            .footer-section .custom-social a:hover {
                background: #ffc107;
                color: #004080;
            }

    /* Footer Links */
    .footer-section .links-wrap ul {
        margin: 0;
        padding: 0;
    }

    .footer-section .links-wrap li {
        list-style: none;
        /* margin-bottom: 10px;*/
    }

    .footer-section .links-wrap a {
        color: #ddd;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
    }

        .footer-section .links-wrap a:hover {
            color: #ffc107;
        }

    /* Subscription Form */
    .footer-section .subscription-form h3 {
        font-size: 18px;
        margin-bottom: 15px;
        color: #fff;
    }

    .footer-section .subscription-form .form-control {
        border-radius: 6px;
        font-size: 14px;
    }

    .footer-section .subscription-form .btn {
        border-radius: 6px;
        padding: 8px 16px;
    }

    /* Copyright */
    .footer-section .copyright {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        /*  margin-top: 40px;
        padding-top: 20px;*/
    }

        .footer-section .copyright p {
            font-size: 13px;
            color: #bbb;
        }

        .footer-section .copyright a {
            color: #ffc107;
            text-decoration: none;
        }

            .footer-section .copyright a:hover {
                text-decoration: underline;
            }

        .footer-section .copyright ul li {
            list-style: none;
            margin-left: 20px;
        }

        .footer-section .copyright ul a {
            font-size: 13px;
            color: #ddd;
        }

            .footer-section .copyright ul a:hover {
                color: #ffc107;
            }

    /* Sofa Image Positioning */
    .footer-section .sofa-img {
        position: absolute;
        right: 10%;
        bottom: 0;
        opacity: 0.2;
        max-width: 200px;
    }

/* --- RESPONSIVE FIXES --- */
@media (max-width: 992px) {
    .navbar-brand img {
        height: 60px;
    }

    .hindi-text {
        text-align: right;
        margin-top: 10px;
    }

    .top-bar {
       /* flex-direction: column;*/
        text-align: center;
    }
}

.custom-section {
    background-color: #8bacbd1f;
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
}

.nav-tabs .nav-link {
    background-color: #2f8dc4;
    color: #4a2a00;
    font-weight: 600;
    border: none;
    border-radius: 10px 10px 0 0;
    margin-right: 5px;
}

    .nav-tabs .nav-link.active {
        background-color: #2f8dc4;
        color: #fff !important;
    }

.tab-pane {
    background-color: #f4feff;
    border-radius: 0 0 10px 10px;
    padding: 40px 20px;
    min-height: 300px;
}

.rounded-img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.principal-section {
    padding: 30px 0;
    /*background-color: #fff;*/
}

.principal-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.principal-name {
    font-weight: 700;
    color: #333;
    margin-top: 15px;
    letter-spacing: 0.5px;
}

.principal-title {
    color: #b36b2d;
    font-weight: 500;
    margin-bottom: 30px;
}

.principal-card {
    /* background: #fff;*/
    padding: 30px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
    border: none;
    border-left: 4px solid #8bacbf;
    transition: transform 0.3s ease;
}

    /*.principal-card:hover {
        transform: translateY(-5px);
    }*/

.principal-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
}

    .principal-heading span {
        color: #2f8dc4;
    }

.read-more-btn {
    background-color: #2f8dc4;
    border: none;
    padding: 8px 18px;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s;
}

    .read-more-btn:hover {
        background-color: #8c5320#8bacbf;
        color: #fff;
    }


.page-header {
    background: linear-gradient(90deg, #0056b3, #0d6efd);
    color: #fff;
    text-align: center;
    padding: 70px 15px;
}

    .page-header h1 {
        font-size: 2.4rem;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .page-header p {
        font-size: 1.1rem;
        opacity: 0.9;
    }

/* Main Content */
.content-section {
    background: #fff;
    margin: 60px auto;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-width: 1100px;
}

    .content-section h4 {
        color: #0d6efd;
        font-weight: 600;
        margin-top: 35px;
    }

    .content-section ul li {
        margin-bottom: 10px;
    }

/* Responsive Tweaks */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.9rem;
    }

    .content-section {
        padding: 25px 20px;
        margin: 30px 10px;
    }
}
/* Diamond Container */
.diamond-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

/* Diamond Box */
.diamond {
    position: relative;
    width: 140px;
    height: 140px;
    border: 2px solid #b0bec5;
    border-radius: 20px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: all 0.3s ease;
}

    .diamond:hover {
        border-color: #f29f05;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        transform: rotate(45deg) scale(1.05);
    }

    /* Inner Circle for Icon */
    .diamond .icon {
        transform: rotate(-45deg);
        text-align: center;
    }

        .diamond .icon i {
            font-size: 30px;
            color: #1e88e5;
            margin-bottom: 10px;
        }

        .diamond .icon p {
            font-size: 14px;
            font-weight: 500;
            color: #333;
            margin: 0;
        }

/* Responsive */
@media (max-width: 768px) {
    .diamond {
        width: 110px;
        height: 110px;
    }

        .diamond .icon i {
            font-size: 24px;
        }

        .diamond .icon p {
            font-size: 13px;
        }
}

@media (max-width: 576px) {
    .diamond {
        width: 90px;
        height: 90px;
    }

        .diamond .icon p {
            font-size: 12px;
        }
}

/* Vision & Mission Section (Scoped) */
.vm-section {
    background-color: #f9fbfc;
}

.vm-title {
    color: #2f8dc4;
    font-weight: 700;
    text-transform: uppercase;
}

.vm-divider {
    width: 80px;
    height: 3px;
    background-color: #2f8dc4;
    border: none;
    margin-top: 0.5rem;
}

.vm-card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .vm-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

.vm-card-body p,
.vm-list li {
    line-height: 1.7;
    font-size: 15px;
}

.vm-list {
    list-style: none;
    padding-left: 0;
}

    .vm-list li {
        margin-bottom: 10px;
    }
/* Centered container */
.course-fees-container {
    text-align: center;
    margin: 20px 0;
}

/* Responsive wrapper */
.course-fees-responsive {
    display: inline-block;
    width: 80%; /* reduced width */
    max-width: 900px;
}

/* Table styling */
.course-fees-table {
    border-collapse: collapse;
    font-size: 15px;
    background-color: #fff;
}

    .course-fees-table th,
    .course-fees-table td {
        padding: 10px 12px;
        text-align: left;
        vertical-align: middle;
    }

    .course-fees-table thead th {
        background-color: #d6e8f5;
        font-weight: 600;
        text-transform: uppercase;
        color: #003b73;
    }

    /* Links inside table */
    .course-fees-table a {
        color: #007bff;
        text-decoration: none;
    }

        .course-fees-table a:hover {
            text-decoration: underline;
        }

/* Notes section */
.course-fees-notes {
    /*background: #f8f9fa;
    border-left: 4px solid #0d6efd;*/
    padding: 15px;
    border-radius: 6px;
    max-width: 69%;
    margin: 0 auto;
}

    .course-fees-notes ul li {
        margin-bottom: 6px;
        color: #333;
        font-size: 15px;
    }

/* Responsive: expand table for small devices */
@media (max-width: 768px) {
    .course-fees-responsive {
        width: 100%;
    }

    .course-fees-table th,
    .course-fees-table td {
        font-size: 13px;
        padding: 8px;
    }

    .course-fees-notes {
        max-width: 95%;
        font-size: 14px;
    }
}
.blog-post h5 {
    margin-top: 1.8rem;
    color: #0d6efd;
    border-left: 4px solid #0d6efd;
    padding-left: 10px;
}

.blog-post p {
    font-size: 1.05rem;
    text-align: justify;
}

.blog-post {
    transition: all 0.3s ease;
}

    .blog-post:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }
.degree-section {
    padding: 60px 0;
    background-color:white;
}

.degree-title {
    color: #1d4c8b;
    font-size: 2.5rem;
    font-weight: 600;
}

.degree-text {
    color: #333;
    font-size: 1.05rem;
    margin-top: 20px;
    margin-bottom: 40px;
    max-width: 600px;
}

.degree-box {
    background: #f3f3f3;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 40px 20px;
    font-weight: 600;
    color: #1d4c8b;
    transition: all 0.3s ease-in-out;
    border-bottom: 5px solid #c5e1e4;
}

    .degree-box:hover {
        background: #fff;
        transform: translateY(-6px);
        border-bottom: 5px solid #1d4c8b;
    }

.search-box {
    margin-top: 40px;
    max-width: 600px;
}

.form-control {
    border-radius: 30px;
    padding: 12px 20px;
}

.btn-search {
    border-radius: 50%;
    background-color: #1d4c8b;
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
}

  /*  .btn-search:hover {
        background-color: #163a69;
    }*/

.faculty-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    border-left: 5px solid #1d4c8b;
}

    .faculty-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }

.faculty-image {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1d4c8b;
}

.faculty-info h5 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1d4c8b;
    margin-bottom: 6px;
}

.faculty-info p {
    margin: 2px 0;
    font-size: 0.92rem;
    color: #444;
}

.faculty-label {
    font-weight: 600;
    color: #555;
}
.achievement-section {
    background: #f5f5f5;
    padding: 60px 0;
}

.ach-tabs .nav-link {
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 6px;
    color: #003b95;
}

    .ach-tabs .nav-link.active {
        background: #003b95 !important;
        color: white !important;
    }

.achievement-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0px 5px 14px rgba(0, 0, 0, 0.12);
    padding: 25px;
}

.achievement-img {
    width: 190px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.view-all-btn {
    background: #003b95;
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.year-list {
    background: #f3f6ff;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
}

.year-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    background: #e8edff;
    color: #003b95;
    cursor: pointer;
    transition: .2s;
}

    .year-btn.active,
    .year-btn:hover {
        background: #6391d7;
        color: white;
    }

.content-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.08);
}

.year-title {
    font-size: 26px;
    font-weight: 700;
    color: #003b95;
}

.ach-item {
    margin-bottom: 18px;
    padding-left: 15px;
    border-left: 4px solid #003b95;
}

.news-list {
    background: #f3f6ff;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
}

.news-btn {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 10px;
    border: none;
    background: #e8edff;
    font-weight: 600;
    text-align: left;
    border-radius: 6px;
    transition: 0.3s;
}

    .news-btn.active,
    .news-btn:hover {
        background: #6391d7;
        color: #fff;
    }

.news-box {
     background:#fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.news-content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}
/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 images per row */
    gap: 12px;
}

/* Image styling */
.gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .gallery-img:hover {
        transform: scale(1.05);
    }

/* Zoomed image */
.zoom-img {
    max-width: 100%;
    transition: transform 0.3s ease;
}

/* Zoom controls */
.zoom-controls button {
    margin: 0 5px;
}

/*
.ecommerce-gallery-main-img {
    max-height: 350px;
    width: auto;
    object-fit: contain;
    margin: auto;
    display: block;
}
*/

.map-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
@media (max-width: 576px) {
    .map-box {
        padding-bottom: 50%;
    }