/* ==========================================
   Ufumbuzi Support Page
   Main Styles
========================================== */


:root {
    --primary: #0054A5;
    --primary-dark: #003d7a;
    --secondary: #f3f6fa;
    --text: #333;
    --text-light: #666;
    --white: #ffffff;
    --border: #e5e7eb;
    --success: #16a34a;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    background: #f8fafc;

    color: var(--text);

    line-height: 1.6;

}



/* ==========================================
   General Layout
========================================== */


.container {

    width: 90%;

    max-width: 1100px;

    margin: auto;

}


section {

    padding: 70px 0;

}



h1,
h2,
h3 {

    margin-top: 0;

}


h2 {

    color: var(--primary);

    font-size: 2rem;

    margin-bottom: 25px;

}


p {

    color: var(--text-light);

    font-size: 1.05rem;

}



/* ==========================================
   Hero
========================================== */


.hero {

    background:

        linear-gradient(
            135deg,
            var(--primary),
            #0b75d1
        );

    color:white;

    padding:20px 0 20px;

    text-align:center;

}



.logo {

    width:260px;

    max-width:80%;

    margin-bottom:30px;

}



.hero h1 {

    font-size:3rem;

    color:white;

    margin-bottom:10px;

}



.hero h2 {

    color:#dbeafe;

    font-size:1.5rem;

    font-weight:500;

    max-width:750px;

    margin:0 auto 20px;

}



.hero p {

    color:white;

    max-width:800px;

    margin:10px auto;

    font-size:1rem;

}



.btn-primary {

    display: inline-block;

    margin-top: 35px;

    background: white;

    color: var(--primary);
    
    padding: 14px 35px;

    border-radius: 30px;

    font-weight: 600;

    text-decoration: none;

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

    transition: .3s;

}



.btn-primary:hover {


    transform:translateY(-3px);

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

}




/* ==========================================
   Sections
========================================== */


.section-title {


    text-align:center;


    margin-bottom:25px;


}




/* ==========================================
   About Section
========================================== */


.about {


    display:grid;


    grid-template-columns:
        1fr 350px;


    gap:50px;


    align-items:center;


}



.platforms {


    display:grid;


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


    gap:15px;


}



.platforms div {


    background:white;


    padding:20px;


    border-radius:15px;


    text-align:center;


    font-weight:600;


    box-shadow:
        0 5px 20px rgba(0,0,0,.06);


}





/* ==========================================
   Cards
========================================== */


.cards {


    display:grid;


    grid-template-columns:
        repeat(auto-fit,minmax(200px,1fr));


    gap:25px;


}



.card {


    background:white;


    border-radius:18px;


    padding:30px;


    box-shadow:


        0 10px 25px rgba(0,0,0,.06);


    border-top:

        4px solid var(--primary);


    transition:.3s;


}



.card:hover {


    transform:translateY(-6px);


    box-shadow:


        0 15px 35px rgba(0,0,0,.12);


}



.card h3 {


    color:var(--primary);


    font-size:1.3rem;


}



.card button {


    margin-top:15px;


    background:var(--primary);


    color:white;


    border:none;


    padding:10px 25px;


    border-radius:25px;


    cursor:pointer;


    font-weight:600;
    
    font-size: 0.9rem;


}



.card button:hover {


    background:var(--primary-dark);


}




/* ==========================================
   Donation / Crypto Boxes
========================================== */


.donation,
.crypto {


    background:white;


    border-radius:20px;


    padding:40px;


    box-shadow:


        0 10px 30px rgba(0,0,0,.08);


    margin-bottom:50px;


}



.placeholder,
.wallet-placeholder {


    margin-top:30px;


    background:var(--secondary);


    border-radius:15px;


    padding:40px;


    text-align:center;


    color:#64748b;


}




/* ==========================================
   FAQ
========================================== */


.faq {


    max-width:850px;


}



.faq h3 {


    color:var(--primary);


    margin-top:30px;


}




/* ==========================================
   Thank You
========================================== */


.thank-you {


    background:

        linear-gradient(
            135deg,
            #0054A5,
            #003d7a
        );


    text-align:center;


    padding:70px 20px;


}



.thank-you h2 {


    color:white;


}



.thank-you p {


    color:white;


    max-width:750px;


    margin:auto;


}




/* ==========================================
   Footer
========================================== */


