:root {

    --primary: #243B2E;
    --secondary: #314D3B;
    --accent: #C7A64A;
    --dark: #1B1B1B;
    --light: #F7F5EF;
    --white: #ffffff;
    --text: #5E5E5E;

    --shadow: 0 18px 50px rgba(0, 0, 0, .10);

    --radius: 20px;

    --transition: .4s;

}

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: 'Poppins', sans-serif;

    color: var(--text);

    background: #fff;

    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;

}

/* NAVBAR */
.navbar {

    padding: 20px 0;

    background: rgba(0, 0, 0, .25);

    backdrop-filter: blur(15px);

    transition: .4s;

}

.navbar.scrolled {

    background: #fff;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

}

.navbar-brand {

    display: flex;

    align-items: center;

    gap: 15px;

}

.navbar-brand img {

    height: 65px;

}

.navbar-brand h5 {

    margin: 0;

    font-size: 18px;

    color: #fff;

}

.navbar-brand span {

    color: var(--accent);

    font-weight: 600;

}

.navbar.scrolled .navbar-brand h5 {

    color: var(--primary);

}

.nav-link {

    color: #fff;

    font-weight: 600;

    margin-left: 22px;

    position: relative;

}

.nav-link::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -6px;

    height: 2px;

    width: 0;

    background: var(--accent);

    transition: .4s;

}

.nav-link:hover::after,

.nav-link.active::after {

    width: 100%;

}

.navbar.scrolled .nav-link {

    color: var(--primary);

}

.btn-admission {

    background: var(--accent);

    color: #fff;

    padding: 13px 30px;

    border-radius: 50px;

    font-weight: 600;

    margin-left: 25px;

}

.btn-admission:hover {

    background: var(--primary);

    color: #fff;

    transform: translateY(-3px);

}

/* HERO */
.hero {

    position: relative;

    height: 100vh;

    display: flex;

    align-items: center;

    background: url("images/main-gate.png") center/cover;

    overflow: hidden;

}

.overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(rgba(20, 33, 18, .72),

            rgba(18, 25, 18, .78));

}

.hero-content {

    position: relative;

    z-index: 2;

    color: #fff;

}

.hero-content span {

    letter-spacing: 4px;

    display: block;

    margin-bottom: 15px;

    color: var(--accent);

    font-weight: 600;

}

.hero-content h1 {

    font-size: 72px;

    color: #fff;

    margin-bottom: 20px;

}

.hero-content h4 {

    color: #E8E8E8;

    margin-bottom: 25px;

    font-family: 'Poppins';

    font-weight: 500;

}

.hero-content p {

    max-width: 760px;

    margin: auto;

    font-size: 18px;

    color: #eee;

}

.hero-buttons {

    margin-top: 40px;

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

}

.btn-main {

    background: var(--accent);

    padding: 15px 40px;

    border-radius: 50px;

    color: #fff;

    font-weight: 600;

}

.btn-main:hover {

    background: #fff;

    color: var(--primary);

}

.btn-outline-light {

    padding: 15px 40px;

    border-radius: 50px;

    border: 2px solid #fff;

}

.hero-features {

    margin-top: 60px;

    display: flex;

    justify-content: center;

    gap: 35px;

    flex-wrap: wrap;

    font-weight: 600;

}

.hero-features div {

    display: flex;

    align-items: center;

    gap: 10px;

}

.hero-features i {

    color: var(--accent);

    font-size: 24px;

}

.scroll-down {

    position: absolute;

    bottom: 40px;

    left: 50%;

    transform: translateX(-50%);

    font-size: 34px;

    color: #fff;

    animation: bounce 2s infinite;

    z-index: 3;

}

@keyframes bounce {

    0% {

        transform: translate(-50%, 0);

    }

    50% {

        transform: translate(-50%, 15px);

    }

    100% {

        transform: translate(-50%, 0);

    }

}

/* SECTION HEADING */
.section-heading {

    margin-bottom: 50px;

}

.section-heading span {

    display: inline-block;

    padding: 8px 22px;

    background: rgba(199, 166, 74, .12);

    color: var(--accent);

    border-radius: 50px;

    font-weight: 600;

    letter-spacing: 1px;

    margin-bottom: 15px;

}

.section-heading h2 {

    font-size: 46px;

    line-height: 1.3;

    margin-bottom: 20px;

}

.section-heading p {

    max-width: 700px;

    margin: auto;

}

