body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

header {
    background: #f4b400;
    color: white;
    text-align: center;
    padding: 1rem;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: white;
}

main {
    padding: 20px;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #333;
    color: white;
}

table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
}

table th, table td {
    padding: 10px 15px;
    text-align: left;
    border: 1px solid #ddd;
}

table th {
    background-color: #f4b400;
    color: white;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}


/* Full-width slideshow container */
.slideshow-container {
    width: 100%;
    height: 450px; /* Adjust height as needed */
    position: relative;
    overflow: hidden;
    margin: auto;
    background: black; /* Background in case images take time to load */
}

/* Hide all images by default */
.mySlides {
    display: none;
    width: 100%;
    height: 100%;
}

/* Ensure all images maintain same size */
.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fit properly */
}

/* Navigation buttons */
.w3-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    user-select: none;
}

.w3-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.w3-display-left {
    left: 10px;
}

.w3-display-right {
    right: 10px;
}

/* Donation Page Styles */
.donation-hero {
    background: linear-gradient(135deg, #f4b400, #ff7300);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.donation-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.donation-title {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.donation-subtitle {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.donation-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.donation-card:hover {
    transform: translateY(-5px);
}

.card-header {
    background: #FF7F00;
    height: 120px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
}

.om-circle {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.om-symbol {
    font-size: 2rem;
    color: #8B0000; /* Changed to dark red color */
    line-height: 1;
    position: relative;
    z-index: 2; /* Ensure symbol appears on top */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Add subtle shadow for better visibility */
}

.donation-tag {
    background: white;
    color: #FF7F00;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1;
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.card-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.amount {
    text-align: center;
    margin: 15px 0;
}

.currency {
    font-size: 1.2rem;
    color: #FF7F00;
    font-weight: 600;
}

.value {
    font-size: 2rem;
    color: #FF7F00;
    font-weight: 700;
    margin-left: 5px;
}

.donate-button {
    background: linear-gradient(135deg, #FF7F00, #FF9033);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.donate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.4);
    text-decoration: none;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

/* Seva Page Styles */
.sevas-hero {
    background: linear-gradient(135deg, #f4b400, #ff7300);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}



.sevas-title {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.sevas-subtitle {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.sevas-content {
    padding: 2rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.seva-section-title {
    font-size: 2.5rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.sevas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.seva-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.seva-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.seva-icon-wrapper {
    background: linear-gradient(135deg, #FF7F00, #FF9033);
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.seva-icon-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.seva-icon {
    font-size: 3rem;
    color: white;
    z-index: 1;
}

.seva-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.seva-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.seva-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.book-seva-btn {
    background: linear-gradient(135deg, #FF7F00, #FF9033);
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    margin-top: auto;
}

.book-seva-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 127, 0, 0.4);
    text-decoration: none;
    color: white;
}

/* Additional Seva Page Styles */
.sevas-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, #fff9f5, transparent);
}



.sevas-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

.sevas-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    font-weight: 400;
}

.sevas-content {
    background-color: #fff9f5;
    padding: 2rem 0;
    min-height: calc(100vh - 300px);
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.seva-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    position: relative;
    padding-left: 0.75rem;
}

.seva-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 20px;
    background: linear-gradient(to bottom, #f4b400, #FF9033);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sevas-title {
        font-size: 2rem;
    }
    
    .sevas-subtitle {
        font-size: 0.9rem;
    }
    
    .sevas-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        padding: 0 0.75rem;
    }
    
    .seva-content {
        padding: 1.25rem;
    }
}

/* Utility Classes */
.mt-5 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
}

/* Responsive Donation Grid */
@media (max-width: 1024px) {
    .donation-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .card-content {
        padding: 20px;
    }
}

/* Responsive Donation Hero */
@media (max-width: 768px) {
    .donation-hero {
        padding: 2.5rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .donation-title {
        font-size: 2.5rem;
    }
    
    .donation-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .donation-hero {
        padding: 2rem 1rem;
        border-radius: 0;
        margin-bottom: 1.5rem;
    }
    
    .donation-title {
        font-size: 2rem;
    }
    
    .donation-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .donation-hero {
        padding: 2.5rem 1.5rem;
    }
    
    .donation-title {
        font-size: 2.5rem;
    }
    
    .donation-subtitle {
        font-size: 1rem;
    }
    
    .donation-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
    }
    
    .card-header {
        height: 100px;
    }
    
    .om-circle {
        width: 50px;
        height: 50px;
    }
    
    .om-symbol {
        font-size: 1.8rem;
        color: #8B0000; /* Maintain dark red color on smaller screens */
    }
    
    .card-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .donation-hero {
        padding: 2rem 1rem;
        border-radius: 0;
        margin-bottom: 1.5rem;
    }
    
    .donation-title {
        font-size: 2rem;
    }
    
    .donation-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px 0;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .donate-button {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .empty-state {
        padding: 2rem 1rem;
    }
}
