
/* ==========================================================
   MOLEMOLE LOCAL MUNICIPALITY
   COMPLETE WEBSITE CSS
   Navy Blue | Gold | Orange
========================================================== */


/* ==========================================================
   1. ROOT VARIABLES AND RESET
========================================================== */

:root {
    --navy: #101d36;
    --navy-light: #1d3152;
    --navy-dark: #091426;

    --gold: #F0CF1A;
    --orange: #ED900F;
    --green: #59e800;

    --white: #ffffff;
    --light: #f4f5f7;
    --grey: #666666;
    --dark: #222222;
    --border: #e5e5e5;

    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.15);

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}

section {
    width: 100%;
}

.container {
    width: 86%;
    max-width: 1200px;
    margin: 0 auto;
}



/* ==========================================================
   2. WEBSITE HEADER - COMPACT TOP BAR
========================================================== */

.top-header {
    height: 120px;
    min-height:120px;
    padding: 5px 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    background:
    radial-gradient(circle at 8% 30%, rgba(237, 114, 0, 0.30) 0 22px, transparent 23px),
    radial-gradient(circle at 20% 85%, rgba(22, 132, 67, 0.27) 0 18px, transparent 19px),
    radial-gradient(circle at 35% 10%, rgba(237, 114, 0, 0.22) 0 16px, transparent 17px),
    radial-gradient(circle at 52% 90%, rgba(22, 132, 67, 0.25) 0 23px, transparent 24px),
    radial-gradient(circle at 70% 15%, rgba(237, 114, 0, 0.25) 0 20px, transparent 21px),
    radial-gradient(circle at 85% 85%, rgba(22, 132, 67, 0.28) 0 19px, transparent 20px),
    radial-gradient(circle at 96% 25%, rgba(237, 114, 0, 0.30) 0 25px, transparent 26px),
    #f3f5f1;

    border-bottom: 2px solid var(--orange);

    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Municipality logo */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
}

.logo-text h2 {
    color: var(--navy);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.logo-text h3 {
    color: var(--orange);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
}

.logo-text small {
    color: var(--grey);
    font-size: 9px;
}
.logo-area img,
.logo-link img {
    width: 150px !important;
    height: 150px !important;
    max-width: 150px !important;
    object-fit: contain;
}

/* Municipality motto */

.motto {
    text-align: center;
}

.motto h2 {
    font-family: cursive;
    color: var(--orange);
    font-size: 19px;
    margin: 0;
}

.motto p {
    color: var(--navy);
    font-size: 10px;
    font-weight: 700;
    margin: 0;
}

/* Header right section */

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

/* Search box */

.search-box {
    display: flex;
    height: 32px;
}

.search-box input {
    width: 155px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    outline: none;
    font-size: 11px;
}

.search-box input:focus {
    border-color: var(--gold);
}

.search-box button {
    width: 38px;
    border: none;
    background: var(--orange);
    color: var(--white);
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--gold);
}

/* Social media icons */

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.social-icons a {
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--orange);
    transform: translateY(-3px);
}

/* Emergency contact */

.emergency-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 5px;
    font-size: 10px;
}

.emergency-btn i {
    font-size: 18px;
}

.emergency-btn strong {
    display: block;
    font-size: 12px;
}


/* ==========================================================
   3. NAVIGATION BAR
========================================================== */

.navbar {
    position: relative;
    z-index: 9999;

    min-height: 50px;
    padding: 0 7%;

    background: var(--orange);
    overflow: visible;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;

    list-style: none;
    overflow: visible;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 15px 16px;

    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;

    transition: var(--transition);
}

.nav-links > li > a i {
    font-size: 14px;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    background: var(--gold);
    color: var(--orange)
}

/* Dropdown parent */

.nav-links > li.has-dropdown {
    position: relative;
}

/* Dropdown arrow */

.nav-links .arrow {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.nav-links > li.has-dropdown:hover > a .arrow,
.nav-links > li.has-dropdown:focus-within > a .arrow,
.nav-links > li.has-dropdown.open > a .arrow {
    transform: rotate(180deg);
}

/* Dropdown menu */

.nav-links > li.has-dropdown > .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10000;

    display: block;

    width: 260px;
    min-width: 250px;

    padding: 8px 0;
    margin: 0;

    background: var(--white);
    border-top: 3px solid var(--gold);
    border-radius: 0 0 6px 6px;

    box-shadow: var(--shadow-hover);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

/* Show dropdown on hover and keyboard focus */

.nav-links > li.has-dropdown:hover > .dropdown-menu,
.nav-links > li.has-dropdown:focus-within > .dropdown-menu,
.nav-links > li.has-dropdown.open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Dropdown links */

.nav-links .dropdown-menu li {
    display: block;
    width: 100%;
}

.nav-links .dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    padding: 12px 18px;

    color: var(--dark);
    background: var(--white);

    font-size: 13px;
    font-weight: 500;

    transition: var(--transition);
}

.nav-links .dropdown-menu li a i {
    width: 20px;
    color: var(--green);
    text-align: center;
}

.nav-links .dropdown-menu li a:hover {
    padding-left: 25px;
    color: var(--green);
    background: #edf7ef;
}

/* Mobile navigation button */

.menu-toggle {
    display: none;

    padding: 8px;

    border: none;
    background: transparent;
    color: var(--white);

    font-size: 24px;
}


/* ==========================================================
   4. HERO IMAGE SLIDER
========================================================== */

.hero {
    position: relative;

    width: 100%;
    height: 560px;
    min-height: 500px;

    padding: 0;
    overflow: hidden;

    background: var(--navy);
    color: var(--white);
}

/* Slides wrapper */

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual slide */

.hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

/* Active slide */

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

/* Slide image */

.hero-slide > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1);
    transition: transform 6s ease;
}

.hero-slide.active > img {
    animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.12);
    }
}

/* Dark overlay */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(5, 13, 29, 0.90) 0%,
        rgba(5, 13, 29, 0.65) 45%,
        rgba(5, 13, 29, 0.20) 100%
    );
}

/* Hero content */

.hero-content {
    position: absolute;
    top: 50%;
    left: 9%;

    z-index: 2;

    width: 82%;
    max-width: 700px;

    transform: translateY(-50%);
}

.hero-content h1 {
    color: var(--white);

    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.25;
}

.hero-content h1 span {
    display: block;
    color: var(--gold);
}

.hero-content p {
    margin-top: 15px;

    color: var(--white);
    font-size: 16px;
}

/* Hero buttons */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 25px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 20px;

    border-radius: 4px;

    font-size: 12px;
    font-weight: 600;

    transition: var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

/* Image caption */

.hero-caption {
    position: absolute;
    right: 7%;
    bottom: 35px;

    z-index: 3;

    color: var(--white);
    text-align: right;
}

.hero-caption h3 {
    color: var(--gold);
    font-size: 16px;
}

.hero-caption p {
    font-size: 11px;
}

/* Previous and next arrows */

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;

    background: rgba(16, 29, 54, 0.65);
    color: var(--white);

    font-size: 17px;

    transform: translateY(-50%);
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.slider-arrow.prev {
    left: 25px;
}

.slider-arrow.next {
    right: 25px;
}

/* Slider dots */

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 25px;

    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    transform: translateX(-50%);
}

.slider-dot {
    width: 11px;
    height: 11px;

    padding: 0;

    border: 2px solid var(--white);
    border-radius: 50%;

    background: transparent;

    transition: var(--transition);
}

.slider-dot.active {
    width: 28px;

    border-color: var(--gold);
    border-radius: 10px;

    background: var(--gold);
}


/* ==========================================================
   5. SECTION HEADINGS
========================================================== */

.section-heading {
    margin-bottom: 40px;
    text-align: center;
}

.section-heading span,
.section-label {
    color: var(--orange);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 8px 0;

    color: var(--navy);
    font-size: clamp(23px, 3vw, 32px);
    font-weight: 700;
}

.section-heading p {
    color: var(--grey);
    font-size: 13px;
}


