/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #15183B;
    background-color: #fff;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #E34A20;
    padding: 10px 20px;
    width: 100%;
}

nav .logo img {
    width: 80px;
}

.nav-links {
    list-style: none;
    display: flex;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    position: relative;
    padding: 5px 0;
}

/* Hover Effect: Change Underline to Dark Blue */
.nav-links a::after {
    content: "";
    width: 0;
    height: 3px;
    background: #15183B;
    position: absolute;
    left: 50%;
    bottom: -5px;
    transition: all 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background-color: #15183B;
    color: white;
    width: 100%;
}

.hero img {
    width: 100px;
    display: block;
    margin: 0 auto 20px;
}

.hero h1 {
    margin-bottom: 10px;
}

.hero .btn {
    padding: 10px 20px;
    background: #E34A20;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.hero .btn:hover {
    background: white;
    color: #E34A20;
}

/* Section Styling */
section {
    width: 100%;
    padding: 60px 0;
    text-align: center;
}

/* Create an inner wrapper for centering content */
.section-inner {
    max-width: 900px;
    margin: auto;
    padding: 0 20px;
}

/* Dynamic Background Colors */
section:nth-of-type(3n+1) {
    background-color: #E34A20;
    color: white;
}

section:nth-of-type(3n+2) {
    background-color: #15183B;
    color: white;
}

section:nth-of-type(3n) {
    background-color: #fff;
    color: #15183B;
}

/* Ensure links are readable */
section:nth-of-type(3n+1) a,
section:nth-of-type(3n+2) a {
    color: white;
    text-decoration: underline;
}

section:nth-of-type(3n) a {
    color: #15183B;
    text-decoration: underline;
}

/* Donation Section */
.donation-section {
    text-align: center;
}

.donation-form {
    display: none;
    margin-top: 20px;
}

.donation-form input, 
.donation-form select {
    display: block;
    margin: 10px auto;
    padding: 10px;
    width: 80%;
    max-width: 400px;
    border: 1px solid #ccc;
}

.donation-form input[type="submit"] {
    background: #E34A20;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.donation-form input[type="submit"]:hover {
    background: #15183B;
}

/* Dropdown Selector */
#donation-type {
    width: 80%;
    max-width: 400px;
    padding: 10px;
    margin: 10px auto;
    display: block;
    font-size: 16px;
    border: 2px solid #15183B;
    background: white;
    color: #15183B;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#donation-type:hover {
    border-color: #E34A20;
}

#donation-type:focus {
    outline: none;
    border-color: #E34A20;
    box-shadow: 0px 0px 5px rgba(227, 74, 32, 0.5);
}

/* Membership & Projects List Styling */
section ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 600px;
    margin: auto;
}

section ul li {
    font-size: 16px;
    padding: 8px;
    background: #f4f4f4;
    margin: 5px 0;
    border-radius: 5px;
}

/* Projects Funded Grid */
.funded-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    text-align: left;
}

.funded-projects li {
    padding: 10px;
    background: #f4f4f4;
    border-left: 4px solid #E34A20;
	color: #15183B;
}

/* Concession Section */
#concessions {
    background: #15183B;
    color: white;
    padding: 50px 20px;
}

#concessions a {
    background: #E34A20;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

#concessions a:hover {
    background: white;
    color: #E34A20;
}

/* Officers Section */
#officers ul {
    padding: 0;
}

#officers li {
    font-size: 16px;
    margin-bottom: 8px;
	color: #15183B;
}

#officers a {
	color: #15183B;
}

/* Footer */
footer {
    background: #15183B;
    color: white;
    text-align: center;
    padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 40px 15px;
    }
    
    .nav-links {
        flex-direction: column;
        text-align: center;
    }
}
