:root {

    --primary: #0A2342;
    --secondary: #103E73;
    --accent: #D4AF37;
    --sky: #0F5FA8;
    --light: #F5F9FD;
    --white: #ffffff;
    --text: #5A6472;
    --dark: #1A1A1A;

    --shadow: 0 18px 45px rgba(0, 0, 0, .12);

    --radius: 22px;

    --transition: .4s;

}

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.8;

}

h1,
h2,
h3,
h4,
h5 {

    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--primary);

}

a {

    text-decoration: none;
    transition: .4s;

}

img {

    max-width: 100%;
    display: block;

}

.section-padding {

    padding: 110px 0;

}

.container {

    max-width: 1240px;

}

header {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 999;

}

.topbar {

    background: linear-gradient(90deg, #08203d, #0d3b6d);

    color: #fff;

    padding: 10px 0;

    font-size: 14px;

}

.top-info {

    display: flex;

    align-items: center;

    gap: 28px;

    list-style: none;

    margin: 0;

    padding: 0;

}

.top-info li {

    display: flex;

    align-items: center;

    gap: 8px;

}

.top-social {

    display: flex;

    justify-content: flex-end;

    gap: 12px;

}

.top-social a {

    width: 35px;

    height: 35px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .15);

    display: flex;

    justify-content: center;

    align-items: center;

    color: #fff;

    transition: .3s;

}

.top-social a:hover {

    background: #D4AF37;

}

.navbar {

    padding: 18px 0;

    background: rgba(8, 34, 66, .45);

    backdrop-filter: blur(15px);

    transition: .4s;

}

.navbar.scrolled {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    background: #fff;

    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);

    z-index: 9999;

}

.navbar-brand img {

    height: 65px;

}

.navbar-brand h5 {

    color: #fff;

    margin: 0;

    font-size: 20px;

}

.navbar-brand span {

    color: #D4AF37;

}

.navbar.scrolled .navbar-brand h5 {

    color: #08203d;

}

.nav-link {

    color: #fff;

    font-weight: 600;

    margin-left: 22px;

}

.navbar.scrolled .nav-link {

    color: #08203d;

}

.btn-admission {

    background: #D4AF37;

    color: #fff;

    padding: 13px 30px;

    border-radius: 50px;

    font-weight: 600;

}

/* HERO */
.hero {

    position: relative;

    height: 100vh;

    display: flex;

    align-items: center;

    background:

        linear-gradient(rgba(8, 22, 48, .72),

            rgba(8, 22, 48, .75)),

        url("/images/hero.png");

    background-size: cover;

    background-position: center;

    overflow: hidden;

}

.overlay {

    position: absolute;

    width: 100%;

    height: 100%;

    background:

        linear-gradient(180deg,

            rgba(0, 0, 0, .05),

            rgba(0, 0, 0, .45));

}

.hero-content {

    position: relative;

    z-index: 2;

    color: #fff;

}

.hero-content span {

    display: inline-block;

    padding: 10px 25px;

    background: rgba(255, 255, 255, .12);

    border-radius: 50px;

    letter-spacing: 2px;

    font-size: 14px;

    margin-bottom: 25px;

    backdrop-filter: blur(12px);

}

.hero-content h1 {

    font-size: 72px;

    color: #fff;

    margin-bottom: 20px;

}

.hero-content h4 {

    font-family: 'Poppins';

    font-weight: 500;

    color: #F0F0F0;

    margin-bottom: 25px;

}

.hero-content p {

    font-size: 18px;

    max-width: 820px;

    margin: auto;

    color: #EAEAEA;

}

.hero-buttons {

    margin-top: 40px;

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

}

.btn-main {

    background: var(--accent);

    color: #fff;

    padding: 15px 38px;

    border-radius: 50px;

    font-weight: 600;

}

.btn-main:hover {

    background: #fff;

    color: var(--primary);

}

.btn-outline-light {

    padding: 15px 38px;

    border-radius: 50px;

    border: 2px solid #fff;

}

.hero-features {

    margin-top: 60px;

    display: flex;

    justify-content: center;

    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: 24px;

}

.scroll-down {

    position: absolute;

    left: 50%;

    bottom: 35px;

    transform: translateX(-50%);

    font-size: 34px;

    color: #fff;

    animation: bounce 2s infinite;

    z-index: 5;

}

@keyframes bounce {

    0% {

        transform: translate(-50%, 0);

    }

    50% {

        transform: translate(-50%, 15px);

    }

    100% {

        transform: translate(-50%, 0);

    }

}

/*=========================================================
SECTION TITLE
=========================================================*/

.section-heading {

    margin-bottom: 50px;

}