/* ==========================================================
   6. ABOUT MOLEMOLE SECTION
========================================================== */

.about-section {
    padding: 70px 7%;
    background: #f8f9fb;
}

/* Mayor's message layout */

.mayor-section {
    display: grid;
    grid-template-columns: 35% 65%;

    margin-bottom: 50px;

    overflow: hidden;

    background: var(--white);
    border-radius: 10px;

    box-shadow: var(--shadow);
}

/* Mayor photograph */

.mayor-image {
    min-height: 330px;
    background: #e8eaf0;
}

.mayor-image img {
    width: 100%;
    height: 100%;
    min-height: 330px;

    object-fit: cover;
    object-position: center top;
}

/* Mayor content */

.mayor-content {
    padding: 35px;
}

.mayor-content h2 {
    margin: 12px 0 18px;

    color: var(--navy);
    font-size: 24px;
}

.mayor-content p {
    margin-bottom: 15px;

    color: var(--grey);
    font-size: 13px;
    line-height: 1.9;
}

.mayor-content h3 {
    margin-top: 20px;

    color: var(--navy);
    font-size: 17px;
}

.mayor-content > span:last-child {
    color: var(--orange);
    font-size: 12px;
}


/* =========================================
   VISION, MISSION & CORE VALUES SECTION
========================================= */

.vmv-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;

    width: 100%;
    max-width: 1450px;
    margin: 30px auto;
    padding: 0 12px;

    box-sizing: border-box;
}

/* =========================================
   VMV CARDS
========================================= */

.vmv-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;

    padding: 22px 28px;

    background: var(--white);

    /* Gold border around the entire card */
    border: 2px solid var(--gold);
    border-radius: 10px;

    box-shadow: var(--shadow);
    text-align: center;

    transition: all 0.3s ease;
}

/* =========================================
   CARD HOVER EFFECT
========================================= */

.vmv-card:hover {
    transform: translateY(-4px);

    /* Keep the card white */
    background: var(--white);

    /* Subtle green border on hover */
    border-color: #59e800;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* =========================================
   VMV ICONS
========================================= */

.vmv-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 65px;
    height: 65px;

    margin: 0 auto 12px;

    background: #fff3d6;
    color: var(--orange);

    border-radius: 50%;
    font-size: 27px;

    transition: all 0.3s ease;
}

.vmv-card:hover .vmv-icon {
    background: #59e800;
    color: #ffffff;
}

/* =========================================
   CARD HEADINGS
========================================= */

.vmv-card h3 {
    margin-top: 0;
    margin-bottom: 10px;

    color: var(--navy);
    font-size: 21px;
    font-weight: 700;

    transition: color 0.3s ease;
}

/* =========================================
   CARD TEXT
========================================= */

.vmv-card p,
.vmv-card ul {
    color: var(--grey);
    font-size: 14px;
    line-height: 1.7;

    margin-top: 0;
    margin-bottom: 0;
}

.vmv-card ul {
    padding-left: 22px;
    text-align: left;
}

.vmv-card ul li {
    margin-bottom: 5px;
}

/* =========================================
   RESPONSIVE DESIGN - TABLETS
========================================= */

@media screen and (max-width: 950px) {
    .vmv-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* =========================================
   RESPONSIVE DESIGN - MOBILE
========================================= */

@media screen and (max-width: 600px) {
    .vmv-section {
        grid-template-columns: 1fr;
        gap: 15px;

        padding: 0 10px;
        margin: 20px auto;
    }

    .vmv-card {
        padding: 20px 22px;
    }

    .vmv-icon {
        width: 58px;
        height: 58px;
        font-size: 24px;
    }

    .vmv-card h3 {
        font-size: 19px;
    }

    .vmv-card p,
    .vmv-card ul {
        font-size: 13px;
    }
}

/* =====================================================
   MOLEMOLE MUNICIPALITY
   MODERN ABOUT SECTION
   Colours: Navy, Gold, Orange and Soft Grey
===================================================== */

.about-section {
    position: relative;
    padding: 75px 6% 85px;
    margin: 0;
    overflow: hidden;

    /* Reduce the large white background */
    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(230, 160, 0, 0.10),
            transparent 30%
        ),
        linear-gradient(135deg, #e9edf2 0%, #f1eee7 100%);
}

/* Decorative gold accent */
.about-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        90deg,
        #ed7200,
        #e6a000,
        #101d36
    );
}

