*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }



body {
    margin: 0;
    min-height: 100vh;
background: linear-gradient(135deg, lightyellow 0%, rgb(252, 200, 104) 30%, rgb(248, 195, 175) 40%, rgb(255, 127, 57) 100%);
    background-size: 400% 400%;
    animation: gradientMove 20s ease infinite;
    font-family: "Inter", Arial, sans-serif;
}

@keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card{
    display:flex;
    justify-content: center;
}
.card h2{
    text-align: center;
}

.cont{
    gap:30px;
    margin:20px;
    height:auto;
    display:flex;
    flex-wrap:wrap;          /* cards drop under each other when there isn't room */
    justify-content: center;
    
}

.cont .address {
    background-color: brown;
    width:300px;
    height:auto;
    border-radius:12px;
    margin:0 auto;
    padding:10px;
    display:flex;
    flex-direction: column;
    align-items: center;
    color:white;
}
.address p{
    font-size: 1.2rem;
    text-align: center;
}
.address a{
    color:rgb(14, 0, 0);
}
.address a:hover{
    color:rgb(255, 116, 2);
}
.address a:active{
    color:green;
}

.form-container{
    display:flex;
    justify-content: center;
    border: 1px solid brown;
    background-color: brown;
    height: auto;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding:5px;
    border-radius:12px;
    color: white;
    box-sizing: border-box;
}

.form-container input{
    width:100%;
    height:25px;
    margin:2px;
    display:flex;
    justify-content: space-between;
    flex-direction: column;
    border-radius:5px;
    font-size:1.0rem;
}

.message-row {
    display: flex;
    flex-direction:column;
    align-items:stretch;
}

.message-row label {
    flex: 0 0 auto;              /* label keeps its natural width */
    margin: 1px 0 0;             /* nudges it level with the textarea's first line */
}

.message-row textarea {
    flex: 1;                     /* textarea fills the remaining width */
    min-width: 0;
    width: auto;                 /* overrides the width: 100% from .form-container textarea */
    margin: 0;
}

.form-container button{
    display:block;
    margin: 10px auto;
    padding:10px;
    border-radius:10px;
    background-color:orangered;
    border:1px solid orangered;
    color:white;
}

.form-container button:hover{
    background-color:green;
    color:white;
    border:1px solid green;
}
.form-container button:active{
    background-color:white;
    color:green;
    border: 1px solid green;
}
.form-container input,
.form-container textarea {
    border: 1px solid #ccc;
    outline: none;                          /* removes the default browser outline */
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

/* soft glow on hover */
.form-container input:hover,
.form-container textarea:hover {
    border-color: #c9a227;
    box-shadow: 0 0 6px 1px rgba(201, 162, 39, 0.5);
}

/* stronger glow when selected / typing */
.form-container input:focus,
.form-container textarea:focus {
    border-color: brown;
    box-shadow: 0 0 10px 3px rgba(201, 162, 39, 0.7),
                0 0 4px 1px rgba(165, 42, 42, 0.6);
}
.form-container button.success{
    background-color: white !important;
  color: green !important;      /* this is the green label */
}
.hp { position: absolute; left: -9999px; }

/* ---- Tablets ---- */
@media (max-width: 1024px) {
    .cont { gap: 20px; }
}

/* =========================================================
   MOBILE NAV  (768px and below)
   ========================================================= */
@media (max-width: 768px) {
    .intro { gap: 10px; }
    .intro p { margin-right: auto; }       /* pushes donate + menu button to the right */

    .nav-toggle { display: block; }

    .navbar {
        display: none;                     /* hidden until the button is tapped */
        position: absolute;
        top: calc(100% + 6px);
        right: 12px;
        z-index: 100;
        width: min(260px, calc(100vw - 24px));
        margin: 0;
        padding: 8px;
        background: #fff;
        border: 2px solid brown;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    }
    .navbar.open { display: block; }

    .navbar ul { flex-direction: column; gap: 0; font-size: 1.1rem; }
    .navbar ul li a {
        display: block;
        padding: 12px 14px;
        border-radius: 8px;
    }
    .navbar a:hover { background: lightgoldenrodyellow; border-bottom: none; }
}

/* ---- Small phones ---- */
@media (max-width: 480px) {
    .address p { font-size: 1.05rem; }
    .form-container input { font-size: 1rem; }
}

