/* style.css */

/* Color variables based on your palette */
:root {
    --atswa-base: #cccdff;    /* Base blue */
    --atswa-secondary: #0309ff;
    --atswa-light: #e5e6ff;
    --atswa-accent-red: #ff0000;
    --text-main: #222222;
    --text-muted: #666666;
    --bg-body: #f5f6ff;
    --bg-dark: #0c1540;
    --white: #ffffff;
    --shadow-soft: 0 12px 30px rgba(3, 9, 255, 0.12);
	--atswa-highlight: #d83a2e; /* New heading accent color */
}

/* Global styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background: var(--bg-body);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--atswa-secondary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 16px;
    margin: 0 auto;
}

/* Utility */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--atswa-secondary), #5861ff);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(3, 9, 255, 0.18);
}

.btn-outline {
    border: 1px solid var(--atswa-secondary);
    color: var(--atswa-highlight);
    background: transparent;
}

.btn-outline:hover {
    background: var(--atswa-secondary);
    color: var(--white);
}

.btn-link {
    display: inline-flex;
    font-weight: 500;
    color: var(--atswa-secondary);
    gap: 6px;
}

.btn-link::after {
    content: '›';
    transition: transform 0.2s ease;
}

.btn-link:hover::after {
    transform: translateX(3px);
}

/* Top bar */
.top-bar {
    background: var(--bg-dark);
    color: #f2f4ff;
    font-size: 0.85rem;
	padding: 10px 0px;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
}

.top-bar-left span {
    margin-right: 10px;
}

.top-bar-left i {
    margin-right: 4px;
    color: var(--atswa-base);
}

