:root {

    --primary: #0B1F3A;
    --secondary: #12355B;
    --accent: #C8A146;
    --green: #2E7D32;
    --light: #F8F9FA;
    --dark: #202124;
    --text: #555;
    --white: #ffffff;
    --border: #e7e7e7;
    --shadow: 0 12px 40px rgba(0, 0, 0, .08);
    --radius: 18px;
    --transition: .4s;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Open Sans', sans-serif;

    font-size: 16px;

    line-height: 1.8;

    color: var(--text);

    background: #fff;

    overflow-x: hidden;

}

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: 'Poppins', sans-serif;

    color: var(--primary);

    font-weight: 700;

    line-height: 1.3;

}

a {

    text-decoration: none;

    transition: var(--transition);

}

img {

    max-width: 100%;

    display: block;

}

ul {

    list-style: none;

    padding: 0;

    margin: 0;

}

.section-padding {

    padding: 100px 0;

}

.container {

    max-width: 1200px;

}

.section-title {

    margin-bottom: 60px;

}

.section-title span {

    display: inline-block;

    padding: 8px 22px;

    background: #eef4ff;

    color: var(--primary);

    font-weight: 600;

    border-radius: 50px;

    margin-bottom: 18px;

}

.section-title h2 {

    font-size: 42px;

    margin-bottom: 20px;

}

.section-title p {

    max-width: 700px;

    margin: auto;

}

/* TOP BAR */
.top-bar {

    background: var(--primary);

    color: #fff;

    font-size: 14px;

    padding: 10px 0;

}

.top-bar ul {

    display: flex;

    gap: 25px;

    align-items: center;

}

.top-bar li {

    display: flex;

    align-items: center;

    gap: 8px;

}

.top-social {

    justify-content: flex-end;

}

.top-social a {

    width: 36px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255, 255, 255, .12);

    border-radius: 50%;

    color: #fff;

}

.top-social a:hover {

    background: var(--accent);

    color: #fff;

    transform: translateY(-4px);

}

/* NAVBAR */
.navbar {

    background: #fff;

    padding: 18px 0;

    transition: .4s;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .06);

}

.navbar-brand {

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 24px;

    font-weight: 700;

    color: var(--primary);

}

.navbar-brand img {

    height: 58px;

}

.navbar-nav {

    gap: 12px;

}

.nav-link {

    font-weight: 600;

    color: var(--primary);

    position: relative;

}

.nav-link::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -6px;

    width: 0;

    height: 2px;

    background: var(--accent);

    transition: .4s;

}

.nav-link:hover::after,

.nav-link.active::after {

    width: 100%;

}

.btn-admission {

    background: var(--accent);

    padding: 5px 28px;

    border-radius: 10px;

    font-weight: 700;

    color: #fff;

    margin-left: 20px;

    transition: .4s;

}

.btn-admission:hover {

    background: var(--primary);

    color: #fff;

    transform: translateY(-4px);

}

/* HERO */
.hero-section {

    position: relative;

    padding-top: 180px;

    padding-bottom: 120px;

    background:

        linear-gradient(rgba(8, 23, 44, .82),

            rgba(8, 23, 44, .82)),

        url("images/hero.png") no-repeat;

    background-size: cover;

    background-position: center;

    color: #fff;

    overflow: hidden;

}

.hero-tag {

    display: inline-block;

    background: rgba(255, 255, 255, .15);

    padding: 10px 22px;

    border-radius: 50px;

    margin-bottom: 25px;

    color: #fff;

}

.hero-content h1 {

    font-size: 58px;

    font-weight: 800;

    color: #fff;

    margin-bottom: 25px;

}

.hero-content p {

    font-size: 18px;

    margin-bottom: 35px;

    color: #f2f2f2;

}

.hero-btns {

    display: flex;

    gap: 18px;

    margin-bottom: 40px;

}

.btn-primary-custom {

    background: var(--accent);

    color: #fff;

    padding: 15px 38px;

    border-radius: 50px;

    font-weight: 700;

}

.btn-outline-custom {

    border: 2px solid #fff;

    padding: 15px 36px;

    border-radius: 50px;

    color: #fff;

}

.btn-outline-custom:hover {

    background: #fff;

    color: var(--primary);

}

.hero-features {

    display: flex;

    gap: 35px;

    flex-wrap: wrap;

}

.hero-features div {

    display: flex;

    align-items: center;

    gap: 10px;

    font-weight: 600;

}

.hero-features i {

    color: var(--accent);

    font-size: 22px;

}

.hero-image img {

    border-radius: 25px;

    box-shadow: var(--shadow);

    animation: float 5s infinite ease-in-out;

}

@keyframes float {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-15px);

    }

    100% {

        transform: translateY(0);

    }

}

/* ABOUT */
.about-section {

    background: #fff;

}

.about-section img {

    border-radius: 22px;

    box-shadow: var(--shadow);

}

.about-box {

    background: #fff;

    padding: 30px;

    border-radius: 18px;

    box-shadow: var(--shadow);

    margin-top: 25px;

    transition: .4s;

    height: 100%;

}

.about-box:hover {

    transform: translateY(-10px);

}

