/* =========================================================
   MONO FUNDRAISING
   PREMIUM FRONT-END DESIGN
   ========================================================= */

:root {

    --red: #780909;
    --red-dark: #4d0202;
    --red-light: #a51212;

    --gold: #d4af37;
    --gold-light: #f4df8a;

    --cream: #fffaf0;
    --white: #ffffff;

    --text: #222222;
    --muted: #777777;

    --green: #159447;
    --blue: #1769aa;

    --border: #eeeeee;

    --shadow:
        0 15px 45px rgba(0,0,0,.10);

    --shadow-hover:
        0 25px 60px rgba(0,0,0,.17);

    --radius: 20px;

}


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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

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

    background:
        #fafafa;

    color: var(--text);

    line-height: 1.6;

}

button,
input,
select {

    font-family: inherit;

}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   TOP ANNOUNCEMENT
   ========================================================= */

.top-bar {

    background:
        linear-gradient(
            90deg,
            var(--red-dark),
            var(--red),
            var(--red-dark)
        );

    color: white;

    text-align: center;

    padding: 9px 15px;

    font-size: 12px;

    letter-spacing: .3px;

}

.top-bar strong {

    color: var(--gold-light);

}


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

.navbar {

    position: sticky;

    top: 0;

    z-index: 9999;

    background:
        rgba(255,255,255,.96);

    backdrop-filter:
        blur(15px);

    border-bottom:
        1px solid #eee;

}

.nav-container {

    max-width: 1350px;

    margin: auto;

    padding: 14px 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

}


/* LOGO */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

}

.brand-symbol {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--gold);

    background:
        linear-gradient(
            145deg,
            var(--red-dark),
            var(--red)
        );

    border:
        2px solid var(--gold);

    font-size: 20px;

    box-shadow:
        0 5px 15px rgba(120,9,9,.2);

}

.brand-text {

    line-height: 1.1;

}

.brand-main {

    font-family: 'Cinzel', serif;

    font-size: 20px;

    font-weight: 700;

    color: var(--red);

}

.brand-sub {

    font-size: 9px;

    letter-spacing: 2px;

    color: #777;

    text-transform: uppercase;

}


/* MENU */

.nav-menu {

    display: flex;

    align-items: center;

    gap: 28px;

}

.nav-menu a {

    font-size: 13px;

    font-weight: 600;

    color: #444;

    transition: .3s;

}

.nav-menu a:hover {

    color: var(--red);

}


/* ACTIONS */

.nav-actions {

    display: flex;

    align-items: center;

    gap: 10px;

}

.login-btn {

    padding: 10px 17px;

    border-radius: 50px;

    border: 1px solid #ddd;

    background: white;

    font-size: 12px;

    font-weight: 700;

}

.start-btn {

    padding: 11px 19px;

    border-radius: 50px;

    border: none;

    background:
        linear-gradient(
            135deg,
            var(--red),
            var(--red-dark)
        );

    color: white;

    font-size: 12px;

    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(120,9,9,.22);

}

.start-btn i {

    color: var(--gold-light);

    margin-right: 5px;

}


/* =========================================================
   HERO
   ========================================================= */

.hero {

    position: relative;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 80% 20%,
            rgba(212,175,55,.20),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #3c0000,
            #760707 50%,
            #4b0000
        );

    color: white;

}


/* decorative gold circles */

.hero::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    border:
        1px solid rgba(212,175,55,.18);

    border-radius: 50%;

    right: -180px;

    top: -200px;

}

.hero::after {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    border:
        1px solid rgba(212,175,55,.15);

    border-radius: 50%;

    right: 100px;

    bottom: -180px;

}


.hero-container {

    max-width: 1350px;

    margin: auto;

    padding:
        75px 25px 85px;

    display: grid;

    grid-template-columns:
        1.2fr .8fr;

    gap: 70px;

    align-items: center;

}


/* HERO TEXT */