.about-section .section-heading {
    position: relative;
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.about-section .section-heading span {
    display: inline-block;
    color: #c47700;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.about-section .section-heading h2 {
    color: #101d36;
    font-size: clamp(28px, 4vw, 39px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 15px;
}

.about-section .section-heading p {
    color: #626b78;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.about-section .section-heading::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin: 22px auto 0;
    border-radius: 5px;
    background: #ed7200;
}

/* =====================================================
   MAYOR SECTION LAYOUT
===================================================== */

.about-section .mayor-section {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 35px;
    align-items: stretch;
}

/* =====================================================
   MAYOR PROFILE CARD
===================================================== */

.about-section .mayor-image {
    position: relative;
    background: #101d36;
    border-radius: 18px;
    overflow: hidden;
    border: none;
    border-bottom: 5px solid #e6a000;

    box-shadow: 0 15px 40px rgba(16, 29, 54, 0.16);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.about-section .mayor-image:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 45px rgba(16, 29, 54, 0.22);
}

.about-section .mayor-photo {
    position: relative;
    width: 100%;
    height: 390px;
    overflow: hidden;
    background: #dce2e9;
}

.about-section .mayor-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.about-section .mayor-image:hover .mayor-photo img {
    transform: scale(1.04);
}

/* Mayor details */
.about-section .mayor-details {
    position: relative;
    text-align: center;
    padding: 25px 18px 28px;
    background: linear-gradient(
        145deg,
        #172b49,
        #101d36
    );
}

.about-section .mayor-position {
    display: inline-block;
    color: #101d36;
    background: #ffd02e;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;

    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.about-section .mayor-details h3 {
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

/* =====================================================
   MAYOR'S MESSAGE CARD
===================================================== */

.about-section .mayor-content {
    position: relative;
    padding: 42px 45px;

    background: linear-gradient(
        145deg,
        #f8f6ef,
        #e9edf2
    );

    border-radius: 18px;
    border: 1px solid rgba(16, 29, 54, 0.08);

    box-shadow: 0 12px 35px rgba(16, 29, 54, 0.08);
}

.about-section .section-label {
    display: inline-block;
    color: #c47700;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.about-section .mayor-content h2 {
    color: #101d36;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 23px;
}

.about-section .mayor-content p {
    color: #515c6b;
    font-size: 15px;
    line-height: 2;
    margin: 0 0 18px;
}

/* =====================================================
   MAYOR SIGNATURE
===================================================== */

.about-section .mayor-signature {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;

    margin-top: 30px;
    padding: 18px 22px;

    background: rgba(230, 160, 0, 0.10);
    border-left: 4px solid #ed7200;
    border-radius: 0 10px 10px 0;
}

.about-section .mayor-signature span {
    color: #6c7480;
    font-size: 13px;
}

.about-section .mayor-signature strong {
    color: #101d36;
    font-size: 18px;
    font-weight: 800;
}

.about-section .mayor-signature small {
    color: #c47700;
    font-size: 12px;
    font-weight: 700;
}

/* =====================================================
   TABLET RESPONSIVENESS
===================================================== */

@media (max-width: 900px) {

    .about-section {
        padding: 60px 5%;
    }

    .about-section .mayor-section {
        grid-template-columns: 290px minmax(0, 1fr);
        gap: 22px;
    }

    .about-section .mayor-photo {
        height: 340px;
    }

    .about-section .mayor-content {
        padding: 30px 25px;
    }

}

/* =====================================================
   MOBILE RESPONSIVENESS
===================================================== */

@media (max-width: 700px) {

    .about-section {
        padding: 48px 5% 55px;
    }

    .about-section .section-heading {
        margin-bottom: 30px;
    }

    .about-section .section-heading p {
        font-size: 14px;
    }

    .about-section .mayor-section {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .about-section .mayor-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .about-section .mayor-photo {
        height: 350px;
    }

    .about-section .mayor-content {
        padding: 28px 22px;
    }

    .about-section .mayor-content h2 {
        font-size: 25px;
    }

    .about-section .mayor-content p {
        font-size: 14px;
        line-height: 1.9;
    }

}

/* =====================================================
   SMALL MOBILE SCREENS
===================================================== */

@media (max-width: 380px) {

    .about-section .mayor-photo {
        height: 290px;
    }

    .about-section .mayor-content {
        padding: 23px 17px;
    }

    .about-section .mayor-details h3 {
        font-size: 18px;
    }

}

/* =========================================
   PUBLIC NOTICES SECTION
========================================= */

.public-notices-section {
    width: 100%;
    padding: 65px 4%;
    background: #f7f9fc;
    box-sizing: border-box;
    overflow: hidden;
}

/* =========================================
   SECTION HEADING
========================================= */

.public-notices-section .section-heading {
    text-align: center;
    margin: 0 auto 40px;
}

.public-notices-section .section-heading span {
    display: inline-block;
    color: #59e800;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.public-notices-section .section-heading h2 {
    color: var(--navy);
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 12px;
}

.public-notices-section .section-heading p {
    color: var(--grey);
    font-size: 15px;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

/* =========================================
   NOTICES CAROUSEL
========================================= */

.notices-carousel {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    overflow: hidden;
}

.notices-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: 100%;

    transition: transform 0.65s ease;
    will-change: transform;
}

/* =========================================
   NOTICE CARDS
========================================= */

.notice-card {
    flex: 0 0 calc((100% - 54px) / 4);
    min-width: 0;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    padding: 22px 21px;
    background: #ffffff;

    border: 1px solid #e5e9ef;
    border-top: 4px solid #59e800;
    border-radius: 12px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);

    transition: all 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-6px);
    border-top-color: #d99a16;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* =========================================
   POSTED DATE
========================================= */

.notice-date {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;
    padding-bottom: 12px;

    border-bottom: 1px solid #e9edf2;

    color: #687385;
    font-size: 12px;
    font-weight: 600;
}

.notice-date i {
    color: #59e800;
    font-size: 14px;
}

/* =========================================
   NOTICE ICON
========================================= */

.notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 17px;

    border-radius: 12px;
    background: #eaf5ee;

    color: #59e800;
    font-size: 21px;

    transition: all 0.3s ease;
}

.notice-card:hover .notice-icon {
    background: #ED900F;
    color: #ffffff;
    transform: scale(1.05);
}

/* =========================================
   NOTICE CATEGORY
========================================= */

.notice-category {
    display: block;

    color: #59e800;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;

    margin-bottom: 9px;
}

/* =========================================
   NOTICE TITLE
========================================= */

.notice-card h3 {
    color: var(--navy);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;

    margin: 0 0 11px;
}

/* =========================================
   NOTICE DESCRIPTION
========================================= */

.notice-card p {
    color: #687385;
    font-size: 13px;
    line-height: 1.8;

    margin: 0 0 20px;
}

/* =========================================
   READ NOTICE LINK
========================================= */

.notice-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: auto;
    padding-top: 14px;

    color: #59e800;
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    border-top: 1px solid #e9edf2;

    transition: all 0.3s ease;
}

.notice-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.notice-link:hover {
    color: #d99a16;
}

.notice-link:hover i {
    transform: translateX(5px);
}

/* =========================================
   SLIDESHOW CONTROLS
========================================= */

.notices-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    margin-top: 30px;
}

/* PREVIOUS AND NEXT ARROWS */

.notice-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: #59e800;
    color: #ffffff;

    font-size: 14px;
    cursor: pointer;

    transition: all 0.3s ease;
}

.notice-arrow:hover:not(:disabled) {
    background: #d99a16;
    transform: scale(1.08);
}

.notice-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* SLIDESHOW DOTS */

.notice-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.notice-dot {
    width: 9px;
    height: 9px;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: #cbd2d9;
    cursor: pointer;

    transition: all 0.3s ease;
}

.notice-dot.active {
    width: 25px;
    border-radius: 10px;
    background: #ED900F;
}

/* =========================================
   NO PUBLIC NOTICES MESSAGE
========================================= */

.no-notices {
    width: 100%;
    box-sizing: border-box;

    padding: 40px 20px;
    text-align: center;

    color: #687385;
}

.no-notices i {
    display: block;
    color: #0b6538;
    font-size: 32px;
    margin-bottom: 15px;
}

.no-notices h3 {
    color: var(--navy);
    font-size: 20px;
    margin: 0 0 10px;
}

.no-notices p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media screen and (max-width: 1000px) {

    .public-notices-section {
        padding: 55px 3%;
    }

    .notice-card {
        flex-basis: calc((100% - 18px) / 2);
    }

}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media screen and (max-width: 600px) {

    .public-notices-section {
        padding: 45px 18px;
    }

    .public-notices-section .section-heading {
        margin-bottom: 28px;
    }

    .public-notices-section .section-heading h2 {
        font-size: 27px;
    }

    .public-notices-section .section-heading p {
        font-size: 13px;
    }

    .notices-track {
        gap: 14px;
    }

    .notice-card {
        flex-basis: 100%;
        padding: 22px;
    }

    .notice-card h3 {
        font-size: 18px;
    }

    .notice-card p {
        font-size: 13px;
    }

    .notices-controls {
        margin-top: 24px;
        gap: 18px;
    }

    .notice-arrow {
        width: 38px;
        height: 38px;
    }

}

/* =========================================
   SMALL MOBILE SCREENS
========================================= */

@media screen and (max-width: 380px) {

    .public-notices-section {
        padding: 35px 12px;
    }

    .notice-card {
        padding: 18px;
    }

    .public-notices-section .section-heading h2 {
        font-size: 24px;
    }

}




/* =====================================================
   MOLEMOLE MUNICIPALITY
   FOUR-COLUMN HORIZONTAL FOOTER
===================================================== */

/* MAIN FOOTER */
.premium-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #ffffff;
    background: linear-gradient(110deg, #ed7200, #c94c00);
    position: relative;
    box-sizing: border-box;
}

.premium-footer *,
.premium-footer *::before,
.premium-footer *::after {
    box-sizing: border-box;
}

.footer-main {
    width: 100%;
    padding: 28px 0 22px;
}

.footer-container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
}

/* =====================================================
   FOUR COLUMNS - QUICK LINKS, DATE, ARCHIVES, WEATHER
===================================================== */

.premium-footer .footer-four-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: start;
    gap: 22px;
    width: 100%;
}

.premium-footer .footer-four-grid > .footer-column {
    display: block;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 14px;
    border-right: 1px solid rgba(255,255,255,0.35);
}

.premium-footer .footer-four-grid > .footer-column:first-child {
    padding-left: 0;
}

.premium-footer .footer-four-grid > .footer-column:last-child {
    padding-right: 0;
    border-right: none;
}

/* COLUMN HEADINGS */
.premium-footer .footer-title {
    color: #ffd02e;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 10px;
}

.premium-footer .footer-title i {
    color: #ffd02e;
    margin-right: 7px;
}

