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

/* Import standardized brand colors */
:root {
    --brand-primary: #179100;
    --brand-primary-dark: #0b5f00;
    --brand-primary-light: #82e04a;
    --brand-primary-muted: #e6f4e8;
    --brand-primary-soft: #f3faf5;
    --brand-primary-hover: #147500;
    --brand-primary-active: #126600;
    --brand-primary-rgb: 23, 145, 0;
    
    /* Semantic colors */
    --color-success: #28a745;
    --color-success-light: #d4edda;
    --color-warning: #ffc107;
    --color-warning-light: #fff3cd;
    --color-danger: #dc3545;
    --color-danger-light: #f8d7da;
    --color-info: #17a2b8;
    --color-info-light: #d1ecf1;
    --color-secondary: #6c757d;
    
    /* Text colors */
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --text-on-brand: #ffffff;
    
    /* Background colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-brand: var(--brand-primary);
    --bg-brand-dark: var(--brand-primary-dark);
    --bg-brand-light: var(--brand-primary-soft);
    
    /* Border colors */
    --border-primary: #dee2e6;
    --border-brand: var(--brand-primary);
    --border-brand-light: var(--brand-primary-muted);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-brand: 0 4px 16px rgba(var(--brand-primary-rgb), 0.2);
    
    /* Interactive states */
    --hover-bg: rgba(var(--brand-primary-rgb), 0.05);
    --hover-border: rgba(var(--brand-primary-rgb), 0.2);
    --focus-ring: 0 0 0 2px rgba(var(--brand-primary-rgb), 0.25);
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #FAFAF8;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Headings - Poppins */
h1, h2, h3, h4, h5, h6,
.hero-title,
.hero-title-accent,
.section-title,
.title-main,
.about-text h3,
.service-card h3,
.announcement-header h3,
.official-info h3,
.form-wrapper h3,
.footer-section h4,
.mv-card h2,
.feature-card h3,
.service-item-content h3,
.leadership-content h2,
.about-hero-title,
.about-hero-subtitle,
.form-section-title {
    font-family: 'Poppins', sans-serif;
}

/* Body text - Roboto */
body,
p,
span,
div,
a,
input,
select,
textarea,
label,
button,
.nav-link,
.hero-description,
.hero-badge,
.announcement-content,
.official-position,
.official-bio,
.service-card p,
.about-text p {
    font-family: 'Roboto', sans-serif;
}

/* Global button interaction system */
button,
.btn,
[class^="btn-"],
[class*=" btn-"] {
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease;
}

/* Static Background Image */
.static-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary) 50%, var(--brand-primary-dark) 100%);
    background-image: 
        linear-gradient(rgba(var(--brand-primary-rgb), 0.4), rgba(var(--brand-primary-rgb), 0.5)),
        url('../images/landing-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    pointer-events: none;
}

/* Content Wrapper - scrolls over background */
.content-wrapper {
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Add subtle gradient overlay to separate content from background */
.content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(250, 250, 248, 0.3), transparent);
    pointer-events: none;
    z-index: 0;
}