.hero-label {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 14px;

    border-radius: 50px;

    background:
        rgba(212,175,55,.12);

    border:
        1px solid rgba(212,175,55,.35);

    color: var(--gold-light);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 20px;

}

.hero-label span {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #32d36b;

    box-shadow:
        0 0 10px #32d36b;

}


.hero h1 {

    font-family:
        'Playfair Display',
        serif;

    font-size:
        clamp(42px, 5vw, 70px);

    line-height: 1.08;

    margin-bottom: 22px;

}

.hero h1 span {

    color: var(--gold-light);

}

.hero-description {

    max-width: 650px;

    color: rgba(255,255,255,.80);

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 30px;

}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}

.hero-primary {

    padding: 15px 25px;

    border-radius: 50px;

    border: none;

    background:
        linear-gradient(
            135deg,
            var(--gold),
            #f0d77a
        );

    color: var(--red-dark);

    font-weight: 800;

}

.hero-secondary {

    padding: 15px 25px;

    border-radius: 50px;

    border:
        1px solid rgba(255,255,255,.35);

    background:
        rgba(255,255,255,.08);

    color: white;

    font-weight: 600;

}


/* HERO CARD */

.hero-card {

    position: relative;

    background:
        rgba(255,255,255,.08);

    border:
        1px solid rgba(255,255,255,.18);

    backdrop-filter:
        blur(20px);

    border-radius: 28px;

    padding: 30px;

    box-shadow:
        0 30px 70px rgba(0,0,0,.25);

}

.hero-card-title {

    font-family: 'Cinzel', serif;

    color: var(--gold-light);

    font-size: 14px;

    letter-spacing: 1px;

    margin-bottom: 20px;

}

.hero-stat {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 17px 0;

    border-bottom:
        1px solid rgba(255,255,255,.10);

}

.hero-stat:last-child {

    border-bottom: none;

}

.hero-stat-number {

    font-size: 25px;

    font-weight: 800;

}

.hero-stat-label {

    color: rgba(255,255,255,.65);

    font-size: 11px;

}


/* =========================================================
   SEARCH SECTION
   ========================================================= */

.search-section {

    max-width: 1150px;

    margin:
        -30px auto 0;

    position: relative;

    z-index: 10;

    padding: 0 20px;

}

.search-box {

    background: white;

    border-radius: 18px;

    padding: 12px;

    box-shadow:
        0 15px 50px rgba(0,0,0,.12);

    display: flex;

    gap: 10px;

}

.search-input {

    flex: 1;

    border: none;

    outline: none;

    padding: 14px 18px;

    font-size: 14px;

}

.search-input::placeholder {

    color: #aaa;

}

.search-btn {

    width: 50px;

    border: none;

    border-radius: 13px;

    background: var(--red);

    color: white;

}


/* =========================================================
   CATEGORIES
   ========================================================= */

.categories {

    max-width: 1350px;

    margin: auto;

    padding:
        45px 25px 20px;

    display: flex;

    gap: 10px;

    overflow-x: auto;

}

.category {

    white-space: nowrap;

    padding:
        10px 18px;

    border-radius: 50px;

    background: white;

    border:
        1px solid #e6e6e6;

    font-size: 12px;

    font-weight: 600;

    color: #555;

}

.category.active {

    background: var(--red);

    color: white;

    border-color: var(--red);

}

.category i {

    margin-right: 6px;

    color: var(--gold);

}

.category.active i {

    color: var(--gold-light);

}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.section {

    max-width: 1350px;

    margin: auto;

    padding:
        45px 25px;

}

.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 20px;

    margin-bottom: 25px;

}

.section-heading h2 {

    font-family: 'Playfair Display', serif;

    font-size: 34px;

    color: #222;

}

.section-heading p {

    color: #888;

    font-size: 13px;

}

.view-all {

    color: var(--red);

    font-size: 12px;

    font-weight: 700;

}


