/* Global Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
}
*{
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;


}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Header Styles */
.navbar {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem; /* smaller font for mobile */
    }
}

/* Tablets (577px - 768px) */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
}
.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* Mobile (up to 576px) */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 32px;         
        margin-right: 5px;    
    }

    .navbar-brand {
        font-size: 1.1rem;   
        margin-right: 0;     
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem; 
        margin-left: auto;      
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(16, 25, 31, 0.9), rgba(69, 63, 244, 0.8)), url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    min-height: 60vh;
}

.hero-section h1 {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-section p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); 
}


.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
}
.carousel-item img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    opacity: 0.8;
}
.carousel-item {
    height: 60vh;
    position: relative;
}

/* Quick Links */
.quick-link-item {
    display: block;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: var(--dark-color);
}

.quick-link-item:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick-link-item h4 {
    margin-top: 15px;
    font-weight: 600;
}

/* Notice Cards */
.notice-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
/* Gallery Styles */
/* Gallery Filter Transitions */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-grid {
    will-change: transform;
}

/* Active filter button style */
#galleryFilter .nav-link.active {
    background-color: #4e73df;
    color: white;
}

#galleryFilter .nav-link {
    cursor: pointer;
    transition: all 0.2s ease;
}

#galleryFilter .nav-link:hover:not(.active) {
    background-color: #f8f9fa;
}
/* Gallery Styles */
.gallery-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background: white;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 15px;
    background: white;
}

.gallery-caption h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: #333;
}

/* Filter buttons */
.nav-pills .nav-link.active {
    background-color: #4e73df;
}

/* Video gallery */
.video-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.video-info {
    padding: 15px;
    background: white;
}

.video-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Map */
.map-container {
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 0;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links a {
    color: var(--light-color);
}

.footer-links a:hover {
    color: yellow;
}
.developer-credit{
    color: #fcfeff; 
}
.developer-credit :hover {
    color: yellow;
}

/* Admin Panel Styles */
.sidebar {
    min-height: 100vh;
    background-color: var(--secondary-color);
    color: white;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    border-radius: 5px;
}

.sidebar .nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
    color: white;
    background-color: var(--primary-color);
}

.main-content {
    padding: 20px;
    width: 100%;
}

.card {
    border: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .quick-link-item {
        margin-bottom: 15px;
    }
}

/* Modal Styles */
.modal-header {
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
}

/* Floating Action Buttons */
.btn-rounded {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem auto;
    }
}

/* Government Programs Section */
.government-programs {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.program-card {
    padding: 20px 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.program-icon {
    height: 80px;
    margin-bottom: 15px;
}

.program-icon img {
    max-height: 100%;
    width: auto;
}

/* Recognition Section */
.recognition-list {
    list-style: none;
    padding-left: 0;
}

.recognition-list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.recognition-list i {
    position: absolute;
    left: 0;
    top: 3px;
}

.certificate-showcase {
    position: relative;
    border: 10px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.certificate-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.certificate-badge i {
    margin-right: 10px;
}

/* Facilities Section */
.facility-card {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.facility-icon {
    color: #0d6efd;
    margin-bottom: 15px;
}

/* Safety Section */
.safety-features {
    list-style: none;
    padding-left: 0;
}

.safety-features li {
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}

.safety-features i {
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 1.5rem;
}

/* Results Section */
.result-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.result-percentage {
    font-size: 3rem;
    font-weight: bold;
    color: #0d6efd;
    line-height: 1;
    margin-bottom: 10px;
}

.result-stars {
    color: #ffc107;
    margin-top: 10px;
    font-size: 1.2rem;
}



















i.fas,
i.far,
i.fal {
    display: inline-block;
    font-style: normal;
}