/* ===== Global Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #002633;
    background: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}



/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid #0072BC;
    background-color: #0072BC;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #009639;
    color: #002633;
    transform: translateY(-3px);
}

.btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #002633;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 113, 188, 0);
    z-index: -1;
}

.hero-content {
    position: relative;
    text-align: center;
    color: #ffffff;
    z-index: 2;
    animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

/* ===== ABOUT SECTION ===== */
.section {
    padding: 80px 8%;
}


.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-content, .about-image {
    flex: 1;
}

.about-image {
  border: 3px solid #002E5D;
  border-radius: 10px;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #009639;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1rem;
}

/* ===== PROGRAMMES ===== */
.programmes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.programme-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #0072BC;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.programme-card:hover {
    transform: translateY(-10px);
    border-color: #009639;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.programme-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.programme-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.programme-card:hover .programme-img img {
    transform: scale(1.1);
}

.programme-content {
    padding: 20px;
}

.container h2 {
    color: #009639;
}

.programme-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #009639;
}

.programme-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* ===== STATISTICS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 40px;
}

.stat-card {
    background: #009639;
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta-inner {
    background: #002633;
    color: #fff;
    padding: 60px 100px;
    border-radius: 20px;
    text-align: center;
    margin-top: 60px;
    transition: transform 0.3s ease;
}

.cta-inner:hover {
    transform: translateY(-5px);
}

.cta-inner h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-inner p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* ===== PARTNERS MARQUEE ===== */
.partners-marquee {
    overflow: hidden;
    position: relative;
    height: 100px;
    margin-top: 40px;
}

.marquee-track {
    display: flex;
    gap: 50px;
    animation: marquee 20s linear infinite;
}

.marquee-track img {
    max-height: 80px;
    object-fit: contain;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .about-grid { flex-direction: column; }
    .about-image, .about-content { flex: unset; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1.1rem; }
    .cta-inner { padding: 40px 20px; }
    .programmes-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 1.6rem; }
    .hero-content p { font-size: 1rem; }
    .hero-buttons a { margin: 5px 0; }
}


/* =====================================
   GLOBAL STYLES & VARIABLES
===================================== */
:root {
    --primary: #002E5D;         /* Deep Blue */
    --primary-light: #009639;   /* Light Blue */
    --accent: #009639;          /* Yellow */
    --dark: #1a1a1a;
    --text: #444;
    --bg-light: #f5f8ff;
    --card-bg: #ffffff;
    --radius: 14px;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: #fff;
}

h2, h3, h4 {
    color: var(--dark);
    font-weight: 700;
}

/* ===============================
   GLOBAL SECTION STYLES
=============================== */
.section {
    padding: 70px 0;
    margin-top: 30px;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* ======================================
   ANIMATION CLASSES
====================================== */
.animate-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.animate-zoom {
    opacity: 0;
    transform: scale(0.9);
    animation: zoomIn 1s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ======================================
   ABOUT — WHO WE ARE / WHAT WE DO
====================================== */

.about-grid,
.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-grid img,
.history-grid img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Zigzag layout */
.history-grid {
    direction: rtl;
}
.history-grid > * {
    direction: ltr;
}

/* Content */
.about-content,
.history-content {
    background: var(--bg-light);
    padding: 40px;
    border-left: 5px solid var(--primary);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.about-content:hover,
.history-content:hover {
    background: #fff;
    border-left-color: var(--accent);
}

/* ======================================
   TEAM SECTION
====================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: 0.3s ease;
    border-top: 4px solid var(--primary);
}

.team-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--accent);
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid var(--primary-light);
}

.team-social a {
    color: var(--accent);
    margin: 0 8px;
    font-size: 1.1rem;
    transition: 0.3s;
}

.team-social a:hover {
    color: var(--accent);
}

/* ======================================
   CORE VALUES
====================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.value-card {
    background: var(--card-bg);
    padding: 30px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: 0.3s;
    border-bottom: 4px solid var(--primary);
}

.value-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--accent);
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

.value-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ======================================
   MISSION & VISION CARDS
====================================== */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mv-card {
    background: var(--accent);
    padding: 40px;
    text-align: center;
    border-radius: var(--radius);
    border-left: 6px solid var(--primary);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    transition: 0.3s;
}

.mv-card i {
    color: var(--primary);
}

.mv-card:hover {
    border-left-color: var(--accent);
    transform: translateY(-5px);
}

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 991px) {
    .about-grid,
    .history-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .history-grid {
        direction: ltr;
    }

    .about-content,
    .history-content {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .about-content,
    .history-content {
        padding: 25px;
    }

    .team-card img {
        width: 100px;
        height: 100px;
    }
}



/* ============================================
   HERO SECTION
============================================ */
#programmes-hero {
    position: relative;
    height: 60vh;
    background: url('assets/images/image2.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

#programmes-hero .hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #009639;
    backdrop-filter: blur(2px);
}

#programmes-hero .hero-text {
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

#programmes-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

#programmes-hero p {
    font-size: 20px;
    opacity: 0.9;
}

/* Fade animation */
.animate-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: all .9s ease-out;
}

.animate-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   MAIN SECTION
============================================ */
#our-programmes {
    padding: 80px 10%;
    background: #f4f7fb;
}

#our-programmes .intro {
    text-align: center;
    max-width: 750px;
    margin: auto;
    margin-bottom: 60px;
}

#our-programmes .intro h2 {
    font-size: 36px;
    font-weight: 800;
    color: #009639;
    margin-bottom: 15px;
}

#our-programmes .intro p {
    font-size: 18px;
    color: #444;
    line-height: 1.7;
}

/* ============================================
   PROGRAMME BLOCKS
============================================ */
.programme-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    padding: 25px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0px 6px 25px rgba(0,0,0,0.1);
    border-left: 8px solid #00a9e0;
    transition: .35s ease;
}

.programme-block:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 30px rgba(0,0,0,0.15);
}

/* Reverse layout */
.programme-block.reverse {
    flex-direction: row-reverse;
    border-left: none;
    border-right: 8px solid #00a9e0;
}

/* Programme Image */
.programme-img {
    flex: 1;
    position: relative;
}

.programme-img img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.15);
    transition: transform .4s ease;
}

.programme-block:hover .programme-img img {
    transform: scale(1.03);
}

/* Badge Icon */
.programme-img .badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: #00a9e0;
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 50%;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(0, 169, 224, 0.4);
}

/* Programme Info */
.programme-info {
    flex: 1;
}

.programme-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #009639;
    margin-bottom: 15px;
}

.programme-info p {
    font-size: 17px;
    color: #333;
    line-height: 1.7;
}

/* Zoom animation */
.animate-zoom {
    opacity: 0;
    transform: scale(0.92);
    transition: all .8s ease-in-out;
}

.animate-zoom.visible {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 992px) {
    .programme-block,
    .programme-block.reverse {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .programme-block.reverse {
        border-right: none;
        border-left: 8px solid #00a9e0;
    }

    .programme-img .badge {
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 600px) {
    #programmes-hero h1 {
        font-size: 32px;
    }

    #programmes-hero p {
        font-size: 16px;
    }

    .programme-info h3 {
        font-size: 24px;
    }

    .programme-info p {
        font-size: 15.5px;
    }
}


