/* =====================================
   NIPE INTERNATIONAL SCHOOL THEME
===================================== */

/* Base */
html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    background-color: #f8f9fa;
}

/* Prevent media overflow */
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Headings */
h1, h2, h3 {
    font-weight: 700;
}

/* =====================================
   NAVBAR
===================================== */
.navbar {
    background-color: #00BCD4 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

    .navbar .nav-link,
    .navbar .navbar-brand {
        color: white !important;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

        .navbar .nav-link:hover {
            color: #ffe082 !important;
        }

/* =====================================
   BRAND COLORS
===================================== */
.bg-cyan {
    background-color: #00BCD4 !important;
}

.bg-gold {
    background-color: #F4C430 !important;
}

.text-cyan {
    color: #00BCD4 !important;
}

.text-gold {
    color: #F4C430 !important;
}

/* About Section */
.bg-about {
    background: linear-gradient(135deg, #E0F7FA, #F4FBFC);
    color: #02475A;
}

/* =====================================
   BUTTONS
===================================== */
.btn-donate {
    background: linear-gradient(135deg, #F4C430, #e0b100);
    color: #000;
    font-weight: 700;
    border-radius: 40px;
    padding: 12px 28px;
    border: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: 0.35s ease;
}

    .btn-donate:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    }

/* =====================================
   SECTIONS
===================================== */
.section {
    padding: 100px 40px;
    scroll-margin-top: 80px;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 20px;
    }
}

/* =====================================
   HERO SECTION
===================================== */
.hero {
    width: 100%;
    height: 85vh;
    background-image: url("/Images/hero.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 50px 40px;
    color: white;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: rgba(255,255,255,0.95);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.95);
}

/* Mobile hero */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-donate {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* =====================================
   CARDS
===================================== */
.card {
    border-radius: 18px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: 0.4s ease;
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    }

.card-img-top {
    height: 260px;
    object-fit: cover;
}

.card-body {
    background: #ffffff;
    text-align: center;
}

.card-title {
    font-weight: 700;
    color: #00BCD4;
}

/* =====================================
   GALLERY
===================================== */
#gallery {
    padding: 100px 0;
}

.gallery-tile {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

    .gallery-tile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.6s ease;
    }

    .gallery-tile:hover img {
        transform: scale(1.1);
        filter: brightness(1.05);
    }

    .gallery-tile::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0.05));
        opacity: 0;
        transition: 0.4s ease;
    }

    .gallery-tile:hover::after {
        opacity: 1;
    }

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-tile {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .gallery-tile {
        height: 150px;
    }
}

/* =====================================
   IMPACT COUNTERS
===================================== */
#impact h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #00BCD4;
}

#impact p {
    font-size: 1.1rem;
}

/* =====================================
   CONTACT SECTION
===================================== */
#contact {
    min-height: 60vh;
    background: #000;
    color: #FFD54F;
    padding: 100px 20px;
}

    #contact h2 {
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 30px;
        color: #F4C430;
    }

    #contact p {
        font-size: 1.4rem;
        margin-bottom: 15px;
        color: #FFD54F;
    }


/* =========================
   Impact Section
========================= */

#impact {
    background: #f8f9fa;
}

.impact-box {
    background: white;
    padding: 40px 20px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.4s ease;
}

    .impact-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

    .impact-box h1 {
        font-size: 3.5rem;
        font-weight: 800;
        color: #00BCD4;
    }

    .impact-box p {
        font-size: 1.1rem;
        font-weight: 600;
        color: #555;
    }

/* Mobile */
@media (max-width: 768px) {
    .impact-box h1 {
        font-size: 2.5rem;
    }
}

