/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

html{
    scroll-behavior: smooth;
}

header {
    background-color: #ffffff;
    padding: 20px 10%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-left: -120px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: -90px;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links a:hover {
    color: #e60000;
    transition: color 0.3s ease;
}
.nav-links .donate {
    color: #e60000;
    font-weight: bold;
}

.nav-links a:hover {
    color: #333;
    background-color: #e60000;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: url(images/shutterstock_578680360.jpg) center/cover no-repeat;
    padding: 100px 10%;
    text-align: center;
    color: #fff;
    position: relative;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    animation: slideInDown 1s ease-in-out;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
@keyframes slideInDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.hero p {
    font-size: 1em;
}

/* Objective Section */
.objective {
    padding: 40px 10%;
    text-align: center;
    background-color: #ffffff;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.objective h2 {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.objective p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

/* Who We Are Section */
.who-we-are {
    position: relative;
    text-align: center;
}

.who-we-are h2:hover {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    color: #e60000;
    transition: all 0.3s ease;
}

.who-we-are img {
    width: 75%;
    height: auto;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.who-we-are img:hover {
    transform: scale(1.05);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    color: #fff;
}

.overlay-text h2 {
    font-size: 2em;
    font-weight: bold;
    animation: fadeIn 2s ease-in-out;
}

/* About Us Section */
.about-us {
    padding: 40px 10%;
    text-align: center;
    background-color: #ffffff;
}

.about-us h2 {
    font-size: 1.8em;
    font-weight: bold;
    color: #e60000;
    margin-bottom: 20px;
}

.about-us p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.mission-vision {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 10%;
    background-color: #f0f0f0;
}

.mission, .vision {
    flex: 1;
    padding: 20px;
    margin: 10px;
    background-color: white;
}

.mission {
    background-color: #000000;
    color: #ffffff;
}

.vision {
    background-color: #fddde6;
    color: #333;
}

.mission h3, .vision h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: center;
}

/* Testimonials Section */
.network {
    text-align: center;
    padding: 40px 10%;
    background-color: #ffffff;
}

.network h3 {
    font-size: 1.8em;
    font-weight: bold;
    color: #e60000;
    margin-bottom: 20px;
}

.network p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.network ul {
    list-style-type: disc;
    text-align: left;
    margin: 0 auto;
    padding: 0;
    max-width: 500px;
}

.network ul li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.reviews {
    position: relative;
    text-align: center;
    color: white;
}

.reviews img{
    width: 75%;
    height: auto;
    transition: transform 0.5s ease;
}

.reviews img:hover {
    transform: scale(1.05);
}

.reviews h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
        font-size: 2em;
    font-weight: bold;
    color: white;
}

.review {
    margin-bottom: 20px;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.review:last-child {
    border-bottom: none;
}

.review h3 {
    font-size: 18px;
    color: #f39c12;
    display: flex;
    align-items: center;
}

.review p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.review p:hover {
    color: #e60000;
    animation: pulse 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.stars {
    color: #f39c12;
    margin-left: 10px;
}

.section {
    margin: 0;
    padding: 20px;
}

.image-text-container {
    position: relative;
    text-align: center;
}

.image-text-container img {
    width: 600px;
    height: 363px;
    display: block;
    position: relative;
    left: 50%;
}

.image-text-container2 img{
    width: 75%;
    height: auto;
    display: block;
    margin-left: 12%;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.image-text-container2 img:hover{
    transform: scale(1.05);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Section 1: Text Overlay */
.text-box {
    position: absolute;
    top: 50%;
    left: 30.17%;
    transform: translate(-50%, -50%);
    background-color: #fddde6;
    color: #333;
    padding: 20px;
    max-width: 600px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    text-align: center;
    height: 363px;
}

.text-box p{
    margin-top: 100px;
}

/* Section 2: Centered Title Text */
.centered-title {
    position: absolute;
    bottom: -3450px;
    left: 50%;
    transform: translateX(-50%);
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 24px;
    font-weight: bold;
}

h2, h3 {
    text-align: center;
    font-weight: bold;
}

.contact-section > h3{
    text-align: left;
}

.contact-section p {
    line-height: 1.6;
    color: #333;
}

/* Donation Instructions */
.donation-instructions {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}

.donation-instructions p {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin: 10px 0;
}

.donation-instructions p:hover .icon {
    transform: scale(1.2);
    color: #e60000;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-section p:hover {
    transition: all 0.3s ease;
    color: red;
}

.icon {
    font-size: 20px;
    margin-right: 10px;
    color: #333;
}

/* Call to Action Section */
.cta-section {
    text-align: center;
    background-color: #fff;
    padding: 40px 20px;
    font-size: 24px;
}

/* Contact Information Section */
.contact-info-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fddde6;
    gap: 20px;
}

.contact-info {
    flex: 1;
    padding: 20px;
    background-color: #fddde6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-section h3{
    font-size: 25px;
}

.contact-section h3, p{
    padding: 5px
}

/* Footer */
footer {
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    background-color: #f9f9f9;
    color: #555;
    border-top: 1px solid #ddd;
}

footer a {
    color: #555;
    text-decoration: none;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

footer a:hover {
    text-decoration: underline;
    color: #e60000;
    text-decoration: underline;
    color: #e60000;
    transform: scale(1.1);
}