body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

.top-bar {
    background: #dc3545;
    color: #fff;
    font-size: 14px;
    padding: 6px 0;
}

.navbar {
    background: #002b5c;
}

.navbar-brand {
    font-weight: 700;
    color: #ffc107 !important;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-left: 15px;
}

.nav-link.active,
.nav-link:hover {
    color: #ffc107 !important;
}

.main-content {
    min-height: 500px;
}

.footer {
    background: #002b5c;
    color: #fff;
    padding: 40px 0;
}

.footer h5 {
    color: #ffc107;
}

.footer a {
    color: #ddd;
    font-size: 14px;
}

.footer a:hover {
    color: #ffc107;
}

.footer-bottom {
    background: #001a36;
    color: #ccc;
    padding: 10px 0;
    font-size: 13px;
}

/* header improvement */
.brand-title {
    font-weight: 700;
    font-size: 18px;
    color: #ffc107;
}

.brand-tagline {
    font-size: 12px;
    color: #ddd;
}

.navbar {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* improve dd styling */
.dropdown-menu {
    border-radius: 0;
}

.dropdown-item:hover {
    background: #002b5c;
    color: #fff;
}

/* main slider */
.hero-slide {
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
    padding: 20px;
    justify-content: flex-start;
    text-align: left;
    padding-left: 10%;

}

/* slider animation style */
/* SLIDER TEXT ANIMATION */

.slider-content {
    max-width: 800px;
}

.animate-title {
    font-size: 42px;
    font-weight: 700;
    animation: slideUp 1s ease forwards;
    opacity: 0;
}

.animate-text {
    font-size: 18px;
    margin-top: 15px;
    animation: fadeIn 1.5s ease forwards;
    opacity: 0;
}

.animate-btn {
    animation: fadeIn 2s ease forwards;
    opacity: 0;
}

/* Keyframes */

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* make slider look premium */
/* Background zoom animation */
.carousel-item {
    overflow: hidden;
}

.hero-slide {
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
    transform: scale(1);
    transition: transform 6s ease;
}

.carousel-item.active .hero-slide {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .hero-overlay {
        justify-content: center;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
    }

    .animate-title {
        font-size: 28px;
    }
}

/* counter css */
/* IMPACT SECTION */
.impact-section {
    background: #f8f9fa;
}

.impact-box h2 {
    font-size: 42px;
    font-weight: 700;
    color: #dc3545;
}

.impact-box p {
    font-size: 16px;
    font-weight: 500;
    color: #002b5c;
}

/* about preview section */
/* ABOUT PREVIEW */
.about-preview {
    background: #ffffff;
}

.section-title {
    font-weight: 700;
    color: #002b5c;
}

.about-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.about-image img {
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* instituttion preview */
/* INSTITUTIONS PREVIEW */
.institution-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.institution-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.institution-content {
    padding: 25px;
}

.institution-content h4 {
    font-weight: 600;
    color: #002b5c;
    margin-bottom: 15px;
}

.institution-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.institution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* facilities */
/* FACILITIES SECTION */

.facilities-section {
    background: #ffffff;
}

.facility-box {
    background: #f8f9fa;
    padding: 35px 20px;
    text-align: center;
    border-radius: 6px;
    transition: all 0.4s ease;
    border: 1px solid #eee;
    height: 100%;
}

.facility-box i {
    font-size: 40px;
    color: #dc3545;
    margin-bottom: 15px;
    display: block;
}

.facility-box h5 {
    font-weight: 600;
    font-size: 16px;
    color: #002b5c;
}

.facility-box:hover {
    background: #002b5c;
    transform: translateY(-8px);
}

.facility-box:hover h5,
.facility-box:hover i {
    color: #fff;
}

/* president message */
/* PRESIDENT SECTION */

.president-section {
    background: #f8f9fa;
}

.president-image img {
    max-width: 280px;
    transition: transform 0.5s ease;
}

.president-image:hover img {
    transform: scale(1.05);
}

.president-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.president-name {
    font-weight: 700;
    color: #002b5c;
    margin-bottom: 0;
}

.president-designation {
    font-size: 14px;
    color: #dc3545;
}

/* cta */
/* ADMISSION CTA */

.admission-cta {
    background: linear-gradient(rgba(0, 43, 92, 0.85), rgba(0, 43, 92, 0.85)),
        url('../images/high-school.webp');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    color: #fff;
}

.admission-cta h2 {
    font-weight: 700;
    font-size: 36px;
}

.admission-cta p {
    font-size: 16px;
    margin-top: 10px;
}

.admission-cta .btn {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 3px;
    transition: 0.3s;
}

.admission-cta .btn:hover {
    background: #ffc107;
    color: #000;
}

/* admissions page */
/* PAGE HERO */
.page-hero {
    background: #002b5c;
    color: #fff;
    padding: 80px 20px;
}

.page-hero h1 {
    font-weight: 700;
}

/* ADMISSION PROCESS */
.process-step h4 {
    font-size: 40px;
    color: #dc3545;
    font-weight: 700;
}

.process-step p {
    font-weight: 500;
}

/* ADMISSION FORM */
.admission-form {
    max-width: 900px;
    margin: auto;
}

.admission-form label {
    font-weight: 500;
    margin-bottom: 5px;
}
/* fee structure */
/* FEE INFO */
.info-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
}

.info-box h5 {
    font-weight: 600;
    color: #002b5c;
    margin-bottom: 10px;
}

.info-box:hover {
    transform: translateY(-5px);
}

/* GUIDELINES */
.guidelines-list {
    max-width: 800px;
    margin: auto;
    list-style: none;
    padding-left: 0;
}

.guidelines-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}
/* about */
/* ABOUT PAGE */

.vm-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.vm-box h3 {
    font-weight: 700;
    color: #002b5c;
}

.structure-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 6px;
    transition: 0.3s;
}

.structure-box:hover {
    transform: translateY(-5px);
}

.strength-box h3 {
    font-size: 36px;
    font-weight: 700;
    color: #dc3545;
}