/* ABOUT */
.about {

    background: #fff;

}

.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 {

    margin-bottom: 22px;

    font-size: 17px;

}

/* HERITAGE */
.heritage {

    background: #F8F8F4;

}

.heritage img {

    border-radius: 25px;

    box-shadow: var(--shadow);

}

.heritage-list {

    margin-top: 30px;

}

.heritage-list li {

    list-style: none;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 12px 0;

    font-weight: 500;

}

.heritage-list i {

    color: var(--accent);

    font-size: 20px;

}

/* PRINCIPAL MESSAGE */
.chairman {

    background: #fff;

}

.chairman-img {

    width: 320px;

    height: 320px;

    border-radius: 50%;

    object-fit: cover;

    border: 8px solid #fff;

    box-shadow: var(--shadow);

    margin: auto;

}

.chairman h5 {

    margin-top: 30px;

    color: var(--accent);

    font-family: 'Poppins';

}

/* VISION */
.vision {

    background: #F8F8F4;

}

.vision-card {

    background: #fff;

    padding: 45px;

    border-radius: 25px;

    text-align: center;

    box-shadow: var(--shadow);

    transition: .4s;

    height: 100%;

    position: relative;

    overflow: hidden;

}

.vision-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    background: var(--accent);

}

.vision-card:hover {

    transform: translateY(-12px);

}

.vision-icon {

    width: 90px;

    height: 90px;

    background: rgba(199, 166, 74, .12);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 25px;

}

.vision-icon i {

    font-size: 42px;

    color: var(--accent);

}

.vision-card h3 {

    margin-bottom: 20px;

}

/* STATISTICS */
.statistics {

    padding: 90px 0;

    background:

        linear-gradient(rgba(36, 59, 46, .92),

            rgba(36, 59, 46, .92)),

        url("../images/campus-bg.png");

    background-size: cover;

    background-position: center;

}

.stat-card {

    background: rgba(255, 255, 255, .12);

    backdrop-filter: blur(10px);

    padding: 35px;

    border-radius: 25px;

    text-align: center;

    color: #fff;

    transition: .4s;

    border: 1px solid rgba(255, 255, 255, .18);

}

.stat-card:hover {

    transform: translateY(-10px);

    background: rgba(255, 255, 255, .18);

}

.stat-card h2 {

    font-size: 56px;

    color: #FFD86F;

    margin-bottom: 10px;

}

.stat-card p {

    margin: 0;

    font-size: 18px;

    color: #fff;

}

/* TIMELINE */
.timeline {

    background: #fff;

    position: relative;

}

.timeline-wrapper {

    max-width: 900px;

    margin: auto;

    position: relative;

}

.timeline-wrapper::before {

    content: "";

    position: absolute;

    left: 40px;

    top: 0;

    width: 4px;

    height: 100%;

    background: var(--accent);

}

.timeline-item {

    display: flex;

    align-items: flex-start;

    gap: 30px;

    margin-bottom: 60px;

    position: relative;

}

.timeline-icon {

    width: 80px;

    height: 80px;

    border-radius: 50%;

    background: var(--primary);

    display: flex;

    justify-content: center;

    align-items: center;

    color: #fff;

    font-size: 30px;

    z-index: 2;

    flex-shrink: 0;

    box-shadow: var(--shadow);

}

.timeline-content {

    background: #fff;

    padding: 30px;

    border-radius: 20px;

    box-shadow: var(--shadow);

    transition: .4s;

    flex: 1;

}

.timeline-content:hover {

    transform: translateX(8px);

}

.timeline-content h4 {

    margin-bottom: 15px;

}

/* GLASS EFFECT */
.glass {

    background: rgba(255, 255, 255, .18);

    backdrop-filter: blur(15px);

    border: 1px solid rgba(255, 255, 255, .25);

    border-radius: 20px;

}

/* HOVER EFFECTS */
img {

    transition: .5s;

}

img:hover {

    transform: scale(1.03);

}

.btn-main,

.btn-admission {

    transition: .4s;

}

.btn-main:hover,

.btn-admission:hover {

    box-shadow: 0 15px 30px rgba(0, 0, 0, .15);

}

/* ACADEMICS */
.academics {

    background: #fff;

}

.academic-box {

    background: #fff;

    padding: 25px;

    border-radius: 18px;

    box-shadow: var(--shadow);

    text-align: center;

    margin-bottom: 20px;

    transition: .4s;

    height: 100%;

    border-bottom: 4px solid transparent;

}

