/* =========================================================
   HAND IN HAND CHARITY
   COMPLETE MOBILE-FIRST STYLE.CSS
   ========================================================= */


/* =========================================================
   GENERAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background-color: #0a2240;
    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   HEADINGS
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #d4a017;
    font-weight: bold;
    line-height: 1.3;
    margin-top: 0;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 14px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.95rem;
}


/* =========================================================
   PARAGRAPHS
   ========================================================= */

p {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 15px;
}


/* =========================================================
   LINKS
   ========================================================= */

a {
    color: #d4a017;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    width: 100%;

    background-color: #061a33;
    color: #ffffff;

    padding: 20px 15px;

    text-align: center;

    border-bottom: 2px solid #d4a017;
}

header h1 {
    margin-bottom: 8px;
}

header p {
    margin-bottom: 0;
}


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

nav {
    width: 100%;

    background-color: #061a33;

    padding: 10px;

    text-align: center;
}

nav ul {
    list-style: none;

    padding: 0;
    margin: 0;

    display: flex;
    flex-wrap: wrap;

    justify-content: center;

    gap: 8px;
}

nav li {
    list-style: none;
    margin: 0;
}

nav a {
    display: inline-block;

    padding: 8px 12px;

    color: #d4a017;

    font-size: 13px;
    font-weight: bold;

    border-radius: 20px;
}

nav a:hover {
    background-color: #d4a017;
    color: #0a2240;
}


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

main {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    padding: 20px 15px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

section {
    width: 100%;

    margin-bottom: 30px;

    padding: 20px 15px;

    background-color: #0a2240;

    border-radius: 15px;
}

section p {
    font-size: 15px;
    color: #ffffff;
}


/* =========================================================
   CARDS
   ========================================================= */

.card {
    width: 100%;

    margin-bottom: 25px;

    padding: 20px 15px;

    background-color: #061a33;

    border: 1px solid rgba(212, 160, 23, 0.5);

    border-radius: 18px;

    color: #ffffff;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.card p {
    font-size: 15px;
    color: #ffffff;
}


/* =========================================================
   LISTS / BULLET SPACING
   ========================================================= */

section ul,
section ol,
.card ul,
.card ol {
    padding-left: 30px;

    margin-top: 10px;
    margin-bottom: 15px;
}

section li,
.card li {
    color: #ffffff;

    padding-left: 10px;

    margin-bottom: 8px;
}

section li::marker,
.card li::marker {
    color: #d4a017;
}


/* =========================================================
   IMAGE CONTAINER
   ========================================================= */

.image-container {
    width: 100%;

    margin: 20px auto;

    padding: 8px;

    background-color: #061a33;

    border: 3px solid #d4a017;

    border-radius: 22px;

    overflow: hidden;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);

    text-align: center;
}


/* =========================================================
   IMAGES
   ========================================================= */

.image-container img {
    display: block;

    width: 100%;
    max-width: 100%;

    height: auto;

    border-radius: 15px;

    border: 2px solid #d4a017;
}

section img,
.card img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 15px auto;

    border-radius: 15px;

    border: 3px solid #d4a017;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   BUTTON CONTAINER
   ========================================================= */

.button-container {
    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 15px;

    margin: 20px 0;
}


/* =========================================================
   NORMAL BUTTONS
   ========================================================= */

button,
.btn,
.button,
a.btn,
a.button {
    display: inline-block;

    width: auto;
    max-width: 100%;

    padding: 11px 22px;

    background-color: #d4a017;

    color: #0a2240;

    border: 2px solid #d4a017;

    border-radius: 30px;

    font-size: 15px;

    font-weight: bold;

    text-align: center;

    text-decoration: none;

    cursor: pointer;

    transition: 0.3s ease;
}

button:hover,
.btn:hover,
.button:hover,
a.btn:hover,
a.button:hover {
    background-color: #ffffff;

    color: #0a2240;

    border-color: #ffffff;
}


/* =========================================================
   DONATE BUTTON
   ========================================================= */

.donate-btn {
    display: block;

    width: 100%;
    max-width: 300px;

    margin: 20px auto;

    padding: 13px 20px;

    background-color: #d4a017;

    color: #0a2240;

    border: 2px solid #d4a017;

    border-radius: 30px;

    font-size: 15px;

    font-weight: bold;

    text-align: center;

    text-decoration: none;
}

