/* Global Styles */
:root {
    --primary-red: #B31B1B;
    --dark-red: #8B1010;
    --dark-bg: #222222;
    --light-gray: #BCBCBC;
    --beige: #C0B9AD;
}


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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-weight: 600;
}

/* Header Styles */
header {
    display: flex;
    align-items: center;
    background-color: var(--primary-red);
    color: white;
    padding: 1rem 5%;
    position: relative;
}

.logo-container {
    width: 105px;
    height: 110px;
    display: flex;
    background-color: white;
    border: white;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius:  0px;
    padding: 5%;
}


header h1 {
    font-size: 2.5rem;
    font-weight: 500;
}

header nav {
    margin-left: auto;
}

header nav ul {
    display: flex;
}

header nav ul li {
    margin-left: 2rem;
    transition-duration: 0.3s;
}

header nav ul li a {
    font-size: 1.2rem;
    font-weight: 500;
}

header nav ul li:hover {
    -ms-transform: scale(1.1); /* IE 9 */
    -webkit-transform: scale(1.1); /* Safari 3-8 */
    transform: scale(1.1); 
    color: var(--beige);
}

/* Application Banner */
.application-banner {
    display: flex;
    background-color: #222;
    color: white;
    padding: 1.5rem 5%;
}

.banner-content {
    flex: 3;
}

.banner-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
}

.apply-button {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: 0.3s;
}

.apply-button a {
    background-color: var(--beige);
    color: black;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 15px;
}

.apply-button:hover {
    -ms-transform: scale(1.15); /* IE 9 */
    -webkit-transform: scale(1.15); /* Safari 3-8 */
    transform: scale(1.15); 
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 3rem;
    text-align: center;
}

.hero-image {
    width: 100%;
    position: relative;
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    transition-duration: 0.3s;
}

.project-button a {
    background-color: var(--primary-red);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    display: inline-block;
    border-radius: 15px;
    transition-duration: 0.5s;
}

.project-button:hover {
    -ms-transform: scale(1.15); /* IE 9 */
    -webkit-transform: scale(1.15); /* Safari 3-8 */
    transform: scale(1.15); 
}

.project-button:hover a {
    color:var(--primary-red);
    background-color: white;
}

.hero-text {
    width: 80%;
    max-width: 1200px;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Team Section */
.team-section {
    background-color: var(--dark-bg);
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.team-categories {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.team-category {
    width: 22%;
    margin-bottom: 2rem;
}

.team-image {
    width: 100%;
    height: 250px;
    background-color: white;
    margin-bottom: 1rem;
    border-radius: 15px;
    padding: 2px;
    overflow: hidden;
    transition: transform .3s;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius:  15px;
}

.team-image:hover {
    -ms-transform: scale(1.1); /* IE 9 */
    -webkit-transform: scale(1.1); /* Safari 3-8 */
    transform: scale(1.1); 
  }

.category-label {
    background-color: var(--primary-red);
    color: white;
    padding: 0.5rem 0;
    border-radius: 15px;
    font-weight: 500;
    width: 80%;
    margin: 0 auto;
}

.team-leaders {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.leader {
    width: 48%;
    display: flex;
    text-align: left;
    margin-bottom: 2rem;
}

.leader-image {
    width: 200px;
    height: 200px;
    background-color: white;
    margin-right: 2rem;
    border-radius: 15px;
    padding: 2px;
    transition: transform .3s;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px
}

.leader-image:hover {
    -ms-transform: scale(1.1); /* IE 9 */
    -webkit-transform: scale(1.1); /* Safari 3-8 */
    transform: scale(1.1); 
  }

.leader-info {
    flex: 1;
}

.leader-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.leader-info h4 {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.leader-info p {
    font-size: 0.9rem;
}

/* Donation Section */
.donation-section {
    background-color: var(--beige);
    padding: 3rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.donation-text {
    width: 60%;
}

.donation-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.donation-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.donate-button {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .5s;
}

.donate-button a {
    background-color: var(--primary-red);
    color: white;
    padding: 2rem 4rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 15px;
    transition-duration: 0.5s;
}

.donate-button:hover {
    -ms-transform: scale(1.15); /* IE 9 */
    -webkit-transform: scale(1.15); /* Safari 3-8 */
    transform: scale(1.15); 
  }

.donate-button:hover a {
    background-color: white;
    color: var(--primary-red);
}

/* Footer */
footer {
    background-color: var(--primary-red);
    color: white;
    padding: 3rem 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo {
    width: 30%;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.8rem;
}

.quick-links {
    width: 30%;
}

.quick-links h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.quick-links ul li {
    margin-bottom: 0.8rem;
    transition-duration: 0.3s;
}

.quick-links ul li:hover {
    color: var(--beige);
}

.newsletter {
    width: 30%;
}

.newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 1.5rem;
}

.newsletter input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    background-color: var(--light-gray);
}

.newsletter button {
    padding: 0.8rem 2rem;
    background-color: white;
    color: var(--primary-red);
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .team-category {
        width: 48%;
    }
    
    .leader {
        width: 100%;
    }
    
    .footer-logo, .quick-links, .newsletter {
        width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem 2%;
    }
    
    header nav {
        margin: 1rem 0 0;
    }
    
    .application-banner {
        flex-direction: column;
    }
    
    .apply-button {
        margin-top: 1rem;
    }
    
    .donation-section {
        flex-direction: column;
    }
    
    .donation-text {
        width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    header nav ul li {
        margin: 0.5rem 0;
    }
    
    .team-category {
        width: 100%;
    }
    
    .leader {
        flex-direction: column;
    }
    
    .leader-image {
        margin: 0 0 1rem 0;
        width: 100%;
    }
}