html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background-color: #E1F1FF;
  font-family: 'Volkhov', Inter, sans-serif;
  min-width: 0;
  min-height: 100vh;
}

/* Header Stylings */
header {
  padding: 0.625rem 2.5rem;
  /* 10px 40px */
  width: 100vw;
  background-color: #d9edff;
  /* Light blue background like the image */
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Spread logo, nav-links, and button */
  max-width: 1200px;
  margin: 0 auto;
}

.H-logo {
  height: 5rem;
  /* 80px */
  width: auto;
}

.menu-icon {
  display: none;
  /* Hidden on large screens */
  font-size: 2rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  margin-left: -25%;
  list-style: none;
  align-items: center;
}

.nav-links li {
  font-size: 1.125rem;
  font-weight: 500;
  color: #222;
  cursor: pointer;
}

.nav-links li:hover {
  color: #f97316;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
}

.header-container button {
  background-color: #f97316;
  color: white;
  border: none;
  padding: 0.9375rem 1.5625rem;
  border-radius: 0.5rem;
  width: 9.375rem;
  cursor: pointer;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.header-container button:hover {
  background-color: #e5640e;
  transform: translateY(-0.125rem);
}

.header-container button h3 {
  margin: 0;
  font-size: 1.25rem;
  text-align: center;
}

/* Header Responsive section */

.menu-icon {
  display: none;
  font-size: 1.25rem;
  /* 28px */
  cursor: pointer;
}

.close-icon {
  display: none;
  font-size: 2rem;
  /* 32px */
  cursor: pointer;
  position: absolute;
  color: orangered;
  top: 0.9375rem;
  /* 15px */
  right: 1.25rem;
  /* 20px */
}

/* #navLinks {
  display: flex;
  list-style: none;
  gap: 1.25rem;
} */

/* Responsive rules */
@media (max-width: 48rem) {
  /* 768px breakpoint */

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    /* Add some padding around */
  }

  .H-logo {
    height: 4rem;
    width: auto;
  }

  .menu-icon {
    display: block;
    font-size: 2.0rem;
    color: orangered;
    cursor: pointer;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden by default */
    width: 12rem;
    height: 40vh;
    border-radius: 0.625rem 0 0 0.625rem;
    background: #E1F1FF;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    font-size: 1rem;
    transition: right 0.3s ease-in-out;
    box-shadow: -0.125rem 0 0.3125rem rgba(0, 0, 0, 0.2);
    z-index: 100;
  }

  .nav-links.active {
    right: 0;
  }

  .close-icon {
    display: block;
    align-self: flex-end;
    font-size: 2rem;
    cursor: pointer;
  }

  .nav-links li {
    width: 100%;
  }

  .header-container button {
    display: none;
  }
}

/* hero section stylings */
.hero-section {
  position: relative;
  max-width: 1200px;
  /* Keeps section from being too wide */
  margin: 0 auto;
  /* Center section on big screens */
  gap: 2rem;
}

.hero-section-content {
  position: relative;
  /* Make OM-img align relative to content block */
  padding: 3.125rem 2.5rem;
  box-sizing: border-box;
}


.OM-img {
  position: absolute;
  height: 25.5rem;
  width: 25.5rem;
  left: 48%;
  /* Now this is 48% of the content column, not the full screen */
  top: 26%;
  opacity: 0.8;
  z-index: 0;
  color: #f58025;
  pointer-events: none;
  /* so it won’t block text clicks */
}



.hero-section-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
  color: black;
  margin-top: 1.25rem;
}

.span {
  color: #f58025;
  font-weight: bold;
}

.hero-section-content p {
  font-size: 1rem;
  color: #666;
  margin-top: 1.25rem;
  line-height: 1.5;
}

.hero-section-content button {
  color: orangered;
  font-size: 1rem;
  padding: 0.5rem 1.125rem;
  font-weight: 500;
  margin-top: 1.875rem;
  cursor: pointer;
  border: 1px solid orangered;
  background: #f5fbff;
  font-family: Inter, sans-serif;
}

.hero-section-img {
  flex: 1;
  max-width: 500px;
  margin: auto;
}

