/* General Styles */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    scroll-behavior: smooth;
}

.dm-sans-<uniquifier> {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
* {
    box-sizing: border-box;
}

body {
    background-color: #FCFAF9;
    font-family: "DM Sans", sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

body, html {
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    background-color: #EEE7D4;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 60px;
}

nav {
    display: flex;
    gap: 40px; /* Add more space between links */
}

.nav-left, .nav-right {
    display: flex;
    gap: 40px;
}

/* Adjust flex-basis to ensure even spacing */
.nav-left {
    flex-basis: 30%; /* Takes up 30% of the navbar space */
    justify-content: flex-end; /* Align links to the end */
}

.nav-right {
    flex-basis: 30%; /* Takes up 30% of the navbar space */
    justify-content: flex-start; /* Align links to the start */
}

.logo-container {
    flex: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.logo-container img {
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #001021;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Navigation Link Styles */
nav a {
    color: black;
    padding: 10px 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #e7dec8;
    border-radius: 5px;
}

/* Responsive Layout for Small Screens */
@media (max-width: 768px) {
    
    nav {
        justify-content: center;
        margin: 10px 0;
    }

    nav a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    
}






/* Hero Section Styles */
#hero {
    height: 90vh; /* Full viewport height for hero */
    background-image: url('images/backgrounds/moonlight-image.svg');
    background-size: cover; /* Cover the entire section */
    background-position: center;
    background-attachment: fixed; /* Parallax effect - background stays fixed */
    display: grid;
    grid-template-rows: repeat(2, 250px);
    justify-content: center;
    align-items: flex-start;
    color: white;
    text-align: center;
    position: relative; /* Keeps it positioned normally */
    z-index: 1;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: -1; /* Ensure it's behind the content */
}

.hero-content {
    z-index: 2;
    transform: translateY(0); /* Initial position */
    transition: transform 0.3s ease-in-out; /* Smooth movement */
}

#hero h1 {
    font-size: 2.3rem; /* Updated font size */
    margin-bottom: 15px; /* Updated margin */
    color: white;
    font-weight: bold;
    align-self: center;
}

@media all and (max-width: 490px) {
    #hero {
        height: 45vh;
        grid-template-rows: repeat(2, 1fr);
        align-items: center;
    }

    #hero h1 {
        font-size: 5vw; /* Updated font size */
    }

    button.hero-donate-button {
        font-size: 14px;
        padding: 7px 15px;
        position: relative;
        top: -70px;
    }

}

@media all and (max-width: 400px) {
    button.hero-donate-button {
        font-size: 3.7vw;
        padding: 7px 15px;
    }
}




