/* ============================================================= */
/*  1. VARIABLES & GLOBAL RESET                           */
/* ============================================================= */

:root {
    /* Brand colours */
    --color-primary: #d6111e;
    /* red – hero & buttons */
    --color-bg-dark: rgb(31, 31, 116);
    /* blue – donate body */
    --color-white: #fff;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #1e293b;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --grad-success: linear-gradient(135deg, #10b981 0%, #059669 100%);

    /* Transitions */
    --trans-fast: 0.3s ease;
    --trans-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------------------------------------------ */
/*  Global reset                                                       */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

/* body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fb;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    position:relative;
} */

/* ------------------------------------------------------------------ */
/*  Page overlay (used only in step‑form)                              */
body::before {
    /* content:'';
    position:absolute; */
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: var(--grad-primary);
    z-index: 0;
}

/* ============================================================= */
/*  2. HERO – PAGE TITLE (RED)                                   */
/* ============================================================= */

.donate-body .page-title h1 {
    width: 100%;
    height: 300px;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================================= */
/*  3. DONATE BODY (BLUE) + CARD CENTERED                        */
/* ============================================================= */

.donate-body {
    width: 100%;
    background: var(--color-bg-dark);
    padding: 70px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

/* Title inside donate body */
.donate-title {
    width: 100%;
    text-align: center;
    color: var(--color-white);
    margin-bottom: 40px;
}

.donate-title h1 {
    font-size: 3.75rem;
    font-weight: 100;
    line-height: 1.2;
}

.donate-title span {
    color: #d9232d;
}

/* Form card – centered, responsive */
.form-card {
    width: 100%;
    max-width: 680px;
    background: var(--color-white);
    border-radius: 28px;
    padding: 56px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, .15);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

/* Decorative bubble (step‑form) */
.decorative-element {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--grad-primary);
    opacity: .05;
    top: -100px;
    right: -100px;
    z-index: 0;
}

/* ============================================================= */
/*  4. CARD CONTAINER (shared across steps)                      */
/* ============================================================= */

.card-container {
    width: 100%;
    background: var(--color-white);
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Intro Card Styled */
.intro-card-styled {
    width: 100%;
    max-width: 450px;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.intro-image-container {
    width: 100%;
    height: 200px;
}

.intro-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-content {
    padding: 25px;
    text-align: center;
}

.intro-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.intro-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.intro-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-primary-red {
    background: #d9232d;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary-red:hover {
    background: #b31d25;
}

.secure-text {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* ============================================================= */
/*  5. DONATION AMOUNT SELECTION                                 */
/* ============================================================= */

.donation-container {
    width: 100%;
    max-width: 900px;
    background: var(--color-white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    margin: 0 auto;
}

.donation-cards {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0;
}

.donation-card {
    flex: 1 1 33%;
    max-width: 140px;
    background: #f1f1f1;
    border-radius: 10px;
    padding: 20px;
    margin: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    transition: var(--trans-fast);
}

.donation-card:hover,
.donation-card.active {
    background: #2e89ff;
    color: var(--color-white);
    transform: scale(1.05);
}

/* Custom amount */
#customAmount {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    margin-bottom: 20px;
    transition: border-color var(--trans-fast);
}

#customAmount:focus {
    border-color: #2e89ff;
}

/* Donate button */
#donateBtn {
    width: 100%;
    padding: 15px;
    background: #2e89ff;
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--trans-fast);
}

#donateBtn:hover {
    background: #1c66cc;
}

/* Phone input */
.phone-input {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-white);
}

.phone-input select {
    width: 20%;
    min-width: 80px;
    background: #ccc;
    border: none;
    padding: 12px;
    font-size: 1rem;
    cursor: pointer;
}

.phone-input input {
    width: 80%;
    border: none;
    padding: 12px;
    font-size: 1rem;
    background: transparent;
}

/* Summary blocks */
.summary1,
.summary2,
.summary3,
.summary4 {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.summary5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--color-primary);
    padding: 50px 0;
}

.summary4 {
    border: 2px solid var(--color-primary);
    padding: 10px;
}

.summary5>* {
    width: 80%;
    padding: 10px;
    margin: 5px;
}

.paypal {
    background: #ffeb3b;
}

.venmo {
    background: #2e89ff;
}

.cards {
    background: #333;
    color: var(--color-white);
}