.about-box i {

    font-size: 42px;

    color: var(--accent);

    margin-bottom: 18px;

}

/* VISION & MISSION */
.vision-section {
    background: #f8fbff;
}

.vision-card {
    background: #fff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    border-top: 5px solid var(--accent);
}

.vision-card:hover {
    transform: translateY(-10px);
}

.vision-card .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(200, 161, 70, .15);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.vision-card i {
    font-size: 38px;
    color: var(--accent);
}

.vision-card h3 {
    margin-bottom: 20px;
}

/* COUNTER */
.counter-section {
    background: var(--primary);
    color: #fff;
    padding: 90px 0;
}

.counter-box {
    text-align: center;
    padding: 30px;
}

.counter-box h2 {
    font-size: 58px;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 800;
}

.counter-box p {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* WHY CHOOSE US */
.why-section {
    background: #fff;
}

.feature-box {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    border-bottom: 4px solid transparent;
}

.feature-box:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
}

.feature-box i {
    font-size: 52px;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-box h4 {
    margin-bottom: 18px;
}

.feature-box p {
    margin-bottom: 0;
}

/* ACADEMIC FACILITIES */
.facility-section {
    background: #f7f9fc;
}

.facility-section img {
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.facility-list {
    margin-top: 20px;
}

.facility-list li {
    padding: 15px 0;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #ececec;
}

.facility-list li:last-child {
    border-bottom: none;
}

.facility-list i {
    color: var(--green);
    font-size: 20px;
}

/* PRINCIPAL MESSAGE */
.principal-section {
    padding: 100px 0;
    background: #fff;
}

.principal-section img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    margin: auto;
    border: 8px solid #fff;
    box-shadow: var(--shadow);
}

.principal-section h2 {
    margin-bottom: 25px;
}

.principal-section p {
    font-size: 17px;
    line-height: 2;
}

.principal-section h5 {
    margin-top: 25px;
    color: var(--accent);
}

/* HOSTEL */
.hostel-section {
    background: #f8fbff;
}

.hostel-section img {
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hostel-feature {
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    transition: var(--transition);
    height: 100%;
}

.hostel-feature:hover {
    transform: translateY(-8px);
}

.hostel-feature i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 15px;
}

.hostel-feature h5 {
    margin-bottom: 12px;
}

/* SPORTS */
.sports-section {
    background: #fff;
}

.sport-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.sport-card:hover {
    transform: translateY(-10px);
}

.sport-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.sport-card h5 {
    padding: 22px;
    text-align: center;
    margin: 0;
}

/* NDA FOUNDATION */
.nda-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #eef5ff, #ffffff);
}

.nda-section img {
    border-radius: 24px;
    box-shadow: var(--shadow);
}

/* STUDENT LIFE */
.student-life {
    background: #fff;
}

.life-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.life-card:hover {
    transform: translateY(-10px);
}

.life-card i {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 20px;
}

.life-card h4 {
    margin-bottom: 18px;
}

/* GALLERY */
.gallery-section {
    background: #f7f9fc;
}

.gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    cursor: pointer;
    transition: all .4s ease;
    box-shadow: var(--shadow);
}

.gallery-img:hover {
    transform: scale(1.06);
}

/* CALL TO ACTION */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 0;
    color: #fff;
}

.cta-section h2 {
    color: #fff;
    font-size: 42px;
}

.cta-section p {
    color: #eee;
    margin-top: 15px;
}

/* ADMISSION */
.admission-section {
    background: #fff;
}

.step-card {

    background: #fff;

    border-radius: 20px;

    padding: 40px 30px;

    text-align: center;

    box-shadow: var(--shadow);

    transition: .4s;

    position: relative;

    height: 100%;

}

.step-card:hover {

    transform: translateY(-12px);

}

.step-number {

    width: 70px;

    height: 70px;

    border-radius: 50%;

    background: var(--accent);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 26px;

    font-weight: 700;

    margin: auto;

    margin-bottom: 25px;

}

/* FEE TABL */
.fee-section {

    background: #f7f9fc;

}

.fee-table {

    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: var(--shadow);

}

.fee-table thead {

    background: var(--primary);

    color: #fff;

}

.fee-table th {

    padding: 20px;

}

.fee-table td {

    padding: 20px;

}

/* TESTIMONIALS */
.testimonial-section {

    background: #fff;

}

.testimonial-card {

    background: #fff;

    padding: 35px;

    border-radius: 20px;

    text-align: center;

    box-shadow: var(--shadow);

    transition: .4s;

    height: 100%;

}

.testimonial-card:hover {

    transform: translateY(-10px);

}

.testimonial-card h5 {

    color: #ffb400;

    font-size: 24px;

}

/* FAQ */
.faq-section {

    background: #f7f9fc;

}

.accordion-item {

    border: none;

    border-radius: 15px;

    overflow: hidden;

    margin-bottom: 18px;

    box-shadow: var(--shadow);

}

.accordion-button {

    font-weight: 600;

    padding: 22px;

}

.accordion-button:not(.collapsed) {

    background: var(--primary);

    color: #fff;

}

/* CONTACT */
.contact-section {

    background: #fff;

}

