/* =========================================================
   GLOBAL
========================================================= */

:root {

    --green: #e87500;
    --green-dark: #f39a38;
    --green-light: #eaf6f1;

    --navy: #10243a;
    --navy-light: #18334e;

    --orange: #e87500;
    --orange-light: #f39a38;

    --text: #243447;
    --muted: #718096;

    --white: #ffffff;
    --light: #f5f8f7;

    --border: #e4e9e7;

}

/* =========================================================
   ROUNDED TAB BUTTONS
========================================================= */

.tabs.is-pill {
    border-bottom: none;
    margin-bottom: 30px;
}

.tabs.is-pill ul {
    border-bottom: none;
    gap: 10px;
    flex-wrap: wrap;
}

.tabs.is-pill li {
    margin: 0;
}

.tabs.is-pill li a {
    border: 1px solid #dce7e3;
    border-radius: 30px;
    background: #ffffff;
    color: var(--navy);

    padding: 10px 20px;

    font-size: 13px;
    font-weight: 700;

    min-height: 42px;

    display: flex;
    align-items: center;
    gap: 7px;

    transition: all .25s ease;
}

/* Hover */

.tabs.is-pill li a:hover {
    background: var(--green-light);
    color: var(--green);
    border-color: var(--green);
}

/* Active tab */

.tabs.is-pill li.is-active a {
    background: var(--green);
    border-color: var(--green);
    color: #ffffff;
}

/* Active icon */

.tabs.is-pill li.is-active a .icon {
    color: white;
}

/* Icon */

.tabs.is-pill .icon {
    color: var(--green);
    font-size: 13px;
}


.gallery-loading,
.gallery-empty {

    grid-column: 1 / -1;

    min-height: 250px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    color: #718096;

}

.gallery-loading i,
.gallery-empty i {

    font-size: 35px;

    color: var(--green);

    margin-bottom: 15px;

}

.gallery-loading p,
.gallery-empty p {

    font-size: 13px;

}


.gallery-no-image {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eaf6f1;

    color: var(--green);

    font-size: 40px;

}






html {
    scroll-behavior: smooth;
    scroll-margin-top: 100px;
}

body {

    font-family: 'Inter', sans-serif;

    color: var(--text);

    background: #ffffff;

    line-height: 1.6;

}

.container {

    width: 90%;

    max-width: 1240px;

    margin: auto;

}

a {

    transition: all .25s ease;

}



/* =========================================================
   TOP BAR
========================================================= */

.top-bar {

    background: var(--green-dark);

    color: white;

    font-size: 12px;

}

.top-bar-inner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    min-height: 34px;

}

.top-contact {

    display: flex;

    gap: 28px;

}

.top-contact span {

    display: flex;

    align-items: center;

    gap: 7px;

    opacity: .95;

}

.top-contact i {

    font-size: 11px;

}

.social-icons {

    display: flex;

    gap: 16px;

}

.social-icons a {

    color: white;

    opacity: .9;

}

.social-icons a:hover {

    color: #c7e9dd;

}



/* =========================================================
   NAVBAR
========================================================= */

.main-navbar {

    background: white;

    height: 82px;

    box-shadow: 0 2px 15px rgba(0,0,0,.06);

    position: relative;

    z-index: 100;

}

.logo-area {

    display: flex !important;

    align-items: center;

    gap: 12px;

    padding-left: 0 !important;

}

.municipality-logo {

    width: 58px;

    height: 58px;

    object-fit: contain;

}

.logo-text {

    display: flex;

    flex-direction: column;

    line-height: 1.05;

}

.logo-text strong {

    color: var(--green-dark);

    font-size: 21px;

    letter-spacing: .5px;

}

.logo-text span {

    color: #65747e;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: .4px;

}

.navbar-menu {

    box-shadow: none;

}

.navbar-end {

    height: 82px;

    align-items: center;

}

.navbar-item {

    color: var(--navy) !important;

    font-size: 13px;

    font-weight: 600;

    margin: 0 2px;

    position: relative;

}

.navbar-item:hover {

    color: var(--green) !important;

    background: transparent !important;

}

.navbar-item.active {

    color: var(--green) !important;

}

.navbar-item.active::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 18px;

    right: 18px;

    height: 3px;

    background: var(--green);

}

.search-button {

    font-size: 15px;

}



/* =========================================================
   HERO
========================================================= */

.hero-section {

    min-height: 525px;

    background-image:
        url("../images/municipality.jpg");

    background-size: cover;

    background-position: center;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7,25,38,.86) 0%,
            rgba(7,25,38,.65) 48%,
            rgba(7,25,38,.12) 100%
        );

}

.hero-section::after {

    content: '';

    position: absolute;

    bottom: -70px;

    right: -40px;

    width: 55%;

    height: 130px;

    background: var(--green);

    transform: rotate(-7deg);

    opacity: .95;

}

