:root {
    --sky: #1E88E5;        /* primary - trust, openness */
    --sky-deep: #0D47A1;   /* navbar depth, footer */
    --sun: #FFB300;        /* sunshine - joy, hope */
    --sun-text: #E65100;   /* readable orange for headings on white */
    --leaf: #2BB673;       /* growth, care */
    --coral: #FF5E7E;      /* love, warmth */
    --sun-tint: #FFF3C4;   /* soft text on dark backgrounds */
    --sky-tint: #E6F3FF;   /* alternate section background */
    --page-bg: #F6FAFF;
    --text: #243447;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: var(--page-bg);
    color: var(--text);
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, var(--sky-deep), var(--sky));
    border-bottom: 4px solid var(--sun);
    padding: 12px 20px;
    color: white;
    flex-wrap: wrap;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li {
    position: relative;
}

.menu a {
    color: white;
    text-decoration: none;
}

/* MOBILE MENU BUTTON */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}
/* DROPDOWN */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    top: 100%;   /* attach directly below */
    left: 0;
    min-width: 150px;
    padding: 8px 0;
    border-radius: 6px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    list-style: none;   /* removes bullets */
    margin: 0;          /* remove extra spacing */
    padding: 0;         /* reset padding */
    z-index: 999;   /* VERY IMPORTANT */
}

/* keep menu open when hovering dropdown OR menu */
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

/* better clickable area */
.dropdown-menu li {
    list-style: none;
    padding: 10px 15px;
    cursor: pointer;
}

.dropdown-menu li a {
    display: block;
    color: var(--text);
    text-decoration: none;
}

.dropdown-menu li:hover {
    background: var(--sky-tint);
}

/* CONTACT RIGHT */
.contact {
    font-weight: bold;
    color: var(--sun-tint);
}

.contact a {
    font-weight: bold;
    color: #FFFFFF;
    text-decoration: none;
    margin-right: 0.5em;
}
/* SLIDER */
.slider{
margin:30px 6%;
position:relative;
overflow:hidden;

aspect-ratio:3 / 1;
border-radius:10px;

box-shadow:0 10px 25px rgba(0,0,0,0.2);
}
.slides{
position:relative;
height:100%;
width:100%;
overflow:hidden;
}

.slides img{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
opacity:0;
transition:opacity 2s ease-in-out;
}

.slides img.active{
opacity:1;
}
/* SLIDER */

/* ABOUT */
.about {
    padding: 50px;
    text-align: center;
}

.about h2 {
    color: var(--sky);
}
.about h3 {
    color: var(--sky);
    max-width: 90%;
    margin: auto;
    line-height: 1.6;
    text-align: justify;
}

.about p {
    max-width: 90%;
    margin: auto;
    line-height: 1.6;
    text-align: justify;
}

/* SERVICES */
.services {
    padding: 50px;
    background: var(--sky-tint);
    text-align: center;
}

.services h2 {
    color: var(--sky);
}
.services p {
    text-align: justify;
}


.cards {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 15px;
    width: 260px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
}

.card h3 {
    color: var(--sun-text);
}

.card p {
    font-size: 14px;
    line-height: 1.5;
}

.card img {
    width: 100%;
    border-radius: 8px;
}

/* GALLERY */
.gallery {
    padding: 40px;
    text-align: center;
}

.gallery h2 {
    color: var(--sky);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px;
}

.gallery img {
    width: 100%;
    border-radius: 8px;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* CONTACT */
/* CONTACT SECTION */
.contact-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 50px;
    background: var(--sky-deep);
    border-top: 4px solid var(--coral);
    color: white;
}

/* BOX STYLE */
.contact-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.contact-box h3 {
    color: var(--sun-tint);
    margin-bottom: 15px;
}

/* ADDRESS TEXT */
.contact-box p {
    line-height: 1.6;
    margin-bottom: 10px;
}

/* DOCUMENT LIST */
.doc-list {
    list-style: none;
    padding: 0;
}

.doc-list li {
    margin-bottom: 10px;
}

.doc-list a {
    color: var(--sun-tint);
    text-decoration: none;
}

.doc-list a:hover {
    text-decoration: underline;
}

/* MAP */
.contact-box iframe {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    border: 0;
}

@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--sky);
        margin-top: 10px;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

     .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        background: var(--sky);
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        color: white;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-section {
        flex-direction: column;
    }

    .contact-left, .contact-right {
        width: 100%;
    }
}

/* DONATION SECTION */
.donation-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--sky-deep), var(--sky) 55%, var(--leaf));
    color: white;
}

.donation-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.donation-subtext {
    max-width: 700px;
    margin: auto;
    margin-bottom: 40px;
    font-size: 16px;
    color: var(--sun-tint);
}

/* CONTAINER */
.donation-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* CARD */
.donation-card {
    background: white;
    color: var(--text);
    padding: 25px;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.15);
    text-align: left;
    transition: 0.3s;
}

.donation-card:hover {
    transform: translateY(-6px);
}

.donation-card h3 {
    color: var(--sun-text);
    margin-bottom: 15px;
}

/* QR CARD */
.qr-card {
    text-align: center;
}

.qr-card img {
    width: 180px;
    margin: 15px 0;
}

/* MOBILE */
@media (max-width: 768px) {
    .donation-container {
        flex-direction: column;
        align-items: center;
    }

    .donation-card {
        width: 90%;
    }
}

.meal-support {
    margin-top: 30px;
    text-align: center;
}