#mandir-images img {
  border-radius: 1.25rem;
  object-fit: cover;
  box-shadow: 0 0.25rem 0.625rem rgba(104, 117, 161, 0.12);
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    position: relative;
    align-items: start !important;
  }


  .OM-img {
    position: absolute;
    height: 11.5rem;
    width: 11.5rem;
    left: 65%;
    top: 34%;
    opacity: 0.8;
    z-index: 0;
    color: #f58025;
  }

  .hero-section-content {
    padding: 0;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .hero-section-content h1,
  .hero-title-main {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
  }

  .hero-section-content p,
  .hero-title-sub {
    font-size: 12px;
    margin-bottom: 0.5rem;
  }

  .hero-title-mobile-extra {
    font-size: 1.1rem;
    color: #222;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }

  .hero-section-content button {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    margin-top: 0;
    margin-bottom: 1.875rem;
  }

  .hero-section-img {
    width: 100%;
  }
}

/* Carousel Section */
.carousel.section {
  padding: 2rem 0;
  position: relative;
  width: 100%;
}

.specify {
  text-align: center;
}

.specify h2 {
  font-size: 3.5rem;
  color: #f58025;
  font-weight: bold;
}

.specify p {
  font-size: 1.3rem;
  color: #666;
  line-height: 1.6;
  opacity: 0.6;
  margin-bottom: 0;
}

/* Carousel wrapper */
.carousel-wrapper {
  perspective: 2000px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0 auto;
  position: relative;
  height: 400px;
  /* Reduced height */
}

#card-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: visible;
}

/* Individual Card */
.card {
  display: flex;
  flex-direction: row;
  width: 75%;
  /* Reduced width */
  max-width: 700px;
  /* Reduced max width */
  background-color: #E1F1FF;
  border-radius: 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  flex-shrink: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out;
  opacity: 0.6;
  padding: 1rem;
  z-index: 1;
  pointer-events: none;
}

/* Active, Next, Prev States */
.card.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}

.card.next {
  transform: translate(50%, -50%) scale(0.85);
  opacity: 0.6;
  z-index: 2;
  pointer-events: auto;
}

.card.prev {
  transform: translate(-150%, -50%) scale(0.85);
  opacity: 0.6;
  z-index: 2;
  pointer-events: auto;
}

.card:not(.active):not(.prev):not(.next) {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* Card Left (Images) */
.card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.main-image {
  width: 100%;
  max-width: 300px;
  /* Reduced size */
  height: auto;
  border-radius: 1.25rem;
  object-fit: cover;
  box-shadow: #00000040 25%;
}

.overlay-image {
  width: 150px;
  height: 240px;
  border-radius: 15px;
  object-fit: cover;
  position: absolute;
  bottom: -40px;
  left: 180px;
  box-shadow: #00000040 25%;
}

/* Card Right (Text) */
.card-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  flex: 1;
}

.header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.badge {
  background-color: #E1F7FF;
  color: #FFA000;
  font-weight: 700;
  font-style: italic;
  padding: 0.5rem 0.875rem;
  border-radius: 0.75rem;
  font-size: 1.8rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-right-radius: 45px;
  box-shadow: 0 4px 10px #6875A11A;
}

.card-right h3 {
  font-size: 1.5rem;
  font-weight: 400;
  color: black;
}

.card-right p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 0;
}

/* ===== Responsive Styles ===== */
@media screen and (max-width: 1024px) {
  .card {
    flex-direction: row;
    /* Keep horizontal in tablet */
    align-items: center;
    text-align: left;
    height: auto;
    padding: 1rem;
  }

  .card-left {
    padding: 0;
    justify-content: center;
  }

  .overlay-image {
    position: absolute;
    width: 120px;
    height: 180px;
    bottom: -30px;
    left: 150px;
  }

  .header-row {
    flex-direction: row;
    /* Keep horizontal in tablet */
    align-items: center;
  }

  .badge {
    margin-bottom: 0;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
  }

  .card-right h3 {
    font-size: 1.3rem;
  }

  .card-right p {
    font-size: 0.95rem;
  }
}


