/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #fef6e4, #ffd8a1, #ffc77d);
  color: #5a3c2a;
  line-height: 1.6;
  scroll-behavior: smooth;
  /* Added to prevent scrollbar jumps during page transitions */
  overflow-y: scroll;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-schema{
  max-width: 1200px;
  margin: 0 auto;
  padding: 20 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header styles - Modified to ensure fixed positioning */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Add padding to main content to prevent overlap with fixed header */
main {
  padding-top: 120px; /* Adjust based on header height */
  min-height: calc(
    100vh - 120px
  ); /* Ensure main content fills viewport minus header */
}

.top-nav {
  background: linear-gradient(to right, #e77d11, #a32525);
  color: white;
}

.top-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .head-name {
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
  transition: color 0.3s ease-in-out;
}

.head-name :hover {
  color: #ffecd1;
} */

.right-section {
  display: flex;
  align-items: center;
}
/* Enhanced language selector */
.language-selector {
  position: relative;
  margin-right: 15px;
}

#language-select {
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #e86262;
  background-color: rgba(255, 0, 0, 0.1); /* Persistent translucent red */
  color: rgb(206, 43, 43);
  cursor: pointer;
  transition: background 0.3s;
  appearance: none;
  padding-right: 25px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#language-select option {
  background-color: rgba(255, 0, 0, 0.1); /* Ensure no white flicker in dropdown */
  color: rgb(206, 43, 43);
}

.language-selector::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(239, 46, 46);
  pointer-events: none;
}

#language-select:hover,
#language-select:focus {
  background-color: rgba(255, 0, 0, 0.2); /* Slightly darker on hover or focus */
}


/* Enhanced search container */
.search-container {
  display: flex;
  position: relative;
}

.search-container input {
  padding: 8px 12px;
  border: 1px solid #a32525;
  border-radius: 4px 0 0 4px;
  outline: none;
  width: 180px;
  transition: width 0.3s ease;
}

.search-container input:focus {
  width: 220px;
}

.search-container button {
  padding: 8px 12px;
  border: none;
  background-color: #a32525;
  color: white;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.3s;
}

.search-container button:hover {
  background-color: #9e2d2d;
}

/* Search results dropdown */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 1000;
}

.search-results.active {
  max-height: 300px;
  overflow-y: auto;
}

.search-results ul {
  padding: 0;
}

.search-results li {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.search-results li:hover {
  background-color: #ffefd1;
}

.search-results .highlight {
  background-color: #ffeb3b;
  font-weight: bold;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
}

.main-nav {
  background-color: rgba(255, 239, 211, 0.9);
  padding: 0;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
}

.main-nav li a {
  color: #5a3c2a;
  padding: 15px 20px;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.main-nav li a:hover {
  background-color: #ffd8a1;
  color: #a32525;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 10px;
}

/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: rgba(255, 239, 211, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  flex-direction: column; /* Ensure vertical display */
}

.dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

/* Submenu display - stacked vertically */
.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  padding: 12px 20px;
  white-space: nowrap;
  display: block;
}

.dropdown-menu li a:hover {
  background-color: #ffd8a1;
  color: #a32525;
}

.dropdown-arrow {
  margin-left: 5px;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  display: none; /* Hidden on desktop */
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(90, 60, 42, 0.1);
  }

  .main-nav li:last-child {
    border-bottom: none;
  }
}
/* Button styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #a32525;
  color: white;
}

.btn-primary:hover {
  background-color: #9e2d2d;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: white;
  color: #a32525;
}

.btn-secondary:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #a32525;
  color: #a32525;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: #a32525;
  color: white;
}

.btn-donation {
  background: linear-gradient(to right, #a32525, #e77d11);
  color: white;
  padding: 15px 30px;
  font-size: 1.1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-donation:hover {
  background: linear-gradient(to right, #9e2d2d, #e77d11);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-amber {
  background-color: #ffd8a1;
  color: #5a3c2a;
}

.btn-amber:hover {
  background-color: #ffc77d;
}

/* About Section */
.about-section {
  padding: 60px 0;
  background-color: rgba(255, 239, 211, 0.9);
}

