/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --info-color: #1abc9c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Open Sans', sans-serif;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
}

.navbar.navbar-scrolled {
    padding: 0.5rem 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    padding: 0;
    font-weight: 700;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    margin-right: 1rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 24px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: 6px;
}

.navbar-toggler-icon::after {
    bottom: 6px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 11px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 11px;
}

.navbar-nav {
    gap: 1rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #4da6ff; /* Light blue color */
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }

    .navbar-nav {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 5px;
    }

    .nav-link:hover {
        background: rgba(77, 166, 255, 0.1); /* Light blue background on hover */
    }

    .nav-link.active {
        background: #4da6ff; /* Light blue background for active state */
        color: white;
    }

    .nav-link.active::after {
        display: none;
    }

    .hero-image img {
        max-height: 600px;
    }
}

@media (max-width: 767.98px) {
    .hero-image img {
        max-height: 500px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9)),
                url('../assets/hero-bg.jpg') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.7));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    font-family: 'Playfair Display', serif;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s;
}

.hero-image {
    animation: fadeInRight 1s ease;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation: float 7s ease-in-out infinite;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 700px;
    width: 100%;
    object-fit: contain;
}

/* Quick Stats */
.quick-stats {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef),
                url('../assets/stats-pattern.png') repeat;
    position: relative;
    z-index: 2;
    margin-top: -50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Featured Services */
.featured-services {
    /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
                url('../assets/services-bg.jpg') center/cover; */
    background: url('../assets/services-bg.png') center/cover;
    position: relative;
    padding: 5rem 0;
    z-index: 1;
    overflow: hidden;
}

.featured-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/services-pattern.png') repeat;
    opacity: 0.1;
    z-index: -1;
}

.featured-services .container {
    position: relative;
    z-index: 2;
}

/* Service Card */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(44, 62, 80, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    /* background: var(--primary-color); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon::before {
    opacity: 1;
    width: 120%;
    height: 120%;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon i {
    transform: scale(1.2);
}

/* Floating shapes in services section */
.service-shape {
    position: absolute;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.service-shape-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.service-shape-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
    animation-delay: 2s;
}

.service-shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 10%;
    animation-delay: 4s;
}

/* Success Stories */
.success-stories {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 152, 219, 0.95)),
                url('../assets/stories-bg.jpg') center/cover;
    position: relative;
    padding: 5rem 0;
    color: var(--primary-color);
    z-index: 1;
}

.success-stories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

.success-stories .container {
    position: relative;
    z-index: 2;
}

.success-stories h2,
.success-stories h3,
.success-stories p {
    color: var(--primary-color);
}

.stories-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem;
    scroll-snap-type: x mandatory;
}

.story-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.story-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.story-card h3 {
    padding: 1rem 1rem 0.5rem;
    margin: 0;
    font-size: 1.25rem;
}

.story-card p {
    padding: 0 1rem;
    margin: 0;
    color: var(--text-color);
}

.story-card-footer {
    padding: 1rem;
    margin-top: auto;
}

.story-card-footer .btn {
    width: 100%;
    text-align: center;
    display: block;
    position: relative;
    z-index: 2;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.story-card:hover .btn {
    background-color: var(--primary-color);
}

.story-author {
    display: block;
    margin-top: 1rem;
    font-style: italic;
    color: var(--primary-color);
}

.story-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.story-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.story-card .btn {
    background-color: var(--secondary-color);
    color: white;
}

.story-card .btn:hover {
    background-color: var(--primary-color);
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 152, 219, 0.95)),
                url('../assets/newsletter-bg.jpg') center/cover;
    position: relative;
    padding: 5rem 0;
    color: white;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.newsletter .container {
    position: relative;
    z-index: 2;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 50px;
}