.premium-footer .footer-heading-line {
    width: 45px;
    height: 4px;
    background: #ffd02e;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* =====================================================
   QUICK LINKS AND ARCHIVES LINKS
===================================================== */

.premium-footer .footer-links {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.premium-footer .footer-links li {
    display: block;
    margin: 0 0 9px;
    padding: 0;
}

.premium-footer .footer-links a {
    display: block;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.7;
    text-decoration: none;
    transition: 0.3s ease;
}

.premium-footer .footer-links a:hover {
    color: #ffd02e;
    padding-left: 6px;
}

.premium-footer .footer-links a i {
    color: #ffd02e;
    margin-right: 6px;
}

/* =====================================================
   TODAY'S DATE AND LIVE CLOCK
===================================================== */

.premium-footer .footer-date-time {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.premium-footer .footer-today-date {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
}

.premium-footer .footer-current-time {
    color: #ffe08a;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

/* =====================================================
   WEATHER
===================================================== */

.premium-footer #footerWeather {
    width: 100%;
    min-width: 0;
    color: #ffffff;
    font-size: 12px;
}

.premium-footer .weather-current {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.premium-footer .weather-temperature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-footer .weather-temperature i {
    color: #ffdf79;
    font-size: 27px;
}

.premium-footer .weather-temperature strong {
    color: #ffffff;
    font-size: 25px;
    font-weight: 800;
}

.premium-footer .weather-description {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.premium-footer .weather-description strong {
    color: #ffffff;
    font-size: 12px;
}

.premium-footer .weather-description span {
    color: #ffe8d2;
    font-size: 10px;
}

.premium-footer .weather-details {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 12px;
    color: #fff4e8;
    font-size: 11px;
}

.premium-footer .weather-details i {
    color: #ffdf79;
    margin-right: 5px;
}

.premium-footer .forecast-heading {
    color: #ffffff;
    font-size: 12px;
    margin: 10px 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.25);
}

.premium-footer .weather-forecast {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
}

.premium-footer .forecast-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    padding: 8px 3px;
    background: rgba(255,255,255,0.12);
    border-radius: 5px;
}

.premium-footer .forecast-day span {
    color: #ffffff;
    font-size: 9px;
    text-align: center;
}

.premium-footer .forecast-day i {
    color: #ffdf79;
    font-size: 16px;
}

.premium-footer .forecast-day strong {
    color: #ffffff;
    font-size: 12px;
}

.premium-footer .forecast-day small {
    color: #ffe8d2;
    font-size: 9px;
}

.premium-footer .weather-credit {
    display: block;
    color: #ffe8d2;
    font-size: 9px;
    margin-top: 10px;
}

.premium-footer .weather-loading,
.premium-footer .weather-error {
    color: #ffffff;
    font-size: 12px;
}

/* =====================================================
   FOOTER GOLD LINE
===================================================== */

.premium-footer .footer-gold-line {
    width: 100%;
    height: 4px;
    background: #e6a000;
}

/* =====================================================
   COPYRIGHT
===================================================== */

.premium-footer .footer-bottom {
    width: 100%;
    padding: 13px 4%;
    background: #59e800;
    color: #ffffff;
    text-align: center;
}

.premium-footer .footer-bottom p {
    color: #ffffff;
    font-size: 11px;
    margin: 0;
}

/* =====================================================
   TABLET - TWO COLUMNS
===================================================== */

@media (max-width: 900px) {

    .premium-footer .footer-four-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 25px 18px;
    }

    .premium-footer .footer-four-grid > .footer-column {
        padding: 0 12px;
    }

    .premium-footer .footer-four-grid > .footer-column:nth-child(2) {
        border-right: none;
    }

    .premium-footer .footer-four-grid > .footer-column:nth-child(3) {
        padding-left: 0;
    }

}

/* =====================================================
   MOBILE - TWO COLUMNS
===================================================== */

@media (max-width: 600px) {

    .premium-footer .footer-container {
        width: 92%;
    }

    .premium-footer .footer-main {
        padding: 25px 0;
    }

    .premium-footer .footer-four-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 25px 12px;
    }

    .premium-footer .footer-four-grid > .footer-column {
        padding: 0 8px;
    }

    .premium-footer .footer-four-grid > .footer-column:nth-child(odd) {
        padding-left: 0;
        border-right: 1px solid rgba(255,255,255,0.35);
    }

    .premium-footer .footer-four-grid > .footer-column:nth-child(even) {
        padding-right: 0;
        border-right: none;
    }

    .premium-footer .footer-title {
        font-size: 14px;
    }

    .premium-footer .footer-links a {
        font-size: 11px;
    }

}

/* =====================================================
   VERY SMALL PHONES - ONE COLUMN
===================================================== */

@media (max-width: 360px) {

    .premium-footer .footer-four-grid {
        grid-template-columns: 1fr !important;
    }

    .premium-footer .footer-four-grid > .footer-column {
        padding: 0 0 18px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.3);
    }

    .premium-footer .footer-four-grid > .footer-column:last-child {
        border-bottom: none;
    }

}
/* =========================================
   STICKY HEADER - REMAINS VISIBLE ON SCROLL
========================================= */

.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 99999;
    background: #ffffff;
}

/* Keep the header sections in their normal layout */
.main-header .top-header {
    position: relative;
    z-index: 2;
}

.main-header .navbar {
    position: relative;
    z-index: 3;
    overflow: visible;
}

/* Keep dropdown menus above the page content */
.main-header .dropdown-menu {
    z-index: 100000;
}

/* Prevent page sections from covering the header */
body {
    overflow-x: hidden;
}
/* =========================================
   REDUCE SPACE BETWEEN HERO AND ABOUT
========================================= */

/* Remove unnecessary space below hero slider */
.hero {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Move About section closer to hero */
.about-section {
    margin-top: 0 !important;
    padding-top: 30px !important;
}

/* Remove extra spacing from the section heading */
.about-section .section-heading {
    margin-top: 0 !important;
    margin-bottom: 35px !important;
}

/* Prevent unwanted spacing around the hero */
.hero + .about-section {
    margin-top: 0 !important;
}
.footer-map-preview {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    border: 2px solid #D4AF37;
    border-radius: 8px;
}

.footer-map-preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.map-click-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: rgba(0, 0, 0, 0.35);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    z-index: 10;
}

.map-click-overlay:hover {
    background: rgba(0, 0, 0, 0.60);
}

/* LARGE MAP */

.footer-map-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.footer-map-modal-content {
    position: relative;
    background: white;
    width: 95%;
    max-width: 1000px;
    padding: 15px;
    border-radius: 10px;
}

.footer-map-modal-content h3 {
    color: #24303F;
    margin: 5px 45px 15px 5px;
}

.footer-map-modal-content iframe {
    width: 100%;
    height: 550px;
    border: none;
    border-radius: 7px;
}

.footer-map-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: #D4AF37;
    color: white;
    font-size: 25px;
    cursor: pointer;
    z-index: 10;
}

@media(max-width: 768px) {
    .footer-map-modal-content iframe {
        height: 400px;
    }
}

/* =====================================
   PUBLIC NOTICES SECTION
===================================== */

.public-notices-section {
    width: 100%;
    padding: 70px 6%;
    background: #f5f6f8;
}

.public-notices-section .section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
}

.public-notices-section .section-heading span {
    color: #c49a36;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.public-notices-section .section-heading h2 {
    color: #24303f;
    font-size: 34px;
    margin: 12px 0;
}

.public-notices-section .section-heading p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.notices-container {
    width: 100%;
    max-width: 1250px;
    margin: auto;
}

.notices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    width: 100%;
}

.notice-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    min-width: 0;
    height: 100%;
}

.notice-image {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #e8e8e8;
}

.notice-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notice-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #ed7200;
    color: #fff;
    padding: 7px 13px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.notice-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #24303f;
    color: #fff;
    font-size: 45px;
}

.notice-card-content {
    padding: 23px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.notice-date {
    color: #888;
    font-size: 13px;
    margin-bottom: 13px;
}

.notice-date i {
    color: #ed7200;
    margin-right: 6px;
}

.notice-card-content h3 {
    color: #24303f;
    font-size: 19px;
    line-height: 1.5;
    margin: 0 0 13px;
}

.notice-card-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 20px;
}

.notice-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-top: auto;
    padding: 11px 17px;
    background: #24303f;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s ease;
}

.notice-link:hover {
    background: #c49a36;
    color: #fff;
}

.notice-no-document {
    color: #999;
    font-size: 13px;
    margin-top: auto;
}

.no-notices {
    text-align: center;
    padding: 45px 20px;
    background: #fff;
    border-radius: 10px;
    color: #666;
}

