/* Responsive CSS for St. Charles College of Education Website */

/* Large Devices (Desktops) */
@media (max-width: 1199.98px) {
    .carousel-item {
        height: 450px;
    }
    
    .navbar-dark .navbar-nav .nav-link {
        padding: 15px 10px;
        font-size: 13px;
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .header-title h1 {
        font-size: 24px;
    }
    
    .header-title p {
        font-size: 14px;
    }
    
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        max-width: 90%;
        bottom: 20px;
        padding: 15px;
    }
    
    .carousel-caption h2 {
        font-size: 24px;
    }
    
    .navbar-dark .navbar-nav .nav-link {
        padding: 10px;
    }
    
    .navbar-collapse {
        background-color: #fff;
        padding: 10px;
        border-radius: 0 0 5px 5px;
    }
    
    .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.1);
        border: none;
    }
    
    .dropdown-item {
        color: #000;
    }
    
    .secretary-image {
        margin-bottom: 30px;
    }
    
    .footer-widget {
        margin-bottom: 40px;
    }
}

/* Small Devices (Landscape Phones) */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 50px 0;
    }
    .navbar .container{
            display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: start !important;

    }
    .navbar-toggler{
            margin-left: auto !important;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .top-contact, .top-social {
        justify-content: center;
        margin-bottom: 5px;
    }
    
    .top-social {
        margin-top: 5px;
    }
    
    .main-header {
        padding: 15px 0;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .carousel-item {
        height: 350px;
    }
    
    .carousel-caption {
        padding: 10px;
        bottom: 10px;
    }
    
    .carousel-caption h2 {
        font-size: 20px;
    }
    
    .carousel-caption p {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .carousel-caption .btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .announcement-label {
        margin-bottom: 10px;
        justify-content: center;
    }
    
    .welcome-image {
        margin-top: 30px;
    }
    
    .achievement-card {
        margin-bottom: 20px;
    }
    
    .quick-links-box, .events-box, .news-box {
        margin-bottom: 30px;
    }
    
    .gallery-item {
        height: 180px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .text-end {
        text-align: center !important;
        margin-top: 10px;
    }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575.98px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .header-title h1 {
        font-size: 20px;
    }
    
    .header-title p {
        font-size: 12px;
    }
    
    .carousel-item {
        height: 170px;
    }
    
    .carousel-caption h2 {
        font-size: 18px;
    }
    
    .carousel-caption p {
        display: none;
    }
    
    .secretary-image img {
        width: 150px;
        height: 150px;
    }
    
    .achievement-image {
        height: 180px;
    }
    
    .gallery-item {
        height: 150px;
        margin-bottom: 15px;
    }
}
@media (min-width: 1400px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 30px !important;
        padding-left: var(--bs-navbar-nav-link-padding-x);
    }
}