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

body {
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, .08);
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
    background-attachment: fixed;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 25s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, .08);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, .08);
    bottom: -150px;
    right: -150px;
    animation-delay: 8s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, .08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 16s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

/* Navigation */
.navbar {
    padding: 17px 50px;
    position: relative;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    padding: 3px;
    border: 2px solid #ffffff;
    background: #ffffff;
    box-shadow: 0 0 0 2px #17365f, 0 4px 12px rgba(0, 12, 35, 0.32);
}

.hero-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 40px rgba(10, 24, 39, 0.35);
}

.logo-text {
    font-size: 16px;
    font-weight: 700;
    background: rgba(255, 255, 255, .08);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, .08);
    transition: width 0.3s;
}

.nav-link:hover {
    color: white;
}

.nav-link:hover::after {
    width: 100%;
}

.login-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .08);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(44, 95, 93, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 95, 93, 0.4);
    background: rgba(255, 255, 255, .08);
}

.settings-icon {
    cursor: pointer;
    transition: all 0.3s;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.settings-icon:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, .08);
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-areas:
        "title"
        "showcase"
        "description";
    grid-template-columns: minmax(0, 1fr);
    padding: 80px 0;
    min-height: calc(100vh - 150px);
    position: relative;
    z-index: 10;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Side Script Text */
.hero-left-script {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 0;
    padding-top: 0;
    position: relative;
    z-index: 5;
}

.hero-showcase {
    grid-area: showcase;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
}

.script-welcome {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(5rem, 10vw, 14rem);
    color: rgba(255, 255, 255, 0.96);
    font-weight: 400;
    line-height: 0.9;
    margin-bottom: 0.1em;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35), 0 0 30px rgba(255, 255, 255, 0.18);
    text-align: center;
}

.script-to {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3.5rem, 7vw, 9rem);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    line-height: 0.8;
    margin-left: 0;
    margin-bottom: 0.2em;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 255, 255, 0.15);
    text-align: center;
}

.script-barangay {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(4.5rem, 9vw, 12rem);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    line-height: 0.9;
    margin-top: 0;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35), 0 0 25px rgba(255, 255, 255, 0.15);
    text-align: center;
}

/* Right Side Content */
.hero-right-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding-right: 0;
    padding-top: 0;
}

