/* =====================================
   BASE
===================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 70px;
    background: #f8f9fa;
    font-family: Arial, sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

video {
    display: block;
    width: 100%;
}

.section {
    padding: 100px 20px;
}

    .section h2 {
        margin-bottom: 20px;
        font-weight: 800;
    }


/* =====================================
   NAVBAR
===================================== */

.navbar {
    background: #1A84FC;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .10);
}

.navbar-brand,
.nav-link {
    color: #fff !important;
    font-weight: 600;
}

    .nav-link:hover {
        color: #ffe082 !important;
    }


/* =====================================
   BUTTONS
===================================== */

.btn-donate {
    padding: 12px 28px;
    color: #000;
    background: linear-gradient(135deg, #F4C430, #d9a900);
    border: none;
    border-radius: 40px;
    font-weight: 700;
    transition: .3s ease;
}

    .btn-donate:hover {
        color: #000;
        transform: translateY(-3px);
    }


/* =====================================
   HERO SLIDER
===================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100vh;
}

.hero-slide-img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(.65);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    width: 90%;
    color: #fff;
    text-align: center;
    transform: translate(-50%, -50%);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
}

.hero-subtitle {
    margin: 20px 0;
    font-size: 1.4rem;
}


/* =====================================
   SCHOOL HIGHLIGHTS
===================================== */

.school-highlights {
    padding: 45px 0;
    background: linear-gradient(135deg, #1A84FC, #0077d9);
}

.highlight-item {
    height: 100%;
    min-height: 115px;
    padding: 28px 12px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
    transition: .3s ease;
}

    .highlight-item:hover {
        background: rgba(255, 255, 255, .23);
        transform: translateY(-6px);
    }

    .highlight-item h5 {
        margin-bottom: 8px;
        color: #fff;
        font-size: 1.25rem;
        font-weight: 800;
    }

    .highlight-item p {
        margin-bottom: 0;
        color: rgba(255, 255, 255, .92);
        font-size: 1rem;
        font-weight: 500;
    }


/* =====================================
   ABOUT
===================================== */

.bg-about {
    color: #02475A;
    background: linear-gradient(135deg, #dff8fb, #f5fdff);
}

    .bg-about h2 {
        font-size: 3rem;
    }

    .bg-about p {
        max-width: 900px;
        margin: auto;
        font-size: 1.2rem;
        line-height: 1.9;
    }


/* =====================================
   WHY CHOOSE US
===================================== */

#why-us {
    background: linear-gradient(135deg, #edf8ff, #f8fcff);
}

    #why-us h2 {
        color: #02475A;
    }

.why-us-intro {
    max-width: 700px;
    margin: 0 auto;
    color: #5d6b75;
}

.why-us-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 132, 252, .18);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transition: .3s ease;
}

    .why-us-card::before {
        position: absolute;
        top: 0;
        left: 50%;
        z-index: 2;
        width: 78px;
        height: 5px;
        content: "";
        background: linear-gradient(90deg, #1A84FC, #F4C430);
        border-radius: 0 0 10px 10px;
        transform: translateX(-50%);
    }

    .why-us-card:hover {
        border-color: rgba(26, 132, 252, .45);
        box-shadow: 0 20px 42px rgba(0, 0, 0, .14);
        transform: translateY(-8px);
    }

/* Reserved space for real images later */
.why-us-image-space {
    height: 95px;
    background: linear-gradient(135deg, #1A84FC, #00BCD4);
}

.why-us-card .card-body {
    padding: 28px 25px 32px;
}

.why-us-card h4 {
    margin-bottom: 14px;
    color: #02475A;
    font-weight: 800;
}

.why-us-card p {
    margin-bottom: 0;
    color: #52616b;
    line-height: 1.75;
}


/* =====================================
   PROJECTS / VISION
===================================== */

#projects {
    background: linear-gradient(135deg, #fff, #f8f9fa);
}

    #projects h2 {
        color: #00BCD4;
        font-size: 3rem;
    }

    #projects p {
        max-width: 900px;
        margin: auto;
        color: #444;
        font-size: 1.2rem;
        line-height: 1.9;
    }


/* =====================================
   IMPACT
===================================== */

#impact {
    background: linear-gradient(135deg, #f4fcff, #e9fbff);
}

    #impact h2 {
        color: #0077b6;
        font-size: 3rem;
        font-weight: 900;
    }

.impact-card {
    height: 100%;
    padding: 50px 30px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    transition: .35s ease;
}

    .impact-card:hover {
        box-shadow: 0 25px 55px rgba(0, 0, 0, .15);
        transform: translateY(-10px);
    }

.impact-icon {
    margin-bottom: 20px;
    font-size: 4rem;
}

.impact-card h1 {
    margin-bottom: 12px;
    color: #0077b6;
    font-size: 4rem;
    font-weight: 900;
}

.impact-card p {
    margin-bottom: 0;
    color: #0077b6;
    font-size: 1.3rem;
    font-weight: 700;
}


/* =====================================
   GALLERY
===================================== */

.gallery-tile {
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
}

    .gallery-tile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .5s ease;
    }

    .gallery-tile:hover img {
        transform: scale(1.1);
    }


/* =====================================
   GENERAL CARDS / SPONSOR SECTION
===================================== */

.card {
    overflow: hidden;
    border: none;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .10);
    transition: .3s ease;
}

    .card:hover {
        transform: translateY(-8px);
    }

.card-img-top {
    height: 250px;
    object-fit: cover;
}


/* =====================================
   TESTIMONIALS
===================================== */

#testimonials {
    background: linear-gradient(135deg, #dff9fc, #f4ffff);
}

    #testimonials h2 {
        color: #02475A;
        font-size: 3rem;
    }


