/* =========================
   ELPIS WEBSITE STYLESHEET
   Colors:
   Blue   - #0D47A1
   White  - #FFFFFF
   Orange - #F57C00
========================= */

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #1f2937;
    line-height: 1.6;
}

/* ===== GLOBAL ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 2.2rem;
    color: #0D47A1;
    margin-bottom: 12px;
}

.section-heading p {
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.section-center {
    text-align: center;
    margin-top: 35px;
}

.light-section {
    background-color: #f8fbff;
}

/* ===== LINKS ===== */
a {
    text-decoration: none;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #F57C00;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #d96b00;
}

.btn-secondary {
    background-color: #0D47A1;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #09357a;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #0D47A1;
    color: #0D47A1;
}

.btn-outline:hover {
    background-color: #0D47A1;
    color: #ffffff;
}

.full-width-btn {
    width: 100%;
    text-align: center;
}

/* ===== HEADER / NAVBAR ===== */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    position: relative;
}

.logo a {
    color: #0D47A1;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav a {
    color: #1f2937;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #F57C00;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.9rem;
    color: #0D47A1;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 4.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 71, 161, 0.50);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    padding: 100px 0;
}

.hero-text h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    color: #f5f7fb;
    margin-bottom: 25px;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.90);
    color: #1f2937;
    padding: 35px;
    border-radius: 16px;
    border-left: 6px solid #F57C00;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    max-width: 420px;
}

.hero-card h3 {
    color: #0D47A1;
    margin-bottom: 12px;
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }

    .hero-content {
        padding: 80px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}
/* ===== PAGE BANNER ===== */
.page-banner {
    background: linear-gradient(to right, #0D47A1, #1565c0);
    color: #ffffff;
    text-align: center;
    padding: 90px 0 70px;
}

.page-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.page-banner p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ===== TWO-COLUMN SECTION ===== */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about h2,
.partnerships h2 {
    color: #0D47A1;
    font-size: 2rem;
    margin-bottom: 18px;
}

.about p,
.partnerships p {
    color: #444;
    margin-bottom: 18px;
}

/* ===== INFO BOXES ===== */
.info-boxes {
    display: grid;
    gap: 20px;
}

.info-box {
    background-color: #eaf3ff;
    padding: 24px;
    border-radius: 12px;
    border-left: 5px solid #0D47A1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.info-box h3 {
    color: #0D47A1;
    margin-bottom: 8px;
}

/* ===== CARDS ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border-top: 4px solid #F57C00;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.card h3 {
    color: #0D47A1;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.card p {
    color: #555;
}

/* ===== PARTNERSHIPS SECTION ===== */
.partnerships {
    background-color: #fff3e6;
}

.partnership-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.partnership-box h3 {
    color: #0D47A1;
    margin-bottom: 16px;
}

.partnership-box ul {
    padding-left: 20px;
}

.partnership-box li {
    margin-bottom: 10px;
    color: #444;
}

/* ===== DONATE SECTION ===== */
.donate-box {
    background-color: #0D47A1;
    color: #ffffff;
    text-align: center;
    padding: 60px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(13, 71, 161, 0.18);
}

.donate-box h2 {
    font-size: 2rem;
    margin-bottom: 14px;
}

.donate-box p {
    max-width: 720px;
    margin: 0 auto 22px;
    color: #f3f7ff;
}

/* ===== IMPACT / STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.stat-box {
    background-color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    border-bottom: 4px solid #F57C00;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.stat-box h3 {
    color: #0D47A1;
    font-size: 2rem;
    margin-bottom: 10px;
}

.stat-box p {
    color: #555;
}

/* ===== FORMS ===== */
.form-card,
.donation-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.form-card h3,
.donation-card h3 {
    color: #0D47A1;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    background-color: #ffffff;
    color: #1f2937;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #0D47A1;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.12);
}

textarea {
    resize: vertical;
}

/* ===== DONATION OPTIONS ===== */
.donation-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.donation-btn {
    padding: 14px;
    border: 2px solid #F57C00;
    background-color: #ffffff;
    color: #0D47A1;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.donation-btn:hover {
    background-color: #F57C00;
    color: #ffffff;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #0b2c5f;
    color: #ffffff;
    padding-top: 50px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 30px;
}

.footer h3,
.footer h4 {
    margin-bottom: 15px;
}

.footer p,
.footer li {
    color: #dbeafe;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: #dbeafe;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #F57C00;
}

.footer-bottom {
    text-align: center;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
    color: #dbeafe;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content,
    .section-grid,
    .card-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .page-banner h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 78px;
        right: 0;
        width: 240px;
        background-color: #ffffff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    }

    .nav.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero-content,
    .section-grid,
    .card-grid,
    .stats-grid,
    .footer-grid,
    .donation-options {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .page-banner {
        padding: 75px 0 60px;
    }
}
.program-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
    display: block;
}

.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    background-color: #ffffff;
    color: #1f2937;
}