/* =========================================================
   CAMPAIGN GRID
   ========================================================= */

.campaign-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

}


/* =========================================================
   CAMPAIGN CARD
   ========================================================= */

.campaign-card {

    background: white;

    border-radius: var(--radius);

    overflow: hidden;

    border:
        1px solid #eee;

    box-shadow:
        0 8px 30px rgba(0,0,0,.06);

    transition: .35s;

}

.campaign-card:hover {

    transform:
        translateY(-7px);

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

}


/* IMAGE */

.campaign-image {

    height: 230px;

    position: relative;

    overflow: hidden;

    background: #ddd;

}

.campaign-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .5s;

}

.campaign-card:hover
.campaign-image img {

    transform: scale(1.05);

}


/* BADGES */

.badge {

    position: absolute;

    top: 14px;

    left: 14px;

    padding: 6px 10px;

    border-radius: 7px;

    background:
        rgba(255,255,255,.94);

    font-size: 9px;

    font-weight: 800;

    color: var(--red);

    text-transform: uppercase;

}

.urgent-badge {

    position: absolute;

    top: 14px;

    right: 14px;

    padding: 6px 10px;

    border-radius: 7px;

    background: #d71920;

    color: white;

    font-size: 9px;

    font-weight: 800;

}

.verified {

    color: #15803d;

}


/* CARD BODY */

.campaign-body {

    padding: 20px;

}

.campaign-title {

    font-family:
        'Playfair Display',
        serif;

    font-size: 21px;

    line-height: 1.3;

    margin-bottom: 8px;

}

.campaign-location {

    color: #888;

    font-size: 11px;

    margin-bottom: 12px;

}

.campaign-location i {

    color: var(--red);

    margin-right: 4px;

}

.campaign-story {

    color: #666;

    font-size: 12px;

    line-height: 1.7;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;

}


/* PROGRESS */

.progress-area {

    margin-top: 18px;

}

.progress-track {

    height: 7px;

    background: #eee;

    border-radius: 20px;

    overflow: hidden;

}

.progress-fill {

    height: 100%;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--red),
            var(--gold)
        );

}

.progress-info {

    display: flex;

    justify-content: space-between;

    margin-top: 8px;

    font-size: 11px;

}

.progress-info strong {

    color: var(--red);

}


/* CARD FOOTER */

.campaign-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 18px;

    padding-top: 15px;

    border-top:
        1px solid #eee;

}

.raised {

    font-size: 12px;

}

.raised strong {

    display: block;

    font-size: 15px;

}

.raised span {

    color: #999;

    font-size: 10px;

}

.donate-btn {

    padding: 10px 16px;

    border: none;

    border-radius: 50px;

    background: var(--red);

    color: white;

    font-size: 11px;

    font-weight: 800;

}

.share-btn {

    width: 34px;

    height: 34px;

    border-radius: 50%;

    border:
        1px solid #ddd;

    background: white;

    color: #777;

}


/* =========================================================
   FEATURED CAMPAIGN
   ========================================================= */

.featured {

    background:
        linear-gradient(
            135deg,
            #fff,
            #fff9e8
        );

    border:
        1px solid #f0df9c;

    border-radius: 28px;

    padding: 30px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 35px;

    box-shadow:
        var(--shadow);

}

.featured-image {

    min-height: 350px;

    border-radius: 20px;

    overflow: hidden;

}

.featured-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.featured-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

}

.featured-label {

    color: var(--red);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    margin-bottom: 12px;

}

.featured-content h2 {

    font-family: 'Playfair Display', serif;

    font-size: 36px;

    line-height: 1.2;

    margin-bottom: 15px;

}

.featured-content p {

    color: #666;

    font-size: 13px;

    line-height: 1.8;

}

.featured-progress {

    margin:
        25px 0;

}

