/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5f2a;
    --primary-dark: #0d3d16;
    --primary-light: #2d8a3e;
    --secondary-color: #f8b500;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.nav-logo img {
    height: 45px;
    width: 45px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary-color);
    color: var(--white);
}

.nav-btn {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* Hero Slider */
.hero-slider {
    margin-top: 70px;
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.slider-container {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,95,42,0.85) 0%, rgba(45,138,62,0.75) 100%);
}

.slide-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.prev-btn, .next-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255,255,255,0.4);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dots .dot.active {
    background: var(--white);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Quick Links Section */
.quick-links-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.quick-link-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ql-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.quick-link-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.quick-link-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Section Title */
.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 40px;
}

/* Announcements Section */
.announcements-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.announcement-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.ann-date {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.announcement-card h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.announcement-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.announcement-card a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.announcement-card a:hover {
    text-decoration: underline;
}

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

/* Officials Preview */
.officials-preview {
    padding: 80px 0;
    text-align: center;
}

.officials-highlight {
    margin-bottom: 30px;
}

.official-main {
    display: inline-block;
}

.official-main img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    margin-bottom: 20px;
}

.official-main h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.official-main p {
    color: var(--text-light);
}

.officials-intro {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 80px;
    margin-bottom: 15px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 120px 0 60px;
    margin-top: 70px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
}

/* Officials Page */
.officials-section {
    padding: 60px 0;
}

.officials-main {
    text-align: center;
    margin-bottom: 50px;
}

.officials-main img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    margin-bottom: 15px;
}

.officials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.official-card {
    text-align: center;
    padding: 20px;
}

.official-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin-bottom: 15px;
}

.official-card h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 5px;
}

.official-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.content-section p {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-image {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* Announcements Page */
.announcements-list {
    padding: 60px 0;
}

.announcement-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.announcement-item h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.announcement-item .date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .announcements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .officials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .quick-links-grid,
    .announcements-grid {
        grid-template-columns: 1fr;
    }

    .officials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