/* ===== Mobile Responsiveness ===== */
@media screen and (max-width: 768px) {
  .carousel-wrapper {
    height: auto;
    min-height: 360px;
    /* reduced slightly */
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .specify h2 {
    font-size: 2rem;
    color: #f58025;
    font-weight: bold;
  }

  .specify p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    opacity: 0.6;
    margin-bottom: 0;
  }

  #card-container {
    position: relative;
    width: 100%;
    height: auto;
  }

  .card {
    width: 85%;
    /* increased from 70% */
    max-width: 400px;
    /* allow bigger */
    height: auto;
    margin-top: 4%;
    /* reduced margin */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.78);
    /* slightly smaller scale */
    position: absolute;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    opacity: 0.7;
    transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out;
  }

  .card.active {
    transform: translate(-50%, -50%) scale(0.92);
    /* adjusted */
    opacity: 1;
    z-index: 3;
  }

  .card.next {
    transform: translate(55%, -50%) scale(0.72);
  }

  .card.prev {
    transform: translate(-155%, -50%) scale(0.72);
  }

  .main-image {
    width: 100%;
    max-width: 200px;
    border-radius: 0.75rem;
  }

  .overlay-image {
    display: none;
  }

  .card-right {
    padding: 0.5rem;
    text-align: center;
  }

  .badge {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 0.9rem;
    margin: 0 auto 0.4rem auto;
  }

  .card-right h3 {
    font-size: 1.1rem;
  }

  .card-right p {
    font-size: 0.85rem;
    line-height: 1.3;
  }
}

/* Even smaller screens */
@media screen and (max-width: 480px) {
  .card {
    width: 95%;
    /* increased from 85% */
    max-width: 280px;
    /* increased */
    margin-top: 2%;
    /* reduced margin */
  }

  .main-image {
    max-width: 180px;
  }

  .card-right h3 {
    font-size: 1rem;
  }

  .card-right p {
    font-size: 0.8rem;
  }

  .badge {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 0.8rem;
  }

  .carousel-wrapper {
    min-height: 340px;
    /* reduced slightly */
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

/* Base Mandir Showcase Styling */
/* Section wrapper */
.Pooja-Mandir {
  position: relative;
  padding: 2rem 4rem;
  max-width: 1400px;
  /* lock section width */
  margin: 0 auto;
}

/* Heading */
.Pooja-Mandir h2 {
  color: #FFA000;
  font-family: Inter, sans-serif;
  font-weight: bold;
  font-size: 35px;
  line-height: 1.4;
  margin-bottom: 2rem;
  text-align: start;
  /* ✅ stays on left */
}

/* Right mandala + logo group */
.spin {
  position: absolute;
  top: 2rem;
  right: 3rem;
  /* ✅ fixes it to the right side */
  width: 20rem;
  height: 20rem;
}

.mandala-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: swingRotateMandala 6s ease-in-out infinite;
  animation: rotateMandala 5s ease-in-out infinite;
  display: block;
}

@keyframes rotateMandala {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.ellipse,
.niveda-logo,
.pooja {
  position: absolute;
  object-fit: contain;
}

.ellipse {
  width: 11rem;
  height: 11rem;
  top: 22%;
  left: 24%;
}

.niveda-logo {
  width: 8.5rem;
  top: 40%;
  left: 30%;
}

.pooja {
  width: 5.3rem;
  top: 54%;
  left: 46%;
}

/* Mandir showcase row */
.mandir-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 3rem;
  position: relative;
}

/* Mandir items */
.mandir-item {
  text-align: center;
}

.large img {
  width: 18rem;
}

.medium img {
  width: 15rem;
  margin-top: 2rem;
}

.small img {
  width: 12rem;
  margin-top: 4rem;
}

.xsmall img {
  width: 9rem;
  margin-top: 6rem;
}

/* Titles */
.mandir-item h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 1rem 0 0.25rem;
}

.mandir-item h5 {
  font-size: 0.9rem;
  margin: 0;
  font-weight: normal;
}

/* Height markers */
.height-left,
.height-right {
  position: absolute;
  font-size: 1rem;
  color: #000;
  white-space: nowrap;
}

.height-left {
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
}

.height-right {
  right: 0;
  top: 65%;
  transform: translateY(-50%) rotate(270deg);
}

/* Desktop Layout stays exactly the same */
@media (min-width: 1024px) {
  .mandir-items-grid {
    display: flex;
    gap: 4.5rem;
    justify-content: center;
    align-items: flex-end;
    /* ✅ keeps items aligned to bottom baseline */
    flex-wrap: nowrap;
  }

  .mandir-item {
    flex: 1 1 auto;
    max-width: none;
  }
}

