CSS
/* ==========================
   MMDA Government Theme CSS
   ========================== */

/* ===== Base Styling ===== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa; /* light gray background */
    color: #333;
}

/* ===== Navbar ===== */
.navbar {
    background-color: #13612e !important;
}
.navbar .navbar-brand,
.navbar .nav-link {
    color: #ffffff !important;
    font-weight: bold;
}
.navbar .nav-link:hover {
    color: #ffc107 !important; /* gold accent on hover */
}
.dropdown-menu {
    transition: all 0.2s ease;
}

@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}
/* ===============================
   PROFESSIONAL DROPDOWN STYLE
================================= */

/* ===============================
   AMA GLASS DROPDOWN EFFECT
================================= */

.dropdown-menu {
    background: rgba(255, 255, 255, .15); /* transparent white */
    backdrop-filter: blur(10px); /* glass blur */
    -webkit-backdrop-filter: blur(10px); /* Safari support */

    border: none;
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 12px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, .15);

    animation: dropdownFade 0.25s ease;
}

/* Dropdown items */
.dropdown-item {
    color: #222;
    font-size: 14px;
    padding: 10px 22px;
    transition: all 0.25s ease;
}

/* Hover effect */
.dropdown-item:hover {
    background: rgba(19, 97, 46, 0.08); /* soft green tint */
    color: #13612e;
    padding-left: 28px;
}
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
    }
}
.dropdown-menu {
    --bs-dropdown-bg: transparent;
}
/* ===== Hero Section ===== */
.hero-section {
    background-color: #13612e;
    color: #ffffff;
    padding: 60px 20px;
    border-radius: 8px;
    text-align: center;
}
.hero-section h1 {
    font-size: 2.8rem;
    font-weight: bold;
}
.hero-section p {
    font-size: 1.2rem;
}

/* ===== Sections Headings ===== */
section h2 {
    position: relative;
    display: inline-block;
    color: #13612e;
    margin-bottom: 30px;
}
section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #ffc107; /* gold accent */
    display: block;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* ===== Cards ===== */
.card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.card .card-title,
.card h5,
.card h6 {
    color: #13612e;
    font-weight: bold;
}
.card .card-text,
.card p {
    color: #333;
}

/* ===== Buttons ===== */
.btn-primary {
    background-color: #13612e;
    border-color: #13612e;
}
.btn-primary:hover {
    background-color: #0f4c21;
    border-color: #0f4c21;
}
.btn-success {
    background-color: #198754;
}
.btn-success:hover {
    background-color: #13612e;
}
.btn-danger {
    background-color: #dc3545;
}
.btn-danger:hover {
    background-color: #a71d2a;
}

/* ===== Footer ===== */
.site-footer {
    background-color: #0f2a1d; /* deep district green */
    color: #e9f5ee;
    padding: 70px 0 30px;
    border-top: 4px solid #1e7e34; /* brand green accent */
}

