/* ============================================================
   GOD PAUL FOUNDATION
   GLOBAL STYLES
   ============================================================ */


/* ============================================================
   RESET
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;

    font-family: 'Open Sans', sans-serif;
    color: #333333;
    background: #ffffff;

    line-height: 1.6;

    overflow-x: hidden;

    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    margin-top: 0;
}

a {
    text-decoration: none;
}


/* ============================================================
   VARIABLES
   ============================================================ */

:root {

    --primary-blue: #87CEEB;
    --dark-blue: #5DADE2;

    --primary-green: #3CB371;
    --dark-green: #2E8B57;

    --light-bg: #F8FCFE;

    --dark-text: #333333;
    --medium-text: #555555;
    --light-text: #777777;

    --white: #ffffff;

    --nav-bg: rgba(255, 255, 255, 0.98);

    --shadow:
        0 2px 15px rgba(0, 0, 0, 0.08);

    --shadow-hover:
        0 8px 25px rgba(0, 0, 0, 0.12);

    --transition:
        all 0.3s ease;
}


/* ============================================================
   GLOBAL CONTAINER
   ============================================================ */

.container {
    width: 100%;
    max-width: 1200px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* ============================================================
   TOP / UPPER HEADER
   ============================================================ */

.upper-header {
    width: 100%;
    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.05);
}


.upper-header-inner {

    width: 100%;

    min-height: 95px;

    padding: 10px 30px;

    display: flex;
    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


/* ============================================================
   UPPER HEADER
   ============================================================ */

.upper-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.upper-header-inner {
    width: 100%;
    max-width: 1400px;
    min-height: 95px;
    margin: 0 auto;
    padding: 10px 30px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    gap: 30px;
}


/* ============================================================
   LEFT — LOGO
   ============================================================ */

.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    min-width: 0;
    gap: 15px;
}

.logo-link {
    display: flex;
    align-items: center;

    text-decoration: none;
    flex-shrink: 0;
}

.site-logo {
    display: block;

    width: auto;
    height: 75px;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.02);
}


/* ============================================================
   CENTER — MISSION STATEMENT
   ============================================================ */

.mission-statement {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    text-align: center;

    padding: 0 20px;
}

.mission-statement p {
    margin: 0;

    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    font-style: italic;

    line-height: 1.4;

    color: var(--dark-text, #333333);

    white-space: nowrap;
}


/* ============================================================
   RIGHT — DONATE
   ============================================================ */

.donate-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;

    min-width: 0;

    gap: 4px;
}