.contact-section h2 {

    margin-bottom: 30px;

}

.form-control {

    padding: 15px 18px;

    border-radius: 12px;

    border: 1px solid #ddd;

}

.form-control:focus {

    border-color: var(--accent);

    box-shadow: none;

}

iframe {

    border-radius: 20px;

    box-shadow: var(--shadow);

}

/* FOOTER */
.footer {

    background: var(--primary);

    color: #ddd;

    padding: 80px 0 25px;

}

.footer h4 {

    color: #fff;

    margin-bottom: 20px;

}

.footer-links li {

    margin-bottom: 12px;

}

.footer-links a {

    color: #ddd;

}

.footer-links a:hover {

    color: var(--accent);

    padding-left: 8px;

}

.footer hr {

    margin: 45px 0 20px;

    border-color: rgba(255, 255, 255, .15);

}

/* SCROLLBAR */
::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-track {

    background: #eee;

}

::-webkit-scrollbar-thumb {

    background: var(--accent);

    border-radius: 20px;

}

/* BACK TO TOP */
.back-to-top {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 50px;

    height: 50px;

    border-radius: 50%;

    background: var(--accent);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    opacity: 0;

    visibility: hidden;

    transition: .4s;

    z-index: 999;

}

.back-to-top.active {

    opacity: 1;

    visibility: visible;

}

/* RESPONSIVE */
@media(max-width:991px) {

    .hero-section {

        padding-top: 140px;

        text-align: center;

    }

    .hero-content h1 {

        font-size: 42px;

    }

    .hero-btns {

        justify-content: center;

        flex-wrap: wrap;

    }

    .hero-features {

        justify-content: center;

    }

    .navbar-brand span {

        font-size: 20px;

    }

    .section-title h2 {

        font-size: 34px;

    }

}

@media(max-width:767px) {

    .section-padding {

        padding: 70px 0;

    }

    .hero-content h1 {

        font-size: 34px;

    }

    .section-title h2 {

        font-size: 28px;

    }

    .counter-box {

        margin-bottom: 30px;

    }

    .top-bar {

        display: none;

    }

    .btn-admission {

        margin-left: 0;

        margin-top: 15px;

        display: inline-block;

    }

    .gallery-img {

        height: 180px;

    }

    .principal-section img {

        width: 220px;

        height: 220px;

    }

}

/* EXTRA RESPONSIVE CSS */
@media (max-width:992px) {

    .navbar {
        padding: 12px 0;
    }

    .navbar-brand img {
        height: 50px;
    }

    .hero-section {
        padding-top: 140px;
        padding-bottom: 80px;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-image {
        margin-top: 40px;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .about-section img,
    .facility-section img,
    .hostel-section img,
    .nda-section img {
        margin-bottom: 40px;
    }

    .principal-section {
        text-align: center;
    }

    .principal-section img {
        margin-bottom: 30px;
    }

    .footer {
        text-align: center;
    }

    .footer .col-lg-4 {
        margin-bottom: 40px;
    }

}

/* Tablets */
@media(max-width:768px) {

    .section-padding {
        padding: 70px 0;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .counter-box {
        margin-bottom: 30px;
    }

    .counter-box h2 {
        font-size: 42px;
    }

    .feature-box,
    .about-box,
    .vision-card,
    .hostel-feature,
    .life-card,
    .testimonial-card,
    .step-card {
        margin-bottom: 25px;
    }

    .hero-btns a {
        width: 100%;
        text-align: center;
    }

    .btn-admission {
        display: inline-block;
        margin-left: 0;
        margin-top: 15px;
    }

    .navbar-brand span {
        font-size: 18px;
    }

    .gallery-img {
        height: 220px;
    }

    table {
        font-size: 14px;
    }

    iframe {
        height: 300px;
    }

}

@media(max-width:576px) {

    body {
        font-size: 15px;
    }

    .top-bar {
        display: none;
    }

    .navbar-brand img {
        height: 42px;
    }

    .navbar-brand span {
        font-size: 16px;
    }

    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.4;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-tag {
        font-size: 13px;
        padding: 8px 18px;
    }

    .section-title span {
        font-size: 13px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .hero-features {
        display: block;
    }

    .hero-features div {
        margin-bottom: 12px;
        justify-content: center;
    }

    .hero-image img {
        border-radius: 18px;
    }

    .about-box,
    .feature-box,
    .vision-card,
    .hostel-feature,
    .life-card,
    .testimonial-card,
    .step-card {

        padding: 25px;

    }

    .principal-section img {
        width: 180px;
        height: 180px;
    }

    .gallery-img {
        height: 170px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section {
        text-align: center;
    }

    .contact-section h2 {
        font-size: 26px;
    }

    .footer h4 {
        font-size: 20px;
    }

    .footer {
        padding: 60px 0 20px;
    }

    .back-to-top {

        width: 42px;
        height: 42px;
        right: 15px;
        bottom: 15px;

    }

}

@media(max-width:380px) {

    .hero-content h1 {
        font-size: 24px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .hero-btns a {

        padding: 12px 18px;
        font-size: 14px;

    }

    .navbar-brand span {

        display: none;

    }

}