/* Main Title */
.main-title {
    grid-area: title;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    font-weight: 600;
    color: white;
    text-align: center;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

/* Hero Image Container */
.hero-image-container {
    width: 100%;
    max-width: 600px;
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

/* Hero Description */
.hero-description {
    grid-area: description;
    max-width: 450px;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: -30px auto 0;
    padding: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .08);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(44, 95, 93, 0.35);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(44, 95, 93, 0.5);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, .08);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 32px;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.feature-text strong {
    font-size: 15px;
    font-weight: 600;
    color: white;
}

.feature-text span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Slideshow Wrapper */
.slideshow-wrapper {
    flex: 1;
    position: relative;
    animation: slideInRight 1s ease-out;
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 450px;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.slides-track {
    display: flex;
    height: 100%;
    animation: slideLeft 12s infinite ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Progress Indicators */
.progress-indicators {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

.indicator {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, .08);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.indicator.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .08);
    animation: progress 4s linear;
}

@keyframes slideLeft {
    0%, 30% {
        transform: translateX(0);
    }
    33%, 63% {
        transform: translateX(-100%);
    }
    66%, 96% {
        transform: translateX(-200%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes progress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/* About Section */
.about-section {
    width: 100%;
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.about-main-heading {
    font-size: 48px;
    font-weight: 700;
    background: rgba(255, 255, 255, .08);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
    text-align: center;
    animation: slideInUp 1s ease-out;
}

/* Two Column Layout */
.about-two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* Left Column */
.about-left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 100px;
}

/* About Slideshow */
.about-slideshow-wrapper {
    width: 100%;
    animation: slideInLeft 1s ease-out 0.2s backwards;
}

.about-slideshow-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-slides-track {
    display: flex;
    height: 100%;
    animation: aboutSlideLeft 12s infinite ease-in-out;
}

.about-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.about-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* About Progress Indicators */
.about-progress-indicators {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.about-indicator {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, .08);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.about-indicator.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .08);
    animation: progress 4s linear;
}

@keyframes aboutSlideLeft {
    0%, 30% {
        transform: translateX(0);
    }
    33%, 63% {
        transform: translateX(-100%);
    }
    66%, 96% {
        transform: translateX(-200%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Barangay Description */
.barangay-description {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(10px);
    animation: slideInLeft 1s ease-out 0.3s backwards;
}

.barangay-description p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Right Column - Accomplishments */
.about-right-column {
    animation: slideInRight 1s ease-out 0.4s backwards;
}

.accomplishment-category-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.acc-category-card {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    position: relative;
    padding: 26px 26px 58px;
    overflow: hidden;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.acc-category-card:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(123, 173, 176, 0.7);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.acc-cat-icon {
    margin-bottom: 18px;
    font-size: 30px;
    line-height: 1;
}

.acc-cat-title {
    margin: 0 0 10px;
    color: white;
    font-size: 19px;
    font-weight: 600;
}

.acc-cat-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.6;
}

.acc-cat-arrow {
    position: absolute;
    right: 24px;
    bottom: 20px;
    color: #7BADB0;
    font-size: 22px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.acc-category-card:hover .acc-cat-arrow {
    transform: translateX(4px);
}

.accomplishments-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.accomplishment-item {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.accomplishment-item:hover {
    background: rgba(255, 255, 255, .08);
    transform: translateX(10px);
    border-color: rgba(44, 95, 93, 0.35);
    box-shadow: 0 10px 30px rgba(44, 95, 93, 0.25);
}

.accomplishment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.accomplishment-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    border-radius: 12px;
    flex-shrink: 0;
}

.accomplishment-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.accomplishment-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding-left: 65px;
}

/* Map Section */
.map-section {
    width: 100%;
    padding: clamp(56px, 8vw, 104px) 0;
    position: relative;
    z-index: 10;
}

.map-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

.map-main-heading {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: #f7fbfb;
    line-height: 1.2;
    letter-spacing: -0.035em;
    margin-bottom: 32px;
    text-align: center;
    animation: slideInUp 1s ease-out;
}

/* Two Column Layout */
.map-two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.map-image-panel {
    width: 100%;
    max-width: 1480px;
    margin: 0;
    justify-self: center;
}

.map-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Right Column - Location Info */
.map-right-column {
    animation: slideInRight 1s ease-out 0.4s backwards;
}

.location-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.location-info-item {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.location-info-item:hover {
    background: rgba(255, 255, 255, .08);
    transform: translateX(10px);
    border-color: rgba(44, 95, 93, 0.35);
    box-shadow: 0 10px 30px rgba(44, 95, 93, 0.25);
}

.location-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.location-info-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    border-radius: 12px;
    flex-shrink: 0;
}

.location-info-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.location-info-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding-left: 65px;
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

.contact-modal-content {
    position: relative;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.contact-modal.active .contact-modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, .08);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.close-modal:hover {
    background: rgba(255, 255, 255, .08);
    transform: rotate(90deg);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-icon {
    font-size: 36px;
}

.contact-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.contact-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    padding-left: 51px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s;
}

.contact-item:hover {
    background: rgba(255, 255, 255, .08);
    transform: translateX(10px);
    border-color: rgba(44, 95, 93, 0.5);
}

.contact-icon-wrap {
    font-size: 28px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.contact-number {
    font-size: 18px;
    color: #7BADB0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contact-footer {
    padding: 20px;
    background: rgba(255, 255, 255, .08);
    border-radius: 12px;
    border-left: 3px solid #7BADB0;
}

.contact-footer p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Responsive Design */
@media (max-width: 1200px) {
    .hero-showcase {
        gap: 40px;
    }

    .script-welcome {
        font-size: clamp(3rem, 7vw, 8rem);
    }

    .script-to {
        font-size: clamp(2rem, 4vw, 5rem);
    }

    .script-barangay {
        font-size: clamp(2.5rem, 6vw, 7rem);
    }

    .main-title {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }

    .hero-image-container {
        height: 320px;
    }
}

@media (max-width: 1024px) {
    .main-container {
        padding: 0 40px;
    }

    .hero-section {
        text-align: center;
        padding: 60px 0;
    }

    .hero-showcase {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .hero-left-script {
        padding-left: 0;
        align-items: center;
        margin-top: 0;
    }

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

    .script-welcome,
    .script-to,
    .script-barangay {
        text-align: center;
        margin-left: 0;
    }

    .script-welcome {
        font-size: clamp(2.5rem, 6vw, 6rem);
    }

    .script-to {
        font-size: clamp(1.5rem, 3vw, 4rem);
    }

    .script-barangay {
        font-size: clamp(2rem, 5vw, 5rem);
    }

    .hero-image-container {
        max-width: 450px;
        height: 300px;
        margin: 0 auto;
    }

    .hero-description {
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-modal-content {
        padding: 30px;
        width: 95%;
    }

    .contact-header h2 {
        font-size: 24px;
    }

    .contact-icon {
        font-size: 32px;
    }

    .about-container {
        padding: 0 40px;
    }

    .about-main-heading {
        font-size: 40px;
    }

    .about-two-column-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-left-column {
        position: static;
    }

    .about-slideshow-container {
        height: 300px;
    }

    .map-container {
        padding: 0 40px;
    }

    .map-main-heading {
        font-size: 40px;
    }

    .map-two-column-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-frame {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 30px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
    }

    .login-button {
        padding: 8px 16px;
        font-size: 13px;
    }

    .nav-logo {
        width: 45px;
        height: 45px;
    }

    .logo-text {
        font-size: 20px;
    }

    .main-container {
        padding: 0 30px;
    }

    .hero-section {
        padding: 40px 0;
        gap: 40px;
    }

    .script-welcome {
        font-size: clamp(2rem, 6vw, 4.5rem);
    }

    .script-to {
        font-size: clamp(1.2rem, 3vw, 3rem);
    }

    .script-barangay {
        font-size: clamp(1.5rem, 4vw, 3.5rem);
    }

    .main-title {
        font-size: clamp(1.8rem, 4vw, 2.8rem);
    }

    .hero-image-container {
        max-width: 350px;
        height: 250px;
    }

    .hero-description {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        max-width: 400px;
    }

    .contact-modal-content {
        padding: 25px;
    }

    .contact-item {
        padding: 15px;
    }

    .contact-icon-wrap {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .contact-number {
        font-size: 16px;
    }

    .about-section {
        padding: 80px 0;
    }

    .about-container {
        padding: 0 30px;
    }

    .about-main-heading {
        font-size: 36px;
        margin-bottom: 50px;
    }

    .about-slideshow-container {
        height: 250px;
    }

    .map-section {
        padding: 56px 0;
    }

    .map-container {
        padding: 0 30px;
    }

    .map-main-heading {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .map-two-column-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .location-info-item {
        padding: 25px;
    }

    .location-info-title {
        font-size: 18px;
    }

    .location-info-description {
        font-size: 14px;
        padding-left: 0;
    }

    .location-info-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .accomplishment-item {
        padding: 25px;
    }

    .accomplishment-title {
        font-size: 18px;
    }

    .accomplishment-description {
        font-size: 14px;
        padding-left: 0;
    }

    .accomplishment-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .accomplishment-category-cards {
        grid-template-columns: 1fr;
    }

    .acc-category-card {
        min-height: 200px;
    }

    .nav-logo {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 18px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-link {
        display: none;
    }

    .login-button {
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }

    .login-button svg {
        width: 14px;
        height: 14px;
    }

    .hero-section {
        padding: 30px 0;
        gap: 30px;
    }

    .script-welcome {
        font-size: clamp(1.5rem, 5vw, 3rem);
    }

    .script-to {
        font-size: clamp(1rem, 2.5vw, 2rem);
    }

    .script-barangay {
        font-size: clamp(1.2rem, 3.5vw, 2.5rem);
    }

    .main-title {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
    }

    .hero-image-container {
        max-width: 280px;
        height: 200px;
    }

    .hero-description {
        font-size: clamp(0.8rem, 2vw, 1rem);
        max-width: 320px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 14px;
    }

    .about-main-heading {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .about-slideshow-container {
        height: 220px;
    }

    .map-section {
        padding: 44px 0;
    }

    .map-container {
        padding: 0 20px;
    }

    .map-main-heading {
        font-size: 30px;
        margin-bottom: 18px;
    }

    .location-info-item {
        padding: 20px;
    }

    .location-info-icon {
        width: 45px;
        height: 45px;
        font-size: 28px;
    }

    .location-info-title {
        font-size: 17px;
    }

    .location-info-description {
        font-size: 13px;
    }

    .accomplishment-item {
        padding: 20px;
    }

    .accomplishment-icon {
        width: 45px;
        height: 45px;
        font-size: 28px;
    }

    .accomplishment-title {
        font-size: 17px;
    }

    .accomplishment-description {
        font-size: 13px;
    }

    .barangay-description {
        padding: 20px;
    }

    .barangay-description p {
        font-size: 14px;
    }
}

/* ===== Add these AFTER your existing style.css ===== */

/* --- Slideshow: replace the fixed 3-slide CSS animation with a JS-driven one --- */
.about-slides-track {
    animation: none;                       /* overrides aboutSlideLeft */
    transition: transform 0.7s ease-in-out;
}
.about-slide-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
}
.about-indicator { cursor: pointer; }
.about-indicator.active::after { animation: progress 4s linear; }

/* --- Accomplishments page --- */
.acc-navbar {
    padding: 8px 24px;
}
.acc-page {
    position: relative;
    z-index: 10;
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px 24px 60px;
}
.acc-logout-form { display: flex; }
.acc-logout-btn {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
}
.acc-logout-btn:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.acc-page-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, .08);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.acc-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 24px;
}
.acc-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.acc-filter {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
}
.acc-filter:hover,
.acc-filter.active {
    color: white;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, 0.25);
}

.acc-flash {
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 14px;
    border: 1px solid;
}
.acc-flash.ok  { background: rgba(255, 255, 255, .08); border-color: rgba(60, 160, 110, 0.5); }
.acc-flash.err { background: rgba(255, 255, 255, .08);  border-color: rgba(200, 70, 70, 0.5); }

.acc-group { margin-bottom: 60px; }
.acc-group-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(123, 173, 176, 0.35);
}
.acc-empty { color: rgba(255, 255, 255, 0.55); font-size: 15px; }

.acc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.acc-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}
.acc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(123, 173, 176, 0.45);
}
.acc-card-img { width: 100%; height: 220px; overflow: hidden; }
.acc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.acc-card:hover .acc-card-img img { transform: scale(1.06); }
.acc-card-body { padding: 20px; }
.acc-badge {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, .08);
    padding: 3px 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.acc-card-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.acc-card-body p  { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }
.acc-date { display: block; margin-top: 12px; font-size: 12px; color: #7BADB0; }

/* --- Add Accomplishment form (uses your existing .contact-modal styles) --- */
.acc-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid rgba(200, 145, 58, 0.65);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.acc-add-btn::before {
    content: "+";
    font-size: 20px;
    line-height: 1;
}
.acc-add-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 12px 30px rgba(200, 145, 58, 0.3);
}
.acc-add-btn:focus-visible,
.acc-submit:focus-visible,
.close-modal:focus-visible {
    outline: 3px solid #C8913A;
    outline-offset: 3px;
}
.acc-form-title { font-size: 26px; font-weight: 700; margin-bottom: 20px; }
.acc-form { display: flex; flex-direction: column; gap: 8px; }
.acc-form label { font-size: 13px; color: rgba(255, 255, 255, 0.75); margin-top: 8px; }
.acc-form input[type="text"],
.acc-form input[type="password"],
.acc-form input[type="date"],
.acc-form input[type="file"],
.acc-form textarea,
.acc-form select {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    color: white;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    outline: none;
}
.acc-form input:focus,
.acc-form textarea:focus,
.acc-form select:focus { border-color: #7BADB0; }
.acc-form select option { color: #1A3A38; }
.acc-submit { margin-top: 18px; justify-content: center; width: 100%; }
.acc-form textarea { resize: vertical; min-height: 100px; }
.acc-form input[type="file"] { cursor: pointer; }
.password-field { position: relative; display: flex; align-items: center; }
.password-field input { padding-right: 48px !important; }
.password-toggle {
    position: absolute;
    right: 8px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 6px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
}
.password-toggle:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.password-toggle:focus-visible { outline: 2px solid #7BADB0; outline-offset: 1px; }
.password-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.password-eye-off { display: none; }
.password-toggle[aria-pressed="true"] .password-eye { display: none; }
.password-toggle[aria-pressed="true"] .password-eye-off { display: block; }

.auth-page {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px;
}
.auth-card {
    width: min(100%, 440px);
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(24px);
}
.auth-logo {
    display: block;
    margin: 0 auto 18px;
}
.auth-card h1 {
    margin-bottom: 8px;
    text-align: center;
    font-size: 26px;
}
.auth-card > p {
    margin-bottom: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.6;
}
.auth-home {
    display: block;
    margin-top: 20px;
    color: #b7d8d8;
    text-align: center;
    text-decoration: none;
}
.auth-home:hover { color: #fff; text-decoration: underline; }

@media (max-width: 768px) {
    .acc-navbar { padding: 8px 16px; }
    .acc-page { padding: 20px 16px 48px; }
    .acc-page-title { font-size: 30px; }
    .acc-card-img { height: 200px; }
    .acc-toolbar { align-items: stretch; }
    .acc-add-btn { width: 100%; }
    .contact-modal-content { padding: 30px 22px; }
    .auth-card { padding: 28px 22px; }
}

/* Keep the three landing sections within a desktop viewport. */
@media (min-width: 1025px) {
    .hero-section {
        height: calc(100svh - 100px);
        min-height: 0;
        grid-template-rows: auto minmax(0, 1fr) auto;
        gap: clamp(12px, 2vh, 24px);
        padding: clamp(16px, 3vh, 32px) 0;
    }

    .main-title {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }

    .hero-showcase {
        min-height: 0;
        gap: clamp(24px, 4vw, 60px);
    }

    .hero-left-script {
        min-width: 0;
    }

    .script-welcome {
        font-size: clamp(3.5rem, 7vw, 7rem);
    }

    .script-to {
        font-size: clamp(2.8rem, 5vw, 5rem);
    }

    .script-barangay {
        font-size: clamp(3.5rem, 6vw, 6rem);
    }

    .hero-image-container {
        height: min(48svh, 450px);
    }

    .hero-description {
        font-size: clamp(.9rem, 1.2vw, 1.1rem);
        line-height: 1.5;
        margin: 0 auto;
    }

    .about-section,
    .map-section {
        height: 100svh;
        min-height: 0;
        display: flex;
        align-items: center;
        padding: clamp(24px, 4vh, 48px) 0;
    }

    .about-container,
    .map-container {
        width: 100%;
    }

    .about-main-heading {
        font-size: clamp(2rem, 3.2vw, 2.75rem);
        margin-bottom: clamp(16px, 3vh, 28px);
    }

    .about-two-column-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        gap: clamp(24px, 4vw, 56px);
        align-items: center;
    }

    .about-left-column {
        position: static;
        gap: clamp(12px, 2vh, 20px);
    }

    .about-slideshow-container {
        height: clamp(180px, 31svh, 280px);
    }

    .about-progress-indicators {
        margin-top: 12px;
    }

    .barangay-description {
        padding: clamp(14px, 2vw, 20px);
    }

    .barangay-description p {
        font-size: clamp(.85rem, 1vw, .95rem);
        line-height: 1.55;
    }

    .accomplishment-category-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(10px, 1.5vw, 18px);
    }

    .acc-category-card {
        min-height: clamp(175px, 24svh, 220px);
        padding: clamp(16px, 2vw, 24px) clamp(14px, 1.8vw, 22px) 48px;
    }

    .acc-cat-title {
        font-size: clamp(1rem, 1.3vw, 1.2rem);
    }

    .acc-cat-desc {
        font-size: clamp(.8rem, 1vw, .9rem);
    }

    .map-main-heading {
        font-size: clamp(2rem, 3.2vw, 2.75rem);
        margin-bottom: clamp(16px, 3vh, 28px);
    }

    .map-image-panel {
        display: flex;
        align-items: center;
        justify-content: center;
        height: calc(100svh - 190px);
    }

    .map-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

@media (max-width: 1024px) {
    .hero-section,
    .about-section,
    .map-section {
        height: auto;
        min-height: 0;
    }
}

/* Restore the original dark teal landing/auth presentation. */
body,
.animated-bg {
    background: linear-gradient(135deg, #1A3A38 0%, #2C5F5D 40%, #1A4A5A 70%, #243D4D 100%) !important;
    background-attachment: fixed !important;
    color: #fff !important;
}

.hero-section,
.about-section,
.map-section,
.contact-section,
.main-container,
.acc-page,
body.auth-page {
    background: transparent !important;
    color: #fff !important;
}

.gradient-orb.orb-1 { background: #2C5F5D !important; }
.gradient-orb.orb-2 { background: #1A4A5A !important; }
.gradient-orb.orb-3 { background: #7BADB0 !important; }

.navbar .nav-link::after {
    background: #C8913A !important;
}

.logo-text,
.acc-page-title {
    background: linear-gradient(135deg, #7BADB0, #C8913A) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.settings-icon {
    background: transparent !important;
}

.close-modal {
    background: rgba(255,255,255,.1) !important;
}

.location-info-icon,
.contact-icon-wrap {
    background: #3D7A76 !important;
}

.settings-icon:hover,
.close-modal:hover,
.password-toggle:hover {
    background: rgba(255,255,255,.14) !important;
}

.contact-modal-overlay {
    background: rgba(0,0,0,.65) !important;
}

.acc-logout-btn,
.acc-filter,
.password-toggle {
    background: rgba(255,255,255,.1) !important;
    color: #fff !important;
}

.acc-filter:hover,
.acc-filter.active {
    background: #3D7A76 !important;
    color: #fff !important;
}

.acc-flash.ok {
    background: rgba(60,160,110,.22) !important;
    color: #d8f3e5 !important;
}

.acc-flash.err {
    background: rgba(200,70,70,.22) !important;
    color: #ffe0e0 !important;
}

.acc-badge {
    background: #2C5F5D !important;
    color: #fff !important;
}

.acc-form input[type="text"],
.acc-form input[type="password"],
.acc-form input[type="date"],
.acc-form input[type="file"],
.acc-form textarea,
.acc-form select {
    background: rgba(255,255,255,.1) !important;
    color: #fff !important;
}

.auth-card,
.feature-card,
.location-info-item,
.contact-modal-content,
.acc-card,
.acc-filter,
.contact-item {
    background: rgba(245, 242, 232, .12) !important;
    border-color: rgba(255, 255, 255, .2) !important;
    color: #fff !important;
}

.navbar,
.footer,
.footer-section,
.site-footer,
.contact-footer {
    background: rgba(26, 58, 56, .72) !important;
}

.acc-add-btn,
.acc-submit,
.cta-button,
.login-button,
.contact-button,
.submit-button {
    background: #3D7A76 !important;
    border-color: #7BADB0 !important;
    color: #fff !important;
}

.navbar,
.footer,
.footer-section,
.site-footer,
.contact-footer {
    background: rgba(255, 255, 255, .05) !important;
    color: #fff !important;
}

.navbar .nav-link,
.footer a,
.footer p,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer-section,
.site-footer,
.hero-section h1,
.hero-section h2,
.about-section h1,
.about-section h2,
.about-section h3,
.map-section h1,
.map-section h2,
.map-section h3,
.contact-section h1,
.contact-section h2,
.contact-section h3,
.location-info-title,
.location-info-description,
.hero-section p,
.about-section p,
.map-section p,
.contact-section p {
    color: #fff !important;
}

.contact-modal-content,
.login-card,
.setup-card,
.feature-card,
.location-info-item,
.info-card,
.auth-card,
.acc-card,
.acc-filter {
    background: rgba(255, 255, 255, .06) !important;
    border-color: rgba(255, 255, 255, .15) !important;
    color: #fff !important;
}

.acc-page-title {
    background: linear-gradient(135deg, #fff, #7BADB0) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.acc-card-body h3,
.acc-card-body p,
.acc-group-title,
.acc-empty,
.acc-form-title,
.acc-form label,
.auth-card h1,
.auth-card > p,
.auth-home {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.hero-section {
    display: block;
    grid-template-areas: none;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    gap: 0;
    overflow: hidden;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent !important;
    backdrop-filter: none;
    border-bottom-color: transparent;
}

.navbar .logo-text,
.navbar .nav-links .nav-link {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(7, 36, 70, 0.78) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.landing-banner {
    display: block;
    width: 100%;
    height: auto;
}

.landing-welcome-title {
    position: absolute;
    z-index: 5;
    bottom: 7%;
    left: clamp(24px, 7vw, 100px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 85%;
    margin: 0;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-align: left;
    text-shadow:
        0 2px 3px rgba(0, 20, 52, 0.95),
        0 4px 10px rgba(0, 20, 52, 0.9),
        0 0 18px rgba(0, 20, 52, 0.75);
    text-transform: uppercase;
}

.landing-welcome-intro {
    font-size: clamp(0.85rem, 1.7vw, 1.4rem);
    letter-spacing: 0.12em;
}

.landing-welcome-name {
    font-size: clamp(1.6rem, 4vw, 3.25rem);
}

.login-button,
.contact-button,
.submit-button,
.btn-primary,
.cta-button,
.acc-add-btn,
.acc-submit {
    background: linear-gradient(135deg, #2C5F5D, #3D7A76) !important;
    border-color: rgba(255, 255, 255, .15) !important;
    color: #fff !important;
}

.acc-filter.active,
.acc-filter:hover {
    background: linear-gradient(135deg, #2C5F5D, #3D7A76) !important;
    color: #fff !important;
}

.acc-badge {
    background: rgba(44, 95, 93, .85) !important;
    color: #fff !important;
}

.acc-flash.ok {
    background: rgba(60, 160, 110, .2) !important;
    border-color: rgba(60, 160, 110, .5) !important;
    color: #fff !important;
}

.gradient-orb {
    display: block !important;
}

.orb-1 {
    background: radial-gradient(circle, rgba(44, 95, 93, .4), transparent) !important;
}

.orb-2 {
    background: radial-gradient(circle, rgba(26, 74, 90, .4), transparent) !important;
}

.orb-3 {
    background: radial-gradient(circle, rgba(200, 145, 58, .25), transparent) !important;
}

/* Match the public landing page to the community-center banner. */
body.landing-page,
body.landing-page .animated-bg {
    background: #084f96 !important;
    color: #fff !important;
}

body.landing-page .gradient-orb.orb-1 {
    background: radial-gradient(circle, rgba(0, 104, 204, .16), transparent) !important;
}

body.landing-page .gradient-orb.orb-2 {
    background: radial-gradient(circle, rgba(0, 63, 145, .12), transparent) !important;
}

body.landing-page .gradient-orb.orb-3 {
    background: radial-gradient(circle, rgba(255, 199, 0, .18), transparent) !important;
}

body.landing-page .navbar .logo-text,
body.landing-page .acc-page-title {
    background: none !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

body.landing-page .navbar .nav-links .nav-link {
    border-color: rgba(255, 255, 255, .72);
    background: rgba(0, 62, 135, .84) !important;
}

body.landing-page .navbar .nav-link::after {
    background: #ffd21f !important;
}

body.landing-page .about-section,
body.landing-page .map-section {
    background: transparent !important;
    color: #17365f !important;
}

body.landing-page .about-main-heading,
body.landing-page .map-main-heading {
    background: none !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

body.landing-page .about-main-heading {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

body.landing-page .about-slideshow-container,
body.landing-page .barangay-description,
body.landing-page .acc-category-card {
    background: #0b5eaa !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    box-shadow: 0 14px 36px rgba(0, 31, 76, .2);
}

body.landing-page .about-section {
    background: #084f96 !important;
    color: #fff !important;
}

body.landing-page .map-section {
    background: #084f96 !important;
    color: #fff !important;
}

body.landing-page .about-slideshow-container {
    overflow: hidden;
}

body.landing-page .about-indicator {
    background: #c9dbef;
}

body.landing-page .about-indicator.active::after {
    background: #f4c400;
}

body.landing-page .barangay-description p,
body.landing-page .acc-cat-desc {
    color: rgba(255, 255, 255, .86) !important;
}

body.landing-page .acc-cat-title {
    color: #fff !important;
}

body.landing-page .acc-cat-icon,
body.landing-page .acc-cat-arrow {
    color: #fff !important;
}

body.landing-page .acc-category-card:hover {
    background: #0d69bb !important;
    border-color: rgba(255, 255, 255, .55) !important;
    box-shadow: 0 18px 38px rgba(0, 31, 76, .28);
}

body.landing-page .contact-modal-content {
    background: #fff !important;
    border-color: #d3e4f7 !important;
    color: #17365f !important;
}

body.landing-page .contact-header h2,
body.landing-page .contact-label,
body.landing-page .contact-number,
body.landing-page .contact-footer p {
    color: #17365f !important;
}

body.landing-page .contact-description {
    color: #526b88 !important;
}

body.landing-page .contact-item {
    background: #f1f7ff !important;
    border-color: #d3e4f7 !important;
}

body.landing-page .location-info-icon,
body.landing-page .contact-icon-wrap {
    background: #0875d8 !important;
}

body.landing-page .login-button {
    background: linear-gradient(135deg, #075db5, #087fe0) !important;
    border-color: #ffd21f !important;
}

body.login-page,
body.setup-page,
body.login-page .animated-bg,
body.setup-page .animated-bg {
    background: #084f96 !important;
}

body.login-page .animated-bg,
body.setup-page .animated-bg {
    background:
        linear-gradient(rgba(8, 79, 150, .68), rgba(4, 48, 98, .76)),
        url("landing-banner.png") center / cover no-repeat !important;
}

body.login-page .gradient-orb,
body.setup-page .gradient-orb {
    display: none !important;
}

body.login-page .auth-card,
body.setup-page .auth-card {
    background: rgba(4, 42, 84, .82) !important;
    border-color: rgba(255, 255, 255, .24) !important;
    box-shadow: 0 20px 60px rgba(0, 22, 56, .38);
    backdrop-filter: blur(8px);
}

body.login-page .acc-submit,
body.setup-page .acc-submit {
    background: linear-gradient(135deg, #075db5, #087fe0) !important;
    border: 1px solid #ffd21f !important;
}

body.landing-page .navbar {
    padding: 18px clamp(16px, 5vw, 64px);
}

body.landing-page .nav-container {
    justify-content: flex-start;
}

body.landing-page .nav-logo {
    width: clamp(76px, 6vw, 84px);
    height: clamp(76px, 6vw, 84px);
    object-fit: contain;
}

body.landing-page .nav-links {
    margin-left: auto;
    gap: clamp(8px, 1.5vw, 20px);
}

body.landing-page .nav-link,
body.landing-page .login-button {
    white-space: nowrap;
}

body.landing-page .hero-section {
    isolation: isolate;
}

body.landing-page .landing-banner {
    min-height: 440px;
    object-fit: cover;
    object-position: center;
}

body.landing-page .hero-branding {
    position: absolute;
    z-index: 5;
    top: 73%;
    left: clamp(24px, 7vw, 100px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(8px, 1.5vw, 18px);
    width: min(75%, 680px);
    transform: translateY(-50%);
    text-align: left;
    pointer-events: none;
}

body.landing-page .hero-logo {
    width: clamp(76px, 10vw, 132px);
    height: clamp(76px, 10vw, 132px);
    object-fit: cover;
    border: 3px solid transparent;
    background: transparent;
    clip-path: circle(43.5% at 50% 50%);
    filter: drop-shadow(0 5px 12px rgba(0, 20, 52, .4));
}

body.landing-page .landing-welcome-title {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    color: #fff;
    text-align: left;
    transform: none;
}

body.landing-page .landing-welcome-intro {
    font-size: clamp(0.95rem, 2.2vw, 1.65rem);
}

body.landing-page .landing-welcome-name {
    font-size: clamp(1.5rem, 4vw, 3.25rem);
}

@media (max-width: 600px) {
    body.landing-page .navbar {
        padding: 12px 14px;
    }

    body.landing-page .nav-logo {
        width: 58px;
        height: 58px;
    }

    body.landing-page .nav-links {
        width: auto;
        justify-content: flex-end;
        gap: 7px;
    }

    body.landing-page .nav-link {
        display: inline-block;
        padding: 7px 9px;
        font-size: 12px;
    }

    body.landing-page .login-button {
        padding: 7px 10px;
        font-size: 12px;
    }

    body.landing-page .landing-banner {
        min-height: 400px;
    }

    body.landing-page .hero-branding {
        top: 68%;
        gap: 10px;
    }
}

body.accomplishments-page {
    min-height: 100vh;
    overflow-x: hidden;
    background: #eaf3ff !important;
    color: #17365f !important;
}

body.accomplishments-page .animated-bg {
    display: none;
}

body.accomplishments-page .acc-navbar {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 10px clamp(18px, 5vw, 64px);
    background: #102f5d !important;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 4px 18px rgba(11, 39, 78, .16);
}

body.accomplishments-page .acc-navbar .logo-text {
    background: none !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

body.accomplishments-page .acc-navbar .nav-link {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

body.accomplishments-page .acc-page {
    width: min(100%, 1420px);
    max-width: none;
    min-height: calc(100vh - 84px);
    margin: 0 auto;
    padding: clamp(30px, 4vw, 56px) clamp(18px, 5vw, 68px) 72px;
    color: #17365f !important;
    background-color: #f3f8ff !important;
    background-image:
        radial-gradient(ellipse at 12% 8%, rgba(93, 159, 225, .18), transparent 34%),
        radial-gradient(ellipse at 88% 88%, rgba(200, 145, 58, .12), transparent 32%),
        linear-gradient(135deg, #f5f9ff, #e8f1fc 52%, #f4f8ff) !important;
    background-position: center, center;
    background-size: cover;
    background-repeat: no-repeat;
}

body.accomplishments-page .acc-page-title {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto clamp(28px, 4vw, 46px);
    padding: 0 0 16px;
    color: #12376c !important;
    background: none !important;
    -webkit-text-fill-color: #12376c !important;
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    line-height: 1.2;
    letter-spacing: -.035em;
    text-wrap: balance;
}

body.accomplishments-page .acc-page-title::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 86px;
    height: 3px;
    content: "";
    background: #c8913a;
    border-radius: 3px;
    transform: translateX(-50%);
}

body.accomplishments-page .acc-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    align-items: stretch;
    gap: clamp(24px, 4vw, 54px);
    margin-bottom: clamp(38px, 5vw, 64px);
}

body.accomplishments-page .acc-featured-content {
    min-width: 0;
}

body.accomplishments-page .acc-feature-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1.52;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(22, 79, 145, .12), rgba(201, 145, 58, .1));
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(20, 54, 96, .12);
}

body.accomplishments-page .acc-feature-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-mask-image: radial-gradient(ellipse 78% 78% at center, #000 56%, rgba(0, 0, 0, .88) 70%, rgba(0, 0, 0, .42) 86%, transparent 100%);
    mask-image: radial-gradient(ellipse 78% 78% at center, #000 56%, rgba(0, 0, 0, .88) 70%, rgba(0, 0, 0, .42) 86%, transparent 100%);
}

body.accomplishments-page .acc-photo-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    color: #355779;
    text-align: center;
    background:
        radial-gradient(ellipse at center, rgba(255, 255, 255, .95), rgba(231, 242, 255, .68) 72%, rgba(209, 229, 251, .14)),
        linear-gradient(135deg, rgba(22, 79, 145, .12), rgba(201, 145, 58, .1));
    box-shadow: none;
}

body.accomplishments-page .acc-photo-empty p {
    max-width: 28ch;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

body.accomplishments-page .acc-empty-mark {
    color: #c8913a;
    font-size: 32px;
}

body.accomplishments-page .acc-feature-caption {
    max-width: 760px;
    padding: 16px 20px 0;
}

body.accomplishments-page .acc-feature-category {
    display: inline-block;
    margin-bottom: 6px;
    color: #a36d1f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.accomplishments-page .acc-feature-caption h2 {
    margin: 0 0 7px;
    color: #12376c !important;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.3;
}

body.accomplishments-page .acc-feature-caption p {
    margin: 0;
    color: #4f6683 !important;
    font-size: 14px;
    line-height: 1.7;
}

body.accomplishments-page .acc-feature-categories {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

body.accomplishments-page .acc-category-card {
    min-height: 0;
    padding: 22px 58px 22px 22px;
    color: #17365f;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(24, 68, 125, .13);
    border-left: 3px solid #c8913a;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(22, 57, 99, .08);
    backdrop-filter: blur(4px);
}

body.accomplishments-page .acc-category-card:hover {
    background: #fff;
    border-color: rgba(24, 68, 125, .22);
    border-left-color: #c8913a;
    box-shadow: 0 14px 30px rgba(22, 57, 99, .13);
    transform: translateY(-2px);
}

body.accomplishments-page .acc-cat-icon {
    margin-bottom: 10px;
    color: #174c8d;
    font-size: 24px;
}

body.accomplishments-page .acc-cat-title {
    margin-bottom: 7px;
    color: #12376c !important;
    font-size: 17px;
    line-height: 1.35;
}

body.accomplishments-page .acc-cat-desc {
    color: #526b88 !important;
    font-size: 13px;
    line-height: 1.55;
}

body.accomplishments-page .acc-cat-arrow {
    right: 20px;
    bottom: 20px;
    color: #a36d1f;
}

body.accomplishments-page .acc-toolbar {
    padding-top: 22px;
    border-top: 1px solid rgba(23, 54, 95, .13);
}

body.accomplishments-page .acc-filter {
    color: #26476e !important;
    background: rgba(255, 255, 255, .76) !important;
    border-color: rgba(23, 54, 95, .18) !important;
}

body.accomplishments-page .acc-filter:hover,
body.accomplishments-page .acc-filter.active {
    color: #fff !important;
    background: #174c8d !important;
    border-color: #174c8d !important;
}

body.accomplishments-page .acc-add-btn {
    color: #fff !important;
    background: #174c8d !important;
    border-color: #c8913a !important;
}

body.accomplishments-page .acc-flash {
    color: #17365f;
}

body.accomplishments-page .acc-group-title {
    margin: 0 0 18px;
    padding-bottom: 12px;
    color: #12376c !important;
    -webkit-text-fill-color: #12376c !important;
    border-bottom-color: rgba(200, 145, 58, .55);
}

body.accomplishments-page .acc-group {
    margin: 0 0 clamp(22px, 3vw, 36px);
    padding: clamp(20px, 3vw, 32px);
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(23, 76, 141, .14);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(22, 57, 99, .14);
}

body.accomplishments-page .acc-empty {
    margin: 0;
    color: #526b88 !important;
    -webkit-text-fill-color: #526b88 !important;
}

body.accomplishments-page .acc-card {
    color: #17365f !important;
    background: rgba(255, 255, 255, .88) !important;
    border-color: rgba(23, 54, 95, .13) !important;
    box-shadow: 0 10px 26px rgba(22, 57, 99, .08);
}

body.accomplishments-page .acc-card:hover {
    border-color: rgba(200, 145, 58, .55) !important;
    box-shadow: 0 16px 34px rgba(22, 57, 99, .14);
}

body.accomplishments-page .acc-card-body h3,
body.accomplishments-page .acc-card-body p {
    color: #17365f !important;
    -webkit-text-fill-color: #17365f !important;
}

body.accomplishments-page .acc-card-body p {
    color: #526b88 !important;
    -webkit-text-fill-color: #526b88 !important;
}

body.accomplishments-page .acc-badge {
    color: #174c8d !important;
    background: rgba(23, 76, 141, .1) !important;
}

body.accomplishments-page .acc-date {
    color: #94651f;
}

@media (max-width: 900px) {
    body.accomplishments-page .acc-feature {
        grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr);
        gap: 22px;
    }

    body.accomplishments-page .acc-category-card {
        padding: 18px 48px 18px 18px;
    }
}

@media (max-width: 680px) {
    body.accomplishments-page .acc-navbar {
        padding: 8px 16px;
    }

    body.accomplishments-page .acc-page {
        padding: 28px 16px 52px;
    }

    body.accomplishments-page .acc-page-title {
        margin-bottom: 28px;
    }

    body.accomplishments-page .acc-feature {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    body.accomplishments-page .acc-feature-photo {
        aspect-ratio: 1.35;
        border-radius: 12px;
    }

    body.accomplishments-page .acc-feature-caption {
        padding: 12px 8px 0;
    }

    body.accomplishments-page .acc-feature-categories {
        gap: 12px;
    }

    body.accomplishments-page .acc-category-card {
        padding: 17px 48px 17px 18px;
    }

    body.accomplishments-page .acc-cat-icon {
        margin-bottom: 7px;
        font-size: 21px;
    }
}

body.landing-page .about-section {
    position: relative;
    isolation: isolate;
    background: transparent !important;
}

body.landing-page .about-slideshow-wrapper {
    margin-top: 18px;
}

@media (min-width: 1025px) {
    body.landing-page .accomplishment-category-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(14px, 2vh, 20px);
    }

    body.landing-page .acc-category-card {
        min-height: 0;
        padding: 20px 56px 20px 22px;
    }
}

body.landing-page .acc-category-card {
    min-height: 0;
    padding: 22px 58px 22px 24px;
    color: #17365f !important;
    background: linear-gradient(105deg, rgba(255, 255, 255, .68), rgba(245, 250, 255, .34)) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(180, 126, 40, .48) !important;
    border-radius: 2px !important;
    box-shadow: 0 10px 24px rgba(18, 55, 108, .12) !important;
    backdrop-filter: blur(3px);
    transition: background-color .3s ease, transform .3s ease, border-color .3s ease;
}

body.landing-page .acc-category-card::before {
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 0;
    width: 3px;
    content: "";
    background: #c8913a;
    transform: scaleY(.55);
    transform-origin: center;
    transition: transform .3s ease;
}

body.landing-page .acc-category-card:hover {
    color: #12376c !important;
    background: linear-gradient(105deg, rgba(255, 255, 255, .88), rgba(248, 251, 255, .58)) !important;
    border-bottom-color: #c8913a !important;
    box-shadow: 0 14px 30px rgba(18, 55, 108, .18) !important;
    transform: translateX(5px);
}

body.landing-page .acc-category-card:hover::before {
    transform: scaleY(1);
}

body.landing-page .acc-cat-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    color: #174c8d !important;
    font-size: 25px;
    line-height: 1;
    transition: color .3s ease, transform .3s ease;
}

body.landing-page .acc-cat-icon svg {
    display: block;
    width: 25px;
    height: 25px;
}

body.landing-page .acc-category-card:hover .acc-cat-icon {
    color: #a36d1f !important;
    transform: translateY(-2px);
}

body.landing-page .acc-cat-title {
    margin-bottom: 7px;
    color: #12376c !important;
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.35;
}

body.landing-page .acc-cat-desc {
    color: #365878 !important;
    font-size: 14px;
    line-height: 1.6;
}

body.landing-page .acc-cat-arrow {
    right: 20px;
    bottom: 50%;
    color: #a36d1f !important;
    font-size: 23px;
    transform: translateY(50%);
    transition: right .3s ease, color .3s ease;
}

body.landing-page .acc-category-card:hover .acc-cat-arrow {
    color: #174c8d !important;
    transform: translate(4px, 50%);
}

@media (max-width: 1024px) {
    body.landing-page .accomplishment-category-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    body.landing-page .acc-category-card {
        padding: 18px 54px 18px 22px;
    }
}

@media (max-width: 600px) {
    body.landing-page .acc-category-card {
        padding: 17px 50px 17px 18px;
    }
}

body.landing-page .about-section::before {
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 50%;
    width: 100vw;
    content: "";
    background-color: #eaf3ff;
    background-image: url("accomplishments-background-full.png");
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transform: translateX(-50%);
}

@media (min-width: 1025px) {
    body.landing-page .about-section {
        height: auto;
        min-height: 56.27vw;
    }

    body.landing-page .about-container {
        transform: translateY(clamp(40px, 4.5vw, 64px));
    }
}

body.landing-page .about-main-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.landing-page .map-section {
    position: relative;
    isolation: isolate;
    height: auto;
    min-height: 56.27vw;
    padding: 0 !important;
    overflow: visible;
    background: transparent !important;
}

body.landing-page .map-section::before {
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 50%;
    width: 100vw;
    content: "";
    background-color: #eaf3ff;
    background-image: url("landing-map-background.png");
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transform: translateX(-50%);
}

body.landing-page .map-container {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
}

body.landing-page .map-main-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.landing-page .map-two-column-layout {
    position: absolute;
    top: 25.5%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 73vw;
    height: 58.5%;
    grid-template-columns: none;
    transform: translateX(-50%);
}

body.landing-page .map-image-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84%;
    max-width: none;
    height: 108%;
    margin: 0;
}

body.landing-page .map-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(13, 48, 91, .18);
}

@media (max-width: 1024px) {
    body.landing-page .map-section {
        min-height: clamp(440px, 70vw, 620px);
    }

    body.landing-page .map-section::before {
        background-size: cover;
    }

    body.landing-page .map-two-column-layout {
        top: 25%;
        width: 78vw;
        height: 59%;
    }

    body.landing-page .map-image-panel {
        width: 92%;
        height: 105%;
    }
}

@media (max-width: 600px) {
    body.landing-page .map-section {
        min-height: clamp(390px, 100vw, 520px);
    }

    body.landing-page .map-two-column-layout {
        top: 25%;
        width: 82vw;
        height: 58%;
    }

    body.landing-page .map-image-panel {
        width: 98%;
        height: 103%;
    }
}
