/* =================== */
/* HEADER BASE STYLES  */
/* =================== */



.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, transform 0.3s ease-in-out;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.65) 40%,
      rgba(0, 0, 0, 0.35) 80%,
      rgba(0, 0, 0, 0.0) 100%);
  box-shadow: none;
}

.header .container {
  display: flex;
  flex-direction: column;
  padding: 6px 24px 10px;
  row-gap: 12px;
}

.location-info {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  margin-bottom: 2px;
  margin-top: 15px;
  opacity: 0.85;
  letter-spacing: 0.2px;
  text-align: center;
}

.location-info i {
  margin-right: 8px;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0 auto;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease, font-weight 0.15s ease;
  padding: 5px 0;
  opacity: 0.95;
}

.nav-link:hover,
.nav-link.active {
  font-weight: 700;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 6px 12px;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
    margin-right: auto;
  }

  .navbar {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-align: center;
  }

  .nav-links.mobile-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
  }
}

/* =========================== */
/* SPECIAL OCCASIONS SECTION   */
/* =========================== */
.occasion-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
  padding-right: 20px;
  padding-left: 20px;
  background-color: #ffffff;
  max-width: 1700px;
  margin-top: 90px;
  margin-bottom: 90px;
  margin-left: 20px;
  margin-right: 20px;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.occasion-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.occasion-image-slices {
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.slice {
  width: 55px;
  height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slice:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.occasion-content {
  max-width: 550px;
  flex: 1;
  min-width: 300px;
}

.occasion-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #7b0000;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  margin-bottom: 20px;
}

.occasion-content h2 .dot {
  color: #a30000;
  font-size: 1.8rem;
  margin-left: 6px;
  display: inline-block;
}

.occasion-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #3c2f2f;
  text-align: justify;
  margin-bottom: 30px;
  font-family: 'Roboto', sans-serif;
}

/* Decorative Elements */
.occasion-decorative-leaf {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  opacity: 0.6;
}

.occasion-decorative-circle-top,
.occasion-decorative-circle-bottom {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, #B8860B 60%, transparent 100%);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1;
}

.occasion-decorative-circle-top {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
}

.occasion-decorative-circle-bottom {
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}

