

.indiaBackground {
background: linear-gradient(345deg, #9cffff 0.000%, #c9ffdc 33.333%, #f1d5a0 66.667%, #ff9e8e 100.000%);
}


/* CAROUSEL */

.scene, .a3d { display: grid }

.scene {
	/* prevent scrollbars */
	overflow: hidden;
	/* for 3D look; smaller = more extreme effect */
	perspective: 35em;
	mask: /* lateral fade */
		linear-gradient(90deg, 
        var(--color-transparent), var(--color-red) 20% 80%, var(--color-transparent))
}

.a3d {
	place-self: center /* middle align */;
	/* don't flatten 3D transformed children 
	 * of this parent having its own 3D transform */
	transform-style: preserve-3d;
	animation: ry 60s linear infinite
}
/* simplest y axis rotation */
@keyframes ry { to { rotate: y 1turn } }

.card {
	/* base card width, you may change this */
	--w: 17.5em;
	/* compute base angle corresponding to a card */
	--ba: 1turn/var(--n); /* in the future: sibling-count() */
	grid-area: 1/ 1 /* stack in same one grid cell */;
	width: var(--w);
	aspect-ratio: 7/ 10;
	object-fit: cover;
	border-radius: 1.5em;
	/* don't want to see back of cards in front of screen plane */
	backface-visibility: hidden;
	/* need to use a transform chain here, cannot use separate 
	 * rotate & translate properties because they'd be applied 
	 * in wrong order (translate, then rotate) for what we need */
	transform: 
		/* rotate around y axis; in the future: sibling-index() */
		rotatey(calc(var(--i)*var(--ba)))
		/* only after that translate along z axis with minus */
		translatez(calc(-1*(.5*var(--w) + .5em)/tan(.5*var(--ba))))
}

@media (prefers-reduced-motion: reduce) {
	.a3d { animation-duration: 128s }
}


/* ACCORDIAN DROPDOWNS */

.containerAccord{
  width: 100%;
  max-width: 650px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 5vh;
}

@media (max-width: 575.98px) {
  .containerAccord {
    padding: 0 1rem;
  }

  .accordion-2 .head {
    padding: 0.35rem 1rem;
  }

  .accordion-2 .content {
    padding: 1rem 2.5rem;
  }
}


.accordion-2{
  position: relative;
}

.accordion-2 .head{
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 0.2rem 2rem;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 5px;
}

.accordion-2 .arrow{
  color: var(--color-white);
  font-size: 1.5rem;
  transition: 0.25s ease;
  opacity: 0.3;
  transform: rotate(-90deg);
}

.accordion-2 .head:hover .arrow{
  opacity: 1;
}

.accordion-2 .arrow-animate{
  transform: rotate(-180deg);
  opacity: 1;
}

.accordion-2 .content{
  background-color: var(--color-translucent-green);
  display: none;
  padding: 1rem 4rem;
  color: var(--color-dark-gray);
  position: relative;
}

.accordion-2 .content:nth-child(odd){
  background-color: var(--color-translucent-green);
}

.accordion-2 .content::before{
  content: "";
  width: 4px;
  position: absolute;
  background-color: var(--color-highlight);
  top: 0;
  left: 2.4rem;
  height: 100%;
  animation: vertical-fade-in forwards 1s;
  animation-delay: 200ms;
}

@keyframes vertical-fade-in{
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}

.accordion-2 .content::after{
  content: "";
  height: 4px;
  position: absolute;
  background-color: var(--color-highlight);
  top: 50%;
  left: 2.4rem;
  animation: horizontal-fade-in forwards 1s;
  animation-delay: 300ms;
}

@keyframes horizontal-fade-in{
  from{
    opacity: 0;
    width: 0;
  }
  to{
    opacity: 1;
    width: 1rem;
  }
}

.accordion-2 .head:hover, .accordion-2 .active{
  background-color: var(--color-highlight)
}


/* Mae Timeline */
/* Base Widget Container */
.mae-timeline-widget {
  width: 100%;
  padding: 40px 0;
  background-image: url("imgs/indiaPP/goldMandala.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  object-fit: fill;
  overflow: visible; /* Prevents ping from clipping */
}

/* The Nav Bar - Scrollable on small screens */
.mae-nav-container {
  width: 100%;
  overflow-x: auto;
  padding-top: 60px; /* Safe space for ping animation */
  padding-bottom: 0;
  margin-bottom: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mae-nav-container::-webkit-scrollbar { display: none; }

.mae-dot-track {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 3;
  border-top: 5px solid var(--color-green);
  /* Ensures dots exist even on mobile */
  min-width: 800px; 
}

.mae-node {
  position: relative;
  flex: 1;
  text-align: center;
  padding-top: 25px;
  cursor: pointer;
}

/* The Dots */
.mae-dot {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--color-green-yellow);
  border-radius: 50%;
  z-index: 5;
  transition: background 0.3s ease;
}

.mae-yr {
   font-weight: 700;
  color: var(--color-black) !important; /* Force Black */
  font-size: 16px;
  }

/* ACTIVE PINGING STATE */
.mae-node.active .mae-dot {
  background: var(--color-green-yellow);
}

/* Static Ring */
.mae-node.active::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-green-yellow);
  border-radius: 50%;
  z-index: 4;
}