.divider {
    opacity: 0.5;
	
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-link {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.social-link:hover {
    background: #ffffff;
    color: var(--atswa-secondary);
}

.btn-top-donate {
    background: var(--atswa-accent-red);
    color: #ffffff;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.btn-top-donate:hover {
    background: #ff3838;
}

/* Header / Navigation */
.main-header {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 24px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--atswa-secondary);
    letter-spacing: 0.05em;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Nav */
.main-nav {
    display: flex;
}

.nav-list {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    gap: 4px;
    align-items: center;
}

.nav-list > li > a {
    display: block;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    text-decoration: none;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    background: var(--atswa-light);
    color: var(--atswa-secondary);
}

/* Donate button in nav */
.nav-donate .btn-donate {
    background: var(--atswa-accent-red);
    color: #ffffff;
}

.nav-donate .btn-donate:hover {
    background: #ff3838;
}

/* Submenus */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.submenu-wide {
    min-width: 340px;
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.submenu a:hover {
    background: var(--atswa-light);
    color: var(--atswa-secondary);
}

/* Highlight active submenu item */
.submenu a.active {
    background: #eaf0ff;
    font-weight: 600;
    color: #0f2ae2 !important;
}

.submenu a.active:hover {
    background: #dce6ff;
}


/* Show submenu on desktop hover */
@media (min-width: 992px) {
    .has-submenu:hover > .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Mobile menu toggle */
.menu-toggle {
    width: 40px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #dde0ff;
    background: #ffffff;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--atswa-secondary);
    border-radius: 99px;
    transition: all 0.25s ease;
}

/* Hero slider */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-slide {
    position: relative;
    min-height: 70vh;
    display: none;
}

.hero-slide.active {
    display: block;
    animation: fadeInSlide 0.9s ease both;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    max-height: 650px;
    object-fit: cover;
}

/* Ensure full-width view on mobile too */
@media (max-width: 767px) {
    .hero-slide {
        min-height: 0vh !important;
    }
    .hero-slide img {
        max-height: none;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Use a neutral gradient instead of blue */
    background: linear-gradient(
        120deg,
        rgba(0, 0, 0, 0.4),    /* top-left darker */
        rgba(0, 0, 0, 0.1),    /* light smoothing */
        rgba(0, 0, 0, 0.05)    /* very light on the right */
    );
    color: #ffffff;
    display: flex;
    align-items: center;
}


.hero-content {
    max-width: 640px;
}

.hero-tagline {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

.hero-content h1 {
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
    margin: 0 0 12px;
}

.hero-content p {
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Slider nav */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.hero-nav:hover {
    background: rgba(0,0,0,0.7);
}

.hero-nav.prev {
    left: 16px;
}

.hero-nav.next {
    right: 16px;
}

.hero-dots {
    position: absolute;
    bottom: 16px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: transparent;
    padding: 0;
    cursor: pointer;
    opacity: 0.6;
}

.hero-dots .dot.active {
    background: #ffffff;
    opacity: 1;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: scale(1.02);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.section-heading p {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
}

/* About Us main section heading */
.section-heading h2,
.page-hero-text h1 {
    color: var(--atswa-highlight);
}

/* Underline accent effect (optional) */
.section-heading h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--atswa-highlight);
    margin: 10px auto 0;
    border-radius: 3px;
}

/* Key areas heading text highlight */
.key-area-card h3 {
    color: var(--atswa-highlight);
}

/* Mission & Vision card titles */
.mv-card h2 {
    color: var(--atswa-highlight);
}

@media (max-width: 767px) {
    .section-heading h2::after {
        width: 40px;
        height: 3px;
    }
}

.key-area-card:hover h3 {
    color: var(--atswa-highlight);
}


/* Intro section */
.section-intro {
    background: #ffffff;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: flex-start;
}

.intro-text p {
    color: var(--text-muted);
    line-height: 1.7;
}

.intro-text p + p {
    margin-top: 12px;
}

.intro-highlight {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-card {
    background: var(--atswa-light);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 10px 25px rgba(3, 9, 255, 0.06);
}

.highlight-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.highlight-card ul {
    padding-left: 18px;
    margin: 0;
}

.highlight-card li {
    margin-bottom: 4px;
    color: var(--text-muted);
}

.stats-card {
    background: linear-gradient(135deg, var(--atswa-secondary), #5861ff);
    color: #ffffff;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 14px 0;
}

.stat {
    flex: 1 1 120px;
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.85rem;
}

.stats-note {
    font-size: 0.78rem;
    opacity: 0.85;
}

/* Programmes */
.section-programmes {
    background: var(--atswa-base);
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.programme-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(3, 9, 255, 0.12);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.programme-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(3, 9, 255, 0.18);
}

.programme-image img {
    height: 170px;
    width: 100%;
    object-fit: cover;
}

.programme-body {
    padding: 16px 18px 18px;
}

.programme-body h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.programme-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}


/* ===== Recent Reports Section ===== */
.section-reports {
    background: linear-gradient(135deg, #eef2ff, #e8f0ff);
    padding: 60px 0;
    position: relative;
    overflow: hidden;   /* 👈 add this line */
}


/* Optional soft floating shapes */
.section-reports::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: rgba(3, 9, 255, 0.05);
    border-radius: 50%;
    filter: blur(35px);
    z-index: 0;
}

.section-reports::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -80px;
    width: 220px;
    height: 220px;
    background: rgba(216, 58, 46, 0.08); /* #d83a2e faded */
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

/* Ensure content stays above background */
.section-reports .container {
    position: relative;
    z-index: 2;
}

/* Report Cards */
.reports-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.report-item {
    background: #ffffff;
    padding: 20px 22px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(3, 9, 255, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.report-item h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #15244a;
}

.report-item p {
    color: #57607a;
    font-size: 0.95rem;
    line-height: 1.6;
}

.report-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(3, 9, 255, 0.14);
}

/* Button link styling */
.btn-link {
    display: inline-block;
    font-weight: 600;
    color: #d83a2e;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.2s ease;
}

.btn-link:hover {
    color: #0309ff;
}

/* Responsive */
@media (max-width: 991px) {
    .reports-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .reports-list {
        grid-template-columns: 1fr;
    }
}


/* CTA */
.section-cta {
    background: linear-gradient(120deg, var(--atswa-secondary), #0410a8);
    color: #ffffff;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-text h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.cta-text p {
    margin: 0;
    max-width: 600px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Footer */
.site-footer {
    margin-top: 40px;
    color: #f1f3ff;
}

.footer-top {
    background: var(--bg-dark);
    padding: 40px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1.1fr;
    gap: 24px;
}

.footer-col h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.footer-col p {
    font-size: 0.9rem;
    color: #d4d7ff;
}

.footer-link {
    color: var(--atswa-base);
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #d4d7ff;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact-block {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-bottom {
    background: #05091e;
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive layout */
@media (max-width: 991px) {
    .header-inner {
        padding: 10px 0;
    }

    .menu-toggle {
        display: flex;
		z-index: 999;
    }

    .main-nav {
        position: fixed;
        top: 185px; /* below header */
        left: 0;
        right: 0;
        background: #ffffff;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 12px 24px rgba(0,0,0,0.15);
        transition: max-height 0.3s ease;
    }

    body.nav-open .main-nav {
        max-height: 80vh;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 14px 16px;
    }

    .nav-list > li {
        width: 100%;
    }

    .nav-list > li > a {
        width: 100%;
        border-radius: 10px;
    }

    .submenu {
        position: static;
        box-shadow: none;
        border-radius: 10px;
        background: var(--atswa-light);
        margin-top: 4px;
        padding: 4px 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.25s ease;
    }

    .has-submenu.open > .submenu {
        max-height: 500px; /* enough to show items */
    }

    .submenu a {
        font-size: 0.85rem;
    }

    .nav-donate {
        margin-top: 8px;
    }
	
	

    /* turn burger into X */
    body.nav-open .menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    body.nav-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    body.nav-open .menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
	
	@media (max-width: 991px) {
    body.nav-open .main-nav {
        max-height: 80vh;
        overflow-y: auto;               /* enable vertical scroll */
        overflow-x: hidden;             /* keep horizontal hidden */
        -webkit-overflow-scrolling: touch; /* smooth scroll on mobile */
    }
}

@media (max-width: 991px) {
    body.nav-open {
        overflow: hidden;
    }
}




    .intro-grid {
        grid-template-columns: 1fr;
    }

    .programme-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reports-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .top-bar {
        text-align: center;
    }

    .top-bar-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    /* Phone + email centered, single row */
    .top-bar-left {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;          /* keep in one line */
        gap: 4px;
        font-size: 13px;
    }

    .top-bar-left .divider {
        margin: 0 4px;
    }

    /* Social + Donate centered */
    .top-bar-right {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;            /* allow wrap if very small width */
    }

    .top-bar-right .btn-top-donate {
        padding: 6px 14px;
        font-size: 13px;
    }

    .programme-grid {
        grid-template-columns: 1fr;
    }

    .reports-list {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content {
        max-width: 100%;
    }
}


/* Ensure hero caption is left-aligned and anchored to left side */
.hero-content {
    max-width: 640px;
    text-align: left;
}

/* Only containers inside hero overlay – push them towards the left side */
.hero-overlay .container {
    margin-left: 100px;
    margin-right: auto;
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 1.6rem;       /* smaller heading on mobile */
        line-height: 1.3;
    }

    .hero-tagline {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .hero-content {
        max-width: 90%;
    }
}


/* ========= ABOUT US PAGE STYLES ========= */

/* Page hero */
.page-hero {
    background: radial-gradient(circle at top left, var(--atswa-base), #f0f2ff);
    padding: 56px 0 40px;
    border-bottom: 3px solid var(--atswa-secondary);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(3,9,255,0.18), transparent 60%);
    opacity: 0.8;
}

.page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-hero-text h1 {
    margin: 8px 0 10px;
    font-size: 2rem;
}

.page-hero-text p {
    max-width: 560px;
    color: var(--text-muted);
}

.page-hero-kicker {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(3,9,255,0.08);
    color: var(--atswa-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Hero badge card */
.page-hero-badge {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 20px;
    box-shadow: 0 14px 36px rgba(3,9,255,0.16);
    border: 1px solid rgba(3,9,255,0.1);
}

.badge-years {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.years-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--atswa-secondary);
}

.years-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.badge-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 0.9rem;
}

.badge-list li {
    margin-bottom: 4px;
    position: relative;
    padding-left: 18px;
}

.badge-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--atswa-secondary);
    font-size: 0.8rem;
}

/* About overview */
.about-section {
    background: #ffffff;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
    gap: 32px;
    align-items: flex-start;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.8;
}

.about-text p + p {
    margin-top: 12px;
}

.about-highlight {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-highlight-card {
    background: var(--atswa-light);
    border-radius: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(3,9,255,0.16);
    box-shadow: 0 10px 26px rgba(3,9,255,0.08);
}

.about-highlight-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.about-highlight-card ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.about-highlight-card li {
    margin-bottom: 4px;
}

.about-highlight-card--accent {
    background: linear-gradient(135deg, var(--atswa-secondary), #5861ff);
    color: #ffffff;
    border-color: transparent;
}

.about-highlight-card--accent p,
.about-highlight-card--accent li {
    color: #f3f4ff;
}

.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 4px;
}

.check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.8rem;
}

/* Key Areas */
.key-areas-section {
    background: var(--atswa-base);
}

.key-areas-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.key-area-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 16px 18px;
    border: 1px solid rgba(3, 9, 255, 0.14);
    box-shadow: 0 12px 28px rgba(3, 9, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Add background faded icon */
/* Base faded icon (left side, bottom) */
.key-area-card::before {
    content: "";
    position: absolute;
    left: 12px;         /* Stay left */
    bottom: 12px;       /* Stay bottom */
    width: 100px;
    height: 100px;
    background: url('../../assets/images/key-icon.png') no-repeat center center;
    background-size: contain;
    opacity: 0.07;      /* Default fade */
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Hover – still faded, but slightly more visible */
.key-area-card:hover::before {
    opacity: 0.15;      /* NOT full opacity */
}


@media (max-width: 767px) {
    .key-area-card::before {
        width: 80px;
        height: 80px;
        opacity: 0.06;
        left: 8px;
        bottom: 8px;
    }
}



.key-area-card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.key-area-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.key-area-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(3,9,255,0.18);
    border-color: rgba(3,9,255,0.4);
}

.key-area-card:hover::before {
    opacity: 0.15;
}

/* Mission & Vision */
.mv-section {
    background: #ffffff;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.mv-card {
    position: relative;
    border-radius: 22px;
    padding: 2px; /* for gradient border */
    background: linear-gradient(135deg, var(--atswa-secondary), #ff4d68);
}

.mv-card > * {
    position: relative;
    z-index: 1;
}

.mv-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(3,9,255,0.14), rgba(255,255,255,0.0));
    opacity: 0.8;
}

.mv-card h2,
.mv-card p {
    margin: 0;
}

.mv-card p {
    margin-top: 10px;
}

.mv-card > div,
.mv-card > p,
.mv-card > h2 {
    /* not used but kept for safety */
}

.mv-card-inner {
    background: #ffffff;
}

.mv-card {
    /* inner container for text */
}

.mv-card > h2,
.mv-card > p {
    /* reset if not using inner wrapper */
}

.mv-card {
    color: #ffffff;
    padding: 20px 22px;
}

.mv-card--highlight {
    background: linear-gradient(135deg, #ff4d68, var(--atswa-secondary));
}

/* Scroll animation base */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive tweaks for About page */
@media (max-width: 991px) {
    .page-hero-inner {
        grid-template-columns: 1fr;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .key-areas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .page-hero {
        padding: 40px 0 30px;
    }

    .page-hero-text h1 {
        font-size: 1.6rem;
    }

    .key-areas-grid {
        grid-template-columns: 1fr;
    }
}


.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr; /* Now 4 columns */
    gap: 24px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 12px;
}

.footer-about {
    font-size: 0.9rem;
    color: #d4d7ff;
    margin-top: 8px;
    line-height: 1.5;
}


@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* Hero section padding & width control */
.hero-section-wrapper {
    padding-top: 30px; /* space between nav and banner */
}

.hero-slider-container {
    padding: 0 10px;
}

.hero-slider {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(3, 9, 255, 0.15);
}

/* Remove full-width image overflow inline */
.hero-slide img {
    border-radius: 20px;
}

/* Adjust mobile paddings */
@media (max-width: 767px) {
    .hero-section-wrapper {
        padding-top: 20px;
    }

    .hero-slider-container {
        padding: 0 5px;
    }

    .hero-slider {
        border-radius: 15px;
    }

    .hero-slide img {
        border-radius: 15px;
    }
}

.hero-slider {
    border: 1px solid #dce0ff;
}


/* Mobile: move caption BELOW image with red background */
@media (max-width: 767px) {
    /* Hide overlay effect on mobile */
    .hero-slide .hero-overlay {
        background: none !important;
        display: block;
        position: static;
        padding: 0;
    }

    /* Move text block below image */
    .hero-slide img {
        display: block;
        width: 100%;
        height: auto;
    }

    .hero-content {
        background: #0309ff;          /* red background */
        color: #fff !important;       /* white text */
        padding: 15px;
        text-align: left;             /* keep left per requirement */
        max-width: 100%;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .hero-content h1 {
        font-size: 1.3rem;            /* smaller for mobile */
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .hero-tagline {
        display: block;
        font-size: 0.8rem;
        font-weight: 600;
        margin-bottom: 4px;
    }

    /* Remove container padding inside the slide */
    .hero-slide .container {
        width: 100%;
        padding: 30px 25px;
        margin: 0;
    }

    /* Ensure the slide is not overflowing */
    .hero-slide {
        border-radius: 15px;
        overflow: hidden;
    }
}


/* ===== Executive Secretary Section ===== */

.exec-section {
    background: #ffffff;
    padding-top: 50px;
    padding-bottom: 60px;
}

.exec-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.6fr 1.1fr;
    gap: 26px;
    align-items: center;
}

/* Left – Years of service */
.exec-years {
    text-align: center;
}

.exec-years-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #d83a2e; /* your accent red */
    line-height: 1;
    margin-bottom: 6px;
}

.exec-years-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #424b5a;
    margin-bottom: 8px;
}

.exec-years-text {
    font-size: 0.95rem;
    color: #7a8494;
    line-height: 1.6;
}

/* Middle – Shiny animated border around quote */
.exec-card-border {
    position: relative;
    border-radius: 24px;
    padding: 2px; /* thickness of border */
    background: linear-gradient(
        120deg,
        #0309ff,
        #d83a2e,
        #ffb347,
        #0309ff
    );
    background-size: 300% 300%;
    animation: execBorderGlow 9s linear infinite;
}

.exec-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 24px 30px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.exec-quote {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    color: #555f6f;
    text-align: center;
    margin: 0 0 14px;
}

.exec-quote:last-of-type {
    margin-bottom: 20px;
}

.exec-name {
    text-align: center;
    font-size: 0.95rem;
    color: #424b5a;
    margin: 0;
}

.exec-name span {
    font-weight: 700;
}

/* Animated gradient movement */
@keyframes execBorderGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Right – Photo block */
.exec-photo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* soft cyan card behind photo */
.exec-photo-bg {
    position: absolute;
    inset: 20px 10px 0 0;
    background: #bdeeff;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* main photo card */
.exec-photo-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #2e7a8b;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.exec-photo-card img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .exec-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .exec-years {
        order: 1;
    }

    .exec-card-border {
        order: 2;
    }

    .exec-photo-wrap {
        order: 3;
        max-width: 320px;
        margin: 0 auto;
    }

    .exec-card {
        padding: 20px 18px;
    }
}

@media (max-width: 767px) {
    .exec-years-number {
        font-size: 3rem;
    }

    .exec-years-label {
        font-size: 1.1rem;
    }

    .exec-quote {
        font-size: 0.95rem;
    }
}


/* ===== Our Programmes (Home) ===== */

.programs-section {
    background: #f5f7ff;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* Outer animated border */
.program-card-border {
    position: relative;
    border-radius: 22px;
    padding: 2px; /* border thickness */
    background: linear-gradient(
        135deg,
        #0309ff,
        #d83a2e,
        #ffc857,
        #0309ff
    );
    background-size: 300% 300%;
    animation: programsBorderGlow 10s linear infinite;
}

/* Inner card */
.program-card-inner {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 20px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 36px rgba(3, 9, 255, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card-inner h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #15244a;
    text-align: center;
}

.program-card-inner p {
    font-size: 0.92rem;
    color: #5a6477;
    line-height: 1.7;
    margin-bottom: 18px;
    text-align: justify;
}

/* Card hover */
.program-card:hover .program-card-inner {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(3, 9, 255, 0.22);
}

/* Silky animated button */
.program-btn {
    display: inline-block;
    padding: 10px 22px;
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05)) , #d83a2e;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 20px 0px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    transition: background 0.4s ease, color 0.3s ease, box-shadow 0.4s ease;
}

/* Silky shine animation */
.program-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: skewX(-30deg);
    transition: 0.5s;
}

/* Hover effect */
.program-btn:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05)) , #0309ff;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

/* Trigger silky shine on hover */
.program-btn:hover::after {
    left: 100%;
}



/* Gradient animation for border and button */
@keyframes programsBorderGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes programButtonGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ===== Responsive layout ===== */
@media (max-width: 991px) {
    .programs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .program-card-inner {
        padding: 18px 16px 22px;
    }
}


/* Program Image Styling */
.program-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 18px 18px 0 0; /* rounded top corners */
    position: relative;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
	padding-bottom:  20px;
}

/* Zoom-in effect on hover */
.program-card:hover .program-image img {
    transform: scale(1.08);
}

.program-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.25));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-card:hover .program-image::after {
    opacity: 0.4;
}

@media (max-width: 767px) {
    .program-image {
        height: 150px;
    }
}


/* ===========================
   OUR PARTNERS SECTION
=========================== */
.partners-section {
    background: #f5f7ff; /* Soft subtle background */
    padding: 60px 0;
    text-align: center;
    overflow: hidden; /* Important */
}

.partners-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0;
}

.partners-track {
    display: flex;
    width: calc(200%); /* Since duplicated */
    animation: scrollPartners 22s linear infinite;
}

.partners-track img {
    width: 150px;
    height: auto;
    margin: 0 30px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: grayscale(0%);
}

/* Hover effect */
.partners-track img:hover {
    transform: scale(1.08);
    filter: grayscale(0);
}

/* Animation */
@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 991px) {
    .partners-track img {
        width: 120px;
        margin: 0 20px;
    }
}