.featured-button {

    align-self: flex-start;

    padding: 13px 23px;

    border: none;

    border-radius: 50px;

    background: var(--red);

    color: white;

    font-weight: 700;

}


/* =========================================================
   STATISTICS
   ========================================================= */

.stats-section {

    background:
        linear-gradient(
            135deg,
            var(--red-dark),
            var(--red)
        );

    color: white;

}

.stats-grid {

    max-width: 1100px;

    margin: auto;

    padding:
        55px 25px;

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 20px;

}

.stat-box {

    text-align: center;

    padding: 20px;

    border-right:
        1px solid rgba(255,255,255,.12);

}

.stat-box:last-child {

    border-right: none;

}

.stat-icon {

    color: var(--gold-light);

    font-size: 25px;

    margin-bottom: 8px;

}

.stat-number {

    font-size: 30px;

    font-weight: 800;

}

.stat-label {

    font-size: 10px;

    color: rgba(255,255,255,.65);

    text-transform: uppercase;

    letter-spacing: 1px;

}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.steps {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 25px;

}

.step {

    text-align: center;

    padding: 30px;

    background: white;

    border:
        1px solid #eee;

    border-radius: 20px;

}

.step-number {

    width: 55px;

    height: 55px;

    margin:
        0 auto 18px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(120,9,9,.08);

    color: var(--red);

    font-family: 'Cinzel', serif;

    font-weight: 700;

}

.step h3 {

    font-family: 'Playfair Display', serif;

    font-size: 20px;

    margin-bottom: 10px;

}

.step p {

    color: #777;

    font-size: 12px;

    line-height: 1.7;

}


/* =========================================================
   TRUST SECTION
   ========================================================= */

.trust-section {

    background: #fffaf0;

}

.trust-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 20px;

}

.trust-card {

    background: white;

    padding: 25px;

    border-radius: 18px;

    border:
        1px solid #eee;

}

.trust-icon {

    width: 45px;

    height: 45px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(120,9,9,.08);

    color: var(--red);

    margin-bottom: 15px;

}

.trust-card h3 {

    font-family: 'Playfair Display', serif;

    margin-bottom: 8px;

}

.trust-card p {

    font-size: 11px;

    color: #777;

    line-height: 1.7;

}


/* =========================================================
   CTA
   ========================================================= */

.cta {

    max-width: 1150px;

    margin:
        70px auto;

    padding:
        55px 35px;

    border-radius: 28px;

    text-align: center;

    background:

        radial-gradient(
            circle at 50% 0%,
            rgba(212,175,55,.18),
            transparent 40%
        ),

        linear-gradient(
            135deg,
            var(--red-dark),
            var(--red)
        );

    color: white;

}

.cta h2 {

    font-family: 'Playfair Display', serif;

    font-size: 36px;

    margin-bottom: 12px;

}

.cta p {

    color:
        rgba(255,255,255,.7);

    max-width: 600px;

    margin:
        0 auto 25px;

    font-size: 13px;

}

.cta-button {

    padding:
        14px 26px;

    border: none;

    border-radius: 50px;

    background: var(--gold);

    color: var(--red-dark);

    font-weight: 800;

}


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

footer {

    background:
        #210000;

    color: white;

    margin-top: 70px;

}

.footer-container {

    max-width: 1350px;

    margin: auto;

    padding:
        55px 25px 25px;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap: 40px;

}

.footer-brand {

    font-family: 'Cinzel', serif;

    color: var(--gold-light);

    font-size: 18px;

    margin-bottom: 10px;

}

.footer-description {

    color:
        rgba(255,255,255,.55);

    font-size: 11px;

    line-height: 1.8;

    max-width: 300px;

}

footer h4 {

    color: var(--gold-light);

    font-family: 'Cinzel', serif;

    font-size: 12px;

    margin-bottom: 15px;

}

footer ul {

    list-style: none;

}

footer li {

    margin-bottom: 8px;

}