.donate-btn:hover {
    background-color: #ffffff;

    color: #0a2240;

    border-color: #ffffff;
}


/* =========================================================
   LEARN MORE BUTTON
   ========================================================= */

.learn-more {
    display: block;

    width: 100%;
    max-width: 300px;

    margin: 15px auto;

    padding: 12px 20px;

    background-color: transparent;

    color: #d4a017;

    border: 2px solid #d4a017;

    border-radius: 30px;

    font-size: 15px;

    font-weight: bold;

    text-align: center;

    text-decoration: none;
}

.learn-more:hover {
    background-color: #d4a017;

    color: #0a2240;
}


/* =========================================================
   FORMS
   ========================================================= */

form {
    width: 100%;
}

label {
    display: block;

    margin-bottom: 6px;

    color: #d4a017;

    font-weight: bold;
}

input,
textarea,
select {
    width: 100%;

    padding: 12px;

    margin-bottom: 15px;

    background-color: #061a33;

    color: #ffffff;

    border: 1px solid #d4a017;

    border-radius: 10px;

    font-size: 15px;

    outline: none;
}

textarea {
    min-height: 120px;

    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #ffffff;
}


/* =========================================================
   TABLES
   ========================================================= */

.table-container {
    width: 100%;

    overflow-x: auto;
}

table {
    width: 100%;

    border-collapse: collapse;

    background-color: #061a33;

    color: #ffffff;
}

th,
td {
    padding: 10px;

    border: 1px solid #d4a017;

    text-align: left;
}

th {
    color: #d4a017;
}


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

footer {
    width: 100%;

    background-color: #0a2240;

    color: #ffffff;

    text-align: center;

    padding: 40px 20px;

    margin-top: 40px;

    border-top: 2px solid #d4a017;
}

footer h3 {
    color: #d4a017;

    font-size: 1.5rem;

    text-transform: uppercase;

    margin-bottom: 20px;

    letter-spacing: 1px;
}

footer p {
    color: #ffffff;

    margin: 10px 0;

    font-size: 16px;
}

footer a {
    color: #d4a017;

    text-decoration: none;

    font-weight: bold;
}

footer a:hover {
    color: #ffffff;
}

footer hr {
    border: 0;

    height: 1px;

    background-color: rgba(212, 160, 23, 0.4);

    margin: 25px auto;

    max-width: 600px;
}


/* =========================================================
   IMPORTANT LINKS
   GOLDEN TEXT
   BULLET SEPARATORS
   NO INDIVIDUAL BUTTON BOXES
   ========================================================= */

footer .important-links {
    width: 100%;

    max-width: 650px;

    margin: 25px auto;

    padding: 18px 10px;

    background-color: #061a33;

    border: 2px solid #d4a017;

    border-radius: 20px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);

    text-align: center;
}


/* Important Links heading */

footer .important-links h3 {
    color: #d4a017;

    font-size: 1.25rem;

    margin: 0 0 18px 0;

    text-transform: uppercase;
}


/* Remove normal bullets */

footer .important-links ul,
footer .important-links ol {
    list-style: none !important;

    padding: 0 !important;

    margin: 0 !important;

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    align-items: center;

    gap: 0;
}


/* Individual link items */

footer .important-links li {
    list-style: none !important;

    list-style-type: none !important;

    display: flex;

    align-items: center;

    margin: 0 !important;

    padding: 0 !important;
}


/* Remove unwanted pseudo elements */

footer .important-links li::before {
    content: none !important;
}


/* =========================================================
   BULLET SEPARATOR
   ========================================================= */

footer .important-links li:not(:last-child)::after {
    content: "•" !important;

    display: inline-block;

    margin: 0 10px;

    color: #d4a017;

    font-size: 18px;

    font-weight: bold;

    line-height: 1;
}


/* =========================================================
   IMPORTANT LINK TEXT
   GOLDEN YELLOW TEXT
   UNDERLINE
   ========================================================= */

footer .important-links li a {
    display: inline !important;

    width: auto;

    min-height: auto;

    padding: 0;

    background: transparent !important;

    color: #d4a017 !important;

    border: none !important;

    border-radius: 0;

    font-size: 15px;

    font-weight: bold;

    text-align: center;

    text-decoration: underline !important;

    text-decoration-color: #d4a017 !important;

    text-decoration-thickness: 2px;

    text-underline-offset: 4px;

    box-shadow: none !important;

    transition: 0.3s ease;
}


