/* Default behavior for desktop - hide mobile menu */
.menu-toggle {
    display: none;
    }

/* When screen width is 768px or less (mobile/tablet) */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

/* Reset default styles */
/* Default styles for large screens */
nav ul {
    display: flex;
    justify-content: space-between;
}

.menu-toggle {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: #fff;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: #000;
    }

    .nav-links.active {
        display: flex;
    }

    nav ul li {
        padding: 15px 0;
    }
}

/* Dropdown Button */
.dropbtn {
    font-size: 16px;  
    border: none;
    outline: none;
    color: #107168;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color:#107168;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 1cm; /* Adjust as needed */
    height: 1cm; /* Adjust as needed */
}

.logo h1 {
    font-size: 24px;
    color: #107168;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav ul li a {
    text-decoration: none;
    color: #107168;
    font-weight: bold;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-menu span {
    width: 25px;
    height: 2px;
    background-color: #107168;
}

/* Large Image Section */
#large-image {
    padding: 0;
    margin-top: 0px; /* Optional: Adjust if needed */
}

#large-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Intro Section */
.intro-section {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 2s ease-out, transform 2s ease-out;
    /* Ensure the section starts off-screen */
}

/* When visible */
.intro-section.visible {
    opacity: 1;
    transform: translateX(0);
}

.intro-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:200px; /* Adjust as needed */
    margin-bottom: 20px;
}

.intro-image {
    width: 40%; /* Adjust size as needed */
    margin-top: 50px;
    margin-right: 20px; /* Adjust spacing as needed */
    margin-bottom: 50px;
}

.intro-content {
    width: 50%; /* Adjust size as needed */
    margin-bottom: 100px;
}

/* Hero Section */
#hero {
    background: url('HeroImage.jpg') no-repeat center center/cover;
    color: #fff;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #107168;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0a564c;
}


/* Latest News Section */
#news {
    padding: 60px 0;
}

#news h2 {
    text-align: center;
    margin-bottom: 40px;
}

.news-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.news-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
}

.news-item img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

.news-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-item p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.news-item a {
    color: #107168;
    text-decoration: none;
    font-weight: bold;
}

.news-item a:hover {
    text-decoration: underline;
}

/* Get Involved Section */
#get-involved {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

#get-involved h2 {
    margin-bottom: 40px;
}

.involvement-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.involvement-button {
    background-color: #107168;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    display: inline-block;
    width: 200px;
    text-align: center;
}

.involvement-button:hover {
    background-color: #0a564c;
}

/* Upcoming Events Section */
#events {
    padding: 60px 0;
}

#events h2 {
    text-align: center;
    margin-bottom: 40px;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.event-item img {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    object-fit: cover;
}

.event-item h3 {
    font-size: 18px;
    color: #107168;
    margin-bottom: 5px;
}

.event-item p {
    font-size: 16px;
    color: #666;
}

.register-button-green {
    background-color: #107168; /* Theme color */
    color: #fff; /* White text */
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.register-button-green:hover {
    background-color: #0d584b; /* Darker shade of theme color */
}

/* About Page */
.about-headline {
    font-family: 'Your Theme Font', sans-serif; /* Use your theme font */
    font-size: 36px; /* Adjust as needed */
    text-align: center;
    margin-top: 50px; /* Adjust as needed */
    margin-bottom: 30px; /* Adjust as needed */
}

.about-content p {
    margin-bottom: 20px; /* Adjust the value as needed */
}

.overview-title {
    /*border-top: 2px solid black;*/
    padding-top: 10px; /* Adjust as needed for spacing */
    text-align: center; /* Center the text */
}

.overview-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px; /* Adjust as needed */
}

.overview-image {
    width: 40%; /* Adjust size as needed */
    margin-right: 20px; /* Adjust spacing as needed */
    margin-bottom: 100px;
}

.overview-content {
    width: 50%; /* Adjust size as needed */
    margin-bottom: 100px;
}

/* Optional: Add styles for the image and content */
.overview-image {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.overview-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify; 
}
.history-title {
    /*border-top: 2px solid black;*/
    padding-top: 10px; /* Adjust as needed for spacing */
    text-align: center; /* Center the text */
}

.history-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px; /* Adjust as needed */
}

