html, body {
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
  width: 100%;
}

.movie-view-container {
  max-width: 100%;     /* ensure container does not overflow */
  overflow-x: hidden;  /* hides overflow inside container */
}

* {
  box-sizing: border-box; /* prevents elements from exceeding width */
}
/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important; /* ensure no horizontal scroll */
  }

  /* Make sure all main containers fit screen */
  .container,
  .container-banner,
  .content-wrapper,
  .row-banner,
  .booking-form,
  .nav-links,
  .content-flex-wrapper {
    max-width: 100% !important;
  }
}

.content-wrapper{
   line-height: 1.5;
}

/* update on 11-01-2025 */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to right, #fffcb6, #fffdd0);
  font-size: 17px; /* default for desktop */
}

/* For mobile devices (screen width <= 768px) */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
}

.info-text {
  font-size: 14px; /* desktop default */
}

/* For mobile screens (width ≤ 768px) */
@media (max-width: 768px) {
  .info-text {
    font-size: 10px;
  }
}

/* Start Header css */
nav {
  background: #ff5a00ed;
  color: black;
  padding: 22px 16px;
  position: sticky;  /* or fixed */
  top: 0;
  z-index: 1100;
}

/* Mobile view adjustment */
@media (max-width: 768px) {
  nav {
    padding: 28px 16px;
  }
}
nav a {
  color: black;
  margin-right: 15px;
  text-decoration: none;
}

.container {
  padding: 20px;
}
.menu-toggle,
.close-toggle {
  display: none;
}
@media (min-width: 769px) {
  nav a {
    color: black;
    text-decoration: none;
    margin-right: 10px;
    padding: 10px 14px;
    background: #FFF8E7;
    border: 2px solid #fbc02d;
    border-radius: 50px;
    display: inline-block;
    font-weight: bold;
    font-size: 13px;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  nav {
    text-align: center;
  }

  nav a {
    display: block;
    /* margin: 5px 0; */
  }
}
/* Structure for centered nav and toggle */
.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.menu-toggle {
  display: none;
  background: #444;
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
  position: absolute;
  left: 10px;
  top: 10px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .nav-container {
    position: relative;
  }

  .menu-toggle {
    display: block;
    background-color: #222;
    border: none;
    color: white;
    font-size: 20px;
    position: absolute;
    top: -11px;
    left: 311px;
    z-index: 1001;
  }

  .close-toggle {
    display: block;
    background-color: transparent;
    border: none;
    color: black;
    font-size: 26px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
  }

  .nav-links {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100vw;  /* Use 100% instead of 100vw to prevent scrollbar */
  height: 100vh;
  background: #fe5a00;
  flex-direction: column;
  padding: 92px 20px;
  transition: left 0.3s ease;
  z-index: 1000;
}

.nav-links.active {
  left: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 2px solid white;
  font-size: 18px;
  display: block;          /* Make link take full width */
  width: 100%;             /* Ensure it spans full width */
  box-sizing: border-box;  /* Respect padding in width */
}

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
  }

  .overlay.show {
    display: block;
  }

.mobile-lang-footer {
  position: absolute;
  bottom: 20px;
  left: 101;
  font-size: 14px;
  padding-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row; 
  border-bottom: none !important;
  
}

.mobile-lang-footer a {
  color: white;
  text-decoration: none;
   border-bottom: none !important;
  margin: 0 8px;
  font-weight: 500;
}

.mobile-lang-footer span {
  color: black;
}

}

@media (min-width: 769px) {
  .mobile-lang-footer {
    display: none;
  }
}

.sidebar-logo {
  display: none;
  padding-left: 10px; /* add some left spacing */
}

.sidebar-logo img {
  width: 125px;
  height: 92px;
  margin-left: 7rem;
      margin-top: 1rem;
}

@media (max-width: 768px) {
  .sidebar-logo {
    display: block;
    text-align: left; /* left align logo */
  }

  .nav-links {
    align-items: flex-start; /* makes the flex column left-aligned */
  }

  .nav-links a {
    text-align: left;
    padding-left: 10px; /* move menu items left */
  }
}
/* End Header css */

