:root {
    --primary: #8e2323;
    --secondary: #d4af37;
    --light: #f8f1e5;
    --dark: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Noto Sans Kannada', sans-serif;
}


body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    font-family: 'Poppins', 'Noto Sans Kannada', sans-serif;
    margin: 0;
    padding: 0;
}

/* New Addition */
/* Language visibility defaults */
.english {
    display: block;
  }
  .kannada {
    display: none;
  }
  
  body.lang-kannada .english {
    display: none;
  }
  body.lang-kannada .kannada {
    display: block;
  }
  


  .language-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 5px 10px;
    background-color: #8e2323;
    font-size: 14px;
}

.language-switcher button {
    padding: 4px 10px;
    border: none;
    border-radius: 4px;
    background-color: #e0e0e0;
    cursor: pointer;
    font-weight: 500;
}

.language-switcher button.active {
    background-color: #d4af37; /* gold tone */
    color: white;
}


/* Different kannnada font */
.hero .kannada, 
.about .kannada, 
.events .kannada {
    font-family: 'Baloo Tamma 2', 'Noto Sans Kannada', sans-serif;
}


.notification-banner {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: #f8f1e5;
    color: #000;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.5s ease;
}

.notification-banner.slide-in {
    opacity: 1;
    transform: translateY(0);
}



.notification-content {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.notification-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.close-notification {
    margin-left: 20px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}







/* Header Styles */
/* header { */
    /* background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('temple-bg.jpg'); */
    /* background-size: cover; */
    /* background-position: center; */
    /* color: white; */
    /* padding: 1rem; */
    /* text-align: center; */
    /* position: relative; */
/* } */

.header.english {  
    color: white;
    padding: 1rem;
    text-align: center;
    position: relative;
	background: url(temple-bg.jpg) no-repeat;
    background-size: cover;
    background-position: center;

}
.header.kannada {  
    color: white;
    padding: 1rem;
    text-align: center;
    position: relative;
	background: url(temple-bg-kn.png) no-repeat;
    background-size: cover;
    background-position: center;

}

.logo {
    max-width: 120px;
    margin: 0 auto;
}



.temple-name {
    margin: 1rem 0;
    font-size: 1.4rem; /* slightly reduced from 1.8rem */
    color: var(--secondary);
    font-family: 'Poppins', sans-serif;
}

.temple-name .kannada {
    font-family: 'Baloo Tamma 2', cursive;
}

.temple-location {
    font-size: 1.4rem; /* increased from 1.2rem */
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--light);
    font-family: 'Poppins', sans-serif;
}

.temple-location .kannada {
    font-family: 'Baloo Tamma 2', cursive;
}





/* Navigation */
nav {
    background-color: var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: space-around;
}

.nav-item {
    margin: 0 0.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link.active {

    font-weight: bold;

}


.nav-link:hover {
    background-color: var(--secondary);
    color: var(--dark);
}

.hamburger {
    display: none;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary);
    margin: 0.5rem auto;
}

/* Hero Section */
.hero {
    background-color: var(--primary);
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.hero h1 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.hero p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #e8c252;
    transform: translateY(-3px);
}