@media (max-width: 767px) {
    .partners-track img {
        width: 100px;
        margin: 0 15px;
    }
}

.partners-slider::before,
.partners-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(to right, #f5f7ff, rgba(245,247,255,0));
}
.partners-slider::after {
    right: 0;
    background: linear-gradient(to left, #f5f7ff, rgba(245,247,255,0));
}


/* ===== Board Members Page ===== */

.board-section {
    background: #f5f7ff;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.board-card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(3, 9, 255, 0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* photo wrapper with hover transition */
.board-photo-wrap {
    position: relative;
    overflow: hidden;
}

.board-photo-wrap img {
    width: 100%;
    
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* subtle gradient overlay on hover */
.board-photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255,255,255,0.15), transparent 55%),
                linear-gradient(to top, rgba(0,0,0,0.35), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.board-info {
    padding: 18px 20px 22px;
    text-align: center;
}

.board-info h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: #15244a;
}

.board-role {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7a8198;
}

/* Hover effects */
.board-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(3, 9, 255, 0.20);
}

.board-card:hover .board-photo-wrap img {
    transform: scale(1.08);
    filter: saturate(1.1);
}

.board-card:hover .board-photo-wrap::after {
    opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .board-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .board-photo-wrap img {
        height: 260px;
    }
}

