/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    color: #333;
    background-color: #f9f9f9;
}

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

/* Header and Navigation */
.header-title {
    text-align: center;
    padding: 20px 0;
    font-size: 1.5em;
    font-weight: bold;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    padding: 15px 25px;
    display: block;
    font-weight: bold;
    font-size: 1em;
}

/* Active and Hover states for nav links */
.nav-links li a.active,
.nav-links li a:hover {
    background-color: #b08d2c; /* Mustard Yellow */
    color: #fff;
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* Main Content Sections */
main section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section Slideshow */
.hero {
    padding: 0; /* Remove padding for a full-width container */
}

.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    height: 60vh; /* Control the height of the slideshow */
    overflow: hidden;
}

.mySlides {
    display: none;
    height: 100%;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
}

/* Dots for navigation */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Mission & Help Section */
.mission-help {
    background-color: #b08d2c; /* Mustard Yellow */
    color: #fff;
    text-align: center;
}

.mission-help h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Ways to Help Section */
.ways-to-help h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
}
.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.help-item h3 {
    font-size: 1.2em;
}

/* Alternating two-column sections */
.catalyst, .workforce {
    display: flex;
    align-items: center;
    gap: 40px;
}

.catalyst > div, .workforce > div {
    flex: 1;
}

.catalyst-image, .workforce-image {
    height: 300px;
    background-size: cover;
    background-position: center;
}

/* Add your image files here */
.catalyst-image {
    background-image: url('images/IMG_0337_edited.jpg');
}
.workforce-image {
    background-image: url('images/IMG_0313_edited.jpg');
}

.catalyst-text ul, .workforce-text ul {
    list-style-image: url('images/Screenshot 2025-07-24 183431.png'); /* Book Icon */
    padding-left: 30px;
}

.catalyst-text li, .workforce-text li {
    margin-bottom: 20px;
    font-size: 1.1em;
}


/* Final Call-to-Action Button */
.final-cta {
    text-align: center;
    padding: 40px 0;
}

.donate-button-large {
    background-color: #b08d2c; /* Mustard Yellow */
    color: #fff;
    padding: 20px 50px;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    display: inline-block;
}
.about-intro {
    display: flex;
    align-items: center;
    gap: 40px;
}
.about-intro > div {
    flex: 1;
}
.about-image {
    height: 400px;
    background-image: url('images/IMG_0312_edited.jpg'); /* Placeholder */
    background-size: cover;
    background-position: center;
}
.facebook-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
    color: #3b5998; /* Facebook Blue */
}

.our-story {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    background-color: #fff;
    padding: 60px 5%;
}
.contact-form-section h2 {
    text-align: center;
    color: #b08d2c; /* Mustard Yellow */
    font-size: 2em;
    margin-bottom: 40px;
}
.contact-form-section form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-row {
    display: flex;
    gap: 15px;
}
.form-row input {
    flex: 1;
}
.contact-form-section input,
.contact-form-section textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: #f0f0f0;
    border-radius: 5px;
    box-sizing: border-box; /* Important for padding */
}
.contact-form-section textarea {
    height: 150px;
    resize: vertical;
}
.contact-form-section button {
    background-color: #b08d2c; /* Mustard Yellow */
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    align-self: center;
    width: 200px;
}
.page-title-section {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 20px;
}
.page-title-section h1 {
    font-size: 2.5em;
    font-weight: normal;
}
.donation-form-container {
    padding: 40px 5%;
}
.donation-form {
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #ddd;
    padding: 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}
.donation-form label {
    margin-bottom: 10px;
    font-weight: bold;
}
.frequency-buttons {
    display: flex;
    margin-bottom: 20px;
    border: 1px solid #b08d2c;
    border-radius: 5px;
    overflow: hidden;
}
.frequency-buttons button {
    flex: 1;
    padding: 15px;
    border: none;
    background-color: #fff;
    cursor: pointer;
    font-size: 1em;
    border-right: 1px solid #b08d2c;
}
.frequency-buttons button:last-child {
    border-right: none;
}
.frequency-buttons button.active {
    background-color: #b08d2c;
    color: #fff;
}
.donation-form input, 
.donation-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    margin-bottom: 20px;
}
.donation-form textarea {
    height: 120px;
    resize: vertical;
}
.donate-submit-btn {
    background-color: #b08d2c;
    color: white;
    padding: 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
}

.thank-you-text {
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
    line-height: 1.6;
    padding: 0 5%;
}
.thank-you-text h2 {
    text-align: center;
    margin-bottom: 20px;
}
.thank-you-text ul {
    list-style-type: none;
    padding: 0;
}
.thank-you-text li {
    margin-bottom: 15px;
}
p.subtitle {
    max-width: 800px;
    margin: 20px auto 0 auto;
    font-size: 1.1em;
    line-height: 1.6;
}

#general-donations-img-1 {
    background-image: url('images/IMG_0317_edited.jpg'); /* Placeholder */
}
#general-donations-img-2 {
    background-image: url('images/IMG_2131_edited.jpg'); /* Placeholder */
}
/* Scholarship Page Styles */
#scholarship-img-1 {
    background-image: url('images/IMG_3275 (1)_edited.jpg'); /* Placeholder */
}
#scholarship-img-2 {
    background-image: url('images/IMG_3278_edited.jpg'); /* Placeholder */
}
/* Child Sponsorship Page Styles */
#sponsorship-img-1 {
    background-image: url('images/IMG_3263_edited.jpg'); /* Placeholder */
}
#sponsorship-img-2 {
    background-image: url('images/IMG_3268_edited.jpg'); /* Placeholder 2 */
}
/* Footer */
footer {
    text-align: center;
}
.contact-info {
    padding: 40px 20px;
    background-color: #fff;
}
.footer-bar {
    background-color: #333;
    color: #f1f1f1;
    padding: 20px;
    font-size: 0.9em;
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
    }
    .help-grid {
        grid-template-columns: 1fr;
    }
    .catalyst, .workforce {
        flex-direction: column;
    }
}