.form-group select:focus {
    border-color: #0D47A1;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.12);
}

.messages-wrapper {
    padding: 20px 0 0;
    background: #ffffff;
}

.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.alert-success {
    background-color: #e8f7ec;
    color: #166534;
    border-left: 5px solid #22c55e;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #F57C00;
    padding: 2px;
    background-color: #ffffff;
}

.logo-text {
    color: #0D47A1;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.program-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
    display: block;
}

.program-detail-text p {
    margin-bottom: 16px;
    color: #444;
    line-height: 1.8;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
}

.partner-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.partner-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.partner-logo {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    display: block;
}

.partner-name {
    color: #0D47A1;
    font-weight: 700;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: linear-gradient(to bottom, #f8fbff 0%, #eef5ff 100%);
    padding: 90px 0;
}

.faq-section .section-heading h2 {
    color: #0D47A1;
    margin-bottom: 12px;
}

.faq-section .section-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: #4b5563;
}

.faq-list {
    max-width: 950px;
    margin: 40px auto 0;
    display: grid;
    gap: 20px;
}

.faq-item {
    background: #ffffff;
    border-radius: 18px;
    border-left: 6px solid #0D47A1;
    box-shadow: 0 12px 28px rgba(13, 71, 161, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(13, 71, 161, 0.12);
}

.faq-question {
    width: 100%;
    border: none;
    background: #ffffff;
    color: #0D47A1;
    padding: 22px 24px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: background 0.25s ease;
}

.faq-question:hover {
    background: #f7fbff;
}

.faq-question-text {
    flex: 1;
    line-height: 1.5;
}

.faq-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #fff3e6;
    color: #F57C00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(245, 124, 0, 0.18);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    background: #ffffff;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.85;
    padding-bottom: 22px;
}

.faq-item.active .faq-answer {
    max-height: 320px;
    padding: 0 24px 8px 24px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: #0D47A1;
    color: #ffffff;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 70px 0;
    }

    .faq-question {
        padding: 18px 18px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 18px;
    }

    .faq-item.active .faq-answer {
        padding: 0 18px 8px 18px;
    }

    .faq-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 1.25rem;
    }
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(13, 71, 161, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(13, 71, 161, 0.12);
}

.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    display: block;
    border: 3px solid #0D47A1;
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #eaf3ff;
    color: #0D47A1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 16px;
    border: 3px solid #0D47A1;
}

.team-card h3 {
    color: #0D47A1;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.team-role {
    color: #F57C00;
    font-weight: 700;
    margin-bottom: 6px;
}

.team-group {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.team-bio {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 12px;
}

.team-email {
    color: #0D47A1;
    font-size: 0.95rem;
    word-break: break-word;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== GLOBAL RESPONSIVE IMPROVEMENTS ===== */
img,
video {
    max-width: 100%;
    height: auto;
}

body {
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
    .hero-content,
    .section-grid,
    .card-grid,
    .stats-grid,
    .footer-grid,
    .gallery-grid,
    .team-grid,
    .testimonial-grid,
    .values-grid,
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .page-banner h1 {
        font-size: 2.3rem;
    }

    .hero {
        min-height: 75vh;
    }
    .logo-img { width: 40px; height: 40px; }
    .logo-text { font-size: 1.3rem; }   /* was 1.7rem */
    .logo-link { gap: 8px; }            /* was 12px */
    .nav { gap: 12px; }                 /* was 24px */
    .nav a { font-size: 0.85rem; }      /* slightly smaller text */
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 78px;
        right: 0;
        width: 240px;
        background-color: #ffffff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
        z-index: 999;
    }

    .nav.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero-content,
    .section-grid,
    .card-grid,
    .stats-grid,
    .footer-grid,
    .gallery-grid,
    .team-grid,
    .testimonial-grid,
    .values-grid,
    .partners-grid,
    .donation-options {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 85vh;
    }

    .hero-content {
        padding: 80px 0;
        gap: 24px;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .page-banner {
        padding: 70px 0 55px;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .card,
    .team-card,
    .testimonial-card,
    .gallery-card,
    .value-card,
    .partner-card {
        padding: 20px;
    }

    .footer-grid {
        gap: 20px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .logo-img {
        width: 44px;
        height: 44px;
    }
}

/* ===== SMALL PHONES ===== */
@media (max-width: 480px) {
    .container {
        width: 92%;
    }

    .hero-text h1 {
        font-size: 1.7rem;
    }

    .section-heading h2,
    .about h2,
    .partnerships h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 11px 18px;
        font-size: 0.95rem;
    }

    .hero-card {
        padding: 24px;
    }

    .faq-question {
        padding: 16px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 16px;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 8px 16px;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    position: relative;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.9rem;
    color: #0D47A1;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 78px;
        right: 0;
        width: 240px;
        background-color: #ffffff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
        z-index: 999;
    }

    .nav.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-actions .btn {
        display: none;
    }
}