#index {
  margin: 0 auto;
  height: fit-content;

  display: flex;
  flex-direction: column;
}

.hero {
  box-sizing: border-box;
  padding: 100px 80px;
  position: relative;
  width: 100vw;
  background: var(--primary);
  min-height: 80svh;
  max-height: 100dvh;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 95%;
  height: 100%;
  object-position: left bottom;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(circle at 85% 50%,
      black 40%,
      transparent 90%);
  mask-image: radial-gradient(circle at 85% 50%, black 40%, transparent 90%);
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero-content {
  width: 90%;
  max-width: 450px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.hero-subtitle {
  font-size: 22px;
  color: white;
  font-weight: 400;
}

.hero-title {
  font-size: var(--fontsize-header);
  line-height: 0.8;
  color: white;
  font-weight: 700;
}

.hero-p {
  line-height: 1.25;
  margin: 30px 0;
  font-size: var(--fontsize-20);
  line-height: 1.1;
  color: white;
  font-weight: 400;
}

.hero-button {
  border-radius: 9999px;
  padding: 13px 20px;
  height: fit-content;
  width: fit-content;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 10px;
  color: white;
  align-items: center;
  font-size: var(--fontsize-16);
  font-weight: 400;
}

.hero-button::before {
  transform: translateX(50%);
  z-index: -1;
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  background: linear-gradient(90deg, #4d5efb00 0%, #4d5dfb 50%, #67e1fb 100%);
  width: 150%;
  height: 100%;
  transition: var(--apple-animation);
  opacity: 1;
}

.hero-button .material-symbols-outlined {
  transform: translateX(-50%) rotate(-90deg);
  font-size: 22px;
  transition: var(--apple-animation);
}

.hero-button:hover::before {
  transform: translateX(-50%);
  transition: var(--apple-animation);
  opacity: 1;
}

.hero-button:hover .material-symbols-outlined {
  transform: translateX(0%) rotate(-90deg);
  transition: var(--apple-animation);
}

.stats-wrapper {
  width: 90vw;
  max-width: 1200px;
  overflow: hidden;
  box-shadow: var(--boxshadow);
  position: absolute;
  bottom: 0;
  right: 10px;
  transform: translateY(40%);
  display: flex;
}

.stat {
  flex: 1;
  box-sizing: border-box;
  background-color: white;
  color: var(--primary);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 5px;
}

.stat h3 {
  font-size: calc(var(--fontsize-header) - 4px);
  font-weight: 600;
  line-height: 1;
  min-width: 150px;
}

.stat p {
  font-size: var(--fontsize-16);
  font-weight: 500;
  line-height: 1;
}

.stat:nth-child(even) {
  background-color: var(--primary);
  color: white;
  line-height: 1.1;
}

.event-wrapper {
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  padding: 100px 0 50px;
  width: 100svw;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.event-wrapper ul {
  padding-left: 80px;
  height: 50svh;
  display: flex;
  flex-direction: row;
  gap: 15px;
}

.event {
  position: relative;
  height: 100%;
  width: 80px;
  transition: var(--apple-animation);
}

.event::after {
  z-index: 0;
  content: '';
  width: 100%;
  height: 40%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent);
}

.event img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--animation-default);
}

.event div {
  z-index: 1;
  padding: 8px;
  box-sizing: border-box;
  top: 0;
  left: 0;
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.event div p {
  font-size: var(--fontsize-16);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  color: white;
}

.event div h3 {
  width: 140px;
  opacity: 0;
  visibility: hidden;
  font-size: var(--fontsize-20);
  font-weight: 700;
  line-height: 1.1;
  color: white;
  transition: var(--apple-animation);
  transform: translateY(50%);
}

/* 1. The default open state for the first item */
.event-wrapper li:first-child .event {
  width: 160px;
}

.event-wrapper li:first-child .event img {
  filter: brightness(.8);
}

.event-wrapper li:first-child .event div h3 {
  transform: translateY(0%);
  opacity: 1;
  visibility: visible;
}

/* 2. If ANY item inside the list is hovered, shrink the first item */
.event-wrapper:has(li:hover) li:first-child .event {
  width: 60px;
  /* Your standard closed width */
}

.event-wrapper:has(li:hover) li:first-child .event img {
  filter: brightness(1);
}

.event-wrapper:has(li:hover) li:first-child .event div h3 {
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
}

/* 3. Open ANY item that is directly hovered (works for all, including the first one) */
.event:hover {
  width: 160px;
}

.event:hover img {
  filter: brightness(.8);
}

.event:hover div h3 {
  transform: translateY(0%);
  opacity: 1;
  visibility: visible;
}

.events-nav {
  align-self: center;
  box-sizing: border-box;
  padding: 0 50px;
  width: 90%;
  display: flex;
  gap: 20px;
  justify-content: end;
}

.events-nav a {
  cursor: pointer;
  border-radius: 50%;
  height: 40px;
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--primary);
}

.disabled-btn {
  pointer-events: none;
  opacity: 0.3;
  background-color: var(--dark) !important;
}





/* --- FEEDBACK SECTION --- */
.feedback-section {
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0px 50px 100px;
  width: 100svw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feedback-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.feedback-container .header {
  width: 90%;
  align-self: center;
}

.feedback-title {
  font-size: calc(var(--fontsize-header) + 12px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
}

/* Responsive Viewport for horizontal scrolling track */
.feedback-viewport {
  width: 100%;
  overflow: visible;
  position: relative;
  padding: 50px 0;
}

.feedback-track {
  display: flex;
  gap: 15px;
  /* Organic overlapping via rotations */
  width: max-content;
  transition: transform var(--apple-animation);
  will-change: transform;
  align-items: center;
}

/* --- THE STICKY NOTE CONTAINER --- */
/* Outer wrapper sized to a precise 1:1 ratio */
.sticky-note {
  position: relative;
  width: 300px;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  z-index: 1;
  transition: transform var(--apple-animation), z-index var(--apple-animation), filter var(--apple-animation);
  filter: drop-shadow(2px 8px 5px rgba(0, 0, 0, 0.25));
}

/* Inner paper sheet that holds background color and square layout */
.sticky-note-paper {
  position: absolute;
  inset: 0;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border-radius: 0px !important;
  color: #0d121c;
  background-color: #ffe853;
}

/* Note Colors */
.note-purple .sticky-note-paper {
  background-color: #6f2cf3;
  color: #fff;
}

.note-blue .sticky-note-paper {
  background-color: #1e7cff;
  color: #fff;
}

.note-peach .sticky-note-paper {
  background-color: #ffdad3;
}

.note-red .sticky-note-paper {
  background-color: #ff4c62;
  color: #fff;
}

.note-yellow .sticky-note-paper {
  background-color: #ffe853;
}

.note-pink .sticky-note-paper {
  background-color: #ff7bbb;
}

/* Dynamic Fold Effects (Enlarged cleanly to 65px for a bolder visual weight) */
.fold-br .sticky-note-paper {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 65px), calc(100% - 65px) 100%, 0 100%);
}

.sticky-note.fold-br::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65px;
  height: 65px;
  /* Gradient creates the triangular fold and a subtle inner shadow, leaving the rest transparent */
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.6) 0%,
      rgba(255, 255, 255, 0.15) 45%,
      rgba(0, 0, 0, 0.2) 50%,
      transparent 51%);
  border-top-left-radius: 0px !important;
  z-index: 2;
}