.no-notices i {
    font-size: 40px;
    color: #e6a000;
    margin-bottom: 15px;
}

.no-notices h3 {
    color: #24303f;
}

/* Mobile display */
@media (max-width: 600px) {
    .public-notices-section {
        padding: 45px 5%;
    }

    .public-notices-section .section-heading h2 {
        font-size: 27px;
    }

    .notices-grid {
        grid-template-columns: 1fr;
    }

    .notice-image {
        height: 210px;
    }
}

.public-notices-section {
    padding: 70px 6%;
    background: #f5f6f8;
}

.public-notices-section .section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.public-notices-section .section-heading span {
    color: #ed7200;
    font-weight: 700;
    letter-spacing: 2px;
}

.public-notices-section .section-heading h2 {
    color: #24303f;
    font-size: 34px;
    margin: 12px 0;
}

.public-notices-section .section-heading p {
    color: #666;
}

.notices-grid {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.notice-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
}

.notice-image {
    height: 230px;
    overflow: hidden;
}

.notice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.notice-card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.notice-date {
    color: #888;
    font-size: 13px;
    margin-bottom: 12px;
}

.notice-category {
    color: #e6a000;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 12px;
}

.notice-card-content h3 {
    color: #24303f;
    font-size: 19px;
    margin: 0 0 12px;
}

.notice-card-content p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}

.notice-link {
    display: inline-block;
    width: fit-content;
    margin-top: auto;
    padding: 11px 17px;
    background: #24303f;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.notice-link:hover {
    background: #ed7200;
}

.no-notices {
    text-align: center;
    grid-column: 1 / -1;
    color: #666;
}

@media(max-width: 600px) {
    .notices-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MOLEMOLE THREE-LEVEL NAVIGATION
========================================= */

.navbar {
    position: relative;
    z-index: 9999;
    background: var(--orange);
    padding: 0 7%;
    overflow: visible;
}

/* ALL MENU LISTS */

.nav-links,
.dropdown-menu,
.sub-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow: visible;
}

.nav-links > li {
    position: relative;
}

/* MENU LINKS */

.nav-links a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 16px 15px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.3s ease;
}

.nav-links > li > a:hover,
.nav-links > li:hover > a {
    background: var(--gold);
    color: var(--navy);
}

/* MENU ICONS */

.menu-icon {
    font-size: 14px;
    color: var(--gold);
}

.nav-links a:hover .menu-icon {
    color: var(--navy);
}

/* DROPDOWN ARROWS */

.nav-links .arrow {
    margin-left: auto;
    font-size: 10px;
    transition: transform 0.3s ease;
}

/* SECOND LEVEL DROPDOWN */

.nav-links > li > .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 260px;
    background: #ffffff;

    border-top: 3px solid var(--gold);
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(8px);
    transition: 0.25s ease;

    z-index: 10000;
}

/* SHOW SECOND LEVEL */

.nav-links > li:hover > .dropdown-menu,
.nav-links > li:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* DROPDOWN ITEMS */

.dropdown-menu li {
    position: relative;
    border-bottom: 1px solid #eeeeee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: flex;
    justify-content: flex-start;
    padding: 12px 16px;
    color: #222222;
    font-size: 13px;
    background: #ffffff;
}

.dropdown-menu a:hover {
    background: #f2f5e8;
    color: var(--green);
    padding-left: 22px;
}

.dropdown-menu .menu-icon {
    color: var(--green);
    min-width: 17px;
}

/* THIRD LEVEL DROPDOWN */

.dropdown-menu > li > .sub-dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;

    min-width: 250px;

    background: #ffffff;
    border-top: 3px solid var(--gold);

    box-shadow: 0 8px 25px rgba(0,0,0,0.18);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(8px);
    transition: 0.25s ease;

    z-index: 10001;
}

/* SHOW THIRD LEVEL */

.dropdown-menu > li:hover > .sub-dropdown-menu,
.dropdown-menu > li:focus-within > .sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

/* THIRD LEVEL LINKS */

.sub-dropdown-menu li {
    border-bottom: 1px solid #eeeeee;
}

.sub-dropdown-menu a {
    padding: 12px 15px;
    color: #333333;
    font-size: 12px;
    background: #ffffff;
}

.sub-dropdown-menu a:hover {
    background: #f2f5e8;
    color: var(--green);
}

/* RIGHT ARROW FOR NESTED MENUS */

.dropdown-menu > li.has-submenu > a > .arrow {
    transform: rotate(-90deg);
    color: var(--green);
}

/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    padding: 12px;
    cursor: pointer;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 768px) {

    .navbar {
        padding: 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links > li {
        width: 100%;
    }

    .nav-links a {
        justify-content: flex-start;
        padding: 13px 18px;
        white-space: normal;
    }

    /* Disable desktop hover dropdown positioning */

    .nav-links > li > .dropdown-menu,
    .dropdown-menu > li > .sub-dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        min-width: 100%;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid var(--gold);
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Mobile dropdown open states */

    .nav-links > li.open > .dropdown-menu {
        display: block;
    }

    .dropdown-menu > li.open > .sub-dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding-left: 35px;
    }

    .sub-dropdown-menu a {
        padding-left: 55px;
    }

}
/* =========================================
   MOLEMOLE BACKGROUND PAGE
   MODERN EDITORIAL DESIGN
========================================= */

/* BACKGROUND PAGE ONLY */
body.background-page {
    background: #ffffff;
}

/* Apply the background-page font only to the main content */
body.background-page main {
    color: #59e800;
    font-family: 'DM Sans', sans-serif;
}

/* HERO */

.bg-hero {
    min-height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(115deg, #59e800 0%, #294b5b 100%);
}

.bg-hero-content {
    width: 88%;
    max-width: 1250px;
    margin: auto;
    position: relative;
    z-index: 2;
    padding: 65px 0;
}

.bg-hero-eyebrow {
    color: #d9b64f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.bg-hero h1 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 700;
    margin: 15px 0 18px;
}

.bg-gold-line {
    width: 75px;
    height: 4px;
    background: #d4af37;
}

.bg-hero-decoration {
    position: absolute;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 50%;
    right: 8%;
    top: -180px;
}

.bg-hero-decoration::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 50%;
    top: 65px;
    left: 65px;
}


/* SHARED WIDTH */

.bg-content-width {
    width: 88%;
    max-width: 1250px;
    margin: auto;
}


/* INTRODUCTION */

.bg-introduction {
    padding: 85px 0 95px;
    background: #ffffff;
}

.bg-intro-heading span,
.bg-economic-heading span,
.bg-development-heading span {
    display: block;
    color: #a78327;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.bg-intro-heading h2,
.bg-economic-heading h2,
.bg-development-heading h2 {
    font-family: 'Playfair Display', serif;
    color: #203b43;
    font-size: clamp(30px, 4vw, 42px);
    margin: 0;
    font-weight: 700;
}

.bg-intro-content {
    display: flex;
    gap: 30px;
    margin-top: 35px;
    max-width: 1050px;
}

.bg-side-line {
    flex: 0 0 4px;
    background: #d4af37;
    border-radius: 5px;
}

.bg-intro-content p {
    color: #5d686d;
    font-size: 16px;
    line-height: 2;
    margin: 0;
}


/* ECONOMIC DEVELOPMENT */

.bg-economic {
    padding: 85px 0;
    background: #f4f6f4;
}

.bg-economic-heading {
    margin-bottom: 38px;
}

.bg-economic-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: stretch;
    gap: 45px;
}

