/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}

/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
    background: #06793E;
    color: #FFFFFF;
}

.back-to-top:hover {
    background: #CDAF0D;
    color: #4C2727;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
    background: #06793E;
    border-color: #06793E;
    color: #FFFFFF;
}

.btn:hover {
    background: #CDAF0D;
    border-color: #CDAF0D;
    color: #4C2727;
}

.btn-primary {
    background: #06793E !important;
    border-color: #06793E !important;
    color: #FFFFFF !important;
}

.btn-primary:hover {
    background: #CDAF0D !important;
    border-color: #CDAF0D !important;
    color: #4C2727 !important;
}

.btn-secondary {
    background: #CDAF0D;
    border-color: #CDAF0D;
    color: #4C2727;
}

.btn-secondary:hover {
    background: #06793E;
    border-color: #06793E;
    color: #FFFFFF;
}

.btn-outline-primary {
    border-color: #06793E;
    color: #06793E;
}

.btn-outline-primary:hover {
    background: #06793E;
    color: #FFFFFF;
}

.btn-outline-secondary {
    border-color: #CDAF0D;
    color: #CDAF0D;
}

.btn-outline-secondary:hover {
    background: #CDAF0D;
    color: #4C2727;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-hover-bg {
    transition: 0.5s;
}

.btn-hover-bg:hover {
    background: #CDAF0D !important;
    color: #4C2727 !important;
}

.btn-hover-color {
    transition: 0.5s;
}

.btn-hover-color:hover {
    color: #CDAF0D !important;
}

/* Accent buttons */
.btn-accent-red {
    background: #9C4B38;
    border-color: #9C4B38;
    color: #FFFFFF;
}

.btn-accent-red:hover {
    background: #CDAF0D;
    border-color: #CDAF0D;
    color: #4C2727;
}

/*** Button End ***/

/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: #06793E !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
    color: #FFFFFF;
}