@media (max-width: 767px) {
    .board-grid {
        grid-template-columns: 1fr;
    }

    .board-photo-wrap img {
        height: 240px;
    }
}


/* ===== Contact Us Page ===== */

.contact-section {
    background: #f5f7ff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 22px 24px 26px;
    box-shadow: 0 16px 40px rgba(3, 9, 255, 0.10);
}

.contact-card h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 1.2rem;
    color: #15244a;
}

/* Form layout */
.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-form .form-field {
    margin-bottom: 12px;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444f63;
    margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #c9d0f2;
    padding: 9px 11px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0309ff;
    box-shadow: 0 0 0 2px rgba(3, 9, 255, 0.15);
}

/* Submit button */
.contact-submit-btn {
    margin-top: 4px;
    border-radius: 999px;
    padding: 9px 26px;
    border: none;
    background: linear-gradient(120deg, #0309ff, #d83a2e, #ffc857, #0309ff);
    background-size: 220% 220%;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(3, 9, 255, 0.25);
    animation: contactBtnGlow 6s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(3, 9, 255, 0.30);
}

/* Contact details */
.contact-info-block {
    margin-bottom: 14px;
}

.contact-info-block h4 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #858fb0;
}

.contact-info-block p {
    margin: 0;
    font-size: 0.95rem;
    color: #454f66;
    line-height: 1.6;
}

