/* =========================================
   HAND IN HAND CHARITY
   DARK BLUE & GOLD DESIGN
   ========================================= */

/* ---------- GENERAL ---------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    color: #ffffff;
    background-color: #071a33;
}

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

header {
    background-color: #041225;
    color: #ffffff;
    text-align: center;
    padding: 35px 20px;
    border-bottom: 2px solid #d4af37;
}

header h1 {
    margin: 0;
    color: #d4af37;
    font-size: 2.3rem;
    letter-spacing: 1px;
}

header p {
    margin: 8px 0;
    color: #ffffff;
}

header p:first-of-type {
    font-size: 1.1rem;
    font-weight: bold;
}

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

nav {
    margin-top: 25px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    margin: 4px;
    padding: 9px 13px;
    border-radius: 6px;
    display: inline-block;
}

nav a:hover {
    background-color: #d4af37;
    color: #071a33;
}

/* ---------- MAIN CONTENT ---------- */

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 45px 20px;
}

main h1,
main h2 {
    color: #d4af37;
}

main h2 {
    margin-top: 35px;
    margin-bottom: 15px;
}

main h3 {
    color: #d4af37;
    margin-top: 25px;
}

main p {
    color: #ffffff;
    max-width: 900px;
}

/* ---------- LINKS ---------- */

main a {
    color: #d4af37;
    font-weight: bold;
}

main a:hover {
    color: #ffffff;
}

/* ---------- HORIZONTAL LINES ---------- */

hr {
    border: 0;
    height: 1px;
    background-color: #d4af37;
    opacity: 0.5;
    margin: 0;
}

/* ---------- LISTS ---------- */

main ul {
    padding-left: 25px;
}

main li {
    color: #ffffff;
    margin-bottom: 8px;
}

/* ---------- HERO SECTION ---------- */

.hero {
    background-color: #0b2748;
    color: #ffffff;
    padding: 50px 25px;
    text-align: center;
    border: 1px solid #d4af37;
    border-radius: 10px;
    margin-bottom: 40px;
}

.hero h1,
.hero h2 {
    color: #d4af37;
}