/* Start hr line css */
.decorative-line {
  width: 100%; 
  height: 4px;
  border: none;
  margin: 0px auto; 
  background: linear-gradient(to right, #e65100a1 0%, #fbc02de3 50%, #e65100a1 100%);
  border-radius: 5px; 
}

/* End hr line css */

/* Start Footer  css */
footer {
  background: #ff5a00ed;
  text-align: center;
  padding: 25px;
  color: white;
}
footer a {
  color: white;
 
}

.site-footer {
  text-align: center;
  padding: 20px;
  background-color: #f5f5f5;
  font-family: Arial, sans-serif;
}

.footer-social {
  margin-top: 10px;
}

.social-icon {
  margin: 0 8px;
  font-size: 18px;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 50%;
  display: inline-block;
  background-color: #ffffff; /* Default white background */
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.social-icon.fb {
  color: #3b5998;
  background-color: #e6eaf4;
}

.social-icon.insta {
  color: #e4405f;
  background-color: #fae1e9;
}

.social-icon.yt {
  color: #ff0000;
  background-color: #ffe5e5;
}
/* end Footer  css */

/* Start Body  css */
.comman-bg-body {
  background-size: cover;
  padding: 40px 20px;
  text-align: center;
  color: black;
}

.container-banner {
  max-width: 1200px;
  margin: 0 auto;
}

.row-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; /* Center as a group */
  gap: 20px;
  flex-wrap: wrap; /* Allows wrapping on small screens */
  text-align: center;
}

.banner .title {
  font-size: 36px;
  font-weight: bold;
  margin: 0;
}

@media (max-width: 768px) {
  .comman-bg-body {
    background-size: cover;
    padding: 10px 15px;
    color: black;
  }

  .container-banner {
    max-width: 1200px;
    margin: 0 auto;
  }

  .row-banner {
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* Top-align logo and text */
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: nowrap; /* Ensure side-by-side layout */
  }

  .logo {
    flex: 0 0 auto;
  }

  .logo img {
    max-width: 57px;
    height: 47px;
    display: block;
  }

  .banner {
    flex: 1 1 auto; /* Let it grow and wrap */
    min-width: 0;   /* Required for text to wrap in flex */
  }

  .banner .title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 6px;
    word-break: break-word;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }
}
.content-wrapper {
  padding-left: 3rem;
  padding-right: 3rem;
}
.content-wrapper p {
    margin-bottom: -8px; /* Adjust as needed */
  padding: 0;
  text-align: justify;
}
.content-wrapper h2 {
  margin-bottom: 0;
  padding: 0;
}

/* End Body  css */

/* Start Contact form  css */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
  color: #333;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  resize: vertical;
}

.submit-btn {
  background-color: green;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  text-align: center;
  margin-left: 20rem;
  transition: background 0.3s ease;
}

@media (max-width: 768px) {
.submit-btn{
    margin-left: 6rem;
}
}

.flash-message {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    z-index: 9999;
    animation: fadeIn 0.5s;
}