/* =====================================
   DONATE SECTION
===================================== */

#donate {
    color: #fff;
    background: linear-gradient(135deg, #00BCD4, #00acc1);
}

    #donate h2 {
        font-size: 3rem;
    }

    #donate p {
        font-size: 1.15rem;
    }


/* =====================================
   CONTACT, DONATION AND MAP
===================================== */

#contact {
    color: #fff;
    background: #111;
}

    #contact h2 {
        color: #F4C430;
        font-size: 3rem;
        font-weight: 900;
    }

.contact-intro {
    max-width: 850px;
    margin: 0 auto;
    color: #f2f2f2;
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-box,
.donation-box,
.map-box {
    height: 100%;
    padding: 30px;
    background: #191919;
    border: 1px solid rgba(244, 196, 48, .55);
    border-radius: 20px;
}

.contact-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    color: #111;
    background: #F4C430;
    border-radius: 50%;
    font-size: 1.5rem;
}

.contact-box h4,
.donation-box h4,
.map-heading h4 {
    margin-bottom: 16px;
    color: #F4C430;
    font-size: 1.65rem;
    font-weight: 800;
}

.contact-small-text {
    margin-bottom: 24px;
    color: #f1f1f1;
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

    .contact-detail:last-of-type {
        border-bottom: 1px solid rgba(255, 255, 255, .16);
    }

    .contact-detail > i {
        width: 34px;
        padding-top: 4px;
        color: #00BCD4;
        font-size: 1.3rem;
        text-align: center;
    }

    .contact-detail div {
        min-width: 0;
    }

    .contact-detail strong {
        display: block;
        margin-bottom: 3px;
        color: #F4C430;
        font-size: .95rem;
    }

    .contact-detail span,
    .contact-detail a {
        display: block;
        color: #fff !important;
        font-size: 1rem;
        line-height: 1.5;
        text-decoration: none !important;
        word-break: break-word;
    }

        .contact-detail a:hover {
            color: #F4C430 !important;
            text-decoration: underline !important;
        }

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        color: #fff;
        background: #00BCD4;
        border-radius: 50%;
        font-size: 22px;
        text-decoration: none;
        transition: .3s ease;
    }

        .social-icons a:hover {
            color: #111;
            background: #F4C430;
            transform: translateY(-3px);
        }

.donation-method h5 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 1.25rem;
}

    .donation-method h5 i {
        margin-right: 7px;
        color: #F4C430;
    }

.donation-method p {
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.6;
}

.donation-method strong {
    color: #F4C430;
}

.donation-box hr {
    margin: 25px 0;
    border-color: rgba(255, 255, 255, .25);
    opacity: 1;
}

.donation-account-number {
    display: inline-block;
    padding: 8px 13px;
    color: #111;
    background: #F4C430;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.donation-qr {
    width: 165px;
    padding: 7px;
    background: #fff;
    border-radius: 10px;
}

.map-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

    .map-heading i {
        color: #F4C430;
        font-size: 1.55rem;
    }

    .map-heading h4 {
        margin: 0;
    }

.map-description {
    min-height: 52px;
    margin-bottom: 20px;
    color: #f1f1f1;
    line-height: 1.6;
}

.map-box iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 12px;
}


/* =====================================
   WHATSAPP FLOAT BUTTON
===================================== */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    color: #fff;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    font-size: 42px;
    text-decoration: none;
    transition: .3s ease;
}

    .whatsapp-float:hover {
        color: #fff;
        transform: scale(1.1);
    }


/* =====================================
   TABLET
===================================== */

@media (min-width: 992px) {
    .map-box {
        display: flex;
        flex-direction: column;
    }

        .map-box .btn-donate {
            margin-top: auto !important;
        }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    #contact h2 {
        font-size: 2.2rem;
    }

    .contact-box,
    .donation-box,
    .map-box {
        padding: 26px;
    }
}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {
    .hero-slider,
    #heroCarousel,
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item,
    .hero-slide-img {
        height: 75vh;
    }

    .section {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        margin: 15px 0;
        font-size: 1rem;
    }

    .school-highlights {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .highlight-item {
        min-height: 100px;
        padding: 20px 8px;
    }

        .highlight-item h5 {
            font-size: 1.05rem;
        }

        .highlight-item p {
            font-size: .88rem;
        }

    .bg-about h2,
    #projects h2,
    #impact h2,
    #testimonials h2,
    #donate h2 {
        font-size: 2rem;
    }

    .bg-about p,
    #projects p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .why-us-image-space {
        height: 75px;
    }

    .why-us-card .card-body {
        padding: 24px 20px 28px;
    }

    .impact-card {
        padding: 35px 20px;
    }

        .impact-card h1 {
            font-size: 3rem;
        }

        .impact-card p {
            font-size: 1.1rem;
        }

    .impact-icon {
        font-size: 3rem;
    }

    .gallery-tile {
        height: 200px;
    }

    .card-img-top {
        height: 220px;
    }

    .social-icons {
        justify-content: center;
    }

    .map-box iframe {
        min-height: 260px;
    }

    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 58px;
        height: 58px;
        font-size: 34px;
    }
}

@media (max-width: 576px) {
    #contact h2 {
        font-size: 1.9rem;
    }

    .contact-intro {
        font-size: 1rem;
    }

    .contact-box,
    .donation-box,
    .map-box {
        padding: 22px;
        border-radius: 16px;
    }

    .contact-detail {
        gap: 10px;
    }

        .contact-detail > i {
            width: 28px;
            font-size: 1.1rem;
        }

    .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .donation-qr {
        width: 145px;
    }
}
