

/* ===== Services Page start ===== */
.services-page {
  background: #f8faf8;
}

.services-hero {
 background: linear-gradient(to bottom right, #f8f9f5, #f1f5e9);
  padding: 90px 0 70px;
}

.title-line {
  width: 70px;
  height: 3px;
  background: linear-gradient(to right, #06793E, #CDAF0D);
  border-radius: 3px;
}

/* Service Cards */
.service-card-page {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  border: 1px solid #e8f0eb;
  box-shadow: 0 6px 20px rgba(6, 121, 62, 0.07);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.service-card-page:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 32px rgba(6, 121, 62, 0.14);
  border-color: #06793E;
}

.service-icon-page {
  width: 64px;
  height: 64px;
  background: rgba(6, 121, 62, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06793E;
  font-size: 26px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card-page:hover .service-icon-page {
  background: #06793E;
  color: #fff;
}

.service-card-page h5 {
  color: #06793E;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.service-card-page p {
  color: #555;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: #444;
  margin-bottom: 6px;
}

.service-list li::before {
  content: "•";
  color: #CDAF0D;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.btn-service {
  color: #CDAF0D;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-service:hover {
  color: #06793E;
}

.btn-service i {
  font-size: 12px;
  margin-left: 4px;
  transition: transform 0.3s;
}

.btn-service:hover i {
  transform: translateX(4px);
}

/* CTA Box */
.services-cta .cta-box {
  background: linear-gradient(135deg, #06793E, #045a2e);
  border-radius: 16px;
  padding: 45px 30px;
  box-shadow: 0 10px 30px rgba(6, 121, 62, 0.2);
}

.btn-gold {
  background: #CDAF0D;
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-gold:hover {
  background: #a07425;
  color: #fff;
}

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-outline-light:hover {
  background: #fff;
  color: #06793E;
}

/* Responsive */
@media (max-width: 767.98px) {
  .services-hero {
    padding: 70px 0 50px;
  }
  .services-hero h1 {
    font-size: 1.9rem;
  }
}

/* ===== Services Page end ===== */

/*** explore mopani start ***/
/* ===== Explore Mopani Page ===== */
.explore-mopani {
  background: linear-gradient(to bottom right, #f8f9f5, #f1f5e9);
}


.title-line {
  width: 70px;
  height: 3px;
  background: linear-gradient(to right, #06793E, #CDAF0D);
  margin-top: 12px;
  border-radius: 3px;
}

/* Place Cards */
.place-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(6, 121, 62, 0.08);
  border: 1px solid #e8f0eb;
  height: 100%;
  transition: all 0.35s ease;
}

.place-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(6, 121, 62, 0.15);
  border-color: #06793E;
}

.place-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.place-img img {
  width: 100%;
  height: 100%;
  object-fit: auto;
  transition: transform 0.5s ease;
}

.place-card:hover .place-img img {
  transform: scale(1.08);
}

.place-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #06793E;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.place-body {
  padding: 22px 20px 24px;
}

.place-body h5 {
  color: #06793E;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 10px;
}

.place-body p {
  color: #555;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.btn-place {
  color: #CDAF0D;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-place:hover {
  color: #06793E;
}

.btn-place i {
  font-size: 12px;
  margin-left: 4px;
  transition: transform 0.3s;
}

.btn-place:hover i {
  transform: translateX(4px);
}

/* Lodge Cards */
.lodge-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(6, 121, 62, 0.08);
  border: 1px solid #e8f0eb;
  height: 100%;
  transition: all 0.35s ease;
}

.lodge-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(6, 121, 62, 0.15);
}

.lodge-img {
  height: 190px;
  overflow: hidden;
}

.lodge-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lodge-card:hover .lodge-img img {
  transform: scale(1.08);
}

.lodge-body {
  padding: 20px;
}

.lodge-location {
  display: inline-block;
  font-size: 12px;
  color: #CDAF0D;
  font-weight: 600;
  margin-bottom: 6px;
}

.lodge-location i {
  margin-right: 4px;
}

.lodge-body h5 {
  color: #06793E;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.lodge-body p {
  color: #555;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.btn-lodge {
  display: inline-block;
  background: #06793E;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-lodge:hover {
  background: #CDAF0D;
  color: #fff;
}

/* Buttons */
.btn-mopani-primary {
  background: #06793E;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-mopani-primary:hover {
  background: #CDAF0D;
  color: #fff;
}

.btn-mopani-outline {
  border: 2px solid #06793E;
  color: #06793E;
  padding: 10px 26px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-mopani-outline:hover {
  background: #06793E;
  color: #fff;
}

/* Responsive */
@media (max-width: 767.98px) {
  .explore-hero {
    padding: 70px 0 50px;
  }
  .explore-hero h1 {
    font-size: 2rem;
  }
}
/*** explore mopani end ***/
/* Mopani District Municipality Pagination */
.mopani-pagination .page-link {
    color: #06793E;
    border: 2px solid #06793E;
    margin: 0 4px;
    border-radius: 6px !important;
    font-weight: 600;
    min-width: 42px;
    text-align: center;
    transition: all 0.25s ease;
}

.mopani-pagination .page-link:hover {
    background-color: #06793E;
    color: #ffffff;
    border-color: #06793E;
}

.mopani-pagination .page-item.active .page-link {
    background-color: #06793E;
    border-color: #06793E;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.45); /* Gold accent */
}

.mopani-pagination .page-item.disabled .page-link {
    color: #6c757d;
    border-color: #ced4da;
    background-color: #f8f9fa;
}

/* Optional gold hover accent */
.mopani-pagination .page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(232, 185, 35, 0.5);
}
/*view more contacts page*/

:root {
            --mopani-green: #06793E;
            --mopani-gold: #CDAF0D;
            --light-bg: #f7f9f8;
        }

        body {
            background: linear-gradient(to bottom right, #f8f9f5, #f1f5e9);
        }

        .contacts-wrapper {
            background: #ffffff;
            border-radius: 20px;
            padding: 40px 30px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e9ecef;
        }

        .section-header .icon-box {
            width: 52px;
            height: 52px;
            background: linear-gradient(135deg, var(--mopani-green), #0a9b50);
            color: white;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            box-shadow: 0 4px 15px rgba(6, 121, 62, 0.25);
        }

        .section-header h4 {
            margin: 0;
            color: var(--mopani-green);
            font-weight: 700;
            font-size: 1.5rem;
        }

        .contact-card {
            background: var(--light-bg);
            border-radius: 14px;
            padding: 22px 24px;
            height: 100%;
            border-left: 5px solid var(--mopani-green);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .contact-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 80px;
            height: 80px;
            background: radial-gradient(circle, rgba(184, 133, 45, 0.08) 0%, transparent 70%);
            border-radius: 50%;
            transform: translate(30%, -30%);
        }

        .contact-card:hover {
            background: #ffffff;
            box-shadow: 0 8px 25px rgba(6, 121, 62, 0.1);
            transform: translateY(-4px);
        }

        .contact-card h6 {
            color: var(--mopani-green);
            font-weight: 700;
            margin-bottom: 14px;
            font-size: 1.05rem;
        }

        .phone-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
            font-size: 0.95rem;
        }

        .phone-row i {
            color: var(--mopani-gold);
            font-size: 0.9rem;
        }

        .location-tag {
            display: inline-block;
            background: rgba(184, 133, 45, 0.12);
            color: var(--mopani-gold);
            font-size: 0.8rem;
            padding: 2px 10px;
            border-radius: 20px;
            margin-left: 6px;
            font-weight: 500;
        }

        .emergency-card {
            background: linear-gradient(135deg, var(--mopani-green) 0%, #0a9b50 100%);
            border-left: 5px solid var(--mopani-gold);
            color: white;
        }

        .emergency-card h6,
        .emergency-card .phone-row,
        .emergency-card i {
            color: white !important;
        }

        .emergency-card .location-tag {
            background: rgba(255,255,255,0.2);
            color: #fff;
        }

        /* coat of arms page start*/
          body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.75;
            color: #333;
            background: #fff;
        }

        h1 {
            color: #06793E;
            font-weight: 700;
            font-size: 2.2rem;
            border-bottom: 4px solid #CDAF0D;
            padding-bottom: 12px;
            margin-bottom: 40px;
        }

        h2 {
            color: #06793E;
            font-weight: 600;
            font-size: 1.45rem;
            margin: 35px 0 18px;
            border-left: 6px solid #CDAF0D;
            padding-left: 15px;
        }

        .coat-img {
            width: 100%;
            max-width: 100%;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 10px 28px rgba(0,0,0,0.14);
        }

        ul {
            padding-left: 22px;
            margin-bottom: 20px;
        }

        ul li {
            margin-bottom: 12px;
        }

        ul li::marker {
            color: #CDAF0D;
        }

        .intro {
            font-size: 1.1rem;
            margin-bottom: 25px;
        }

        strong {
            color: #06793E;
        }

        em {
            color: #CDAF0D;
            font-style: italic;
        }
        /* coat of arms page end */

        /* about us page start */
          body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.7;
            color: #333;
             background: linear-gradient(to bottom right, #f8f9f5, #f1f5e9);
        }
        h1, h2, h3 {
            color: #06793E;
            font-weight: 600;
        }
        h1 {
            border-bottom: 3px solid #CDAF0D;
            padding-bottom: 10px;
            margin-bottom: 40px;
        }
        h2 {
            margin-bottom: 20px;
            border-left: 5px solid #CDAF0D;
            padding-left: 15px;
        }
        .section-img {
            width: 100%;
            height: 320px;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.12);
        }
        ul {
            padding-left: 20px;
        }
        ul li {
            margin-bottom: 10px;
        }
        .highlight {
            color: #CDAF0D;
            font-weight: 600;
        }
        .intro {
            font-size: 1.1rem;
        }
        .content-block {
            margin-bottom: 60px;
        }
        .content-block p, .content-block ul {
            margin-bottom: 0;
        }
        /* about us page end */

        /* counsil page start */

           body {
            font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background: linear-gradient(to bottom right, #f8f9f5, #f1f5e9);
            color: #333333;
            line-height: 1.6;
        }
        .section-title {
            text-align: center;
            color: #06793E;
            font-weight: 700;
            font-size: 1.75rem;
            margin: 55px 0 30px;
            position: relative;
        }
        .section-title::after {
            content: '';
            display: block;
            width: 50px;
            height: 3px;
            background: #CDAF0D;
            margin: 12px auto 0;
            border-radius: 2px;
        }

        /* ===== LEADER CARD STYLE ===== */
        .leader-card {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            height: 380px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.12);
            transition: all 0.35s ease;
        }
        .leader-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 18px 35px rgba(6, 121, 62, 0.18);
        }
        .leader-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top center;
            display: block;
        }
        .leader-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: transparent;
            backdrop-filter: blur(6px);
            color: #ffffff;
            padding: 18px 16px;
            text-align: center;
        }
        .leader-info h5 {
            margin: 0 0 4px;
            font-size: 1.15rem;
            font-weight: 700;
            color: #ffffff;
            background: rgba(0,0,0,0.4);
        }
        .leader-info .badge-role {
            display: inline-block;
            background: #CDAF0D;
            color: #fff;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            padding: 3px 12px;
            border-radius: 20px;
            margin-bottom: 8px;
        }
        .leader-info .ward {
            font-size: 0.85rem;
            opacity: 0.9;
            margin-bottom: 4px;
        }
        .leader-info .phone {
            font-size: 0.9rem;
            font-weight: 500;
        }
        .leader-info .phone i {
            color: #CDAF0D;
            margin-right: 4px;
        }

        /* ===== MAYOR SECTION (COMPACT) ===== */
        .mayor-wrapper {
            background: white;
            border-radius: 14px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.08);
            overflow: hidden;
            margin-bottom: 40px;
            max-width: 90%;
        }
        .mayor-photo {
            height: 450px !important;          /* decreased height */
            min-height: 320px !important;
        }
        .mayor-content {
            padding: 20px 20px;                /* less padding */
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            max-width: 400px;
        }
        .mayor-content .intro-text {
            font-size: 0.92rem;
            color: #444;
            line-height: 1.6;
            margin-bottom: 18px;
        }
        .view-more-btn {
            background: #CDAF0D;
            color: white !important;
            border: none;
            border-radius: 25px;
            padding: 9px 22px;
            font-size: 0.88rem;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            width: fit-content;
        }
        .view-more-btn:hover {
            background: #a07425;
            transform: translateY(-2px);
            box-shadow: 0 5px 14px rgba(184, 133, 45, 0.3);
        }

        /* Modal Styling */
        #mayorModal .modal-content {
            border-radius: 16px;
            border: none;
            overflow: hidden;
        }
        #mayorModal .modal-header {
            background: linear-gradient(135deg, #06793E, #0a9a4f);
            color: white;
            border-bottom: none;
            padding: 16px 22px;
        }
        #mayorModal .modal-header .btn-close {
            filter: brightness(0) invert(1);
        }
        #mayorModal .modal-title {
            font-weight: 700;
            font-size: 1.2rem;
        }
        #mayorModal .modal-body {
            padding: 24px 26px;
            max-height: 68vh;
            overflow-y: auto;
        }
        #mayorModal .intro-text {
            font-size: 0.93rem;
            color: #444;
            margin-bottom: 20px;
            line-height: 1.6;
            border-bottom: 1px dashed #ddd;
            padding-bottom: 16px;
        }
        #mayorModal .duties-heading {
            color: #06793E;
            font-weight: 700;
            font-size: 1.05rem;
            margin-bottom: 12px;
        }
        #mayorModal .duties-list {
            padding-left: 18px;
            margin-bottom: 0;
        }
        #mayorModal .duties-list > li {
            margin-bottom: 9px;
            font-size: 0.91rem;
            line-height: 1.5;
            color: #333;
        }
        #mayorModal .duties-list ul {
            margin-top: 5px;
            margin-bottom: 5px;
            padding-left: 18px;
        }
        #mayorModal .duties-list ul li {
            margin-bottom: 3px;
            font-size: 0.88rem;
        }
        #mayorModal .deputy-note {
            margin-top: 22px;
            padding: 12px 16px;
            background: linear-gradient(135deg, #f8f5ee 0%, #f1ebe0 100%);
            border-radius: 10px;
            font-size: 0.88rem;
            color: #5a4a2a;
            border-left: 4px solid #CDAF0D;
        }

        /* Connecting Lines */
        .timeline-line {
            width: 2px;
            background: linear-gradient(180deg, #06793E 0%, rgba(6, 121, 62, 0.2) 100%);
            height: 35px;
            margin: 10px auto;
            border-radius: 2px;
        }
        .more-btn {
            background: #CDAF0D;
            color: #ffffff;
            border: none;
            padding: 12px 32px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 0.95rem;
            margin: 40px auto 20px;
            display: inline-block;
            box-shadow: 0 4px 12px rgba(184, 133, 45, 0.3);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        .more-btn:hover {
            background: #a07425;
            color: #ffffff;
            transform: translateY(-2px);
        }
        .main-container {
            max-width: 1140px;
            margin: 0 auto;
            padding: 50px 20px;
        }
        /* counsil page end */

        /* demographics page start */

               body {
            font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background: linear-gradient(to bottom right, #f8f9f5, #f1f5e9);
            color: #333333;
            line-height: 1.7;
        }
        .section-title {
            text-align: center;
            color: #06793E;
            font-weight: 700;
            font-size: 1.75rem;
            margin: 50px 0 25px;
            position: relative;
        }
        .section-title::after {
            content: '';
            display: block;
            width: 50px;
            height: 3px;
            background: #CDAF0D;
            margin: 12px auto 0;
            border-radius: 2px;
        }
        .content-card {
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            padding: 35px 40px;
            margin-bottom: 40px;
            border-left: 5px solid #06793E;
        }
        .content-card h4 {
            color: #06793E;
            font-weight: 700;
            font-size: 1.25rem;
            margin-bottom: 18px;
            padding-bottom: 10px;
            border-bottom: 2px solid #CDAF0D;
            display: inline-block;
        }
        .content-card p {
            font-size: 0.97rem;
            color: #444;
            margin-bottom: 18px;
            text-align: justify;
        }
        .content-card p:last-child {
            margin-bottom: 0;
        }
        .highlight-box {
            background: linear-gradient(135deg, #f8f5ee 0%, #f1ebe0 100%);
            border-left: 4px solid #CDAF0D;
            padding: 16px 20px;
            border-radius: 10px;
            margin: 25px 0;
            font-size: 0.95rem;
            color: #5a4a2a;
        }
        .main-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 50px 20px;
        }
        .intro-text {
            font-size: 1.05rem;
            color: #333;
            margin-bottom: 10px;
        }
        /* demographics page end */
        /* heritage page start */
             body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.75;
            color: #333;
            background: #fff;
        }

        h1 {
            color: #06793E;
            font-weight: 700;
            font-size: 2.2rem;
            border-bottom: 4px solid #CDAF0D;
            padding-bottom: 12px;
            margin-bottom: 40px;
        }

        h2 {
            color: #06793E;
            font-weight: 600;
            font-size: 1.5rem;
            margin: 40px 0 18px;
            border-left: 6px solid #CDAF0D;
            padding-left: 15px;
        }

        .section-img {
            width: 100%;
            height: 320px;
            object-fit: cover;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        }

        .content-block {
            margin-bottom: 60px;
        }

        .intro {
            font-size: 1.1rem;
            margin-bottom: 20px;
        }

        ul {
            padding-left: 22px;
        }

        ul li {
            margin-bottom: 10px;
        }

        ul li::marker {
            color: #CDAF0D;
        }

        strong {
            color: #06793E;
        }
        /* heritage page end */

        /* location page start */
          body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.75;
            color: #333;
            background: #fff;
        }

        h1 {
            color: #06793E;
            font-weight: 700;
            font-size: 2.2rem;
            border-bottom: 4px solid #CDAF0D;
            padding-bottom: 12px;
            margin-bottom: 40px;
        }

        h2 {
            color: #06793E;
            font-weight: 600;
            font-size: 1.5rem;
            margin: 35px 0 18px;
            border-left: 6px solid #CDAF0D;
            padding-left: 15px;
        }

        .section-img {
            width: 100%;
            height: 340px;
            object-fit: cover;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        }

        .content-block {
            margin-bottom: 60px;
        }

        .intro {
            font-size: 1.1rem;
            margin-bottom: 18px;
        }

        ul {
            padding-left: 22px;
        }

        ul li {
            margin-bottom: 10px;
        }

        ul li::marker {
            color: #CDAF0D;
        }

        strong {
            color: #06793E;
        }

        .info-box {
            background: #f8faf8;
            border-left: 5px solid #CDAF0D;
            padding: 18px 22px;
            border-radius: 8px;
            margin: 25px 0;
        }
        /*location page end */

        :root {
    --blouberg-gold: #CDAF0D;
    --blouberg-green: #06793E;
}

.tenders-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
}