.flash-message.success {
    background-color: #4CAF50;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.flash-message.error {
    background-color: #f44336;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}
.content-flex-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.content-wrapper {
  flex: 1 1 60%;
}

.image-side {
  flex: 0 0 auto; /* don't shrink or grow */
  margin-left: auto; /* push to the far right */
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.image-side img {
  width: 361px;  /* increase width */
  height: 234px; /* maintain aspect ratio */
  max-width: 100%;
  border-radius: 12px; /* optional rounded corners */
}

/* Responsive layout */
@media (max-width: 768px) {
  .content-flex-wrapper {
    flex-direction: column;
  }

  .content-wrapper,
  .image-side {
    flex: 1 1 100%;
  }
}
/* Default: show desktop image, hide mobile image */
.mobile-image {
  display: none;
}

.desktop-image {
  display: block;
  margin-top: 1rem;
  margin-right: 2rem;
}

/* On mobile (max 768px): show mobile image, hide desktop image */
@media (max-width: 768px) {
  .desktop-image {
    display: none;
  }
  .mobile-image {
    display: block;
    margin: 20px 0; /* spacing around image */
  }
  .mobile-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}

/*  start booking form css */
.booking-form {
  max-width: 1385px;
  margin: 30px auto;
  font-family: Arial, sans-serif;
}

.booking-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.booking-form input[type="text"],
.booking-form input[type="date"],
.booking-form input[type="tel"],
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.booking-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.booking-form .form-row > div {
  flex: 1;
}

.booking-form button {
  padding: 10px 20px;
  background-color: green;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
}

.booking-form .form-row.centered {
  justify-content: center;
}

/* For mobile view: two inputs per row */
@media (max-width: 768px) {
  .booking-form .form-row {
    flex-wrap: wrap; /* allow wrapping */
    margin-left: 10px;
    gap: 0;               /* Removes horizontal spacing between columns */
    margin-bottom: 0;
  }
  .booking-form .form-row > div {
    flex: 0 0 45%; /* two fields per row */
  }
  /* To ensure spacing between them */
  .booking-form .form-row > div:nth-child(odd) {
    margin-right: 1rem;
    
  }

}

@media (min-width: 769px) {
  .booking-form .form-row > div {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
  }

  .booking-form label {
    margin: 0;
    white-space: nowrap;
    display: inline-block;
    width: 100px; /* fixed label width */
  }
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }

  .popup-box {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    /* width: 90%; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .popup-box button {
    margin-top: 15px;
    padding: 8px 20px;
    background-color: green;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
  }

  .popup-box button:hover {
    background-color: green;
  }

    .highlight {
    border: 2px solid red !important;
    background-color: #ffecec;
  }
/* end booking form css */

/* start dropdown all puja css  */
/* === Desktop only === */
@media (min-width: 769px) {
  .profile-dropdown-box {
    display: none;
    position: absolute;
    left: 36rem;
    background: #fff;
    border: 2px solid orange;   /* single orange outer border */
    border-radius: 10px;
    width: 100px;
    padding: 0;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    margin-top: 8.3rem;
    margin-left: -2rem;
  }

  .dropdown.open .profile-dropdown-box {
    display: block;
  }

  .profile-dropdown-box a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    font-weight: 600;
    color: #000 !important;
    border: none;                /* remove inner borders */
    border-radius: 0;            /* remove rounded shape */
    background: transparent;     /* keep flat background */
  }

  /* Thin orange divider line between items */
  .profile-dropdown-box hr {
    border: none;
    border-top: 1px solid orange;
    margin: 0;
  }
}

/* === Mobile view unchanged === */
@media (max-width: 768px) {
  .profile-dropdown-box a {
    color: white !important;
  }
}

/* Desktop only */
@media (min-width: 769px) { /* adjust breakpoint as needed */
  .dropdown-menu {
    margin-left: -2rem; /* applies only on desktop */
  }
}

@media (max-width: 768px) { /* adjust breakpoint as needed */
  .dropdown-menu a {
    color: white; /* White color for mobile */
  }
}

@media (min-width: 768px) {
  /* Disable hover dropdown */
  .dropdown:hover .dropdown-menu {
    display: none;
  }

  /* Enable click-based dropdown toggle on desktop */
  .dropdown.open .dropdown-menu {
    display: block;
    position: absolute;
    left: 0;
  }
}

/* Mobile specific toggle */
@media (max-width: 767px) {
  .dropdown-menu {
    position: static;
   width: 100% !important;
    min-width: unset;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
  .dropdown {
  width: 100% !important;
}
}

/* start dropdown all puja css */
.all-puja {
  position: relative;
  display: inline-block;
}

.all-puja > .dropdown-toggle {
  cursor: pointer;
  display: block;
  padding: 10px;
}

/* Dropdown container default (desktop) */
.all-puja .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -46px;
  min-width: 180px;
  background: #fff;
  border: 2px solid orange; /* border only on desktop */
  border-radius: 6px;
  z-index: 999;
}

/* Links inside dropdown */
.all-puja .dropdown-menu a {
  padding: 10px;
  display: block;
  color: #0f0e0e;
  text-decoration: none;
  border: none;
  
}

/* Remove border-bottom for last link */
.all-puja .dropdown-menu a:last-child {
  border-bottom: none;
}

/* Desktop only */
@media (min-width: 769px) {
  .all-puja .dropdown-menu {
    margin-left: -46px;
  }

  .all-puja:hover .dropdown-menu {
    display: none;
  }

  .all-puja.open .dropdown-menu {
    display: block;
  }

  /* Links padding & style for desktop */
  .all-puja .dropdown-menu a {
    background: #fff; /* keep desktop link background */
    padding: 10px 15px;
    display: block;
    color: #0f0e0e;
    text-decoration: none;
  }

  /* Style for actual <hr> inside dropdown-menu on desktop */
  .all-puja .dropdown-menu hr {
    display: block;       /* visible only on desktop */
    margin: 0;            
    margin: 0 15px;       /* inset to match link padding */
    border: none;         
    border-bottom: 1px solid #f3760f; /* thin orange line */
    height: 1px;
  }
}

/* Mobile only */
@media (max-width: 768px) {
  .all-puja {
    width: 100% !important;
  }

  .all-puja .dropdown-menu {
    position: static;
    width: 100% !important;
    min-width: unset;
    background: transparent; 
    border: none; 
    border-radius: 0;
    padding: 0;
  }

  /* Links with horizontal line (hr effect) */
  .all-puja .dropdown-menu a {
    color: white;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.904);
    padding: 10px 0;
  }

  /* Hide any <hr> on mobile */
  .all-puja .dropdown-menu hr {
    display: none;
  }

  /* Extra line after last link */
  .all-puja .dropdown-menu a:last-child::after {
    content: "";
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.918);
    margin-top: 14px;
  }

  .all-puja.open .dropdown-menu {
    display: block;
  }
}