/* =================== */
/* FACILITY SLIDER (Final Aligned Version) */
/* =================== */
.facility-slider {
  background-color: #7b0000;
  padding: 30px 3px;
  border-radius: 12px;
  max-width: 1080px;
  margin: 40px auto 0;
  overflow: hidden;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* The whole track (all 3 slides) */
.facility-track {
  display: flex;
  width: 300%;
  transition: transform 0.6s ease-in-out;
}

/* Each slide exactly takes 1/3 width of the track */
.facility-slide {
  flex: 0 0 33.333%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 20px 0;
  box-sizing: border-box;
  width: 100%;
}

/* 🟢 Fixed — each card fits perfectly within slide */
.facility-card {
  flex: 1 1 45%;
  /* Ensures exactly two cards per slide */
  max-width: 30%;
  background-color: #FFF7E1;
  color: #ffffff;
  border-radius: 8px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1rem;
  height: 70px;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.facility-card:hover {
  transform: translateY(-3px);
}

.facility-card i {
  font-size: 1.5rem;
  color: #7b0000;
  min-width: 24px;
}

.facility-card span {
  color: #7b0000;
  font-size: 0.95rem;
  text-transform: capitalize;
  line-height: 1.2;
}

/* Dots */
.facility-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.facility-dots .dot {
  width: 9px;
  height: 9px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: background-color 0.3s;
  cursor: pointer;
}

.facility-dots .dot.active {
  background-color: #ffffff;
}

/* Responsive Styles for Occasion Section */
@media (max-width: 992px) {
  .occasion-section {
    padding: 80px 5vw;
  }

  .occasion-container {
    flex-direction: column;
    gap: 40px;
  }

  .slice {
    height: 300px;
    width: 45px;
  }

  .occasion-content {
    text-align: center;
    max-width: 100%;
  }

  .occasion-content p {
    text-align: center;
  }

  .occasion-decorative-leaf {
    top: 10px;
    right: 10px;
  }

  .occasion-decorative-leaf svg {
    width: 80px;
    height: 80px;
  }

  .facility-slider {
    max-width: 700px;
    padding: 25px 30px;
  }

  .facility-slide {
    gap: 20px;
  }

  .facility-card {
    width: 180px;
    font-size: 0.95rem;
    padding: 12px 18px;
  }

  .facility-card i {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .occasion-section {
    padding: 60px 4vw;
  }

  .occasion-image-slices {
    gap: 6px;
  }

  .slice {
    width: 40px;
    height: 250px;
    border-radius: 30px;
  }

  .occasion-content h2 {
    font-size: 1.5rem;
  }

  .occasion-content p {
    font-size: 0.9rem;
  }

  .occasion-decorative-circle-top,
  .occasion-decorative-circle-bottom {
    width: 150px;
    height: 150px;
  }

  .occasion-decorative-circle-top {
    top: -75px;
  }

  .occasion-decorative-circle-bottom {
    bottom: -75px;
  }

  .facility-slider {
    max-width: 100%;
    padding: 20px 15px;
    margin: 30px auto 0;
  }

  .facility-slide {
    flex-direction: column;
    gap: 15px;
  }

  .facility-card {
    width: 100%;
    max-width: 280px;
    font-size: 0.9rem;
    padding: 12px 18px;
    justify-content: center;
  }

  .facility-card i {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .occasion-section {
    padding: 50px 3vw;
  }

  .occasion-image-slices {
    gap: 4px;
  }

  .slice {
    width: 35px;
    height: 220px;
    border-radius: 25px;
  }

  .occasion-content h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .occasion-content p {
    font-size: 0.85rem;
    margin-bottom: 25px;
    line-height: 1.6;
  }

  .occasion-decorative-leaf {
    display: none;
  }

  .occasion-decorative-circle-top,
  .occasion-decorative-circle-bottom {
    width: 120px;
    height: 120px;
  }

  .occasion-decorative-circle-top {
    top: -60px;
  }

  .occasion-decorative-circle-bottom {
    bottom: -60px;
  }

  .facility-slider {
    padding: 18px 12px;
    margin: 25px auto 0;
  }

  .facility-card {
    padding: 10px 15px;
    font-size: 0.85rem;
    min-height: 55px;
  }

  .facility-card i {
    font-size: 1.1rem;
  }

  .facility-dots {
    margin-top: 12px;
    gap: 6px;
  }

  .facility-dots .dot {
    width: 7px;
    height: 7px;
  }
}

/* SERVICES PAGE FAQ */
.service-faq-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 48px 0 70px 0;
  background: #fdf8f3;
  border-radius: 0;
  box-shadow: none;
  z-index: 1;
}

.service-faq-title {
  font-family: "League Spartan", sans-serif;
  text-align: center;
  font-size: 50px;
  margin-bottom: 40px;
  color: #861010;
  font-weight: 400;
}

.service-faq-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  max-width: 1050px;
  margin: 0 auto;
}

.service-faq-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-faq-item {
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-faq-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.service-faq-question {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  font-family: "League Spartan", sans-serif;
  font-size: 18px;
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  color: #2c2c54;
  letter-spacing: 0.5px;
}

.service-faq-icon {
  font-size: 24px;
  font-weight: bold;
  min-width: 24px;
  transition: all 0.3s ease;
  color: #861010;
}

.service-faq-icon::before {
  content: '+';
}

.service-faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px 0 59px;
  background: #fafafa;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.service-faq-answer p {
  font-family: "League Spartan", sans-serif;
  font-size: 16px;
  color: #333;
  margin: 15px 0;
  line-height: 1.5;
}

/* ACTIVE */
.service-faq-item.active .service-faq-answer {
  max-height: 200px;
  padding: 15px 20px 15px 59px;
}

.service-faq-item.active .service-faq-icon::before {
  content: '−';
}

/* Responsive */
@media (max-width: 1200px) {
  .service-faq-container {
    max-width: 900px;
  }
}

@media (max-width: 992px) {
  .service-faq-container {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .service-faq-container {
    grid-template-columns: 1fr;
    max-width: 95vw;
  }
}


/* ======================================= */
/* ===== ANIMATED HALLS SECTION STYLES ===== */
/* ======================================= */
.premier-halls-section {
  padding: 80px 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.premier-halls-section .section-title {
  font-family: 'Playfair Display', serif;
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #861010;
}

:root {
  --hall-primary-color: #8B0000;
  --hall-secondary-color: #B8860B;
  --hall-text-color: #333333;
  --hall-bg-color: #fdfdfd;
  --hall-white-color: #ffffff;
  --hall-border-radius: 15px;
}

/* Slider Structure */
.slider-wrapper {
  position: relative;
  width: 1200px;
  max-width: 100%;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
  background-color: var(--hall-bg-color);
  border-radius: var(--hall-border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  /* Start from bottom */
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.8s ease, visibility 0.8s;
  padding: 40px;
  box-sizing: border-box;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.slide.exit {
  transform: translateY(-50px);
  /* Exit to top */
}

/* Slide Content */
.content-wrapper {
  width: 100%;
  height: 100%;
  border: 2px solid var(--hall-secondary-color);
  border-radius: var(--hall-border-radius);
  padding: 20px;
  box-sizing: border-box;
  position: relative;
}

.main-banner {
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: var(--hall-border-radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--hall-white-color);
  text-align: center;
  padding: 20px;
  position: relative;
}

.main-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--hall-border-radius);
}

.main-title,
.main-description,
.main-hall-box {
  z-index: 2;
}

.main-hall-box {
  background-color: rgba(139, 0, 0, 0.8);
  padding: 10px 30px;
  border-radius: 8px;
  border: 1px solid var(--hall-secondary-color);
}

.main-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  margin: 0;
}

.main-description {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  max-width: 600px;
  margin: 20px 0 0;
  line-height: 1.6;
}

.location-pin {
  position: absolute;
  top: 50px;
  right: 60px;
  width: 40px;
  height: 40px;
  background-color: #1a73e8;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  z-index: 3;
  animation: hall-pulse 2s infinite ease-in-out;
}

/* Features Grid */
.features-grid {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 200px;
  position: relative;
}

.feature-item.highlight {
  margin-top: -20px;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: var(--hall-primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.feature-icon-wrapper:hover {
  transform: scale(1.1);
}

.feature-icon-wrapper img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.feature-line {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 250px;
  height: 2px;
  background-color: var(--hall-secondary-color);
  z-index: 1;
}

.feature-item:first-child .feature-line {
  transform: translateX(-50%);
}

.feature-item:last-child .feature-line {
  display: none;
}

.feature-item.highlight .feature-box {
  background-color: var(--hall-primary-color);
  color: var(--hall-white-color);
  padding: 20px;
  border-radius: var(--hall-border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin-top: -20px;
}

.feature-description {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--hall-text-color);
}

.feature-item.highlight .feature-description {
  color: var(--hall-white-color);
}

/* Staggered Animations */
.slide.active .main-hall-box,
.slide.active .main-description,
.slide.active .location-pin,
.slide.active .feature-item {
  opacity: 0;
  animation-fill-mode: both;
}

.slide.active .main-hall-box {
  animation: hall-fade-in-zoom 0.6s 0.2s;
}

.slide.active .main-description {
  animation: hall-fade-in-up 0.6s 0.4s;
}

.slide.active .location-pin {
  animation: hall-fade-in-zoom 0.6s 0.6s, hall-pulse 2s 1.2s infinite ease-in-out;
}

.slide.active .feature-item:nth-child(1) {
  animation: hall-fade-in-up 0.5s 0.6s;
}

.slide.active .feature-item:nth-child(2) {
  animation: hall-fade-in-up 0.5s 0.7s;
}

.slide.active .feature-item:nth-child(3) {
  animation: hall-fade-in-up 0.5s 0.8s;
}

.slide.active .feature-item:nth-child(4) {
  animation: hall-fade-in-up 0.5s 0.9s;
}

/* Interactive Click Animation */
#interactive-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#interactive-overlay.visible {
  opacity: 1;
  visibility: visible;
}

#interactive-icon-loader {
  position: fixed;
  z-index: 1000;
  background-color: var(--hall-primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#interactive-icon-loader.visible {
  opacity: 1;
  visibility: visible;
}

#interactive-icon-loader .loader-spinner {
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #fff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: hall-spin 1s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
}

#interactive-icon-loader.final-state .loader-spinner {
  opacity: 1;
}

#close-loader {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease 0.5s;
}

#interactive-icon-loader.final-state #close-loader {
  opacity: 1;
}

