/* Government Website Style */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* Style to prevent scrolling when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

.govt-header {
    background-color: #0d4e96;
    color: white;
    padding: 5px 0;
    font-size: 14px;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.5);
    border: none;
    color: #333;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.nav-dot.active {
    background: white;
}

/* Notice Board Styles */
.notice-section {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.notice-header {
    background-color: #0d4e96;
    color: white;
    padding: 10px 15px;
    border-radius: 5px 5px 0 0;
    font-weight: 600;
}

.notice-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.notice-item:hover {
    background-color: #f8f9fa;
}

.notice-title {
    font-weight: 600;
    color: #0d4e96;
    margin-bottom: 5px;
}

.notice-date {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
}

.notice-desc {
    font-size: 14px;
    margin-bottom: 10px;
}

.download-btn {
    background-color: #0d4e96;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.download-btn:hover {
    background-color: #0b3d7a;
    color: white;
}

.view-all {
    display: block;
    text-align: right;
    padding: 10px 15px;
    color: #0d4e96;
    font-weight: 600;
    text-decoration: none;
}

.view-all:hover {
    text-decoration: underline;
}

/* Press Release Section */
.press-section {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.press-header {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border-radius: 5px 5px 0 0;
    font-weight: 600;
}

/* Principal Desk */
.principal-desk {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.principal-title {
    color: #0d4e96;
    border-bottom: 2px solid #0d4e96;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Department Cards */
.dept-card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.dept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dept-title {
    color: #0d4e96;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 450px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: #0d4e96;
    color: white;
    padding: 30px 0;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ddd;
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* SEO Improvements */
h1, h2, h3, h4, h5, h6 {
    color: #0d4e96;
    margin-top: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-image {
        max-height: 300px;
    }
    
    .carousel-control {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
    
    .popup-mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        z-index: 9999;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .popup-mobile-menu.active {
        transform: translateX(0);
    }
    
    .popup-mobile-menu .mainmenu {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .popup-mobile-menu .mainmenu > li {
        border-bottom: 1px solid #eee;
    }
    
    .popup-mobile-menu .mainmenu > li > a {
        display: block;
        padding: 15px;
        color: #333;
        text-decoration: none;
    }
    
    .popup-mobile-menu .submenu {
        display: none;
        list-style: none;
        padding-left: 15px;
        margin: 0;
    }
    
    .popup-mobile-menu .submenu li a {
        display: block;
        padding: 10px 15px;
        color: #666;
        text-decoration: none;
    }
    
    .popup-mobile-menu .has-droupdown > a {
        position: relative;
    }
    
    .popup-mobile-menu .has-droupdown.active > .submenu {
        display: block;
    }
    
    .principal-desk .col-md-4 {
        margin-bottom: 20px;
    }
}

/* Accessibility Improvements */
a:focus, button:focus {
    outline: 2px solid #0d4e96;
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0d4e96;
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

 
.footer-dark {
    background-color: #111;
    color: #ddd;
}
.footer-links a, .footer-contact a {
    color: #bbb;
    text-decoration: none;
}
.footer-links a:hover, .footer-contact a:hover {
    color: #fff;
}
.footer-social a {
    color: #bbb;
    margin-right: 10px;
    font-size: 18px;
}
.footer-social a:hover {
    color: #fff;
}