/* About Section */
.about {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.about-img {
    flex: 1;
    min-width: 300px;
}

.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-content {
    flex: 1;
    min-width: 300px;
}


/* Read More */
.read-more-link {
    text-align: left;
    margin-top: 1rem;
  }
  
  .read-more-link a {
    font-size: 0.95rem;
    color: var(--primary);
    text-decoration: none; /* Removes underline */
    transition: color 0.3s;
    font-weight: 500;
  }
  
  .read-more-link a:hover {
    color: var(--secondary);
  }


/* Committee Section */
.committees-section {
    padding: 2rem 1rem;
    background-color: var(--light);
  }
  
  .committees-section h2,
  .committees-section h3 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 1rem;
  }
  
  .committee-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
  }
  
  .committee-tab {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s ease;
  }
  
  .committee-tab:hover,
  .committee-tab.active {
    background-color: var(--secondary);
    color: var(--dark);
  }
  
  .committee-content .committee-info {
    display: none;
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }
  
  .committee-content .committee-info.active {
    display: block;
  }
  
  .committee-members {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .committee-members .member h4 {
    color: var(--secondary);
    margin-bottom: 0.2rem;
  }
  
  .contact-info {
    margin-top: 1rem;
  }
  
  .contact-info h4 {
    color: var(--primary);
  }
  
  .contact-info p {
    margin: 0.2rem 0;
  }
  



/* Events Section */
.events {
    margin-bottom: 3rem;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.event-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-img {
    height: 200px;
    overflow: hidden;
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-img img {
    transform: scale(1.1);
}

.event-details {
    padding: 1.5rem;
}

.event-date {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.event-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
  }


.btn.small-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    margin-top: 0.8rem;
    display: inline-block;
}








/* Ensure grid is properly displayed */
/* Grid layout for Seva cards */
  .seva-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Same as event-grid */
    gap: 1.5rem; /* Adjust gap between items */
    padding: 1rem; /* Optional: Add padding around the grid */
  }
  
/* Seva card styling */
  .seva-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    transition: transform 0.3s ease;
    cursor: pointer;
  }
  
  .seva-card:hover {
    transform: translateY(-8px);
  }
  
  .seva-date {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary, #b22);
    text-align: center;
  }
  
  .seva-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .seva-card li {
    margin-bottom: 0.5rem;
    text-align: left;
  }
  
  .seva-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
  }

  .seva-section {
    margin: 2rem 0;
    text-align: center;
  }

  .view-all-btn {
    padding: 0.6rem 1.2rem;
    background-color: var(--primary, #b22);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .view-all-btn:hover {
    background-color: #911a1a;
  }


  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fade-in {
    animation: fadeInUp 0.4s ease forwards;
  }
  

  .pooja-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    }

    .pooja-card:hover {
        transform: translateY(-10px);
    }

    .pooja-details {
        padding: 1.5rem;
    }

    .pooja-date {
        color: var(--primary);
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

    .pooja-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .pooja-link {
        text-decoration: none;
        color: inherit;
        display: block;
    }

    .pooja-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      margin-top: 1rem;
    }

    .pooja-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem;
      }


/* Gallery Section */
.gallery {
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}


.contact-section {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: #f8f8f8;
    max-width: 500px; /* or transparent */
  }
  
  .container {
    max-width: 1100px;
    width: 100%;
  }
  
  .contact-form {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 auto;
  }
  
  .contact-form h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
  }
  
  textarea.form-control {
    min-height: 120px;
    resize: vertical;
  }
  
  .send-btn {
    background-color: var(--secondary);
    color: var(--dark);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    width: 100%;
    transition: background 0.3s;
  }
  
  .send-btn:hover {
    background-color: #e8c252;
  }
  

/* Contact Section */
.contact {
    margin-bottom: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.contact-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Contact Info: narrower */
.contact-info {
    flex: 0 0 35%;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Contact Map: wider */
.contact-map {
    flex: 0 0 60%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}
.contact-map iframe {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: none;
    border-radius: 8px;
}

/* Other Contact Info styles (unchanged) */
.contact-info h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.contact-item i {
    margin-top: 0.25rem;
    color: var(--secondary);
    font-size: 1.2rem;
}

.contact-item span {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.6;
    word-break: break-word;
}

.contact-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch; /* Ensures both boxes match height */
}

.contact-info {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}




/* Donation Section */
.donation {
    background-color: var(--primary);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
	margin-top: 2rem;
    text-align: center;
}

.donation h2 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.donation-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.donation-option {
    background-color: white;
    color: var(--dark);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donation-option:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}




/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
    text-align: left;
}

.footer-col h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    background-color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid #444;
    padding-top: 1rem;
    font-size: 0.9rem;
    color: #aaa;
}


/* Footer Compact Layout */
.footer-grid.compact-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }
  
  
  
  /* Divider */
  .footer-divider {
    border: none;
    height: 1px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.2);
    width: 90%;
  }
  
  /* Footer Bottom */
  .footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
  }
  
  .footer-links-bottom {
    margin-top: 8px;
  }
  
  .policy-link, .separator {
    color: #ccc;
    text-decoration: none;
    margin: 0 6px;
    font-weight: 500;
  }
  
  .policy-link:hover {
    color: #fff;
  }

  .footer-links-bottom div {
    display: inline-block;
    white-space: nowrap;
  }
  
 /* Ensure footer stays within hero width */