.tenders-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.tenders-header h2 {
    font-weight: 800;
    color: #111;
    position: relative;
    display: inline-block;
    font-size: 2.2rem;
}
.tenders-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--blouberg-gold);
    border-radius: 2px;
}
.tenders-header p {
    color: #666;
    margin-top: 1.2rem;
}

/* Search */
.search-box {
    max-width: 520px;
    margin: 0 auto 2.5rem;
}
.search-box .form-control {
    border-radius: 50px 0 0 50px;
    border: 1px solid #ddd;
    padding: 0.7rem 1.4rem;
    box-shadow: none;
}
.search-box .btn-search {
    border-radius: 0 50px 50px 0;
    background: var(--blouberg-gold);
    border: none;
    color: #111;
    font-weight: 600;
    padding: 0.7rem 1.8rem;
}
.search-box .btn-search:hover {
    background: #b89a0b;
    color: #111;
}

/* Tabs */
.tenders-tabs {
    border-bottom: 2px solid #eee;
    margin-bottom: 1.5rem;
}
.tenders-tabs .nav-link {
    border: none;
    color: #555;
    font-weight: 600;
    padding: 0.75rem 1.6rem;
    border-radius: 8px 8px 0 0;
    margin-right: 4px;
    cursor: pointer;
}
.tenders-tabs .nav-link.active {
    background: var(--blouberg-gold);
    color: #111;
}
.tenders-tabs .nav-link:not(.active):hover {
    color: var(--blouberg-green);
}

