/* =====================================================
   AN-NOOR FOUNDATION
   CUSTOM CSS
   Theme: Sky Blue + Light Green
===================================================== */


/* =====================================================
   ROOT COLORS
===================================================== */

:root {

    --sky-blue: #2196f3;

    --light-blue: #eaf6ff;

    --dark-blue: #07549b;

    --light-green: #7cff00;

    --green: #39c95a;

    --dark-green: #159447;

    --maroon: #850000;

    --dark: #202020;

    --white: #ffffff;

    --light: #f7fbfd;

    --gray: #666;

    --border: #e1e8ed;

}


/* =====================================================
   GENERAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--dark);

    line-height: 1.7;

    background: var(--white);

}


a {
    text-decoration: none;
}


img {
    max-width: 100%;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {

    background: rgba(255,255,255,0.97);

    box-shadow:
        0 2px 20px rgba(0,0,0,0.08);

    padding: 10px 0;

}


.navbar-brand {

    display: flex;

    flex-direction: column;

    line-height: 1;

    font-weight: 800;

}
.navbar-brand img{

    width: 200px;
    height: 30px;
    object-fit:contain;
}

.brand-blue {
    color: var(--sky-blue);
}


.brand-black {
    color: #111;
}


.navbar-brand small {

    color: var(--green);

    font-size: 9px;

    letter-spacing: 4px;

    margin-top: 5px;

}


.nav-link {

    font-weight: 600;

    color: #333 !important;

    padding: 10px 13px !important;

}


.nav-link:hover {

    color: var(--sky-blue) !important;

}


.donate-btn {

    background:
        linear-gradient(
            90deg,
            var(--sky-blue),
            var(--green)
        );
    color: white;

    border: none;

    border-radius: 30px;

    padding: 10px 22px;

    font-weight: 700;

}


.donate-btn:hover {

    color: white;

    transform: translateY(-2px);

}
/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   HERO SECTION
========================= */

.hero-section {

    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    color: white;
}

.hero-section p {
    

    font-size: 18px;

    max-width: 100%;

    text-align: center;

}



/* =========================
   BACKGROUND SLIDES
========================= */

.hero-slides {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 1;
}


.hero-slide {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;

    transition: opacity 1.5s ease-in-out;
}


/* Active Image */

.hero-slide.active {

    opacity: 1;

}


/* =========================
   DARK OVERLAY
========================= */

.hero-overlay {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.45);

    z-index: 2;
}


/* =========================
   HERO CONTENT
========================= */

.hero-content {

    position: relative;

    z-index: 3;

    text-align: center;

    max-width: 800px;

    padding: 20px;

}


.hero-content h1 {

    font-size: 50px;

    margin-bottom: 20px;

    font-weight: 700;

}


.hero-content p {

    font-size: 22px;

    margin-bottom: 30px;

}


/* =========================
   BUTTON
========================= */

.hero-btn {

    display: inline-block;

    padding: 14px 30px;

    background: #0d69b5;

    color: white;

    text-decoration: none;

    border-radius: 30px;

    font-size: 18px;

    transition: 0.3s;

}


.hero-btn:hover {

    background: #084d85;

    transform: translateY(-3px);

}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .hero-content h1 {

        font-size: 34px;

    }

    .hero-content p {

        font-size: 18px;

    }

}
/* =====================================================
   HERO
===================================================== */

.hero-section {

    min-height: 100vh;

    justify-content: center;

    align-items: center;

    padding-top: 100px 20px 50px;

    position: relative;

    overflow: hidden;
}

.hero-content{
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}


.hero-section::after {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    border-radius: 50%;

    background:
        rgba(124,255,0,0.12);

    right: -180px;

    top: -100px;

}


.hero-small {

    font-weight: 700;

    letter-spacing: 4px;

    color: var(--light-green);

}


.hero-section h1 {

    font-size:
        clamp(42px, 6vw, 75px);

    font-weight: 800;

    line-height: 1.1;

    margin-top: 15px;

}


.hero-section h1 span {

    display: block;

    color: var(--light-green);

}


.hero-buttons {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

}


.btn-main {

    background:
        linear-gradient(
            90deg,
            var(--light-green),
            #51d96a
        );

    color: #063d16;

    border: none;

    padding: 13px 28px;

    border-radius: 30px;

    font-weight: 700;

}



.btn-main:hover {

    color: #063d16;

    transform: translateY(-2px);

}