.contact-social a {
    color: #0309ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-social span {
    color: #a0a6c0;
    margin: 0 6px;
}

/* Button animation (reuse gradient motion) */
@keyframes contactBtnGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Map section */
.contact-map-section {
    padding-top: 0;
    background: #f5f7ff;
}

.contact-map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(3, 9, 255, 0.15);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 380px;
    display: block;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .contact-card {
        padding: 18px 16px 22px;
    }

    .contact-map-wrapper iframe {
        height: 320px;
    }
}


/* ===== Child Care Programme Page ===== */

.programme-hero {
    padding-top: 50px;
    padding-bottom: 50px;
    background: radial-gradient(circle at top left, #e5e6ff, #f7f8ff);
    position: relative;
    overflow: hidden;
}

.programme-child-hero::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(3, 9, 255, 0.09);
    top: -80px;
    right: -60px;
    filter: blur(8px);
}

.programme-hero .container {
    position: relative;
    z-index: 1;
}

.programme-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: center;
}

.programme-kicker {
    display: inline-flex;
    padding: 3px 11px;
    border-radius: 999px;
    background: rgba(3, 9, 255, 0.08);
    color: #0309ff;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.programme-hero-text h1 {
    margin: 10px 0 12px;
    font-size: 2rem;
    color: #d83a2e;
}

.programme-hero-text p {
    color: #5b657c;
    line-height: 1.8;
}

.programme-hero-images {
    position: relative;
    height: 100%;
    min-height: 260px;
}

.programme-image-large,
.programme-image-small {
    position: absolute;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(3, 9, 255, 0.18);
}

.programme-image-large {
    inset: 0 18% 14% 0;
}

.programme-image-small {
    width: 52%;
    height: 52%;
    right: 0;
    bottom: 0;
    transform: translate(16px, 18px);
    z-index: 2;
    border: 4px solid #ffffff;
}

.programme-image-large img,
.programme-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.programme-hero-images:hover .programme-image-large img,
.programme-hero-images:hover .programme-image-small img {
    transform: scale(1.07);
}

/* Activities split section */

.programme-section {
    background: #ffffff;
}

.programme-split {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: center;
}

.programme-text h2 {
    color: #d83a2e;
    margin-top: 0;
    margin-bottom: 6px;
}

.programme-text h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #15244a;
}

.programme-text p {
    color: #555f73;
    line-height: 1.8;
}

.programme-list {
    margin: 10px 0 16px;
    padding-left: 20px;
    color: #4a5469;
}

.programme-list li {
    margin-bottom: 6px;
}

/* Right image with layered background */

.programme-side-image {
    position: relative;
    height: 100%;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.programme-side-image-bg {
    position: absolute;
    inset: 22px 0 0 18px;
    border-radius: 22px;
    background: #bdeeff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.programme-side-image-inner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(3, 9, 255, 0.25);
}

.programme-side-image-inner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.programme-side-image:hover .programme-side-image-inner img {
    transform: scale(1.07);
}

/* Responsive tweaks */

@media (max-width: 991px) {
    .programme-hero-grid {
        grid-template-columns: 1fr;
    }

    .programme-hero-images {
        min-height: 260px;
        margin-top: 14px;
    }

    .programme-split {
        grid-template-columns: 1fr;
    }

    .programme-side-image-bg {
        inset: 18px 12px 0 0;
    }
}

@media (max-width: 767px) {
    .programme-hero {
        padding-top: 36px;
        padding-bottom: 40px;
    }

    .programme-hero-text h1 {
        font-size: 1.6rem;
    }

    .programme-image-large {
        inset: 0 10% 18% 0;
    }

    .programme-image-small {
        width: 58%;
    }
}


/* Right image background with faded image */
.programme-side-image-bg {
    position: absolute;
    inset: 22px 0 0 18px; /* Adjust based on your layout */
    
    border-radius: 22px;
    overflow: hidden;
    
    background: url("../../assets/images/program/child-care/bg-img.jpg") center/cover no-repeat;
    filter: brightness(0.85);
    opacity: 0.25;   /* Soft faded look */
    
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    transition: opacity 0.4s ease;
}

/* Slight brighten on hover */
.programme-side-image:hover .programme-side-image-bg {
    opacity: 0.4;
    filter: brightness(0.93);
}

/* Fullscreen Overlay */
#preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wrapper for circle + logo */
.loader-box {
    position: relative;
    width: 200px;   /* Circle size */
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Circle animation */
.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 10px solid #dcdcdc;     /* Light grey background */
    border-top-color: #0b6fc2;      /* Blue animated part */
    animation: spin 1.2s linear infinite;
}

/* Logo inside the circle */
.loader-logo {
    width: 90px;   /* Size of the logo */
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);   /* ⭐ perfect center */
}

/* Spin animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Fade-out */
.preloader-hide {
    opacity: 0;
    visibility: hidden;
    transition: 0.5s ease;
}

/* Wrapper for circle + logo */
.loader-box {
    position: relative;
    width: 260px;   /* increase circle size */
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Circle animation */
.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 12px solid #dcdcdc;
    border-top-color: #0b6fc2;
    animation: spin 1.2s linear infinite;
}

/* Logo size increased */
.loader-logo {
    width: 220px;        /* ⭐ Increase logo size */
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}










/* ===== Women Empowerment Programme Page ===== */

.programme-women-hero {
    background: radial-gradient(circle at top left, #ffe5e2, #f7f8ff);
}

.programme-women-hero .programme-hero-text h1 {
    color: #d83a2e;
}

.programme-subtitle {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #15244a;
}

/* Activity rows */

.programme-women-section {
    background: #ffffff;
}

.programme-women-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.programme-women-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
    gap: 24px;
    align-items: center;
    padding: 22px 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f3f5ff, #ffffff);
    box-shadow: 0 14px 36px rgba(3, 9, 255, 0.07);
}

.programme-women-row.row-reverse {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
}