/* Tablet layout: 2 items per row */
@media (min-width: 768px) and (max-width: 1023px) {
  .mandir-items-grid {
    display: flex;
    flex-wrap: wrap;
    /* ✅ allow wrapping */
    justify-content: center;
    gap: 2rem;
    /* spacing between rows/columns */
  }

  .mandir-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
    position: relative;
    top: -2.875rem;
    width: 100%;
    transform: translateY(6.25rem);
    animation: slideUp 1s ease-out forwards;
  }

  .Pooja-Mandir h2 {
    color: #FFA000;
    font-family: Inter, sans-serif;
    font-weight: bold;
    font-size: 30px;
    line-height: 1.4;
    margin-bottom: 4rem;
    text-align: center;
    /* ✅ stays on left */
  }

  .spin {
    display: none;
  }

  .mandir-item {
    flex: 1 1 calc(50% - 2rem);
    /* ✅ two items per row */
    max-width: calc(50% - 2rem);
  }

  .height-left {
    left: -2%;
    top: 22%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    font-weight: bold;
  }

  .height-right {
    right: 7%;
    top: 76%;
    transform: translateY(-50%) rotate(270deg);
    transform-origin: center;
    font-weight: bold;
  }

}

@media (max-width: 767px) {
  .spin {
    display: none;
  }

  .Pooja-Mandir h2 {
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: -1%;
    margin-top: 5%;

  }

  .mandir-showcase {
    display: block;
    position: relative;
    top: 0;
    transform: translateY(0);
    padding: 1rem;
  }

  .height-left {
    left: -10%;
    top: 20%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    font-weight: bold;
  }

  .height-right {
    right: -5%;
    top: 68%;
    transform: translateY(-50%) rotate(270deg);
    transform-origin: center;
    font-weight: bold;
  }

  .mandir-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
  }

  .mandir-item.large img {
    width: 95%;
    max-width: 12rem;
  }

  .mandir-item.medium img {
    width: 83%;
    max-width: 10rem;
    margin-top: 1.2rem;
  }

  .mandir-item.small img {
    width: 75%;
    max-width: 10rem;
  }

  .mandir-item.xsmall img {
    width: 65%;
    max-width: 9rem;
    margin-top: 1rem;
  }

  .mandir-item {
    max-width: 100%;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
  }

  .mandir-item img {
    display: block;
    margin: 0 auto;
    height: auto;
    max-width: 100%;
  }

  /* ✅ Step-down hierarchy inside grid cells */
  .large img {
    width: 95%;
    /* fills almost full cell */
    max-width: 12rem;
  }

  .medium img {
    width: 85%;
    max-width: 11rem;
  }

  .small img {
    width: 75%;
    max-width: 10rem;
  }

  .xsmall img {
    width: 65%;
    max-width: 9rem;
  }

  .mandir-item h3 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0.75rem 0 0.25rem;
    text-align: center;
  }

  .mandir-item h5 {
    font-size: 0.875rem;
    margin: 0;
    text-align: center;
  }
}

/* Miscellaneous Section Styling */
.misc-section {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  gap: 40px;
}

.misc-hero-section-img {
  flex: 1;
  max-width: 450px;
  margin: 0;
  display: flex;
  justify-content: center;
}


.misc-hero-section-img img {
  width: 100%;
  max-width: 400px;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}


.misc-content {
  flex: 1;
  text-align: left;
  padding: 20px;
}

.misc-details {
  position: relative;
  padding: 50px 40px;
  box-sizing: border-box;
  margin-left: 3%;
}

.misc-hero-section-content {
  flex: 1;
  max-width: 500px;
  padding: 20px;
  box-sizing: border-box;
}

.misc-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}

/* Initial hidden state */
.animate-from-left,
.animate-from-right {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-from-left {
  transform: translateX(-100px);
}

.animate-from-right {
  transform: translateX(100px);
}

/* Active state when in viewport */
.in-view {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1023px) {
  .misc-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .misc-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    margin: 0 auto;
  }

  .misc-hero-section-img {
    margin: 0 auto 0px;
    max-width: 250px;
  }

  .misc-hero-section-img img {
    height: 250px;
    max-width: 250px;
  }

  .misc-hero-section-content {
    padding: 24px;
    margin: 0;
    text-align: center;
  }

  .misc-hero-section-content h2 {
    font-size: 24px;
    text-align: center;
    margin-top: -5%;
  }

  .misc-hero-section-content p {
    font-size: 16px;
    text-align: center;
    margin-bottom: -7%;
  }

  .misc-list div span {
    font-size: 16px;
    margin-top: -10%;
  }

  .misc-desc {
    font-size: 14px;
  }
}