.hero-donate-button {
    background-color: #FCFAF9;
    color: #001021;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border: 1px solid #001021;
    border-radius: 10px; /* Updated border radius */
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-donate-button:hover {
    background-color: #d7e1e3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Main Section Styles */
main {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
    height: 100vh; /* Full viewport height for the main section */
    padding: 10px 30px;
    background-image: url("images/backgrounds/forest-background.webp");
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 2; /* Content sits on top of the hero */
    margin-top: -100px; /* Pull the main section slightly up over the hero */
    /* Overlay effect */
    color: white; /* Set the text color to stand out */
}

main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay (50% opacity) */
    z-index: -1; /* Ensure it stays behind the text */
}


/* Text Section Styles */
.text-section {
    flex: 1;
    max-width: 50%; /* Limit width to leave space for the image */
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
}

@media all and (max-width: 570px) {
    h1 {
        font-size: 6vw; /* Updated font size */
    }
}

@media all and (max-width: 510px) {
    h1 {
        font-size: 24px; /* Updated font size */
    }
}

main p {
    color: #fff;
    margin-bottom: 20px;
}

.button-container {
    position: relative;
    top: 100px;
    display: flex;
    gap: 20px; /* Space between buttons */
}

@media all and (max-width: 839px) {
    main {
        flex-direction: column-reverse;
        height: fit-content;
    }

    .text-section {
        align-self: center;
        max-width: 100%;
    }

    .button-container {
        top: 0;
        margin-top: 80px;
        flex-direction: column;
        align-items: center;
    }

    .image-section {
        display: none;
    }

    .projects-right {
        width: 100%;
        justify-self: center;
    }
}


/* Image Section Styles */
.image-section {
    flex: 1;
    max-width: 40%; /* Limit width to leave space for the text */
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

/* Donate Button in Main Section */
.donate-button {
    background-color: #008CBA;
    color: white;
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 50px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.donate-button:hover {
    background-color: #005f75;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}





.about {
    padding: 10px 30px;
}

.projects {
    padding: 10px 30px;
}

.get-involved {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative; /* Maintain the relative positioning */
    width: 100%;
    margin: 0;
    padding: 20px; /* Add some padding to give space inside the section */
    background-color: #DCC8A8;
    color: #001021;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1); /* Create soft shadow */
}

.get-involved-button {
    background-color: #fcfaf9; /* Contrasting color (Tomato) for better visibility */
    color: #001021;
    padding: 12px 25px;
    border: 2px solid #001021;
    cursor: pointer;
    font-size: 16px;
    border-radius: 50px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin: 10px; /* Add margin between buttons */
}


.get-involved-button:hover {
    background-color: #f8eae2; /* Darker shade for hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Align the buttons side by side */
.get-involved-buttons {
    display: flex;
    justify-content: center; /* Center the buttons */
    gap: 20px; /* Space between buttons */
    flex-wrap: wrap; /* Ensure buttons stack on small screens */
}

/* Inverted Button for "Partner with Us" */
.get-involved-button.inverted {
    background-color: #FCFAF9; /* Light background */
    color: #685044; 
    font-weight: 600;
    border: 2px solid #001021;
}

.get-involved-button.inverted:hover {
    background-color: #001021; /* Invert the background color on hover */
    color: white; /* Invert the text color on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


.get-involved p {
    font-size: 20px;
    font-size: bold;
}

.get-involved ul li {
    line-height: 3rem;
}

.contact {
    padding: 10px 30px;
}

/* Stats section container box shadow */
.stats .container {
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5); /* Adjust values as needed */
}

/* Stats section styling */
.stats {
    background: linear-gradient(135deg, #685044, #275DAD);
    padding: 40px 0;
    text-align: center;
}

/* Container for stats items */
.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}

.container img {
        width: 70px;
        height: 70px;
    }

@media all and (max-width: 920px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media all and (max-width: 450px) {
    .container p {
        font-size: 4vw;
    }

    .container p span {
        font-size: 6vw;
    }

    .container img {
        width: 50px;
        height: 50px;
    }
}

/* Styling for each stat item */
.stat-item {
    margin: 20px;
    flex: 1 1 200px;
}

/* Styling for the counter numbers */
.counter {
    font-size: 36px; /* Increase font size */
    font-weight: bold; /* Make the font bolder */
    color: #001021; /* Optional: Change color to make it stand out */
}

/* General paragraph styling */
p {
    font-size: 20px;
    margin: 10px 0 0;
}





/* Container and Section Styling */




.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #001021;
    position: relative;
}

h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #444;
    position: absolute;
    left: 0;
    bottom: -10px;
}

h2.department-heading::after {
    content: none;
}

p, ul {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Buttons */
.cta-button {
    background-color: #008CBA;
    color: white;
    padding: 12px 25px;
    border: 2px solid #008CBA;
    cursor: pointer;
    font-size: 16px;
    border-radius: 50px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    background-color: #005f75;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

main .cta-button {
    background-color: #FCFAF9;
    color: #001001;
    border: 2px solid #685044;
}

main .cta-button:hover {
    color: #001001;
    background-color: #e5d8d2;
}


/* Footer Styling */
footer {
    background-color: #001021;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
}

/* Footer Container (for 3 columns) */
.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-around;
    width: 100%;
    text-align: left;
    padding-bottom: 20px;
}

@media all and (max-width: 879px){

    .footer-container {
        grid-template-columns: repeat(1, 1fr);
    }

    div.footer-left, div.footer-middle, div.footer-right {
        justify-self: flex-start;
    }

    svg.footer-social-icon {
        transform: translateX(0);
    }


}

/* Left Column Styling */
.footer-left {
    flex: 1;
    padding: 10px;
    justify-self: center;
}

.footer-left p {
    display: flex; /* Use flexbox to align text and links in a row */
    align-items: center; /* Vertically centers the items within the <p> tag */
    margin: 8px 0; /* Adds vertical spacing between each <p> */
}

.footer-left a {
    margin-left: 5px; /* Adds space between the label and the link */
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-left a:hover {
    color: #ff4785;
}

.footer-left .footer-logo {
    max-width: 200px; /* Adjust logo size */
    margin-bottom: 15px;
}

.footer-left p {
    margin: 5px 0;
}

/* Middle Column Styling */
.footer-middle {
    flex: 1;
    padding: 10px;
    justify-self: center;
}

.footer-middle h4 {
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
}

.footer-middle ul {
    list-style: none;
    padding: 0;
}

.footer-middle ul li {
    margin: 8px 0;
    text-align: left;
}

.footer-middle ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
}

.footer-middle ul li a:hover {
    color: #ff4785;
}

/* Right Column Styling */
.footer-right {
    flex: 1;
    padding: 10px;
    justify-self: center;
}

.footer-right h4 {
    margin-bottom: 10px;
    text-align: left;
}

.footer-social-icon {
    width: 40px;  /* Adjust the size here */
    height: 40px;
    opacity: 0;  /* Initial opacity set to 0 */
    transform: translateX(-100px);  /* Move off-screen initially */
    transition: transform 0.6s ease, opacity 0.6s ease;  /* Smooth transition */
}

.footer-right .footer-social-icon:hover {
    transform: scale(1.1);
}

.projects-header-social-icon {
    width: 40px;  /* Adjust the size here */
    height: 40px;
}


.projects-header-social-icon path {
    fill: white; /* Initial color */
}

.projects-header-social-icon:hover path {
    fill: #ff4785; /* Change color on hover */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-left,
    .footer-middle,
    .footer-right {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-logo {
        max-width: 150px;
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    nav a {
        padding: 10px 14px;
    }

    .cta-button {
        padding: 10px 20px;
    }
}


.payment-options {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.payment-option {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    margin: 15px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.payment-option h3 {
    margin-bottom: 20px;
}

.payment-option form {
    display: flex;
    flex-direction: column;
}

.payment-option label {
    margin-bottom: 10px;
    font-weight: bold;
}

.payment-option input {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.payment-option button {
    padding: 10px;
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.payment-option button:hover {
    background-color: #219150;
}

.bank-transfer ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

.bank-transfer ul li {
    margin-bottom: 5px;
}

.bank-qrcode {
    width: 200px;
    height: 200px;
    margin: 15px 0;
}

.donation-confirmation {
    margin-top: 40px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
}

.donation-confirmation h3 {
    margin-bottom: 20px;
}

.donation-confirmation form {
    display: flex;
    flex-direction: column;
}

.donation-confirmation label {
    margin-bottom: 5px;
    font-weight: bold;
}

.donation-confirmation input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.donation-confirmation button {
    padding: 10px;
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.donation-confirmation button:hover {
    background-color: #219150;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .payment-options {
        flex-direction: column;
        align-items: center;
    }

    .payment-option {
        width: 80%;
    }
}

.donation-confirmation {
    margin-top: 40px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
}

.donation-confirmation h3 {
    margin-bottom: 20px;
}

.donation-confirmation form {
    display: flex;
    flex-direction: column;
}

.donation-confirmation label {
    margin-bottom: 5px;
    font-weight: bold;
}

.donation-confirmation input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.donation-confirmation button {
    padding: 10px;
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.donation-confirmation button:hover {
    background-color: #219150;
}

.bank-transfer-instructions {
    text-align: left;
    margin-top: 20px;
}

.bank-transfer-instructions h4 {
    margin-bottom: 10px;
}

.bank-transfer-instructions ol {
    padding-left: 20px;
}

.bank-transfer-instructions ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* styles.css */

/* General Styles */


.donations {
    padding: 50px;
    text-align: center;
    text-align: center;
}

.donations h2 {
    margin-bottom: 30px;
    font-size: 2.5em;
    color: #2c3e50;
}

/* Donation Buttons */
.donation-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.donation-button {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 400px;
    height: 200px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.donation-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.donation-button-bank .fa-university {
    transition: color 0.3s ease; /* Adds smooth transition effect */
}

.donation-button-bank:hover .fa-university {
    color: #2f2755;
}

.donation-icon {
    margin-bottom: 10px;
    width: 100%;
}


.fa-university {
    font-size: 6rem;
    margin-bottom: 10px;
}



.donation-button span {
    display: block;
    font-size: 1.2em;
    color: #2c3e50;
}

/* Donation Content */
.donation-content {
    display: none; /* Hidden by default */
    margin-top: 20px;
}

.donation-method {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    margin: 20px auto;
    max-width: 800px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.donation-method h3 {
    margin-top: 0;
    color: #27ae60;
}

.donation-instructions ol {
    padding-left: 20px;
}

.donation-instructions ul {
    padding-left: 20px;
}

.donation-instructions li {
    margin-bottom: 10px;
}

.donation-instructions a {
    color: #27ae60;
    text-decoration: none;
}

.donation-instructions a:hover {
    text-decoration: underline;
}

/* Confirmation Form */
.donation-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

.donation-form h4 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.donation-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.donation-form input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.donation-form button {
    padding: 10px;
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.donation-form button:hover {
    background-color: #219150;
}

/* Responsive Design */
@media (max-width: 768px) {
    .donation-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .donation-button {
        width: 400px;
    }
    
    .donation-method {
        padding: 20px;
    }
}

@media all and (max-width: 460px) {
    .donation-button {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.popup-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    animation: fadeInOut 4s forwards;
}

.popup-message.success {
    color: #27ae60;
    border: 2px solid #27ae60;
}

.popup-message.error {
    color: #c0392b;
    border: 2px solid #c0392b;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -60%); }
    10%, 90% { opacity: 1; transform: translate(-50%, -50%); }
    100% { opacity: 0; transform: translate(-50%, -40%); }
}

.projects {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: linear-gradient(210deg, #685044, #275DAD);
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1);
}

.projects h2 {
    color: white;
}

.projects-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 50vh;
}

/* Swiper Container */
.swiper-container {
    max-width: 400px;    /* Fixed width */
    max-height: 600px;   /* Fixed height */
    width: 100%;         /* Allow it to be responsive */
    height: 100%;        /* Allow it to scale within its parent container */
    overflow: hidden;
    position: relative;  /* Ensure positioning of navigation and pagination */
}
/* Swiper Slide */
.swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Enables absolute positioning for the text */
}

.image-text {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: Add a background for readability */
    padding: 10px 20px; /* Optional: Add padding around the text */
    border-radius: 10px; /* Optional: Rounded corners for the text background */
}

/* Swiper Images */
.swiper-slide img {
    width: 100%;           /* Make image take up the full width of the container */
    height: 100%;          /* Make image take up the full height of the container */
    object-fit: cover;     /* Ensures image fills the container while maintaining aspect ratio */
    background-position: center;
    background-size: cover;
    box-sizing: border-box; /* Ensure padding/borders don't affect image sizing */
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 0px;
    position: relative;
    top: -30px;
    z-index: 100;
}

.project-cta-button {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px 24px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 20px;
}

.project-cta-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* Inverted colors for 'Support a Project' button */
a button.support-project {
    background-color: #f0f0f0;
    color: black;
    border: 2px solid black;
}

a button.support-project:hover {
    background-color: black;
    color: #f0f0f0;
}

/* Swiper navigation buttons */
.swiper-button-next, .swiper-button-prev {
    color: #fff;
    position: absolute;
    top: 50%; /* Position them vertically in the middle of the swiper */
    transform: translateY(-50%);
    z-index: 10;
}

/* Position the 'previous' button to the left */
.swiper-button-prev {
    left: 10px;
}

/* Position the 'next' button to the right */
.swiper-button-next {
    right: 10px;
}

/* Swiper pagination bullets */
.swiper-pagination {
    position: absolute;
    bottom: -20px; /* Move pagination bullets below the slider */
    right: 0; /* Align bullets to the right */
    text-align: right; /* Align pagination bullets to the right */
}

.swiper-pagination-bullet {
    background-color: #fff;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background-color: #000;
}

/* Section Styling */
/* Ideas section styling */
.your-ideas {
    padding: 40px 30px;
    background-color: #685044;
    color: #FCFAF9;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
}

/* Container to manage form layout */
.ideas-container {
    width: 100%; /* Removed max-width to allow full width usage */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0 auto;
}

/* Form Layout for Desktop - Two Equal Halves */
/* Form Layout for Desktop - Two Equal Halves */
form {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px; /* Adds space between columns */
}

/* Left column containing name, email, phone inputs */
.form-left {
    flex: 1; /* Takes up half of the form width */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Right column for idea textarea */
.form-right {
    flex: 1; /* Takes up the other half */
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%; /* Ensure this column can grow to match the left side */
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column; /* Ensure labels stay above inputs */
}

/* Align labels to the left */
label {
    text-align: left; /* Aligns labels to the left */
    margin-bottom: 5px; /* Adds space between label and input */
    font-weight: 600; /* Optional: Make the label text bold for better visibility */
}

/* Styling for inputs and textarea */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 10px;
    color: #001021;
    border: 2px solid #685044;
    background-color: #FCFAF9;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

textarea {
    height: 100%;
    resize: none;
    display: flex;
}

/* Textarea Styling */
.form-right textarea {
    flex-grow: 1;
    min-height: calc(3 * 50px + 120px); /* Adjust height to match left side inputs */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #001021;
    outline: none;
}


/* Submit Button Styling */
.send-cta-button {
    background-color: #FCFAF9;
    color: #001021;
    padding: 14px 30px;
    border: 2px solid #001021;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%; /* Full width button */
    max-width: 400px; /* Optional: Limit button width */
    margin-top: 20px;
}

.send-cta-button:hover {
    background-color: #001021;
    color: #FCFAF9;
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    form {
        flex-direction: column;
        gap: 0;
    }


    .share-your-idea {
        margin-top: 20px;
    }

    .form-left, .form-right {
        flex: 1;
        width: 100%;
    }
}


/* Status message box styles */
    .status-message {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        border-radius: 10px;
        font-size: 16px;
        z-index: 1000;
        display: none;
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2); /* Added box shadow */
    }

form#partner-form {
    display: block;
}

.footer-social-icon path {
    fill: white; /* Initial color */
}

.footer-social-icon:hover path {
    fill: #ff4785; /* Change color on hover */
    transform: scale(1.1); /* Optional hover effect */
}

.stats,
.projects,
.get-involved,
.your-ideas {
    opacity: 0;
    transform: translateY(100px); /* Move sections down initially */
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Class to apply when section comes into view */
.fade-in {
    opacity: 1;
    transform: translateY(0); /* Move sections to their final position */
}

/* Animation for form fields */
.form-group {
    opacity: 0;
    transform: translateX(-100px);
    transition: transform 0.6s ease, opacity 0.6s ease;
}



footer ul li {
    opacity: 0;
    transform: translateX(-100px); /* Move the links off-screen to the left */
    transition: transform 0.6s ease, opacity 0.6s ease;
}

footer p {
    opacity: 0;
    transform: translateX(-100px); /* Move the paragraphs off-screen to the left */
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Class to apply when footer content comes into view */
.footer-slide-in {
    opacity: 1;
    transform: translateX(0); /* Slide the elements to their original position */
}


/* Style for button hover */
.send-cta-button {
    opacity: 0;
    transform: translateX(-100px);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Trigger animation on scroll or page load */
.show {
    opacity: 1;
    transform: translateX(0); /* Move the sections and input fields into place */
}

.about h1 {
    color: #001021;
}

.involved-section {
    margin: 40px 20px;
    padding: 20px;
    background-color: #DCC8A8;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.get-involved-title {
    text-align: center;
    color: #FCFAF9;
}

.involved-section h2 {
    font-size: 28px;
    color: #001021;
}

.involved-section p {
    font-size: 16px;
    margin: 10px 0 20px 0;
    color: #001021;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #685044;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #020e1a;
}

.form-container {
    margin: 40px auto;
    padding: 20px;
    background-color: #FCFAF9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

/* Hide forms by default */
.hidden {
    display: none;
}

.form-container h2 {
    text-align: center;
    font-size: 24px;
    color: #001021;
    margin-bottom: 20px;
}

.form-container label {
    display: block;
    font-size: 16px;
    color: #001021;
    margin-bottom: 5px;
}

.form-container input,
.form-container select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #DCC8A8;
    border-radius: 5px;
    font-size: 16px;
    background-color: #F5F3EE;
    color: #001021;
}

.form-container input:focus,
.form-container select:focus {
    outline: none;
    border-color: #685044;
}

.form-container button {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: white;
    background-color: #685044;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-container button:hover {
    background-color: #020e1a;
}

/* Hide the dynamic form fields initially */
#volunteers-number, #financial-amount {
    display: none;
}

/* Popup message styling */
.popup-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 5px;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
}

/* Success message styling */
.popup-message.success {
    background-color: #4CAF50; /* Green */
    color: white;
}

/* Error message styling */
.popup-message.error {
    background-color: #F44336; /* Red */
    color: white;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

form#volunteer-form {
    display: block;
}

/* General layout */
.projects-intro {
    text-align: center;
    padding: 20px;
    margin: auto;
    background-color: rgba(0, 16, 2, 0.9); /* Dark background for intro */
}

.projects-intro p {
    color: #FCFAF9;
    font-size: 16px;
    margin-bottom: 5px;
}

.projects-intro p.projects-subheading {
    font-size: 18px;
    font-weight: 600;
}

.projects-intro p {
    color: #FCFAF9;
}

/* Flex container for project sections */
.project-container {
    display: flex;
    flex-direction: row; /* Default to row layout */
    align-items: center; /* Center align items vertically */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

/* Project section styling */
.project-section {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: fit-content;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative; /* Needed for child elements */
    overflow: hidden;
    transition: background-position 0.5s; /* Smooth transition for the background */
}

/* Alternating background colors */

.project-section:nth-child(odd)::before {
    background-color: #e0f7fa;
}

.project-section:nth-child(odd) {
    background-color: rgba(224, 247, 250, 1); /* Light blue */
}

.project-section:nth-child(even)::before {
    background-color: #ffe0b2;
}

.project-section:nth-child(even) {
    background-color: rgba(255, 224, 178, 1); /* Light orange */
}

@media all and (max-width: 845px) {
    div.project-section {
        flex-direction: column;
    }

    div.project-section:nth-child(odd) {
    flex-direction: column; /* Title and impact on the left */
}

div.project-section:nth-child(even) {
    flex-direction: column; /* Title and impact on the right */
}

div.project-reel {
    margin-right: 0; /* Space between video and info */
}

.cta-project-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
section.projects-cta {
    height: 70vh;
}

section.projects-cta p {
    margin-bottom: 20px;
}
.projects-cta .cta-project-buttons button {
    margin-bottom: 30px;
}

}

@media all and (max-width: 456px) {
    section.projects-cta {
    height: 90vh;
}
}

/* Overlay for contrast */
.project-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1; /* Keeps it behind the content */
    transition: transform 0.3s ease; /* Smooth parallax effect */
}

/* Common styling for the project reel */
.project-reel {
    max-width: 400px; /* Limit max width for the video */
    margin-right: 15px; /* Space between video and info */
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Project info styling */
.project-info {
    display: flex;
    flex-direction: column; /* Stack title and impact vertically */
}

/* Project details and impact */
.project-details,
.project-impact {
    width: 100%; /* Set to full width */
    max-width: 400px; /* Adjust as necessary */
    background-color: rgba(255, 255, 255, 0.9); /* Light background for details */
    padding: 20px;
    border-radius: 8px;
    margin: 10px 0; /* Reduced margin for consistent spacing */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Styles for video aspect ratios */
.reel-video-landscape {
    aspect-ratio: 16 / 9; /* Aspect ratio for landscape videos */
}

.reel-video-portrait {
    aspect-ratio: 9 / 16; /* Aspect ratio for portrait videos */
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .project-section {
        padding: 40px 10px;
    }

    .project-reel,
    .project-details,
    .project-impact {
        width: 100%; /* Full width on smaller screens */
        max-width: 100%; /* Remove max width */
    }

    .project-container {
        flex-direction: column; /* Stack vertically on small screens */
        align-items: center; /* Center items */
    }
}

@media (max-width: 480px) {
    .project-details h2, .project-impact h3 {
        font-size: 1.5em;
    }
}

/* Alternating layout for odd/even projects */
.project-section:nth-child(odd) {
    flex-direction: row; /* Title and impact on the left */
}

.project-section:nth-child(even) {
    flex-direction: row-reverse; /* Title and impact on the right */
}

/* Add consistent spacing between video and info for all projects */
.project-reel, .project-info {
    margin-top: 20px; /* Adjust this value for desired spacing */
}

.projects-cta {
    background: linear-gradient(210deg, #685044, #275DAD);
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 30px;
}

.projects-cta h2 {
    color: #FCFAF9;
}

.projects-cta p {
    color: #FCFAF9;
}

.projects-cta button {
    background-color: black;
    color: #F0F0F0;
    margin: 0 20px;
}

.cta-project-buttons {
    display: flex;
    justify-content: center;
}

header .medium-screen-nav {
    display: none;
}

.mobile-screen-nav {
        display: none;
    }

@media all and (max-width: 1106px) {

    .mobile-screen-nav {
        display: none;
    }

    header .medium-screen-nav {
        display: flex;
        align-items: center;
    }

    header .nav-left, header .nav-right, .logo-container {
        display: none;
    }

    nav.medium-screen-nav a.medium-screen-nav-logo img {
        border: 1px solid black;
        border-radius: 50%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    nav.medium-screen-nav a.medium-screen-nav-logo:hover {
        background-color: transparent; /* Remove the hover background */
    }


}


/* Hide mobile menu links by default */
.mobile-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 40px; /* Adjust based on header height */
    background-color: #fff;
    width: 100%;
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    height: 100vh; /* Full viewport height */
    overflow-y: auto; /* Allows scrolling if content overflows */
}


/* Hamburger icon styling */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    margin-right: 40px;
}

.hamburger-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
}

/* Show the mobile links when active */
.mobile-links.active {
    display: flex;
}

@media all and (max-width: 1013px) {
    /* Hide medium-screen nav */
    header .medium-screen-nav {
        display: none;
    }

    /* Show mobile-screen nav */
    .mobile-screen-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        position: relative;
    }

    /* Center the logo */
    .mobile-screen-nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-screen-nav-logo:hover {
        background-color: transparent;
    }

    /* Mobile logo styling */
    .mobile-screen-nav-logo img {
        border: 1px solid black;
        border-radius: 50%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Hamburger icon styling */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    margin-right: 20px; /* Aligns to the right */
    position: absolute;
    right: 20px;
    z-index: 1001; /* Ensures it stays on top of other elements */
}

.hamburger-icon span {
    display: block;
    width: 25px; /* Equal width for all bars */
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: 0.3s ease; /* Smooth transition */
}

/* Active class to form an "X" */
.hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0; /* Middle bar hidden */
}

.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

    /* Hide mobile menu links by default */
    .mobile-links {
    display: flex; /* Ensure the container is a flex container */
    flex-direction: column; /* Stack links vertically */
    position: absolute;
    top: 40px; /* Adjust based on header height */
    background-color: #EEE7D4; /* Change background color */
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-height: 0; /* Start hidden */
    overflow: hidden; /* Hide overflow */
    transition: max-height 0.5s ease; /* Smooth transition for height */
}

    /* Show mobile links when active */
    .mobile-links.active {
        display: flex;
        position: absolute;
        top: 40px;
        background-color: #EEE7D4;
        max-height: 650px; /* Set this value to accommodate all links */
    }

    /* Mobile links styling */
    .mobile-links a {
        text-align: left; /* Align links to the left */
        padding: 10px 15px; /* Add padding for better clickability */
        color: black;
        text-decoration: none;
        font-weight: bold;
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .mobile-links a:hover {
        background-color: #e7dec8; /* Hover color */
    }
}

.mobile-nav-donate-button {
    background-color: black;
    color: white;
    padding: 12px 40px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin: 10px 0; /* Add some vertical spacing */
}
div.donate-instagram-links{
    align-self: center; /* Center the button in its row */
    justify-self: flex-end;
}

a.mobile-nav-donate-link:hover {
    background-color: transparent;
}
.mobile-nav-donate-button:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.mobile-header-social-icon {
    width: 40px;  /* Adjust the size here */
    height: 40px;
    position: relative;
    top: 12px;
}


.mobile-header-social-icon path {
    fill: black; /* Initial color */
}

.mobile-header-social-icon:hover path {
    fill: #ff4785; /* Change color on hover */
}

a.mobile-header-social-icon-link:hover {
    background-color: transparent;
}

.projects h2.mobile-screen-size {
    display: none;
}

.projects .mobile-screen-size-buttons {
    display: none;
}

@media all and (max-width: 985px) {
    .projects {
        flex-direction: column;
        height: fit-content;
    }

    .projects h2.normal-screen-size {
        display: none;
    }

    .projects h2.mobile-screen-size {
        display: block;
    }

    .projects .normal-screen-size-buttons {
        display: none;
    }

    .projects .mobile-screen-size-buttons {
        display: flex;
        flex-direction: column;
        align-self: center;
        position: relative;
        top: -100px;
    }

    .projects .mobile-screen-size-buttons a button {
        margin-bottom: 20px;
    }

    .projects .swiper-container {
        top: -200px;
    }

    .projects-right {
        display: flex;
        justify-content: center;
    }
}

.team-section {
    width: 100%;
}

/* Section heading styling */
.department-heading {
    font-size: 2em;
    text-align: center;
    margin: 40px 0 20px;
    color: #2d2d2d;
}

/* Grid layout for team cards */
.team-grid {
    margin-bottom: 250px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
}

/* Card styling */
.team-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 250px;
    width: 100%;
}

@media all and (max-width: 450px) {
    div.team-card {
        max-width: 300px;
    }
}

/* Image styling */
.team-image {
    width: 100%;
    height: auto;
    object-fit: contain; /* or "cover" for a cropped effect */
    border-radius: 4px;
    margin-bottom: 15px;
    border: 3px solid #f3ffb6;
}

/* Name styling */
.team-name {
    font-size: 1.1em;
    font-weight: bold;
    color: #2d2d2d;
}

/* Hover effects */
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive design adjustments */
@media (max-width: 600px) {
    .department-heading {
        font-size: 1.8em;
    }

    .team-card {
        padding: 15px;
    }

    .team-name {
        font-size: 1em;
    }
}