.meal-support h3 {
    color: var(--sun-text);
    margin-bottom: 10px;
}

/* MEAL LIST GRID */
.meal-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 🔥 2 columns */
    gap: 15px;
    padding: 0;
    list-style: none;
    max-width: 700px;
    margin: 20px auto;
}

/* ITEM STYLE */
.meal-list li {
    background: #ffffff;
    color: var(--text);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.meal-list li span {
    display: block;
    font-size: 13px;
    margin-top: 5px;
    color: #5F6B7A;
}

.meal-list li:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

.meal-note {
    margin-top: 15px;
    font-style: italic;
    color: var(--sun-tint);
}
@media (max-width: 768px) {
    .meal-list {
        grid-template-columns: 1fr; /* 🔥 switch to single column */
    }
    .contact-section {
        grid-template-columns: 1fr;
    }
}

.contact-box a{
    color: #ffffff; text-decoration: none;
}

/* ---- THEME ACCENTS ---- */
.contact { color: var(--sun) !important; }

.about h2,
.services h2,
.gallery h2 {
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 4px solid var(--sun);
}

.card { border-top: 4px solid var(--leaf); }
.card:nth-child(3n+2) { border-top-color: var(--coral); }
.card:nth-child(3n+3) { border-top-color: var(--sun); }
.card:hover { box-shadow: 0 12px 24px rgba(30,136,229,0.22); }

.menu a:hover { color: var(--sun); }

.donation-card { border-bottom: 5px solid var(--sun); }
.donation-card h3 { color: var(--coral); }
.meal-support h3 { color: var(--sun); }
.meal-list li { border-left: 4px solid var(--leaf); }
.meal-list li:nth-child(even) { border-left-color: var(--coral); }

.gallery img:hover { box-shadow: 0 8px 20px rgba(255,94,126,0.35); }


/* =========================================
   MAIN FOOTER
   ========================================= */

.main-footer {
    background: #ffffff;
    color: #D5DBDB;
    margin-top: 0;
}


/* FOOTER CONTAINER */

.footer-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns:
        1.3fr
        1fr
        1.2fr
        1.2fr;

    gap: 40px;

    padding: 50px 25px;
}


/* FOOTER HEADINGS */

.footer-column h3 {
    color: #F39C12;
    margin-top: 0;
    margin-bottom: 18px;

    font-size: 19px;
}


/* FOOTER TEXT */

.footer-column p {
    line-height: 1.7;
    font-size: 14px;
    margin: 0 0 12px;
}


/* QUICK LINKS */

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

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

.footer-column a {
    color: #D5DBDB;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column a:hover {
    color: #F39C12;
}


/* CONTACT ICONS */

.footer-column i {
    margin-right: 7px;
    color: #F39C12;
}


/* DONATE BUTTON */

.footer-donate {
    display: inline-block;

    background: #F39C12;
    color: white !important;

    padding: 10px 22px;

    border-radius: 6px;

    margin-top: 8px;

    font-weight: 600;

    transition: 0.3s;
}

.footer-donate:hover {
    background: #E67E22;
    transform: translateY(-2px);
}


/* SOCIAL ICONS */

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.footer-social a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #2E86C1;

    color: white;

    border-radius: 50%;

    transition: 0.3s;
}

.footer-social a:hover {
    background: #F39C12;
    color: white;
}


/* BOTTOM BAR */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);

    text-align: center;

    padding: 18px 15px;

    font-size: 13px;

    color: #2E86C1;
}

.footer-bottom p {
    margin: 4px;
}

.footer-bottom a {
    text-decoration: none;
    font-weight: 600;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 25px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

}

/* Navbar logo */
.navbar img {
    height: 55px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

/* Navbar alignment */
.navbar {
    display: flex;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Responsive logo for mobile devices */
@media (max-width: 768px) {
    .navbar img {
        height: 42px;
        max-width: 140px;
    }
}

.text-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    

    max-width: 1100px;
    margin: 10px auto 0;
    text-align: left;
}

.text-columns p {
    line-height: 1.2;
}

.text-columns h3 {
    color: #2E86C1;
}

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


/* READ MORE BUTTON */
.more-btn {
    background: #2E86C1;
    color: white;
    border: none;
    padding: 10px 22px;
    margin-top: 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.more-btn:hover {
    background: #F39C12;
    transform: translateY(-2px);
}

/* MODAL BACKGROUND */
.service-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(28, 40, 51, 0.75);
    padding: 20px;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

/* SHOW MODAL */
.service-modal.show {
    display: flex;
}

/* MODAL BOX */
.modal-content {
    background: #F8FAFC;
    color: #2C3E50;
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 35px;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 10px 35px rgba(0,0,0,0.25);
    animation: modalAppear 0.25s ease;
    text-align: left;
}

.modal-content h2 {
    color: #2E86C1;
    margin-top: 0;
    padding-right: 25px;
}

.modal-content p {
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 15px;
}

.modal-content h3 {
    color: #F39C12;
}

.modal-content ul {
    line-height: 1.9;
}

/* CLOSE BUTTON */
.modal-close {
    position: absolute;
    top: 10px;
    right: 16px;
    border: none;
    background: transparent;
    color: #2C3E50;
    font-size: 32px;
    cursor: pointer;
}

.modal-close:hover {
    color: #E67E22;
}

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

/* MOBILE */
@media (max-width: 600px) {
    .modal-content {
        padding: 25px 20px;
        max-height: 90vh;
    }
}