.fold-bl .sticky-note-paper {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 65px 100%, 0 calc(100% - 65px));
}

.sticky-note.fold-bl::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 65px;
  height: 65px;
  /* Gradient creates the triangular fold and a subtle inner shadow, leaving the rest transparent */
  background: linear-gradient(225deg,
      rgba(255, 255, 255, 0.6) 0%,
      rgba(255, 255, 255, 0.15) 45%,
      rgba(0, 0, 0, 0.2) 50%,
      transparent 51%);
  border-top-right-radius: 0px !important;
  z-index: 2;
}

/* Opaque Gradient Shading per color theme (0% to 50% solid opaque, 51% to 100% transparent) */
.note-purple.fold-br::after {
  background: linear-gradient(135deg, #a366ff 0%, #4c11b3 49%, transparent 50%);
}

.note-purple.fold-bl::after {
  background: linear-gradient(225deg, #a366ff 0%, #4c11b3 49%, transparent 50%);
}

.note-blue.fold-br::after {
  background: linear-gradient(135deg, #6ba4ff 0%, #004fb3 49%, transparent 50%);
}

.note-blue.fold-bl::after {
  background: linear-gradient(225deg, #6ba4ff 0%, #004fb3 49%, transparent 50%);
}

.note-peach.fold-br::after {
  background: linear-gradient(135deg, #ffffff 0%, #e69d8e 49%, transparent 50%);
}

.note-peach.fold-bl::after {
  background: linear-gradient(225deg, #ffffff 0%, #e69d8e 49%, transparent 50%);
}

.note-red.fold-br::after {
  background: linear-gradient(135deg, #ff8093 0%, #b31429 49%, transparent 50%);
}

.note-red.fold-bl::after {
  background: linear-gradient(225deg, #ff8093 0%, #b31429 49%, transparent 50%);
}

.note-yellow.fold-br::after {
  background: linear-gradient(135deg, #fffa99 0%, #cca300 49%, transparent 50%);
}

.note-yellow.fold-bl::after {
  background: linear-gradient(225deg, #fffa99 0%, #cca300 49%, transparent 50%);
}

.note-pink.fold-br::after {
  background: linear-gradient(135deg, #ffa8d3 0%, #b33672 49%, transparent 50%);
}

.note-pink.fold-bl::after {
  background: linear-gradient(225deg, #ffa8d3 0%, #b33672 49%, transparent 50%);
}

/* --- REALISTIC UNEVEN TAPE (Jagged torn edge on left & right boundaries) --- */
.sticky-tape {
  position: absolute;
  width: 105px;
  height: 26px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  z-index: 10;
  /* Clip path builds structural ragged jagged fibers representing standard torn tape */
  clip-path: polygon(
      /* Top Edge */
      0% 12%, 100% 12%,
      /* Jagged Right Torn Edge */
      97% 25%, 100% 35%, 96% 48%, 100% 60%, 97% 72%, 100% 85%, 98% 100%,
      /* Bottom Edge */
      0% 100%,
      /* Jagged Left Torn Edge */
      3% 85%, 0% 72%, 4% 60%, 1% 48%, 3% 35%, 0% 25%);
}

.tape-center {
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
}

.tape-left {
  top: -10px;
  left: 12%;
  transform: rotate(-12deg);
}

.tape-right {
  top: -10px;
  right: 12%;
  transform: rotate(15deg);
}

/* Abstract Vectored Watermark Backgrounds */
.note-watermark {
  position: absolute;
  bottom: 15px;
  right: 15px;
  opacity: 0.08;
  font-size: 110px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: transform var(--apple-animation);
}

.note-peach .note-watermark,
.note-yellow .note-watermark,
.note-pink .note-watermark {
  opacity: 0.12;
}

/* Organic Messy Hover states */
.sticky-note:hover {
  transform: scale(1.06) rotate(0deg) !important;
  z-index: 20;
  filter: drop-shadow(4px 16px 16px rgba(0, 0, 0, 0.15));
}

.sticky-note:hover .note-watermark {
  transform: scale(1.1) rotate(8deg);
}

/* Text Styling Inside Notes */
.note-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
}

/* Larger, Filled, and Closer Stars */
.note-stars {
  display: flex;
  gap: 1px;
  color: #ffe853;
  /* Default yellow stars */
}

.note-stars svg {
  width: 22px;
  height: 22px;
  display: inline-block;
  transition: transform var(--apple-animation);
}

.note-yellow .note-stars {
  color: #e67e22;
  /* Darker orange stars for contrast on yellow background */
}

.note-feedback {
  font-size: var(--fontsize-16);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.note-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 5;
}

.note-name {
  font-size: var(--fontsize-14);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  opacity: 0.95;
}

/* Dates have high opacity (slightly visible & clean) */
.note-date {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.75;
  letter-spacing: 0.2px;
  margin-top: 2px;
}

/* Control container directly at the bottom-right */
.feedback-controls-row {
  width: 90%;
  align-self: center;
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.timeline-controls {
  display: flex;
  gap: 20px;
  justify-content: end;
}

.timeline-btn {
  cursor: pointer;
  border-radius: 50%;
  height: 40px;
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--primary);
}

.timeline-btn:disabled {
  pointer-events: none;
  opacity: 0.3;
  background-color: var(--dark) !important;
}





.base {
  position: relative;
  box-sizing: border-box;
  padding: 100px 50px;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
}

.base::after {
  z-index: 0;
  content: '';
  background-image: url('../assets/texture/grid.avif');
  background-position: center;
  mix-blend-mode: multiply;
  opacity: 0.25;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.base * {
  z-index: 1;
}

.base h1 {
  font-size: 180px;
  color: white;
  font-weight: 600;
  letter-spacing: 5%;
  line-height: 1;
  user-select: none;
}

.base h2 {
  text-align: center;
  font-size: var(--fontsize-header);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  letter-spacing: 1%;
}

.base h2 span {
  color: white;
  font-weight: 600;
}

.services {
  width: 90%;
  margin: 50px auto 0;
}

.services ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.services li {
  border-left: 2px solid;
  border-right: 2px solid;
  border-image-source: linear-gradient(180deg,
      transparent 0%,
      #ffffff 50%,
      transparent 100%);
  border-image-slice: 1;

  box-sizing: border-box;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: white;
}

.services li h3 {
  text-align: center;
  font-size: var(--fontsize-18);
  font-weight: 600;
}

.services li span {
  font-size: 50px !important;
  user-select: none;
}

.services li p {
  text-align: center;
  font-size: var(--fontsize-16);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

.socials-wrapper {
  margin: 0 auto;
  box-sizing: border-box;
  padding: 100px 50px;
  width: 90vw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.socialList {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.socialList li {
  min-width: 200px;
  flex: 1;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  height: 70svh;
  max-width: 400px;
  transition: var(--apple-animation);
}

.socialList li a video,
.socialList li a img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.socialList li:hover {
  flex-grow: 2;
  transition: var(--apple-animation);
}

.socialList li a i {
  position: absolute;
  top: 20px;
  right: 10px;
  font-size: 30px;
  color: white;
}

.contact-wrapper {
  padding: 50px 0;
  width: 100vw;
  overflow: hidden;
  background-color: var(--primary);
}

.contact {
  margin: 0 auto;
  box-sizing: border-box;
  width: 80vw;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: center;
  gap: 50px;
  color: white;
}

.contact-address {
  max-width: 350px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.contact-logo {
  margin-top: -10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.contact-logo img {
  height: 80px;
  width: auto;
}

.contact-logo h1 {
  font-size: 28px;
  color: white;
  font-weight: 700;
  line-height: .9;
  text-align: right;
}

.contact-logo h1 span {
  font-size: 26px;
}

.contact-address p {
  font-size: var(--fontsize-16);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 2%;
}

.contact-info {
  display: flex;
  gap: 30px;
  flex-direction: row;
  flex-wrap: wrap;
}

.contact-details {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-details h2 {
  font-size: calc(var(--fontsize-20) + 6px);
  line-height: 1.1;
  color: white;
  font-weight: 600;
}

.contact-details h2 span {
  font-weight: 700;
  color: yellow;
}

.contact-details p {
  font-size: var(--fontsize-16);
  color: white;
}

.contact-button {
  margin-top: 20px;
  z-index: 1;
  border-radius: 9999px;
  padding: 13px 20px;
  height: fit-content;
  width: fit-content;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 10px;
  color: white;
  align-items: center;
  font-size: var(--fontsize-16);
  font-weight: 400;
}

.contact-button::before {
  transform: translateX(50%);
  z-index: -1;
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  background: linear-gradient(90deg, #4d5efb00 0%, #4d5dfb 50%, #67e1fb 100%);
  width: 150%;
  height: 100%;
  transition: var(--apple-animation);
  opacity: 1;
}

.contact-button .material-symbols-outlined {
  transform: translateX(-50%) rotate(-90deg);
  font-size: 22px;
  transition: var(--apple-animation);
}

.contact-button:hover::before {
  transform: translateX(-50%);
  transition: var(--apple-animation);
  opacity: 1;
}

.contact-button:hover .material-symbols-outlined {
  transform: translateX(0%) rotate(-90deg);
  transition: var(--apple-animation);
}

.contact-img {
  width: 100%;
  margin: auto 0;
  max-width: 400px;
  height: auto;
}