.academic-box:hover {

    transform: translateY(-10px);

    border-color: var(--accent);

}

.academic-box i {

    font-size: 42px;

    color: var(--accent);

    margin-bottom: 18px;

}

.academic-box h5 {

    font-family: 'Poppins';

    margin: 0;

    font-size: 18px;

}

/* MILITARY TRAINING */
.military {

    background: #F8F8F4;

}

.military-card {

    background: #fff;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: .4s;

    height: 100%;

}

.military-card:hover {

    transform: translateY(-12px);

}

.military-card img {

    height: 260px;

    width: 100%;

    object-fit: cover;

}

.military-card h4 {

    padding: 25px;

    text-align: center;

    margin: 0;

    font-size: 24px;

}

/* HOSTEL */
.hostel {

    background: #fff;

}

.hostel img {

    border-radius: 25px;

    box-shadow: var(--shadow);

}

.hostel-list {

    margin-top: 35px;

}

.hostel-list div {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px 0;

    font-size: 17px;

    font-weight: 500;

    border-bottom: 1px solid #ececec;

}

.hostel-list div:last-child {

    border: none;

}

.hostel-list i {

    color: var(--accent);

    font-size: 20px;

}

/* SPORTS */
.sports {

    background: #F8F8F4;

}

.sport-item {

    background: #fff;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: .4s;

    height: 100%;

}

.sport-item:hover {

    transform: translateY(-12px);

}

.sport-item img {

    height: 250px;

    width: 100%;

    object-fit: cover;

}

.sport-item h5 {

    padding: 20px;

    text-align: center;

    margin: 0;

    font-family: 'Poppins';

}

/* NDA FOUNDATION */
.nda {

    background: #fff;

}

.nda img {

    border-radius: 25px;

    box-shadow: var(--shadow);

}

.nda-box {

    background: #F8F8F4;

    padding: 22px;

    border-radius: 18px;

    margin-bottom: 20px;

    font-weight: 600;

    display: flex;

    align-items: center;

    gap: 15px;

    transition: .4s;

}

.nda-box:hover {

    background: var(--primary);

    color: #fff;

    transform: translateX(8px);

}

.nda-box i {

    font-size: 26px;

    color: var(--accent);

}

/* STUDENT LIFE */
.student-life {

    background: #F8F8F4;

}

.life-box {

    background: #fff;

    padding: 40px;

    border-radius: 22px;

    box-shadow: var(--shadow);

    text-align: center;

    transition: .4s;

    height: 100%;

    position: relative;

    overflow: hidden;

}

.life-box::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 4px;

    background: var(--accent);

    transform: scaleX(0);

    transition: .4s;

}

.life-box:hover::before {

    transform: scaleX(1);

}

.life-box:hover {

    transform: translateY(-12px);

}

.life-box i {

    font-size: 52px;

    color: var(--accent);

    margin-bottom: 25px;

}

.life-box h4 {

    margin-bottom: 18px;

    font-size: 24px;

}

.life-box p {

    margin-bottom: 0;

}

/* SECTION IMAGE EFFECTS */
.academics img,
.hostel img,
.nda img {

    transition: .5s;

    border-radius: 24px;

}

.academics img:hover,
.hostel img:hover,
.nda img:hover {

    transform: scale(1.04);

}

/* DECORATIVE BACKGROUND */
.academics,
.hostel,
.student-life {

    position: relative;

    overflow: hidden;

}

.academics::before,
.hostel::before,
.student-life::before {

    content: "";

    position: absolute;

    width: 320px;

    height: 320px;

    border-radius: 50%;

    background: rgba(199, 166, 74, .08);

    top: -120px;

    right: -120px;

}

.academics::after,
.hostel::after,
.student-life::after {

    content: "";

    position: absolute;

    width: 220px;

    height: 220px;

    border-radius: 50%;

    background: rgba(36, 59, 46, .05);

    left: -80px;

    bottom: -80px;

}

/*=========================================================
GALLERY
=========================================================*/

.gallery {

    background: #fff;

}

.gallery-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    grid-auto-rows: 220px;

    gap: 18px;

}

.gallery-item {

    overflow: hidden;

    border-radius: 20px;

    box-shadow: var(--shadow);

    cursor: pointer;

}

.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .6s;

}

.gallery-item:hover img {

    transform: scale(1.08);

}