/* Announcement Banner */
.announcement-banner {
    background: rgba(var(--brand-primary-rgb), 0.9);
    color: var(--brand-primary-dark);
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10003;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.announcement-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.banner-close {
    background: transparent;
    border: none;
    color: var(--brand-primary-dark);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    margin-left: 15px;
}

.banner-close:hover {
    opacity: 0.7;
}

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

/* Header Styles */
.header {
    background: var(--brand-primary-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    width: 100%;
    padding: 15px 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10002; /* Above modal overlay to keep it accessible */
}

.header .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: auto;
    flex-shrink: 0;
}

.header .logo-icon img {
    height: 150% !important;
    width: auto;
    max-width: 150% !important;
    object-fit: contain;
    display: block;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: auto;
    flex-shrink: 0;
}

.logo-icon img {
    height: 150% !important;
    width: auto;
    max-width:150% !important;
    object-fit: contain;
    display: block;
}

.header-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.title-main {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    white-space: nowrap;
}

.title-sub {
    font-size: 16px;
    font-weight: 400;
    color: rgba(130, 224, 74, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.global-alert {
    max-width: 1100px;
    margin: 15px auto;
    padding: 14px 18px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 1px solid transparent;
    position: relative;
    z-index: 10001;
}

.global-alert-success {
    background: #ecf9f1;
    color: #0a5c2b;
    border-color: var(--brand-primary);
}

.global-alert-error {
    background: #fdecea;
    color: #8b1e14;
    border-color: #f5b5ae;
}

.global-alert .alert-close {
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-alert .alert-close:hover {
    opacity: 0.75;
}

.global-alert.is-hidden {
    display: none;
}

.inline-success {
    background: #ecf9f1;
    color: #0a5c2b;
    border: 1px solid #a8e1c3;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

/* Ensure nav menu is visible on desktop and burger is hidden */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.focus {
    background: rgba(255, 255, 255, 0.2);
}

/* Dropdown Container */
.dropdown-container {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-trigger i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown-trigger.active i {
    transform: rotate(180deg);
}

/* Services Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    width: 180px;
    background: rgba(26, 67, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform-origin: top left;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(130, 224, 74, 1);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding-left: 22px;
    transform: translateX(3px);
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

.dropdown-item a {
    color: #fff;
    text-decoration: none;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.dropdown-item:hover a {
    color: #fff;
}

.dropdown-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #fff;
    transition: all 0.3s ease;
}

.dropdown-item:hover i {
    color: #fff;
    transform: scale(1.1);
}

.dropdown-item span {
    font-size: 14px;
    font-weight: 500;
    transition: font-weight 0.3s ease;
}

.dropdown-item:hover span {
    font-weight: 600;
}

/* Notification Bell */
.notification-bell {
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.notification-bell:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.notification-bell i {
    font-size: 20px;
    color: #fff;
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(26, 67, 20, 0.95);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Facebook-like notification pulse animation */
.notification-pulse {
    animation: notificationPulse 0.6s ease-in-out;
}

@keyframes notificationPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 4px 8px rgba(255, 68, 68, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }
}

.btn-nav-primary {
    background: rgba(var(--brand-primary-rgb), 1) !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.btn-nav-primary:hover {
    background: rgba(var(--brand-primary-rgb), 0.9) !important;
    transform: translateY(-1px);
}

.btn-nav-primary:active {
    transform: translateY(0) scale(0.98);
    background: rgba(var(--brand-primary-rgb), 0.95) !important;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    position: relative;
    z-index: 1;
}

.hero-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-dot {
    width: 8px;
    height: 8px;
    background: rgba(130, 224, 74, 1);
    border-radius: 50%;
    display: inline-block;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 1);
}

.hero-title-accent {
    color: rgba(26, 67, 20, 0.95);
    font-style: italic;
    font-size: 64px;
    display: block;
    margin-top: 10px;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: rgba(var(--brand-primary-rgb), 1) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
}

.btn-hero-primary:hover {
    background: rgba(var(--brand-primary-rgb), 0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--brand-primary-rgb), 0.4);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 1) !important;
    color: var(--brand-primary-dark) !important;
    font-weight: 600 !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Legacy hero styles for compatibility */
.hero {
    background: transparent;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Section Styles */
.section {
    padding: 80px 20px;
    position: relative;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(245, 250, 245, 0.95), rgba(250, 250, 248, 0.98));
    margin: 20px auto;
    max-width: 1400px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(23, 145, 0, 0.1);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--brand-primary);
    text-align: center;
    margin-bottom: 50px;
    padding: 20px 0 30px 0;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--brand-primary), transparent);
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

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

.about-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0; /* Allow flex shrinking */
}

.about-image {
    flex: 1;
}

.court-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
}

.about-right {
    display: none;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    min-width: 0; /* Allow flex shrinking */
}

.about-right .form-wrapper {
    width: 100%;
    max-width: 100%;
}

.about-text h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--brand-primary);
    padding: 15px 0 15px 0;
    margin-bottom: 25px;
}

