/* =========================================================
   LIFESAVER PROJECT
   PREMIUM NAVY & GOLD DESIGN
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');


/* =========================
   ROOT
========================= */

:root {
    --navy: #071A33;
    --navy-2: #0B2D52;
    --navy-3: #123E68;

    --gold: #D4AF37;
    --gold-light: #E8C766;
    --gold-dark: #B89120;

    --cream: #F7F5EF;
    --white: #FFFFFF;

    --text: #4A5563;
    --dark-text: #172033;

    --border: rgba(212,175,55,.25);

    --shadow: 0 15px 40px rgba(7,26,51,.12);
    --shadow-dark: 0 20px 50px rgba(0,0,0,.25);

    --radius: 18px;
    --transition: .35s ease;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
}


/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-text);
    font-weight: 700;
}

h2 {
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 22px;
}

.section-padding {
    padding: 110px 0;
}

.section-subtitle {
    color: var(--gold-dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-subtitle::after {
    content: "";
    display: block;
    width: 45px;
    height: 2px;
    background: var(--gold);
    margin-top: 8px;
}


/* =========================
   BUTTONS
========================= */

.btn {
    border-radius: 5px;
    padding: 14px 32px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-warning {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.btn-warning:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212,175,55,.25);
}

.btn-primary {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}

.btn-primary:hover {
    background: var(--navy-2);
    border-color: var(--gold);
    color: white;
    transform: translateY(-3px);
}

.btn-outline-light {
    border: 1px solid rgba(255,255,255,.7);
}

.btn-outline-light:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy) !important;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    background: rgba(7,26,51,.97);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(212,175,55,.25);
    transition: var(--transition);
}

.navbar-brand {
    color: white;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.navbar-brand span {
    color: var(--gold);
}

.navbar-brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.nav-link {
    color: rgba(255,255,255,.9) !important;
    margin-left: 25px;
    font-weight: 600;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--gold) !important;
}

.nav-link:hover::after {
    width: 100%;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    min-height: 100vh;

    background:
        linear-gradient(
            90deg,
            rgba(7,26,51,.95) 0%,
            rgba(7,26,51,.80) 45%,
            rgba(7,26,51,.45) 100%
        ),
        url("../images/gallery/Gallery 1.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    color: white;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 76px;
    color: white;
    line-height: 1.1;
    margin-bottom: 28px;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: 19px;
    max-width: 700px;
    color: rgba(255,255,255,.88);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}


/* =========================
   ABOUT
========================= */

.about {
    background: var(--cream);
}

.about img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-box {
    background: white;
    padding: 28px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(7,26,51,.06);
    box-shadow: 0 8px 25px rgba(7,26,51,.06);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.feature-box i {
    color: var(--gold-dark);
    font-size: 40px;
    margin-bottom: 15px;
}


/* =========================
   MISSION
========================= */

.mission {
    background: var(--navy);
}

.mission h2,
.mission p {
    color: white;
}

.mission .section-subtitle {
    color: var(--gold-light);
}

.mission-card {
    background: var(--navy-2);
    padding: 50px 40px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-dark);
    transition: var(--transition);
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.mission-card i {
    color: var(--gold);
    font-size: 55px;
    margin-bottom: 25px;
}

.mission-card h3 {
    color: white;
    margin-bottom: 15px;
}

.mission-card p {
    color: rgba(255,255,255,.75);
}


/* =========================
   VALUES
========================= */

.values {
    background: var(--cream);
}

.value-box {
    background: white;
    border-radius: var(--radius);
    text-align: center;
    padding: 40px 30px;
    border: 1px solid transparent;
    box-shadow: 0 10px 30px rgba(7,26,51,.07);
    transition: var(--transition);
    height: 100%;
}

.value-box:hover {
    background: var(--navy);
    border-color: var(--gold);
    transform: translateY(-10px);
}

.value-box:hover h4,
.value-box:hover p {
    color: white;
}

.value-box i {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 20px;
}

.value-box h4 {
    margin-bottom: 12px;
}


/* =========================
   WHY WE EXIST
========================= */

.why-us {
    background: var(--white);
}

.why-us-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 4px solid rgba(212,175,55,.25);
}

.why-us-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: .6s ease;
}

.why-us-image:hover img {
    transform: scale(1.04);
}

.why-us-highlight {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    margin-top: 30px;

    background: var(--navy);
    border-left: 5px solid var(--gold);
    border-radius: 10px;

    box-shadow: var(--shadow);
}