.coat-logo {
    height: 55px;
    width: auto;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.footer-text {
    font-size: 14px;
    color: #b7d4c2;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #b7d4c2;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #fcd116; /* subtle Ghana gold hover */
    padding-left: 5px;
}

.transparency-link {
    font-weight: 600;
    color: #fcd116 !important;
}

.social-icons a {
    color: #b7d4c2;
    font-size: 20px;
    margin-right: 15px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #fcd116;
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 40px 0 20px;
}

/* ===== Forms ===== */
form input,
form textarea,
form select {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
    width: 100%;
    margin-bottom: 15px;
}
form input:focus,
form textarea:focus,
form select:focus {
    border-color: #13612e;
    box-shadow: 0 0 5px rgba(19,97,46,0.5);
    outline: none;
}

/* ===== Sections Padding ===== */
section {
    padding: 40px 0;
}

/* ===== Responsive Hero ===== */
@media(max-width:768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
}

/* ===== Responsive Cards ===== */
@media(max-width:768px){
    .card {
        margin-bottom: 20px;
    }
}

/* ===== Top Header ===== */
.bg-dark {
    background-color: #1b1b1b !important;
}

.bg-dark a {
    color: #ffffff;
}

.bg-dark a:hover {
    color: #ffc107;
    text-decoration: none;
}

.bg-dark i {
    color: #ffc107;
}

/* Make top header smaller on mobile */
@media(max-width:768px){
    .bg-dark .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .bg-dark .d-flex.flex-wrap.align-items-center {
        margin-bottom: 5px;
    }
}
/* ===============================
   Transparent Government Navbar
   =============================== */

.custom-navbar {
    background: transparent;
    transition: all 0.4s ease-in-out;
}

/* White menu text */
.custom-navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

/* Hover turns green */
.custom-navbar .nav-link:hover {
    color: #13612e !important;
}

/* Dropdown menu styling */
.dropdown-menu {
    border-radius: 6px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.dropdown-item:hover {
    background-color: #13612e;
    color: #ffffff;
}

/* Complaint button special styling */
.complaint-btn {
    background-color: #ffc107;
    color: #000 !important;
    padding: 6px 14px;
    border-radius: 20px;
    margin-left: 10px;
}

.complaint-btn:hover {
    background-color: #13612e;
    color: #ffffff !important;
}

/* Optional: When scrolling, navbar becomes solid */
.navbar-scrolled {
    background-color: #13612e !important;
}
/* Shrink effect */
.navbar-scrolled {
    background-color: #13612e !important;
    padding-top: 8px;
    padding-bottom: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Bigger initial navbar */
.custom-navbar {
    padding-top: 25px;
    padding-bottom: 25px;
}
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* ==========================
   Government Homepage Slider
   ========================== */

.slider-image {
    height: 90vh;
    object-fit: cover;
}

/* Dark overlay */
.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
}

.custom-caption {
    bottom: 30%;
}

.custom-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
}

.custom-caption p {
    font-size: 1.2rem;
    color: #ffffff;
}

/* Responsive */
@media(max-width:768px){
    .slider-image {
        height: 60vh;
    }
    .custom-caption h1 {
        font-size: 1.8rem;
    }
}

/* ==========================
   Premium Services Design
   ========================== */

/* ==========================
   Services Section
   ========================== */



/* ==========================
   Slim Service Ribbon
   ========================== */

.services-section{

    background:#056839;

    

    overflow:hidden;

    padding:5px 0;

}

.services-slider{

    overflow:hidden;
    width:100%;

}

.services-track{

    display:flex;

    align-items:center;

    width:max-content;

    animation:serviceScroll 38s linear infinite;

}

.services-slider:hover .services-track{

    animation-play-state:paused;

}

.service-item{

    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;

    width:260px;

    padding:8px 20px;

    color:#fff !important;
    text-decoration:none;

    flex-shrink:0;

    position:relative;
}

.service-item::after{

    content:"";

    position:absolute;

    right:0;

    top:12px;

    height:35px;

    width:1px;

    background:rgba(255,255,255,.20);

}

.service-item:last-child::after{

    display:none;

}

.service-item i{

    font-size:32px;
    color:#fff;

    margin:0;
}

.service-item span{

    font-size:16px;

    font-weight:600;

    color:#fff;

    text-align:left;

    line-height:1.3;
}

.service-item:hover{

    color:#2da11e !important;

}

.service-item:hover i,

.service-item:hover span{

    color:#2da11e

}

@keyframes serviceScroll{

    from{

        transform:translateX(0);

    }

    to{

        transform:translateX(-50%);

    }

}

/* ==========================
   Media & Updates Section
   ========================== */

/* ===========================
   NEWS PAGE MODERN STYLE
=========================== */

.news-page-area h2 {
    font-weight: 700;
    margin-bottom: 30px;
    border-left: 5px solid #198754;
    padding-left: 15px;
}

/* Featured News */
.latest-one-news-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    background: #fff;
}