.powered {
    background: #ccc;
}

/* ============================================================= */
/*  6. STEP FORM COMPONENTS (progress, buttons, etc.)            */
/* ============================================================= */

.form-header {
    text-align: center;
    margin-bottom: 48px;
}

.form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.form-subtitle {
    font-size: 17px;
    color: var(--color-gray-500);
}

.progress-container {
    margin-bottom: 48px;
}

.progress-bar {
    height: 8px;
    background: var(--color-gray-100);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 28px;
}

.progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    animation: shimmer 2s infinite;
}

.progress-fill {
    height: 100%;
    background: var(--grad-primary);
    border-radius: 10px;
    transition: width var(--trans-slow);
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%)
    }

    100% {
        transform: translateX(100%)
    }
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.progress-step {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-400);
    position: relative;
    padding-top: 32px;
    transition: var(--trans-fast);
}

.progress-step::before {
    content: attr(data-number);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-gray-100);
    color: var(--color-gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    transition: var(--trans-fast);
}

.progress-step.active {
    color: #667eea;
}

.progress-step.active::before {
    background: var(--grad-primary);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(102, 126, 234, .3);
}

.progress-step.completed {
    color: #10b981;
}

.progress-step.completed::before {
    content: 'Checkmark';
    background: #10b981;
    color: var(--color-white);
}

/* Form steps */
.form-step {
    display: none;
    animation: fadeSlideIn var(--trans-slow);
}

.form-step.active {
    display: block;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* Form groups */
.form-group {
    margin-bottom: 28px;
}

.donate-body label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 10px;
}

.required {
    color: #ef4444;
}

input,
select,
.donate-body textarea {
    width: 100%;
    padding: 16px 18px;
    font-size: 15px;
    font-family: inherit;
    border: 2px solid var(--color-gray-200);
    border-radius: 14px;
    background: #fafbfc;
    color: var(--color-gray-700);
    transition: var(--trans-fast);
}

input:hover,
select:hover,
.donate-body textarea:hover {
    border-color: var(--color-gray-300);
    background: var(--color-white);
}

input:focus,
select:focus,
.donate-body textarea:focus {
    outline: none;
    border-color: #667eea;
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, .1);
}

.donate-body textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

/* Radio group */
.radio-group {
    display: grid;
    gap: 14px;
}

.radio-option {
    position: relative;
}

.radio-option input[type=radio] {
    position: absolute;
    opacity: 0;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 18px 22px;
    border: 2px solid var(--color-gray-200);
    border-radius: 14px;
    cursor: pointer;
    font-weight: 500;
    color: var(--color-gray-600);
    background: #fafbfc;
    transition: var(--trans-fast);
}

.radio-label::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-gray-300);
    border-radius: 50%;
    margin-right: 14px;
    flex-shrink: 0;
    transition: var(--trans-fast);
}

.radio-label:hover {
    border-color: #667eea;
    background: var(--color-white);
    transform: translateX(4px);
}

.radio-option input[type=radio]:checked+.radio-label {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, .08), rgba(118, 75, 162, .08));
    color: #667eea;
    font-weight: 600;
}

.radio-option input[type=radio]:checked+.radio-label::before {
    border-color: #667eea;
    background: #667eea;
    box-shadow: inset 0 0 0 4px var(--color-white);
}

/* Buttons */
.donate-body .button-group {
    display: flex;
    gap: 14px;
    margin-top: 40px;
}

.donate-body button {
    flex: 1;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--trans-fast);
}

.btn-secondary {
    background: var(--color-gray-100);
    color: var(--color-gray-600);
    border: 2px solid var(--color-gray-200);
}

.btn-secondary:hover {
    background: var(--color-gray-200);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(102, 126, 234, .35);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left var(--trans-slow);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, .45);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Success / Error */
.success-message {
    display: none;
    text-align: center;
    animation: fadeSlideIn .6s cubic-bezier(.4, 0, .2, 1);
    padding: 20px 0;
}

.success-message.active {
    display: block;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--grad-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    animation: scaleIn .6s cubic-bezier(.175, .885, .32, 1.275);
    box-shadow: 0 12px 32px rgba(16, 185, 129, .3);
    position: relative;
}

.success-icon::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(16, 185, 129, .1);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .5
    }

    50% {
        transform: scale(1.15);
        opacity: 0
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0
    }

    100% {
        transform: scale(1) rotate(0);
        opacity: 1
    }
}

