/* Global Styles */
:root {
    --primary-color: #0d47a1;
    --secondary-color: #1976d2;
    --accent-color: #f39c12;
    --success-color: #27ae60;
    --dark-color: #222;
    --light-color: #f8f9fa;
}

body {
    font-family: "minion-pro", Georgia, serif !important;
    color: #333;
    overflow-x: hidden;
}

.text-color {
    color: var(--primary-color);
    font-weight: 700;
}

.icon-color {
    color: var(--primary-color);
}

.navbar-toggler {
    border: none !important;
    font-size: 25px;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none !important;
    border: none;
    font-size: 25px;
}

/* .text-color-h3 {
    color: var(--primary-color);
    font-weight: 500;
} */

/* Smooth scrolling for all anchor links */
html {
    scroll-behavior: smooth;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hamburger lines */
.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 24px !important;
    height: 3px !important;
    background-color: #fff;
    display: inline-block;
    transition: background 0.3s;
    top: -1px;
}

.navbar-toggler {
    background: #0e4ba6 !important;
    padding: 8px 12px !important;
   
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: transform 0.3s, top 0.3s;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

/* X icon */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Base nav-link styling */
.navbar-nav .nav-link {
    color: #333;
    /* default color */
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Hover effect */
.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    /* change to your color */
}

/* Active link style */
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
    /* highlighted color */
    font-weight: 700 !important;
    position: relative;
}

/* Banner Video Styles */
.video-banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.logo-header {
    width: 50%;
}

.video-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.video-overlay h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.video-overlay p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* .navbar-brand img {
            max-height: 40px;
        } */

.navbar-nav .nav-link {
    font-weight: 700 !important;
    transition: color 0.3s ease;

}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;

}

.dropdown-menu[data-bs-popper] {
    top: 100%;
    left: 0;
    margin-top: var(--bs-dropdown-spacer);
    left: -246px !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.dropdown-menu {
    width: 600px;
}

.dropdown-item {
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Leadership Section Styles */
.leader-section {
    background: url('./assets/bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    /* min-height: 100vh; */
    padding: 80px 0;
    position: relative;
}

.leader-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.leader-section .container {
    position: relative;
    z-index: 1;
}

.leader-section img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.leader-section img:hover {
    transform: scale(1.03);
}

.leader-section h3,
.leader-section h5,
.leader-section p {
    margin: 0;
}

.leader-section h5 {
    color: var(--accent-color);
}

/* Stats Section Styles */
.stats-section {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    margin: 30px auto;
    max-width: 1200px;
    padding: 40px 0;
}

.stats-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.stats-section p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* Admission Section Styles */
.admission-card {
    background-color: var(--accent-color) !important;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.whatsapp-card {
    background-color: var(--success-color) !important;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.admission-section h3 {
    font-size: 1.8rem;
    line-height: 1.2;
}

.admission-section img {
    max-height: 213px;
    object-fit: contain;
}

.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Footer Styles */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 50px 0 20px;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
}

footer h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

footer ul li {
    margin-bottom: 10px;
}

footer p i {
    margin-right: 10px;
    color: var(--accent-color);
}

/* Slick Slider Customization */
.slick-slider {
    margin: 30px 0;
}

.slick-slide {
    margin: 0 15px;
}

.slick-slide img {
    width: 100%;
    transition: transform 0.3s ease;
}

.slick-slide img:hover {
    transform: scale(1.05);
}

.slick-prev:before,
.slick-next:before {
    color: var(--primary-color);
    font-size: 24px;
}

.slick-dots li button:before {
    color: var(--primary-color);
    font-size: 12px;
}

.slick-dots li.slick-active button:before {
    color: var(--accent-color);
}

.slick-dots li button:before {
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: .25;
    color: #0d47a1 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: #0d47a1 !important;
}

/* Vision/Mission Cards */
.vision-mission-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.vision-mission-card img {
    max-height: 80px;
    margin-bottom: 20px;
}

/* Vision/Mission Cards */
.vision-mission-card-1 {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
}

.vision-mission-card-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}



/* Responsive Styles */
@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
    }

    .dropdown-menu {
        text-align: center;
    }

    .leader-section {
        background-attachment: scroll;
    }


}

@media (max-width: 768px) {
    .video-banner {
        height: 70vh;
    }

    .stats-section h2 {
        font-size: 2rem;
    }

    .admission-section h3 {
        font-size: 1.5rem;
    }

    .logo-header {
        width: 200px;
    }
}

@media (max-width: 576px) {
    .video-banner {
        height: 60vh;
    }

    .dropdown-menu {
        width: 300px;
        align-items: center;
    }

    .stats-section h2 {
        font-size: 1.8rem;
    }

    footer {
        padding: 30px 0 15px;
    }

    .slick-prev,
    .slick-next {
        font-size: 0;
        line-height: 0;
        position: absolute;
        top: 50%;
        display: block;
        width: 20px;
        height: 20px;
        padding: 0;
        -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
        transform: translate(0, -50%);
        cursor: pointer;
        color: transparent;
        border: none;
        outline: none;
        background: transparent;
        display: none !important;
    }
}