.topbar a:hover,
.topbar a i:hover {
    color: #CDAF0D !important;
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/*** Topbar End ***/

.typewriter-heading {
    font-size: 4rem;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    width: 0;
    animation: typing 4s steps(30) forwards;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.carousel-item.active .typewriter-heading {
    animation: typing 4s steps(30) forwards;
    width: 0;
}

/*** Navbar Start ***/
.navbar {
    padding: 0;
    background: linear-gradient(to bottom, rgba(6, 121, 62, 0.7), #CDAF0D) !important;
}

.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
    color: #4C2727;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top.bg-white .navbar .navbar-nav .nav-link:hover,
.sticky-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: #06793E;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

@media (max-width: 1200px) {
    .navbar .collapse.navbar-collapse .btn-hover-bg.btn {
        margin-bottom: 20px;
    }
}

.dropdown .dropdown-menu a:hover {
    background: #1D66B6;
    color: #4C2727;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: #FFFFFF !important;
    transition: .5s;
    opacity: 1;
}

/*** Navbar End ***/

/*** Carousel Start ***/
/* ========================================== MOPANI CAROUSEL DESIGN ========================================== */
.carousel-header #carouselId .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 80px 5% 40px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background: linear-gradient(rgba(6, 121, 62, 0.4), rgba(76, 39, 39, 0.4));
}

/* ========================================== LEFT CONTENT ========================================== */
.carousel-content {
    max-width: 700px;
    padding: 20px;
}

.carousel-content h4 {
    color: #CDAF0D !important;
    letter-spacing: 4px;
    font-size: 20px;
}

.carousel-content h2 {
    font-size: 75px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px !important;
}

.district-title {
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
}

.motto {
    color: #CDAF0D;
    font-size: 32px;
    font-style: italic;
    margin-top: 10px;
}

/* ========================================== BUTTONS ========================================== */
.carousel-content .btn-primary {
    background: #00843D !important;
    border: 2px solid #00843D !important;
    font-weight: 700;
    padding: 14px 28px !important;
}

.carousel-content .btn-primary:hover {
    background: #CDAF0D !important;
    border-color: #CDAF0D !important;
    color: #003B20 !important;
}

.carousel-content .btn-warning {
    background: #CDAF0D !important;
    border: 2px solid #CDAF0D !important;
    font-weight: 700;
    padding: 14px 28px !important;
}

.carousel-content .btn-warning:hover {
    background: #FFFFFF !important;
    border-color: #FFFFFF !important;
    color: #003B20 !important;
}

/* ========================================== VISION & MISSION CARD ========================================== */
.vision-mission-card {
    width: 360px;
    background: rgba(0, 70, 38, 0.95);
    border: 1px solid rgba(245, 196, 0, 0.6);
    border-radius: 15px;
    padding: 30px;
    margin-right: 4%;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.vm-item {
    padding: 5px 0 10px 0;
}

.vm-item h5 {
    color: #CDAF0D;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
}

.vm-item h5 i {
    font-size: 18px;
}

.vm-item p {
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

.vm-divider {
    height: 1px;
    background: rgba(245, 196, 0, 0.5);
    margin: 20px 0;
}

/* ========================================== READ MORE BUTTON ========================================== */
.vision-mission-card .read-more {
    display: inline-block;
    background: #CDAF0D;
    color: #003B20;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    transition: 0.3s;
}

.vision-mission-card .read-more:hover {
    background: #FFFFFF;
    color: #006B32;
}

/* ========================================== MOBILE ========================================== */
@media (max-width: 991px) {
    .carousel-header #carouselId .carousel-inner .carousel-item .carousel-caption {
        justify-content: center;
        text-align: center;
        padding: 100px 20px 40px;
        overflow-y: auto;
    }

    .carousel-content {
        max-width: 100%;
    }

    .carousel-content h2 {
        font-size: 55px;
    }

    .district-title {
        font-size: 25px;
    }

    .motto {
        font-size: 25px;
    }

    .vision-mission-card {
        display: none;
    }

    .carousel-content .d-flex {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .carousel-content h4 {
        font-size: 15px;
        letter-spacing: 2px;
    }

    .carousel-content h2 {
        font-size: 45px;
    }

    .district-title {
        font-size: 20px;
    }

    .motto {
        font-size: 22px;
    }

    .carousel-content p {
        font-size: 15px !important;
    }

    .carousel-content .btn {
        padding: 11px 18px !important;
        font-size: 13px;
    }
}
/* ========================================== MOBILE FIX ========================================== */
@media (max-width: 991px) {

    .carousel-header {
        height: auto !important;
        min-height: 100vh;
        position: relative;
    }

    .carousel-header #carouselId .carousel-inner .carousel-item {
        height: auto;
        min-height: 100vh;
        position: relative;
    }

    /* Make the video cover the entire carousel height */
    .carousel-header #carouselId .carousel-inner .carousel-item video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }

    .carousel-header #carouselId .carousel-inner .carousel-item .carousel-caption {
        position: relative;
        z-index: 1;
        height: auto;
        min-height: 100vh;
        padding: 120px 20px 50px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        background: linear-gradient(rgba(6, 121, 62, 0.55), rgba(76, 39, 39, 0.55));
        gap: 30px;
    }

    .carousel-content {
        max-width: 100%;
        padding: 0 10px;
        order: 1;
    }

    .carousel-content h4 {
        font-size: 16px;
        letter-spacing: 3px;
        margin-bottom: 8px !important;
    }

    .carousel-content h2 {
        font-size: 48px;
        line-height: 1.1;
        margin-bottom: 5px !important;
    }

    .district-title {
        font-size: 22px;
        margin-bottom: 5px;
    }

    .motto {
        font-size: 22px;
        margin-top: 5px;
        margin-bottom: 15px;
    }

    .carousel-content p {
        font-size: 15px !important;
        line-height: 1.5;
        margin-bottom: 20px !important;
    }

    .carousel-content .d-flex {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 10px;
    }

    .carousel-content .btn {
        margin: 0 !important;
        padding: 12px 22px !important;
        font-size: 14px;
    }

    /* Vision & Mission Card */
    .vision-mission-card {
        display: block !important;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        padding: 22px 18px;
        order: 2;
    }

    .vm-item h5 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .vm-item p {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {

    .carousel-header #carouselId .carousel-inner .carousel-item .carousel-caption {
        padding: 110px 15px 40px;
        gap: 25px;
    }

    .carousel-content h2 {
        font-size: 36px;
    }

    .district-title {
        font-size: 18px;
    }

    .motto {
        font-size: 18px;
    }

    .carousel-content p {
        font-size: 14px !important;
    }

    .carousel-content .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .carousel-content .btn {
        width: 100%;
        max-width: 280px;
    }

    .vision-mission-card {
        max-width: 100%;
        padding: 18px 15px;
    }
}

@media (max-width: 400px) {
    .carousel-content h2 {
        font-size: 32px;
    }

    .district-title {
        font-size: 16px;
    }

    .motto {
        font-size: 16px;
    }
}
/*** Carousel End ***/



/* ==========================================
   MUNICIPAL SERVICES
========================================== */
/* ===== Municipal Services Section ===== */
.municipal-services {
 background: linear-gradient(to bottom right, #f8f9f5, #f1f5e9);

}

.municipal-services .section-title {
  color: #CDAF0D;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 0;
}

.municipal-services .section-title .line {
  display: inline-block;
  width: 60px;
  height: 2px;
  background: #06793E;
}

/* Grid - 6 cards in one horizontal line */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e8f0eb;
  border-radius: 12px;
  padding: 30px 18px 28px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(6, 121, 62, 0.05);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(6, 121, 62, 0.12);
  border-color: #06793E;
}

.service-card .service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background: rgba(6, 121, 62, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06793E;
  font-size: 24px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: #06793E;
  color: #ffffff;
}

.service-card h5 {
  color: #06793E;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.service-card p {
  color: #555;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .municipal-services .section-title {
    font-size: 1.3rem;
    gap: 12px;
  }
  
  .municipal-services .section-title .line {
    width: 40px;
  }
}

.municipal-services-container {
    margin-top: 80px;
}

/* Mobile */
@media (max-width: 991px) {
    .municipal-services-container {
        margin-top: 40px;   /* smaller on tablets */
    }
}

@media (max-width: 576px) {
    .municipal-services-container {
        margin-top: 30px;   /* even smaller on phones */
    }
}
/*** municipal services end***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    padding: 100px 0 0 0;   /* keep your original padding if you want */
}

.breadcrumb-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Dark green overlay (same colors you had before) */
.bg-breadcrumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(37, 86, 62, 0.6), rgba(7, 73, 32, 0.6));
    z-index: 1;
}