/* Pulsing Ping Ripple */
.mae-node.active::after {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-green-yellow);
  border-radius: 50%;
  animation: mae-ping 1.5s infinite;
  z-index: 3;
}

@keyframes mae-ping {
  0% { transform: translateX(-50%) scale(1); opacity: 1; }
  100% { transform: translateX(-50%) scale(3.5); opacity: 0; }
}

/* Paragraph Content Area */
.mae-text-area {
  text-align: center;
  margin-top: -5%;
}

.mae-p {
  display: none;
  font-family: var(--body-font);
  color: var(--color-black);
  font-size: 14px; /* Requested smaller text */
  width: 100%;
}

.mae-p.active {
  display: block;
  animation: mae-fade 0.4s ease-in-out;
  width: 100%;
}

@keyframes mae-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* RESPONSIVE LOGIC */

/* Desktop - No scroll needed */
@media (min-width: 1025px) {
  .mae-dot-track { min-width: 100%; }
  .mae-nav-container { overflow: visible; }
  .mae-p { max-width: 80%; margin: 0 auto; }
}

/* Tablet & Mobile - Allow Swipe */
@media (max-width: 1024px) {
  .mae-dot-track { min-width: 900px; } /* Ensures dots don't disappear/squash */
  .mae-p { line-height: 1.6em; padding: 0 20px; }
  /* Fade hint for scrolling */
  .mae-nav-container {
    mask-image: linear-gradient(to right, var(--color-transparent), var(--color-black) 10%, var(--color-black) 90%, var(--color-transparent));
    -webkit-mask-image: linear-gradient(to right, var(--color-transparent), var(--color-black) 10%, var(--color-black) 90%, var(--color-transparent));
  }
}

/* Mae Timeline Customisations */

.maeDay {
  /* padding: 1% 0; */
 
  border: 5px solid var(--color-goldenrod);
 -webkit-box-shadow: 0px 5px 15px 0px var(--color-black-84); 
  box-shadow: 0px 5px 15px 0px var(--color-black-84);
 /* padding: 25px !important; */
 width: 100%;
}

.maeMandalaBG {
  background-image: url("imgs/fadedMandala2.png");
 background-repeat: no-repeat;
 background-size: cover;
  position: relative;
  overflow: hidden;
}

div .maeItinImg img {
 
  margin-bottom: 2%;
  box-shadow: -22px 14px 20px 8px var(--color-green-shadow);
  border-radius: 23px;
}

.maeSpace {
  height: 150px;
    background-size: cover;
  object-fit: fill;

}

.maeTopRow {
  margin-top: 8%;
}

/* .overlayWrapper {
  overflow: visible !important;
  position: relative;
  z-index: 99999 !important;
} */

#addedContent {
  height: auto;
  width: auto;
     z-index: 10;
   translate: 0 -14%;
   /* position: absolute;  */
  }

.textBox {
  background-image: url("imgs/indiaPP/creamMandala.jpg");
  padding: 1% 0;
  background-repeat: no-repeat;
  background-size: cover;
  object-fit: fill;
  border: 5px solid var(--color-goldenrod);
 -webkit-box-shadow: 0px 5px 15px 0px var(--color-black-84); 
  box-shadow: 0px 5px 15px 0px var(--color-black-84);
 /* padding: 25px !important; */
 width: 100%;
 margin: 0;
}

#expandSpace {
  background-image: url("imgs/indiaPP/goldMandala.jpg");
    background-repeat: no-repeat;
  height: auto;

}

.hiddenContent {
  display:none;
}