.why-us-highlight i {
    color: var(--gold);
    font-size: 42px;
}

.why-us-highlight h5 {
    color: white;
    margin-bottom: 5px;
}

.why-us-highlight p {
    color: rgba(255,255,255,.75);
    margin: 0;
}


/* =========================
   SERVICES
========================= */

.services {
    background: var(--cream);
}

.service-card {
    background: white;
    padding: 42px 30px;
    text-align: center;
    border-radius: var(--radius);
    border: 1px solid rgba(7,26,51,.06);
    box-shadow: 0 10px 30px rgba(7,26,51,.07);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    background: var(--navy);
    border-color: var(--gold);
    box-shadow: var(--shadow-dark);
}

.service-card:hover h4,
.service-card:hover p {
    color: white;
}

.service-card i {
    font-size: 55px;
    color: var(--gold);
    margin-bottom: 22px;
}

.service-card h4 {
    margin-bottom: 15px;
}


/* =========================
   IMPACT
========================= */

.impact {
    background:
        linear-gradient(
            rgba(7,26,51,.94),
            rgba(7,26,51,.94)
        ),
        url("../images/impact.jpg");

    background-size: cover;
    background-position: center;
    color: white;
}

.impact h2 {
    color: var(--gold);
    font-size: 55px;
    font-weight: 700;
}

.impact p {
    color: white;
    font-size: 17px;
    font-weight: 600;
}


/* =========================
   DONATION
========================= */

.donate {
    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-2)
        );

    color: white;
    position: relative;
}

.donate::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(212,175,55,.05) 50%,
            transparent 100%
        );

    pointer-events: none;
}

.donate h2 {
    color: white;
    font-size: 48px;
}

.donate p {
    color: rgba(255,255,255,.78);
    font-size: 18px;
}


/* =========================
   PARTNERSHIPS
========================= */

.partners {
    background: var(--cream);
}

.partner-item {
    background: white;
    padding: 28px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid rgba(7,26,51,.06);
    box-shadow: 0 8px 25px rgba(7,26,51,.06);
    margin-bottom: 20px;
    transition: var(--transition);
}

.partner-item:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
}

.partner-item i {
    font-size: 40px;
    color: var(--gold-dark);
}

.partner-item h5 {
    margin-top: 15px;
}


/* =========================
   CTA
========================= */

.cta {
    padding: 110px 0;

    background:
        linear-gradient(
            rgba(7,26,51,.90),
            rgba(7,26,51,.90)
        ),
        url("../images/cta.jpg");

    background-size: cover;
    background-position: center;

    color: white;
    border-top: 1px solid rgba(212,175,55,.3);
    border-bottom: 1px solid rgba(212,175,55,.3);
}

.cta h2 {
    color: white;
    font-size: 48px;
}

.cta p {
    color: rgba(255,255,255,.78);
    font-size: 18px;
    margin-bottom: 35px;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #040F20;
    color: #aaa;
    padding: 75px 0 20px;
    border-top: 1px solid rgba(212,175,55,.25);
}

footer h4,
footer h5 {
    color: white;
    margin-bottom: 25px;
}

footer h4 {
    color: var(--gold);
}

footer p {
    color: #9ca7b5;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #9ca7b5;
}

footer ul li a:hover {
    color: var(--gold);
}

footer hr {
    border-color: rgba(255,255,255,.12);
    margin: 40px 0 20px;
}

.social-icons a {
    display: inline-flex;
    width: 42px;
    height: 42px;
    justify-content: center;
    align-items: center;

    background: var(--navy-2);
    color: white;

    border: 1px solid rgba(212,175,55,.25);
    border-radius: 50%;

    margin-right: 8px;
}

.social-icons a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-5px);
}


/* =========================
   WHATSAPP
========================= */

.whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;

    width: 60px;
    height: 60px;

    border-radius: 50%;
    background: #25D366;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 32px;

    z-index: 999;

    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.whatsapp:hover {
    transform: scale(1.1);
    color: white;
}


/* =========================
   BACK TO TOP
========================= */

#topBtn {
    position: fixed;
    bottom: 100px;
    right: 35px;

    width: 45px;
    height: 45px;

    border: 1px solid var(--gold);
    background: var(--navy);
    color: var(--gold);

    border-radius: 50%;

    display: none;
    cursor: pointer;

    z-index: 999;

    transition: var(--transition);
}