footer {


    background:#111827;


    color:white;


    text-align:center;


    padding:30px;


}



footer p {


    color:#cbd5e1;


}



/* ==========================================
   Responsive
========================================== */


@media(max-width:800px){


    .hero h1 {

        font-size:2.3rem;

    }



    .about {


        grid-template-columns:1fr;

    }



    .platforms {


        grid-template-columns:1fr;

    }



    section {

        padding:50px 0;

    }


}

/* ==========================================
   Applications Section
========================================== */


.section-description {

    text-align:center;

    max-width:750px;

    margin:0 auto 40px;

}



.applications-grid {


    display:grid;


    grid-template-columns:
        repeat(auto-fit,minmax(220px,1fr));


    gap:25px;


}



.app-card {


    background:white;


    border-radius:18px;


    padding:25px;


    text-align:center;


    box-shadow:


        0 10px 25px rgba(0,0,0,.06);


    transition:.3s;


}



.app-card:hover {


    transform:translateY(-5px);


}



.app-card img {


    width:80px;


    height:80px;


    object-fit:contain;


    margin-bottom:15px;


}



.app-card h3 {


    color:var(--primary);


    font-size:1.2rem;


}



.app-card p {


    font-size:.95rem;


}



.app-link {


    display:inline-block;


    margin-top:15px;


    color:var(--primary);


    font-weight:600;


    text-decoration:none;


}



.center {


    text-align:center;


    margin-top:40px;


}

.app-card {

    opacity:0;

    animation:
        fadeIn .5s forwards;

}


@keyframes fadeIn {

    from {

        opacity:0;
        transform:translateY(20px);

    }

    to {

        opacity:1;
        transform:translateY(0);

    }

}

.amount-options{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(90px,1fr));

    gap:12px;

    margin-top:10px;

}

.amount-btn{

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

    background:white;

    color:var(--primary);

    padding:15px;

    border-radius:12px;

    font-size:1rem;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

.amount-btn:hover{

    background:#eef6ff;

}

.amount-btn.active{

    background:var(--primary);

    color:white;

}

.amount-help {

    margin-top: 15px;

    padding: 14px 18px;

    background: #eef6ff;

    border-left: 4px solid var(--primary);

    border-radius: 8px;

    color: var(--text);

    display: none;

    font-size: .95rem;

}

.honeypot{

    display:none;

}

.success-message{

    margin-top:25px;

    padding:25px;

    background:#edfdf3;

    border:1px solid #4CAF50;

    border-radius:12px;

    color:#1b5e20;

}

.success-message h3{

    margin-top:0;

    color:#2e7d32;

}

.error-message{

    margin-top:25px;

    padding:20px;

    background:#fff4f4;

    border:1px solid #d9534f;

    border-radius:12px;

    color:#b00020;

}

.success-message {

    animation: fadeIn .5s ease;

}

@keyframes fadeIn {

    from {

        opacity: 0;
        transform: translateY(20px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}

/* Donation section */

.donation {
    max-width: 700px;
    margin: 60px auto;
}

.donation h2 {
    text-align: center;
    margin-bottom: 15px;
}

.donation > p {
    text-align: center;
    color: #666;
    line-height: 1.6;
    margin-bottom: 35px;
}


/* Form container */

.donation-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}


/* Groups */

.form-group {
    margin-bottom: 25px;
}


.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}


/* Inputs */

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea {

    width: 100%;
    padding: 12px 14px;

    border: 1px solid #ccc;
    border-radius: 8px;

    font-size: 16px;
    font-family: inherit;

    background: #fff;

    transition: 
        border-color .2s ease,
        box-shadow .2s ease;
}


.form-group textarea {
    resize: vertical;
}


/* Focus */

.form-group input:focus,
.form-group textarea:focus {

    outline: none;

    border-color: #0054A5;

    box-shadow: 
        0 0 0 3px rgba(0,84,165,0.15);
}


/* Contribution buttons */

.amount-options {

    display: flex;
    gap: 12px;
    flex-wrap: wrap;

    margin-top: 10px;
}


/* Selected amount */

.amount-btn.active {

    background: #0054A5;
    color: white;
    border-color: #0054A5;

}


/* Help text */

.amount-help {

    margin-top: 10px;
    font-size: 14px;
    color: #666;

}


/* Honeypot */

.honeypot {

    display:none;

}