.section-heading span {

    display: inline-block;

    padding: 8px 20px;

    border-radius: 50px;

    background: rgba(15, 95, 168, .08);

    color: var(--sky);

    font-weight: 600;

    margin-bottom: 15px;

}

.section-heading h2 {

    font-size: 46px;

    margin-bottom: 20px;

    line-height: 1.3;

}

.section-heading p {

    max-width: 700px;

    margin: auto;

}

/*=========================================================
ABOUT
=========================================================*/

.about {

    background: #fff;
    position: relative;

}

.about::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 100%;

    height: 120px;

    background: linear-gradient(to bottom, transparent, #F4F9FD);

}

.about-image {

    overflow: hidden;

    border-radius: 25px;

    box-shadow: var(--shadow);

}

.about-image img {

    transition: .6s;

}

.about-image:hover img {

    transform: scale(1.08);

}

.about p {

    font-size: 17px;

    margin-bottom: 22px;

}

/*=========================================================
HISTORY
=========================================================*/

.history {

    background: #F4F9FD;

}

.history img {

    border-radius: 25px;

    box-shadow: var(--shadow);

}

.heritage-list {

    margin-top: 30px;

}

.heritage-list div {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 14px 0;

    font-weight: 500;

}

.heritage-list i {

    font-size: 20px;

    color: var(--accent);

}

/*=========================================================
PRINCIPAL
=========================================================*/

.principal {

    background: #fff;

}

.principal-img {

    width: 320px;

    height: 320px;

    border-radius: 50%;

    object-fit: cover;

    margin: auto;

    border: 8px solid #fff;

    box-shadow: var(--shadow);

}

.signature {

    height: 70px;

    margin-top: 25px;

}

/*=========================================================
VISION
=========================================================*/

.vision {

    background: linear-gradient(180deg, #F4F9FD, #fff);

}

.vision-card {

    background: rgba(255, 255, 255, .75);

    backdrop-filter: blur(18px);

    padding: 45px;

    border-radius: 25px;

    text-align: center;

    box-shadow: var(--shadow);

    transition: .4s;

    height: 100%;

}

.vision-card:hover {

    transform: translateY(-12px);

}

.vision-icon {

    width: 90px;

    height: 90px;

    margin: auto auto 25px;

    background: #EAF3FB;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

}

.vision-icon i {

    font-size: 40px;

    color: var(--sky);

}

.vision-card h3 {

    margin-bottom: 20px;

}

/*=========================================================
STATISTICS
=========================================================*/

.statistics {

    padding: 100px 0;

    background:

        linear-gradient(rgba(7, 28, 55, .90),

            rgba(7, 28, 55, .90)),

        url("../images/campus-bg.webp");

    background-size: cover;

    background-position: center;

}

.stat-card {

    background: rgba(255, 255, 255, .12);

    backdrop-filter: blur(12px);

    padding: 40px;

    text-align: center;

    border-radius: 22px;

    border: 1px solid rgba(255, 255, 255, .15);

    transition: .4s;

}

.stat-card:hover {

    transform: translateY(-10px);

}

.stat-card h2 {

    font-size: 60px;

    color: #FFD86A;

    margin-bottom: 10px;

}

.stat-card p {

    margin: 0;

    color: #fff;

    font-size: 18px;

}

/*=========================================================
WAVE DIVIDER
=========================================================*/

.wave {

    position: relative;

}

.wave::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -1px;

    width: 100%;

    height: 90px;

    background: url("../images/wave.svg") repeat-x;

    background-size: cover;

}

/*=========================================================
COMMON IMAGE EFFECT
=========================================================*/

img {

    transition: .5s;

}

img:hover {

    transform: scale(1.03);

}

/*=========================================================
ACADEMICS
=========================================================*/

.academics {

    background: #fff;

}

.academic-box {

    background: #fff;

    padding: 28px;

    border-radius: 22px;

    text-align: center;

    box-shadow: var(--shadow);

    margin-bottom: 25px;

    transition: .4s;

    border-top: 4px solid transparent;

    height: 100%;

}

.academic-box:hover {

    transform: translateY(-12px);

    border-color: var(--accent);

}

.academic-box i {

    font-size: 48px;

    color: var(--sky);

    margin-bottom: 18px;

}

.academic-box h5 {

    font-family: 'Poppins';

    margin: 0;

    font-size: 18px;

}

/*=========================================================
NAVAL TRAINING
=========================================================*/

.naval-training {

    background: #F4F9FD;

    position: relative;

    overflow: hidden;

}

.naval-training::before {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    background: rgba(15, 95, 168, .05);

    border-radius: 50%;

    top: -150px;

    right: -120px;

}

