/* ================== GLOBAL STYLES ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 6px;
}

/* ================== STICKY HEADER ================== */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 2px solid #ddd;
}

/* ================== TOP ROW ================== */
.top-row {
    background: #003366;
    color: white;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.social-icons i {
    margin-left: 12px;
    cursor: pointer;
    transition: 0.3s;
    color: #f8f8f7;
}

.social-icons i:hover {
    color: #f8f8f7;
    
}

/* ================== MIDDLE ROW ================== */
.middle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo-box {
    text-align: center;
}

.logo {
    width: 90px;
}

.logo-caption {
    margin-top: 5px;
    font-weight: bold;
    font-size: 10px;
}

.animated-heading {
    flex: 1;
    font-size: 24px;
    font-weight: bold;
    color: #003366;
    overflow: hidden;       /* hide overflowing text */
    position: relative;
    height: 40px;           /* adjust row height */
    display: flex;
    align-items: center;    /* vertically center text */
}

.animated-heading span {
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    will-change: transform;
    animation: marquee 12s linear infinite;
}

/* Marquee animation */
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.rates-btn {
    background: #0066cc;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 20px;
    font-weight: bold;
}

.rates-btn:hover {
    background: #004d99;
}

/* ====================== NAVIGATION BAR ====================== */
.nav-row {
    background: #003366;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 200;
}

/* Desktop Menu */
.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    display: block;
    padding: 15px 18px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.nav-links li a:hover {
    background: #0055aa;
}

/* Dropdown (Desktop) */
.dropdown {
    position: relative;
}

.submenu {
    position: absolute;
    top: 48px;
    left: 0;
    background: #004080;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    display: none;
    flex-direction: column;
    z-index: 300;
}

.dropdown:hover .submenu {
    display: block;
}

.submenu li a {
    padding: 10px 18px;
}

/* ====================== SEARCH DESKTOP ====================== */
.nav-search {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-search input {
    display: none;
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.nav-search input.show {
    display: block;
}

.nav-search button {
    background: #fff;
    padding: 6px 10px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.nav-search button i {
    color: #003366;
}

/* ====================== HAMBURGER ICON (Mobile) ====================== */
.hamburger {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

/* ====================== MOBILE STYLES ====================== */
@media (max-width: 900px) {

    .hamburger {
        display: block;
    }

    /* Hide desktop search in mobile */
    .nav-search {
        display: none;
    }

    /* Mobile Menu Styling */
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        background: #003366;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 0;
        display: none;
        border-top: 1px solid rgba(255,255,255,0.2);
        z-index: 999;
    }

    /* Show menu when .open is added via JS */
    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.25);
    }

    /* Dropdown in Mobile – Tap to open */
    .dropdown:hover .submenu {
        display: none !important;
    }

    .dropdown .submenu {
        position: static;
        background: #004080;
        padding-left: 20px;
        display: none;
    }

    /* When dropdown is clicked */
    .dropdown.open .submenu {
        display: flex;
    }

    /* MOBILE SEARCH FIELD BELOW MENU */
    .mobile-search {
        display: flex;
        padding: 10px;
        gap: 10px;
        background: #004080;
    }

    .mobile-search input {
        flex: 1;
        padding: 8px;
        border-radius: 4px;
        border: none;
    }

    .mobile-search button {
        padding: 8px 12px;
        background: #fff;
        border: none;
        border-radius: 4px;
    }
}



/* ================== SLIDER ================== */
.slider-section {
    position: relative;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 700px;
}

.slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

/* SKY BLUE OVERLAY */
.slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(135, 206, 235, 0.25); /* sky-blue tint */
    pointer-events: none;
}

/* Caption with zoom-in animation */
.slide-caption {
    position: absolute;
    bottom: 90px;
    left: 40px;
    background: rgba(0,0,0,0.55);
    padding: 20px;
    color: white;
    border-radius: 6px;
    animation: zoomIn 1.2s ease;
}

@keyframes zoomIn {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #ffcc00;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}

.read-more:hover {
    background: #e6b800;
}

/* Slider Controls */
.slider-controls span {
    position: absolute;
    top: 45%;
    color: white;
    padding: 12px 18px;
    background: rgba(0,0,0,0.5);
    font-size: 30px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 20;
    transition: 0.3s;
}

.slider-controls span:hover {
    background: rgba(0,0,0,0.8);
}

#prev { left: 15px; }
#next { right: 15px; }

/* Pagination Dots */
.pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 14px;
    height: 14px;
    background: white;
    opacity: 0.6;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #ffcc00;
    opacity: 1;
    transform: scale(1.3);
}


/* ================== ABOUT SECTION ================== */
.about-section {
    padding: 50px 20px;
    display: flex;
    gap: 30px;
    background: #ffffff;
    flex-wrap: wrap;
}

.about-imgs,
.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 15px;
    font-size: 28px;
    color: #003366;
}