.img-wrap-news-one img {
    height: 380px;
    width: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.latest-one-news-wrap:hover img {
    transform: scale(1.05);
}

.latest-one-news-text {
    padding: 20px;
}

.latest-one-news-text h3 {
    font-size: 22px;
    font-weight: 700;
}

.latest-one-news-text span {
    font-size: 14px;
    color: #777;
}

/* Secondary Top News */
.latest-two-news-box-wrap {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    transition: 0.3s;
}

.latest-two-news-box-wrap:hover {
    transform: translateY(-5px);
}

.latest-two-news-box img {
    height: 160px;
    width: 100%;
    object-fit: cover;
}

.latest-two-news-text {
    padding: 15px;
}

.latest-two-news-text h3 {
    font-size: 15px;
    font-weight: 600;
}

/* Other News */
.other-news-box-wrap {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: 0.3s;
    margin-bottom: 25px;
}

.other-news-box-wrap:hover {
    transform: translateY(-6px);
}

.img-wrap-other-news img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.other-news-text {
    padding: 15px;
}

.other-news-text h3 {
    font-size: 16px;
    font-weight: 600;
}

/* Pagination */
.pagination .page-link {
    color: #198754;
}

.pagination .active .page-link {
    background-color: #198754;
    border-color: #198754;
}

/* Mobile Optimization */
@media(max-width: 992px){
    .img-wrap-news-one img {
        height: 250px;
    }
}

/* ===========================
   NEWSLETTER SECTION
=========================== */

.newsletter-section { 
   background:linear-gradient(rgba(0, 60, 30, 0.7), rgba(0, 60, 30, 0.7)), url('../assets/images/CommunityPark_Mankranso.png') center center/cover no-repeat;
    position: relative;
    padding: 30px 0;



}

.newsletter-overlay {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px 0;
}

.newsletter-section h2 {
    font-size: 36px;
}

.newsletter-section p {
    font-size: 18px;
    opacity: 0.9;
}

.newsletter-form input {
    border-radius: 50px;
    padding-left: 20px;
}

.newsletter-form button {
    border-radius: 50px;
    font-weight: 600;
}

@media(max-width: 768px){
    .newsletter-section {
        padding: 60px 0;
    }
    .newsletter-overlay {
        padding: 60px 0;
    }
}
/* ==========================
   Gold Divider
   ========================== */

.gold-divider {
    width: 100%;
    height: 1px;              /* Visible thickness */
    background-color: #ffc107; /* Government gold */
    display: block;
    margin: 0;
    padding: 0;
}
/* ===============================
   SERVICE PAGE STYLING
================================= */

.service-page {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.service-page .container {
    background: #ffffff;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Page Title */
.service-page h1 {
    font-size: 32px;
    font-weight: 700;
    color: #003366; /* Government blue */
    margin-bottom: 20px;
    border-left: 6px solid #d4af37; /* Gold accent */
    padding-left: 15px;
}

/* Section Headings */
.service-page h2 {
    font-size: 20px;
    font-weight: 600;
    color: #003366;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

/* Paragraphs */
.service-page p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

/* Lists */
.service-page ul,
.service-page ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.service-page ul li,
.service-page ol li {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Highlight Box (Optional Use) */
.highlight-box {
    background-color: #eef5ff;
    border-left: 4px solid #003366;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

/* Buttons */
.service-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #003366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s ease;
}

.service-btn:hover {
    background-color: #001f4d;
    color: #ffffff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-page .container {
        padding: 25px;
    }

    .service-page h1 {
        font-size: 24px;
    }

    .service-page h2 {
        font-size: 18px;
    }
}
.service-banner {
    background: linear-gradient(rgba(0,51,102,0.1), rgba(0,51,102,0.1)),
                url("images/website-header.jpg") center/cover no-repeat;
    color: #fff;
    padding: 32px 0;
    margin: 10;
    text-align: center;
    min-height: 0px;   /* Important */
    display: flex;
    align-items: center;
    justify-content: center;
}



.service-banner h4 {
    font-size: 26px;
    font-weight: 300;
}

.departments-section {
  background: #f8f9fa;
}

.departments-section .card {
  transition: 0.3s ease;
  border-radius: 10px;
}

.departments-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.departments-section i {
  display: block;
}

/* Layout spacing */
.department-page h2 {
  color: #000;
}

/* Title */
.dept-title {
  color: #1c6b3c;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Staff */
.staff-box h6 {
  margin-top: 10px;
  margin-bottom: 0;
  font-weight: 600;
}

.staff-box small {
  color: #777;
}

.staff-img {
  width: 150px;
  height: 160px;
  object-fit: cover;
  border: 2px solid #1c6b3c;
  padding: 3px;
}

/* Unit Title */
.unit-title {
  color: #1c6b3c;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Sidebar */
.sidebar {
  background: #efefef;
  padding: 20px;
  border-radius: 8px;
}

.sidebar h5 {
  color: #1c6b3c;
  margin-bottom: 15px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  background: #e2e2e2;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
}

.sidebar ul li a {
  text-decoration: none;
  color: #1c6b3c;
  font-weight: 500;
  display: block;
}


/* ===============================
   GALLERY SCROLLING
================================= */
.districtGallery {
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
}

.gallery-card {
    width: 100%;
    height: 420px;
    position: relative;
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-caption {

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;

    padding: 16px;

    color: #fff;
    font-size: 16px;
    font-weight: 600;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        transparent
    );
}

/* News page links */
.latest-one-news-text h3 a,
.latest-two-news-text h3 a,
.other-news-text h3 a{
    color:#056839;
    text-decoration:none;
}

.latest-one-news-text h3 a:hover,
.latest-two-news-text h3 a:hover,
.other-news-text h3 a:hover{
    color:#044f2c;
    text-decoration:none;
}

/* ===============================
   Recent Posts (View News Details)
================================ */

.recent-post-link{
    color:#056839 !important;
    text-decoration:none !important;
    font-weight:600;
    display:block;
    transition:.3s;
}

.recent-post-link:hover{
    color:#044f2c !important;
    text-decoration:none !important;
}

.news-details-page h2.fw-bold{
    color:#056839;
}
.news-title{
    color:#056839;
}