
/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header & Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    font-size: 1.05rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.navbar-nav .nav-item {
    margin: 0 0.2rem;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
}

.dropdown-divider {
    border-color: rgba(0, 0, 0, 0.1);
}

/* Hero Slider */
.hero-slider {
    height: 70vh;
    min-height: 400px;
    max-height: 600px;
    background-color: #f8f9fa;
    position: relative;
    margin: 0;
    padding: 0;
}

#schoolSlider {
    height: 100%;
    margin: 0;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
}


#schoolSlider .carousel-inner {
    height: 100%;
    margin: 0;
    padding: 0;
}

#schoolSlider .carousel-item {
    height: 100%;
    margin: 0;
    padding: 0;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border-radius: 8px;
    bottom: 20%;
    left: 10%;
    right: 10%;
    margin: 0;
}


.carousel-caption h5 {
    font-size: 1.8rem;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #0d6efd;
}

/* About Section */
#about .img-fluid {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Remove any potential spacing from parent elements */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}



/* Notices Section */
.notice-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.notice-card .card-body {
    padding: 1.5rem;
}

/* Contact Section */
#contact {
    background-color: #f8f9fa;
}

#contact h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    color: #0d6efd;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #0b5ed7;
}

/* Footer */
footer {
    background-color: #212529;
    padding: 2.5rem 0;
}

footer h5 {
    margin-bottom: 1.2rem;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-slider {
        height: 50vh;
        min-height: 350px;
    }

    .carousel-caption {
        bottom: 10%;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 40vh;
        min-height: 300px;
    }

    .carousel-caption {
        bottom: 5%;
        left: 5%;
        right: 5%;
    }


    .carousel-caption h5 {
        font-size: 1.4rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    section {
        padding: 3rem 0;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .navbar-brand img {
        height: 35px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 40vh;
        min-height: 300px;
    }

    .carousel-caption {
        bottom: 5%;
        left: 5%;
        right: 5%;
    }

    .carousel-caption h5 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        height: 30px;
    }
}

/* Animation Effects */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Utility Classes */
.rounded-lg {
    border-radius: 12px;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.transition {
    transition: all 0.3s ease;
}