/* Apply margin only for desktop screens */
@media (min-width: 992px) {  /* You can adjust breakpoint */
  .agree-box {
    margin-right: 30rem;
  }
}

/* On mobile/tablet (below 992px) no margin */
@media (max-width: 991px) {
  .agree-box {
    margin-right: 0;
  }
}

#agreeCheckbox{
  font-size: 10px;
}

  /* Add red * for all required fields */
  .booking-form label::after {
    content: " *";
    color: red;
    font-weight: bold;
  }

/* .user-profile {*/
/*  position: absolute;*/
/*  right: 80rem;         */
/*  top: 50%;*/
/*  transform: translateY(-50%);*/
/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 8px;*/
/*}*/

/* Desktop fix */
.user-profile {
  position: absolute;
  right: 82rem;
  top: 50%;
  transform: translateY(-50%);
}
/* Desktop only */
@media (min-width: 769px) {
  .user-profile {
    position: static;     /* remove absolute */
    transform: none;
    margin-right: 24px;   /* space between icon and Home */
    display: flex;
    align-items: center;
  }
}

.user-profile img {
  width: 32px;
  height: 32px;
}
@media (max-width: 768px) {
  .user-profile {
    right: 90px;
    top: 50%;
    transform: translateY(-50%);
  }

  .user-profile #userName {
    font-size: 14px;
    font-weight: 500;
  }
}

/* Profile dropdown */
#profileDropdown {
  display: none;
  position: absolute;
  top: -85px;
  right: 60;
  min-width: 104px;
  border-radius: 8px;
  z-index: 1000;
}

@media (min-width: 993px) and (max-width: 1399px) {
    .user-profile {
          right: 60rem !important; 
    }
}

#profileDropdown a {
  display: block;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: #333 !important;
}

/* Desktop */
@media (min-width: 768px) {
  #profileDropdown.show {
    display: block;
    position: absolute;
    right: 0;
    top: -4rem;
  }
}

/* Mobile Fix: show dropdown below user profile */
@media (max-width: 767px) {
  .user-profile {
    right: auto !important;          /* reset desktop offset */
    top: auto !important;
    transform: none !important;
    display: inline-block;           /* keep compact around icon */
    margin-left: 3rem;               /* push to right if inside navbar */
    margin-right: 10px;
  }

  #profileDropdown {
    display: none;                   /* hidden by default */
    position: absolute !important;   /* position relative to parent */
    top: -55px;                       /* just below profile icon */
    right: 0;                        /* align to right edge of icon */
    width: 104px !important;
    background: #fffcb6;
    border: 2px solid red;
    z-index: 9999;
  }

  #profileDropdown.show {
    display: block;                  /* show on toggle */
  }

  #profileDropdown a {
    display: block;
    padding: 5px;
    text-align: center;
    color: #333 !important;
    font-family: bold;
    text-decoration: none;
  }

  #profileDropdown a:last-child {
    border-bottom: none;
  }
}