.programme-women-image {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(3, 9, 255, 0.18);
}

.programme-women-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.programme-women-row:hover .programme-women-image img {
    transform: scale(1.07);
}

.programme-women-text h2 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #15244a;
    font-size: 1.1rem;
}

.programme-women-text p {
    color: #555f73;
    line-height: 1.8;
}

/* Responsive */

@media (max-width: 991px) {
    .programme-women-row,
    .programme-women-row.row-reverse {
        grid-template-columns: 1fr;
    }

    .programme-women-row {
        padding: 18px 16px;
    }
}

@media (max-width: 767px) {
    .programme-women-grid {
        gap: 20px;
    }

    .programme-women-text h2 {
        font-size: 1rem;
    }
}


/* ===== Rag Picker Communities Programme ===== */

.programme-rag-hero {
    background: radial-gradient(circle at top left, #ffe9c7, #f7f8ff);
}

.programme-rag-hero .programme-hero-text h1 {
    color: #d83a2e;
}

/* Cards for "What We Do" */
.programme-rag-section {
    background: #ffffff;
}

.rag-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.rag-feature-card {
    background: #f5f7ff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 32px rgba(3, 9, 255, 0.08);
}

.rag-feature-image {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.rag-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 0.5s ease;
}

.rag-feature-body {
    padding: 16px 18px 18px;
}

.rag-feature-body h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #15244a;
}

.rag-feature-body p {
    margin: 0 0 10px;
    color: #555f73;
    line-height: 1.7;
}

.rag-feature-body ul {
    margin: 0 0 10px 18px;
    padding: 0;
    color: #4a5469;
}

.rag-feature-card:hover .rag-feature-image img {
    transform: scale(1.09);
}

/* Why It Matters section */
.programme-rag-why {
    background: #f8f9ff;
}

.programme-rag-bg {
    background: linear-gradient(135deg, #ffe3c0, #cdd9ff);
}

/* Looking Ahead */
.programme-rag-future {
    background: #ffffff;
}

.rag-future-card {
    border-radius: 22px;
    padding: 22px 24px 24px;
    background: linear-gradient(135deg, #f3f5ff, #ffffff);
    box-shadow: 0 16px 40px rgba(3, 9, 255, 0.12);
}

.rag-future-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #15244a;
}

.rag-future-card p {
    color: #555f73;
    line-height: 1.8;
}

.rag-future-card ul {
    margin: 0 0 12px 20px;
    padding: 0;
    color: #4a5469;
}

/* Responsive */
@media (max-width: 991px) {
    .rag-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .rag-feature-grid {
        grid-template-columns: 1fr;
    }

    .rag-feature-image {
        height: 200px;
    }

    .rag-future-card {
        padding: 18px 16px 20px;
    }
}


/* ===== Adolescent / Youth Development Programme ===== */

.programme-adolescent-hero {
    background: radial-gradient(circle at top left, #e6f4ff, #f7f8ff);
}

.programme-adolescent-hero .programme-hero-text h1 {
    color: #d83a2e;
}

.programme-adolescent-section {
    background: #ffffff;
}

.adolescent-split {
    align-items: center;
    gap: 32px;
}

.adolescent-row-reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
}

@media (min-width: 992px) {
    .adolescent-row-reverse {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    }
}

/* Stats block */

.adolescent-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 14px 0 10px;
}

.adolescent-stat-box {
    flex: 1 1 160px;
    padding: 10px 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef2ff, #ffffff);
    box-shadow: 0 10px 26px rgba(3, 9, 255, 0.10);
}

.adolescent-stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0309ff;
    margin-bottom: 2px;
}

.adolescent-stat-label {
    font-size: 0.85rem;
    color: #515a71;
}

/* Backgrounds on side image */