.about-text p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* Services Section */
.services-section {
    background: linear-gradient(to bottom, rgba(245, 250, 245, 0.92), rgba(242, 242, 242, 0.95));
    margin-top: 40px;
    border-top: 1px solid rgba(23, 145, 0, 0.15);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Desktop: Show 3 columns for better layout with 5 services */
@media (min-width: 1024px) and (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 4px 8px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(23, 145, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 8px 16px rgba(23, 145, 0, 0.12);
    border-color: rgba(23, 145, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 32px;
}

.service-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 4px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(23, 145, 0, 0.08);
}

.contact-item i {
    font-size: 24px;
    color: var(--brand-primary);
    min-width: 30px;
}

.contact-item h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    font-size: 16px;
}

/* Announcements Section */
.announcements-section {
    background: linear-gradient(to bottom, rgba(245, 250, 245, 0.92), rgba(242, 242, 242, 0.95));
    margin-top: 40px;
    border-top: 1px solid rgba(23, 145, 0, 0.15);
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.announcement-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 4px 8px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(23, 145, 0, 0.08);
}

.announcement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 6px 12px rgba(23, 145, 0, 0.12);
    border-color: rgba(23, 145, 0, 0.2);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(23, 145, 0, 0.15);
}

.announcement-header h3 {
    color: var(--brand-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.announcement-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
}

.announcement-date i {
    color: var(--brand-primary);
}

.announcement-content {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.announcement-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.85rem;
    font-style: italic;
}

.announcement-footer i {
    color: var(--brand-primary);
}

/* Barangay Officials Section */
.officials-section {
    background: linear-gradient(to bottom, rgba(245, 250, 245, 0.92), rgba(250, 250, 248, 0.98));
    margin-top: 40px;
    border-top: 1px solid rgba(23, 145, 0, 0.15);
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.officials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.official-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 4px 8px rgba(0,0,0,0.04);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(23, 145, 0, 0.08);
}

.official-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 8px 16px rgba(23, 145, 0, 0.12);
    border-color: rgba(23, 145, 0, 0.2);
}

.official-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--brand-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.official-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.official-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
}