.show { display: block; }
/* Modal Background */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
}

/* Modal Box */
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 340px;
  border-radius: 12px;
  text-align: center;
  position: relative;
}

/* Mobile view center */
@media (max-width: 600px) {
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    margin: 0;                   /* remove top margin */
    width: 90%;                  /* smaller on mobile */
    max-width: 300px;
  }
}

/* Close Button */
.close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* Buttons Row */
.button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

/* OR text */
.or-text {
  font-weight: bold;
  color: #555;
}

/* Buttons */
.btn {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 100px;
}

.btn.new {
  background-color: #007bff;
  color: white;
}

.btn.new:hover {
  background-color: #0056b3;
}

.btn.existing {
  background-color: #28a745;
  color: white;
}

.btn.existing:hover {
  background-color: #1e7e34;
}

.content-wrapper ul {
  flex: 1;
}

.temple-image {
  text-align: center; /* center image in mobile */
}

/* Default (mobile view) */
.temple-image img {
  width: 339px;
  height: 203px;
  border-radius: 8px;
  margin-top: 1rem;
}

/* Desktop view */
@media (min-width: 768px) {
  .content-wrapper.content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }

  .content-wrapper.content > div:first-child {
    flex: 1; /* text takes remaining space */
  }

  .temple-image {
    flex: 0 0 auto;    /* fixed width, won’t shrink */
    margin-left: 20px;
    text-align: right;
  }

  .temple-image img {
    width: 361px;
    height: 234px;
    
  }
}

/* Default (mobile-first) */
.text_mob {
  margin-top: -8px; /* normal for mobile */
}

/* Desktop only (≥ 992px for example) */

@media (min-width: 992px) {
   .text {
    margin-top: -2rem;
  }
  .h2text {
    margin-top:1rem;
  }
}

@media (min-width: 1536px) {
  .h2text {
    margin-top:-2rem;
  }
}

/* Extra-large screens */
@media (min-width: 1920px) and (max-width: 2500px) {
  .h2text {
    margin-top: -5rem;
  }
}

.image-left {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}

.image-left img {
  width: 361px;
  height: 234px;
  border-radius: 8px;
}

/* Ensure parent wraps float */
.text-image-row::after {
  content: "";
  display: table;
  clear: both;
}

/* Mobile: reset float so image stacks */
@media (max-width: 767px) {
  .image-left {
    float: none;
    text-align: center;
    margin: 0 auto 15px;
    display: block;
  }

  .image-left img {
    width: 335px;
    height: 203px;
  }
}

.h3text{
  font-size: 20px;
  font-weight: bold;
}
.text_desk{
  margin-top: 9px;
}
.para_text{
  margin-top: 2px;
}
.text_mar{
  margin-top: 10px;
}
/*Satrt notic section css */
@keyframes blinkText {
      50% { color: transparent; } /* hide only text */
    }

    .notice-wrapper {
      display: flex;
      justify-content: center;
      margin: 20px 0;
    }

    .notice-blink {
      background-color: #f7b267; /* light yellow background (static) */
      padding: 10px 20px;
      border: 1px solid #ffeeba;
      border-radius: 6px;
      font-size: 18px;
      font-weight: bold;
      text-align: center;
      max-width: 600px;
      color: #ff0808; /* base text color */
    }

    /* Apply blinking only to text */
    .notice-blink span {
      animation: blinkText 1s step-start infinite;
    }

    @media (prefers-reduced-motion: reduce) {
      .notice-blink span { animation: none; }
    }
/*End notic section css */


/* summary page css start */
.page-heading {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 15px;
    color: teal;
}

.page-heading h1 {
    font-size: 25px;
    font-weight: bold;
    display: inline-block; /* keeps it inline with the logo */
    vertical-align: middle;
    margin: 0;
}

