* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Google Sans", sans-serif;

}

.navbar {
    background: #ED7043;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    background-color: white;
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
    white-space: nowrap;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}


.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 20px;
    background: #3F6EEF;
    color: white;
}

.button:hover {
    background-color:#0044ff;
    transition: all 0.3s ease-out;
}

.navbar__links:hover {
    color: #3F6EEF;
    transition: all 0.3s ease; 
}


@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 70vh;
        z-index: -1;
        background: #ED7043;
    }

    .navbar__menu.active {
        background: #ED7043;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 70vh;
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
        font-size: 1.2rem;       
        max-width: 70%;          
        white-space: nowrap;     
        overflow: hidden;        
        text-overflow: ellipsis; 
        display: block;          
        align-self: center;      
    }
    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: white;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
        cursor: pointer; /* Good practice for clickability */
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80%;
        margin: 0;
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Main section styles */
.Hero__section {
    height: 60vh;  
    width: 100%;   
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("images/homepage image.webp");
    background-size: cover;      
    background-position: center; 
    background-repeat: no-repeat;
    display: flex;
    justify-content: center; 
    align-items: center;   
    color: white; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7); 
    font-size: 25px;
    text-align: center;
}

.shocking__statistic {
    margin: 10px;
    font-size: 40px;
}
.main__content {
    text-align: center;
    font-size: 20px;
}

.call__to__action {
    background-color:#ED7043;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    color: white;
    padding: 35px;
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.pledge__info {
    background-color:#3F6EEF;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    color: white;
    padding: 35px;
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.pledge__info__content {
    display: flex;
    justify-content: column;
    align-items: center;
    font-size:25px;
    margin: 10px;
}
.pledge__info__content img {
    max-width: 500px;
    height: auto;
}

.shocking__statistic {
    text-align: center;
}
.learn__give {
    background-color:#ED7043;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    color: white;
    padding: 35px;
}

.learn__give__text__content {
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.learn__give__content img {
    height: auto;
    max-width: 500px;
}
#charity__list {
    margin: 10px;
    margin-left: 35px;
    font-size: 25px;
}

#charity__list a {
    text-decoration: none;
    color: #0044ff
}
.charity__list__header {
    background-color:#3F6EEF;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    color: white;
    padding: 35px;
    font-size: 30px;
}

.main__btn {
    font-size: 1rem;
    padding: 14px 32px;
    border: none;
    border-radius: 20px;
    background-color: #ED7043;
    margin-top: 1rem;
    cursor: pointer;
    position: relative;
    transition: all 0.35s;
    outline: none;
    margin: 10px;
}
.main__btn__container {
    display: flex;
    justify-content: center;
    align-content: center;
}

.main__btn a {
    text-decoration: none;
    position: relative;
    z-index: 2;
    color: black;
}

.main__btn:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #0044ff;
    transition: all 0.35s;
    border-radius: 20px;
}

.main__btn span {
    position: relative;
    z-index: 1;
}

.main__btn:hover:after {
    width: 100%;
}
.main__img--container {
    text-align: center;
}

/* Mobile responsive */

@media screen and (max-width: 960px) {


    .Hero__section {
        height: 50vh;        
        font-size: 1.2rem;   
        text-align: center;
        padding: 0 15px;
    }

    .shocking__statistic {
        font-size: 2rem;     
        padding: 0 10px;
    }
    
    .main__content {
        font-size: 1rem;     
        padding: 0 20px;     
        text-align: center;  
    }

    .call__to__action, 
    .pledge__info, 
    .learn__give, 
    .charity__list__header {
        flex-direction: column; 
        padding: 30px 15px;     
        font-size: 1.3rem;      
        text-align: center;
        height: auto;          
    }

    .pledge__info__content img, 
    .learn__give__content img {
        width: 100%;            
        max-width: 100%;        
        height: auto;           
        margin-top: 20px;       
    }

    .pledge__info__content,
    .learn__give__text__content {
        flex-direction: column;
        display: flex;
        width: 100%;
        margin: 0;     
        text-align: center;        
    }

    #charity__list {
        font-size: 1.2rem;
        margin: 30px;          
        text-align: center;   
    }

    .main__btn {
        width: 100%;           
        margin: 10px 0;
        display: block;       
    }
}



/* Footer styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- Footer Container --- */
.site-footer {
    background-color: #3F6EEF; 
    color: white;            
    padding: 60px 20px 20px;   /* Top padding for space, bottom for credits */
}

.footer-container {
    display: flex;
    justify-content: space-between; /* Spreads the 3 columns out */
    max-width: 1100px;              /* Keeps content from getting too wide */
    margin: 0 auto;                 /* Centers the container */
    gap: 40px;                      /* Space between columns */
    flex-wrap: wrap;                /* Allows stacking on mobile */
}

/* --- Typography --- */
h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

h3 {
    font-size: 1.5rem;
    color: #ED7043; 
    margin-bottom: 1.5rem;
}

footerh3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    border-bottom: none;
}

p.brand-description {
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* --- Links Styling --- */
.footer-nav ul, .social-links {
    list-style: none;
}

.footer-nav li, .social-links li {
    margin-bottom: 12px;
}

.footer-nav a, .social-links a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover, .social-links a:hover {
    color: #ED7043; 
}

.spacer {
    margin-top: 20px;
}

.resource-links {
    margin-top: 20px;
    list-style: none;
}

.resource-links i, .social-links i {
    margin-right: 8px; 
    width: 20px;       
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
}

.signup-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
}

.signup-form input:focus {
    border-color: white;
}

.btn-subscribe {
    background-color: #ED7043; /* The teal button color */
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    width: fit-content;
    transition: background 0.3s;
}

.btn-subscribe:hover {
    background-color: #ff4400; 
}

.footer-bottom {
    margin-top: 60px;
    text-align: left;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom a {
    color: #0e4952;
    text-decoration: underline;
}

.footer-column {
    flex: 1;                        /* Allows columns to grow evenly */
    margin: 0 15px;                 /* Adds a little gap between them */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack columns on phone */
        gap: 40px;
    }
}