/* Feedback Section Styling */
.feedback h2 {
  display: flex;
  font-size: xx-large;
  text-align: center;
  justify-content: center;
  color: #2C2C2C;
  margin-top: 2.5rem;
  /* 40px */
}

/* feedback Container styling */
#feedback-container {
  display: flex;
  gap: 1.25rem;
  /* 20px */
  overflow: hidden;
  width: 100%;
  max-width: 56.25rem;
  /* 900px */
  margin: 0 auto;
  padding: 2rem 0;
  /* 32px 0 */
  position: relative;
}

/* Feedback Card */
.feedback-card {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
  width: calc((100% - 2.5rem) / 3);
  /* 3 cards in row with 20px gaps */
  height: 18.125rem;
  /* 290px */
  padding: 1.25rem 1rem;
  flex-shrink: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(3.125rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feedback-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Image inside card */
.feedback-card img {
  width: 6.25rem;
  /* 100px */
  height: 6.25rem;
  /* 100px */
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  /* 16px */
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 0.1875rem solid #fff;
  /* 3px */
  box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1);
  /* 2px 6px */
}

/* Name */
.feedback-card h3 {
  font-size: 1.125rem;
  /* 18px */
  font-weight: bold;
  margin-bottom: -0.625rem;
  /* -10px */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Stars */
.stars {
  color: #f5b50a;
  font-size: 1rem;
  /* 16px */
  margin-bottom: 0.25rem;
  /* 4px */
}

/* Feedback text */
.feedback-card p {
  font-size: 0.75rem;
  /* 16px */
  color: #444;
  line-height: 1.3;
  margin-top: 0;
}

/* Arrows */
.feedback-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 75rem;
  /* 1200px */
  margin: 0 auto;
}

.arrow {
  background-color: #fff;
  border: none;
  font-size: 1.5rem;
  /* 18px */
  height: 35px;
  cursor: pointer;
  /* padding: 0.325rem; */
  /* 10px */
  border-radius: 45%;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  /* 0px 4px 12px */
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.arrow.visible {
  opacity: 1;
}

.arrow.left {
  left: 4.375rem;
}

.arrow.right {
  right: 5.625rem;
}

/* Feedback Responsiveness */
@media (max-width: 768px) {

  .feedback h2 {
    font-size: 1.1rem;
    display: flex;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    margin-top: -2%;
  }

  #feedback-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    width: 80%;
    padding: 1.25rem 0;
    justify-content: flex-start;
    align-items: center;
  }

   .feedback-card {
    flex: 0 0 85%;
    max-width: 85%;
    height: 22rem;
    scroll-snap-align: center;
    margin-left: 7%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .feedback-card img {
    width: 5rem;
    /* 120px */
    height: 5rem;
    /* 120px */
  }

  .feedback-card h3 {
    font-size: 1.125rem;
    height: auto;
    /* 18px */
  }

  .feedback-card p {
    font-size: 0.8rem;
    /* 16px */
    min-height: 5rem;
  }

  .stars {
    display: flex;
    justify-content: center;
  }

  .arrow.left {
    left: 1%;
  }

  .arrow.right {
    right: 1%;
  }
}

/* ===========================
   Mandir Gallery Main Section
   =========================== */
.mandir-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  /* ✅ stays inside page, no scrollbar issues */
  max-width: 56.25rem;
  /* 900px, same as your design */
  margin: 0 auto;
  /* ✅ centers horizontally */
  padding-top: 4rem;
  /* ✅ space from top */
  justify-content: center;
  opacity: 0;
  transform: translateY(5rem);
  transition: opacity 1.6s ease, transform 1.6s ease;
}

.mandir-gallery.show {
  opacity: 1;
  transform: translateY(0);
}

/* Carousel */
.mandir-carousel {
  position: relative;
  width: 100%;
  /* ✅ take full width of container */
  max-width: 50rem;
  /* ✅ prevents it from stretching too much */
  height: 28.125rem;
  /* 450px */
  perspective: 800px;
  margin: 0 auto;
  display: inline-block;
  justify-content: center;
  align-items: center;
}


.mandir-carousel-stage {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.mandir-slide {
  position: absolute;
  top: -0.6875rem;
  left: 0.5625rem;
  width: 82%;
  height: 82%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
  opacity: 0;
}

.mandir-slide img {
  width: 25rem;
  height: 25rem;
  object-fit: contain;
  border-radius: 0.75rem;
  margin: 0 1.875rem;
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

/* ===========================
   Mandir Options Section
   =========================== */
.mandir-options {
  align-items: center;
  display: flex;
  justify-content: center;
}

#mandir-dynamic-title {
  font-size: 1.75rem;
  color: #2c3e50;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.4s ease-in-out;
}

.mandir-options-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3125rem;
}

.mandir-option {
  margin-left: 4.0625rem;
  cursor: pointer;
  text-align: center;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
  position: relative;
}

.mandir-option.active {
  opacity: 1;
  transform: scale(1.1);
}

.mandir-option img {
  max-width: 9.375rem;
  height: 8.75rem;
  border-radius: 0.3125rem;
  background-color: #ffffff;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
}

.mandir-option p {
  font-size: 1.1rem;
  color: #34495e;
  margin-top: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
}

.mandir-options-list .mandir-option:hover {
  filter: drop-shadow(0%);
  opacity: 1;
}

.mandir-img-wrapper {
  position: relative;
  display: inline-block;
}

.see-more-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.45);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s;
  pointer-events: none;
}