.page-heading img {
    vertical-align: middle;
    width: 69px;
    height: 50px;
    margin-right: 8px;
}

.page-heading p {
    color: black;
    margin-top: 5px;
    font-size: 20px;
    font-weight: bold;
}

    .summary-box {
        max-width: 800px;
        margin: 35px auto 30px auto;
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        background: #fff;
    }
    .summary-box h2 {
        background: #ff7f50;   /* Orange bar */
        color: #fff;
        padding: 12px 0;
        margin: -20px -20px 25px -20px;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        border-radius: 10px 10px 0 0;
    }

    .details-section {
        margin-bottom: 25px;
    }
    .details-section h4 {
        margin-bottom: 1px;
        color: #2c3e50;
        border-bottom: 2px solid #ddd;
        padding-bottom: 5px;
    }
    .details-row {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .details-col {
        flex: 1 1 45%;
       
    }
    .details-col p {
        margin: 5px 0;
        font-size: 15px;
        color: #333;
    }
    .details-col strong {
        color: #000;
        margin-right: 5px;
    }
    .highlight-date {
        color: #b30000;
        font-weight: bold;
    }
    @media (max-width: 768px) {
        .details-row {
            flex-direction: column;
        }
        .details-col {
            flex: 1 1 100%;
        }
    }

   .paynow-btn {
    display: inline-block;       /* shrink to content width */
    margin: 25px auto 5px auto;  /* center horizontally */
    padding: 10px 20px;          /* smaller padding */
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;             /* slightly smaller text */
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
    text-decoration: none;
}
 /* summary page css End */


 /* booking form css start */
 
#submitBtn {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
}

#submitBtn:disabled {
  opacity: 1;               /* no faded look */
  background-color: #9ba39d; 
  color: white;
  cursor: not-allowed;      /* pointer changes */
}

/* Spinner inside button */
.spinner {
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

#recaptcha-container {
    display: none; /* hide initially */
    margin: 10px 0;
}

/* Fullscreen dark background */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* White centered box */
.popup-box {
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  text-align: center;
  width: 320px;
  max-width: 90%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

/* Google button */
#googleSignInBtn {
  cursor: pointer;
  display: inline-block;
  margin-top: 10px;
}

/* Small fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
/* Common overlay style */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Modal box */
.popup-box {
    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;  /* default width for desktop */
    width: 90%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Small size for mobile screens */
@media only screen and (max-width: 480px) {
    .popup-box {
        max-width: 280px;   /* smaller width */
        padding: 15px 20px; /* smaller padding */
        font-size: 14px;    /* smaller text */
    }
    
    #googleSignInBtn {
        width: 100%;        /* make Google button responsive */
        max-width: 200px;
        height: auto;
    }
}
/* booking form css end */

/* start the pandit cards css */

/* Container for search + cards */
.pandit-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* margin-top: 2rem; */
}

/* Search bar container */
.search-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.search-bar input {
    padding: 5px 10px;
    border: 1px solid #f7b267;
    border-radius: 5px;
    font-size: 14px;
}

.pandit-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 23px;
        padding-left: 1rem;
    padding-right: 1rem;
}

/* Pandit card */
.pandit-card {
    background: white;
    border: 1px solid #f7b267;
    border-radius: 10px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 0 0 23%;      /* fixed % width to ensure 4 cards per row */
    max-width: 20%;     /* prevents growing on zoom */
    /* margin: 20px 0; */
}

/* Laptop view (993px – 1399px) */
@media (min-width: 993px) and (max-width: 1399px) {
    .pandit-card {
        flex: 0 0 22%;  /* slightly smaller cards for more spacing */
        max-width: 22%;
    }
}

/* Card content layout */
.card-content {
    display: flex;
    align-items: flex-start;
}

.card-left {
    flex-shrink: 0;
    text-align: center;
    margin-right: 10px;
}

.user-code {
    font-size: 12px;
    margin-bottom: 5px;
}

.pandit-photo-wrapper {
    width: 80px;
    height: 80px;
    border: 1px solid #f7b267;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pandit-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-right {
    text-align: left;
    flex: 1;
    margin-left: 2rem;
    margin-top: 1rem;
}