/* Show entries */
.show-entries {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
}
.show-entries select {
    width: 70px;
    display: inline-block;
    margin: 0 6px;
}

/* Table */
.tenders-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.tenders-table thead th {
    background: var(--blouberg-gold) !important;
    color: #111;
    font-weight: 700;
    border: none;
    padding: 1rem 1.1rem;
    font-size: 0.95rem;
}
.tenders-table tbody td {
    vertical-align: middle;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}
.tenders-table tbody tr:last-child td {
    border-bottom: none;
}
.tenders-table tbody tr:hover {
    background-color: #fafafa;
}
.file-icon {
    color: #e74c3c;
    font-size: 1.3rem;
}
.closing-date {
    font-weight: 600;
    color: var(--blouberg-green);
    white-space: nowrap;
}
.upload-date {
    font-weight: 600;
    color: var(--blouberg-green);
    white-space: nowrap;
}
/* Pagination */
.pagination-info {
    color: #666;
    font-size: 0.9rem;
}
.pagination .page-item.active .page-link {
    background-color: var(--blouberg-gold);
    border-color: var(--blouberg-gold);
    color: #111;
    font-weight: 700;
}
.pagination .page-link {
    color: #333;
    border-radius: 6px;
    margin: 0 3px;
    border: 1px solid #ddd;
}
.pagination .page-link:hover {
    background-color: #f0f0f0;
    color: var(--blouberg-green);
}
.pagination .page-item.disabled .page-link {
    color: #aaa;
}

#archived-tenders {
    display: none;
}

.search-group {
    position: relative;
}

.search-group .btn-clear {
    position: absolute;
    top: 50%;
    right: 92px;              /* sits just left of the Search button */
    transform: translateY(-50%);
    z-index: 5;
    width: 28px;
    height: 28px;
    padding: 0;
    line-height: 1;
    font-size: 1.25rem;
    color: #6c757d;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.search-group .btn-clear:hover,
.search-group .btn-clear:focus {
    color: #000;
    background: #e9ecef;
    text-decoration: none;
}