.training-card {

    background: #fff;

    border-radius: 22px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: .4s;

    height: 100%;

}

.training-card:hover {

    transform: translateY(-12px);

}

.training-card img {

    height: 270px;

    width: 100%;

    object-fit: cover;

}

.training-card h4 {

    padding: 24px;

    margin: 0;

    text-align: center;

    font-size: 24px;

}

/*=========================================================
HOSTEL
=========================================================*/

.hostel {

    background: #fff;

}

.hostel img {

    border-radius: 25px;

    box-shadow: var(--shadow);

}

.hostel-features {

    margin-top: 35px;

}

.hostel-features div {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 14px 0;

    font-size: 17px;

    font-weight: 500;

    border-bottom: 1px solid #ECECEC;

}

.hostel-features div:last-child {

    border: none;

}

.hostel-features i {

    color: var(--accent);

    font-size: 20px;

}

/*=========================================================
SPORTS
=========================================================*/

.sports {

    background: #F4F9FD;

}

.sport-card {

    background: #fff;

    border-radius: 22px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: .4s;

    height: 100%;

}

.sport-card:hover {

    transform: translateY(-12px);

}

.sport-card img {

    height: 260px;

    width: 100%;

    object-fit: cover;

}

.sport-card h5 {

    padding: 22px;

    margin: 0;

    text-align: center;

    font-family: 'Poppins';

    font-size: 20px;

}

/*=========================================================
LEADERSHIP
=========================================================*/

.leadership {

    background: #fff;

}

.leadership img {

    border-radius: 25px;

    box-shadow: var(--shadow);

}

.leadership .btn-main {

    margin-top: 20px;

}

/*=========================================================
NDA FOUNDATION
=========================================================*/

.nda {

    background: #F4F9FD;

}

.nda img {

    border-radius: 25px;

    box-shadow: var(--shadow);

}

.nda-box {

    background: #fff;

    padding: 22px;

    border-radius: 18px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;

    gap: 15px;

    font-weight: 600;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

    transition: .4s;

}

.nda-box:hover {

    background: var(--primary);

    color: #fff;

    transform: translateX(8px);

}

.nda-box i {

    font-size: 26px;

    color: var(--accent);

}

/*=========================================================
SECTION BACKGROUND DECORATION
=========================================================*/

.academics,
.hostel,
.leadership {

    position: relative;

    overflow: hidden;

}

.academics::before,
.hostel::before,
.leadership::before {

    content: "";

    position: absolute;

    width: 280px;

    height: 280px;

    background: rgba(212, 175, 55, .08);

    border-radius: 50%;

    top: -120px;

    left: -120px;

}

.academics::after,
.hostel::after,
.leadership::after {

    content: "";

    position: absolute;

    width: 220px;

    height: 220px;

    background: rgba(15, 95, 168, .05);

    border-radius: 50%;

    bottom: -90px;

    right: -90px;

}

/*=========================================================
GALLERY
=========================================================*/

.gallery {

    background: #fff;

}

.gallery-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    grid-auto-rows: 230px;

    gap: 18px;

}

.gallery-item {

    overflow: hidden;

    border-radius: 22px;

    box-shadow: var(--shadow);

    position: relative;

    cursor: pointer;

}

.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .6s;

}

.gallery-item:hover img {

    transform: scale(1.08);

}

.gallery-item::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent);

    opacity: 0;

    transition: .4s;

    z-index: 2;

}

.gallery-item:hover::before {

    opacity: 1;

}

.gallery-item.large {

    grid-column: span 2;

    grid-row: span 2;

}

.gallery-item.wide {

    grid-column: span 2;

}

.gallery-item.tall {

    grid-row: span 2;

}

/*=========================================================
ADMISSION
=========================================================*/

.admission {

    background: #F4F9FD;

}

.step-card {

    background: #fff;

    padding: 40px 30px;

    border-radius: 22px;

    text-align: center;

    box-shadow: var(--shadow);

    transition: .4s;

    height: 100%;

    position: relative;

    overflow: hidden;

}

.step-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    background: var(--accent);

    transform: scaleX(0);

    transition: .4s;

}

.step-card:hover::before {

    transform: scaleX(1);

}

.step-card:hover {

    transform: translateY(-12px);

}

.step-no {

    width: 75px;

    height: 75px;

    margin: auto auto 25px;

    border-radius: 50%;

    background: var(--primary);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 28px;

    font-weight: 700;

}

/*=========================================================
TESTIMONIALS
=========================================================*/

.testimonials {

    background: #fff;

}

