:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --text-color: #555;
    --bg-light: #f4f4f4;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

p.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #777;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #1e2a36;
    transform: translateY(-2px);
}

.btn-donate {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 10px 24px;
}

.btn-donate:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
.logo{
    margin-left: 0px;
     
}
.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 10px;
    margin: 0 15px;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}



.nav-links a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 4px 0;
    transition: all 0.3s ease-in-out;
}

.hero-section {
    position: relative;
    width:100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 60px; 
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 2s ease-in-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0;
    gap: 50px;
}

.about-content {
    flex: 1;
    animation: slideInLeft 1s ease-out;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 25px;
    text-align: justify;
}

.about-image {
    flex: 1;
    text-align: center;
    animation: slideInRight 1s ease-out;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.initiatives-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.initiative-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.initiative-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding-bottom: 30px;
}

.initiative-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.initiative-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.initiative-card h3 {
    margin: 20px 0 10px;
}

.initiative-card p {
    padding: 0 25px;
    font-size: 0.95rem;
}

.get-involved-section {
    
    text-align: center;
    padding: 80px 0;
}

.get-involved-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.get-involved-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 450px;
    transition: transform 0.3s;
    animation: zoomIn 1s ease-out;
}

.get-involved-card:hover {
    transform: scale(1.03);
}

.get-involved-card h3 {
    margin-bottom: 15px;
}

.get-involved-card p {
    margin-bottom: 25px;
}

footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 30px;
    margin-bottom: 20px;
}