.pandit-name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 3px;
}

.pandit-contact {
    font-size: 12px;
    color: #555;
    margin-bottom: 3px;
}

.pandit-experience {
    font-size: 12px;
    color: #333;
    margin-top: 3px;
}

/* View More Button */
.view-more {
    text-align: center;
    margin-top: 10px;
    margin-left: 1rem;
}

.view-more a {
    background-color: #f7b267;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #000;
    font-size: 13px;
}

/* Tablet */
@media (max-width: 992px) {
    .pandit-card {
        flex: 0 0 45%;
        max-width: 45%;
    }
}

@media (max-width: 600px) {
    .pandit-container {
        gap: 10px; /* smaller gap for mobile */
    }
}

/* Mobile */
@media (max-width: 600px) {
    .pandit-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .pandit-card:nth-child(n+5) { display: none; }
}

 .pandit-card-link {
    text-decoration: none; /* remove underline */
    color: inherit;        /* inherit text color */
    display: block;        /* make it block-level */
}

.pandit-card-link .pandit-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
}

.pandit-card-link .pandit-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
}
    
/* ENd the pandit cards css */

/* Start the booking summary css */

.page-heading {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 15px;
    color: teal;
}

.page-heading h1 {
    font-size: 25px;
    font-weight: bold;
    display: inline-block; /* keeps it inline with the logo */
    vertical-align: middle;
    margin: 0;
}

.page-heading img {
    vertical-align: middle;
    width: 69px;
    height: 50px;
    margin-right: 8px;
}

.page-heading p {
    color: black;
    margin-top: 5px;
    font-size: 20px;
    font-weight: bold;
}

    .summary-box {
        max-width: 800px;
        margin: 35px auto 30px auto;
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        background: #fff;
    }
    .summary-box h2 {
        background: #ff7f50;   /* Orange bar */
        color: #fff;
        padding: 12px 0;
        margin: -20px -20px 25px -20px;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        border-radius: 10px 10px 0 0;
    }

    .details-section {
        margin-bottom: 25px;
    }
    .details-section h4 {
        margin-bottom: 1px;
        color: #2c3e50;
        border-bottom: 2px solid #ddd;
        padding-bottom: 5px;
    }
    .details-row {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .details-col {
        flex: 1 1 45%;
       
    }
    .details-col p {
        margin: 5px 0;
        font-size: 15px;
        color: #333;
    }
    .details-col strong {
        color: #000;
        margin-right: 5px;
    }
    .highlight-date {
        color: #b30000;
        font-weight: bold;
    }
    @media (max-width: 768px) {
        .details-row {
            flex-direction: column;
        }
        .details-col {
            flex: 1 1 100%;
        }
    }

   .paynow-btn {
    display: inline-block;       /* shrink to content width */
    margin: 25px auto 5px auto;  /* center horizontally */
    padding: 10px 20px;          /* smaller padding */
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;             /* slightly smaller text */
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
    text-decoration: none;
}

/* End the booking summary css */

 /* Mobile view fix for terms checkbox */
@media (max-width: 576px) {
  .form-group.terms label {
    white-space: normal !important;  /* allow text to wrap */
    align-items: flex-start;   
    margin-left: -8rem;      /* align checkbox top */
  }

  .form-group.terms input[type="checkbox"] {
    margin-top: 2px; /* better alignment with text */
  }
  .check{
    margin-left: 3rem;
  }
}
/* Frozen (disabled) button style */
#submitBtn:disabled {
    background-color: #9ba39d; /* gray */
    cursor: not-allowed;
    color: white;
}


/* Active (enabled) button style */
#submitBtn {
    background-color: #28a745; /* green */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
}

/* Hide top navbar profile on mobile */
@media (max-width: 768px) {
  .user-profile { display: none; }
  .mobile-user-profile
   { 
    display: block; 
    margin-top: -3rem;
  }
}

/* Hide mobile profile on desktop */
@media (min-width: 769px) {
  .mobile-user-profile { display: none; }
}
/* Default modal for desktop */
#loginModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