/* Hover / tap */

footer .important-links li a:hover,
footer .important-links li a:active,
footer .important-links li a:focus {
    background: transparent !important;

    color: #ffffff !important;

    border: none !important;

    text-decoration-color: #ffffff !important;
}


/* =========================================================
   SOCIAL LINKS
   ========================================================= */

.social-links {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 12px;

    margin: 20px 0;
}

.social-links a {
    display: inline-block;

    padding: 9px 15px;

    border: 1px solid #d4a017;

    border-radius: 25px;

    color: #d4a017;
}

.social-links a:hover {
    background-color: #d4a017;

    color: #0a2240;
}


/* =========================================================
   MOBILE - 600px AND BELOW
   ========================================================= */

@media (max-width: 600px) {

    body {
        font-size: 15px;
    }

    main {
        padding: 15px 10px;
    }

    section {
        padding: 18px 12px;

        margin-bottom: 25px;
    }

    .card {
        padding: 18px 12px;

        margin-bottom: 20px;
    }

    section p,
    .card p {
        font-size: 14px;
    }


    /* Lists */

    section ul,
    section ol,
    .card ul,
    .card ol {
        padding-left: 28px;
    }

    section li,
    .card li {
        padding-left: 8px;

        margin-bottom: 9px;
    }


    /* Images */

    .image-container {
        padding: 6px;

        margin: 18px auto;

        border-radius: 18px;
    }

    .image-container img {
        border-radius: 13px;
    }


    /* Buttons */

    .button-container {
        gap: 15px;
    }

    button,
    .btn,
    .button,
    a.btn,
    a.button {
        font-size: 15px;

        padding: 11px 20px;
    }


    /* Footer */

    footer {
        padding: 35px 15px;
    }

    footer h3 {
        font-size: 1.35rem;
    }


    /* Important Links */

    footer .important-links {
        width: 96%;

        padding: 16px 8px;

        border-radius: 18px;
    }

    footer .important-links h3 {
        font-size: 1.2rem;

        margin-bottom: 16px;
    }

    footer .important-links li:not(:last-child)::after {
        margin: 0 8px;

        font-size: 17px;
    }

    footer .important-links li a {
        font-size: 14px;

        padding: 0;
    }
}


/* =========================================================
   SMALL ANDROID PHONES - 400px AND BELOW
   ========================================================= */

@media (max-width: 400px) {

    body {
        font-size: 15px;
    }

    h1 {
        font-size: 1.7rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    section p,
    .card p {
        font-size: 14px;
    }

    section {
        padding: 16px 10px;
    }

    .card {
        padding: 16px 10px;
    }


    /* Lists */

    section ul,
    section ol,
    .card ul,
    .card ol {
        padding-left: 27px;
    }

    section li,
    .card li {
        padding-left: 7px;
    }


    /* Navigation */

    nav a {
        font-size: 12px;

        padding: 7px 10px;
    }


    /* Footer */

    footer p {
        font-size: 15px;
    }


    /* Important Links */

    footer .important-links {
        width: 98%;

        padding: 15px 6px;
    }

    footer .important-links li:not(:last-child)::after {
        margin: 0 6px;

        font-size: 16px;
    }

    footer .important-links li a {
        font-size: 13px;
    }
}


/* =========================================================
   VERY SMALL ANDROID PHONES - 320px AND BELOW
   ========================================================= */

@media (max-width: 320px) {

    body {
        font-size: 13px;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    section p,
    .card p {
        font-size: 13px;
    }

    section li,
    .card li {
        font-size: 13px;

        padding-left: 6px;
    }


    /* Buttons */

    button,
    .btn,
    .button,
    a.btn,
    a.button {
        font-size: 14px;

        padding: 10px 16px;
    }


    /* Important Links */

    footer .important-links {
        width: 100%;

        padding: 14px 4px;
    }

    footer .important-links li:not(:last-child)::after {
        margin: 0 5px;

        font-size: 15px;
    }

    footer .important-links li a {
        font-size: 12px;
    }
}
img { border-radius: 18px; border: 3px solid #d4af37; }