.hero-container {

    position: relative;

    z-index: 2;

}

.hero-eyebrow {

    color: #dce9e5;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 12px;

}

.hero-title {

    color: white;

    font-size: 55px;

    line-height: 1.08;

    font-weight: 800;

    margin-bottom: 15px;

}

.hero-description {

    color: white;

    font-size: 18px;

    max-width: 580px;

    margin-bottom: 25px;

}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}

.button {

    border-radius: 5px;

    font-weight: 700;

    text-transform: uppercase;

    font-size: 11px;

    height: 42px;

    padding-left: 20px;

    padding-right: 20px;

}

.btn-primary {

    background: var(--green);

    color: white;

    border: 1px solid var(--green);

}

.btn-primary:hover {

    background: var(--green-dark);

    color: white;

}

.btn-outline {

    background: transparent;

    color: white;

    border: 1px solid rgba(255,255,255,.8);

}

.btn-outline:hover {

    background: white;

    color: var(--navy);

}

.hero-secondary-button {

    margin-top: 10px;

}

.hero-floating-card {

    background: white;

    border-radius: 18px;

    padding: 20px;

    max-width: 280px;

    margin-left: auto;

    display: flex;

    gap: 15px;

    align-items: center;

    box-shadow: 0 20px 50px rgba(0,0,0,.25);

}

.floating-icon {

    min-width: 55px;

    height: 55px;

    background: var(--green-light);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--green);

    font-size: 22px;

}



/* =========================================================
   NOTICE
========================================================= */

.notice-section {

    position: relative;

    z-index: 5;

    margin-top: 25px;

}

.latest-notice {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 20px 25px;

    border: 1px solid #d7e8df;

    background: #f1f9f5;

    border-radius: 10px;

}

.notice-icon {

    min-width: 55px;

    height: 55px;

    border-radius: 50%;

    background: white;

    color: var(--green);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

}

.notice-content {

    flex: 1;

}

.notice-content h3 {

    font-size: 17px;

    font-weight: 800;

    color: var(--navy);

    margin-bottom: 2px;

}

.notice-content p {

    font-size: 13px;

    color: var(--muted);

}



/* =========================================================
   BUTTONS
========================================================= */

.btn-green {

    background: var(--green);

    border-color: var(--green);

    color: white;

}

.btn-green:hover {

    background: var(--green-dark);

    color: white;

}

.btn-outline-green {

    background: transparent;

    color: var(--green);

    border: 1px solid var(--green);

}

.btn-outline-green:hover {

    background: var(--green);

    color: white;

}

.btn-outline-white {

    color: white;

    border: 1px solid rgba(255,255,255,.7);

    background: transparent;

}

.btn-outline-white:hover {

    background: white;

    color: var(--green-dark);

}

.center-button {

    text-align: center;

    margin-top: 28px;

}



/* =========================================================
   MAYOR
========================================================= */

.mayor-section {

    padding: 65px 0;

}

.mayor-image-wrapper {

    position: relative;

    border-radius: 7px;

    overflow: hidden;

}

.mayor-image-wrapper img {

    width: 100%;

    display: block;

    position: relative;

    z-index: 2;

}

.image-accent {

    position: absolute;

    bottom: 0;

    right: 0;

    width: 70%;

    height: 15px;

    background: var(--green);

    z-index: 3;

}

.section-label {

    color: var(--green);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 5px;

}

.mayor-title {

    font-size: 35px;

    color: var(--navy);

    font-weight: 800;

    margin-bottom: 14px;
    text-align: start !important;

}

.mayor-section p {

    color: #667686;

    font-size: 14px;

    margin-bottom: 14px;

}

.mayor-lead {

    font-size: 16px !important;

    color: #526474 !important;

}



/* =========================================================
   NEWS
========================================================= */

.news-section {

    padding: 65px 0;

    background: #f7faf9;

}

.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 28px;

}

.section-heading > div {

    display: flex;

    align-items: center;

    gap: 12px;

}

.section-heading h2 {

    color: var(--navy);

    font-size: 26px;

    font-weight: 800;

}

.heading-line {

    width: 5px;

    height: 25px;

    display: inline-block;

    background: var(--green);

    border-radius: 5px;

}

.view-all {

    color: var(--green);

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

}

.view-all i {

    margin-left: 5px;

}

.news-card {

    background: white;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 8px 30px rgba(25,50,60,.07);

    height: 100%;

    transition: transform .25s ease, box-shadow .25s ease;

}

.news-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 40px rgba(25,50,60,.12);

}

.news-image {

    position: relative;

    height: 220px;

    overflow: hidden;

}