.hero-image-box {

    padding: 10px;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            var(--light-green),
            var(--sky-blue)
        );

}


.hero-image-box img {

    width: 100%;

    height: 450px;

    object-fit: cover;

    border-radius: 18px;

}


/* =====================================================
   SECTIONS
===================================================== */

.section-padding {

    padding: 90px 0;

}


.section-label {

    color: var(--sky-blue);

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 3px;

}


.section-title {

    font-size:
        clamp(32px, 4vw, 48px);

    font-weight: 800;

    margin: 10px 0 25px;

    color: var(--dark);

}


.section-description {

    max-width: 700px;

    margin: auto;

    color: var(--gray);

}


/* =====================================================
   ABOUT
===================================================== */

.about-section {

    background: var(--white);

}


.section-image img {

    width: 100%;

    height: 480px;

    object-fit: cover;

    border-radius: 20px;

    box-shadow:
        15px 15px 0 var(--light-green);

}


.about-highlight {

    display: flex;

    gap: 20px;

    margin-top: 30px;

    padding: 22px;

    border-left:
        5px solid var(--sky-blue);

    background: var(--light-blue);

    border-radius: 10px;

}


.about-highlight > i {

    font-size: 30px;

    color: var(--sky-blue);

}


.about-highlight h5 {

    font-weight: 800;

    margin-bottom: 5px;

}


.about-highlight p {

    margin: 0;

}


/* =====================================================
   VISION
===================================================== */

.vision-section {

    background:
        linear-gradient(
            135deg,
            #f0faff,
            #f5fff1
        );

}


.vision-card {

    height: 100%;

    padding: 40px 30px;

    background: white;

    border-radius: 18px;

    box-shadow:
        0 8px 30px rgba(0,0,0,0.07);

    border-top:
        5px solid var(--sky-blue);

    transition: 0.3s;

}


.vision-card:hover {

    transform: translateY(-8px);

}


.vision-card:nth-child(1) {

    border-top-color: var(--green);

}


.card-icon {

    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--light-blue);

    color: var(--sky-blue);

    font-size: 30px;

    margin-bottom: 20px;

}


.vision-card h3 {

    font-weight: 800;

}


/* =====================================================
   VALUES
===================================================== */

.values-section {

    background: white;

}


.value-card {

    padding: 30px;

    height: 100%;

    border-radius: 15px;

    background: var(--light);

    border: 1px solid var(--border);

    transition: 0.3s;

}


.value-card:hover {

    border-color: var(--sky-blue);

    transform: translateY(-5px);

}


.value-card > i {

    font-size: 35px;

    color: var(--sky-blue);

    margin-bottom: 15px;

}


.value-card h4 {

    font-weight: 700;

}


/* =====================================================
   ACTIVITIES
===================================================== */

.activities-section {

    background: #f5fbfe;

}


.activity-card {

    height: 100%;

    padding: 30px;

    background: white;

    border-radius: 16px;

    border:
        1px solid var(--border);

    position: relative;

    overflow: hidden;

    transition: 0.3s;

}


.activity-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 15px 35px rgba(33,150,243,0.12);

}


.activity-card > i {

    font-size: 38px;

    color: var(--sky-blue);

    margin-bottom: 15px;

}


.activity-card h4 {

    color: var(--dark-blue);

    font-weight: 800;

}


.activity-number {

    position: absolute;

    top: 10px;

    right: 15px;

    font-size: 50px;

    font-weight: 900;

    color: rgba(33,150,243,0.08);

}


/* =====================================================
   GALLERY
===================================================== */

.gallery-section {

    background: white;

}


.gallery-image {

    width: 100%;

    height: 280px;

    object-fit: cover;

    border-radius: 15px;

    transition: 0.4s;

}


.gallery-image:hover {

    transform: scale(1.03);

}

/* =====================================================
   DONATION
===================================================== */

.donation-section {

    background:
        linear-gradient(
            135deg,
            #07529a,
            #168fe8
        );

    color: white;

}


.donation-label {

    color: var(--light-green);

    font-weight: 800;

    letter-spacing: 4px;

}


.donation-section h2 {

    font-size:
        clamp(35px, 5vw, 55px);

    font-weight: 800;

    margin: 15px 0;

}


.donation-section p {

    max-width: 800px;

    margin:
        0 auto 25px;

    font-size: 18px;

}


