* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background-color: #f9fafc;
    color: #0a2540;
}

/* ---------- GLOBAL BLOCK SYSTEM ---------- */
.section {
    padding: 60px 10%;
}

.section-title {
    background: #4b86c9;
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    padding: 16px 22px;
    margin-bottom: 30px;
    position: relative;
}

/* angled accent */
.section-title::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-top: 34px solid #ffb703;
    border-left: 34px solid transparent;
}

/* rectangular content block */
.content-block {
    background: #fff3d6;
    padding: 30px;
    border-radius: 6px;
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 15.5px;
}

/* grid layout */
.block-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* image handling */
.block-image img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}

/* responsive */
@media (max-width: 768px) {
    .section {
        padding: 40px 6%;
    }

    .section-title {
        font-size: 22px;
    }
}

/* NAVBAR */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2f6fb2;
    padding: 15px 30px;
    color: #fff;
}

/* LOGO SECTION */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
}

.logo img {
    height: 40px;
    width: auto;
}

/* NAV LINKS */
.navbar nav {
    display: flex;
    align-items: center;
}

.navbar nav a {
    margin: 0 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.navbar nav a:hover {
    text-decoration: underline;
}

/* QUICK LINKS BUTTON (unchanged) */
.quick-links-btn {
    background: #0a2540;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
}



/* Ensure navbar is always on top */
.navbar {
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* Logo image */
.logo img {
    height: 40px;
    width: auto;
}

/* MOBILE: Logo-only view */
@media (max-width: 768px) {
  .navbar {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }

    /* LOGO LEFT */
    .logo {
        justify-self: start;
    }

    /* HIDE LOGO TEXT ON MOBILE */
    .logo span {
        display: none;
    }

    /* CENTER QUICK LINKS */
    .nav-actions {
        justify-self: center;
    }

    /* SHOW HAMBURGER */
    .hamburger {
        display: block;
    }
    /* MOVE HAMBURGER TO RIGHT */
    .nav-actions {
        display: contents;
    }

    .hamburger {
        grid-column: 3;
        justify-self: end;
        padding-left: 30px;
    }

    .quick-links-btn {
        grid-column: 2;
        justify-self: center;
        
    }
}

/* QUICK LINKS BUTTON (unchanged) */
.quick-links-btn {
    background: #0a2540;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
}



/* QUICK LINKS PANEL */
.quick-links {
    position: absolute;
    right: 30px;
    top: 70px;
    background: #0a2540;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    width: 200px;
    z-index: 10;
}

.quick-links a {
    padding: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.quick-links a:hover {
    background: #2f6fb2;
}

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
}

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 30px;
}

.primary-btn {
    background: #ffb703;
    color: #0a2540;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
}

.hero-image img {
    width: 420px;
    border-radius: 20px;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 60px 10%;
    background: #fff;
}

.feature-card {
    background: #f1f6fb;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: #2f6fb2;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #0a2540;
    color: #fff;
    margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        margin-top: 30px;
        width: 90%;
    }
}

/* NAV ACTIONS */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* HAMBURGER BUTTON */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

/* MOBILE NAVIGATION */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #2f6fb2;
        flex-direction: column;
        display: none;
        padding: 20px 0;
    }

    .nav-links a {
        padding: 12px;
        text-align: center;
        display: block;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .navbar nav {
        display: none;
    }
}

/* PAGE LAYOUT */
.page-container {
    padding: 60px 10%;
}

.section {
    margin-bottom: 60px;
}

.section h1,
.section h2 {
    margin-bottom: 20px;
    color: #0a2540;
}

.intro-text {
    font-size: 17px;
    max-width: 700px;
}

.light-bg {
    background: #f1f6fb;
    padding: 40px;
    border-radius: 20px;
}

/* TEAM MESSAGE */
.team-message {
    margin-top: 30px;
    padding: 25px;
    background: #ffffff;
    border-radius: 16px;
}

/* VALUES */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.value-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

/* SUPPORT LIST */
.support-list {
    margin: 20px 0;
    padding-left: 20px;
}

.support-list li {
    margin-bottom: 8px;
}

/* MAP */
.map-container {
    margin-top: 25px;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ACTIVE NAV LINK */
.nav-links a.active {
    text-decoration: underline;
    font-weight: bold;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .page-container {
        padding: 40px 6%;
    }

    .map-container {
        height: 280px;
    }
}

/* IMAGE GRIDS */
.about-grid,
.history-grid,
.inclusion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
}

.section-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

/* VALUE ICONS */
.value-card img {
    width: 64px;
    margin-bottom: 15px;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
    .about-grid,
    .history-grid,
    .inclusion-grid {
        gap: 25px;
    }

    .value-card img {
        width: 56px;
    }
}

/* VALUES – INSPIRED BLOCK DESIGN */
.values-section h2 {
    margin-bottom: 30px;
}

.values-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* VALUE BOX */
.value-box {
    background: #fff3d6;
    border-radius: 6px;
    overflow: hidden;
}

/* HEADER BAR */
.value-header {
    background: #4b86c9;
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    padding: 16px 20px;
    position: relative;
}

/* ANGLED CORNER ACCENT */
.value-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-top: 30px solid #ffb703;
    border-left: 30px solid transparent;
}

/* BODY */
.value-body {
    padding: 22px 20px 26px;
    font-size: 15px;
    line-height: 1.6;
    color: #0a2540;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .value-header {
        font-size: 18px;
        padding: 14px 18px;
    }

    .value-body {
        font-size: 14.5px;
    }
}

.enrolment-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.enrolment-form input,
.enrolment-form select,
.enrolment-form textarea {
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.enrolment-form button {
    margin-top: 10px;
    padding: 12px;
    background: #4b86c9;
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

/* ---------- GALLERY ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.gallery-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
}

/* ---------- DONATION BUTTON ---------- */
.donate-btn {
    margin-top: 16px;
    padding: 12px 18px;
    background: #ffb703;
    border: none;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .gallery-grid img {
        height: 140px;
    }
}

/* ---------- RESOURCE LIST ---------- */
.resource-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.resource-item {
    background: #0a2540;
    color: #ffffff;
    padding: 18px 22px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}

.resource-item strong {
    font-size: 16px;
}

.resource-item p {
    font-size: 13.5px;
    margin-top: 4px;
    color: #d6e4f0;
}

.resource-item span {
    font-size: 18px;
}

/* hover */
.resource-item:hover {
    background: #4b86c9;
}