footer li a {

    color:
        rgba(255,255,255,.55);

    font-size: 11px;

}

.footer-bottom {

    max-width: 1350px;

    margin: auto;

    padding:
        18px 25px;

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

    display: flex;

    justify-content: space-between;

    font-size: 10px;

    color:
        rgba(255,255,255,.4);

}


/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */

.whatsapp {

    position: fixed;

    right: 20px;

    bottom: 20px;

    width: 56px;

    height: 56px;

    border-radius: 50%;

    background: #25d366;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 26px;

    z-index: 999;

    box-shadow:
        0 10px 30px rgba(37,211,102,.3);

    animation:
        whatsappPulse 2s infinite;

}

@keyframes whatsappPulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(37,211,102,.5);
    }

    70% {
        box-shadow:
            0 0 0 15px rgba(37,211,102,0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(37,211,102,0);
    }

}


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

.nav-menu.mobile-open {
    display: flex !important;
    position: absolute;
    left: 15px;
    right: 15px;
    top: 70px;
    padding: 18px;
    background: rgba(255,255,255,.98);
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mobile-menu {

    display: none;

    width: 42px;

    height: 42px;

    border:
        1px solid #ddd;

    border-radius: 10px;

    background: white;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width: 1100px) {

    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-container {

        grid-template-columns:
            1fr;

    }

    .hero-card {

        max-width: 600px;

    }

}


@media(max-width: 900px) {

    .campaign-grid {

        grid-template-columns:
            repeat(2,1fr);

    }

    .featured {

        grid-template-columns:
            1fr;

    }

    .stats-grid {

        grid-template-columns:
            repeat(2,1fr);

    }

    .stat-box:nth-child(2) {

        border-right: none;

    }

    .steps {

        grid-template-columns:
            1fr;

    }

    .trust-grid {

        grid-template-columns:
            1fr;

    }

    .footer-container {

        grid-template-columns:
            1fr 1fr;

    }

}


@media(max-width: 650px) {

    .top-bar {

        font-size: 10px;

    }

    .nav-container {

        padding:
            10px 15px;

    }

    .brand-main {

        font-size: 16px;

    }

    .brand-symbol {

        width: 38px;

        height: 38px;

    }

    .nav-actions .login-btn {

        display: none;

    }

    .start-btn {

        padding:
            9px 13px;

        font-size: 10px;

    }

    .hero-container {

        padding:
            55px 20px 70px;

    }

    .hero h1 {

        font-size: 42px;

    }

    .hero-description {

        font-size: 13px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .hero-primary,
    .hero-secondary {

        width: 100%;

    }

    .search-section {

        margin-top:
            -25px;

    }

    .search-box {

        padding: 8px;

    }

    .search-input {

        padding:
            10px;

    }

    .categories {

        padding:
            30px 15px 10px;

    }

    .section {

        padding:
            35px 15px;

    }

    .section-heading {

        align-items: flex-start;

        flex-direction: column;

    }

    .section-heading h2 {

        font-size: 28px;

    }

    .campaign-grid {

        grid-template-columns:
            1fr;

    }

    .campaign-image {

        height: 240px;

    }

    .featured {

        padding: 15px;

    }

    .featured-image {

        min-height: 250px;

    }

    .featured-content h2 {

        font-size: 28px;

    }

    .stats-grid {

        grid-template-columns:
            1fr 1fr;

        padding:
            35px 15px;

    }

    .stat-box {

        border-right: none;

        border-bottom:
            1px solid rgba(255,255,255,.1);

    }

    .footer-container {

        grid-template-columns:
            1fr;

    }

    .footer-bottom {

        flex-direction:
            column;

        gap: 8px;

    }

}


/* =========================================================
   SMALL ANIMATION
   ========================================================= */

.fade-up {

    animation:
        fadeUp .8s ease both;

}

@keyframes fadeUp {

    from {

        opacity: 0;

        transform:
            translateY(20px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}