.bg-economic-description {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.bg-economic-description p {
    font-size: 16px;
    line-height: 2;
    color: #59666a;
    margin: 0;
}

.bg-economic-photo {
    height: 370px;
    overflow: hidden;
    position: relative;
}

.bg-economic-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bg-economic-photo:hover img {
    transform: scale(1.035);
}


/* DEVELOPMENT AND PLANNING */

.bg-development {
    padding: 90px 0;
    background: #ffffff;
}

.bg-development-heading {
    margin-bottom: 35px;
}

.bg-development-content {
    max-width: 1050px;
    margin-left: auto;
    border-left: 4px solid #d4af37;
    padding-left: 35px;
}

.bg-development-content p {
    font-size: 16px;
    line-height: 2;
    color: #59666a;
    margin: 0 0 27px;
}

.bg-development-content p:last-child {
    margin-bottom: 0;
}


/* FINAL IMAGE */

.bg-final-photo {
    width: 88%;
    max-width: 1250px;
    margin: 0 auto 90px;
    height: 450px;
    overflow: hidden;
}

.bg-final-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    .bg-economic-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .bg-economic-photo {
        height: 300px;
    }

    .bg-final-photo {
        height: 320px;
    }

}

@media (max-width: 600px) {

    .bg-hero {
        min-height: 230px;
    }

    .bg-hero-content {
        width: 90%;
    }

    .bg-hero h1 {
        font-size: 42px;
    }

    .bg-content-width {
        width: 90%;
    }

    .bg-introduction,
    .bg-economic,
    .bg-development {
        padding: 55px 0;
    }

    .bg-intro-content {
        gap: 17px;
    }

    .bg-intro-content p,
    .bg-economic-description p,
    .bg-development-content p {
        font-size: 14px;
        line-height: 1.85;
    }

    .bg-development-content {
        padding-left: 20px;
    }

    .bg-final-photo {
        width: 90%;
        height: 240px;
        margin-bottom: 55px;
    }

}

/* ==========================================
   MOLEMOLE DEMOGRAPHICS PAGE
========================================== */

body.demographics-page {
    margin: 0;
    padding: 0;
    background: #ffffff;
}

/* Keep page styling separate from header and footer */

.demographics-page main {
    font-family: 'DM Sans', sans-serif;
    color: #303a40;
}

.demo-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}


/* ==========================================
   HERO SECTION
========================================== */

.demo-hero {
    position: relative;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(120deg, #59e800, #174b55);
    color: #ffffff;
}

.demo-hero-content {
    position: relative;
    z-index: 2;
    padding: 65px 20px;
}

.demo-eyebrow {
    display: block;
    color: #e0b64f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.demo-hero h1 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 6vw, 62px);
    font-weight: 800;
    color: #ffffff;
}

.demo-hero-content p {
    margin-top: 20px;
    font-size: 16px;
    color: #e5edf0;
}

.demo-gold-line {
    width: 65px;
    height: 4px;
    margin: 20px auto;
    background: #d4af37;
    border-radius: 5px;
}

.demo-hero-decoration {
    position: absolute;
    width: 430px;
    height: 430px;
    right: -120px;
    bottom: -280px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
}

.demo-hero-decoration::before,
.demo-hero-decoration::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
}

.demo-hero-decoration::before {
    inset: 30px;
}

.demo-hero-decoration::after {
    inset: 65px;
}


/* ==========================================
   GENERAL SECTIONS
========================================== */

.demo-section {
    padding: 80px 0;
    background: #ffffff;
}

.demo-distribution-section {
    padding: 80px 0;
    background: #f4f7f5;
}

.demo-section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.demo-section-heading > span {
    display: block;
    color: #a98523;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.demo-section-heading h2 {
    margin: 0;
    color: #173448;
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 38px);
}

.demo-section-heading .demo-gold-line {
    margin: 18px auto 0;
}

.demo-introduction {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding-left: 22px;
    border-left: 4px solid #d4af37;
}

.demo-introduction p {
    margin: 0;
    color: #59666c;
    font-size: 15px;
    line-height: 1.9;
}


/* ==========================================
   POPULATION CARDS
========================================== */

.demo-population-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 45px 0;
}

.demo-population-card {
    position: relative;
    padding: 30px 25px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e7ece9;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(22, 49, 57, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-population-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(22, 49, 57, 0.12);
}

.demo-card-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf4ef;
    color: #176b49;
    border-radius: 50%;
    font-size: 21px;
}

.demo-year {
    color: #a98523;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.demo-population-card h3 {
    margin: 10px 0 5px;
    color: #173448;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
}

.demo-population-card p {
    margin: 0;
    color: #77838a;
    font-size: 14px;
}

.demo-growth {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 13px;
    color: #176b49;
    background: #eaf5ed;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}


/* ==========================================
   POPULATION BAR CHART
========================================== */

.demo-chart-card {
    padding: 35px;
    background: #ffffff;
    border: 1px solid #e7ece9;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(22, 49, 57, 0.05);
}

.demo-chart-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.demo-chart-heading span,
.demo-card-heading span {
    color: #a98523;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.demo-chart-heading h3,
.demo-card-heading h3 {
    margin: 7px 0 0;
    color: #173448;
    font-family: 'Playfair Display', serif;
    font-size: 23px;
}

.demo-chart-heading > i,
.demo-card-heading > i {
    color: #c19b32;
    font-size: 26px;
}

.demo-bar-row {
    display: grid;
    grid-template-columns: 65px 1fr;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.demo-bar-year {
    color: #40515b;
    font-weight: 700;
    font-size: 14px;
}

.demo-bar-track {
    height: 38px;
    overflow: hidden;
    background: #edf1ee;
    border-radius: 6px;
}

.demo-bar-fill {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    box-sizing: border-box;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
}

.demo-bar-2011 {
    width: 85.2%;
    background: #8ca99a;
}

.demo-bar-2016 {
    width: 98.6%;
    background: #337d65;
}

.demo-bar-2022 {
    width: 100%;
    background: #173f4b;
}

.demo-chart-note {
    margin: 25px 0 0;
    color: #8a9599;
    font-size: 12px;
    text-align: right;
}


/* ==========================================
   AGE AND GENDER DISTRIBUTION
========================================== */

.demo-distribution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 45px;
}

.demo-distribution-card {
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e7ece9;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(22, 49, 57, 0.05);
}

.demo-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}


/* Age progress bars */

.demo-age-item {
    margin-bottom: 27px;
}

.demo-age-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #46545a;
    font-size: 13px;
}

.demo-age-label strong {
    color: #173448;
    white-space: nowrap;
}

.demo-progress-track {
    width: 100%;
    height: 12px;
    background: #edf1ee;
    border-radius: 20px;
    overflow: hidden;
}

.demo-progress-fill {
    height: 100%;
    border-radius: 20px;
}

.demo-age-children {
    width: 31.6%;
    background: #d4af37;
}

.demo-age-working {
    width: 59.8%;
    background: #267653;
}

.demo-age-elderly {
    width: 8.6%;
    background: #527d91;
}

.demo-age-summary {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 35px;
    padding: 16px;
    background: #f1f6f2;
    border-radius: 8px;
}

.demo-age-summary i {
    margin-top: 3px;
    color: #267653;
}

.demo-age-summary p {
    margin: 0;
    color: #63716c;
    font-size: 12px;
    line-height: 1.7;
}


/* ==========================================
   GENDER CIRCLE
========================================== */

.demo-gender-chart-area {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 25px;
}

.demo-gender-circle {
    width: 205px;
    height: 205px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: conic-gradient(
        #d4af37 0% 46.5%,
        #267653 46.5% 100%
    );
}

.demo-gender-circle-inner {
    width: 135px;
    height: 135px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
}

.demo-gender-circle-inner strong {
    color: #173448;
    font-family: 'Playfair Display', serif;
    font-size: 27px;
}

.demo-gender-circle-inner span {
    color: #879197;
    font-size: 12px;
}

.demo-gender-legend {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.demo-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-legend-dot {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    border-radius: 50%;
}

.demo-male-dot {
    background: #d4af37;
}

.demo-female-dot {
    background: #267653;
}

.demo-legend-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.demo-legend-item strong {
    color: #173448;
    font-size: 16px;
}

.demo-legend-item div span {
    color: #78858a;
    font-size: 12px;
}


/* ==========================================
   SUMMARY CARDS
========================================== */

.demo-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 35px;
}