.hero p {
    color: #ffffff;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- CARDS ---------- */

.card {
    background-color: #0b2748;
    color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    border: 1px solid #d4af37;
}

.card h2,
.card h3 {
    color: #d4af37;
}

.card p,
.card li {
    color: #ffffff;
}

/* ---------- PROGRAMS & PROJECTS ---------- */

.program,
.project {
    background-color: #0b2748;
    color: #ffffff;
    padding: 25px;
    margin: 25px 0;
    border-radius: 10px;
    border: 1px solid #d4af37;
}

.program h2,
.program h3,
.project h2,
.project h3 {
    color: #d4af37;
}

.program p,
.program li,
.project p,
.project li {
    color: #ffffff;
}

/* ---------- BUTTONS ---------- */

button,
.btn,
a.button {
    display: inline-block;
    background-color: #d4af37;
    color: #071a33;
    text-decoration: none;
    border: none;
    padding: 13px 25px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin: 6px;
}

button:hover,
.btn:hover,
a.button:hover {
    background-color: #f1cf55;
    color: #071a33;
}

/* ---------- DONATE SECTION ---------- */

.donate-section {
    background-color: #0b2748;
    color: #ffffff;
    padding: 45px 25px;
    border: 2px solid #d4af37;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
}

.donate-section h2,
.donate-section h3 {
    color: #d4af37;
}

.donate-section p {
    color: #ffffff;
}

/* ---------- CONTACT FORM ---------- */

form {
    background-color: #0b2748;
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #d4af37;
    max-width: 700px;
    margin-top: 25px;
}

form label {
    font-weight: bold;
    color: #d4af37;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    margin-bottom: 15px;
    background-color: #071a33;
    color: #ffffff;
    border: 1px solid #d4af37;
    border-radius: 6px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

input::placeholder,
textarea::placeholder {
    color: #cccccc;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #f1cf55;
}

textarea {
    resize: vertical;
}

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

footer {
    background-color: #041225;
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
    border-top: 2px solid #d4af37;
}

footer h3 {
    color: #d4af37;
}

footer p {
    color: #ffffff;
    margin: 8px 0;
}

footer a {
    color: #d4af37;
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
}

/* ---------- MOBILE DESIGN ---------- */

@media (max-width: 700px) {

    header {
        padding: 25px 15px;
    }

    header h1 {
        font-size: 1.7rem;
    }

    nav a {
        margin: 3px;
        padding: 7px 9px;
        font-size: 0.9rem;
    }

    main {
        padding: 30px 15px;
    }

    main h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 35px 20px;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .card,
    .program,
    .project {
        padding: 20px;
    }

    form {
        padding: 20px;
    }

    button,
    .btn,
    a.button {
        padding: 11px 18px;
    }

/* ---------- BEAUTIFUL PHOTO DESIGN ---------- */

img {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 30px auto;
    border-radius: 22px;
    border: 3px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Gentle effect when someone touches/points at a photo */
img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
}

/* Make photos look even better on phones */
@media (max-width: 700px) {
    img {
        width: 100%;
        border-radius: 18px;
        border-width: 2px;
        margin: 20px auto;
    }
}
  /* ---------- BEAUTIFUL FOOTER DESIGN ---------- */

footer {
    background: linear-gradient(135deg, #041225, #0b2748);
    color: #ffffff;
    text-align: center;
    padding: 50px 20px 25px;
    margin-top: 50px;
    border-top: 3px solid #d4af37;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.35);
}

footer h3 {
    color: #d4af37;
    font-size: 1.5rem;
    margin: 0 0 15px;
}

footer p {
    color: #ffffff;
    margin: 8px 0;
    line-height: 1.6;
}

footer a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* IMPORTANT LINKS */

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px auto;
    max-width: 900px;
}

.footer-links a {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #d4af37;
    border-radius: 25px;
    background-color: #071a33;
}

.footer-links a:hover {
    background-color: #d4af37;
    color: #071a33;
    transform: translateY(-2px);
}

/* PHONE, EMAIL AND WEBSITE */

footer p a:hover {
    color: #ffffff;
}

/* DIVIDER */

.footer-line {
    width: 80%;
    max-width: 750px;
    height: 1px;
    background-color: #d4af37;
    opacity: 0.5;
    margin: 30px auto;
}

/* COPYRIGHT */

.footer-bottom {
    font-size: 0.9rem;
    color: #cccccc !important;
    margin-top: 20px !important;
}

/* MOBILE */

@media (max-width: 700px) {

    footer {
        padding: 40px 15px 20px;
    }

    footer h3 {
        font-size: 1.3rem;
    }

    .footer-links {
        gap: 8px;
    }

    .footer-links a {
        padding: 9px 12px;
        font-size: 0.9rem;
    }

    .footer-line {
        width: 90%;
    }
}
  /* ---------- STAFF VERIFICATION SYSTEM ---------- */

.verification-system {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px 20px;
    text-align: center;
}

.verification-system h2 {
    color: #d4af37;
}

.verification-system input {
    width: 90%;
    max-width: 500px;
    padding: 15px;
    margin: 20px 0;
    font-size: 1rem;
    border: 2px solid #d4af37;
    border-radius: 4px;
    background: #ffffff;
    color: #071a33;
    box-sizing: border-box;
}

.verification-system button {
    display: block;
    margin: 10px auto 25px;
    padding: 13px 25px;
    background: #d4af37;
    color: #071a33;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.verification-system button:hover {
    background: #ffffff;
}

.verification-success {
    margin-top: 25px;
    padding: 25px;
    border: 2px solid #d4af37;
    background: #0b2748;
    text-align: left;
}

.verification-success h3 {
    color: #d4af37;
    text-align: center;
}

.verification-error {
    margin-top: 25px;
    padding: 20px;
    border: 2px solid #d4af37;
    background: #0b2748;
    color: #ffffff;
}

.verification-error h3 {
    color: #d4af37;
}
  /* ---------- SIMPLE WEBSITE ANIMATIONS ---------- */

/* Fade in the whole page */
body {
    animation: pageFadeIn 1s ease-in-out;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* Headings gently slide upward */
h1,
h2,
h3 {
    animation: slideUp 0.8s ease-out;
}

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

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


/* Buttons */
button,
a {
    transition: transform 0.3s ease,
                background-color 0.3s ease,
                color 0.3s ease;
}

button:hover,
a:hover {
    transform: translateY(-2px);
}


/* Images gently appear */
main img {
    animation: imageAppear 1s ease-out;
}

@keyframes imageAppear {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}


/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}
  /* SIMPLE SCROLL ANIMATION */

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-reveal.show {
    opacity: 1;
    transform: translateY(0);
}