/* Mobile sidebar modal */
@media (max-width: 768px) {
  #loginModal {
    position: absolute;
    width: 100%;
    height: auto;
    background-color: #fff;
    top: 0;
    left: 0;
    margin: 0;
    border-radius: 0;
    padding: 1rem;
    display: none; /* <<< fix here */
    flex-direction: column;
  }

  #loginModal .modal-content {
    width: 100%;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
}
@media (max-width: 768px) {
    .mobile-btn-rounded {
        width: 6rem;
        text-align: center;
        color: black !important;
        padding: 1rem 2rem !important;
        border-radius: 50px;
        display: inline-block;
        background-color: #FFF8E7; /* Change as needed */
        text-decoration: none;
    }

}
/* Hide on desktop */
.mobile-user-welcome {
    display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .mobile-user-welcome {
        display: block;
        text-align: center;
        margin-bottom: 1rem;
    }

    .mobile-user-welcome p {
        font-size: 34px;
        font-weight: bold;
        color: #fff;
        margin-top: -72px;  /* adjust if needed */
        margin-left: 6rem;  /* adjust if needed */
    }
}
/* Hide by default */
.mobile-only {
    display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .mobile-only {
      
        text-decoration: none;
        color: black;
    }
}
@media (max-width: 768px) {
  #navLinks {
    max-height: 100vh;       /* Prevents overflow beyond screen */
    /* overflow-y: auto;         */
    -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
    padding-bottom: 5rem;     /* Add space for footer/language links */
  }

  /* Optional: smooth behavior for dropdown expansion */
  .dropdown-menu {
    transition: all 0.3s ease;
  }
}

/* satrt css traection history page */
.transaction-history {
    max-width: 1101px;
    margin: 40px auto;
    font-family: Arial, sans-serif;
    padding-left: 20px;
    padding-right: 20px;
}

.transaction-history h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 28px;
}

.table-wrapper {
    overflow-x: auto; /* Horizontal scroll on small screens */
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 700px; /* Prevent squishing columns */
}

.styled-table thead {
    background-color: #eb8838ff;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.styled-table th, 
.styled-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
}

.styled-table tbody tr {
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.styled-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}


/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .transaction-history {
        padding-left: 10px;
        padding-right: 10px;
    }

    .styled-table th, 
    .styled-table td {
        padding: 8px 10px;
        font-size: 14px;
    }

    .swipe-message {
        display: block;
        text-align: center;
        font-size: 18px;
        color: #070707ff;
        font-weight: bold;
        margin-top: 10px;
    }
}

/* Hide swipe message on larger screens */
@media screen and (min-width: 769px) {
    .swipe-message {
        display: none;
    }
}

/* End css traection history page */


/* start contact form css */
    /* Mobile view fix for terms checkbox */
@media (max-width: 576px) {
  .form-group.terms label {
    white-space: normal !important;  /* allow text to wrap */
    align-items: flex-start;   
    margin-left: -8rem;      /* align checkbox top */
  }

  .form-group.terms input[type="checkbox"] {
    margin-top: 2px; /* better alignment with text */
  }
  .check{
    margin-left: 3rem;
  }
}


/* Frozen (disabled) button style */
#submitBtn:disabled {
    background-color: #9ba39d; /* gray */
    cursor: not-allowed;
    color: white;
}

/* Active (enabled) button style */
#submitBtn {
    background-color: #28a745; /* green */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
}
/* end contact form css */

.ptext{
  margin-top: -1rem;
}

.puja-link{
    color:#e84b02;      
   
}

/* ============================= */
/* MOBILE – SIMPLE SAME MENU    */
/* ============================= */
@media (max-width: 768px) {

  /* Hide dropdown toggle (All Puja) */
  .dropdown-toggle {
    display: none !important;
  }

  /* Show dropdown items normally */
  .dropdown-menu {
    display: contents !important;   /* Important: removes dropdown structure */
  }

  /* Make everything vertical */
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  /* Same style for all links */
  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 0;
   
    border-bottom: 1px solid rgba(255,255,255,0.8);
  }

  /* Remove last border */
  .nav-links a:last-child {
    border-bottom: none;
  }
}