/* Make sure the content stays above the video + overlay */
.bg-breadcrumb .container {
    position: relative;
    z-index: 2;
}
/*** Single Page Hero Header End ***/

/*** About Start ***/
/* ===== About Mopani + Executive Mayor Section ===== */
.about-mayor-section {
  background: linear-gradient(to bottom right, #f8f9f5, #f1f5e9);
  padding-top: 50px;
  padding-bottom: 50px;
}

/* LEFT BOX */
.about-box {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(6, 121, 62, 0.08);
  border: 1px solid #e8f0eb;
}

.mayor-photo {
    height: 100%;
    min-height: 320px;
}

.mayor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Mobile */
@media (max-width: 767px) {
    .mayor-photo {
        min-height: 370px;
        height: 370px;
    }

    .mayor-photo img {
        height: 370px;
        object-fit: cover;
        object-position: top center;
    }
}

.about-content {
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.about-content h6 {
    color: #06793E;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.about-content h3 {
    color: #06793E;
    font-weight: 700;
    font-size: 1.55rem;
    line-height: 1.3;
}

.about-content p {
    color: #555;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-outline-green {
    display: inline-block;
    padding: 7px 16px;
    border: 1.5px solid #06793E;
    color: #06793E;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-green:hover {
    background: #06793E;
    color: #fff;
}

.read-more-link {
    color: #06793E;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    margin-top: 8px;
    transition: 0.3s;
}

.read-more-link:hover {
    color: #CDAF0D;
}


/* =========================================
   MOBILE RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 767px) {

    .about-content {
        padding: 22px 18px;
        height: auto;
        display: block;
    }

    .about-content h6 {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .about-content h3 {
        font-size: 1.3rem;
        line-height: 1.35;
        margin-bottom: 12px;
    }

    .about-content p {
        font-size: 13.5px;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .about-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .btn-outline-green {
        width: 100%;
        text-align: center;
        padding: 8px 12px;
        font-size: 13px;
        box-sizing: border-box;
    }

    .read-more-link {
        display: inline-block;
        font-size: 13px;
        margin-top: 12px;
    }
}


/* =========================================
   VERY SMALL DEVICES
   ========================================= */

@media (max-width: 400px) {

    .about-content {
        padding: 18px 15px;
    }

    .about-content h6 {
        font-size: 11px;
    }

    .about-content h3 {
        font-size: 1.15rem;
        line-height: 1.3;
    }

    .about-content p {
        font-size: 13px;
        line-height: 1.55;
    }

    .btn-outline-green {
        font-size: 12.5px;
        padding: 7px 10px;
    }

    .read-more-link {
        font-size: 12.5px;
    }
}

/* RIGHT BOX – Executive Mayor */
.mayor-box {
  background: #f8f1e3;               /* soft beige like the screenshot */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(6, 121, 62, 0.08);
  border: 1px solid #f0e6d4;
}

.mayor-box-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px 30px;
  height: 100%;
  min-height: 320px;
}

.mayor-text h6 {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.mayor-text h3 {
  color: #06793E;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.mayor-text p {
  color: #555;
  font-size: 14.5px;
  line-height: 1.5;
}

.btn-mayor {
  display: inline-block;
  background: #06793E;
  color: #fff;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-mayor:hover {
  background: #CDAF0D;
  color: #fff;
}

.mayor-coat img {
  max-width: 160px;
  height: auto;
}

/* Responsive */
@media (max-width: 991.98px) {
  .mayor-photo {
    min-height: 280px;
  }
  .mayor-box-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    padding: 30px 25px;
  }
  .mayor-coat img {
    max-width: 140px;
  }
}

@media (max-width: 767.98px) {
  .about-content {
    padding: 25px 20px;
  }
  .about-content h3 {
    font-size: 1.35rem;
  }
}

/* ===== Modal Base Styles ===== */
.mopani-modal-header {
  background: #06793E;
  border-bottom: none;
  padding: 16px 20px;
}

.modal-content {
  border-radius: 14px;
  overflow: hidden;
}

.modal-title {
  font-weight: 700;
  font-size: 17px;
}

.modal-text {
  font-size: 15.5px;
  line-height: 1.7;
  color: #333;
}

.btn-mopani {
  background: #06793E;
  color: #fff !important;
  border: none;
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-mopani:hover {
  background: #CDAF0D;
  color: #fff !important;
}

/* Values List */
.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.values-list li {
  padding: 11px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  color: #333;
  display: flex;
  align-items: center;
}

.values-list li:last-child {
  border-bottom: none;
}

.values-list li strong {
  color: #06793E;
}

.values-list .text-success {
  color: #06793E !important;
}

/* ===== Mobile Improvements ===== */
@media (max-width: 575.98px) {
  .modal-dialog {
    margin: 12px;
  }

  .modal-content {
    border-radius: 12px;
  }

  .modal-header {
    padding: 14px 16px;
  }

  .modal-title {
    font-size: 16px;
  }

  .modal-body {
    padding: 18px 16px !important;
  }

  .modal-text {
    font-size: 14.5px;
  }

  .values-list li {
    font-size: 14.5px;
    padding: 10px 0;
  }

  .btn-mopani {
    width: 100%;
    padding: 12px;
    font-size: 15px;
  }

  /* Make About buttons stack nicely on very small screens */
  .about-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .about-buttons .btn-outline-green {
    flex: 1 1 auto;
    text-align: center;
    min-width: 90px;
  }
}

/* Prevent body scroll issues on mobile when modal is open */
body.modal-open {
  overflow: hidden;
  padding-right: 0 !important;
}
/*** About End ***/
/*** announcement Start ***/
.blog {
    background: linear-gradient(to bottom right, #f8f9f5, #f1f5e9);
    margin-top: -100px;
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    height: 160px;
}

.blog .blog-item .blog-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.blog .blog-item .blog-img .blog-info {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 10px 12px;
    background: rgba(6, 121, 62, 0.25);
    color: #FFFFFF !important;
    display: flex;
    align-items: end;
    justify-content: space-between;
    transition: 0.5s;
    font-size: 12px;
}

.blog .blog-item .blog-img:hover .blog-info {
    background: rgba(6, 121, 62, 0.85);
}

.blog .blog-item .blog-img .search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
    color: #CDAF0D;
}

.blog .blog-item .blog-img:hover img {
    transform: scale(1.3);
}

.blog .blog-item .blog-img:hover .search-icon {
    opacity: 1;
}

.blog .blog-item .blog-img .search-icon i {
    font-size: 14px;
    padding: 8px !important;
}

.blog .blog-item .text-dark {
    background: #ffffff;
    border: 1px solid #e8f0eb !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px;
    transition: all 0.3s ease;
    padding: 12px 14px !important;
}

.blog .blog-item:hover .text-dark {
    border-color: #06793E !important;
    box-shadow: 0 8px 25px rgba(6, 121, 62, 0.12);
}

.blog .blog-item h6 {
    font-size: 15px;
    font-weight: 700;
    color: #06793E;
    margin-bottom: 6px !important;
    line-height: 1.3;
}

.blog .blog-item:hover h6 {
    color: #CDAF0D;
}

.blog .blog-item p.small {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px !important;
    color: #555;
}

.blog .blog-item .btn-primary {
    background-color: #06793E !important;
    border-color: #06793E !important;
    font-size: 12px;
    padding: 4px 12px !important;
}

.blog .blog-item .btn-primary:hover {
    background-color: #CDAF0D !important;
    border-color: #CDAF0D !important;
}

.blog .text-primary {
    color: #CDAF0D !important;
}

/* Vertical Divider */
.vertical-divider {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #06793E, #CDAF0D, #06793E, transparent);
    min-height: 480px;
}

/* Announcements Box */
.announcement-box {
    background: #fff;
    border: 1px solid #e8f0eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(6, 121, 62, 0.08);
}

.announcement-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid #e8f0eb;
    transition: all 0.3s ease;
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item:hover {
    background: rgba(6, 121, 62, 0.04);
}

.announcement-date {
    min-width: 52px;
    height: 52px;
    background: #06793E;
    color: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1.1;
}

.announcement-date .day {
    font-size: 18px;
}

.announcement-date .month {
    font-size: 11px;
    text-transform: uppercase;
    color: #CDAF0D;
}

.announcement-content h6 {
    color: #06793E;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 15px;
}

.announcement-content p {
    color: #555;
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.announcement-content a {
    color: #CDAF0D;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.announcement-content a:hover {
    color: #06793E;
}

/*** announcement End ***/

/*** Service Start ***/
/* Section title accent */
.section-title-primary {
    color: #CDAF0D !important;
}

/* Vertical Divider */
.vertical-divider-2 {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #06793E, #CDAF0D, #06793E, transparent);
    min-height: 480px;
}

/* Notice Board / Announcements container */
.notice-board {
    background: #fff;
    border: 1px solid #e8f0eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(6, 121, 62, 0.08);
}

.notice-board-header {
    background: #06793E;
    color: #fff;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notice-board-header h4 {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
}

.notice-board-header i {
    color: #CDAF0D;
    font-size: 22px;
}

/* Announcement Photo Cards */

.service {
    background: linear-gradient(to bottom right, #f8f9f5, #f1f5e9);
    margin-top: -150px;
}

.announcement-photo-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8f0eb;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.announcement-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(6, 121, 62, 0.15);
    border-color: #06793E;
}

.announcement-img {
    position: relative;
    height: 130px;
    overflow: hidden;
}

.announcement-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.announcement-photo-card:hover .announcement-img img {
    transform: scale(1.1);
}

.announcement-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
}

.announcement-overlay .badge {
    background: #06793E;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.announcement-body {
    padding: 14px 12px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.announcement-body h6 {
    color: #06793E;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.announcement-body .btn-read-more {
    display: inline-flex;
    align-items: center;
    color: #CDAF0D;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: 0.3s;
}

.announcement-body .btn-read-more:hover {
    color: #06793E;
}

.announcement-body .btn-read-more i {
    font-size: 11px;
    transition: transform 0.3s;
}

.announcement-body .btn-read-more:hover i {
    transform: translateX(4px);
}

/* Calendar */
.calendar-box {
    background: #fff;
    border: 1px solid #e8f0eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(6, 121, 62, 0.08);
}

.calendar-header {
    background: #06793E;
    color: #fff;
    padding: 18px 20px;
    text-align: center;
}

.calendar-header h4 {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
}

.calendar-header .month-year {
    color: #CDAF0D;
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
}

.calendar-body {
    padding: 15px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    color: #06793E;
    margin-bottom: 10px;
    font-size: 13px;
}

.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}

.calendar-dates span {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: 0.25s;
}

.calendar-dates span:hover {
    background: rgba(6, 121, 62, 0.12);
    color: #06793E;
}

.calendar-dates .today {
    background: #06793E;
    color: #fff !important;
    font-weight: 700;
}

.calendar-dates .event {
    background: #CDAF0D;
    color: #fff !important;
    font-weight: 600;
}

.calendar-dates .empty {
    visibility: hidden;
}

.calendar-footer {
    padding: 12px 20px 18px;
    border-top: 1px solid #e8f0eb;
    text-align: center;
}

.calendar-footer a {
    color: #06793E;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.calendar-footer a:hover {
    color: #CDAF0D;
}

/*** Service End ***/

/* ===== Local Municipalities + Important Contacts ===== */
.local-contacts-section {
    background: linear-gradient(to bottom right, #f8f9f5, #f1f5e9);
  padding-top: 40px;
  padding-bottom: 50px;
  padding-right: 150px;
}

.section-box {
  background: #ffffff;
  border: 1px solid #e8f0eb;
  border-radius: 12px;
  padding: 25px 28px;
  box-shadow: 0 4px 15px rgba(6, 121, 62, 0.06);
  height: 100%;
}

.section-heading {
  color: #06793E;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Local Municipalities Logos */

.local-contacts-section .section-box {
    width: 670px;

}

.municipalities-logos {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.muni-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 90px;
}

.muni-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 10px;
}

.muni-item span {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  text-transform: uppercase;
}


/* Municipality name link */
.muni-name {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    
    color:#555;
    font-weight:normal;
    border-radius: 1px;
    transition: all 0.25s ease;
   font-size: 12px;
}
.policy-card {
    transition: transform 0.2s ease;
    cursor: pointer;
}

.policy-card:hover {
    transform: translateY(-3px);
}

.policy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.policy-card:hover .policy-overlay {
    opacity: 1;
}
/* Hover only on the name */
.muni-name:hover {
    background-color: #06793E;   /* Mopani green block */
    color: #ffffff;
}
/* Important Contacts */



.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 25px;
  

}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: rgba(6, 121, 62, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06793E;
  font-size: 15px;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-text .label {
  font-size: 12.5px;
  color: #555;
  font-weight: 500;
}

.contact-text .number {
  font-size: 14px;
  color: #06793E;
  font-weight: 700;
}

/* Responsive */

@media(max-width: 1199.98px) {
  .local-contacts-section .section-box{
    width: 100%;
    margin-top: 60px;
  }
    
}
@media (max-width: 991.98px) {
  .municipalities-logos {
    justify-content: center;
  }
  .muni-item {
    min-width: 110px;
  }
}

@media (max-width: 575.98px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .muni-item img {
    width: 60px;
    height: 60px;
  }
}

/*** emergency services end ***/


/*** Footer Start ***/
/* ===== Modern Mopani Footer ===== */
.mopani-footer {
  background: linear-gradient(135deg, #045a2e 0%, #06793E 50%, #056b36 100%);
  color: #ffffff;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative shape */
.mopani-footer::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 280px;
  height: 280px;
  background: rgba(184, 133, 45, 0.08);
  border-radius: 50%;
}

.mopani-footer::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: rgba(184, 133, 45, 0.06);
  border-radius: 70%;
}

.footer-logo {
  max-height: 55px;
  width: auto;
}

.footer-motto {
  color: #CDAF0D;
  font-style: italic;
  font-size: 20px;
  font-weight: 500;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.6;
}

.footer-heading {
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.6px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background: #CDAF0D;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.footer-links a i {
  font-size: 10px;
  color: #CDAF0D;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #CDAF0D;
  transform: translateX(4px);
}

.footer-links a:hover i {
  color: #fff;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #CDAF0D;
  border-color: #CDAF0D;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(184, 133, 45, 0.35);
}

/* Bottom Bar */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  margin-top: 50px;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.footer-contact {
  font-size: 13px !important;
}

.footer-contact i {
  color: #CDAF0D;
}

/* ===== Force same size for lightbox images ===== */

/* Lightbox2 / classic lightbox */
.lightbox .lb-image {
  max-width: 900px !important;
  max-height: 600px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

.lightbox .lb-outerContainer {
  max-width: 920px !important;
  max-height: 640px !important;
}

/* GLightbox */
.glightbox-container .gslide-image img {
  max-width: 900px !important;
  max-height: 600px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

/* Fancybox */
.fancybox-content {
  max-width: 900px !important;
  max-height: 600px !important;
}

.fancybox-image {
  max-width: 900px !important;
  max-height: 600px !important;
  object-fit: contain;
}

/* Generic fallback for most lightboxes */
.lb-dataContainer,
.lightbox-image,
.modal-body img {
  max-width: 900px !important;
  max-height: 600px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto;
  display: block;
}
.footer-gallery {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 100px;          /* fixed height for all thumbnails */
}

.footer-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* crops evenly so every thumb looks the same */
  transition: transform 0.3s ease;
}

.footer-gallery:hover img {
  transform: scale(1.1);
}

.footer-search-icon {
  position: absolute;
  inset: 0;
  background: rgba(6, 121, 62, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-gallery:hover .footer-search-icon {
  opacity: 1;
}

/* Responsive */
@media (max-width: 767.98px) {
  .mopani-footer {
    padding-top: 45px;
  }
  .footer-heading {
    margin-top: 15px;
  }
  .footer-bottom .text-md-end {
    margin-top: 8px;
  }
}
/*** Footer End ***/