#topBtn:hover {
    background: var(--gold);
    color: var(--navy);
}


/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--navy);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}


/* =========================
   ANIMATIONS
========================= */

@keyframes fadeInUp {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes pulse {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }

}

.hero h1,
.hero p,
.hero-buttons {
    animation: fadeInUp 1s ease forwards;
}

.whatsapp {
    animation: pulse 2s infinite;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .navbar {
        padding: 10px 20px;
    }

    .navbar-nav {
        background: var(--navy);
        padding: 20px;
        margin-top: 10px;
        border: 1px solid var(--border);
        border-radius: 10px;
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    h2 {
        font-size: 36px;
    }

    .hero h1 {
        font-size: 55px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 576px) {

    .section-padding {
        padding: 75px 0;
    }

    h2 {
        font-size: 30px;
    }

    .navbar-brand {
        font-size: 17px;
    }

    .navbar-brand img {
        width: 52px;
        height: 52px;
    }

    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .feature-box {
        text-align: center;
    }

    .mission-card {
        padding: 35px 22px;
    }

    .why-us {
        text-align: center;
    }

    .why-us-image img {
        height: 350px;
    }

    .why-us-highlight {
        text-align: left;
    }

    .service-card {
        padding: 35px 20px;
    }

    .impact h2 {
        font-size: 38px;
    }

    .donate h2,
    .cta h2 {
        font-size: 35px;
    }

    .whatsapp {
        width: 55px;
        height: 55px;
        right: 20px;
        bottom: 20px;
    }

    #topBtn {
        right: 25px;
        bottom: 90px;
    }

}

/* =========================================
   FIX OUR PURPOSE TEXT
========================================= */

.mission {
    background: #F7F5EF !important;
}

.mission .text-center h5 {
    color: #D4AF37 !important;
}

.mission .text-center h2 {
    color: #071A33 !important;
    opacity: 1 !important;
}

.mission .text-center p {
    color: #172033 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    font-size: 17px;
    line-height: 1.8;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   DONATION PAGE
========================================= */

.donation-page {
    min-height: 100vh;
    padding: 100px 20px;
    background: #071A33;
}

.donation-container {
    max-width: 700px;
    margin: 0 auto;
}

.donation-card {
    background: #ffffff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.donation-heading {
    text-align: center;
    margin-bottom: 35px;
}

.donation-heading span {
    color: #D4AF37;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.donation-heading h1 {
    color: #071A33;
    font-size: 42px;
    margin: 10px 0 15px;
}

.donation-heading p {
    color: #536070;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    color: #071A33;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d9dee5;
    border-radius: 8px;
    outline: none;
    font-size: 15px;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.amount-option {
    padding: 10px 18px;
    border: 1px solid #D4AF37;
    border-radius: 7px;
    background: white;
    color: #071A33;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
}

.amount-option:hover,
.amount-option.selected {
    background: #D4AF37;
    color: #071A33;
}

.donation-submit {
    width: 100%;
    padding: 16px;
    border: 0;
    border-radius: 8px;
    background: #D4AF37;
    color: #071A33;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.donation-submit:hover {
    background: #e7c65f;
    transform: translateY(-2px);
}

.secure-payment {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    margin-top: 18px;
}

.secure-payment i {
    color: #D4AF37;
}

.back-home {
    display: block;
    text-align: center;
    margin-top: 25px;
    color: #071A33;
    text-decoration: none;
    font-weight: 600;
}

.back-home:hover {
    color: #D4AF37;
}


@media (max-width: 600px) {

    .donation-page {
        padding: 50px 15px;
    }

    .donation-card {
        padding: 30px 20px;
    }

    .donation-heading h1 {
        font-size: 34px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}

/* ==============================
   DONATE BUTTON
================================ */

a.donate-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    padding: 13px 28px !important;

    background: #D4AF37 !important;
    color: #071A33 !important;

    border: 2px solid #D4AF37 !important;
    border-radius: 7px !important;

    font-size: 16px !important;
    font-weight: 700 !important;

    text-decoration: none !important;

    cursor: pointer;

    transition: all 0.3s ease;
}

a.donate-btn:hover {
    background: #071A33 !important;
    color: #D4AF37 !important;

    border-color: #D4AF37 !important;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

a.donate-btn:active {
    transform: translateY(0);
}