/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    font-size: large;
    background-image: url(pic15.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    
    margin: 0;
    padding: 0;
}

/* Header and Navigation */
header {
    background-color: #4CAF50;
    color: rgb(12, 8, 240);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 40px; /* Adjust logo height */
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: rgb(243, 239, 239);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #FF5722;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgb(14, 29, 238);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slideshow img.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-top: 1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Donation Button */
.btn-donate {
    background-color: #FF5722;
    color: rgb(53, 29, 29);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    animation: pulse 2s infinite;
}

.btn-donate:hover {
    background-color: #E64A19;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Cause Cards */
.cause-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background-color: rgb(189, 185, 185);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cause-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cause-card img {
    height: 200px;
    object-fit: cover;
}

.cause-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0;
}

.cause-card p {
    font-size: 1rem;
    color: #555;
    padding: 0 1rem 1rem;
}

/* Footer */
footer {
    background: rgba(53, 52, 52, 0.95);
    color: rgb(255, 253, 253);
    padding: 2rem 0;
    text-align: center;
}

.social-icon {
    font-size: 1.5rem;
    margin: 0 10px;
    color: rgb(17, 6, 6);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #007bff;
    transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .cause-card img {
        height: 150px;
    }
}