.news-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.news-category {

    position: absolute;

    bottom: 12px;

    left: 12px;

    background: var(--green);

    color: white;

    padding: 5px 10px;

    font-size: 10px;

    font-weight: 800;

    border-radius: 4px;

}

.news-body {

    padding: 20px;

    position: relative;

    min-height: 185px;

}

.news-date {

    color: #81908d;

    font-size: 11px;

    margin-bottom: 8px;

}

.news-date i {

    margin-right: 5px;

    color: var(--green);

}

.news-body h3 {

    color: var(--navy);

    font-size: 16px;

    line-height: 1.4;

    font-weight: 800;

    padding-right: 35px;

}

.news-meta {

    color: #7a8988;

    font-size: 11px;

    margin-top: 15px;

}

.news-meta i {

    color: var(--green);

    margin-right: 5px;

}

.round-arrow {

    width: 32px;

    height: 32px;

    border: 1px solid #7dc0a9;

    color: var(--green);

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    position: absolute;

    right: 18px;

    bottom: 18px;

    font-size: 12px;

}

.round-arrow:hover {

    background: var(--green);

    color: white;

}



/* =========================================================
   PUBLIC NOTICES
========================================================= */

.public-notices {

    padding: 65px 0;

    position: relative;

    background-image:
        url("../../images/municipality.jpg");

    background-size: cover;

    background-position: center;

    overflow: hidden;

}

.notices-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(89, 59, 5, 0.91),
            rgba(99, 68, 7, 0.82)
        );

}

.public-notices .container {

    position: relative;

    z-index: 2;

}

.light-heading h2 {

    color: white;

}

.light-heading .view-all {

    color: white;

}

.notice-card {

    background: white;

    border-radius: 8px;

    padding: 28px;

    min-height: 230px;

    box-shadow: 0 15px 30px rgba(0,0,0,.1);

}

.notice-card-icon {

    width: 48px;

    height: 48px;

    background: var(--green-light);

    color: var(--green);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

}

.notice-card h3 {

    font-size: 15px;

    color: var(--navy);

    font-weight: 800;

    line-height: 1.4;

    min-height: 45px;

}

.notice-card p {

    color: #87918f;

    font-size: 11px;

    margin: 12px 0 18px;

}

.notice-card .button {

    text-transform: uppercase;

}



/* =========================================================
   EVENTS + GALLERY
========================================================= */

.events-gallery {

    padding: 65px 0;

}

.simple-heading {

    margin-bottom: 20px;

}

.simple-heading h2 {

    font-size: 22px;

}

.simple-heading h2 i {

    color: var(--green);

    margin-right: 8px;

}

.event-list {

    display: flex;

    flex-direction: column;

    gap: 9px;

}

.event-item {

    display: flex;

    min-height: 70px;

    border-radius: 5px;

    overflow: hidden;

    box-shadow: 0 3px 12px rgba(0,0,0,.08);

    background: white;

}

.event-date {

    width: 78px;

    background: var(--green);

    color: white;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    line-height: 1;

}

.event-date strong {

    font-size: 20px;

}

.event-date span {

    font-size: 11px;

    margin-top: 5px;

    font-weight: 700;

}

.event-content {

    padding: 12px 18px;

}

.event-content h3 {

    font-size: 13px;

    color: var(--navy);

    font-weight: 800;

}

.event-content p {

    font-size: 11px;

    color: #7a8988;

}

.gallery-container {

    position: relative;

    height: 310px;

    border-radius: 6px;

    overflow: hidden;

}

.gallery-container img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.gallery-caption {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    background: linear-gradient(
        transparent,
        rgba(0,0,0,.85)
    );

    color: white;

    padding: 50px 20px 20px;

    display: flex;

    flex-direction: column;

}

.gallery-caption strong {

    font-size: 13px;

}

.gallery-caption span {

    font-size: 11px;

    opacity: .8;

}

.gallery-next {

    position: absolute;

    right: 15px;

    top: 50%;

    transform: translateY(-50%);

    width: 40px;

    height: 40px;

    border-radius: 50%;

    border: 0;

    background: rgba(255,255,255,.9);

    color: var(--green);

    cursor: pointer;

}

.gallery-dots {

    display: flex;

    justify-content: center;

    gap: 7px;

    margin-top: 12px;

}

.gallery-dots span {

    width: 8px;

    height: 8px;

    background: #ccd7d4;

    border-radius: 50%;

}

.gallery-dots span.active {

    background: var(--green);

}



/* =========================================================
   FOOTER
========================================================= */

.footer-section {

    background: var(--navy);

    color: #c7d0d8;

    padding: 55px 0 0;

    position: relative;

    overflow: hidden;

}

.footer-section::after {

    content: '';

    position: absolute;

    right: -60px;

    bottom: -50px;

    width: 220px;

    height: 120px;

    background: var(--green);

    transform: rotate(-15deg);

}