.gallery-item.tall {

    grid-row: span 2;

}

.gallery-item.wide {

    grid-column: span 2;

}

/*=========================================================
ADMISSION
=========================================================*/

.admission {

    background: #F8F8F4;

}

.admission-step {

    background: #fff;

    padding: 40px 30px;

    border-radius: 22px;

    text-align: center;

    box-shadow: var(--shadow);

    transition: .4s;

    height: 100%;

    position: relative;

    overflow: hidden;

}

.admission-step::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    background: var(--accent);

    transform: scaleX(0);

    transition: .4s;

}

.admission-step:hover::before {

    transform: scaleX(1);

}

.admission-step:hover {

    transform: translateY(-12px);

}

.step-no {

    width: 75px;

    height: 75px;

    background: var(--primary);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    margin: auto auto 25px;

    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(-10px);

}

.testimonial-card i {

    font-size: 50px;

    color: var(--accent);

    margin-bottom: 20px;

}

.testimonial-card h5 {

    color: #F5B301;

    font-size: 24px;

    margin: 20px 0 10px;

    font-family: 'Poppins';

}

/*=========================================================
FAQ
=========================================================*/

.faq {

    background: #F8F8F4;

}

.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(--accent);

    box-shadow: none;

}

iframe {

    border-radius: 22px;

    box-shadow: var(--shadow);

}

/* FOOTER */
.footer {

    background: var(--primary);

    padding: 90px 0 25px;

    color: #d8d8d8;

}

.footer h4 {

    color: #fff;

    margin-bottom: 22px;

}

.footer ul {

    list-style: none;

    padding: 0;

}

.footer li {

    margin-bottom: 12px;

}

.footer a {

    color: #d8d8d8;

    transition: .3s;

}

.footer a:hover {

    color: var(--accent);

    padding-left: 8px;

}

.footer hr {

    margin: 45px 0 20px;

    border-color: rgba(255, 255, 255, .15);

}

.copyright {

    color: #fff;

}

/* BACK TO TOP */
.back-top {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 52px;

    height: 52px;

    background: var(--accent);

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    color: #fff;

    font-size: 22px;

    opacity: 0;

    visibility: hidden;

    transition: .4s;

    z-index: 999;

}

.back-top.show {

    opacity: 1;

    visibility: visible;

}

/* SCROLLBAR */
::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-thumb {

    background: var(--accent);

    border-radius: 20px;

}

::-webkit-scrollbar-track {

    background: #efefef;

}

/*============ 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: 170px 0 100px;

    }

    .hero-content h1 {

        font-size: 46px;

    }

    .hero-features {

        gap: 20px;

    }

    .gallery-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .timeline-wrapper::before {

        left: 28px;

    }

    .timeline-icon {

        width: 60px;

        height: 60px;

        font-size: 24px;

    }

    .section-heading h2 {

        font-size: 34px;

    }

}

@media(max-width:768px) {

    .section-padding {

        padding: 75px 0;

    }

    .hero-content h1 {

        font-size: 34px;

    }

    .hero-content h4 {

        font-size: 18px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .hero-buttons a {

        width: 100%;

    }

    .gallery-grid {

        grid-template-columns: 1fr;

        grid-auto-rows: 240px;

    }

    .gallery-item.tall,

    .gallery-item.wide {

        grid-column: auto;

        grid-row: auto;

    }

    .chairman-img {

        width: 220px;

        height: 220px;

        margin-bottom: 30px;

    }

    .timeline-wrapper::before {

        display: none;

    }

    .timeline-item {

        flex-direction: column;

        text-align: center;

    }

    .timeline-icon {

        margin: auto;

    }

}

@media(max-width:576px) {

    .hero {

        padding: 140px 0 80px;

    }

    .hero-content h1 {

        font-size: 28px;

    }

    .hero-content p {

        font-size: 15px;

    }

    .section-heading h2 {

        font-size: 26px;

    }

    .hero-features {

        display: block;

    }

    .hero-features div {

        margin-bottom: 15px;

        justify-content: center;

    }

    .footer {

        text-align: center;

    }

    .footer .col-lg-3 {

        margin-bottom: 40px;

    }

    iframe {

        height: 320px;

    }

    .back-top {

        right: 15px;

        bottom: 15px;

    }

}

html,
body {

    overflow-x: hidden;

}

img {

    max-width: 100%;

    height: auto;

}