@font-face {
  font-family: "TiroDevanagariMarathi";
  src: url("https://ssmandal.org/wp-content/themes/siddhabet-website/fonts/TiroDevanagariMarathi-Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}
.Container {
  font-family: "TiroDevanagariMarathi";
  width: auto;
  font-size: 1.8rem;
  line-height: 3.1rem;
  color: #793200;
  font-weight: 550;
  background: antiquewhite;
  text-align: justify;
}
h2 {
  font-family: "TiroDevanagariMarathi";
  line-height: 35px;
}
p {
  text-indent: 20px;
}

.Intro-Para {
  margin: 10px;
}

.button-text {
  margin-right: 25px;
}

.Separator {
  height: auto;
  max-width: 100%;
  border-radius: 0px;
  margin-top: -10px;
}

.frame {
  display: none;
}

@media (min-width: 768px) {
  .page_content .container {
    margin: 0 15%;
    background: antiquewhite;
    border-style: none !important;
    box-shadow:
      0 4px 4px rgba(0, 0, 0, 0.5),
      0 0 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 5px;
    margin-top: 40px;
    padding-left: 0;
    padding-right: 0;
  }
}

.Poster-Top {
  display: block;
  height: auto;
  max-width: 100%;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.Poster-Top-Mobile {
  display: none;
  height: auto;
  max-width: 100%;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
  .Poster-Top {
    display: none;
  }

  .Poster-Top-Mobile {
    display: block;
  }
}

.pagenavbar {
  overflow: hidden;
  display: flex;
  justify-content: center;
  font-size: 25px;
}
.pagenavbar a {
  float: left;
  display: block;
  color: #793200;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
}
.pagenavbar a.active.firstOpt {
  background-color: #ffaf6e;
  color: #990000;
  border-radius: 8px;
  box-shadow: 0 0px 5px rgb(0 0 0 / 35%);
}
.pagenavbar a.active.secondOpt {
  background-color: #ffaf6e;
  color: #990000;
  border-radius: 8px;
  box-shadow: 0 0px 5px rgb(0 0 0 / 35%);
}
.vertical-separator {
  display: inline-block;
  width: 1px;
  background-color: #990000;
  margin: 0 10px; /* Adjust spacing */
}
.content {
  padding: 20px;
}
.content section {
  display: none;
}
.content section:first-child {
  display: block;
}
.dropdown-button {
  background: #eeba6d;
  color: #570065;
  padding: 10px;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: background-color 0.3s ease;
  border-radius: 8px;
  font-weight: bold;
  font-size: 21px;
  box-shadow: 0 0px 5px rgb(0 0 0 / 35%);
}

.button1 {
  background: linear-gradient(90deg, #bff3f3 0%, rgb(42 42 176) 100%);
  color: #000c5b;
}

.dropdown-button::after {
  content: "\25BC"; /* Unicode for down arrow */
  font-size: 16px;
  position: absolute;
  right: 10px;
  transition: transform 0.3s ease;
}

.dropdown-button.open {
  background: #462644;
  color: #ffb300;
  text-shadow: 0 0 9px #e9aa57;
}

.dropdown-button.open.button1 {
  background: linear-gradient(90deg, rgb(42 42 176) 0%, #bff3f3 100%);
  color: white;
}

.dropdown-button.open::after {
  transform: rotate(180deg);
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 10px;
  margin-top: 10px;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  background: whitesmoke;
  border-radius: 10px;
  box-shadow: 0 0 20px -8px #000000;
  font-weight: 500;
  margin-bottom: 10px;
}

.dropdown-content.open {
  max-height: 999rem; /* Adjust according to your content height */
  padding: 10px;
}

.Ovee {
  height: auto;
  max-width: 100%;
  border-radius: 5px;
  width: calc(60rem + 1vw);
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 15px;
}

.Ovee:hover {
  box-shadow: 0 0 20px -8px #000000;
}

.Grid1 {
  display: grid;
  grid-template-columns: 50% 50%;
  margin-top: 10px;
  align-items: center;
}

.Grid1-Left {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.Grid1-Image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 6px;
  box-shadow: 0 0 20px -8px #000000;
  width: 100%;
}

.Grid1-Caption {
  text-align: center;
  font-weight: bold;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 3rem;
  margin-top: 15px;
}

@media all and (max-width: 768px) {
  .Grid1 {
    grid-template-columns: 1fr;
  }

  .Grid1-Image {
    width: 100% !important;
  }
}

@media all and (max-width: 1400px) {
  .Grid1 {
    grid-template-columns: 1fr;
  }

  .Grid1-Image {
    width: 70%;
  }
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery {
  position: relative;
  max-width: 900px;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  background: #000;
  margin: 0 auto;

  /* Allow full browser zoom */
  touch-action: auto;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
  will-change: transform;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;

  user-select: none;
  -webkit-user-drag: none;

  /*THIS IS THE KEY FIX */
  pointer-events: none;
}

/* ------------------ */
/* Progress bar */
/* ------------------ */
.progress-bar {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 0%;
  background: white;
  border-radius: 2px;
  transition: width 0.25s ease;
}

.arrow {
  position: static;

  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;

  font-size: 1.2rem;   /* 👈 smaller icon */
  width: 34px;         /* 👈 smaller size */
  height: 34px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition: all 0.2s ease;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.08);
}

/* ------------------ */
/* Mobile tweaks */
/* ------------------ */
@media (max-width: 768px) {
  .arrow {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }
}

/* ------------------ */
/* Controls container */
/* ------------------ */
.controls {
  display: flex;
  justify-content: center;
  gap: 12px;

  margin-top: 10px; /* 👈 small gap below image */

  /* Remove absolute positioning */
}

/* Control overall size */
.image-container {
  width: 100%;
  max-width: 420px; /* smaller on desktop */
}

/* Responsive image with shadow */
.image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 15px;

  /* Shadow effect */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Optional: even smaller on very large screens */
@media (min-width: 1200px) {
  .image-container {
    max-width: 360px;
  }
}