.adolescent-bg {
    background: linear-gradient(135deg, #cfe9ff, #e6f0ff);
}

.adolescent-bg-alt {
    background: linear-gradient(135deg, #ffe2f0, #e7ecff);
}

/* Responsive tweaks */

@media (max-width: 991px) {
    .adolescent-split {
        grid-template-columns: 1fr !important;
    }

    .programme-adolescent-section .programme-text {
        order: 1;
    }

    .programme-adolescent-section .programme-side-image {
        order: 2;
    }
}


/* ===== Exhibiting Ability in Disability Programme ===== */

.programme-disability-hero {
    background: radial-gradient(circle at top left, #e6fff8, #f7f8ff);
}

.programme-disability-hero .programme-hero-text h1 {
    color: #d83a2e;
}

.programme-disability-section {
    background: #ffffff;
}

.disability-split {
    align-items: center;
    gap: 32px;
}

/* Reverse layout on desktop for the last section */
.disability-row-reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
}

@media (min-width: 992px) {
    .disability-row-reverse {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    }
}

/* Side image backgrounds */

.disability-bg {
    background: linear-gradient(135deg, #ccf4e8, #e0f4ff);
}

.disability-bg-alt {
    background: linear-gradient(135deg, #ffe9f0, #e4f1ff);
}

/* Stats styling */

.disability-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
}

.disability-stat-box {
    flex: 1 1 160px;
    padding: 10px 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eefaf5, #ffffff);
    box-shadow: 0 10px 26px rgba(3, 9, 255, 0.10);
}

.disability-stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0309ff;
    margin-bottom: 2px;
}

.disability-stat-label {
    font-size: 0.85rem;
    color: #515a71;
    line-height: 1.4;
}

/* Responsive tweaks */

@media (max-width: 991px) {
    .disability-split {
        grid-template-columns: 1fr !important;
    }

    .programme-disability-section .programme-text {
        order: 1;
    }

    .programme-disability-section .programme-side-image {
        order: 2;
    }
}


/* ========= PROGRAMME INNER BANNER ========= */
.inner-banner {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 60px 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.inner-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.inner-banner .container {
  position: relative;
  z-index: 2;
}

.inner-banner h1 {
  font-size: 2.2rem;
  font-weight: 700;
}

.inner-banner p {
  font-size: 0.98rem;
  margin-bottom: 0;
  opacity: 0.95;
}

/* ========= BREADCRUMB STRIP ========= */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
}

.breadcrumb a {
  color: #0d6efd;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ========= PROGRAMME DETAILS ========= */
.programme-details {
  background-color: #f8f9fa;
}

.programme-details h2,
.programme-details h3 {
  color: #0d6efd;
}

.programme-details p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}

.programme-details p.text-justify {
  text-align: justify;
}

.programme-details ul {
  margin-bottom: 1rem;
}

.programme-details li {
  font-size: 0.94rem;
  color: #444;
}

/* ========= CARDS / SIDEBAR ========= */
.programme-details .card {
  border-radius: 8px;
  border: 1px solid #e3e6ea;
}

.programme-details .card-header {
  border-bottom: 1px solid #e3e6ea;
}

.programme-details .card-header.bg-primary {
  background: #0d6efd !important;
}

/* ========= GALLERY ========= */
.programme-details .ratio {
  border-radius: 6px;
  overflow: hidden;
  background: #e9ecef;
}

.programme-details .ratio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========= RESPONSIVE TWEAKS ========= */
@media (max-width: 991.98px) {
  .inner-banner {
    min-height: 200px;
    padding: 40px 0;
  }

  .inner-banner h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 575.98px) {
  .inner-banner {
    text-align: left;
  }

  .inner-banner h1 {
    font-size: 1.5rem;
  }

  .programme-details {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}


/* ===== Road Safety Awareness / Training Programme ===== */

.programme-road-hero {
    background: radial-gradient(circle at top left, #ffeccd, #f7f8ff);
}

.programme-road-hero .programme-hero-text h1 {
    color: #d83a2e;
}

.programme-road-section,
.programme-road-sim,
.programme-road-truck {
    background: #ffffff;
}

.road-split {
    align-items: center;
    gap: 32px;
}

/* Reverse layout on desktop for some sections */
.road-row-reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
}

@media (min-width: 992px) {
    .road-row-reverse {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
    }
}

/* Impact list */
.road-impact-list {
    margin: 8px 0 0 18px;
    padding: 0;
    color: #4a5469;
}

/* Side image background accents */
.road-bg {
    background: linear-gradient(135deg, #ffe2c0, #e2ecff);
}

.road-bg-alt {
    background: linear-gradient(135deg, #ffe6f0, #e3f0ff);
}

.road-sim-bg {
    background: linear-gradient(135deg, #dff2ff, #f2e6ff);
}

.road-truck-bg {
    background: linear-gradient(135deg, #ffe8d5, #dde9ff);
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .road-split {
        grid-template-columns: 1fr !important;
    }

    .programme-road-section .programme-text,
    .programme-road-sim .programme-text,
    .programme-road-truck .programme-text {
        order: 1;
    }

    .programme-road-section .programme-side-image,
    .programme-road-sim .programme-side-image,
    .programme-road-truck .programme-side-image {
        order: 2;
    }
}
/* ===== Senior Citizens Care Programme ===== */

.programme-senior-hero {
    background: radial-gradient(circle at top left, #ffe9f0, #f7f8ff);
}

.programme-senior-hero .programme-hero-text h1 {
    color: #d83a2e;
}

.programme-senior-section {
    background: #ffffff;
}

.senior-split {
    align-items: center;
    gap: 32px;
}

/* Side image background accent */
.senior-bg {
    background: linear-gradient(135deg, #ffe1e0, #e4efff);
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .senior-split {
        grid-template-columns: 1fr !important;
    }

    .programme-senior-section .programme-text {
        order: 1;
    }

    .programme-senior-section .programme-side-image {
        order: 2;
    }
}


/* ===== Eco Friendly Environment Programme ===== */

.programme-eco-hero {
    background: radial-gradient(circle at top left, #e9fff3, #f7fbff);
}

.programme-eco-hero .programme-hero-text h1 {
    color: #0c8a4b;
}

.programme-eco-section {
    background: #ffffff;
}

.eco-split {
    align-items: center;
    gap: 32px;
}

/* Side image background accent */
.eco-bg {
    background: linear-gradient(135deg, #d8f9e4, #e4f3ff);
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .eco-split {
        grid-template-columns: 1fr !important;
    }

    .programme-eco-section .programme-text {
        order: 1;
    }

    .programme-eco-section .programme-side-image {
        order: 2;
    }
}


/* ===== Vocational Skill Training Programme ===== */

.programme-vocational-hero {
    background: radial-gradient(circle at top left, #fff4e5, #f7fbff);
}

.programme-vocational-hero .programme-hero-text h1 {
    color: #e58a00;
}

.programme-vocational-section {
    background: #ffffff;
}

.vocational-split {
    align-items: center;
    gap: 32px;
}

/* Side image background accent */
.vocational-bg {
    background: linear-gradient(135deg, #ffe7c3, #e4f3ff);
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .vocational-split {
        grid-template-columns: 1fr !important;
    }

    .programme-vocational-section .programme-text {
        order: 1;
    }

    .programme-vocational-section .programme-side-image {
        order: 2;
    }
}

/* ===== Vocational Skill Training Programme ===== */

.programme-vocational-hero {
    background: radial-gradient(circle at top left, #fff4e5, #f7fbff);
}

.programme-vocational-hero .programme-hero-text h1 {
    color: #e58a00;
}

.programme-vocational-section {
    background: #ffffff;
}

.vocational-split {
    align-items: center;
    gap: 32px;
}

/* Bottom Image Gallery */
.programme-image-gallery {
    background: #fafafa;
    padding: 40px 0;
}

.programme-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.programme-image-gallery img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.07);
}

/* Side image background accent */
.vocational-bg {
    background: linear-gradient(135deg, #ffe7c3, #e4f3ff);
}

/* Responsive */
@media (max-width: 991px) {
    .vocational-split {
        grid-template-columns: 1fr !important;
    }
    .programme-vocational-section .programme-text {
        order: 1;
    }
    .programme-vocational-section .programme-side-image {
        order: 2;
    }
    .programme-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .programme-gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== Emergency Relief Works Programme ===== */

.programme-emergency-hero {
    background: radial-gradient(circle at top left, #ffeef0, #f7fbff);
}

.programme-emergency-hero .programme-hero-text h1 {
    color: #c53030;
}

.programme-emergency-section {
    background: #ffffff;
}

.emergency-split {
    align-items: flex-start;
    gap: 32px;
}

/* Side image background accent */
.emergency-bg {
    background: linear-gradient(135deg, #ffe0e0, #e4f3ff);
}

/* Reuse existing gallery styles from vocational page.
   If not added yet, you can use this: */

.programme-image-gallery {
    background: #fafafa;
    padding: 40px 0;
}

.programme-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.programme-image-gallery img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.07);
}

/* Responsive */
@media (max-width: 991px) {
    .emergency-split {
        grid-template-columns: 1fr !important;
    }

    .programme-emergency-section .programme-text {
        order: 1;
    }

    .programme-emergency-section .programme-side-image {
        order: 2;
        margin-top: 20px;
    }

    .programme-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .programme-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Disaster Response & Risk Reduction Programme ===== */

.programme-disaster-hero {
    background: radial-gradient(circle at top left, #e9f5ff, #f7fbff);
}

.programme-disaster-hero .programme-hero-text h1 {
    color: #1666b8;
}

.programme-disaster-section {
    background: #ffffff;
}

.disaster-split {
    align-items: flex-start;
    gap: 32px;
}

/* Side image background accent */
.disaster-bg {
    background: linear-gradient(135deg, #d6e9ff, #fce4ec);
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .disaster-split {
        grid-template-columns: 1fr !important;
    }

    .programme-disaster-section .programme-text {
        order: 1;
    }

    .programme-disaster-section .programme-side-image {
        order: 2;
        margin-top: 20px;
    }
}

/* ===== Disaster Response & Risk Reduction Programme ===== */

.programme-disaster-hero {
    background: radial-gradient(circle at top left, #e9f5ff, #f7fbff);
}

.programme-disaster-hero .programme-hero-text h1 {
    color: #1666b8;
}

.programme-disaster-section {
    background: #ffffff;
}

.disaster-split {
    align-items: flex-start;
    gap: 32px;
}

/* Side image background accent */
.disaster-bg {
    background: linear-gradient(135deg, #d6e9ff, #fce4ec);
}

/* Bottom gallery */
.programme-image-gallery {
    background: #fafafa;
    padding: 40px 0;
}

.programme-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.programme-image-gallery img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.07);
}

/* Responsive */
@media (max-width: 991px) {
    .disaster-split {
        grid-template-columns: 1fr !important;
    }
    .programme-disaster-section .programme-text {
        order: 1;
    }
    .programme-disaster-section .programme-side-image {
        order: 2;
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    .programme-gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== Annual Activity Reports Page ===== */

.reports-hero {
    background: radial-gradient(circle at top left, #f6f9ff, #ffffff);
    padding-top: 70px;
    padding-bottom: 40px;
}

.reports-hero-inner {
    max-width: 640px;
}

.reports-hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.reports-hero p {
    font-size: 15px;
    color: #555;
}

/* Reports cards */

.reports-list-section {
    background: #f9fafb;
    padding-top: 40px;
    padding-bottom: 60px;
}

.reports-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.reports-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.reports-card h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.reports-card-year {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.reports-card-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
}

.reports-card-label {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #0f766e;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.reports-btn {
    margin-top: auto;
    font-size: 14px;
}

/* Small screens */
@media (max-width: 575px) {
    .reports-hero {
        text-align: left;
        padding-top: 50px;
    }
    .reports-hero h1 {
        font-size: 26px;
    }
}


/* ===== Official Documents Page ===== */

.documents-hero {
    background: radial-gradient(circle at top left, #f7faff, #ffffff);
    padding-top: 70px;
    padding-bottom: 40px;
}

.documents-hero-inner {
    max-width: 640px;
}

.documents-hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.documents-hero p {
    font-size: 15px;
    color: #555;
}

/* Document cards */

.documents-list-section {
    background: #f9fafb;
    padding-top: 40px;
    padding-bottom: 60px;
}

.documents-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.documents-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.documents-card h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.documents-card-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
}

.documents-btn {
    margin-top: auto;
    font-size: 14px;
}

/* Small screens */
@media (max-width: 575px) {
    .documents-hero {
        padding-top: 50px;
        text-align: left;
    }
    .documents-hero h1 {
        font-size: 26px;
    }
}


/* ===== Gallery Page ===== */

.gallery-hero {
    background: radial-gradient(circle at top left, #f6f9ff, #ffffff);
    padding-top: 70px;
    padding-bottom: 30px;
}

.gallery-hero-inner {
    max-width: 640px;
}

.gallery-hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.gallery-hero p {
    font-size: 15px;
    color: #555;
}

/* Filters card */

.gallery-section {
    background: #f9fafb;
    padding-top: 30px;
    padding-bottom: 60px;
}

.gallery-filters-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    margin-bottom: 30px; /* more gap before grid */
}

.gallery-filters {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gallery-filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-right: 6px;
}

.filter-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    border: 1px solid #d3d8e8;
    background: #f9fafb;
    padding: 7px 16px;       /* bigger button, more padding */
    border-radius: 99px;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.3;
    color: #111827;
}

.filter-btn:hover {
    background: #e8edff;
    border-color: #c2cbff;
}

.filter-btn.active {
    background: #2140ff;
    border-color: #2140ff;
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(33,64,255,0.1);
}

/* Grid – 4 columns with ~20px gap */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px; /* tighter but larger cards */
}

figure.gallery-item {
    margin: 0;
}

/* Optional: slightly smaller gap between cards */
.gallery-grid {
    gap: 16px; /* you can try 15 or 16; adjust to your taste */
}

.gallery-item {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 ratio */
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-image-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.03);
}

.gallery-caption {
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gallery-main {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
}

.gallery-sub {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
}

/* Responsive */

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-hero {
        padding-top: 50px;
    }
    .gallery-hero h1 {
        font-size: 26px;
    }
}


/* ===== Gallery Lightbox ===== */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.gallery-lightbox.open {
    display: block;
}

.gallery-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.82);
}

.gallery-lightbox-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#lightbox-image {
    max-width: 96vw;
    max-height: 96vh;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
    background: #000;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 32px;
    border: none;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(15,23,42,0.55);
    color: #ffffff;
    font-size: 26px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

.lightbox-arrow:hover {
    background: rgba(15,23,42,0.8);
}

/* Optional: lock scroll when lightbox open */
body.nav-open-lightbox {
    overflow: hidden;
}