.mandir-option.active .see-more-overlay {
  opacity: 0;
}

/* ===========================
   Responsive Styling
   =========================== */
@media (max-width: 768px) {
  .mandir-carousel {
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
  }

  .mandir-carousel-stage {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem;
    position: relative;
    left: 0;
    width: 100%;
    height: auto;
    transform: translateY(-40px);
  }

  .mandir-slide {
    flex: 0 0 80%;
    /* show 80% of screen, peek next/prev */
    opacity: 1 !important;
    transform: none !important;
    position: relative !important;
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mandir-slide img {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .mandir-options {
    margin-top: 2rem;
  }

  .mandir-options-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .mandir-option {
    margin: 0;
    width: 6rem;
    height: auto;
  }

  .mandir-option img {
    width: 5rem;
    height: 5rem;
  }

  .mandir-option p {
    font-size: 0.9rem;
  }
}


/*Footer Styles */
.footer-section {
  padding-top: 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  margin: auto;
}

.footer-box {
  background-color: #fff;
  padding: 30px 100px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.footer-top {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-logo-social {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  max-width: 100px;
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  gap: 50px;
}

.footer-link-col {
  display: flex;
  flex-direction: column;
}

.footer-link-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-link {
  text-decoration: none;
  color: #333;
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 14px;
}

.footer-copyright {
  color: #666;
}

.footer-terms {
  text-decoration: none;
  color: #666;
}

/* Responsive - Hide Footer on Mobile */
@media (max-width: 768px) {
  .footer-box {
    display: none;
  }
}

/* address section */
.address-section {
  font-family: Arial, sans-serif;
  text-align: left;
}

.address-section h2 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}

.address-description {
  font-size: 22px;
  color: #555;
  margin-bottom: 40px;
  text-align: center;
}

.social-section {
  display: flex;
  justify-content: center;
  gap: 95px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.social-item p {
  font-weight: bold;
  font-size: 18px;
  margin: 0;
}

.google-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.google-title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 4px;
}

.google-subtitle {
  font-size: 12px;
  color: #555;
  margin-bottom: 8px;
}

.google-score {
  font-size: 24px;
  font-weight: bold;
  color: #1a73e8;
}

.stars {
  color: #f5c518;
  font-size: 20px;
  margin-bottom: 10px;
}

.google-rating img {
  width: 30px;
  height: 30px;
}

@media screen {
  .address-section h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
  }

  .address-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
    text-align: center;
  }

  .social-section {
    display: flex;
    justify-content: center;
    gap: 75px;
    flex-wrap: wrap;
    margin-bottom: 50px;
  }
}

/* Hide Desktop View by Default */
.desktop-view {
  display: block;
  margin-top: 5%;
}

.mobile-view {
  display: none;
}

.footer-note {
  display: none;
}

@media (max-width: 768px) {
  .footer-note {
    display: block;
    text-align: center;
  }
}

/* Responsive Rules */
@media (max-width: 768px) {
  .google-rating {
    display: none;
  }

  .mobile-view {
    display: block;
    background-color: #fffaf0;
    padding: 30px 20px;
    text-align: left;
  }

  .google-rating-mobile {
    margin-bottom: 20px;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .google-title-mobile {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
  }

  .google-subtitle-mobile {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
  }

  .google-score-mobile {
    font-size: 24px;
    font-weight: bold;
    color: #1a73e8;
  }

  .stars-mobile {
    color: #f5c518;
    font-size: 20px;
    margin-bottom: 10px;
  }

  h4 {
    font-size: 18px;
    font-weight: bold;
    color: #ff8c00;
    /* Bright orange color as shown */
    margin-bottom: 20px;
    text-align: center;
  }

  .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    color: #ff8c00;
    margin-bottom: 15px;
  }

  .contact-item img {
    width: 20px;
    height: 20px;
    margin-top: -15px;
  }

  .contact-item a {
    color: #ff8c00;
    text-decoration: none;
  }

  .subscribe-box {
    display: flex;
    justify-content: center;
    margin: 20px 0;
  }

  .subscribe-box input {
    padding: 12px;
    width: 70%;
    border: none;
    border-radius: 25px 0 0 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    outline: none;
  }

  .subscribe-btn {
    padding: 12px 20px;
    background-color: #ff8c00;
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 18px;
  }

  .footer-note p {
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    background-color: black;
  }
}


.contact-header {
  display: none;
}

.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
}