.footer-about p {
    color: #ddd;
    font-size: 0.9rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a,
.footer-contact p {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        position: absolute;
        top: 60px;
        left: 0;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.5s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
        
        transform: translateX(0);
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-content h2 {
        text-align: center;
    }

    .about-image {
        margin-top: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .get-involved-grid {
        flex-direction: column;
    }
}

.page-hero {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 150px 0 80px;
}

.page-hero h1 {
    color: #fff;
    font-size: 3rem;
    position: relative;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    padding: 80px 0;
}

.initiative-block {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.initiative-block h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.initiative-block ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.initiative-block li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23e74c3c" viewBox="0 0 16 16"><path d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zM7 11.5L4.5 9l1-1L7 10.5 11.5 6l1 1L7 11.5z"/></svg>') no-repeat left center;
    padding-left: 25px;
    margin-bottom: 8px;
}

.contact-section {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-form-container,
.contact-info-container {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-body);
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.mySlides {
    display: none;
    height: 100%;
    width: 100%;
    position: relative;
    top: 0;
    left:0;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    animation: fadeIn 2s ease-in-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.fade {
    animation-name: slideFade;
    animation-duration: 1.5s;
}

@keyframes slideFade {
    from {
        opacity: .4;
    }
    to {
        opacity: 1;
    }
}

.mySlides::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.dot-navigation {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    
    
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: #717171;
}

.btn-primary, .btn-secondary {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1rem;
    background-color: var(--accent-color);
    color: #fff;
    text-shadow: none;
}

.btn-secondary {
    background-color: var(--secondary-color);
}


.center-btn {
    text-align: center;
    margin-top: 40px;
}



.nav-links {
    list-style: none;
    display: flex;
    flex-grow: 1; 
    justify-content: center; 
    margin: 0 10px;
}



.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.69rem;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-donate {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 10px 24px;
    text-transform: uppercase;
}

.donate-hero {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 150px 0 80px;
}

.donate-hero h1 {
    color: #fff;
    font-size: 3rem;
    position: relative;
    animation: fadeInDown 1s ease-out;
}

.donate-hero p {
    font-size: 1.2rem;
    color: #eee;
}

.donation-impact {
    background-color: var(--bg-light);
    padding-bottom: 0;
}

.slideshow-container {
    
    position: relative;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mySlides-donate {
    display: none;
    position: relative;
}

.mySlides-donate img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.slide-text h3 {
    color: #fff;
    margin-bottom: 10px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.donation-query-section {
    padding: 50px 0;
    background-color: #fff;
}

.query-box {
    max-width: 700px;
    margin: auto;
    text-align: center;
    padding: 40px;
    background-color: var(--bg-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.query-box h2 {
    margin-bottom: 10px;
}

.query-box .phone-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 20px;
}

.query-box a {
    color: var(--primary-color);
    text-decoration: none;
}

.payment-section {
    text-align: center;
}

.payment-form-container {
    max-width: 500px;
    margin: auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.donation-form .form-group {
    text-align: left;
    margin-bottom: 20px;
}

.donation-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
}

.donation-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.donation-form button {
    width: 100%;
    margin-top: 20px;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}

.secure-info {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #777;
}

.donation-details {
    background-color: var(--bg-light);
}

.donation-flex-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap; }

.donation-query-box {
    flex: 1; 
    min-width: 300px;
    max-width: 500px;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.payment-form-container {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.volunteer-hero {
    background-color: var(--primary-color);
}

.volunteer-benefits {
    background-color: var(--bg-light);
    padding-bottom: 0;
}

.benefits-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.benefits-image, .benefits-text {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.benefits-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.benefits-text ul {
    list-style-type: disc; 
    padding-left: 20px; 
    margin-top: 20px;
}

.benefits-text li {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.volunteer-form-section {
    text-align: center;
}

.volunteer-form-container {
    max-width: 600px;
    margin: auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.volunteer-form .form-group {
    text-align: left;
    margin-bottom: 20px;
}

.volunteer-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
}

.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.volunteer-form button {
    width: 100%;
    margin-top: 20px;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}

.volunteer-hero {
    background-color: var(--primary-color);
}

.volunteer-benefits {
    background-color: var(--bg-light);
    padding-bottom: 0;
}

.benefits-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.benefits-slider-container {
    position: relative;
    max-width: 500px; 
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mySlides-volunteer {
    display: none;
    width: 100%;
}

.mySlides-volunteer img {
    width: 100%;
    height: auto;
    display: block;
}

.prev-volunteer, .next-volunteer {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    border-radius: 0 3px 3px 0;
}

.next-volunteer {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-volunteer:hover, .next-volunteer:hover {
    background-color: rgba(0,0,0,0.8);
}

.benefits-text {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.benefits-text ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 20px;
}

.benefits-text li {
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.volunteer-benefits {
    background-color: var(--bg-light);
    padding-bottom: 0;
}

.benefits-grid {
    display: flex;
    align-items: stretch; 
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.benefits-slider-container {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex: 1; 
    min-width: 300px;
}

.mySlides-volunteer {
    display: none;
    width: 100%;
    height: 100%; 
}

.mySlides-volunteer img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.prev-volunteer, .next-volunteer {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    border-radius: 0 3px 3px 0;
}

.next-volunteer {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-volunteer:hover, .next-volunteer:hover {
    background-color: rgba(0,0,0,0.8);
}

.benefits-text {
    flex: 1; 
    min-width: 300px;
}

.benefits-text ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 20px;
}

.benefits-text li {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.gallery-hero {
    background-color: var(--primary-color);
}

.gallery-section {
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.video-gallery {
    background-color: var(--bg-light);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
    justify-items: center;
}

.video-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    max-width: 600px;
}

.video-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
}

.video-description {
    padding: 15px;
    font-size: 1rem;
    color: var(--text-color);
    text-align: center;
}


.csr-section .btn-secondary {
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    color: #fff;
}

.csr-section .btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}
.csr-section {
    
    color: #fff;
    padding: 80px 0;
}

.csr-content {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.csr-image, .csr-text {
    flex: 1;
    min-width: 300px;
}

.csr-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


.csr-text p {
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgb(62, 62, 62);
    text-align: justify;
}

.csr-text .btn-secondary {
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    color: #fff;
}

.csr-text .btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .csr-content {
        flex-direction: column;
        text-align: center;
    }

    .csr-text {
        margin-top: 20px;
    }
}

.donors-section {
    padding: 60px 0;
    text-align: center;
    background-color: #f7f7f7;
}

.donors-carousel-wrapper {
    overflow: hidden;
    margin-top: 40px;
    white-space: nowrap; 
}

.donors-carousel {
    display: flex;
    animation: scroll-left 30s linear infinite;
}

.donors-carousel img {
    height: 80px;
    margin: 0 40px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.donors-carousel img:hover {
    filter: grayscale(0%);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}


.home-gallery-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-light);
}

.gallery-carousel-wrapper {
    overflow: hidden;
    margin-top: 40px;
    white-space: nowrap;
}

.gallery-carousel {
    display: flex;
    animation: scroll-left 30s linear infinite;
    gap: 20px;
}

.gallery-box {
    min-width: 300px; 
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-box:hover {
    transform: translateY(-5px);
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.team-hero {
    background-color: var(--primary-color);
}

.team-section {
    background-color: var(--bg-light);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}

.member-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    max-width: 600px;
}

@media (min-width: 768px) {
    .member-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
        width: calc(50% - 20px);
    }
}

.member-photo {
    flex-shrink: 0;
    width: 100%;
    height: 300px;
}

@media (min-width: 768px) {
    .member-photo {
        width: 40%;
        height: auto;
    }
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.member-info .member-title {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.dropdown {
    position: relative;
}

.dropdown .submenu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    margin-top: 0px;
    border-radius: 5px;
    z-index: 10;
    min-width: 180px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.submenu li {
    margin: 0;
}

.submenu a {
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
    color: var(--primary-color);
}

.submenu a:hover {
    background-color: #e9e9e9;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px; 
    bottom: 10px;
    background-color: #555;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}


@media (max-width: 768px) {
    .hero-section {
        height: 52vh; 
    }

    .mySlides {
        height: 100%; 
    }

    .mySlides img {
        height: 100%;
        object-fit: cover; 
        object-position: center; 
    }

    .hero-content {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        text-align: center;
        z-index: 2;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-content .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.switch {
    position: relative;
    width: 46px;
    height: 24px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .slider {
    background: #4CAF50;
}

input:checked + .slider::before {
    transform: translateX(22px);
}
/* -------------------------------------- */
/* Responsive Adjustments for Language Switch */
/* -------------------------------------- */

@media (max-width: 992px) {
    .lang-switch {
        display: flex;
        flex-direction: column; 
        align-items: center;
        
        
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    
    .lang-switch > span {
        margin-right: 0; 
        margin-bottom: 5px; 
    }
    
    .lang-switch .switch {
        margin-bottom: 5px;
    }
}