:root {
  --color-primary: #FF1E00;
  --color-secondary: #CD0407;
  --font-main: 'Kalam', cursive;
  --text-primary: #FF1E00;
  --text-secondary: #4A0013;
  --font-heading: 'Poppins', sans-serif;


  --bg: #fff;
  --accent: #c50000;
  --text: #111;
  --shadow: rgba(0, 0, 0, 0.08);
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: white;
  color: var(--text-secondary);
  height: 100%;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

.header-info {
  background-color: var(--color-primary);
  text-align: center;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  color: white;
  height: 30px;
  padding: 0px 80px;
}

.header-info > p{
  margin-top: 6px;
  align-content: center;
}

.navbar-bg {
  position: relative;
  height: 60px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: var(--color-primary);
}

.navbar-front {
  display: flex;
  justify-content: center;
  gap: 80px;
  width: 100%;
  align-items: center;
  position: absolute;
  top: 10px;
}

.navbar-front img {
  display: block;
}

.navbar-logo {
  height: 105px;
  width: 105px;
}

.mandal-name {
  max-width: 511px;
}

/* Hamburger button */
.hamburger {
  /* width: 44px;
  height: 44px; */
  padding: 20px 10px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
}

.hamburger:hover {
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 10px 0px;
}

.hamburger .lines {
  width: 28px;
  height: 3px;
  background: var(--text);
  position: relative;
  transition: transform .25s ease;
  border-radius: 10px;
}

.hamburger .lines::before,
.hamburger .lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--text);
  transition: transform .25s ease, top .25s ease, opacity .2s ease;
  border-radius: 10px;
}

.hamburger .lines::before {
  top: -7px;
}

.hamburger .lines::after {
  top: 7px;
}

/* When open: cross */
.hamburger.open .lines {
  transform: rotate(45deg);
}

.hamburger.open .lines::before {
  top: 0;
  transform: rotate(90deg);
}

.hamburger.open .lines::after {
  opacity: 0;
}

/* Dropdown panel */
.menu-panel {
  position: absolute;
  right: 135px;
  top: 80px;
  margin-top: 8px;
  width: 170px;
  background: var(--bg);
  /* box-shadow: 0 8px 20px var(--shadow); */
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
  border-radius: 10px;
  overflow: hidden;
  transform-origin: top right;
  transform: scaleY(0);
  transition: transform .22s cubic-bezier(.2, .9, .2, 1);
  pointer-events: none;
  z-index: 15;
}

.menu-panel.open {
  transform: scaleY(1);
  pointer-events: auto;
}

.menu-list {
  list-style: none;
  padding: 8px;
  margin: 0;
}

.menu-list li {
  border-radius: 6px;
  padding: 8px 12px;
  margin: 4px 0;
}

.menu-list li a {
  text-decoration: none;
  color: var(--text-secondary);
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
}

.menu-list li:hover {
  background: #fafafa;
}

.social-icons {
  position: fixed;
  top: 50%;
  right: 100px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.social-icons a {
  background-color: rgb(189, 189, 189);
  padding: 8px;
  position: relative;
  display: inline-block;
  border-radius: 30px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.social-icons a.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icons a.whatsapp:hover {
  background: linear-gradient(45deg, #25D366, #21c35e);
}

.social-icons a.youtube:hover {
  background: linear-gradient(45deg, #FF0000, #cc0000);
}

.social-icons a img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
  cursor: pointer;
  display: block;
  filter: invert(1);
}

.social-icons a:hover img {
  transform: scale(1.1);
}

.social-icons a::after {
  position: absolute;
  left: 100%;
  /* show text to the right of icon */
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  padding: 4px 8px;
  font-size: 14px;
  white-space: nowrap;
  border-radius: 0px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  font-family: var(--font-heading);
}

/* Individual icon labels */
.social-icons a.whatsapp::after {
  content: "व्हॉट्सॲप";
}

.social-icons a.instagram::after {
  content: "इंस्टाग्राम";
}

.social-icons a.youtube::after {
  content: "यूट्यूब";
}

/* Show label on hover */
.social-icons a:hover::after {
  opacity: 1;
}


.hero-section {
  padding-top: 100px;
  text-align: center;
}

.hero-image {
  height: 518px;
  width: auto;
}

.yearOfJourney {
  padding: 70px 0px;
  text-align: center;
}

.section-logo {
  width: 130px;
  height: auto;
}

.yearOfJourney section {
  font-size: 16px;
  text-align: center;
  line-height: 25px;
  margin: 40px auto;
  width: 750px;
}

.yearOfJourney>section>.para-heading {
  margin-bottom: 20px;
  font-family: var(--font-main);
}

.bold-tag-line {
  font-weight: bold;
  text-indent: 0em;
  text-align: center;
}

.para-heading {
  color: var(--color-primary);
  font-family: var(--font-heading);
  margin: 0px;
  font-size: 30px;
  font-weight: 700;
}

.history-section,
.committee-section,
.ganeshotsav-section,
.gallery-section,
.help-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 50px 0px;
}

.history-heading {
  display: flex;
  align-items: center;
  gap: 50px;
  width: fit-content;
}

.history-heading div,
.committee-section div {
  display: inline-block;
}

.history-heading>img {
  height: 150px;
}

.heading-with-icon {
  display: flex;
  text-align: center;
}

section {
  width: 780px;
  text-align: justify;
  line-height: 24px;
}

.history-section section h3 {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 16px 0;
  grid-gap: 22px;
}

.history-section section h3:after,
.history-section section h3:before {
  content: " ";
  display: block;
  border-bottom: 1px solid #ccc;
}

.history-section section>.sub-section {
  padding-left: 50px;
  width: fit-content;
  border-left-color: var(--color-primary);
}

.history-section section>.sub-section li {
  margin-bottom: 5px;
}

.sub-section h4,
.sub-section h3 {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}

.sub-section h4::after,
.sub-section h3::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0%;
  width: 80px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 15px;
}

section strong {
  font-size: 15px;
}

section p {
  text-indent: 2.5em;
}

.committee-section>#committe_list_img {
  width: 580px;
}