.success-icon::after {
    content: 'Checkmark';
    font-size: 56px;
    color: var(--color-white);
    font-weight: bold;
}

.success-message h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}

.success-message p {
    font-size: 17px;
    color: var(--color-gray-500);
    line-height: 1.7;
}

.error-message {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #fecaca;
    color: #dc2626;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    display: none;
    animation: shake .4s ease;
}

.error-message.active {
    display: block;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0)
    }

    25% {
        transform: translateX(-8px)
    }

    75% {
        transform: translateX(8px)
    }
}

/* ============================================================= */
/*  7. OTHER SECTIONS (About, Sponsors, Events, Team, Store)    */
/* ============================================================= */

/* ---- About ---- */
.about-row {
    display: flex;
    justify-content: center;
    margin: 80px 0;
}

.about-pic .img-fluid {
    width: 100%;
    min-width: 550px;
    height: auto;
}

.about-txt h1,
.about-title h1 {
    font-size: 50px;
    font-weight: 600;
}

.about-txt p {
    font-size: 29px;
    font-weight: 100;
    padding-top: 40px;
}

/* ---- Sponsors ---- */
.sponser-body {
    background: var(--color-bg-dark);
    padding: 70px 20px;
}

.sponser-title {
    width: 60%;
    max-width: 1200px;
    margin: 0 auto 40px;
    text-align: center;
    color: #000;
}

.sponser-title h1 {
    font-size: 60px;
    font-weight: 100;
}

.sponser-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.sponser-card-container {
    margin: 50px;
    width: 30%;
    min-width: 280px;
    height: 400px;
    background: var(--color-white);
    border-radius: 20px;
    transition: transform var(--trans-fast), box-shadow var(--trans-fast);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
}

.sponser-card-container:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .4);
}

.sponser-card {
    width: 100%;
    height: 270px;
}

.sponser-card img {
    width: 80%;
    height: 230px;
    object-fit: contain;
    margin-top: 30px;
}

.sponser-txt h1 {
    font-size: 16px;
    font-weight: 700;
    width: 50%;
    margin: 0 auto;
}

.sponser-txt .btn {
    width: 300px;
    background: var(--color-primary);
    color: var(--color-white);
    margin: 20px;
    border-radius: 20px;
}

/* ---- Events ---- */
.events-container {
    width: 80%;
    max-width: 1200px;
    margin: 50px auto;
}

.event-pic img {
    width: 100%;
    height: 80%;
    object-fit: contain;
    border-radius: 20px 20px 0 0;
}

.event-txt h1 {
    padding: 50px 0;
    font-size: 50px;
    font-weight: 700;
    color: var(--color-primary);
}

.event-txt p {
    padding: 10px 0 0;
    font-size: 20px;
    font-weight: 500;
}

.event-txt button {
    width: 300px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
}

/* ---- Team / Store ---- */
.team-row1,
.team-row2,
.team-row3,
.team-row4,
.team-row5,
.store-row {
    display: flex;
    margin: 50px 0;
    width: 80%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    flex-wrap: wrap;
}

.store-row {
    margin: 100px 0;
}

.store-card-container {
    padding: 40px;
    transition: var(--trans-fast);
    box-shadow: 0 4px 8px #7a7a7a;
}

.store-card-container:hover {
    box-shadow: 0 6px 10px var(--color-primary);
}

.store-card-container button {
    width: 200px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 30px;
    font-size: 22px;
    font-weight: 600;
}

/* ============================================================= */
/*  8. RESPONSIVE (mobile)                                      */
/* ============================================================= */

@media (max-width:640px) {
    body::before {
        height: 300px;
    }

    .page-title {
        height: 200px;
        font-size: 2.2rem;
    }

    .donate-title h1 {
        font-size: 2.5rem;
    }

    .form-card {
        padding: 40px 28px;
    }

    .form-title {
        font-size: 28px;
    }

    .form-subtitle {
        font-size: 15px;
    }

    .progress-steps {
        gap: 8px;
    }

    .progress-step {
        font-size: 11px;
        padding-top: 28px;
    }

    .progress-step::before {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .button-group {
        flex-direction: column-reverse;
    }

    button {
        width: 100%;
    }
}


.page-title-sec {
    background: red;
    width: 100%;
}