.contact-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 450px;
  max-width: 500px;
}

.contact-card h3 {
  color: #ff6600;
  margin-bottom: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  margin: 26px 0;
  gap: 6px;
}

.info-item img {
  width: 32px;
  height: 32px;
  background: #fff8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px #f5802522;
}

.info-label {
  font-weight: bold;
  color: #f58025;
  min-width: 120px;
  font-size: 0.8em;
  margin-bottom: 3%;
}

.info-value {
  color: #222;
  font-size: 1em;
}

.info-item a.info-value {
  color: #f58025;
  text-decoration: underline;
  font-size: 1em;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin: 10px 0;
  margin-bottom: 4%;
  justify-content: flex-start;
}

.social-icons a img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  transition: transform 0.3s;
}

.social-icons a img:hover {
  transform: scale(1.2);
}

.form-group {
  margin-bottom: 6%;
}

.form-group input,
.form-group textarea {
  width: 95%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-group textarea {
  height: 100px;
}

.btn {
  background: #ff6600;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  margin-bottom: 2%;
}

.btn:hover {
  background: #e65c00;
}

.bottom-text {
  display: none;
}

.ilogo {
  height: 30px;
  width: 30px;
}

.flogo {
  height: 30px;
  width: 30px;
}

.white {
  z-index: 0;
  height: 30px;
  width: 30px;
}

.twitter {
  position: relative;
  z-index: 1;
  left: -23px;
  top: -10px;
  gap: 5px;
  height: 10px;
  width: 10px;
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .header-container {
    margin-bottom: 5%;
  }

  .contact-header {
    display: block;
    background: #F47C2A;
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-size: 1.1em;
    padding: 28px 10px 28px 10px;
    margin-bottom: 16px;
  }

  .container {
    flex-direction: column;
    padding: 10px;
    align-items: center;
  }

  .contact-card {
    max-width: 100%;
      min-width: 410px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-card h4{
    text-align: left;
  }

  .bottom-text {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* <-- Fix: hide off-screen to the right */
    width: 150px;
    height: 270px;
    border-radius: 10px;
    background: #E1F1FF;
    flex-direction: column;
    align-items: start;
    padding: 20px 20px;
    gap: 25px;
    font-size: 10px;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  }
  .nav-links.active {
    right: 0px;
  }

  .H-logo {
    position: relative;
    top: 10px;
  }

  .menu-icon {
    display: block;
    margin-left: 60%;
    color: orangered;
    font-size: 30px;
  }

  .close-icon {
    display: block;
  }

  .header-container button {
    display: none;
  }
}

/* Animation Scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-on-scroll.from-left {
  transform: translateX(-50px);
}

.animate-on-scroll.from-bottom {
  transform: translateY(50px);
}

.animate-on-scroll.start-animation {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.misc-hero-section-content p {
  font-size: 30px;
}

@media (max-width: 767px) {
  .misc-hero-section-content p {
    font-size: 16px;
    text-align: center;
  }
}