.donation-section blockquote {

    max-width: 800px;

    margin: 30px auto;

    padding: 25px;

    border-left:
        4px solid var(--light-green);

    background:
        rgba(255,255,255,0.08);

    font-size: 19px;

    font-style: italic;

}


.donation-section blockquote small {

    display: block;

    margin-top: 10px;

    font-style: normal;

}


.btn-donation {

    background: var(--light-green);

    color: #064717;

    padding: 14px 30px;

    border-radius: 30px;

    font-weight: 800;

}


.btn-donation:hover {

    color: #064717;

    background: white;

}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {

    background: #f5fbff;

}


.contact-info {

    background:
        linear-gradient(
            135deg,
            #0d69b5,
            #2196f3
        );

    color: white;

    padding: 40px;

    border-radius: 18px;

    height: 100%;

}


.contact-info h3 {

    font-weight: 800;

    margin-bottom: 20px;

}


.contact-item {

    display: flex;

    gap: 18px;

    margin-top: 30px;

}


.contact-item > i {

    color: var(--light-green);

    font-size: 25px;

}


.contact-item h5 {

    font-weight: 800;

}


.contact-item p {

    margin: 0;

}


.contact-form {

    background: white;

    padding: 40px;

    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.06);

}


.contact-form h3 {

    font-weight: 800;

    margin-bottom: 25px;

}


.contact-form label {

    font-weight: 700;

    margin-bottom: 7px;

}


.form-control {

    border-radius: 8px;

    padding: 12px;

    border:
        1px solid #dce4e8;

}


.form-control:focus {

    border-color: var(--sky-blue);

    box-shadow:
        0 0 0 3px rgba(33,150,243,0.12);

}


/* =====================================================
   FOOTER
===================================================== */

footer {

    background: #092b48;

    color: #cddbe5;

    padding: 60px 0 20px;

}

/* =====================================================
   FOOTER LOGO
===================================================== */

.foundation-logo {
    width: 220px;
    height: 100px;
    object-fit: contain;
    object-position: left center;
    display: block;
    margin-bottom: 20px;
}



footer h4 {

    color: var(--light-green);

    font-weight: 700;

    margin-bottom: 20px;

}


footer ul {

    list-style: none;

    padding: 0;

}


footer li {

    margin-bottom: 8px;

}


footer a {

    color: #cddbe5;

}


footer a:hover {

    color: var(--light-green);

}


.social-links {

    display: flex;

    gap: 10px;

}


.social-links a {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid #49677d;

    border-radius: 50%;

    font-size: 18px;

}


.social-links a:hover {

    background: var(--sky-blue);

    border-color: var(--sky-blue);

    color: white;

}


footer hr {

    border-color: #49677d;

    margin: 35px 0 20px;

}


.footer-bottom {

    display: flex;

    justify-content: space-between;

    gap: 20px;

}


.footer-bottom p {

    margin: 0;

}


/* =====================================================
   BACK TO TOP
===================================================== */

.back-to-top {

    position: fixed;

    right: 20px;

    bottom: 20px;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--sky-blue),
            var(--green)
        );

    color: white;

    border-radius: 50%;

    opacity: 0;

    visibility: hidden;

    transition: 0.3s;

    z-index: 1000;

}


.back-to-top.show {

    opacity: 1;

    visibility: visible;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .navbar-nav {

        padding-top: 15px;

    }


    .donate-btn {

        display: inline-block;

        margin-top: 10px;

    }


    .hero-section {

        padding-top: 150px;

        padding-bottom: 70px;

    }


    .hero-image-box {

        margin-top: 50px;

    }

}

@media (max-width: 768px) {

    .navbar-brand img{
        width: 120px;
        height: 55px;

    }
}


@media (max-width: 767px) {

    .section-padding {

        padding: 65px 0;

    }


    .hero-section h1 {

        font-size: 43px;

    }


    .hero-section p {

        font-size: 16px;

    }


    .hero-image-box img {

        height: 300px;

    }


    .section-image img {

        height: 350px;

    }


    .info-row {

        grid-template-columns: 1fr;

        gap: 3px;

    }


    .footer-bottom {

        flex-direction: column;

        text-align: center;

    }

}


@media (max-width: 480px) {

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }


    .hero-buttons .btn {

        width: 100%;

    }


    .contact-form,
    .contact-info,
    .information-card {

        padding: 25px;

    }

}