.demo-summary-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5ebe7;
    border-radius: 10px;
}

.demo-summary-item > i {
    color: #b08c2d;
    font-size: 24px;
}

.demo-summary-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-summary-item strong {
    color: #173448;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
}

.demo-summary-item span {
    color: #7c898d;
    font-size: 11px;
}


/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width: 900px) {

    .demo-population-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .demo-distribution-grid {
        grid-template-columns: 1fr;
    }

    .demo-summary {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .demo-hero {
        min-height: 270px;
    }

    .demo-hero h1 {
        font-size: 39px;
    }

    .demo-section,
    .demo-distribution-section {
        padding: 55px 0;
    }

    .demo-population-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .demo-population-card {
        padding: 25px 15px;
    }

    .demo-chart-card,
    .demo-distribution-card {
        padding: 22px 16px;
    }

    .demo-chart-heading h3,
    .demo-card-heading h3 {
        font-size: 19px;
    }

    .demo-bar-row {
        grid-template-columns: 45px 1fr;
        gap: 9px;
    }

    .demo-bar-track {
        height: 32px;
    }

    .demo-bar-fill {
        font-size: 10px;
        padding-right: 6px;
    }

    .demo-age-label {
        font-size: 11px;
    }

    .demo-gender-circle {
        width: 180px;
        height: 180px;
    }

    .demo-gender-circle-inner {
        width: 120px;
        height: 120px;
    }

    .demo-gender-legend {
        gap: 20px;
    }

    .demo-summary {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .demo-summary-item {
        padding: 14px 10px;
        gap: 9px;
    }

    .demo-summary-item > i {
        font-size: 19px;
    }

    .demo-summary-item strong {
        font-size: 18px;
    }

    .demo-summary-item span {
        font-size: 10px;
    }

}

/* ==========================================
   MOLEMOLE MUNICIPALITY - LOCATION PAGE
========================================== */

.location-page {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: 'DM Sans', sans-serif;
    color: #303a40;
}

.location-page main {
    overflow: hidden;
}

.location-container {
    width: 88%;
    max-width: 1120px;
    margin: 0 auto;
}


/* ==========================================
   LOCATION HERO
========================================== */

.location-hero {
    position: relative;
    min-height: 330px;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, #172c3b, #244d58);
    overflow: hidden;
}

.location-hero::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    right: -100px;
    top: -100px;
}

.location-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15, 35, 48, 0.95),
        rgba(25, 64, 73, 0.78)
    );
}

.location-hero-content {
    position: relative;
    z-index: 2;
    padding: 65px 0;
    color: #ffffff;
}

.location-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e0b84f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.location-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.location-gold-line {
    width: 65px;
    height: 4px;
    background: #d4af37;
    margin: 22px 0;
    border-radius: 5px;
}

.location-hero-content p {
    max-width: 620px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin: 0;
}


/* ==========================================
   INTRODUCTION
========================================== */

.location-introduction {
    padding: 75px 0;
    background: #ffffff;
}

.location-intro-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 55px;
}

.location-image-wrapper {
    position: relative;
    height: 390px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.13);
}

.location-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.location-image-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 17px 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(
        transparent,
        rgba(0,0,0,0.75)
    );
}

.location-image-caption i {
    color: #e0b84f;
    margin-right: 8px;
}

.location-section-label {
    display: inline-block;
    color: #b18b23;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.location-intro-text h2,
.location-section-heading h2 {
    font-family: 'Playfair Display', serif;
    color: #203746;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.3;
    margin: 0;
}

.location-small-line {
    width: 55px;
    height: 3px;
    background: #d4af37;
    margin: 20px 0;
}

.location-intro-text p {
    font-size: 14px;
    line-height: 1.9;
    color: #66727a;
    margin: 0 0 15px;
}

.location-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin-top: 25px;
}

.location-fact {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f7f5;
    padding: 13px;
    border-radius: 7px;
}

.location-fact i {
    width: 37px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9f0eb;
    color: #286747;
    border-radius: 50%;
    flex-shrink: 0;
}

.location-fact strong,
.location-fact span {
    display: block;
}

.location-fact strong {
    color: #263c48;
    font-size: 13px;
}

.location-fact span {
    color: #78838a;
    font-size: 11px;
    margin-top: 3px;
}


/* ==========================================
   MUNICIPAL BOUNDARIES
========================================== */

.location-boundaries {
    padding: 75px 0;
    background: #f5f7f6;
}

.location-section-heading {
    max-width: 700px;
    margin: 0 auto 38px;
    text-align: center;
}

.location-section-heading p {
    font-size: 14px;
    line-height: 1.8;
    color: #77828a;
    margin: 15px 0 0;
}

.location-boundary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.location-boundary-card {
    text-align: center;
    padding: 27px 15px;
    background: #ffffff;
    border: 1px solid #e9eeeb;
    border-radius: 9px;
    transition: 0.3s ease;
}

.location-boundary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}

.location-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #edf4ef;
    color: #286747;
    font-size: 17px;
}

.location-boundary-card h3 {
    color: #263d4b;
    font-size: 16px;
    margin: 0 0 7px;
}

.location-boundary-card p {
    color: #77828a;
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}

.location-roads {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
    padding: 25px 28px;
    background: #203746;
    border-radius: 9px;
    color: #ffffff;
}

.location-road-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,175,55,0.18);
    color: #e0b84f;
    border-radius: 50%;
    font-size: 19px;
    flex-shrink: 0;
}

.location-roads h3 {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    margin: 0 0 9px;
    color: #ffffff;
}

.location-roads p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.78);
    margin: 0;
}


/* ==========================================
   SETTLEMENT CLUSTERS
========================================== */

.location-clusters {
    padding: 75px 0;
    background: #ffffff;
}

.location-cluster-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.location-cluster-card {
    position: relative;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e7ece9;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s ease;
}

.location-cluster-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(25,55,45,0.08);
    border-color: #d9c17a;
}

.cluster-number {
    position: absolute;
    top: 12px;
    right: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    color: #f0f2ef;
}

.cluster-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #286747;
    background: #edf4ef;
    border-radius: 9px;
    font-size: 20px;
    margin-bottom: 20px;
}

.cluster-label {
    display: block;
    color: #b18b23;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.location-cluster-card h3 {
    position: relative;
    color: #203746;
    font-family: 'Playfair Display', serif;
    font-size: 23px;
    margin: 0 0 12px;
}

.location-cluster-card p {
    color: #77828a;
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 18px;
}