/* Keyframes */
@keyframes hall-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hall-fade-in-zoom {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hall-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes hall-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .premier-halls-section {
    padding: 60px 10px;
  }

  .slider-container {
    height: auto;
    padding-bottom: 20px;
  }

  .features-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .feature-line {
    display: none;
  }

  .feature-item.highlight {
    margin-top: 0;
  }

  .content-wrapper,
  .slide {
    padding: 20px;
  }
}

/* ===============================
   Service Hero Section (Duplicated from Contact Page)
=============================== */
.service-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 60vh;
  height: 60vh;
  background: url("../images/home/hero-banner.webp") top center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 120px;
  opacity: 0;
  transition: opacity 1s ease-in;
}

.service-hero.loaded {
  opacity: 1;
}

.service-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* ===============================
   Breadcrumbs
=============================== */
.service-breadcrumbs {
  position: absolute;
  left: 10%;
  top: 75%;
  transform: translateX(0);
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  z-index: 20;
}

.service-breadcrumbs a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

.service-breadcrumbs a:hover {
  opacity: 1;
  color: #c08a00;
}

.service-breadcrumbs .current {
  font-weight: 700;
}

/* ===============================
   Hero Form Section
=============================== */
.service-form-section {
  position: absolute;
  bottom: -70px;
  left: 10%;
  transform: translateX(-50%);
  background: #fff;
  max-width: 1200px;
  width: 90%;
  padding: 30px 0;
  border-radius: 10px;
  border: 2px solid #c08a00;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  margin: 0 auto;
  overflow: hidden;
}

.service-form {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  align-items: center;
}

.service-form-group {
  flex: 1;
  min-width: 200px;
  max-width: 200px;
  border: 1.5px solid #780000;
  border-radius: 7px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}

.service-form-group label {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 8px;
  margin-left: 45px;
  color: #515151;
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-form-group input,
.service-form-group select {
  border: none;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 5px;
  width: 100%;
  color: #6f6f6f;
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'League Spartan', Arial, sans-serif;
  background-color: rgba(120, 0, 0, 0.11);
  outline: none;
  text-align: left;
}

.service-form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 6px 46px 6px 16px;
  background-image: url("../Contact Us/assets/dropdonw.png");
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) 50%;
  background-size: 20px;
  cursor: pointer;
  transition: background-image 0.25s, filter 0.25s;
}

.service-form-group select:focus,
.service-form-group select:active {
  background-image: url("../Contact Us/assets/updown.png");
  animation: dropdownArrowAnim 0.25s linear;
}

@keyframes dropdownArrowAnim {
  0% {
    filter: opacity(0.6) blur(1px);
  }

  100% {
    filter: opacity(1) blur(0);
  }
}

.service-form-group select:focus {
  background-image: url("../Contact Us/assets/dropdonw.png");
}

.service-form-group select::-ms-expand {
  display: none;
}

.service-form-group select#service-facilities,
.service-form-group select#service-facilities option {
  font-family: 'LEMON MILK', 'Lemon Milk', Arial, sans-serif !important;
  font-weight: 400 !important;
  color: #939393 !important;
  font-size: 13px;
}