.testimonial-card {

    background: #fff;

    padding: 40px;

    border-radius: 22px;

    box-shadow: var(--shadow);

    text-align: center;

    transition: .4s;

    height: 100%;

}

.testimonial-card:hover {

    transform: translateY(-12px);

}

.testimonial-card i {

    font-size: 52px;

    color: var(--accent);

    margin-bottom: 20px;

}

.testimonial-card h5 {

    font-size: 24px;

    color: #F5B301;

    margin: 20px 0 10px;

}

/*=========================================================
FAQ
=========================================================*/

.faq {

    background: #F4F9FD;

}

.accordion-item {

    border: none;

    border-radius: 18px;

    overflow: hidden;

    margin-bottom: 18px;

    box-shadow: var(--shadow);

}

.accordion-button {

    padding: 22px;

    font-weight: 600;

    font-size: 17px;

}

.accordion-button:not(.collapsed) {

    background: var(--primary);

    color: #fff;

}

.accordion-button:focus {

    box-shadow: none;

}

/*=========================================================
CONTACT
=========================================================*/

.contact {

    background: #fff;

}

.form-control {

    padding: 16px;

    border-radius: 14px;

    border: 1px solid #ddd;

    margin-bottom: 18px;

}

.form-control:focus {

    border-color: var(--sky);

    box-shadow: none;

}

.contact iframe {

    border-radius: 24px;

    box-shadow: var(--shadow);

}

/*=========================================================
FOOTER
=========================================================*/

.footer {

    background: var(--primary);

    padding: 90px 0 25px;

    color: #d7d7d7;

}

.footer h4 {

    color: #fff;

    margin-bottom: 22px;

}

.footer ul {

    list-style: none;

    padding: 0;

}

.footer li {

    margin-bottom: 12px;

}

.footer a {

    color: #d7d7d7;

    transition: .3s;

}

.footer a:hover {

    color: var(--accent);

    padding-left: 8px;

}

.footer hr {

    margin: 45px 0 20px;

    border-color: rgba(255, 255, 255, .15);

}

.footer .text-center {

    color: #fff;

}

/*=========================================================
BACK TO TOP
=========================================================*/

.back-top {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 55px;

    height: 55px;

    border-radius: 50%;

    background: var(--accent);

    display: flex;

    align-items: center;

    justify-content: center;

    color: #fff;

    font-size: 24px;

    opacity: 0;

    visibility: hidden;

    transition: .4s;

    z-index: 999;

}

.back-top.show {

    opacity: 1;

    visibility: visible;

}

/*=========================================================
SCROLLBAR
=========================================================*/

::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-track {

    background: #ECECEC;

}

::-webkit-scrollbar-thumb {

    background: var(--sky);

    border-radius: 20px;

}

/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:1200px) {

    .hero-content h1 {

        font-size: 60px;

    }

    .gallery-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}

@media(max-width:992px) {

    .topbar {

        display: none;

    }

    .navbar {

        background: #fff;

    }

    .navbar-brand h5 {

        color: var(--primary);

    }

    .nav-link {

        color: var(--primary);

        margin-left: 0;

    }

    .hero {

        height: auto;

        padding: 180px 0 110px;

    }

    .hero-content h1 {

        font-size: 48px;

    }

    .gallery-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .section-heading h2 {

        font-size: 36px;

    }

}

@media(max-width:768px) {

    .section-padding {

        padding: 80px 0;

    }

    .hero-content h1 {

        font-size: 34px;

    }

    .hero-content h4 {

        font-size: 18px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .hero-buttons a {

        width: 100%;

    }

    .hero-features {

        display: block;

    }

    .hero-features div {

        margin-bottom: 18px;

        justify-content: center;

    }

    .gallery-grid {

        grid-template-columns: 1fr;

        grid-auto-rows: 240px;

    }

    .gallery-item.large,

    .gallery-item.tall,

    .gallery-item.wide {

        grid-column: auto;

        grid-row: auto;

    }

    .principal-img {

        width: 220px;

        height: 220px;

        margin-bottom: 30px;

    }

}

@media(max-width:576px) {

    .hero {

        padding: 150px 0 90px;

    }

    .hero-content h1 {

        font-size: 28px;

    }

    .hero-content p {

        font-size: 15px;

    }

    .section-heading h2 {

        font-size: 28px;

    }

    .footer {

        text-align: center;

    }

    .footer .col-lg-2,

    .footer .col-lg-3,

    .footer .col-lg-4 {

        margin-bottom: 35px;

    }

    .contact iframe {

        height: 320px;

    }

    .back-top {

        right: 15px;

        bottom: 15px;

    }

}

html,
body {

    overflow-x: hidden;

}