.cluster-places {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cluster-places span {
    padding: 7px 12px;
    background: #f0f5f1;
    color: #35634b;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.cluster-note {
    margin-top: 17px;
    padding: 12px;
    border-left: 3px solid #d4af37;
    background: #faf8f0;
    color: #68736e;
    font-size: 12px;
    line-height: 1.7;
}


/* ==========================================
   CLOSING SECTION
========================================== */

.location-closing {
    padding: 55px 0;
    background: linear-gradient(120deg, #1c3544, #28604d);
}

.location-closing-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.location-closing-content > i {
    font-size: 32px;
    color: #e0b84f;
    margin-bottom: 18px;
}

.location-closing-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(25px, 3vw, 34px);
    color: #ffffff;
    margin: 0 0 14px;
}

.location-closing-content p {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width: 900px) {

    .location-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .location-image-wrapper {
        height: 330px;
    }

    .location-boundary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .location-container {
        width: 92%;
    }

    .location-hero {
        min-height: 280px;
    }

    .location-hero-content {
        padding: 45px 0;
    }

    .location-introduction,
    .location-boundaries,
    .location-clusters {
        padding: 48px 0;
    }

    .location-image-wrapper {
        height: 250px;
    }

    .location-facts {
        grid-template-columns: 1fr;
    }

    .location-boundary-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .location-boundary-card {
        padding: 20px 10px;
    }

    .location-roads {
        padding: 20px;
        gap: 13px;
    }

    .location-cluster-grid {
        grid-template-columns: 1fr;
    }

    .location-cluster-card {
        padding: 24px;
    }

}

/* ==========================================
   MOLEMOLE MUNICIPALITY - CONTACT PAGE
========================================== */

.contact-page {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: 'DM Sans', sans-serif;
    color: #303a40;
}

.contact-page main {
    overflow: hidden;
}

.contact-container {
    width: 88%;
    max-width: 1120px;
    margin: 0 auto;
}


/* HERO SECTION */

.contact-hero {
    min-height: 300px;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, #172c3b, #244d58);
    position: relative;
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    right: -80px;
    top: -100px;
}

.contact-hero .contact-container {
    position: relative;
    z-index: 2;
    padding: 55px 0;
    color: #ffffff;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e0b84f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.contact-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.contact-gold-line {
    width: 65px;
    height: 4px;
    background: #d4af37;
    border-radius: 5px;
    margin: 20px 0;
}

.contact-hero p {
    max-width: 620px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin: 0;
}


/* CONTACT INTRODUCTION */

.contact-introduction {
    padding: 70px 0 80px;
    background: #ffffff;
}

.contact-heading {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-section-label {
    display: inline-block;
    color: #b18b23;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.contact-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(27px, 3vw, 36px);
    color: #203746;
    margin: 0;
}

.contact-heading p {
    font-size: 14px;
    line-height: 1.8;
    color: #77828a;
    margin-top: 14px;
}


/* CONTACT CARDS */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #e7ece9;
    border-radius: 10px;
    padding: 28px 24px;
    min-height: 205px;
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    box-shadow: 0 12px 28px rgba(0,0,0,0.07);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #edf4ef;
    color: #286747;
    font-size: 19px;
    margin-bottom: 20px;
}

.contact-card-label {
    display: block;
    color: #b18b23;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    margin-bottom: 8px;
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    color: #203746;
    font-size: 19px;
    line-height: 1.4;
    margin: 0 0 12px;
}

.contact-card p {
    color: #6f7b83;
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

.contact-card a {
    display: inline-block;
    color: #286747;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 2px;
}

.contact-card a:hover {
    color: #b18b23;
}

.contact-card-note {
    display: block;
    color: #8a9499;
    font-size: 12px;
    margin-top: 10px;
}


/* CLOSING SECTION */

.contact-closing {
    padding: 55px 0;
    background: linear-gradient(120deg, #1c3544, #28604d);
}

.contact-closing-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.contact-closing-content i {
    color: #e0b84f;
    font-size: 32px;
    margin-bottom: 18px;
}

.contact-closing-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(25px, 3vw, 34px);
    color: #ffffff;
    margin: 0 0 14px;
}

.contact-closing-content p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto;
}


/* RESPONSIVE DESIGN */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .contact-container {
        width: 92%;
    }

    .contact-hero {
        min-height: 260px;
    }

    .contact-hero .contact-container {
        padding: 40px 0;
    }

    .contact-introduction {
        padding: 48px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-card {
        min-height: auto;
        padding: 23px;
    }

}

/* ==========================================
   MOLEMOLE MUNICIPALITY MODERN PHOTO GALLERY
========================================== */

.modern-gallery-page {
    width: 100%;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

/* GALLERY HERO */

.modern-gallery-hero {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #142b3b, #24495a);
    position: relative;
}

.modern-gallery-hero-content {
    max-width: 850px;
    color: #ffffff;
}

.gallery-small-heading {
    display: inline-block;
    color: #d4af37;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.modern-gallery-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px;
}

.modern-gallery-hero p {
    font-size: 16px;
    color: #e7edf0;
    margin: 0;
}

.gallery-hero-line {
    width: 65px;
    height: 4px;
    background: #d4af37;
    margin: 25px auto 0;
    border-radius: 5px;
}


/* GALLERY SECTION */

.modern-gallery-section {
    padding: 75px 20px 85px;
    background: #ffffff;
}

.modern-gallery-container {
    max-width: 1250px;
    margin: 0 auto;
}

.modern-gallery-heading {
    text-align: center;
    margin-bottom: 45px;
}

.modern-gallery-heading span {
    color: #b28d22;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.modern-gallery-heading h2 {
    color: #243746;
    font-size: 34px;
    font-weight: 700;
    margin: 12px 0;
}

.modern-gallery-heading p {
    color: #777777;
    font-size: 15px;
    margin: 0;
}


/* SLIDESHOW */

.modern-gallery-slider {
    width: 100%;
    position: relative;
}

.modern-gallery-slide {
    display: none !important;
    width: 100%;
}

.modern-gallery-slide.active {
    display: block !important;
    animation: gallerySlideAppear 0.8s ease both;
}

@keyframes gallerySlideAppear {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* FOUR PHOTOGRAPHS PER GROUP */

.modern-gallery-slide .modern-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}


/* PHOTO CARDS */

.modern-gallery-item {
    position: relative;
    height: 245px;
    overflow: hidden;
    border-radius: 12px;
    background: #e9edef;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.09);
}

.modern-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-gallery-item:hover img {
    transform: scale(1.08);
}


/* IMAGE HOVER EFFECT */

.modern-gallery-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 39, 54, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-gallery-item:hover .modern-gallery-hover {
    opacity: 1;
}

.gallery-view-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #d4af37;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}


/* SLIDESHOW BUTTONS */

.gallery-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.gallery-slider-controls > button {
    width: 43px;
    height: 43px;
    border: none;
    border-radius: 50%;
    background: #243746;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-slider-controls > button:hover {
    background: #d4af37;
    transform: scale(1.08);
}

.gallery-slide-indicators {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-indicator {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    padding: 0;
    background: #c8cdd0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-indicator.active {
    width: 28px;
    border-radius: 10px;
    background: #d4af37;
}


/* PHOTO COUNT */

.gallery-photo-count {
    text-align: center;
    color: #888888;
    font-size: 13px;
    margin-top: 20px;
}


/* NO PHOTOS MESSAGE */

.gallery-empty-message {
    text-align: center;
    padding: 65px 20px;
    background: #f7f8f8;
    border-radius: 12px;
    color: #777777;
}

.gallery-empty-message i {
    font-size: 45px;
    color: #d4af37;
    margin-bottom: 15px;
}

.gallery-empty-message h3 {
    color: #243746;
    margin-bottom: 10px;
}


/* ==========================================
   ENLARGED PHOTO VIEWER
========================================== */

.modern-gallery-viewer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 65px 80px;
    background: rgba(0, 0, 0, 0.94);
}

.modern-gallery-viewer img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}


/* VIEWER BUTTONS */

.modern-gallery-close,
.modern-gallery-prev,
.modern-gallery-next {
    position: absolute;
    border: none;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modern-gallery-close:hover,
.modern-gallery-prev:hover,
.modern-gallery-next:hover {
    color: #d4af37;
}

.modern-gallery-close {
    top: 25px;
    right: 35px;
    font-size: 35px;
}

.modern-gallery-prev {
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
}

.modern-gallery-next {
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
}


/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width: 1100px) {

    .modern-gallery-slide .modern-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 760px) {

    .modern-gallery-hero {
        min-height: 250px;
    }

    .modern-gallery-hero h1 {
        font-size: 36px;
    }

    .modern-gallery-section {
        padding: 55px 18px;
    }

    .modern-gallery-heading h2 {
        font-size: 28px;
    }

    .modern-gallery-item {
        height: 210px;
    }

}

@media (max-width: 480px) {

    .modern-gallery-hero h1 {
        font-size: 30px;
    }

    .modern-gallery-hero p {
        font-size: 14px;
    }

    .modern-gallery-slide .modern-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .modern-gallery-item {
        height: 155px;
    }

    .modern-gallery-viewer {
        padding: 50px 15px;
    }

    .modern-gallery-viewer img {
        max-width: 100%;
        max-height: 75vh;
    }

    .modern-gallery-prev {
        left: 8px;
        font-size: 23px;
    }

    .modern-gallery-next {
        right: 8px;
        font-size: 23px;
    }

}