.about-text p {
    text-align: justify;
    font-size: 16px;

}

/* ================== VISION & MISSION ================== */
.vision-mission {
    padding: 50px 20px;
    display: flex;
    gap: 25px;
    background: #eaf3ff;
    flex-wrap: wrap;
}

.vm-box {
    flex: 1;
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

.vm-box h3 {
    margin-bottom: 10px;
    color: #003366;
}

/* ================== SERVICES ================== */
.services-section {
    padding: 50px 20px;
    text-align: center;
}

.services-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
}

/* ================== LEADERS ================== */
.leaders-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #dde5f5;
}

.leaders {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.leader img {
    width: 250px;
    height: 250px;
    object-fit: cover;
}

/* ================== PARTNERS ================== */
.partners-section {
    padding: 40px 20px;
    text-align: center;
}

.marquee {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.marquee img {
    width: 130px;
}

/* ================== STATS SECTION ================== */
.stats-section {
    background: #f1f1f1;
    padding: 50px 20px;
    text-align: center;
}

.stats-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.stat-box {
    background: white;
    padding: 25px;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* ================== FOOTER ================== */
footer {
    background: #002244;
    color: white;
    padding: 40px 20px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-box h3 {
    margin-bottom: 10px;
}

.footer-box ul {
    list-style: none;
}

.footer-box ul li a {
    text-decoration: none;
    color: #cccccc;
    line-height: 1.8;
}

.footer-box ul li a:hover {
    color: #ffcc00;
}

.footer-social i {
    font-size: 22px;
    margin-right: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.footer-social i:hover {
    color: #ffcc00;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    color: #bbbbbb;
    font-size: 14px;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 900px) {
    .middle-row {
        flex-direction: column;
        gap: 10px;
    }

    .animated-heading {
        font-size: 20px;
    }

    .rates-btn {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .about-section,
    .vision-mission {
        flex-direction: column;
    }

    .caption {
        font-size: 14px;
        padding: 15px;
    }
}
/* ========== INLINE LOGO + CAPTION ========== */
.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;           /* space between logo and caption */
   
}

.logo {
    width: 20px;
    
    
}

.logo-caption {
    font-weight: bold;
    font-size: 24px;
    margin: 0;           /* remove margin that caused stacking */
    white-space: nowrap; /* prevents caption from breaking into two lines */
}
/* ===== HERO SECTION ===== */
.health-hero {
    position: relative;
    height: 400px;
    background: url("img/Health.jpg") no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.health-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
}

.health-hero h1 {
    position: relative;
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    z-index: 2;
    text-transform: uppercase;
}

/* ===== DESCRIPTION SECTION ===== */
.health-description {
    padding: 50px 10%;
    text-align: center;
}

.health-description h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #00509e;
}

.health-description p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

/* ===== HEALTH UPDATES GALLERY ===== */
.health-updates {
    padding: 40px 10%;
    background: #f7f7f7;
}

.health-updates h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #00509e;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-item p {
    padding: 15px;
    font-weight: 600;
    color: #333;
}
/* ===== General Section Formatting ===== */
.health-section {
    margin-top: 25px;
    background: #f1f7ff;
    padding: 20px;
    border-left: 5px solid #00509e;
    border-radius: 6px;
}

.health-section h3 {
    margin-bottom: 10px;
    color: #003f7f;
}

.health-section ul {
    margin-left: 20px;
}

.health-section ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-link:hover {
    cursor: pointer;
    opacity: 0.85; /* optional hover effect */
}

.logo-caption {
    margin-top: 5px;
    font-weight: 600;
    text-align: center;
}
.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-link:hover {
    cursor: pointer;
    transform: scale(1.05); /* slight zoom effect */
    opacity: 0.9;
}

.logo {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: scale(1.07); /* extra zoom on the image */
    box-shadow: 0 6px 15px rgba(0,0,0,0.2); /* soft shadow */
}

.logo-caption {
    margin-top: 5px;
    font-weight: 600;
    text-align: center;
    transition: color 0.3s ease;
}

.logo-caption:hover {
    color: #0088ff; /* you can change this to BCC brand color */
}
/* ---------------------------------------------------
   Logo responsiveness + hover effects
--------------------------------------------------- */

/* Arrange logo + caption inline */
.logo-link {
    display: flex;
    flex-direction: row;  /* side by side */
    align-items: center;  /* vertically centered */
    gap: 10px;           /* space between logo and caption */
    text-decoration: none;
    color: inherit;
}


.logo-link:hover {
    cursor: pointer;
    transform: scale(1.05);
    opacity: 0.9;
}

.logo {
    width: 120px; /* desktop size */
    height: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.logo-caption {
    margin-top: 5px;
    font-weight: 600;
    text-align: center;
    transition: color 0.3s ease;
}

.logo-caption:hover {
    color: hsl(211, 100%, 36%); /* BCC blue */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .logo {
        width: 90px; /* smaller on phones */
    }
    .logo-caption {
        font-size: 14px;
    }
}
/* HERO BLOCK */
.about-hero {
    position: relative;
    height: 40vh;
    overflow: hidden;
}

.about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.about-hero-text {
    position: absolute;
    bottom: 20px; left: 40px;
    color: #fff;
    font-size: 48px;
    font-weight: bold;
}

/* BIO SECTION */
.about-bio {
    padding: 40px 60px;
    background: #bfcbf1;
    text-align: justify;
}

.about-bio h2 {
    margin-bottom: 15px;
    color: #004aad;
}

/* GOVERNANCE + OFFICE GRID */
.leaders-grid, .office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 20px 40px;
}

.leader-box, .office-box {
    text-align: center;
}

.leader-box img, .office-box img {
    width: 100%;
    border-radius: 8px;
    height: 260px;
    object-fit: cover;
}

.city-video {
    text-align: center;
    padding: 50px 20px;
}

.video-wrapper {
    max-width: 900px;
    margin: auto;
    position: relative;
}

/* Adjustable height */
.city-video-element {
    width: 100%;
    height: 300px; /* 🔧 Change this to any height you want */
    object-fit: cover; /* Keeps video nicely cropped instead of stretched */
    border-radius: 10px;
    /*opacity: 0.80;*/
    transition: opacity 0.3s ease;
    background: rgba(24, 3, 117, 0.55);
}
}

.city-video-element:hover {
    opacity: 1;
}


.about-bio-section {
    font-family: Arial, sans-serif;
    color: #333;
    padding-bottom: 60px;
}

/* HERO IMAGE */
.about-hero {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-hero-overlay h1 {
    color: white;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* CONTAINER */
.bio-container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

/* CARD STYLE */
.bio-card {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bio-card h2 {
    margin-bottom: 15px;
    color: #004d99;
}

.bio-card p {
    line-height: 1.7;
}

/* ROWS */
.bio-row {
    display: flex;
    gap: 20px;
}

.bio-card.half {
    width: 50%;
}

/* LIST STYLE */
.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    margin-bottom: 7px;
    padding-left: 20px;
    position: relative;
}

.styled-list li::before {
    content: "✔";
    color: #0073e6;
    position: absolute;
    left: 0;
}

/* HIGHLIGHT BOX */
.bio-card.highlight {
    background: #e6f2ff;
    border-left: 5px solid #0073e6;
}

@media (max-width: 768px) {
    .bio-row {
        flex-direction: column;
    }

    .bio-card.half {
        width: 100%;
    }

    .about-hero {
        height: 200px;
    }

    .about-hero-overlay h1 {
        font-size: 2rem;
    }
}
/* Directorate of Leisure - Custom Styles */

.leisure-banner {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.leisure-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.leisure-container h1 {
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 20px;
    color: #0b3d2e;
}

.intro-text {
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.6;
    max-width: 850px;
    margin: 0 auto 35px auto;
    color: #444;
}

.leisure-submenu {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.leisure-submenu a {
    padding: 10px 18px;
    background: #0b3d2e;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s ease;
    font-size: 0.95rem;
}

.leisure-submenu a:hover {
    background: #106b4f;
}

.section-block {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.15);
}

.section-block h2 {
    font-size: 1.7rem;
    color: #0b3d2e;
    margin-bottom: 10px;
}

.section-block ul {
    list-style: none;
    padding: 0;
    margin-left: 10px;
}

.section-block ul li {
    margin-bottom: 10px;
    padding-left: 18px;
    position: relative;
    font-size: 1rem;
    line-height: 1.5;
}

.section-block ul li:before {
    content: "\2022";
    color: #0b3d2e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.leisure-gallery {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.gallery-img {
    width: 48%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .gallery-img {
        width: 100%;
    }
}
/* Application Forms Page Styles */

body {
    font-family: Arial, sans-serif;
    background: #f3f6f9;
    margin: 0;
    padding: 0;
}

.forms-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
}

.forms-banner {
    width: 100%;
    height: 250px;
    background: url('img/application\ form2.jpg') center/cover no-repeat;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.forms-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 14px rgba(0,0,0,0.18);
}

.form-card h3 {
    margin-top: 0;
    color: #0a4b78;
}

.download-btn {
    display: inline-block;
    margin-top: 15px;
    background: #0a4b78;
    padding: 10px 18px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.download-btn:hover {
    background: #0072b1;
}
/* GENERAL RESETS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f5f6f7;
    color: #333;
}


/* Banner */
.bylaw-banner {
    background: url('img/bylaws.jpg') center/cover no-repeat;
    padding: 80px 0;
    text-align: center;
    color: white;
    font-size: 40px;
    font-weight: bold;
}

/* Content */
.bylaws-content {
    padding: 40px 20px;
}

.bylaws-content .container {
    max-width: 900px;
    margin: auto;
}

.bylaws-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0c4b8f;
}

.bylaws-content p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Download Button */
.download-box {
    text-align: center;
    margin-top: 30px;
}

.download-btn {
    display: inline-block;
    background: #0c4b8f;
    color: white;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.download-btn i {
    margin-right: 10px;
}

.download-btn:hover {
    background: #072d55;
}
/* -----------------
   RESET & BASE
------------------ */
:root {
  --bg:#f7f9fb;
  --card:#ffffff;
  --muted:#6b7280;
  --accent:#0b69ff;
  --max-width:1100px;
  --radius:12px;
  --shadow: 0 6px 20px rgba(11,105,255,0.06);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing:border-box; }
post-body {
  margin:0;
  background:linear-gradient(180deg, var(--bg), #eef4ff 120px);
  color:#0f172a;
  padding:36px 20px;
  display:flex;
  justify-content:center;
  font-size:16px;
  line-height:1.6;
}

/* -----------------
   LAYOUT
------------------ */
.post-container {
  width:100%;
  max-width:var(--max-width);
  display:grid;
  grid-template-columns:1fr 320px;
  gap:28px;
}

/* -----------------
   ARTICLE
------------------ */
.post {
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.post-hero img {
  width:100%;
  height:300px;
  object-fit:cover;
  transition:transform .5s;
}
.post-hero:hover img {
  transform:scale(1.03);
}

.post-content {
  padding:28px;
}

.post-meta {
  display:flex;
  gap:12px;
  align-items:center;
  color:var(--muted);
  font-size:14px;
}

h1 {
  margin:10px 0 14px;
  font-size:1.7rem;
}

.lede {
  font-weight:600;
  margin-bottom:16px;
}

/* Main paragraphs */
.article p {
  margin:12px 0;
}

blockquote {
  background:#f1f5f9;
  padding:14px 16px;
  border-left:4px solid var(--accent);
  border-radius:8px;
  margin:16px 0;
}

/* -----------------
   GALLERY
------------------ */
.post-gallery {
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
  margin-top:16px;
}

.gallery img {
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:10px;
}

/* -----------------
   SIDEBAR
------------------ */
.sidebar {
  display:flex;
  flex-direction:column;
  gap:18px;
}

.card {
  background:var(--card);
  padding:18px;
  border-radius:12px;
  box-shadow:var(--shadow);
}

.card h3 {
  margin-top:0;
}

.quick-list {
  list-style:none;
  margin:0;
  padding:0;
}
.quick-list li {
  margin:8px 0;
  color:var(--muted);
}

/* Buttons */
.cta {
  display:inline-block;
  padding:10px 14px;
  background:var(--accent);
  color:#fff;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
}

/* Share links */
.share-card {
  text-align:center;
}
.share-links {
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:10px;
}
.share-links a {
  text-decoration:none;
  font-weight:600;
}

/* -----------------
   RESPONSIVE
------------------ */
@media (max-width:980px) {
  .container {
    grid-template-columns:1fr;
  }
}

@media (max-width:480px) {
  .post-hero img {
    height:200px;
  }
  .post-gallery {
    grid-template-columns:1fr;
  }
  h1 {
    font-size:1.3rem;
  }
}
/* General Layout */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
}

/* Banner */
.engineering-banner {
    background: url('img/kambaroad.jpg') center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: white;
    background-blend-mode: overlay;
    background-color: rgba(0, 60, 140, 0.6);
}

.engineering-banner h1 {
    font-size: 42px;
    margin: 0;
    font-weight: bold;
}

.engineering-banner p {
    font-size: 18px;
    margin-top: 10px;
}

/* Container */
.engineering-container {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
}

/* Image Block */
.image-block h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #003C8C;
}

.image-merge {
    display: flex;
    gap: 10px;
}

.image-merge img {
    width: 33%;
    height: 230px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Content Block */
.engineering-content h2 {
    font-size: 28px;
    color: #003C8C;
    margin-top: 40px;
}

.engineering-content h3 {
    font-size: 22px;
    color: #0A4DA3;
    margin-top: 25px;
}

.engineering-content h4 {
    font-size: 18px;
    margin-top: 20px;
    color: #0A4DA3;
}

.engineering-content p {
    line-height: 1.6;
}

.engineering-content ul {
    margin-left: 20px;
    line-height: 1.6;
}

.engineeering-content ul ul {
    margin-top: 8px;
}
/* Hero Section */
.hero {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.legal-hero {
    background-image: url('img/legal.jpg'); /* Replace with your actual image */
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.55);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-overlay h2 {
    color: #fff;
    font-size: 32px;
    text-align: center;
}

/* Content Section */
.content-section {
    padding: 40px 0;
}

.section-title {
    font-size: 26px;
    margin-bottom: 10px;
    color: #0a3d62;
}

.section-text {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

/* Functions List */
.function-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.function-item {
    background: #f3f6f9;
    border-left: 4px solid #0a3d62;
    padding: 20px;
    border-radius: 6px;
}

.function-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #0a3d62;
}

.function-item p {
    font-size: 15px;
    line-height: 1.6;
}
/* Contact Page Styling */

/* Hero Image */
.contact-hero {
    background-image: url('img/town\ hall.png'); /* Replace with your own image */
}

/* Contact Section */
.contact-section {
    padding: 40px 0;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}

.contact-info,
.contact-form {
    flex: 1 1 45%;
    background: #f3f6f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #0a3d62;
}

/* Contact Info */
.contact-info h3,
.contact-form h3 {
    margin-bottom: 15px;
    color: #0a3d62;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 15px;
}

.contact-info i {
    margin-right: 8px;
    color: #0a3d62;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    margin-right: 10px;
    color: #0a3d62;
    font-size: 20px;
    text-decoration: none;
}

/* Contact Form */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0a3d62;
}

.btn-submit {
    padding: 12px;
    background: #0a3d62;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #07406d;
}

/* Map Section */
.map-section {
    margin-top: 40px;
}

.map-section iframe {
    margin-top: 20px;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
}


main {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #005baa;
}

.charges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}

.charge-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    width: 250px;
    text-align: center;
    transition: transform 0.2s;
   margin-bottom: 50px;
}

.charge-card:hover {
    transform: translateY(-5px);
}

.charge-card h3 {
    margin-bottom: 20px;
    color: #333;
}

.download-btn {
    background-color: #005baa;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s;
    cursor: pointer;
}

.download-btn:hover {
    background-color: #004b8f;
}
/* Banner */
.charges-banner {
    background: url('img/rates.jpg') center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: white;
    background-blend-mode: overlay;
    background-color: rgba(0, 60, 140, 0.6);
}

.charges-banner h1 {
    font-size: 42px;
    margin: 0;
    font-weight: bold;
}

.charges-banner p {
    font-size: 18px;
    margin-top: 10px;
}
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Brand Colors */
:root {
    --bcc-blue: #003366;
    --bcc-gold: #d4af37;
    --light-gray: #f4f4f4;
    --dark-gray: #333;
}

/* Banner Section */
.planning-banner {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.planning-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.planning-banner-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 56px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0px 6px 15px rgba(0, 0, 0, 0.7);
}

/* Background Text Block */
.background-text {
    background: var(--light-gray);
    padding: 60px 20px;
    
}

.background-text .content {
    max-width: 900px;
    margin: auto;
    text-align: justify;
}

.background-text h2 {
    margin-bottom: 20px;
    font-size: 36px;
    color: var(--bcc-blue);
    border-bottom: 3px solid var(--bcc-gold);
    display: inline-block;
    padding-bottom: 8px;
    text-align: center;
}

.background-text p {
    font-size: 20px;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Two Column Layout */
.two-column {
    display: flex;
    align-items: justify;
    justify-content: space-between;
    padding: 70px 5%;
    gap: 50px;
    text-align: justify;
}

.two-column.reverse {
    flex-direction: row-reverse;
}

.two-column .text {
    flex: 1;
    text-align: justify;
}

.two-column .text h2 {
    margin-bottom: 15px;
    color: var(--bcc-blue);
    font-size: 32px;
    border-left: 5px solid var(--bcc-gold);
    padding-left: 10px;
}

.two-column .text p {
    font-size: 19px;
    line-height: 1.7;
    color: var(--dark-gray);
}

.two-column .image {
    flex: 1;
}

.two-column .image img {
    width: 100%;
    border-radius: 10px;
    border: 4px solid var(--bcc-blue);
}

/* Three Pictures Gallery */
.three-gallery {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 60px 20px;
    background: #fff;
}

.gallery-item {
    width: 30%;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    border: 3px solid var(--bcc-blue);
}

.caption {
    margin-top: 12px;
    font-size: 18px;
    font-weight: bold;
    color: var(--bcc-blue);
}

/* Responsive */
@media (max-width: 900px) {
    .banner-title {
        font-size: 38px;
    }

    .two-column {
        flex-direction: column;
        text-align: center;
    }

    .two-column.reverse {
        flex-direction: column;
    }

    .gallery-item {
        width: 100%;
    }

    .three-gallery {
        flex-direction: column;
    }
}
/* Banner */
.news-banner {
    background: url('img/btcityatnight.jpg') center/cover no-repeat;
    height: 320px;
    position: relative;
}

.banner-overlay {
    background: rgba(0,0,0,0.55);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.banner-overlay h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.banner-overlay p {
    font-size: 18px;
}

/* News Section */
.news-section {
    padding: 50px 8%;
}

.section-title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 35px;
    color: #004aad;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

/* News Card */
.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-6px);
}

.news-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 20px;
    color: #004aad;
    margin-bottom: 10px;
}

.news-content p {
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    background: #004aad;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s;
}

.read-more:hover {
    background: #003680;
}
.service-charter-block {
    width: 100%;
    background: #0d47a1;
    color: white;
    padding: 15px 20px;
    text-align: center;
    margin-top: 10px;
}

.service-charter-block p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.charter-btn {
    display: inline-block;
    margin-top: 8px;
    background: #ffcc00;
    color: #000;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.charter-btn i {
    margin-right: 6px;
}
/* Page Wrapper */
.page-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Banner */
.leisure-banner {
    width: 100%;
    height: 350px;
    background: url('img/Museum\ Blantyre.jpg') center/cover no-repeat;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Submenu */
.leisure-submenu {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.leisure-submenu a {
    background: #0a4b78;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.leisure-submenu a:hover {
    background: #0072b1;
}

/* Content Section */
.content-section {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.content-section h2,
.content-section h3 {
    color: #0a4b78;
    margin-bottom: 15px;
}

.content-section ul {
    line-height: 1.7;
    padding-left: 20px;
}

/* Gallery */
.gallery {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.gallery img {
    width: 48%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
/* Directorate of Leisure - Custom Styles */

.leisure-banner {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    background: url('img/leaisure.png') center/cover no-repeat;
}

.leisure-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.leisure-container h1 {
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 20px;
    color: #0b3d2e;
}

.intro-text {
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.6;
    max-width: 850px;
    margin: 0 auto 35px auto;
    color: #444;
}

.leisure-submenu {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.leisure-submenu a {
    padding: 10px 18px;
    background: #0b3d2e;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s ease;
    font-size: 0.95rem;
}

.leisure-submenu a:hover {
    background: #106b4f;
}

.section-block {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.15);
}

.section-block h2 {
    font-size: 1.7rem;
    color: #0b3d2e;
    margin-bottom: 10px;
}

.section-block ul {
    list-style: none;
    padding: 0;
    margin-left: 10px;
}

.section-block ul li {
    margin-bottom: 10px;
    padding-left: 18px;
    position: relative;
    font-size: 1rem;
    line-height: 1.5;
}

.section-block ul li:before {
    content: "\2022";
    color: #0b3d2e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.leisure-gallery {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.gallery-img {
    width: 48%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .gallery-img {
        width: 100%;
    }
}
.multi-carousel {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.multi-track {
    display: flex;
    gap: 20px;
    animation: slide 12s linear infinite;
}

.multi-item {
    min-width: 33.33%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.multi-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.multi-item p {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 600;
}

/* Sliding Animation */
@keyframes slide {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(0); }

    25%  { transform: translateX(-33.33%); }
    45%  { transform: translateX(-33.33%); }

    50%  { transform: translateX(-66.66%); }
    70%  { transform: translateX(-66.66%); }

    75%  { transform: translateX(-99.99%); }
    95%  { transform: translateX(-99.99%); }

    100% { transform: translateX(0); }
}
.projects-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 30px;
}

.project-block {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.project-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

.img-caption {
    margin-top: 8px;
    font-size: 15px;
    font-style: italic;
    color: #444;
}

.project-block h3 {
    margin-top: 15px;
    font-size: 20px;
    color: #0d47a1;
}

.project-block p {
    margin: 8px 0 15px;
    font-size: 16px;
    color: #333;
}

/* Table Styling */
.project-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.project-table th,
.project-table td {
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 15px;
    text-align: center;
}

.project-table th {
    background: #0d47a1;
    color: white;
}

.project-table tr:nth-child(even) {
    background: #f3f6fa;
}

/* Responsive Layout */
@media (max-width: 900px) {
    .projects-section {
        grid-template-columns: 1fr;
    }
}
/* Banner */
.projects-banner {
    background: url('img/khama.jpg') center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: white;
    background-blend-mode: overlay;
    background-color: rgba(0, 60, 140, 0.6);
}

.projects-banner h1 {
    font-size: 42px;
    margin: 0;
    font-weight: bold;
}

.projects-banner p {
    font-size: 18px;
    margin-top: 10px;
}
/* Extra spacing for new long text projects */
.project-block p {
    text-align: justify;
    line-height: 1.6;
}

/* Adjust image size for consistency */
.project-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 6px;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}

/* Banner */
.edu-banner {
    background: url('img/educatio.png') center/cover no-repeat;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 0 0 8px black;
}

.edu-banner h1 {
    font-size: 42px;
    font-weight: bold;
}

/* Intro */
.intro {
    background: white;
    padding: 30px;
    max-width: 1000px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 0 10px #ccc;
}

.intro h2 {
    margin-top: 0;
    color: #003366;
}

/* Blocks */
.edu-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.edu-block {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px #ddd;
}

.edu-block h3 {
    color: #0055a5;
    margin-bottom: 15px;
}

.edu-block ul {
    margin-left: 20px;
}

.edu-block ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .edu-banner h1 {
        font-size: 28px;
    }
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
}

/* ======= BANNER ======= */
.banner {
    background: url('img/town\ hall.png') center/cover no-repeat;
    padding: 90px 20px;
    text-align: center;
    color: white;
}

.banner h1 {
    font-size: 48px;
    text-shadow: 2px 2px 5px black;
}

.banner p {
    font-size: 20px;
    margin-top: 10px;
}

/* ======= SECTION BOX ======= */
.section-box {
    background: white;
    padding: 20px;
    margin: 25px;
    border-radius: 8px;
}

.section-box h2 i {
    margin-right: 10px;
}

/* ======= ACCORDION ======= */
.accordion-container {
    margin: 20px;
}

.accordion {
    background: #003366;
    color: white;
    cursor: pointer;
    padding: 16px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    font-size: 18px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.accordion i {
    margin-right: 10px;
}

.accordion.active {
    background: #00509e;
}

.panel {
    display: none;
    padding: 15px;
    background: white;
    border-radius: 5px;
    margin-bottom: 10px;
}

.panel ul {
    margin: 0;
    padding-left: 20px;
}

.panel li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {

    .banner h1 {
        font-size: 32px;
    }

    .banner p {
        font-size: 18px;
    }
}





