.committee-section div h1,
.committee-section div p {
  margin: 0;
  padding: 0;
}

.ganeshotsav-section img {
  width: 210px;
  height: auto;
  margin-bottom: 10px;
}

.gallery-section h1,
.gallery-section p {
  margin: 0;
  padding: 0;
  width: 474px;
  text-align: center;
}

.parent {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 780px;
  height: auto;
}

.parent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(100%);
  z-index: 1;
  transition: transform 0.4s ease, filter 0.6s ease;
  position: relative;
}

.parent img:hover {
  transform: scale(1.2);
  filter: grayscale(0%);
  z-index: 5;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90%;
  border-radius: 5px;
}

.lightbox .close,
.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 50px;
  font-family: var(--font-heading);
  padding: 10px;
  cursor: pointer;
  user-select: none;
}

.lightbox .close {
  top: 40px;
  right: 60px;
  font-size: 50px;
  transform: none;
}

.lightbox .prev {
  left: 60px;
}

.lightbox .next {
  right: 60px;
}

.lightbox .prev:hover,
.lightbox .next:hover,
.lightbox .close:hover {
  color: #ff9800;
}

.help-section p {
  margin: 0px;
  text-align: center;
}

.contact {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact h2 {
  font-family: 'Poppins', sans-serif;
}

.contact div iframe {
  border-radius: 4px;
  border: 1px solid lightgray;
  padding: 10px;
}

.map-heading p {
  width: 240px;
  margin: 0 auto;
}

.map-heading {
  margin: 20px 0px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.map-heading h2 > p {
  margin: 0;
}

/* Footer */

.footer {
  background-color: #BC0003;
  /* background-image: url(/Images/red-texture-backgrounds.webp); */
  color: white;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.footer-heading {
  margin: 15px auto;
}

.footer-heading h2 {
  font-size: 28px;
}

.footer-heading h2,
.map-heading h2 {
  font-weight: bold;
  display: inline;
}

.footer-heading p {
  font-size: 12px;
  font-weight: lighter;
  margin-bottom: 5px;
}

.footer-links a {
  font-size: 14px;
  color: white;
  text-decoration: none;
  margin: auto 10px;
  font-weight: lighter;
  transition: all 0.6s ease;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;   /* space below text */
  width: 0;
  height: 2px;    /* underline thickness */
  background-color: currentColor;
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: yellow;
}

.footer-social-media {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.footer-social-media img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.footer-social-media img:hover {
  transform: scale(1.2);
}

.footer-bottom p {
  font-size: 12px;
  padding-top: 15px;
  
}

.footer-bottom a {
  color: white;
}

.footer-bottom > .credit{
  margin: 0px;
  padding: 0px;
  padding-bottom: 10px;
  letter-spacing: 1px;
  font-size: 12px;
}

.footer-bottom .credit a:hover{
  color: yellow;
}
/* 
* {
  border: 1px solid red;
} */