.history-image {
    width: 40%; /* Adjust size as needed */
    margin-left: 20px; /* Adjust spacing as needed */
    margin-bottom: 100px;
}

.history-content {
    width: 50%; /* Adjust size as needed */
    margin-right: 10px;
    margin-bottom: 100px;
}

/* Optional: Add styles for the image and content */
.history-image {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.history-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .overview-section, .history-section {
        flex-direction: column; /* Stack content vertically */
        text-align: center;
    }

    .overview-image, .history-image {
        width: 90%; /* Increase image width for mobile */
        margin-bottom: 20px;
    }

    .overview-content, .history-content {
        width: 90%; /* Adjust content width */
    }

    .about-headline {
        font-size: 28px; /* Slightly smaller font for mobile */
    }
}

/* Footer Section */
footer {
    background-color: #f1f1f1;
    padding: 40px 0;
    text-align: center;
}

/* Activities & Events Page */

.events-title {
    text-align: center; /* Center the text */
}
/* Event Calendar */
.event-calendar {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
 /* Event Date */
.events-date {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 20px; /* Adjust spacing as needed */
}

.date-line {
    width: 3px;
    height: 250px;
    background-color: #107168; /* Theme color */
    margin-left: 20px;    
}

.event-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px; /* Adjust as needed */
    margin-left: 100px;
    margin-bottom: 100px;
}

.date-text {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #107168; /* Theme color */
    padding-left: 10px; /* Adjust spacing as needed */
}

/* Event Info */
.event-info {
    flex: 1;
}

.events-time {
    margin-top: 0;
    color: #555; /* Black text */
}

.events-titles {
    color: #107168; /* Theme color */
}

.events-description {
    margin-top: 10px;
    color: #555; /* Black text */
}

/* Event Register Link */
.register-button-green {
    background-color: #107168; /* Theme color */
    color: #fff; /* White text */
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.register-button-green:hover {
    background-color: #0d584b; /* Darker shade of theme color */
}

/* Event Poster */
.events-detail-img {
    width: 200px; /* Adjust size as needed */
    height: 200px;
    margin-right: 200px; /* Adjust spacing as needed */    
}
/* Event Details Page */
.events-page-heading {
    flex: 1;
    margin-right: 10px;
    margin-top: 20px
    
}

.eventspage-title {
    margin-top: 100px;
    color: #107168;
}

.eventspage-date {
    margin-top: 50px;
    color: #000;
    
}

.eventspage-description {
    margin-top: 50px;
    color: #000;
    
}

.events-page-heading-img {
    width: 300px; /* Adjust size as needed */
    height: 300px;
    display: flex;
    align-items: right;
    margin-left: 800px; /* Align image to the right */
    margin-top:-250px;
}

.collapsible {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px 10px;
}

.arrow {
    font-size: 18px;
    transform: rotate(90deg);
    transition: transform 0.3s;
}

.collapsible.active .arrow {
    transform: rotate(-90deg);
}

.content {
    display: none;
    padding: 10px;
}

.content p {
    margin: 5px 0;
}

.collapsible.active .content {
    display: block;
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    /* General Container Adjustments */
    .event-detail {
        flex-direction: column; /* Stack content vertically */
        margin: 20px; /* Reduce margins for smaller screens */
        text-align: center; /* Center-align text and images */
    }

    /* Event Date Section */
    .events-date {
        margin: 0 auto 10px; /* Center-align and add spacing */
    }

    .date-line {
        display: none; /* Hide the vertical line on small screens */
    }

    .date-text {
        font-size: 20px; /* Reduce font size */
        padding-left: 0; /* Remove unnecessary padding */
    }

    /* Event Info */
    .event-info {
        margin-bottom: 20px; /* Add spacing between text and image */
    }

    .events-time,
    .events-titles,
    .events-description {
        font-size: 16px; /* Adjust font size for readability */
    }

    /* Adjust Event Register Button */
    .register-button-green {
        width: 80%; /* Make button wider */
        margin: 10px auto; /* Center the button */
    }

    /* Event Image */
    .events-detail-img {
        width: 90%; /* Make image responsive */
        height: auto; /* Maintain aspect ratio */
        margin: 0 auto 20px; /* Center-align and add spacing */
    }

    /* Footer Adjustments */
    .footer .contact-info,
    .footer .social-media,
    .footer .terms-conditions {
        text-align: center; /* Center-align footer content */
    }
}

/* Mobile-specific styles */
@media screen and (max-width: 768px) {

    /* Adjust the events heading container */
    .events-page-heading {
        margin: 20px 10px; /* Add spacing for small screens */
        text-align: center; /* Center the text content */
    }

    /* Adjust title, date, and description */
    .eventspage-title {
        margin-top: 20px;
        font-size: 24px; /* Slightly reduce font size for small screens */
    }

    .eventspage-date, 
    .eventspage-description {
        margin-top: 15px;
        font-size: 16px; /* Adjust font size */
    }

    /* Make the heading image responsive */
    .events-page-heading-img {
        width: 100%; /* Image takes the full width of the screen */
        max-width: 600px; /* Optional: prevent it from being too large */
        height: auto; /* Maintain aspect ratio */
        margin: 20px auto; /* Center image vertically and horizontally */
        display: block;
    }

    /* Adjust collapsible sections for mobile */
    .collapsible-header {
        font-size: 18px; /* Adjust header font size */
        padding: 10px; /* Add spacing */
    }

    .content {
        padding: 10px; /* Adjust spacing inside collapsibles */
    }

    /* Register button */
    .register-button-green {
        display: block;
        width: 80%; /* Makes the button take up more space */
        margin: 20px auto; /* Center button with spacing */
        text-align: center;
        font-size: 18px; /* Adjust font size */
        padding: 10px;
    }

    /* Footer adjustments */
    footer .container {
        display: flex;
        flex-direction: column;
        text-align: center; /* Center footer content */
    }

    .contact-info,
    .social-media,
    .terms-conditions {
        margin-bottom: 20px; /* Add spacing between footer sections */
    }

    .social-media a img {
        width: 30px; /* Adjust social media icon size */
        height: 30px;
        margin: 5px;
    }
}

/* Events Registration Page */
.registration-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 30px;
}

