



/* =======================
   Fonts
======================= */
@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Regular.woff2') format('woff2'),
    url('../fonts/Metropolis/Metropolis-Regular.woff') format('woff');
    font-weight: 400;
}

:root {
    --primary-color: #5bc1ac;
    --secondary-color: #44525d;
    --light-color: #f0f8ff;
    --dark-color: #000;
    --white: #fff;
    --font: 'Metropolis', sans-serif;
}

/* =======================
   Base Styles
======================= */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #00695c;
}

/* =======================
   Logo
======================= */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 30px;
    color: var(--primary-color);
}

.logo img {
    height: 50px;
    width: auto;
}
/* Global Section Headings */
section h2{
    font-size: 2.5rem;       /* same as glimpses heading */
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);  /* uses your green theme */
    position: relative;
}

section h2::after{
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* =======================
   Navbar
======================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 15px 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.navbar .logo {
    font-weight: 800;
    font-size: 28px;
    color: var(--primary-color);
    font-family: 'Metropolis';
}

/* Navbar wrapper for links + buttons */
.navbar-nav-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary-color);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Nav actions (donate + volunteer buttons) */
.nav-actions {
    display: flex;
    gap: 15px;
    margin-left: auto; /* pushes to right */
}

/* Donate / Volunteer Buttons */
.donate-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    background: transparent;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    background: var(--primary-color);
    color: #fff; /* ✅ visible text on hover */
}
#volunteerForm input,
#volunteerForm textarea {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#volunteerForm button {
    width: 100%;
    padding: 0.7rem;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#volunteerForm button:hover {
    background-color: #0056b3;
}

/* =======================
   Hero Section
======================= */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: url('../images/hero-img.jpg') no-repeat center center/cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.hero .btn {
    padding: 12px 30px;
    border-radius: 50px;
    background: var(--primary-color);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}

.hero .btn:hover {
    background: #499c8a;
}

/* =======================
   Sections
======================= */
.section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: black;
}

.bg-light {
    background: var(--light-color);
}

ul {
    max-width: 700px;
    margin: auto;
    padding: 0;
}

ul li {
    margin: 10px 0;
}

