:root {
  --green:#00542A;
  --gold:#C08329;
  --bg:#fff;}

body {
    overflow-x: hidden !important;
}

/* ============================================
   BREADCRUMB — OVERVIEW PAGE
============================================ */

.breadcrumb-wrapper {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;

    /* FIXED SPACING — sits directly under topbar */
    margin-top: 0 !important;
    padding-top: 10px;  /* topbar is 60px, plus 10px spacing */
    padding-bottom: 12px;
}

.breadcrumb-inner {
    max-width: 1600px;
    padding: 0 30px 0 70px;  /* PERFECT alignment with topbar */
}

/* Title */
.breadcrumb-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    margin-bottom: 4px;
}

/* Breadcrumb Path */
.breadcrumb-path {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #b5b5b5;
}

/* Home Icon */
.breadcrumb-home-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    transform: translateY(-1px);
}

/* Clickable breadcrumb links */
.breadcrumb-link {
    color: #b3b3b3;
    font-weight: 700;
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: var(--green);
}

/* Current Page */
.breadcrumb-current {
    color: #b5b5b5;
    font-weight: 700;
}
/* ============================================
   HERO SECTION
============================================ */

.hero-section {
    width: 100%;
    height: 400px;
    background: url('/assets/images/fund-bg.png') center center/cover no-repeat;
    position: relative;
    margin-top: 0;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.194), rgba(0, 0, 0, 0.057));
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 70px;
    position: relative;
    z-index: 2;
    text-align: center; /* NEW: Center text */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    transform: translateY(-50px);
}

.hero-text-wrapper {
    text-align: center;
}


.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: capitalize;
    text-align: center; /* NEW */
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    max-width: 700px;
    margin: 210px auto 0;
    font-weight: 400;
    text-align: center;
}



/* ============================================
   PROGRAMME SECTION
============================================ */

.programme-section {
    padding: 60px 0 80px;
    background: #ffffff;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 70px;
}

/* Section Title */
.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--green, #2d5f3f);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background: var(--gold);
}

/* Programme Grid */
.programme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Programme Card */
.programme-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Programme Image */
.programme-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #a8d5ba 0%, #7cb89d 100%);
    position: relative;
}

.programme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.programme-card:hover .programme-image img {
    transform: scale(1.05);
}

/* No Image Placeholder */
.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a8d5ba 0%, #7cb89d 100%);
    font-size: 48px;
    color: rgba(255, 255, 255, 0.5);
}

.programme-image.no-image {
    background: linear-gradient(135deg, #a8d5ba 0%, #7cb89d 100%);
}

.programme-image.no-image img {
    display: none;
}

.programme-image.no-image::after {
    content: '\f03e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: rgba(255, 255, 255, 0.5);
}

/* Programme Info */
.programme-info {
    padding: 20px;
}

.programme-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--green, #2d5f3f);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.programme-date {
    font-size: 14px;
    font-weight: 600;
    color: var(--green, #2d5f3f);
    text-transform: uppercase;
}

/* ============================================
   BACK TO TOP BUTTON
============================================ */

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 50%;
    transform: translateX(50%);
    z-index: 1000;
}

.back-to-top-btn {
    background: var(--green, #2d5f3f);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.back-to-top-btn:hover {
    background: #1f4530;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* No Programmes Message */
.no-programmes {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-programmes p {
    font-size: 18px;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

/* Tablets */
@media (max-width: 1024px) {
    .hero-section {
        height: 350px;
    }
    
    .hero-content {
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .container {
        padding: 0 40px;
    }
    
    .programme-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

/* Mobile Landscape / Small Tablets */
@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }
    
    .hero-content {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .container {
        padding: 0 30px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .programme-section {
        padding: 40px 0 60px;
    }
    
    .programme-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .programme-image {
        height: 180px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero-section {
        height: 280px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .programme-section {
        padding: 30px 0 50px;
    }
    
    .programme-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .programme-image {
        height: 200px;
    }
    
    .programme-info {
        padding: 16px;
    }
    
    .programme-name {
        font-size: 15px;
    }
    
    .programme-date {
        font-size: 13px;
    }
    
    .back-to-top {
        bottom: 30px;
    }
    
    .back-to-top-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .programme-grid {
        gap: 15px;
    }
}