.donate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 10px 22px;

    background: var(--primary-green, #3CB371);
    color: #ffffff;

    border: none;
    border-radius: 4px;

    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.donate-btn:hover {
    background: var(--dark-green, #2E8B57);
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 4px 8px rgba(60, 179, 113, 0.2);
}

.donate-btn i {
    font-size: 0.9rem;
}

.donate-text {
    font-size: 0.8rem;
    font-weight: 500;

    color: var(--medium-text, #555555);

    text-align: right;
}


/* ============================================================
   MOBILE MENU BUTTON
   ============================================================ */

.mobile-menu-btn {
    display: none;

    width: 44px;
    height: 44px;

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

    padding: 0;

    background: #ffffff;
    color: var(--dark-green, #2E8B57);

    border: 2px solid var(--dark-green, #2E8B57);
    border-radius: 5px;

    font-size: 1.25rem;

    cursor: pointer;

    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--dark-green, #2E8B57);
    color: #ffffff;
}

.mobile-menu-btn i {
    pointer-events: none;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 992px) {

    .upper-header-inner {
        grid-template-columns: 1fr auto 1fr;

        padding: 10px 20px;

        gap: 15px;
    }

    .site-logo {
        height: 65px;
    }

    .mission-statement {
        padding: 0 10px;
    }

    .mission-statement p {
        font-size: 0.95rem;
    }

    .donate-btn {
        padding: 9px 16px;
        font-size: 0.85rem;
    }

}


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

@media (max-width: 768px) {

    .upper-header-inner {
        display: flex;

        min-height: 75px;

        padding: 10px 15px;

        gap: 0;
    }


    /* LEFT SIDE */

    .logo-container {
        flex: 1;

        justify-content: flex-start;

        gap: 10px;
    }

    .site-logo {
        height: 52px;
        max-width: 180px;
    }


    /* MOBILE MENU BUTTON */

    .mobile-menu-btn {
        display: inline-flex;
    }


    /* CENTER */

    .mission-statement {
        display: none;
    }


    /* RIGHT SIDE */

    .donate-container {
        flex-shrink: 0;

        align-items: flex-end;

        margin-left: 10px;
    }

    .donate-btn {
        padding: 8px 12px;

        font-size: 0.78rem;

        gap: 5px;
    }

    .donate-btn i {
        font-size: 0.75rem;
    }

    .donate-text {
        display: none;
    }

}


/* ============================================================
   SMALL PHONES
   ============================================================ */

@media (max-width: 480px) {

    .upper-header-inner {
        padding: 8px 10px;
    }

    .logo-container {
        gap: 8px;
    }

    .site-logo {
        height: 45px;
        max-width: 145px;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;

        font-size: 1.1rem;
    }

    .donate-container {
        margin-left: 6px;
    }

    .donate-btn {
        padding: 8px 10px;

        font-size: 0.72rem;
    }

    .donate-btn span {
        display: none;
    }

    .donate-btn i {
        font-size: 1rem;
    }

}

/* ============================================================
   MOBILE MENU BUTTON
   ============================================================ */

.mobile-menu-btn {

    display: none;

    width: 44px;
    height: 44px;

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

    padding: 0;

    border: 0;

    border-radius: 6px;

    background: #ffffff;

    color: var(--dark-green);

    font-size: 1.5rem;

    cursor: pointer;

    transition: var(--transition);
}


.mobile-menu-btn:hover {
    background: #f1f1f1;
}


.mobile-menu-btn:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}


/* ============================================================
   MAIN NAVIGATION
   ============================================================ */

#mainHeader {

    position: sticky;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: var(--dark-green);

    padding: 0;

    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}


#mainHeader.scrolled {

    background: var(--dark-green);

    box-shadow: var(--shadow);
}


.main-nav {

    width: 100%;
}


.nav-links {

    width: 100%;

    min-height: 60px;

    margin: 0;
    padding: 0;

    display: flex;

    align-items: stretch;

    justify-content: center;

    list-style: none;
}


.nav-links > li {

    position: relative;

    display: flex;
    align-items: stretch;
}


.nav-links > li > a {

    display: flex;

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

    gap: 6px;

    min-height: 60px;

    padding: 0 18px;

    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    font-size: 0.82rem;

    font-weight: 600;

    letter-spacing: 0.4px;

    white-space: nowrap;

    transition: var(--transition);
}


.nav-links > li > a:hover {

    background: #ffffff;

    color: var(--primary-green);
}


/* ============================================================
   DROPDOWN
   ============================================================ */

.dropdown {
    position: relative;
}


.dropdown-arrow {

    font-size: 0.65rem;

    transition:
        transform 0.3s ease;
}


.dropdown:hover > a .dropdown-arrow {

    transform:
        rotate(180deg);
}


.dropdown-menu {

    position: absolute;

    top: 100%;
    left: 0;

    width: max-content;

    min-width: 240px;

    margin: 0;
    padding: 8px 0;

    list-style: none;

    background: #ffffff;

    border-top:
        3px solid var(--primary-green);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(-8px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;

    z-index: 2000;
}


.dropdown:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


.dropdown-menu li {

    width: 100%;

    border-bottom:
        1px solid #eeeeee;
}


.dropdown-menu li:last-child {
    border-bottom: none;
}


.dropdown-menu a {

    display: flex;

    align-items: center;

    width: 100%;

    padding: 12px 20px;

    color: #333333 !important;

    background: #ffffff !important;

    font-size: 0.88rem;

    font-weight: 500;

    white-space: nowrap;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
}


.dropdown-menu a:hover {

    background: #f7f7f7 !important;

    color: var(--primary-green) !important;

    padding-left: 25px;
}


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

footer {

    width: 100%;

    margin-top: auto;

    padding:
        55px 0 25px;

    background: #000000;

    color: #ecf0f1;
}


.footer-container {

    display: grid;

    grid-template-columns:
        1.2fr 1fr;

    gap: 60px;

    margin-bottom: 40px;

    align-items: start;
}


/* ABOUT */

.footer-about h3 {

    margin: 0 0 15px;

    color: var(--primary-blue);

    font-family: 'Poppins', sans-serif;

    font-size: 1.5rem;

    font-weight: 700;
}


.footer-about h3 span {

    color: var(--primary-green);
}


.footer-about p {

    max-width: 480px;

    margin: 0 0 22px;

    color: #bdc3c7;

    font-size: 0.95rem;

    line-height: 1.7;
}


/* SOCIAL */

.social-icons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


.social-icons a {

    width: 38px;
    height: 38px;

    display: inline-flex;

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

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);

    color: #ffffff;

    transition: var(--transition);
}


.social-icons a:hover {

    background: var(--primary-green);

    color: #ffffff;

    transform:
        translateY(-3px);
}


/* CONTACT */

.footer-contact h4 {

    position: relative;

    margin: 0 0 20px;

    padding-bottom: 9px;

    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    font-size: 1.1rem;

    font-weight: 600;
}


.footer-contact h4::after {

    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 35px;
    height: 2px;

    background: var(--primary-green);
}


.footer-contact p {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin: 0 0 14px;

    color: #bdc3c7;

    font-size: 0.92rem;

    line-height: 1.6;
}


.footer-contact i {

    width: 18px;

    flex-shrink: 0;

    margin-top: 4px;

    text-align: center;

    color: var(--primary-green);

    font-size: 1rem;
}


/* COPYRIGHT */

.footer-bottom {

    padding-top: 22px;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);

    text-align: center;
}


.footer-bottom p {

    margin: 0;

    color: #8a99a6;

    font-size: 0.85rem;

    line-height: 1.5;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 992px) {

    .upper-header-inner {

        min-height: auto;

        padding: 15px 20px;

        gap: 15px;
    }


    .site-logo {
        height: 65px;
    }


    .mission-statement p {
        font-size: 0.95rem;
    }


    .donate-btn {
        padding: 9px 16px;
        font-size: 0.85rem;
    }


    .nav-links > li > a {

        padding-left: 12px;
        padding-right: 12px;

        font-size: 0.76rem;
    }


    .footer-container {

        grid-template-columns:
            1fr 1fr;

        gap: 40px;
    }

}


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

@media (max-width: 768px) {

    /* -------------------------
       TOP HEADER
    ------------------------- */

    .upper-header-inner {

        min-height: 70px;

        padding:
            10px 15px;

        display: flex;

        flex-direction: row;

        justify-content: space-between;

        align-items: center;

        gap: 10px;
    }


    .logo-container {

        width: auto;

        display: flex;

        align-items: center;

        justify-content: flex-start;

        gap: 12px;
    }


    .site-logo {

        height: 52px;

        max-width: 180px;
    }


    /* SHOW MOBILE BUTTON */

    .mobile-menu-btn {

        display: inline-flex;
    }


    /* HIDE MISSION ON MOBILE */

    .mission-statement {

        display: none;
    }


    /* DONATE */

    .donate-container {

        margin-left: auto;

        align-items: flex-end;

        gap: 2px;
    }


    .donate-btn {

        padding:
            8px 12px;

        font-size: 0.75rem;

        white-space: nowrap;
    }


    .donate-text {

        display: none;
    }


    /* -------------------------
       NAVIGATION
    ------------------------- */

    #mainHeader {

        position: relative;

        padding: 0;

        z-index: 1000;
    }


    .main-nav {

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        max-height:
            calc(100vh - 70px);

        overflow-y: auto;

        background: #ffffff;

        box-shadow:
            0 10px 25px rgba(0, 0, 0, 0.15);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-10px);

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
    }


    .main-nav.active {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);
    }


    .nav-links {

        width: 100%;

        min-height: 0;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        justify-content: flex-start;
    }


    .nav-links > li {

        width: 100%;

        display: block;

        border-bottom:
            1px solid #eeeeee;
    }


    .nav-links > li > a {

        width: 100%;

        min-height: 55px;

        padding:
            15px 20px;

        justify-content: space-between;

        color: #333333;

        background: #ffffff;

        font-size: 0.95rem;

        text-align: left;
    }


    .nav-links > li > a:hover {

        background:
            #f7f7f7;

        color:
            var(--primary-green);
    }


    /* -------------------------
       MOBILE DROPDOWNS
    ------------------------- */

    .dropdown-menu {

        position: static;

        width: 100%;

        min-width: 0;

        padding: 0;

        border-top: none;

        box-shadow: none;

        background: #f8f8f8;

        display: none;

        opacity: 1;

        visibility: visible;

        transform: none;

        transition: none;
    }


    .dropdown.active .dropdown-menu {

        display: block;
    }


    .dropdown-menu li {

        border-bottom:
            1px solid #e9e9e9;
    }


    .dropdown-menu a {

        padding:
            13px 20px 13px 40px !important;

        background:
            #f8f8f8 !important;

        color: #444444 !important;

        font-size: 0.86rem;

        white-space: normal;
    }


    .dropdown-menu a:hover {

        padding-left:
            45px !important;

        background:
            #eeeeee !important;

        color:
            var(--primary-green) !important;
    }


    .dropdown.active >
    a >
    .dropdown-arrow {

        transform:
            rotate(180deg);
    }


    /* -------------------------
       FOOTER
    ------------------------- */

    footer {

        padding:
            45px 0 20px;
    }


    .footer-container {

        grid-template-columns:
            1fr;

        gap: 35px;

        margin-bottom: 30px;
    }


    .footer-about p {

        max-width: 100%;
    }


    .footer-contact p {

        font-size: 0.88rem;

        word-break: normal;
    }


    .footer-bottom {

        padding-top: 18px;
    }


    .footer-bottom p {

        font-size: 0.78rem;
    }

}


/* ============================================================
   SMALL PHONES
   ============================================================ */

@media (max-width: 480px) {

    .upper-header-inner {

        padding:
            8px 12px;
    }


    .site-logo {

        height: 45px;

        max-width: 150px;
    }


    .mobile-menu-btn {

        width: 40px;
        height: 40px;

        font-size: 1.35rem;
    }


    .donate-btn {

        padding:
            7px 9px;

        font-size: 0.68rem;

        gap: 5px;
    }


    .donate-btn i {

        font-size: 0.7rem;
    }


    .container {

        padding-left: 15px;
        padding-right: 15px;
    }


    .footer-about h3 {

        font-size: 1.3rem;
    }


    .footer-contact p {

        font-size: 0.84rem;
    }


    .footer-bottom p {

        font-size: 0.72rem;
    }

}


/* ============================================================
   VERY SMALL PHONES
   ============================================================ */

@media (max-width: 360px) {

    .site-logo {

        height: 40px;

        max-width: 130px;
    }


    .mobile-menu-btn {

        width: 38px;
        height: 38px;
    }


    .donate-btn span {

        display: none;
    }


    .donate-btn {

        width: 38px;
        height: 38px;

        padding: 0;
    }

}