/* =======================
   Services
======================= */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-box {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.service-box h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* =======================
   Image Slider
======================= */
.image-slider {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 40px auto;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.slider::-webkit-scrollbar {
    display: none;
}

.card {
    flex: 0 0 350px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    padding: 15px;
}

.card img {
    width: 100%;
    border-radius: 12px;
    height: 220px;
    object-fit: cover;
}

.card h3 {
    margin-top: 12px;
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Slider arrows */
.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 28px;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: #499c8a;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* =======================
   Footer
======================= */
.footer {
    text-align: center;
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px;
    margin-top: 50px;
}

/* =======================
   Responsive
======================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--white);
        position: absolute;
        top: 60px;
        right: 30px;
        padding: 15px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .nav-actions {
        display: none; /* hide donate/volunteer on small screens */
    }
}
/* Volunteer Modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    position: relative;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Donation Section */
.donation-section {
    padding: 60px 20px;
    text-align: center;
}

.donation-total-box {
    background: var(--light-color);
    padding: 20px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 400px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.donation-total-box p {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

.custom-form {
    max-width: 400px;
    margin: 20px auto;
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.custom-form button {
    width: 100%;
    padding: 12px;
    border-radius: 50px;
    background: var(--primary-color);
    color: #fff;
    font-weight: bold;
    border: none;
    transition: 0.3s;
}

.custom-form button:hover {
    background: #499c8a;
}
/* Glimpse Section */
.glimpse-section {
    text-align: center;
    margin: 60px auto 30px;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.glimpse-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.glimpse-section h2 span {
    color: var(--secondary-color);
}

.glimpse-section h2::after {
    content: "";
    display: block;
    width: 60%;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.glimpse-section p {
    font-size: 18px;
    color: var(--secondary-color);
    margin-top: 10px;
}

/* Simple fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Board Members */
.board-section {

    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
    text-align: center;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.board-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.board-card:hover {

    transform: translateY(-6px);
}

.board-img {
    width: 140px;
    height: 140px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
}

.board-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-card h3 {
    font-size: 20px;
    margin: 10px 0 8px;
    font-weight: bold;
    color: var(--primary-color);
}

.board-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}


/* Management Team */
.management-section {
    background: var(--light-color);
    padding: 60px 20px;
    text-align: center;
}

.management-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.management-list {
    max-width: 700px;
    margin: auto;
    text-align: left;
}

.management-item {
    background: #fff;
    margin: 10px 0;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Management Item Hover */
.management-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

/* Founder & Board Member Images */
.board-card img,
.founder-left img {
    width: 350px;
    height: 350px;
    object-fit: cover;   /* crop to fit box without distortion */
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Allow smaller screens to resize properly */
.board-card, .founder-card {
    max-width: 370px;
    margin: auto;
}

/* Founder & Board Member Images */
.board-card img,
.founder-left img {
    width: 350px;
    height: 350px;
    object-fit: cover;   /* ✅ crop to fit box without distortion */
    border-radius: 12px; /* rounded corners */
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;    /* ✅ prevents overflow outside the container */
}
.board-card, .founder-card {
    min-width: 370px;   /* slightly bigger than image */
}

/* Founders Section */
.founders-section {
    margin: 60px auto;
    padding: 20px;
    text-align: center;
    max-width: 100%;
}

.founders-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Horizontal scroll container */
.founder-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 15px;
}

.founder-slider::-webkit-scrollbar {
    height: 8px;
}

.founder-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Founder cards */
.founder-card {
    flex: 0 0 auto;              /* don't shrink, keep width */
    width: 370px;                /* same size as your images */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.founder-card img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.founder-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
    color: var(--secondary-color);
}

.founder-card p {
    font-size: 16px;
    color: var(--secondary-color);
    line-height: 1.5;
}

/* Vision & Mission Grid */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.vision-box, .mission-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-box:hover, .mission-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Core Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.value-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-box i {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.value-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Service Icons */
.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 12px;
}
/* Split Layout */
.vision-mission-split .split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.split-left img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.split-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Vision Rectangle */
.vision-box {
    background: var(--primary-color);
    color: black;
    padding: 25px;
    border-radius: 12px;
    flex: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.vision-box:hover {
    transform: translateY(-5px);
}

/* Bottom Grid (Mission + Founded) */
.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mission-box, .founded-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.mission-box:hover, .founded-box:hover {
    transform: translateY(-5px);
}

.founded-box {
    text-align: center;
    background: var(--light-color);
}

.founded-box h2 {
    color: black;
    margin-bottom: 10px;
}

.counter {
    font-size: 40px;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .vision-mission-split .split-container {
        grid-template-columns: 1fr;
    }
}
/* Core Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-box {
    background: #fff;
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-box i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
}

.value-box p {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
}

.value-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 20px 30px;
    font-family: var(--font);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin: 8px 0;
}

.footer-column ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-column p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column i {
    color: var(--primary-color);
    font-size: 16px;
}

/* About + Logo */
.footer-logo {
    max-width: 120px;
    margin-bottom: 12px;
}

.footer-column.about p {
    font-size: 14px;
    line-height: 1.6;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
}

.newsletter-form button {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #499c8a;
}

/* Social Icons */
.social-icons {
    margin-top: 15px;
}

.social-icons a {
    display: inline-block;
    margin-right: 12px;
    font-size: 18px;
    color: var(--white);
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
    font-size: 14px;
}
/* Split Layout */
.vision-mission-split .split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.split-left img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.split-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Vision Rectangle */
.vision-box {
    background: var(--primary-color);
    color: white;
    padding: 25px;
    border-radius: 12px;
    flex: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.vision-box:hover {
    transform: translateY(-5px);
}

/* Bottom Grid (Mission + Founded) */
.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mission-box, .founded-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.mission-box:hover, .founded-box:hover {
    transform: translateY(-5px);
}

.founded-box {
    text-align: center;
    background: var(--light-color);
}

.founded-box h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.counter {
    font-size: 40px;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .vision-mission-split .split-container {
        grid-template-columns: 1fr;
    }
}
.board-section {
    padding: 4rem 0; /* more breathing space top & bottom */
    background: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem; /* extra spacing below heading */
    color: #005f73;
    font-weight: bold;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem 2.5rem; /* bigger gap between rows & columns */
    justify-items: center; /* centers the cards */
}

.board-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    max-width: 320px; /* keeps card width consistent */
}

.board-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.board-card img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto; /* more space below image */
    border: 4px solid #005f73;
}

.board-card h3 {
    margin: 0.8rem 0;
    font-size: 1.3rem;
    color: #222;
    font-weight: bold;
}

.board-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-top: 0.5rem;
}
.nav-links a.active {
    color: var(--primary-color);
    font-weight: bold;
    border-bottom: 2px solid var(--primary-color);
}
/* General Section Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shadow Utility */
.card-shadow {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    padding: 20px;
    transition: all 0.3s ease;
}

.card-shadow:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}


.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.ticker-content span {
    display: inline-block;
    margin-right: 50px;
}

/* Ticker animation */


.image-ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
}

.image-ticker-content img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-right: 30px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-ticker-content img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
/* News Ticker */
.news-ticker {
    width: 100%;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-top: 10px;   /* reduced gap */
    margin-bottom: 10px; /* add small gap below */
}

/* Image Ticker */
.image-ticker {
    width: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-top: 10px;   /* reduced gap so closer to news ticker */
}

/* Image Ticker */
.image-ticker {
    display: flex;
    overflow: hidden;
    margin: 60px 0 20px;
    width: 100%;
}

.image-ticker-track {
    display: flex;
    gap: 25px;
    animation: scroll-left 15s linear infinite;
}

.image-ticker img {
    height: 350px;
    width: 350px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.image-ticker img:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Image Ticker */
.image-ticker {
    display: flex;
    overflow: hidden;
    margin: 40px 0;
    position: relative;
}

.image-ticker-track {
    display: flex;
    gap: 20px;
    animation: scroll-left 25s linear infinite;
}

.image-ticker img {
    height: 180px;
    width: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.image-ticker img:hover {
    transform: scale(1.05);
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Fade animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/*//activities*/
/* Wrapper for scoping all project styles */


.projects-section {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f6f9;
    color: #333;
    line-height: 1.6;
}

/* Section spacing */
.projects-section .section {
    padding: 40px;
}

/* Headings */
.projects-section h2 {
    text-align: center;
    margin: 40px 0 20px;
    color: #005f73;
    font-size: 2.4rem;
    position: relative;
}
.projects-section h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    margin: 10px auto 0;
    background: #0a9396;
    border-radius: 2px;
}

.projects-section h3 {
    color: #0a9396;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

/* Project blocks */
.projects-section .project-block {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 30px;
    align-items: center;
    margin-bottom: 60px;
}
.projects-section .project-block:nth-child(even) {
    grid-template-columns: 60% 40%;
    direction: rtl;
}
.projects-section .project-block:nth-child(even) .text {
    direction: ltr;
}

/* Text container */
.projects-section .text {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.projects-section .text p,
.projects-section .text ul {
    margin-bottom: 15px;
}
.projects-section .text ul {
    padding-left: 20px;
}
.projects-section .text li {
    margin-bottom: 8px;
}

/* Swiper carousel */
.projects-section .swiper {
    width: 100%;
    max-width: 650px;
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}
.projects-section .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Alternate background */
.projects-section .alt-bg {
    background: linear-gradient(135deg, #e0fbfc, #98c1d9);
}

/* Responsive */
@media(max-width: 1000px) {
    .projects-section .project-block {
        grid-template-columns: 1fr;
        direction: ltr !important;
    }
    .projects-section .swiper {
        max-width: 100%;
        height: 300px;
    }
}

/* Animations */
@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.contact-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--primary-color);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

/* Background glow animation */
.contact-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    animation: floatGlow 12s infinite alternate ease-in-out;
}
@keyframes floatGlow {
    from { transform: translate(0,0); }
    to { transform: translate(80px,60px); }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.contact-card h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}
.contact-card p, .contact-card a {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: black;
}
.contact-card i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Form */
.custom-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    color: var(--primary-color);
    font-size: 1rem;
    outline: none;
    transition: background 0.3s ease;
}
.custom-form input::placeholder,
.custom-form textarea::placeholder {
    color: var(--primary-color);
}
.custom-form input:focus,
.custom-form textarea:focus {
    background: rgba(255,255,255,0.25);
}
.custom-btn {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.custom-btn:hover {
    background: #e68900;
    transform: scale(1.05);
}

/* Donation Box */
.donation-box {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255,255,255,0.12);
    border-radius: 14px;
    text-align: center;
    backdrop-filter: blur(6px);
    animation: fadeInUp 1.5s ease forwards;
    opacity: 0;
}
.donation-box h2 {
color: var(--secondary-color);
margin-bottom: 12px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
/*//experiment*/
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Section Cards */
.about-card, .board-card, .contact-card, .donation-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-card:hover, .board-card:hover, .contact-card:hover, .donation-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Buttons */
.custom-btn, .btn {
    background: var(--primary-color);
;
    border: none;
    border-radius: 25px;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.custom-btn:hover, .btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Image hover */
.board-img img {
    border-radius: 50%;
    transition: transform 0.3s ease;
}
.board-img img:hover {
    transform: scale(1.1);
}

/* News Ticker */
.ticker-content {
    display: flex;
    gap: 50px;
    animation: ticker 20s linear infinite;
}
@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.ticker-content:hover {
    animation-play-state: paused;
}
/* ================================
   Donate Page Styles (Scoped)
   ================================ */
.donate-page .donate-hero {
    position: relative;
    height: 70vh;
    width: 100%;
    background: url('../images/donate-hero.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* Overlay for readability */
.donate-page .donate-hero {
    position: relative;
    height: 100vh; /* Full screen */
    width: 100%;
    background: url('../images/make.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.donate-page .donate-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.donate-page .donate-hero .hero-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 20px;
    animation: fadeInUp 1.2s ease;
}

/* Why Donate Section */
.donate-page .why-donate {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
}

.donate-page .why-donate h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.donate-page .donate-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.donate-page .donate-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    flex: 1 1 280px;
    max-width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donate-page .donate-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.donate-page .donate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* Donation Form */
.donate-page .donation-form-section {
    text-align: center;
    padding: 70px 20px;
    background: linear-gradient(135deg, #fdfbfb, #ebedee);
}

.donate-page .donation-form-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.donate-page .form-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #555;
}

.donate-page .donation-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: fadeInUp 1.2s ease;
}

.donate-page .donation-form input,
.donate-page .donation-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    transition: border 0.3s ease;
}

.donate-page .donation-form input:focus,
.donate-page .donation-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.donate-page .donate-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donate-page .donate-btn:hover {
    background: var(--primary-color);
    opacity: 0.9;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Contact Page Wrapper */
.contact-page {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

/* Hero Section */
.contact-page .contact-hero {
    position: relative;
    height: 65vh;
    background: url('../images/contact.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.contact-page .contact-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}
.contact-page .contact-hero .hero-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 20px;
    animation: fadeInUp 1.2s ease-out;
}
.contact-page .contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}
.contact-page .contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-page .contact-main {
    padding: 70px 20px;
    background: #f9f9f9;
}
.contact-page .contact-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}
@media (max-width: 900px) {
    .contact-page .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Info Cards */
.contact-page .contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.contact-page .info-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.contact-page .info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}
.contact-page .info-card h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}
.contact-page .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Form */
.contact-page .contact-form-wrapper {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.contact-page .contact-form-wrapper h2 {
    text-align: center;
    margin-bottom: 8px;
    color: var(--primary-color);
}
.contact-page .form-subtitle {
    text-align: center;
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: #555;
}
.contact-page .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-page .contact-form .form-group {
    display: flex;
    gap: 15px;
}
.contact-page .contact-form .form-group input {
    flex: 1;
}
.contact-page .contact-form input,
.contact-page .contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.contact-page .contact-form input:focus,
.contact-page .contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 6px rgba(0,128,96,0.25);
    outline: none;
}
.contact-page .contact-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}
.contact-page .contact-btn:hover {
    transform: translateY(-2px);
    background: #05875a;
}

/* Map */
.contact-page .contact-map {
    margin-top: 50px;
    border-top: 3px solid var(--primary-color);
}

/* Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.volunteer-page {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

/* Hero Section */
.volunteer-page .volunteer-hero {
    position: relative;
    height: 70vh;
    background: url('../images/volunteer-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.volunteer-page .volunteer-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}
.volunteer-page .volunteer-hero .hero-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 20px;
    animation: fadeInUp 1.2s ease;
}
.volunteer-page .volunteer-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}
.volunteer-page .volunteer-hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.volunteer-page .primary-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.volunteer-page .primary-btn:hover {
    background: #05875a;
    transform: translateY(-2px);
}

/* Why Volunteer */
/* Why Volunteer Section */
.volunteer-page .why-volunteer {
    position: relative;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5fff9, #eafaf3); /* soft green gradient */
    overflow: hidden;
}

/* Subtle grid background */
.volunteer-page .why-volunteer::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.volunteer-page .why-volunteer .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Interactive heading */
.volunteer-page .section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    animation: fadeInDown 1s ease;
}

.volunteer-page .section-title::after {
    content: "";
    position: absolute;
    left: 50%; bottom: -8px;
    width: 60%;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    animation: underlineExpand 1s ease forwards 0.8s;
}

.volunteer-page .section-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 50px;
}

/* Cards */
.volunteer-page .volunteer-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.volunteer-page .v-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    flex: 1 1 280px;
    max-width: 320px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.volunteer-page .v-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 4px solid var(--primary-color);
}

.volunteer-page .v-card h3 {
    font-size: 1.3rem;
    margin: 15px 0 10px;
    color: var(--primary-color);
}

.volunteer-page .v-card p {
    padding: 0 15px 20px;
    font-size: 0.95rem;
    color: #555;
}

.volunteer-page .v-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes underlineExpand {
    from { transform: translateX(-50%) scaleX(0); }
    to { transform: translateX(-50%) scaleX(1); }
}

.volunteer-page .v-card {
    background:;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    flex: 1 1 280px;
    max-width: 320px;
    transition: all 0.3s ease;
    text-align: center;
}
.volunteer-page .v-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.volunteer-page .v-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* Form */
.volunteer-page .volunteer-form-section {
    text-align: center;
    padding: 70px 20px;
    background: linear-gradient(135deg, #fdfbfb, #ebedee);
}
.volunteer-page .volunteer-form-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.volunteer-page .form-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #555;
}
.volunteer-page .volunteer-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: fadeInUp 1.2s ease;
}
.volunteer-page .volunteer-form .form-group {
    display: flex;
    gap: 15px;
}
.volunteer-page .volunteer-form .form-group input {
    flex: 1;
}
.volunteer-page .volunteer-form input,
.volunteer-page .volunteer-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    transition: border 0.3s ease;
}
.volunteer-page .volunteer-form input:focus,
.volunteer-page .volunteer-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}
.volunteer-page .volunteer-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.volunteer-page .volunteer-btn:hover {
    background: #05875a;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Map Container Styling */
.map-box {
    max-width: 900px;      /* keeps it centered & neat */
    margin: 40px auto;     /* space around it */
    border-radius: 15px;   /* rounded corners */
    overflow: hidden;      /* ensures map respects the border radius */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* soft shadow */
    border: 3px solid var(--primary-color);     /* matches your theme */
}

/* Make iframe or map fill the box */
.map-box iframe,
.map-box #map {
    width: 100%;
    height: 400px;
    border: none; /* remove default border */
}
/* Board Members Section */
/* ================================
   Board Members Section
   ================================ */
/* ================================
   Board Members Section (Full Width)
   ================================ */
.board-section {
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
    width: 100%;
}

.board-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.board-section h2::after {
    content: "";
    display: block;
    width: 60%;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 3px;
}

/* Full width row for members */
.board-members {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
}

/* Member Card (no rounded corners, full height) */
.member-card {
    flex: 1;
    background: #fff;
    padding: 40px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Member Image (still circular) */
.member-img {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Member Details */
.member-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.member-role {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.member-bio {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}
    /* Background styling */


/* Subtle pattern overlay */

.project-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    padding: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.project-card h3 {
    font-size: 1.5rem;
    color: #004d40;
    margin-bottom: 0.8rem;
}

.project-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* Full width ticker under each project */
.image-ticker {
    width: 100%;
    overflow: hidden;
    margin-top: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e0f2f1;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.1);
}

.image-ticker-track {
    display: flex;
    width: calc(250px * 20); /* enough for multiple images */
    animation: scroll-left 30s linear infinite;
}

.image-ticker-track.scroll-right {
    animation: scroll-right 30s linear infinite;
}

.image-ticker img {
    width: 250px;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
    margin: 10px;
    transition: transform 0.3s;
}

.image-ticker img:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* Section background alternates */
.projects-section {
    margin-bottom: 4rem;
}

.alt-bg {
    background: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    border-radius: 20px;
}