.service-submit button {
  background: linear-gradient(135deg, #8b0000, #780000);
  border: none;
  color: #fff;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  border-radius: 7px;
  font-weight: 300;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.service-submit {
  display: flex;
  align-items: center;
}

.service-submit button:hover {
  background: linear-gradient(135deg, #a52a2a, #8b0000);
  transform: translateY(-2px);
}

/* =====================================================
   RESPONSIVE FIXES — Mobile & Tablet
===================================================== */

/* ===== Tablet View (max-width: 1024px) ===== */
@media (max-width: 1424px) {
  .service-hero {
    height: auto;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  .service-breadcrumbs {
    position: relative;
    bottom: -190px;
    left: -345px;
    margin-top: 250px;
    margin-bottom: 30px;
    text-align: center;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .service-form-section {
    position: absolute;
    bottom: -70px;
    transform: translateX(-50%);
    background: #fff;
    max-width: 980px;
    width: 90%;
    padding: 22px 0;
    border-radius: 10px;
    border: 2px solid #c08a00;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 10px;
    margin: 0 auto;
    overflow: hidden;
  }

  .service-form {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .service-form-group {
    flex: 1;
    min-width: 160px;
    max-width: 180px;
    border: 1.5px solid #780000;
    border-radius: 7px;
    padding: 6px 7px;
    background: transparent;
    display: flex;
    flex-direction: column;
    margin: 0 2px;
  }

  .service-form-group label {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
    margin-left: 45px;
    color: #515151;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .service-form-group input,
  .service-form-group select {
    border: none;
    font-size: 12px;
    padding: 0px 12px;
    border-radius: 5px;
    width: 100%;
    color: #939393;
    text-transform: uppercase;
    font-weight: 600;
    background-color: rgba(120, 0, 0, 0.11);
    outline: none;
    text-align: left;
    margin-bottom: 0;
    height: 30px;
  }

  .service-form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 5px 34px 5px 12px;
    background-image: url("../Contact Us/assets/dropdonw.png");
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) 50%;
    background-size: 16px;
    cursor: pointer;
    transition: background-image 0.25s, filter 0.25s;
  }

  .service-form-group select:focus,
  .service-form-group select:active {
    background-image: url("../Contact Us/assets/updown.png");
    animation: dropdownArrowAnim 0.25s linear;
  }

  .service-form-group select::-ms-expand {
    display: none;
  }

  .service-submit {
    display: flex;
    align-items: center;
    margin-left: 4px;
    margin-top: 0;
    grid-column: unset;
    text-align: unset;
  }

  .service-submit button {
    width: 74px;
    min-width: 64px;
    font-size: 13px;
    padding: 8px 0;
    background: linear-gradient(135deg, #8b0000, #780000);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(200, 120, 0, 0.08);
    transition: background 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .service-submit button:hover {
    background: linear-gradient(135deg, #a52a2a, #8b0000);
    box-shadow: 0 4px 16px rgba(200, 120, 0, 0.12);
    transform: translateY(-1px);
  }
}

@media (max-width: 1024px) {
  .service-hero {
    height: auto;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  .service-breadcrumbs {
    position: relative;
    bottom: -190px;
    left: 0;
    margin-top: 250px;
    margin-bottom: 30px;
    margin-left: 5%;
    margin-right: auto;
    text-align: left;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
    max-width: calc(90% - 20px);
  }

  .service-form-section {
    position: relative;
    bottom: -170px;
    left: unset;
    transform: none;
    margin: 0 auto 60px;
    width: 90%;
    max-width: 800px;
    padding: 24px 28px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .service-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
    width: 100%;
  }

  .service-form-group {
    min-width: auto;
    max-width: 100%;
  }

  .service-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 12px;
  }

  .service-submit button {
    width: 60%;
    min-width: 180px;
    max-width: 320px;
    padding: 14px 0;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

}

/* ===== Mobile View (max-width: 768px) ===== */
@media (max-width: 768px) {
  .service-hero {
    height: auto;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  .service-breadcrumbs {
    position: relative;
    bottom: -190px;
    left: 0;
    margin-top: 250px;
    margin-bottom: 30px;
    margin-left: 5%;
    margin-right: auto;
    text-align: left;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
    max-width: calc(90% - 20px);
  }

  .service-form-section {
    position: relative;
    bottom: -170px;
    left: unset;
    transform: none;
    margin: 0 auto 60px;
    width: 90%;
    max-width: 600px;
    padding: 24px 28px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .service-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
    width: 100%;
  }

  .service-form-group {
    min-width: auto;
    max-width: 100%;
  }

  .service-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 12px;
  }

  .service-submit button {
    width: 60%;
    min-width: 180px;
    max-width: 320px;
    padding: 14px 0;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
}

@media (max-width: 650px) and (min-width: 481px) {
  .service-hero {
    height: auto;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  .service-breadcrumbs {
    position: relative;
    bottom: -190px;
    left: 0;
    margin-top: 250px;
    margin-bottom: 30px;
    margin-left: 5%;
    margin-right: auto;
    text-align: left;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
    max-width: calc(90% - 20px);
  }

  .service-form-section {
    position: relative;
    bottom: -170px;
    left: unset;
    transform: none;
    margin: 0 auto 60px;
    width: 90%;
    max-width: 420px;
    padding: 28px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .service-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 28px;
    width: 100%;
  }

  .service-form-group {
    min-width: auto;
    max-width: 100%;
  }

  .service-submit {
    grid-column: 1 / -1;
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .service-submit button {
    width: 60%;
    min-width: 180px;
    max-width: 320px;
    padding: 14px 0;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
}

/* ===== Hide breadcrumbs from 300px to 380px ===== */
@media (max-width: 380px) and (min-width: 300px) {
  .service-breadcrumbs {
    display: none !important;
  }
}

/* ===== Mobile View 300px-450px (Exact Design Match) ===== */
@media (max-width: 450px) and (min-width: 300px) {
  .service-hero {
    height: auto;
    min-height: 50vh;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 60px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .service-form-section {
    position: relative;
    bottom: auto;
    left: unset;
    transform: none;
    margin: 20px auto 40px;
    width: calc(100% - 32px);
    max-width: calc(100vw - 32px);
    padding: 20px 16px;
    background: #ffffff;
    border: 2px solid #c08a00;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: stretch;
    box-sizing: border-box;
    overflow: hidden;
  }

  .service-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px;
    width: 100%;
    grid-template-columns: unset !important;
  }

  .service-form-group {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    border: 1.5px solid #780000;
    border-radius: 8px;
    padding: 10px 12px;
    background: transparent;
    display: flex;
    flex-direction: column;
    margin: 0;
    transition: border-color 0.2s ease, border-width 0.2s ease;
    box-sizing: border-box;
    overflow: hidden;
  }

  .service-form-group label {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
    margin-left: 0;
    color: #515151;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .service-form-group>div {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }

  .service-form-group img {
    width: 20px !important;
    height: 20px !important;
    margin-right: 8px !important;
    flex-shrink: 0;
  }

  .service-form-group input,
  .service-form-group select {
    border: none;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 5px;
    width: 100% !important;
    flex: 1;
    min-width: 0;
    color: #6f6f6f;
    background-color: rgba(120, 0, 0, 0.11);
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'League Spartan', Arial, sans-serif;
    outline: none;
    text-align: left;
    box-sizing: border-box;
  }

  .service-form-group input[type="date"] {
    color: #6f6f6f;
    font-family: 'League Spartan', Arial, sans-serif;
    font-weight: 600;
  }

  .service-form-group:focus-within {
    border: 2px solid #780000 !important;
    box-shadow: 0 0 0 1px rgba(120, 0, 0, 0.2);
  }

  .service-form-group input:focus,
  .service-form-group select:focus {
    outline: none;
    color: #6f6f6f;
  }

  .service-form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 8px 40px 8px 12px;
    background-image: url("../Contact Us/assets/dropdonw.png");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) 50%;
    background-size: 18px;
    cursor: pointer;
  }

  .service-form-group select:focus,
  .service-form-group select:active {
    background-image: url("../Contact Us/assets/updown.png");
  }

  .service-form-group select::-ms-expand {
    display: none;
  }

  .service-form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
    cursor: pointer;
  }

  .service-submit {
    grid-column: unset;
    width: 100%;
    margin-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .service-submit button {
    width: 100%;
    min-width: unset;
    max-width: 100%;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0;
    background: linear-gradient(135deg, #8b0000, #780000);
    border-radius: 8px;
  }

  .service-submit button:hover {
    background: linear-gradient(135deg, #a52a2a, #8b0000);
    transform: translateY(-1px);
  }

  .service-submit button i {
    font-size: 16px;
  }
}

/* Show breadcrumbs from 381px to 450px */
@media (max-width: 450px) and (min-width: 381px) {
  .service-breadcrumbs {
    display: inline-flex !important;
    position: relative;
    bottom: auto;
    left: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 5%;
    text-align: left;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
    max-width: calc(90% - 20px);
    z-index: 20;
  }
}

/* ===== Specific Fix for 370px-450px to prevent overflow ===== */
@media (max-width: 450px) and (min-width: 370px) {
  .service-hero {
    width: 100%;
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .service-form-section {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-left: 12px;
    margin-right: 12px;
    padding: 18px 14px;
    box-sizing: border-box;
  }

  .service-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .service-form-group {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 10px;
    box-sizing: border-box;
  }

  .service-form-group>div {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .service-form-group input,
  .service-form-group select {
    padding: 8px 8px;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .service-form-group img {
    width: 18px !important;
    height: 18px !important;
    margin-right: 6px !important;
  }
}

/* ===== Small Mobile View (max-width: 480px, excluding 300-450px range) ===== */
@media (max-width: 299px),
(min-width: 451px) and (max-width: 480px) {
  .service-hero {
    height: auto;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  .service-breadcrumbs {
    position: relative;
    bottom: -190px;
    left: 0;
    margin-top: 250px;
    margin-bottom: 30px;
    margin-left: 5%;
    margin-right: auto;
    text-align: left;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
    max-width: calc(90% - 20px);
  }

  .service-form-section {
    position: relative;
    bottom: -170px;
    left: unset;
    transform: none;
    margin: 0 auto 60px;
    width: 90%;
    max-width: 320px;
    padding: 24px 28px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .service-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
    width: 100%;
  }

  .service-form-group {
    min-width: auto;
    max-width: 100%;
  }

  .service-form-group input {
    width: 60%;
  }

  .service-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 12px;
  }

  .service-submit button {
    width: 50%;
    min-width: 200px;
    padding: 12px 0;
    font-size: 13px;
  }
}

@media (max-width: 365px) {
  .service-hero {
    height: auto;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  .service-breadcrumbs {
    position: relative;
    bottom: -190px;
    left: 0;
    margin-top: 250px;
    margin-bottom: 30px;
    margin-left: 5%;
    margin-right: auto;
    text-align: left;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
    max-width: calc(90% - 20px);
  }

  .service-form-section {
    position: relative;
    bottom: -170px;
    left: unset;
    transform: none;
    margin: 0 auto 60px;
    width: 90%;
    max-width: 250px;
    padding: 24px 28px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .service-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
    width: 100%;
  }

  .service-form-group {
    min-width: auto;
    max-width: 100%;
  }

  .service-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 12px;
  }

  .service-submit button {
    width: 50%;
    min-width: 200px;
    padding: 12px 0;
    font-size: 13px;
  }
}



/* ========================================================= */
/* ===== GSAP SCROLL-CONTROLLED STACKING CSS (FINAL) ===== */
/* ========================================================= */

.pinning-container {
  height: 400vh;
  /* 100vh for the view + 300vh for 3 card animations */
  position: relative;
  background-color: #FDFCF9;
}

.animation-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* --- Layer 1: The Animating Cards --- */
.cards-stack {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 650px;
  z-index: 1;
}

.content-card {
  position: absolute;
  left: 0;
  width: 100%;
  /* height: 70%; */
  background-color: #ffffff;
  border: 7px solid #C08A00;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;

  /* Temporary numbering */
  font-size: 5rem;
  color: #7b0000;
  font-weight: bold;
  font-family: sans-serif;
  /* display: flex; justify-content: center; align-items: center; */
}

/* Cascading GAP and Z-INDEX */
.content-card[data-index="0"] {
  top: 0;
  z-index: 1;
}

.content-card[data-index="1"] {
  top: 20px;
  z-index: 2;
}

.content-card[data-index="2"] {
  top: 40px;
  z-index: 3;
}

.content-card[data-index="3"] {
  top: 60px;
  z-index: 4;
}

/* 
* THE KEY CHANGE: Set the initial position for non-active cards here.
* They start below the browser window.
*/
.content-card:not([data-index="0"]) {
  transform: translateY(100vh);
}



/* --- Layer 2: The Static Frame --- */
.static-frame {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* ... (The rest of the static-frame and semi-circle CSS is unchanged and correct) ... */
.static-frame .semi-circle {
  position: absolute;
}

.static-frame .semi-circle.top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 26px;
  background-color: #FFDE8A;
  border-radius: 0 0 120px 120px;
  box-shadow:
    0 0 0 2px #C89411,
    0px 5px 5px rgba(200, 148, 17, 0.55);
  z-index: 2;
}

.static-frame .semi-circle.left {
  left: -5%;
  top: 38%;
  transform: translateY(-50%);
  width: 120px;
  height: 220px;
  background-color: #F0E6E5;
  border-radius: 0 120px 120px 0;
}

.static-frame .semi-circle.right {
  right: -5%;
  top: 38%;
  transform: translateY(-50%);
  width: 120px;
  height: 220px;
  background-color: #F0E6E5;
  border-radius: 120px 0 0 120px;
}







/* ================================================================= */
/* ===== CARD 1 CONTENT STYLES (FINAL DEFINITIVE VERSION) ===== */
/* ================================================================= */

/* This removes the temporary number */
.content-card[data-index="0"]::before {
  content: '';
}

/* 
* The main grid container for the entire card.
* NO PADDING here to allow the banner to be full-width.
*/
.card-grid-container {
  display: grid;
  grid-template-rows: auto 1fr;

  height: 100%;
  box-sizing: border-box;
}

/* --- ROW 1: Banner Styles --- */
.hall-banner {
  width: 100%;
  /* The banner's top corners must match the main card's outer radius */
  border-radius: 7px 7px 0 0;

  background-image: url("../images/home/About-1.webp");
  /* <-- YOUR IMAGE URL */
  background-size: cover;
  background-position: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding: 35px;
  box-sizing: border-box;
  position: relative;
}

.content-card[data-index="0"] .hall-banner { background-image: url("../images/home/About-1.webp"); }
.content-card[data-index="1"] .hall-banner { background-image: url("../images/home/Happiness-1.jpg"); }
.content-card[data-index="2"] .hall-banner { background-image: url("../images/home/Happiness-2.jpg"); }
.content-card[data-index="3"] .hall-banner { background-image: url("../images/home/Happiness-3.webp"); }

/* The dark overlay for the banner */
.hall-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.1); */
  border-radius: 7px 7px 0 0;
  /* Match the parent's radius */
}

.hall-banner>* {
  z-index: 2;
}

/* ... (The rest of the .hall-banner styles like .hall-title-box, .hall-title, etc., remain exactly the same) ... */
.hall-title-box {
  background-color: rgba(92, 0, 0, 0.60);
  /* 80% opacity background */
  border: 1px solid rgba(255, 184, 0, 0.80);
  /* 80% opacity border */
  padding: 10px 40px;
  border-radius: 4px;
  /* margin-bottom: 20px; */
}

.hall-title {
  font-size: 34px;
  margin: 0;
  opacity: 95%;
}

.hall-description {
  font-size: 16px;
  max-width: 800px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.underline {
  width: 200px;
  height: 3px;
  background-color: #C08A00;
  border-radius: 2px;
}


/* --- ROW 2: Features Grid Styles (with semi-circles re-added) --- */
.features-grid-wrapper {
  position: relative;
  padding: 30px 60px 40px;
  /* Adjusted padding */
  margin-top: -20px;
}

/* --- THE FIX: Re-adding the Decorative Semi-Circles --- */
.feature-deco-circle {
  position: absolute;
  z-index: 1;
}

.feature-deco-circle.left {
  position: absolute;
  left: 0px;
  /* sits flush on border */
  top: 50%;
  transform: translateY(-50%);

  width: 40px;
  height: 80px;

  background-color: #780000;
  border-radius: 0 80px 80px 0;
  z-index: 5;
}

.feature-deco-circle.bottom {
  position: absolute;
  bottom: 0px;
  /* overlaps border exactly */
  left: 79%;
  transform: translateX(-50%);

  width: 70px;
  height: 35px;

  background-color: #F8D88B;
  border-radius: 80px 80px 0 0;

  z-index: 5;
}

/* The grid container for the four items */
.features-grid {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  gap: 30px;
  width: 100%;
  position: relative;
  z-index: 2;
  /* Ensure grid is on top of deco circles */
}

/* ... (The rest of the .feature-item, .feature-text, and .feature-icon styles remain exactly the same) ... */
.feature-item {
  position: relative;
  flex: 1;
  padding: 10px 15px 10px;
  text-align: center;
  border-left: 5px solid #C08A00;
  border-top: 5px solid #C08A00;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.feature-text {
  font-family: 'League Spartan', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #780000;
  transition: color 0.3s ease;
}

.feature-icon {
  position: absolute;
  top: 0;
  left: 12%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #780000;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.feature-icon img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

.feature-item:hover {
  background-color: #780000;
}

.feature-item:hover .feature-text {
  color: #ffffff;
}

.feature-item:hover .feature-icon {
  background-color: #ffffff;
}

.feature-icon::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
}

/* Default icons */
.icon-1::after {
  background-image: url("./assets/icons/Vector.png");
}

.icon-2::after {
  background-image: url("./assets/icons/cbi_stage-light.png");
}

.icon-3::after {
  background-image: url("./assets/icons/lucide-lab_chairs-table-platter.png");
}

.icon-4::after {
  background-image: url("./assets/icons/hugeicons_smart-ac.png");
}

.feature-item:hover .icon-1::after {
  background-image: url("./assets/icons/Vector-cl.png");
}

.feature-item:hover .icon-2::after {
  background-image: url("./assets/icons/cbi_stage-light-cl.png");
}

.feature-item:hover .icon-3::after {
  background-image: url("./assets/icons/lucide-lab_chairs-table-platter-c.png");
}

.feature-item:hover .icon-4::after {
  background-image: url("./assets/icons/hugeicons_smart-ac-cl.png");
}


/* ========================================================= */
/* ===== RESPONSIVE STYLES FOR GSAP STACKING CARDS ===== */
/* ========================================================= */

/* Desktop Small to Medium: 991px to 1300px */
@media (max-width: 1300px) and (min-width: 991px) {
  .pinning-container {
    height: 400vh;
  }

  .animation-wrapper {
    height: 100vh;
    padding: 20px 0;
  }

  .cards-stack {
    width: 88%;
    max-width: 900px;
    height: auto;
    min-height: 520px;
  }

  .content-card {
    border: 5px solid #C08A00;
    border-radius: 14px;
    height: auto;
    overflow: hidden;
  }

  /* Cascading positions */
  .content-card[data-index="0"] {
    top: 0;
  }

  .content-card[data-index="1"] {
    top: 14px;
  }

  .content-card[data-index="2"] {
    top: 28px;
  }

  .content-card[data-index="3"] {
    top: 42px;
  }

  /* Static frame semi-circles - medium size */
  .static-frame .semi-circle.top {
    width: 40px;
    height: 20px;
    border-radius: 0 0 90px 90px;
    box-shadow:
      0 0 0 1.5px #C89411,
      0px 4px 4px rgba(200, 148, 17, 0.55);
  }

  .static-frame .semi-circle.left,
  .static-frame .semi-circle.right {
    width: 80px;
    height: 160px;
  }

  .static-frame .semi-circle.left {
    left: -3.5%;
    top: 40%;
    border-radius: 0 90px 90px 0;
  }

  .static-frame .semi-circle.right {
    right: -3.5%;
    top: 40%;
    border-radius: 90px 0 0 90px;
  }

  /* Card content adjustments */
  .card-grid-container {
    grid-template-rows: auto auto;
    overflow: hidden;
  }

  .hall-banner {
    padding: 24px 20px;
    border-radius: 7px 7px 0 0;
    min-height: 190px;
  }

  .hall-banner::after {
    border-radius: 7px 7px 0 0;
  }

  .hall-title-box {
    padding: 8px 30px;
  }

  .hall-title {
    font-size: 26px;
  }

  .hall-description {
    font-size: 14px;
    margin-bottom: 28px;
    max-width: 90%;
  }

  .underline {
    width: 150px;
    height: 2.5px;
  }

  /* Features grid - 2 columns like tablet */
  .features-grid-wrapper {
    padding: 22px 30px 28px;
    margin-top: -14px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
  }

  .feature-item {
    flex: none;
    width: 100%;
    min-width: 0;
    padding: 11px 14px;
    border-left: 3.5px solid #C08A00;
    border-top: 3.5px solid #C08A00;
    box-sizing: border-box;
  }

  .feature-text {
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
  }

  .feature-icon {
    width: 35px;
    height: 35px;
    left: 10%;
  }

  .feature-icon img {
    width: 22px;
    height: 22px;
  }

  .feature-icon::after {
    width: 22px;
    height: 22px;
  }

  /* Decorative circles */
  .feature-deco-circle.left {
    width: 28px;
    height: 56px;
    border-radius: 0 56px 56px 0;
  }

  .feature-deco-circle.bottom {
    width: 50px;
    height: 25px;
    border-radius: 56px 56px 0 0;
    left: 74%;
  }
}

/* Tablet Large: 770px to 991px */
@media (max-width: 991px) and (min-width: 770px) {
  .pinning-container {
    height: 400vh;
  }

  .animation-wrapper {
    height: 100vh;
    padding: 10px 0;
    display: flex;
    align-items: center;
  }

  .cards-stack {
    width: 90%;
    max-width: 700px;
    height: auto;
    min-height: 500px;
  }

  .content-card {
    border: 4px solid #C08A00;
    border-radius: 12px;
    height: auto;
    overflow: hidden;
  }

  /* Adjust cascading positions for tablet */
  .content-card[data-index="0"] {
    top: 0;
  }

  .content-card[data-index="1"] {
    top: 12px;
  }

  .content-card[data-index="2"] {
    top: 24px;
  }

  .content-card[data-index="3"] {
    top: 36px;
  }

  /* Static frame semi-circles - smaller for tablet */
  .static-frame .semi-circle.top {
    width: 35px;
    height: 18px;
    border-radius: 0 0 80px 80px;
    box-shadow:
      0 0 0 1.5px #C89411,
      0px 4px 4px rgba(200, 148, 17, 0.55);
  }

  .static-frame .semi-circle.left,
  .static-frame .semi-circle.right {
    width: 70px;
    height: 140px;
  }

  .static-frame .semi-circle.left {
    left: -3%;
    top: 40%;
    border-radius: 0 80px 80px 0;
  }

  .static-frame .semi-circle.right {
    right: -3%;
    top: 40%;
    border-radius: 80px 0 0 80px;
  }

  /* Card content adjustments */
  .card-grid-container {
    grid-template-rows: auto auto;
    overflow: hidden;
  }

  .hall-banner {
    padding: 20px 18px;
    border-radius: 6px 6px 0 0;
    min-height: 180px;
  }

  .hall-banner::after {
    border-radius: 6px 6px 0 0;
  }

  .hall-title-box {
    padding: 7px 25px;
  }

  .hall-title {
    font-size: 24px;
  }

  .hall-description {
    font-size: 13px;
    margin-bottom: 25px;
    max-width: 90%;
  }

  .underline {
    width: 130px;
    height: 2.5px;
  }

  /* Features grid for tablet - 2 columns */
  .features-grid-wrapper {
    padding: 20px 25px 25px;
    margin-top: -12px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .feature-item {
    flex: none;
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border-left: 3px solid #C08A00;
    border-top: 3px solid #C08A00;
    box-sizing: border-box;
  }

  .feature-text {
    font-size: 12px;
    line-height: 1.4;
    word-wrap: break-word;
  }

  .feature-icon {
    width: 32px;
    height: 32px;
    left: 9%;
  }

  .feature-icon img {
    width: 20px;
    height: 20px;
  }

  .feature-icon::after {
    width: 20px;
    height: 20px;
  }

  /* Decorative circles - smaller */
  .feature-deco-circle.left {
    width: 25px;
    height: 50px;
    border-radius: 0 50px 50px 0;
  }

  .feature-deco-circle.bottom {
    width: 45px;
    height: 23px;
    border-radius: 50px 50px 0 0;
    left: 72%;
  }
}

/* Tablet Small: 550px to 770px */
@media (max-width: 770px) and (min-width: 550px) {
  .pinning-container {
    height: 450vh;
  }

  .animation-wrapper {
    height: 100vh;
    padding: 8px 0;
    display: flex;
    align-items: center;
  }

  .cards-stack {
    width: 92%;
    max-width: 550px;
    height: auto;
    min-height: 520px;
  }

  .content-card {
    border: 3px solid #C08A00;
    border-radius: 10px;
    height: auto;
    overflow: hidden;
  }

  /* Adjust cascading positions */
  .content-card[data-index="0"] {
    top: 0;
  }

  .content-card[data-index="1"] {
    top: 10px;
  }

  .content-card[data-index="2"] {
    top: 20px;
  }

  .content-card[data-index="3"] {
    top: 30px;
  }

  /* Static frame semi-circles */
  .static-frame .semi-circle.top {
    width: 30px;
    height: 15px;
    border-radius: 0 0 70px 70px;
    box-shadow:
      0 0 0 1.5px #C89411,
      0px 3px 3px rgba(200, 148, 17, 0.55);
  }

  .static-frame .semi-circle.left,
  .static-frame .semi-circle.right {
    width: 55px;
    height: 110px;
  }

  .static-frame .semi-circle.left {
    left: -2.8%;
    top: 42%;
    border-radius: 0 70px 70px 0;
  }

  .static-frame .semi-circle.right {
    right: -2.8%;
    top: 42%;
    border-radius: 70px 0 0 70px;
  }

  /* Card content adjustments */
  .card-grid-container {
    grid-template-rows: auto auto;
    overflow: hidden;
  }

  .hall-banner {
    padding: 18px 15px;
    border-radius: 5px 5px 0 0;
    min-height: 160px;
  }

  .hall-banner::after {
    border-radius: 5px 5px 0 0;
  }

  .hall-title-box {
    padding: 6px 20px;
  }

  .hall-title {
    font-size: 21px;
  }

  .hall-description {
    font-size: 12px;
    margin-bottom: 22px;
    max-width: 92%;
  }

  .underline {
    width: 110px;
    height: 2px;
  }

  /* Features - stacked vertically for better fit */
  .features-grid-wrapper {
    padding: 18px 20px 22px;
    margin-top: -10px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .features-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .feature-item {
    flex: none;
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border-left: 3px solid #C08A00;
    border-top: 3px solid #C08A00;
    box-sizing: border-box;
  }

  .feature-text {
    font-size: 11.5px;
    line-height: 1.4;
    word-wrap: break-word;
  }

  .feature-icon {
    width: 30px;
    height: 30px;
    left: 8%;
  }

  .feature-icon img {
    width: 18px;
    height: 18px;
  }

  .feature-icon::after {
    width: 18px;
    height: 18px;
  }

  /* Decorative circles */
  .feature-deco-circle.left {
    width: 20px;
    height: 40px;
    border-radius: 0 40px 40px 0;
  }

  .feature-deco-circle.bottom {
    width: 38px;
    height: 19px;
    border-radius: 40px 40px 0 0;
    left: 70%;
  }
}

/* Mobile View: 250px to 550px */
@media (max-width: 550px) {
  .pinning-container {
    height: 500vh;
  }

  .animation-wrapper {
    height: 100vh;
    padding: 5px 5px;
    display: flex;
    align-items: center;
  }

  .cards-stack {
    width: 94%;
    max-width: 360px;
    height: auto;
    min-height: 460px;
  }

  .content-card {
    border: 2.5px solid #C08A00;
    border-radius: 8px;
    height: auto;
    overflow: hidden;
  }

  /* Tighter cascading for mobile */
  .content-card[data-index="0"] {
    top: 0;
  }

  .content-card[data-index="1"] {
    top: 8px;
  }

  .content-card[data-index="2"] {
    top: 16px;
  }

  .content-card[data-index="3"] {
    top: 24px;
  }

  /* Static frame semi-circles - very small */
  .static-frame .semi-circle.top {
    width: 25px;
    height: 13px;
    border-radius: 0 0 60px 60px;
    box-shadow:
      0 0 0 1px #C89411,
      0px 2px 2px rgba(200, 148, 17, 0.55);
  }

  .static-frame .semi-circle.left,
  .static-frame .semi-circle.right {
    width: 45px;
    height: 90px;
  }

  .static-frame .semi-circle.left {
    left: -2.5%;
    top: 42%;
    border-radius: 0 60px 60px 0;
  }

  .static-frame .semi-circle.right {
    right: -2.5%;
    top: 42%;
    border-radius: 60px 0 0 60px;
  }

  /* Card content - mobile layout */
  .card-grid-container {
    grid-template-rows: auto auto;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .hall-banner {
    padding: 12px 10px;
    border-radius: 4px 4px 0 0;
    min-height: 120px;
    box-sizing: border-box;
  }

  .hall-banner::after {
    border-radius: 4px 4px 0 0;
  }

  .hall-title-box {
    padding: 4px 14px;
    margin-bottom: 8px;
  }

  .hall-title {
    font-size: 18px;
  }

  .hall-description {
    font-size: 10px;
    margin-bottom: 12px;
    line-height: 1.4;
    max-width: 96%;
  }

  .underline {
    width: 80px;
    height: 2px;
  }

  /* Features - stacked vertically on mobile */
  .features-grid-wrapper {
    padding: 12px 10px 14px;
    margin-top: -6px;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
  }

  .features-grid {
    display: flex;
    flex-direction: column;
    gap: 11px;
    width: 100%;
    box-sizing: border-box;
  }

  .feature-item {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 9px 10px;
    border-left: 2.5px solid #C08A00;
    border-top: 2.5px solid #C08A00;
    box-sizing: border-box;
  }

  .feature-text {
    font-size: 10.5px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .feature-icon {
    width: 27px;
    height: 27px;
    left: 7%;
  }

  .feature-icon img {
    width: 16px;
    height: 16px;
  }

  .feature-icon::after {
    width: 16px;
    height: 16px;
  }

  /* Decorative circles - very small */
  .feature-deco-circle.left {
    width: 18px;
    height: 36px;
    border-radius: 0 36px 36px 0;
  }

  .feature-deco-circle.bottom {
    width: 35px;
    height: 18px;
    border-radius: 36px 36px 0 0;
    left: 68%;
  }
}

/* Extra small mobile: 250px to 350px - further refinements */
@media (max-width: 350px) {
  .animation-wrapper {
    padding: 3px 3px;
    display: flex;
    align-items: center;
  }

  .cards-stack {
    width: 95%;
    max-width: 290px;
    min-height: 430px;
  }

  .content-card {
    border: 2px solid #C08A00;
    border-radius: 6px;
    overflow: hidden;
  }

  /* Even tighter cascading */
  .content-card[data-index="0"] {
    top: 0;
  }

  .content-card[data-index="1"] {
    top: 6px;
  }

  .content-card[data-index="2"] {
    top: 12px;
  }

  .content-card[data-index="3"] {
    top: 18px;
  }

  .card-grid-container {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .hall-banner {
    padding: 10px 8px;
    min-height: 110px;
    box-sizing: border-box;
  }

  .hall-title-box {
    padding: 3px 12px;
    margin-bottom: 6px;
  }

  .hall-title {
    font-size: 15px;
  }

  .hall-description {
    font-size: 9px;
    margin-bottom: 10px;
    line-height: 1.3;
    max-width: 97%;
  }

  .underline {
    width: 60px;
    height: 1.5px;
  }

  .features-grid-wrapper {
    padding: 10px 8px 12px;
    margin-top: -4px;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
  }

  .features-grid {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
    box-sizing: border-box;
  }

  .feature-item {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 8px 8px;
    border-left: 2px solid #C08A00;
    border-top: 2px solid #C08A00;
    box-sizing: border-box;
  }

  .feature-text {
    font-size: 9.5px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .feature-icon {
    width: 24px;
    height: 24px;
    left: 6%;
  }

  .feature-icon img {
    width: 14px;
    height: 14px;
  }

  .feature-icon::after {
    width: 14px;
    height: 14px;
  }

  /* Very small semi-circles */
  .static-frame .semi-circle.top {
    width: 20px;
    height: 10px;
    border-radius: 0 0 50px 50px;
  }

  .static-frame .semi-circle.left,
  .static-frame .semi-circle.right {
    width: 38px;
    height: 76px;
  }

  .static-frame .semi-circle.left {
    left: -2%;
    top: 44%;
    border-radius: 0 50px 50px 0;
  }

  .static-frame .semi-circle.right {
    right: -2%;
    top: 44%;
    border-radius: 50px 0 0 50px;
  }

  /* Very small decorative circles */
  .feature-deco-circle.left {
    width: 14px;
    height: 28px;
    border-radius: 0 28px 28px 0;
  }

  .feature-deco-circle.bottom {
    width: 28px;
    height: 14px;
    border-radius: 28px 28px 0 0;
    left: 65%;
  }
}