.footer-brand {

    display: flex;

    align-items: center;

    gap: 12px;

}

.footer-brand img {

    width: 55px;

}

.footer-brand div {

    display: flex;

    flex-direction: column;

    line-height: 1.1;

}

.footer-brand strong {

    color: white;

    font-size: 17px;

}

.footer-brand span {

    color: #9fadb8;

    font-size: 10px;

    font-weight: 700;

}

.footer-tagline {

    margin-top: 15px;

    font-size: 12px;

}

.footer-title {

    color: white;

    font-size: 13px;

    font-weight: 800;

    margin-bottom: 15px;

}

.map-box {

    background: white;

    padding: 4px;

    width: 100%;

    max-width: 220px;

}

.map-box img {

    width: 100%;

    display: block;

}

.map-link {

    display: inline-block;

    margin-top: 7px;

    color: #b6c7d0;

    font-size: 10px;

}

.map-link:hover {

    color: white;

}

.footer-links {

    list-style: none;

    padding: 0;

}

.footer-links li {

    margin-bottom: 8px;

}

.footer-links a {

    color: #abb8c0;

    font-size: 11px;

}

.footer-links a:hover {

    color: white;

    padding-left: 3px;

}

.footer-social {

    display: flex;

    gap: 10px;

    margin-top: 20px;

}

.footer-social a {

    width: 30px;

    height: 30px;

    border-radius: 50%;

    background: white;

    color: var(--navy);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;

}

.footer-social-links {

    list-style: none;

}

.footer-social-links li {

    margin-bottom: 10px;

}

.footer-social-links a {

    color: #abb8c0;

    font-size: 11px;

}

.footer-social-links i {

    width: 20px;

}

.footer-bottom {

    border-top: 1px solid rgba(255,255,255,.12);

    margin-top: 45px;

    padding: 18px 0;

    display: flex;

    justify-content: space-between;

    font-size: 10px;

    color: #81909b;

    position: relative;

    z-index: 3;

}

.footer-bottom div {

    display: flex;

    gap: 10px;

}

.footer-bottom a {

    color: #9ba8b2;

}

.footer-bottom a:hover {

    color: white;

}



/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 1023px) {

    .navbar-menu {

        display: none;

        background: white;

        box-shadow: 0 10px 20px rgba(0,0,0,.1);

    }

    .navbar-menu.is-active {

        display: block;

    }

    .navbar-end {

        height: auto;

        padding: 10px 0;

    }

    .navbar-item {

        padding: 13px 20px;

    }

    .navbar-item.active::after {

        display: none;

    }

    .top-contact span:nth-child(2),
    .top-contact span:nth-child(3) {

        display: none;

    }

    .hero-floating-card {

        display: none;

    }

}



/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 768px) {

    .container {

        width: 92%;

    }

    .top-bar {

        display: none;

    }

    .main-navbar {

        height: 72px;

    }

    .municipality-logo {

        width: 48px;

        height: 48px;

    }

    .logo-text strong {

        font-size: 18px;

    }

    .logo-text span {

        font-size: 10px;

    }

    .hero-section {

        min-height: 560px;

    }

    .hero-title {

        font-size: 40px;

    }

    .hero-description {

        font-size: 15px;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;

    }

    .hero-buttons .button {

        width: auto;

    }

    .latest-notice {

        align-items: flex-start;

        flex-wrap: wrap;

    }

    .notice-action {

        width: 100%;

        margin-left: 73px;

    }

    .notice-action .button {

        width: auto;

    }

    .mayor-section {

        padding: 45px 0;

    }

    .mayor-title {

        font-size: 28px;
        text-align: start !important;

    }

    .section-heading {

        align-items: flex-start;

        gap: 15px;

    }

    .section-heading h2 {

        font-size: 21px;

    }

    .section-heading .view-all {

        font-size: 10px;

    }

    .footer-bottom {

        flex-direction: column;

        gap: 10px;

    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 480px) {

    .hero-title {

        font-size: 34px;

    }

    .hero-eyebrow {

        font-size: 10px;

        letter-spacing: 2px;

    }

    .hero-secondary-button .button {

        height: auto;

        min-height: 42px;

        white-space: normal;

        text-align: left;

    }

    .latest-notice {

        padding: 18px;

    }

    .notice-icon {

        min-width: 45px;

        height: 45px;

    }

    .notice-content h3 {

        font-size: 15px;

    }

    .notice-content p {

        font-size: 11px;

    }

    .notice-action {

        margin-left: 0;

    }

    .notice-action .button {

        width: 100%;

    }

    .news-image {

        height: 200px;

    }

    .gallery-container {

        height: 250px;

    }

    .footer-section {

        padding-top: 40px;

    }

}