.section-title {
  font-size: 2.2rem;
  color: #9e2d2d;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  text-shadow: 1px 1px 3px #e77d11;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #e77d11;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, rgba(255, 239, 211, 0.9), #ffd8a1);
  text-align: center;
}

.section-description {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.service-card {
  background-color: rgba(255, 239, 211, 0.9);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  color: #9e2d2d;
  margin-bottom: 10px;
  font-size: 1.5rem;
  text-shadow: 1px 1px 3px #e77d11;
}

.service-content p {
  margin-bottom: 20px;
  color: #5a3c2a;
}

.donation-button {
  margin-top: 30px;
}

/* Expandable Sections */
.expandable-sections {
  padding: 80px 0;
  background-color: rgba(255, 239, 211, 0.9);
  text-align: center;
}

.expandable-container {
  max-width: 800px;
  margin: 0 auto;
}

.expandable-section {
  margin-bottom: 20px;
  border: 1px solid #ffd8a1;
  border-radius: 10px;
  overflow: hidden;
}

.expandable-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #ffd8a1;
  cursor: pointer;
}

.expandable-header h3 {
  color: #9e2d2d;
  font-size: 1.3rem;
  text-shadow: 1px 1px 3px #e77d11;
}

.expand-btn {
  background: none;
  border: none;
  color: #9e2d2d;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.expand-btn:hover {
  transform: scale(1.1);
}

.expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.expandable-content.active {
  max-height: 1000px;
  transition: max-height 0.5s ease-in;
}

.expandable-content > div {
  padding: 20px;
}

/* Daily Programme Styles */
.programme-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.programme-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #ffd8a1;
}

.time {
  font-weight: 600;
  color: #9e2d2d;
}

/* Festival Styles */
.festival-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.festival-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ffd8a1;
}

.festival-date {
  background-color: #ffd8a1;
  color: #9e2d2d;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  min-width: 60px;
}

.date-number {
  font-size: 1.5rem;
  font-weight: bold;
}

.date-month {
  font-size: 0.9rem;
}