.footer-grid.compact-footer {
  max-width: 1200px;  /* Adjust to match hero size */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

/* Styled button with solid background */
.styled-btn {
    color: white;
    background-color: #891c1c; /* Solid red background */
    padding: 10px 24px; /* Minimal padding */
    border-radius: 30px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    width: fit-content; /* 👈 Ensures width fits the button text */
    margin-top: 1rem;   /* 👈 Adds space above the button */
  }
  
  /* Hover effect */
  .styled-btn:hover {
    background-color: #d4af37;
    transform: translateY(-3px);
    box-shadow: none;
  }
  
  
  /* Prevent small buttons from shrinking */
  .action-btn {
    text-decoration: none;
  }
  
  /* Add space between button and text */
  .footer-col .english + p {
    margin-top: 10px; /* Add margin between text and button */
  }


  .lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: auto; /* Allow scroll if content overflows */
  }
  
  .lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: start; /* Align image to top */
    padding: 2vh 0;
    box-sizing: border-box;
  }
  
  .lightbox-image {
    max-width: 100%;
    max-height: none; /* Allow full height image */
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease;
    display: block;
  }
  
  
  .lightbox-close {
    position: absolute;
    top: -10px;
    right: -10px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    padding: 0 10px;
  }




  .premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    padding-top: 1rem;
  }
  
  .premium-card {
    position: relative;
    background: white;
    border-radius: 1.25rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
  }
  
  .premium-card .pooja-details {
    padding: 1.5rem;
    text-align: center;
  }
  
  .premium-card .pooja-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .book-btn {
    background: #c59d5f;
    color: white;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    margin-top: 1rem;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: box-shadow 0.4s, transform 0.2s ease;
  }
  
  /* Glow effect */
  .book-btn:hover {
    box-shadow: 0 0 12px 4px rgba(197, 157, 95, 0.6);
    transform: scale(1.03);
  }
  
  /* Ripple animation */
  .book-btn::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
    pointer-events: none;
    z-index: 0;
  }
  
  .book-btn:active::after {
    width: 200%;
    height: 200%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
  
  /* Badge */
  .badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #eee;
    color: #444;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-bottom-right-radius: 1rem;
    border-top-left-radius: 1.25rem;
  }
  
  .highlight-badge {
    background: #ffb400;
    color: white;
  }
  
  .highlight {
    border: 2px solid #ffb400;
  }
  
 
  





  /* General Section */
.donation-form-section {
  padding: 3rem;
  background: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.donation-box {
  border: 1px solid #ccc;
  padding: 2rem;
  margin: 1rem;
  border-radius: 12px;
  background: #fff;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.donation-form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1.8rem;
}

/* Form Input Fields */
.donation-form input,
.donation-form select {
  display: block;
  width: 100%;
  padding: 0.8rem;
  margin: 0.8rem 0;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  box-sizing: border-box;
}

/* Input Field Focus Effect */
.donation-form input:focus,
.donation-form select:focus {
  border-color: #6c63ff; /* Focus color */
  outline: none;
  background-color: #fff;
}

/* Label Styling */
.donation-form label {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

/* Form Row Layout */
.donation-form .form-row {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
}

.donation-form .form-row .half-width {
  flex: 1;
}

.donation-form .form-row .half-width input,
.donation-form .form-row .half-width select {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 600px) {
  .donation-form-section {
      padding: 2rem;
  }

  .donation-box {
      padding: 1.5rem;
  }

  .donation-form h2 {
      font-size: 1.6rem;
      margin-bottom: 1.2rem;
  }

  .donation-form .form-row {
      flex-direction: column;
      gap: 1rem;
  }

  .donation-form .form-row .half-width {
      width: 100%;
  }

  .donation-form input,
  .donation-form select {
      font-size: 0.95rem;
      padding: 0.75rem;
  }

  .donation-form button {
      padding: 1rem;
      font-size: 1rem;
  }
}

/* Button Styling */
.donation-form button {
  background-color: #6c63ff; /* Purple button */
  color: #fff;
  padding: 1rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  margin-top: 1.5rem;
}

/* Button Hover Effect */
.donation-form button:hover {
  background-color: #5a53e0; /* Darker purple on hover */
}

/* Success Message */
.success-message {
  text-align: center;
  color: green;
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* Error Message */
.error-message {
  text-align: center;
  color: red;
  font-size: 1.2rem;
  margin-top: 1rem;
}


/* Style form elements */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group input, .donation-block select {
  padding: 10px;
  margin: 5px 0;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.action-btn.styled-btn {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.action-btn.styled-btn:hover {
  background-color: #45a049;
}



.donation-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 15px 0;
}


.today-badge {
  background-color: #ff9800;
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  margin-left: 8px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  vertical-align: middle;
}

.seva-card.today-highlight {
  border: 2px solid #ff9800;
  box-shadow: 0 0 12px rgba(255, 152, 0, 0.5);
}

p.paragraph {
    text-indent: 50px;
}

.title-body{
	    padding-top: 10px;
		padding-bottom: 10px;
		color: #862520;
}

.para{
	
	text-indent: 74px;
    padding-top: 10px;
}



.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-item img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