.newsletter-form .btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Donation Section */
.donate {
    padding: 100px 0;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.donation-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.amount-btn {
    padding: 10px;
    border: 2px solid var(--secondary-color);
    background: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.amount-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.custom-amount {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Volunteer Section */
.volunteer {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.volunteer-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
                url('../assets/form-bg.jpg') center/cover;
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.volunteer-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/pattern-bg.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.volunteer-form .card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.volunteer-form .card-body {
    padding: 3rem;
}

.volunteer-form h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.volunteer-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.volunteer-form .form-label {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.volunteer-form .form-control {
    padding: 0.8rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
}

.volunteer-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    background: white;
}

.volunteer-form .form-select {
    padding: 0.8rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
}

.volunteer-form .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    background: white;
}

.volunteer-form .btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: var(--transition);
    width: 100%;
    margin-top: 1.5rem;
}

.volunteer-form .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.volunteer-form .form-check {
    margin-top: 1rem;
}

.volunteer-form .form-check-input {
    border: 2px solid rgba(0, 0, 0, 0.1);
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.2em;
}

.volunteer-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.volunteer-form .form-check-label {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Form Floating Labels */
.volunteer-form .form-floating {
    margin-bottom: 1rem;
}

.volunteer-form .form-floating .form-control {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

.volunteer-form .form-floating label {
    padding: 1rem 0.75rem;
    color: var(--text-color);
}

/* Form Validation Styles */
.volunteer-form .is-invalid {
    border-color: #dc3545;
}

.volunteer-form .invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Form Success Message */
.volunteer-form .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
}

/* Responsive Form Styles */
@media (max-width: 768px) {
    .volunteer-form .card-body {
        padding: 2rem;
    }

    .volunteer-form h3 {
        font-size: 1.75rem;
    }

    .volunteer-form .form-control,
    .volunteer-form .form-select {
        padding: 0.7rem 0.9rem;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Newsletter Section */
.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 50px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer h4, .footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer .contact-info li {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer .impact-list li {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer .social-links a {
    color: var(--white);
    text-decoration: none;
}

.footer .social-links a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--white);
    margin: 0;
}

/* Floating shapes in footer */
.footer-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.footer-shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.footer-shape-2 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 15%;
    animation-delay: 2s;
}

.footer-shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-section {
        padding-top: 70px; /* Adjust padding for mobile */
        min-height: auto;
        padding-bottom: 50px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-top: 1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        margin-top: 1rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .donation-options {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .featured-services {
        padding: 3rem 0;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .service-shape {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-section ul li:hover {
        transform: translateX(0);
    }
}

@media (max-width: 576px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 152, 219, 0.95)),
                url('../assets/page-header-bg.jpg') center/cover;
    position: relative;
    padding: 100px 0 60px;
    color: white;
    text-align: center;
    overflow: hidden;
    margin-top: 80px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/header-pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.page-header .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
}

/* Floating shapes in page header */
.page-header-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.page-header-shape-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;        
}

.page-header-shape-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
    animation-delay: 2s;
}

.page-header-shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 10%;
    animation-delay: 4s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header .lead {
        font-size: 1.1rem;
    }

    .page-header-shape {
        display: none;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* Icon Colors */
.fas, .fab {
    color: #007bff;
}

/* Contact Info Icons */
.contact-info i {
    color: #007bff;
}

/* Social Media Icons */
.social-links a i {
    color: #007bff;
}

/* Footer Icons */
.footer .contact-info i {
    color: #007bff;
}

/* Back to Top Icon */
.back-to-top i {
    color: #007bff;
}

/* Goals Section Styles */
.goals-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    overflow: hidden;
}

.goals-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/pattern-bg.png');
    opacity: 0.1;
    z-index: 0;
}

.goal-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.goal-item:hover {
    transform: translateY(-5px);
}

.goal-header {
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

.goal-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.goal-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #2c3e50);
    border-radius: 3px;
}

.goal-progress {
    margin: 2rem 0;
    position: relative;
}

.progress {
    height: 30px;
    border-radius: 15px;
    background-color: rgba(240, 240, 240, 0.8);
    margin-bottom: 0.8rem;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 12px;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: width 1s ease-in-out;
    font-size: 0.9rem;
}

.goal-amount {
    font-size: 1.2rem;
    color: #666;
    margin-top: 0.8rem;
    font-weight: 500;
}

.goal-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.flow-step {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.flow-step:hover {
    transform: scale(1.02);
}

.flow-step img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    margin-right: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.flow-step:hover img {
    transform: scale(1.05);
}

.step-content {
    flex: 1;
    position: relative;
}

.goal-details {
    margin-bottom: 1.5rem;
    background: rgba(76, 175, 80, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.goal-progress {
    margin: 0.5rem 0;
}

.progress {
    height: 25px;
    border-radius: 12px;
    background-color: rgba(240, 240, 240, 0.8);
    margin-bottom: 0.5rem;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 12px;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: width 1s ease-in-out;
    font-size: 0.9rem;
}

.goal-amount {
    font-size: 0.95rem;
    color: #666;
    margin-top: 0.5rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.goal-amount span {
    color: #4CAF50;
    font-weight: 600;
}

.step-content h3 {
    color: #2c3e50;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.step-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #4CAF50;
}

.step-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.step-content ul li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.5;
}

.step-content ul li:before {
    content: "✓";
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.flow-arrow {
    color: #4CAF50;
    font-size: 2.5rem;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.flow-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.donation-cta {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 152, 219, 0.95)),
    url('../assets/newsletter-bg.jpg') center/cover;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.donation-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/pattern-cta.png');
    opacity: 0.1;
}

.donation-cta h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    position: relative;
}

.donation-cta .lead {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
}

.donation-options {
    margin-top: 2.5rem;
}

.donation-options .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.donation-options .btn-primary {
    background: white;
    color: #2196F3;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.donation-options .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.donation-options .btn-outline-primary {
    border: 2px solid white;
    color: white;
}

.donation-options .btn-outline-primary:hover {
    background: white;
    color: #2196F3;
    transform: translateY(-3px);
}

/* Goals Tabs Styles */
.goals-tabs {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 3rem;
}

.goals-tabs .nav-tabs {
    border: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.goals-tabs .nav-item {
    margin: 0;
}

.goals-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.goals-tabs .nav-link i {
    font-size: 1.2rem;
}

.goals-tabs .nav-link:hover {
    color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
}

.goals-tabs .nav-link.active {
    background: #2196F3;
    color: white;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.goals-tabs .nav-link.active i {
    color: white;
}

.goals-tabs .tab-content {
    padding: 2rem;
}

.goals-tabs .tab-pane {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Tabs */
@media (max-width: 768px) {
    .goals-tabs .nav-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .goals-tabs .nav-link {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .flow-step {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .flow-step img {
        margin-right: 0;
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .step-content {
        margin-top: 1.5rem;
    }

    .step-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .donation-options .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Objectives Section Styles */
.objectives-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    overflow: hidden;
}

.objective-item {
    text-align: center;
    margin-bottom: 3rem;
}

.objective-item h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.objective-item h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #2c3e50);
    border-radius: 3px;
}

.objective-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.objective-card:hover {
    transform: translateY(-10px);
}

.objective-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.objective-icon i {
    color: var(--white);
}

.objective-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.objective-icon:hover i {
    color: var(--white);
}

.objective-card ul li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.objective-card:hover .objective-icon {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.objective-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.objective-card ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.objective-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Impact Section Styles */
.impact-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.impact-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.impact-card:hover {
    transform: translateY(-10px);
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.impact-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.impact-card p {
    color: #666;
    margin-bottom: 0;
}

/* CTA Section Styles */
.cta-section {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 152, 219, 0.95)),
                url('../assets/cta-bg.jpg') center/cover;
    position: relative;
    padding: 5rem 0;
    color: white;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: white;
    color: #2196F3;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-outline-light {
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn-outline-light:hover {
    background: white;
    color: #2196F3;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .objective-card {
        margin-bottom: 2rem;
    }

    .impact-card {
        margin-bottom: 2rem;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Service Card Icons */
.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Impact Card Icons */
.impact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.impact-card:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Volunteer Card Icons */
.opportunity-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.opportunity-card:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Benefit Card Icons */
.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.benefit-card:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Contact Info Icons */
.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.info-card:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Donation Impact Icons */
.donation-impact .impact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.donation-impact .impact-card:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.service-detail-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 2;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(44, 62, 80, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-detail-card:hover::before {
    opacity: 1;
}

.service-detail-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.service-detail-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.service-detail-card:hover h4::after {
    width: 80px;
}

.service-detail-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.service-detail-card .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.service-detail-card .btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.service-detail-card .btn-link:hover {
    color: var(--secondary-color);
}

.service-detail-card .btn-link:hover::after {
    width: 100%;
}

/* Specific icon styles */
.service-detail-card i.fa-stethoscope,
.service-detail-card i.fa-pills,
.service-detail-card i.fa-heart,
.service-detail-card i.fa-hand-holding-medical {
    color: var(--primary-color);
    font-size: 3.5rem;
    z-index: 3;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-detail-card:hover i.fa-stethoscope,
.service-detail-card:hover i.fa-pills,
.service-detail-card:hover i.fa-heart,
.service-detail-card:hover i.fa-hand-holding-medical {
    transform: scale(1.1);
    color: var(--primary-color);
}

/* Floating shapes in additional services section */
.service-shape {
    position: absolute;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.service-shape-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.service-shape-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
    animation-delay: 2s;
}

.service-shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 10%;
    animation-delay: 4s;
}

/* Additional Services Section */
.additional-services {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
                url('../assets/services-bg.jpg') center/cover;
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.additional-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/pattern-bg.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.service-detail-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 2;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(44, 62, 80, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-detail-card:hover::before {
    opacity: 1;
}

.service-detail-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.service-detail-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.service-detail-card:hover h4::after {
    width: 80px;
}

.service-detail-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.service-detail-card .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.service-detail-card .btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.service-detail-card .btn-link:hover {
    color: var(--secondary-color);
}

.service-detail-card .btn-link:hover::after {
    width: 100%;
}

/* Floating shapes in additional services section */
.service-shape {
    position: absolute;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.service-shape-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.service-shape-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
    animation-delay: 2s;
}

.service-shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 10%;
    animation-delay: 4s;
}

/* Specific icon styles */
.service-detail-card i.fa-stethoscope,
.service-detail-card i.fa-pills,
.service-detail-card i.fa-heart,
.service-detail-card i.fa-hand-holding-medical {
    color: var(--primary-color);
    font-size: 2.5rem;
    z-index: 3;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-detail-card:hover i.fa-stethoscope,
.service-detail-card:hover i.fa-pills,
.service-detail-card:hover i.fa-heart,
.service-detail-card:hover i.fa-hand-holding-medical {
    transform: scale(1.1);
    color: var(--primary-color);
}

/* Volunteer Opportunities Section */
.volunteer-opportunities {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.opportunity-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.opportunity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.opportunity-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.opportunity-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.opportunity-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.opportunity-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.opportunity-card ul li {
    color: var(--text-color);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.opportunity-card ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Volunteer Benefits Section */
.volunteer-benefits {
    position: relative;
    overflow: hidden;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefit-card h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-color);
    margin: 0;
}

/* Volunteer Form Section */
.volunteer-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.volunteer-form .card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.volunteer-form .card-body {
    padding: 3rem;
}

.volunteer-form h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.volunteer-form .form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.volunteer-form .form-control,
.volunteer-form .form-select {
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.volunteer-form .form-control:focus,
.volunteer-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.volunteer-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.volunteer-form .btn-primary {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: var(--primary-color);
    border: none;
}

.volunteer-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    background: var(--primary-color);
}

@media (max-width: 991.98px) {
    .volunteer-form .card-body {
        padding: 2rem;
    }

    .volunteer-form h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .volunteer-form .card-body {
        padding: 1.5rem;
    }

    .volunteer-form h3 {
        font-size: 1.5rem;
    }
}

/* Contact Information Section */
.contact-info {
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    position: relative;
    overflow: hidden;
    /* padding: 5rem 0; */
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/pattern-bg.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(44, 62, 80, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.info-card:hover i {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.info-card:hover h3::after {
    width: 80px;
}

.info-card p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.8;
    font-size: 1.1rem;
}

.info-card p br {
    display: block;
    margin: 0.5rem 0;
}

@media (max-width: 991.98px) {
    .info-card {
        padding: 2rem;
    }

    .info-card i {
        font-size: 2.5rem;
    }

    .info-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .info-card {
        margin-bottom: 2rem;
    }
}

/* Contact Form Section */
.contact-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/pattern-bg.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.contact-form .card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-form .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-form .card-body {
    padding: 3rem;
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.contact-form .form-label {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    background: white;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1.5rem;
}

.contact-form .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Office Hours Section */
.office-hours {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.office-hours::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/pattern-bg.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.office-hours .card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.office-hours .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.office-hours .card-body {
    padding: 3rem;
}

.office-hours h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.office-hours h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.office-hours .table {
    margin-bottom: 0;
}

.office-hours .table td {
    padding: 1rem;
    border-color: rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
}

.office-hours .table tr:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.office-hours .table td:first-child {
    font-weight: 500;
    color: var(--primary-color);
}

.office-hours p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    text-align: center;
}

.office-hours p strong {
    color: var(--secondary-color);
}

@media (max-width: 991.98px) {
    .contact-form .card-body,
    .office-hours .card-body {
        padding: 2rem;
    }

    .contact-form h3,
    .office-hours h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .contact-form .card-body,
    .office-hours .card-body {
        padding: 1.5rem;
    }

    .contact-form h3,
    .office-hours h3 {
        font-size: 1.5rem;
    }

    .contact-form .form-control,
    .contact-form .form-select,
    .office-hours .table td {
        font-size: 1rem;
    }
} 

.mission-vision-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.mission-card, .vision-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
}

.mission-card::before, .vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(44, 62, 80, 0.1));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-card:hover::before, .vision-card:hover::before {
    opacity: 1;
}

.mission-icon, .vision-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
}

.mission-icon i, .vision-icon i {
    font-size: 2.5rem;
    color: white;
}

.section-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.mission-text, .vision-text {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.mission-features, .vision-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateX(10px);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-item span {
    color: var(--text-color);
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .mission-card, .vision-card {
        padding: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .mission-text, .vision-text {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .mission-card, .vision-card {
        margin-bottom: 2rem;
    }
}

/* Stories Page Specific Styles */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.1) 49%, rgba(255,255,255,0.1) 51%, transparent 52%);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
}

.featured-story {
    position: relative;
    overflow: hidden;
}

.featured-story::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #f8f9fa 0%, transparent 100%);
    border-radius: 50%;
    transform: translate(50%, -50%);
    z-index: 0;
}

.more-stories {
    position: relative;
}

.more-stories::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    z-index: 0;
}

/* Story Card Animations */
.story-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.story-card:hover::before {
    opacity: 1;
}

.story-card img {
    transition: transform 0.5s ease;
}

.story-card:hover img {
    transform: scale(1.05);
}

.story-content {
    position: relative;
    z-index: 2;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframes */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header::before {
        animation: none;
    }
    
    .story-card {
        margin-bottom: 30px;
    }
}

.our-team {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.team-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #007bff, #00bcd4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #00bcd4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.team-card:hover .team-icon {
    transform: rotateY(360deg);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.team-card .position {
    color: #007bff;
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.team-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .team-card {
        padding: 20px;
    }

    .team-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .team-card h3 {
        font-size: 1.3rem;
    }
}