.official-info h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.official-position {
    color: var(--brand-primary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.official-contact {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.official-contact i {
    color: var(--brand-primary);
}

.official-bio {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 10px;
    text-align: left;
}

/* Login/Register Section */
.register-section {
    background: linear-gradient(to bottom, rgba(245, 250, 245, 0.92), rgba(242, 242, 242, 0.95));
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.form-wrapper {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(23, 145, 0, 0.1);
}

/* Register form wrapper - matches overview height on desktop */
@media (min-width: 769px) {
    .about-content.has-form {
        align-items: stretch;
    }

    .about-content.has-form .about-left {
        height: auto;
    }

    .about-content.has-form .about-right {
        display: block;
        height: 100%;
    }

    .register-form-wrapper {
        height: 100%;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .register-form-wrapper .auth-form {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        min-height: 0;
    }

    .register-form-wrapper .form-step {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        min-height: 0;
        justify-content: space-between;
    }

    .register-form-wrapper .form-step.active {
        display: flex;
    }

    .register-form-wrapper .form-step .form-group {
        margin-bottom: 1rem;
        flex-shrink: 0;
    }

    .register-form-wrapper .form-step .form-section-title {
        flex-shrink: 0;
    }

    .register-form-wrapper .form-navigation {
        margin-top: auto;
        padding-top: 1.5rem;
        display: flex;
        gap: 1rem;
        border-top: 1px solid #e0e0e0;
        flex-shrink: 0;
    }
}

.form-wrapper h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 700;
}

.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="date"] {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input[type="password"],
.password-input-wrapper input[type="text"] {
    padding-right: 3rem;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 1;
}

.password-toggle-btn.show {
    display: flex;
}

.password-toggle-btn:hover {
    color: var(--brand-primary);
}

.password-toggle-btn:focus {
    outline: none;
}

.password-toggle-btn i {
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(23, 145, 0, 0.12);
}

.form-group select {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
    background-color: #fff;
    cursor: pointer;
}

.form-group select:hover {
    border-color: var(--brand-primary);
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin: 1.5rem 0 1rem 0;
    padding: 10px 0 12px 0;
    border-bottom: 2px solid rgba(23, 145, 0, 0.2);
}

.form-section-title:first-child {
    margin-top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-half {
    margin-bottom: 1.5rem;
}

.form-row .form-group-full {
    grid-column: 1 / -1;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.form-hint i {
    color: var(--brand-primary);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.forgot-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: var(--brand-primary-hover);
    text-decoration: underline;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: normal;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 2px;
    accent-color: var(--brand-primary);
    flex-shrink: 0;
}

.checkbox-label span {
    color: #555;
    font-size: 0.9rem;
}

.checkbox-label a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.checkbox-label a:hover {
    color: var(--brand-primary-hover);
    text-decoration: underline;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.form-footer a {
    color: var(--brand-primary);
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Multi-step form styles */
.multi-step-form {
    position: relative;
}

.form-step {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-step.active {
    display: block !important;
    visibility: visible;
    opacity: 1;
    height: auto;
    overflow: visible;
}

/* Ensure form steps don't scroll on desktop */
@media (min-width: 769px) {
    .register-form-wrapper .form-step {
        display: none !important;
    }

    .register-form-wrapper .form-step.active {
        display: flex !important;
        visibility: visible;
        opacity: 1;
        height: auto;
        overflow: visible;
    }
}

.form-navigation {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: space-between;
}

.btn-next,
.btn-prev {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-prev {
    background: #f0f0f0;
    color: #333;
    border: 2px solid #e0e0e0;
}

.btn-prev:hover {
    background: #e0e0e0;
    border-color: #ccc;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-next {
    background: var(--brand-primary);
    color: white;
}

.btn-next:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--brand-primary-rgb), 0.4);
}

.form-navigation .btn-primary {
    flex: 1;
}

/* Buttons */
.btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.btn-primary {
    background: var(--brand-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--brand-primary-rgb), 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Form buttons for multi-step forms */
.form-buttons {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    align-items: center;
}

.form-buttons .btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-buttons .btn-primary {
    background: var(--brand-primary);
    color: white;
    border: none;
}

.form-buttons .btn-primary:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--brand-primary-rgb), 0.4);
}

.form-buttons .btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-buttons .btn-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #dee2e6;
}

.form-buttons .btn-secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile responsive for form buttons */
@media (max-width: 768px) {
    .form-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-buttons .btn {
        width: 100%;
    }
}

/* Footer Styles */
footer {
    background: rgba(23, 145, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 30px 0 15px;
    margin-top: auto;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

.footer-section {
    text-align: left;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.footer-contact i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design - Desktop (Large screens) */
@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
    }
}

/* Responsive Design - Tablet */
@media (max-width: 968px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-card {
        padding: 25px;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin: 0 auto 18px;
    }

    .service-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 14px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
        min-height: 60px;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .header .logo-icon {
        height: 50px !important;
    }

    .header .logo-icon img {
        max-width: 130px !important;
    }

    .header-left {
        gap: 10px;
        flex: 1 1 auto;
        min-width: 0;
        display: flex !important;
        align-items: center !important;
    }

    .logo-icon {
        height: 50px !important;
    }

    .logo-icon img {
        max-width: 130px !important;
    }

    .header-branding {
        gap: 3px;
        min-width: 0;
    }

    .title-main {
        font-size: 18px;
        line-height: 1.1;
        font-weight: 700;
    }

    .title-sub {
        font-size: 10px;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    .header-right {
        gap: 12px;
        position: relative;
        flex-shrink: 0;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    /* Show burger menu on mobile */
    .mobile-menu-toggle {
        display: flex !important;
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
        font-size: 1.4rem;
    }

    /* Hide nav menu by default on mobile, show as dropdown below burger button when opened */
    .nav-menu {
        display: none !important;
        flex-direction: column;
        position: fixed;
        top: 64px;
        right: 16px;
        left: auto;
        width: 250px;
        max-width: calc(100vw - 32px);
        background: rgba(26, 67, 20, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        padding: 8px 0;
        border-radius: 12px;
        z-index: 10003;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px) scale(0.96);
        transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                    visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Show nav menu when open class is added */
    .nav-menu.open {
        display: flex !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .nav-link {
        width: 100%;
        padding: 14px 20px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: all 0.2s ease;
        position: relative;
        min-height: 48px;
        display: flex;
        align-items: center;
        font-size: 15px;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link:active {
        background: rgba(255, 255, 255, 0.15);
        padding-left: 24px;
    }

    .nav-link span {
        font-weight: 500;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: rgba(130, 224, 74, 1);
        transform: scaleY(0);
        transition: transform 0.2s ease;
        border-radius: 0 2px 2px 0;
    }

    .nav-link:active::before {
        transform: scaleY(1);
    }

    .nav-menu .btn-nav-primary {
        margin: 8px 20px 0 20px;
        padding: 14px 20px !important;
        border-radius: 8px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-align: center !important;
        justify-content: center !important;
        background: rgba(var(--brand-primary-rgb), 1) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.3) !important;
        transition: all 0.2s ease !important;
    }

    .nav-menu .btn-nav-primary:active {
        transform: scale(0.98) !important;
        box-shadow: 0 2px 8px rgba(var(--brand-primary-rgb), 0.4) !important;
        background: rgba(var(--brand-primary-rgb), 0.95) !important;
    }

    .nav-menu .btn-nav-primary i {
        margin-left: 6px;
        font-size: 14px;
    }

    /* Mobile Dropdown Styles */
    .dropdown-container {
        position: relative;
        width: 100%;
    }

    .dropdown-menu {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        border-radius: 0;
        border: none;
        box-shadow: none;
        background: rgba(26, 67, 20, 0.3);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: none;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .dropdown-menu.show {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown-item {
        padding: 10px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item a {
        color: #fff !important;
    }

    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        padding-left: 20px;
        transform: none;
    }

    .dropdown-item:hover a {
        color: #fff !important;
    }

    .dropdown-item:hover::before {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-section {
        min-height: 75vh;
        padding: 80px 20px 50px;
    }

    .hero-content-wrapper {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-title-accent {
        font-size: 36px;
        margin-top: 8px;
        display: block;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 35px;
        padding: 0 5px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 0 5px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
        min-height: 48px;
    }

    .hero {
        padding: 60px 20px;
        min-height: 400px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding: 45px 16px;
        margin: 12px 16px;
        border-radius: 16px;
    }

    .announcement-banner-content {
        font-size: 0.85rem;
        padding: 0 15px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 28px;
        padding: 15px 0 20px 0;
        line-height: 1.3;
    }

    .about-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .about-content.has-form {
        grid-template-columns: 1fr !important;
    }

    .about-right {
        position: static;
        top: auto;
        margin-top: 20px;
    }

    .about-text h3 {
        font-size: 24px;
    }

    .about-text p {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        max-width: 100%;
    }

    .service-card {
        padding: 20px 16px;
        border-radius: 12px;
        min-height: 160px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin: 0 auto 14px;
    }

    .service-card h3 {
        font-size: 15px;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .service-card p {
        font-size: 12px;
        line-height: 1.5;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

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

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

    .footer-contact {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }

    /* Hide register section on mobile by default */
    .register-section {
        display: none !important;
    }

    .register-section.show {
        display: block !important;
    }

    .form-wrapper {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-section-title {
        font-size: 1rem;
        margin: 1.2rem 0 0.8rem 0;
    }

    /* Form Modal Overlay for Mobile */
    .form-modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 10000; /* Above content, below header */
        align-items: center;
        justify-content: center;
        padding: 20px;
        padding-top: 80px; /* Space for header */
        overflow-y: auto;
    }

    .form-modal-overlay.show {
        display: flex;
    }

    .form-modal-content {
        position: relative;
        width: 100%;
        max-width: 450px;
        max-height: 90vh;
        overflow-y: auto;
        animation: slideIn 0.3s ease;
        z-index: 10001; /* Above overlay */
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .form-modal-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10002;
        color: #333;
        font-size: 20px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .form-modal-close:hover {
        background: #fff;
        transform: rotate(90deg);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .form-modal-content .form-wrapper {
        margin-top: 0;
        max-height: calc(90vh - 40px);
        overflow-y: auto;
    }

    .announcements-list {
        gap: 15px;
    }

    .announcement-card {
        padding: 20px;
    }

    .announcement-header {
        flex-direction: column;
        gap: 10px;
    }

    .announcement-header h3 {
        font-size: 1.2rem;
    }

    .officials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .official-photo {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 14px;
        min-height: 56px;
    }

    .header .logo-icon {
        height: 45px !important;
    }

    .header .logo-icon img {
        max-width: 115px !important;
    }

    .header-left {
        gap: 8px;
    }

    .logo-icon {
        height: 45px !important;
    }

    .logo-icon img {
        max-width: 115px !important;
    }

    .header-branding {
        gap: 2px;
    }

    .title-main {
        font-size: 16px;
        line-height: 1.1;
    }

    .title-sub {
        font-size: 9px;
        letter-spacing: 0.4px;
        line-height: 1.2;
    }

    .mobile-menu-toggle {
        min-width: 40px;
        min-height: 40px;
        padding: 8px;
        font-size: 1.3rem;
    }

    .nav-menu {
        top: 60px;
        right: 14px;
        left: auto;
        width: 250px;
        max-width: calc(100vw - 28px);
        border-radius: 10px;
    }

    .nav-link {
        padding: 13px 18px;
        font-size: 14px;
        min-height: 46px;
    }

    .nav-menu .btn-nav-primary {
        margin: 6px 18px 0 18px;
        padding: 13px 18px !important;
        font-size: 14px !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 70vh;
        padding: 70px 16px 40px;
    }

    .hero-content-wrapper {
        padding: 0;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .hero-title-accent {
        font-size: 32px;
        margin-top: 6px;
        display: block;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 30px;
        padding: 0;
    }

    .hero-buttons {
        gap: 12px;
        padding: 0;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 13px 20px !important;
        font-size: 14px !important;
        min-height: 46px;
    }

    .section {
        padding: 40px 14px;
        margin: 10px 14px;
        border-radius: 14px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 24px;
        padding: 12px 0 18px 0;
        line-height: 1.3;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .service-card {
        padding: 18px 14px;
        border-radius: 10px;
        min-height: 150px;
    }

    .service-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
        margin: 0 auto 12px;
    }

    .service-card h3 {
        font-size: 14px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .service-card p {
        font-size: 11px;
        line-height: 1.5;
    }
}

/* About Page Styles */
.about-page {
    padding-top: 20px;
    padding-bottom: 60px;
}

.about-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #179100 0%, #106b00 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 50px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.about-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.95;
}

.about-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--brand-primary);
    border-radius: 2px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 4px 8px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(23, 145, 0, 0.08);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 8px 16px rgba(23, 145, 0, 0.12);
    border-color: rgba(23, 145, 0, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #179100 0%, #106b00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(23, 145, 0, 0.3);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Mission and Vision */
.mission-vision {
    background: linear-gradient(to bottom, rgba(245, 250, 245, 0.92), rgba(242, 242, 242, 0.95));
    padding: 60px 20px;
    border-radius: 15px;
    margin: 60px 0;
    border-top: 1px solid rgba(23, 145, 0, 0.15);
}

.mv-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.mv-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 4px 8px rgba(0,0,0,0.04);
    transition: transform 0.3s ease;
    border: 1px solid rgba(23, 145, 0, 0.08);
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mv-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #179100 0%, #106b00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 40px;
    box-shadow: 0 6px 20px rgba(23, 145, 0, 0.3);
}

.mv-card h2 {
    font-size: 1.8rem;
    color: var(--brand-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.mv-card p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Services Offered */
.services-offered {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 4px 8px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(23, 145, 0, 0.08);
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 6px 12px rgba(23, 145, 0, 0.12);
    border-color: rgba(23, 145, 0, 0.2);
}

.service-item-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #179100 0%, #106b00 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(23, 145, 0, 0.3);
}

.service-item-content {
    flex: 1;
}

.service-item-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-item-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Leadership Section */
.leadership-section {
    background: linear-gradient(135deg, rgba(245, 250, 245, 0.92) 0%, rgba(242, 242, 242, 0.95) 100%);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    border-top: 1px solid rgba(23, 145, 0, 0.15);
}

.leadership-content {
    max-width: 800px;
    margin: 0 auto;
}

.leadership-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #179100 0%, #106b00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 50px;
    box-shadow: 0 8px 25px rgba(23, 145, 0, 0.3);
}

.leadership-content h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.leadership-content p {
    color: #555;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.leadership-belief {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--brand-primary);
    font-style: italic;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #e0e0e0;
}

/* Responsive About Page */
@media (max-width: 968px) {
    .about-hero-title {
        font-size: 2rem;
    }

    .about-hero-subtitle {
        font-size: 1.1rem;
    }

    .mv-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

@media (max-width: 768px) {
    .about-hero {
        padding: 40px 20px;
    }

    .about-hero-title {
        font-size: 1.8rem;
    }

    .about-hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 25px;
    }

    .mv-card {
        padding: 30px 25px;
    }

    .mv-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .mv-card h2 {
        font-size: 1.5rem;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .service-item-icon {
        margin: 0 auto;
    }

    .leadership-section {
        padding: 40px 20px;
    }

    .leadership-icon {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .leadership-content h2 {
        font-size: 1.8rem;
    }

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

    .leadership-belief {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .about-hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .mv-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .service-item-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* Extra Small Devices (max-width: 360px) */
@media (max-width: 360px) {
    .header {
        padding: 8px 10px;
        min-height: 50px;
    }
    
    .header .logo-icon {
        height: 40px !important;
    }

    .header .logo-icon img {
        max-width: 105px !important;
    }
    
    .header-left {
        gap: 6px;
    }
    
    .logo-icon {
        height: 40px !important;
    }

    .logo-icon img {
        max-width: 105px !important;
    }
    
    .title-main {
        font-size: 14px;
        line-height: 1.1;
    }
    
    .title-sub {
        font-size: 8px;
        letter-spacing: 0.3px;
    }
    
    .mobile-menu-toggle {
        min-width: 38px;
        min-height: 38px;
        padding: 6px;
        font-size: 1.2rem;
    }
    
    .nav-menu {
        top: 58px;
        right: 10px;
        width: 240px;
        max-width: calc(100vw - 20px);
    }
    
    .nav-link {
        padding: 12px 16px;
        font-size: 13px;
        min-height: 44px;
    }
    
    .nav-menu .btn-nav-primary {
        margin: 5px 16px 0 16px;
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
    
    .hero-section {
        min-height: 65vh;
        padding: 60px 12px 35px;
    }
    
    .hero-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .hero-title-accent {
        font-size: 28px;
        margin-top: 5px;
    }
    
    .hero-description {
        font-size: 13px;
        margin-bottom: 25px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 18px !important;
        font-size: 13px !important;
        min-height: 44px;
    }
    
    .section {
        padding: 35px 12px;
        margin: 8px 12px;
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
        padding: 10px 0 15px 0;
    }
    
    .about-text h3 {
        font-size: 20px;
    }
    
    .about-text p {
        font-size: 14px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .service-card {
        padding: 16px 12px;
        min-height: 140px;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin: 0 auto 10px;
    }
    
    .service-card h3 {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .service-card p {
        font-size: 10px;
    }
    
    .announcement-card {
        padding: 15px;
    }
    
    .announcement-header h3 {
        font-size: 1rem;
    }
    
    .announcement-date {
        font-size: 0.8rem;
    }
    
    .announcement-content {
        font-size: 0.9rem;
    }
    
    .official-card {
        padding: 20px;
    }
    
    .official-photo {
        width: 100px;
        height: 100px;
    }
    
    .official-info h3 {
        font-size: 1.1rem;
    }
    
    .official-position {
        font-size: 0.9rem;
    }
    
    .official-contact,
    .official-bio {
        font-size: 0.85rem;
    }
    
    .form-wrapper {
        padding: 1.25rem;
    }
    
    .form-wrapper h3 {
        font-size: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .footer-content {
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .footer-section h3 {
        font-size: 20px;
    }
    
    .footer-section h4 {
        font-size: 14px;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    .footer-contact p {
        font-size: 12px;
    }
    
    .footer-social a {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    
    .about-hero-title {
        font-size: 1.3rem;
    }
    
    .about-hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .mv-card {
        padding: 25px 20px;
    }
    
    .mv-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .mv-card h2 {
        font-size: 1.3rem;
    }
    
    .mv-card p {
        font-size: 1rem;
    }
    
    .service-item {
        padding: 20px;
    }
    
    .service-item-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    
    .service-item-content h3 {
        font-size: 1.2rem;
    }
    
    .service-item-content p {
        font-size: 0.95rem;
    }
    
    .leadership-section {
        padding: 30px 15px;
    }
    
    .leadership-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .leadership-content h2 {
        font-size: 1.5rem;
    }
    
    .leadership-content p {
        font-size: 0.95rem;
    }
    
    .leadership-belief {
        font-size: 1rem;
    }
}