.festival-details {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.festival-year {
  background-color: #ffd8a1;
  color: #9e2d2d;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Temple Grid Styles */
.temple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.temple-item {
  text-align: center;
}

.temple-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  transition: transform 0.3s;
}

.temple-item:hover .temple-image {
  transform: scale(1.05);
}

.temple-item h4 {
  color: #9e2d2d;
  text-shadow: 1px 1px 3px #e77d11;
}

/* News Section */
.news-section {
  padding: 80px 0;
  background-color: #ffd8a1;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-column,
.appeals-column {
  background-color: rgba(255, 239, 211, 0.9);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.appeals-column {
  background-color: rgba(255, 239, 211, 0.9);
}

.column-title {
  color: #9e2d2d;
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ffd8a1;
  text-shadow: 1px 1px 3px #e77d11;
}

.news-list,
.appeals-list {
  margin-bottom: 30px;
}

.news-item,
.appeal-item {
  padding: 15px 0;
  border-bottom: 1px solid #ffd8a1;
}

.news-item a,
.appeal-item a {
  display: block;
  transition: background-color 0.3s;
  padding: 5px;
  border-radius: 5px;
}

.news-item a:hover {
  background-color: #ffd8a1;
}

.appeal-item a:hover {
  background-color: #ffd8a1;
}

.news-item h3,
.appeal-item h3 {
  color: #5a3c2a;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.news-date {
  color: #9e2d2d;
  font-size: 0.9rem;
}

.download-link {
  text-align: right;
  margin-top: 5px;
}

.download-link span {
  color: #9e2d2d;
  text-decoration: underline;
  font-weight: 600;
}

.column-footer {
  text-align: center;
  margin-top: 20px;
}

/* Social Sidebar */
.social-sidebar {
  position: fixed;
  right: 20px;
  top: 40%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.social-icon.twitter {
  background: #000000;
}

.social-icon.youtube {
  background: #ff0000;
}

@media (max-width: 768px) {
  .social-sidebar {
    position: static;
    flex-direction: row;
    justify-content: center;
    padding: 20px;
    transform: none;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 20px;
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }
}

/* Quick Action Buttons */
.quick-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.action-btn {
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.donation-btn {
  background: linear-gradient(to right, #a32525, #e77d11);
  color: white;
}
.pass-btn {
  background: linear-gradient(to right, #a32525, #e77d11);
  color: white;
}

.live-btn {
  background-color: white;
  color: #9e2d2d;
  border: 1px solid #9e2d2d;
}

.action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
/* 

footer {
  background: linear-gradient(to right, #a32525, #e77d11);
  color: white;
}

.footer-main {
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  text-align: center;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.5);
}

.footer-section ul {
  list-style: none; 
}

.footer-section li {
  display: inline-block; 
  width: 100%;
}

.footer-section a {
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-section a:hover {
  opacity: 1;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-links a:hover {
  opacity: 1;
} */

/* Footer */
footer {
  background: linear-gradient(to right, #a32525, #e77d11);
  color: white;
  padding: 40px 0;
}

/* Center Container */
/* .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
} */

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  text-align: left; /* Ensures alignment is consistent */
}

/* Footer Section */
.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers content */
  text-align: center;
}

/* Footer Headings */
.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
  text-align: center;
}

/* Underline for Headings */
.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.5);
}

/* Footer Links */
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: center;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: white;
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-section a:hover {
  opacity: 1;
}

/* Social Links */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* Contact & Address */
.footer-section p,
.footer-section address {
  margin: 8px 0;
  font-size: 0.95rem;
  text-align: center;
}

/* Make sure phone and email links stand out */
.footer-section a[href^="mailto:"],
.footer-section a[href^="tel:"] {
  font-weight: bold;
  color: white;
  text-decoration: none;
}

/* Footer Bottom */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-links a:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}


/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #a32525;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* Page content container - MODIFIED */
#content-container {
  position: relative;
  min-height: 500px;
  transition: opacity 0.3s ease;
}

/* Individual page containers - ADDED */
.page-container {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.page-container.active {
  display: block;
  opacity: 1;
}

/* Loading indicator */
.loading-indicator {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 239, 211, 0.9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.loading-indicator.active {
  display: block;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #a32525;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Shri Vitthal Page Content */
#shrivitthal-section .content {
  max-width: 90%;
  margin: 20px auto;
  padding: 20px;
  background: rgba(255, 239, 211, 0.9);
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

#shrivitthal-section h1 {
  text-align: center;
  color: #9e2d2d;
  font-size: 30px;
  text-shadow: 1px 1px 3px #e77d11;
}

#shrivitthal-section h2 {
  text-align: center;
  color: #9e2d2d;
  font-size: 24px;
  text-shadow: 1px 1px 3px #e77d11;
}

#shrivitthal-section p {
  text-align: justify;
  line-height: 1.6;
  font-size: 18px;
}

/* Responsive Design - Enhanced for better mobile experience */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .social-sidebar {
    left: 10px;
  }

  .quick-actions {
    right: 10px;
  }
}