.registration-form label {
    display: block;
    margin-bottom: 5px;
}

.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form input[type="tel"],
.registration-form input[type="submit"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.registration-form input[type="submit"] {
    background-color: #107168;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

.registration-form input[type="submit"]:hover {
    background-color: #107168;
}

/* Donate Page */
.donate-heading {
    font-family: 'Your Theme Font', sans-serif; /* Use your theme font */
    font-size: 36px; /* Adjust as needed */
    text-align: center;
    margin-top: 50px; /* Adjust as needed */
    margin-bottom: 30px; /* Adjust as needed */ 
} 

.donate-part {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px; /* Adjust as needed */
}

.donate-image {
    width: 40%; /* Adjust size as needed */
    margin-right: 20px; /* Adjust spacing as needed */
    margin-bottom: 100px;
}

.donate-content {
    width: 50%; /* Adjust size as needed */
    margin-bottom: 100px;
}

/* Optional: Add styles for the image and content */
.donate-image {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.donate-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify; 
}

.donate-options-title {
    /*border-top: 2px solid black;*/
    padding-top: 10px; /* Adjust as needed for spacing */
    text-align: center; /* Center the text */
    margin-bottom: 50px;
    margin-top: -30px;
}

.donation-options {
    text-align: center;
    margin-bottom: 20px;
}

.donation-options {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.donations-options-tile {
    width: 10cm;
    height: 10cm;
    border: 2px solid #107168;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.donation-options-tile img {
    width: 400px;
    height: 400px;
    object-fit: cover; /* Ensure images maintain aspect ratio and cover the space */
    border: 1px solid #ddd; /* Add a border to the images */
    border-radius: 5px; /* Optional: Add border radius for rounded corners */
}

.donation-form-title {
    /*border-top: 2px solid black;*/
    padding-top: 10px; /* Adjust as needed for spacing */
    text-align: center; /* Center the text */
    margin-bottom: 50px;
    margin-top: 50px;
}

.donation-form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.donation-form label {
    font-weight: bold;
}

.donation-form input[type="text"],
.donation-form input[type="email"],
.donation-form input[type="tel"],
.donation-form select {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.donation-form input[type="submit"] {
    background-color: #107168;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.donation-form input[type="submit"]:hover {
    background-color: #107168;
}

.donation-form p {
    margin: 5px 0;
    font-style: italic;
    color: #666;
}

/* General Mobile Styles */
@media (max-width: 768px) {
    .donate-heading {
        font-size: 28px; /* Adjust heading size for mobile */
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .donate-part {
        flex-direction: column; /* Stack the image and content vertically */
        text-align: center;
        margin-top: 30px;
    }

    .donate-image {
        width: 80%; /* Make the image more responsive */
        margin-right: 0;
        margin-bottom: 20px;
    }

    .donate-content {
        width: 80%; /* Make the content more responsive */
        margin-bottom: 20px;
    }

    /* Adjust donation options for smaller screens */
    .donation-options {
        display: block; /* Stack the options vertically */
        margin-top: 30px;
    }

    .donation-options-tile {
        width: 80%; /* Make tiles responsive */
        margin: 10px auto; /* Center the tiles */
        border: 1px solid #107168;
        border-radius: 10px;
        overflow: hidden;
        text-align: center;
    }

    .donation-options-tile img {
        width: 100%; /* Make images fill the tile */
        height: auto; /* Maintain aspect ratio */
        border-radius: 5px;
    }

    /* Donation Form */
    .donation-form-title {
        font-size: 28px; /* Adjust form title size for mobile */
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .donation-form {
        padding: 15px; /* Reduce padding for better mobile spacing */
        width: 100%;
    }

    .donation-form input[type="text"],
    .donation-form input[type="email"],
    .donation-form input[type="tel"],
    .donation-form select {
        width: 100%; /* Make form inputs full width */
        padding: 12px; /* Increase padding for touch accessibility */
        margin: 8px 0; /* More spacing between inputs */
    }

    .donation-form input[type="submit"] {
        padding: 15px 20px; /* Increase button size for mobile */
    }

    /* Payment Method Section */
    .payment-method {
        text-align: left; /* Align payment options to the left */
        margin-bottom: 20px;
    }

    .payment-method label {
        font-size: 18px; /* Make labels larger for touch */
    }

    /* Hide details sections initially, they will be shown as needed */
    #mpesa_details, #card_details {
        display: block;
        margin-left: 0;
    }

    /* Mobile Contact Section */
    .contact-info p,
    .social-media a {
        font-size: 14px; /* Adjust font size for mobile */
        margin: 5px 0;
    }
}

/* Extra Small Mobile Styles (below 480px) */
@media (max-width: 480px) {
    .donate-heading {
        font-size: 24px; /* Reduce heading size even further for small screens */
    }

    .donate-part {
        flex-direction: column;
        padding: 10px;
    }

    .donate-image {
        width: 100%; /* Full width for small screens */
    }

    .donate-content {
        width: 100%; /* Full width for small screens */
    }

    .donation-options-tile {
        width: 100%; /* Full width for donation options */
    }

    .donation-form input[type="text"],
    .donation-form input[type="email"],
    .donation-form input[type="tel"],
    .donation-form select {
        padding: 12px; /* More padding for ease of use */
    }
}

/* Volunteer Page */
.volunteer-heading {
    font-family: 'Your Theme Font', sans-serif; /* Use your theme font */
    font-size: 36px; /* Adjust as needed */
    text-align: center;
    margin-top: 50px; /* Adjust as needed */
    margin-bottom: 30px; /* Adjust as needed */ 
} 

.volunteer-part {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px; /* Adjust as needed */
}

.volunteer-image {
    width: 40%; /* Adjust size as needed */
    margin-right: 20px; /* Adjust spacing as needed */
    margin-bottom: 100px;
}

.volunteer-content {
    width: 50%; /* Adjust size as needed */
    margin-bottom: 100px;
    margin-right: 30px
}

/* Optional: Add styles for the image and content */
.volunteer-image {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.volunteer-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify; 
}

.volunteer-registration-heading {
    /*border-top: 2px solid black;*/
    padding-top: 10px; /* Adjust as needed for spacing */
    text-align: center; /* Center the text */
    margin-bottom: 5px;
    margin-top: -30px;
}

.volunteer-registration-form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.volunteer-registration-form label {
    font-weight: bold;
}

.volunteer-registration-form input[type="text"],
.volunteer-registration-form input[type="email"],
.volunteer-registration-form input[type="tel"],
.volunteer-registration-form textarea {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.volunteer-registration-form input[type="checkbox"] {
    margin-right: 5px;
}

.volunteer-registration-form input[type="submit"] {
    background-color: #107168;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.volunteer-registration-form input[type="submit"]:hover {
    background-color: #107168;
}


.volunteer-story-heading {
    /*border-top: 2px solid black;*/
    padding-top: 10px; /* Adjust as needed for spacing */
    text-align: center; /* Center the text */
    margin-bottom: 30px;
    margin-top: 50px;
}

.volunteer-story {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
}

.volunteer-story img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 10px;
    margin-right: 20px;
}

.story-content {
    flex: 1;
}

.story-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.story-content p {
    margin-bottom: 10px;
}

.read-more-btn {
    padding: 5px 10px;
    background-color: #107168;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.read-more-btn:hover {
    background-color: #0a564c;
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo img {
        max-width: 120px;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        display: none; /* Hide navigation links by default */
        padding-top: 10px;
    }

    nav ul li {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: block; /* Show mobile menu toggle */
        cursor: pointer;
    }

    .menu-toggle .bar {
        display: block;
        width: 30px;
        height: 4px;
        margin: 5px 0;
        background-color: #333;
    }

    #nav-links.show {
        display: flex;
    }

    .volunteer-part {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .volunteer-image {
        width: 80%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .volunteer-content {
        width: 90%;
        text-align: center;
    }

    .volunteer-registration-form {
        width: 90%;
        padding: 15px;
    }

    .volunteer-registration-form input[type="text"],
    .volunteer-registration-form input[type="email"],
    .volunteer-registration-form input[type="tel"],
    .volunteer-registration-form textarea {
        width: 100%;
    }

    .volunteer-story {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }

    .volunteer-story img {
        width: 150px;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .volunteer-story .story-content {
        text-align: center;
    }
}

/* For smaller screens like phones */
@media (max-width: 480px) {
    .volunteer-heading {
        font-size: 28px;
    }

    .volunteer-story img {
        width: 120px;
        height: 120px;
    }

    .volunteer-story .story-content h3 {
        font-size: 1.1rem;
    }

    .read-more-btn {
        padding: 4px 8px;
        font-size: 0.9rem;
    }

    .volunteer-registration-form label {
        font-size: 0.9rem;
    }

    .volunteer-registration-form input[type="submit"] {
        padding: 8px 16px;
    }
}

.volunteer-stories-heading {
    font-family: 'Your Theme Font', sans-serif; /* Use your theme font */
    font-size: 36px; /* Adjust as needed */
    text-align: center;
    margin-top: -100px; /* Adjust as needed */
    margin-bottom: 60px; /* Adjust as needed */ 
    margin-left: 150px;
} 

.volunteer-stories-image {
    width: 200px;
    height: 200px;
    margin-top: 10px;
}

/* Mobile and tablet responsive design */
@media screen and (max-width: 768px) {
    /* Adjust volunteer-story-1 layout */
    .volunteer-story-1 {
        display: flex;
        flex-direction: column; /* Stack the elements vertically on mobile */
        align-items: center;
        text-align: center; /* Center text */
        margin-top: 20px; /* Adjust the top margin */
    }
    
    .volunteer-story-2 {
        display: flex;
        flex-direction: column; /* Stack the elements vertically on mobile */
        align-items: center;
        text-align: center; /* Center text */
        margin-top: 20px; /* Adjust the top margin */
    }
    
    .volunteer-story-3 {
        display: flex;
        flex-direction: column; /* Stack the elements vertically on mobile */
        align-items: center;
        text-align: center; /* Center text */
        margin-top: 20px; /* Adjust the top margin */
    }

    /* Adjust heading style on mobile */
    .volunteer-stories-heading {
        font-size: 28px; /* Smaller font for mobile */
        margin-left: 0; /* Remove left margin */
        margin-top: 20px; /* Adjust top margin */
        margin-bottom: 20px; /* Adjust bottom margin */
    }

    /* Adjust image size on mobile */
    .volunteer-stories-image {
        width: 150px; /* Smaller image size for mobile */
        height: 150px; /* Adjust height proportionally */
        margin-top: 10px;
    }

    /* Ensure text is readable and spaced properly on mobile */
    .volunteer-story-text section p {
        font-size: 16px; /* Adjust paragraph text size */
        margin-bottom: 15px; /* Space between paragraphs */
        line-height: 1.6; /* Improve readability */
        max-width: 90%; /* Ensure text doesn't stretch too far */
        margin-left: auto;
        margin-right: auto;
    }
}

/* Very small screens (extra mobile) */
@media screen and (max-width: 480px) {
    .volunteer-stories-heading {
        font-size: 22px; /* Further reduce font size on very small screens */
    }

    .volunteer-stories-image {
        width: 120px; /* Even smaller image size */
        height: 120px;
    }

    /* Adjust text for better readability */
    .volunteer-story-text section p {
        font-size: 14px; /* Reduce paragraph font size */
    }
    
    /* Adjust margins for mobile screens */
    .contact-info, .social-media, .terms-conditions {
        text-align: center; /* Center align text and links */
    }
}

/* Sponsorship Page */
.sponsorship-title {
    font-family: 'Your Theme Font', sans-serif; /* Use your theme font */
    font-size: 36px; /* Adjust as needed */
    text-align: center;
    margin-top: 50px; /* Adjust as needed */
    margin-bottom: 30px; /* Adjust as needed */ 
} 

.sponsorship-part {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px; /* Adjust as needed */
}

.sponsorship-intro-image {
    width: 40%; /* Adjust size as needed */
    margin-right: 20px; /* Adjust spacing as needed */
    margin-bottom: 100px;
}

.sponsorship-content {
    width: 50%; /* Adjust size as needed */
    margin-bottom: 100px;
    margin-right: 30px
}

/* Optional: Add styles for the image and content */
.sponsorship-intro-image {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sponsorship-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify; 
}

.sponsorship-opportunities {
    margin-bottom: 50px;
}

.opportunity {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
}

.opportunity h3 {
    margin-top: 0;
}

.opportunity p {
    margin-bottom: 10px;
}

.sponsorship-benefits {
    margin-bottom: 50px;
}

.sponsorship-benefits ul {
    list-style-type: none;
    padding: 0;
}

.sponsorship-benefits ul li {
    margin-bottom: 10px;
}

.sponsorship-benefits ul li strong {
    margin-right: 5px;
    font-weight: bold;
}

/* Mobile Styles */
@media only screen and (max-width: 768px) {
    /* Logo and navigation menu */
    .logo img {
        width: 80px; /* Make logo smaller on mobile */
    }

    /* Main title for sponsorship page */
    .sponsorship-title {
        font-size: 28px; /* Adjust the title font size */
        margin-top: 30px;
        margin-bottom: 20px;
    }

    /* Sponsorship section */
    .sponsorship-part {
        flex-direction: column;
        text-align: center;
        margin-top: 30px;
    }
    
    .sponsorship-part {
        display: block; /* Stack the content and image vertically */
        width: 100%; /* Ensure the section takes up the full width */
    }

    .sponsorship-content {
        width: 100%; /* Ensure the content takes up the full width */
        margin-bottom: 20px; /* Add some space below the content */
    }

    .sponsorship-intro-image {
        width: 100%; /* Make the image fill the width of the section */
        margin-top: 20px; /* Add some space above the image */
        margin-bottom: 20px; /* Add space below the image */
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    /* Image and text layout */
    .sponsorship-intro-image {
        width: 80%; /* Make image take more width on mobile */
        margin-right: 0; /* Remove right margin */
        margin-bottom: 20px; /* Adjust bottom spacing */
    }

    .sponsorship-content {
        width: 100%; /* Make content take full width */
        margin-bottom: 30px;
        margin-right: 0;
    }

    /* Opportunities section */
    .sponsorship-opportunities {
        padding: 0 15px; /* Add padding for mobile */
    }

    .opportunity {
        background-color: #f9f9f9;
        padding: 15px;
        margin-bottom: 20px;
    }

    .opportunity h3 {
        font-size: 20px;
        margin-top: 0;
    }

    .opportunity p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    /* Sponsorship Benefits */
    .sponsorship-benefits {
        padding: 0 15px; /* Add padding for mobile */
    }

    .sponsorship-benefits ul li {
        font-size: 14px;
    }

    .sponsorship-benefits ul li strong {
        font-size: 15px;
    }
}
/* For smaller mobile screens like phones in portrait mode */
@media only screen and (max-width: 480px) {
    .sponsorship-title {
        font-size: 24px; /* Adjust font size */
    }

    .sponsorship-intro-image {
        width: 90%; /* Make the image even bigger */
    }

    .sponsorship-content {
        width: 100%;
    }

    .opportunity h3 {
        font-size: 18px;
    }

    .opportunity p {
        font-size: 13px;
    }

    .sponsorship-benefits ul li {
        font-size: 13px;
    }
}

/* Membership Page */
.membership-title {
    font-family: 'Your Theme Font', sans-serif; /* Use your theme font */
    font-size: 36px; /* Adjust as needed */
    text-align: center;
    margin-top: 50px; /* Adjust as needed */
    margin-bottom: 30px; /* Adjust as needed */ 
} 

.membership-part {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px; /* Adjust as needed */
}

.membership-intro-image {
    width: 400px; /* Adjust size as needed */
    margin-right: 20px; /* Adjust spacing as needed */
    margin-bottom: 100px;
}

.membership-content {
    width: 50%; /* Adjust size as needed */
    margin-bottom: 100px;
    margin-right: 30px
}

/* Optional: Add styles for the image and content */
.membership-intro-image {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.membership-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify; 
}

.membership-registration-forms {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 30px;
}

.membership-registration-heading {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.membership-registration-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.membership-registration-form input[type="text"],
.membership-registration-form input[type="email"],
.membership-registration-form input[type="tel"],
.membership-registration-form textarea,
.membership-registration-form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.membership-registration-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path></svg>');
    background-repeat: no-repeat;
    background-position-x: calc(100% - 10px);
    background-position-y: center;
    background-color: #fff;
}

.membership-registration-form input[type="checkbox"] {
    margin-right: 5px;
}

.membership-registration-form input[type="submit"] {
    background-color: #107168;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.membership-registration-form input[type="submit"]:hover {
    background-color: #107168;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .membership-part {
        flex-direction: column; /* Stack content vertically */
        text-align: center;
    }

    .membership-intro-image {
        width: 90%; /* Increase image width for mobile */
        margin-bottom: 20px;
    }

    .membership-content {
        width: 90%; /* Adjust content width */
    }

    .membership-title {
        font-size: 28px; /* Slightly smaller font for mobile */
    }
}

/* Shop page */
.shop-section {
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}
.shop-section h2 {
    text-align: center;
    margin-bottom: 20px;
}
.category {
    margin-bottom: 30px;
}
.category h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.product-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    width: calc(33.333% - 20px);
    box-sizing: border-box;
}
.product-item img {
    max-width: 100%;
    border-radius: 5px;
}
.product-item h4 {
    margin: 10px 0 5px;
}
.product-item p {
    margin: 0 0 10px;
}
.product-item a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}
.product-item a:hover {
    background-color: #218838;
}

/* Mobile View */
@media (max-width: 768px) {
    /* Adjust header layout for mobile */
    header .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo img {
        max-width: 120px;
    }

    /* Mobile navigation */
    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    /* Make product items stack vertically on mobile */
    .product-list {
        flex-direction: column;
    }

    .product-item {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Mobile menu toggle script */
#mobile-menu.active + #nav-links {
    display: flex;
}

/* Adjust padding and margins for small screens */
@media (max-width: 480px) {
    .shop-section {
        padding: 15px;
    }

    .category h3 {
        font-size: 1.25em;
    }

    .product-item h4 {
        font-size: 1.1em;
    }

    .product-item p {
        font-size: 0.9em;
    }
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

footer .contact-info, footer .social-media, footer .copyright {
    flex: 1;
    min-width: 200px;
}

footer h3 {
    margin-bottom: 10px;
    color: #107168;
}

footer p, footer a {
    color: #666;
    font-size: 14px;
}

footer a {
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

footer .social-media img {
    width: 30px;
    height: 30px;
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    header .container {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        display: none;
        flex-direction: column;
        gap: 10px;
    }

    nav ul.active {
        display: flex;
    }

    .hamburger-menu {
        display: flex;
    }

    #hero {
        height: 60vh;
    }

    .news-grid {
        flex-direction: column;
    }

    .involvement-options {
        flex-direction: column;
        width: 100%;
    }

    .event-list {
        width: 100%;
    }

    .event-item {
        flex-direction: column;
        text-align: center;
    }

    .event-item img {
        width: 100%;
        height: auto;
    }
}