@media (max-width: 768px) {
  /* Adjust main content padding for smaller header on mobile */
  main {
    padding-top: 100px;
  }
  .container {
    padding-top: 150px; /* Adjust this value as needed */
}

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(90, 60, 42, 0.1);
  }

  .main-nav li:last-child {
    border-bottom: none;
  }

  .hero {
    height: 400px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav li a {
    padding: 10px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }

  .social-sidebar {
    display: none;
  }

  .quick-actions {
    bottom: 10px;
    right: 10px;
  }

  .action-btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {

  main {
    padding-top: 90px;
  }
 

  .top-nav .container {
    flex-direction: column;
    gap: 15px;
  }

  .right-section {
    width: 100%;
    justify-content: space-between;
  }

  .search-container input {
    width: 140px;
  }

  .search-container input:focus {
    width: 180px;
  }

  .hero {
    height: 350px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .expandable-header h3 {
    font-size: 1.1rem;
  }

  .festival-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .festival-details {
    flex-direction: column;
    align-items: flex-start;
  }

  .festival-year {
    margin-top: 5px;
  }

  .temple-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.image-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.image-container img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.content {
  background: rgba(255, 239, 211, 0.9);
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 20px 0;
}

.page-heading {
  text-align: center;
  margin-bottom: 30px;
  padding-top: 100px;
}
.page-heading-daily-schedule{
  text-align: center;
  margin-bottom: 30px;
  padding-top: 200px;
}

.page-heading h1 {
  color: #a32525;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

h2 {
  color: #9e2d2d;
  font-size: 24px;
  margin: 30px 0 20px;
}

p {
  text-align: justify;
  line-height: 1.8;
  margin-bottom: 20px;
}
.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.deity-section {
  background: rgba(255, 239, 211, 0.9);
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 20px 0;
}

.page-heading {
  text-align: center;
  margin-bottom: 30px;
}

.page-heading h1 {
  color: #a32525;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.image-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.image-gallery img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
}

h2 {
  color: #9e2d2d;
  font-size: 24px;
  margin: 30px 0 20px;
}

p {
  text-align: justify;
  line-height: 1.8;
  margin-bottom: 20px;
}

.history-section {
  margin-top: 40px;
}

.quote {
  font-style: italic;
  color: #666;
  border-left: 4px solid #a32525;
  padding-left: 20px;
  margin: 20px 0;
}

.yatra-tab {
  padding: 12px 24px;
  background: rgba(255, 239, 211, 0.9);
  color: #5a3c2a;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.yatra-tab:hover {
  background: #ffd8a1;
  color: #a32525;
  transform: translateY(-2px);
}

.yatra-tab.active {
  background: linear-gradient(to right, #e77d11, #a32525);
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Make arrow invisible and handle mobile view */
@media (max-width: 768px) {
  /* Mobile-specific menu and dropdown */
  .main-nav {
    display: none;
    flex-direction: column;
    background-color: #f4e1d2;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  .container {
    padding-top: 140px; /* Adjust this value as needed */
}
  /* Show menu when active */
  .main-nav.active {
    display: flex;
  }

  /* Submenu - Hidden by default */
  .dropdown-menu {
    display: none;
    flex-direction: column;
    background-color: #f9e8d4;
    margin: 0;
    padding: 0;
  }

  /* Active dropdown menu on click */
  .dropdown.active .dropdown-menu {
    display: flex;
  }

  /* Dropdown items */
  .dropdown-menu li {
    padding: 10px 15px;
  }

  /* Dropdown link alignment */
  .dropdown > a {
    display: block;
    padding: 12px 15px;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
  }

  /* Toggle button for mobile view */
  .menu-toggle {
    display: inline-block;
    cursor: pointer;
    margin: 10px;
  }

  .menu-toggle i {
    font-size: 24px;
  }
  .search-container {
    display: none;
  }
}

/* Mobile view: Screens smaller than 768px (Tablets & Phones) */
@media (max-width: 768px) {
  .container-schema {
    max-width: 90%; /* Use a percentage for better responsiveness */
    padding: 15px; /* Reduce padding for small screens */
  }
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
}

/* Smaller mobile screens (max 480px) */
@media (max-width: 480px) {
  .container-schema {
    max-width: 95%; /* Utilize more screen space */
    padding: 10px;
    padding-top: 200px; /* Reduce padding further */
  }
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
}