/* --- General Styling --- */
html {
  /* Use auto so the browser only shows a vertical scrollbar when needed.
     `overflow-y: scroll` forces a persistent scrollbar in some browsers
     which can cause visual jumpiness when layout repaints. */
  overflow-y: auto;
}

body {
  background-color: #1a1a1a;
  color: #f5f5f5;
  font-family: "Inter", "Verdana", "Arial", sans-serif;
  margin: 0;
  line-height: 1.8; /* Standardized for consistency */
  font-size: 1rem;
  font-weight: 300;
  scroll-behavior: smooth;
  /* Hide scrollbar for Chrome, Safari and Opera */
  &::-webkit-scrollbar {
    display: none;
  }
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.container {
  width: 90%;
  max-width: 75rem;
  margin: 0 auto;
  padding: 1.25rem 0;
}

h1,
h2,
h3 {
  font-family: "Inter", "Verdana", "Arial", sans-serif;
  font-weight: 700;
  color: #ffdab9;
  margin-bottom: 1.25rem;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 0.625rem;
}
h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 3.125rem;
}
h3 {
  font-size: 1.8rem;
}

a {
  color: #e57373;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffdab9;
}

/* --- Header & Navigation --- */
header {
  background: rgba(26, 26, 26, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #333;
  padding: 0.9375rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: "Great Vibes", cursive;
  color: #ffdab9;
  font-size: 1.875rem;
  transition: text-shadow 0.3s ease;
}
.logo a i {
  margin-right: 0.75rem;
  font-size: 0.7em;
  color: #ffdab9;
  transition: transform 0.3s ease;
}
.logo a:hover {
  text-shadow: 0 0 0.5rem rgba(255, 218, 185, 0.7);
}
.logo a:hover i {
  transform: rotate(20deg) scale(1.1);
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
}
nav ul li {
  margin-left: 2.1875rem;
}
nav a {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #ffdab9;
  position: relative;
  padding-bottom: 0.3125rem;
}
nav a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0.125rem;
  bottom: 0;
  left: 0;
  background-color: #e57373;
  transform: scaleX(0);
  transition: transform 0.3s ease-out;
}
nav a:hover,
nav a:focus {
  color: #e57373;
}
nav a:hover::after,
nav a:focus::after {
  transform: scaleX(1);
}
nav .nav-cta {
  background-color: #e57373;
  color: #f5f5f5 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
nav .nav-cta:hover {
  background-color: #d85c5c;
  transform: translateY(-0.125rem);
}

/* --- Hero --- */
#hero {
  position: relative;
  height: 85vh;
  background: url("images/performance.jpg") center/cover no-repeat #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  filter: blur(10px);
  z-index: 1;
}
.hero-text {
  position: relative;
  z-index: 2;
  padding: 1.25rem;
}
#hero-title {
  font-family: "Great Vibes", cursive;
  font-size: 4rem;
  color: #ffdab9;
  text-shadow: 0.05em 0.05em 0.15em rgba(0, 0, 0, 0.6);
}
#hero-subtitle {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #ffdab9;
  text-shadow: 0.03em 0.03em 0.1em rgba(0, 0, 0, 0.6);
  margin-top: 0.625rem;
  font-weight: 700; /* Standardized */
}
.typing-cursor {
  border-right: 0.12em solid #e57373;
  animation: blink-caret 0.75s step-end infinite;
}
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #e57373;
  }
}

/* --- About --- */
#about {
  background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%),
              url("https://www.transparenttextures.com/patterns/dark-fish-skin.png");
  padding: 6.25rem 0;
  text-align: center;
  position: relative; /* Needed for pseudo-elements */
  overflow: hidden; /* Ensures background doesn't bleed */
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 218, 185, 0.05) 0%, transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}

.about-summary {
  max-width: 50rem;
  margin: 0 auto 2.5rem;
  line-height: 1.8; /* Standardized */
  color: #f5f5f5;
}
.highlight {
  color: #ffdab9;
  font-weight: bold;
}

/* Enhanced "Know More About Me" Button */
.about-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #ffdab9, #e57373); /* Updated gradient */
  color: #000000; /* Darker text for contrast */
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.4rem; /* Slightly larger font size */
  padding: 1.1rem 2.8rem; /* Increased padding */
  border-radius: 8px; /* Softer border-radius */
  text-transform: uppercase;
  letter-spacing: 0.06em; /* Slightly more letter spacing */
  box-shadow: 0 0.8rem 1.8rem rgba(229, 115, 115, 0.5); /* Deeper shadow */
  transition: all 0.5s ease; /* Smoother transition */
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none; /* Removed default border */
}

.about-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.about-cta-button:hover::before {
  left: 100%;
}

.about-cta-button:hover {
  background: linear-gradient(135deg, #e57373, #ffdab9); /* Reversed gradient on hover */
  transform: translateY(-0.4rem) scale(1.07); /* More pronounced lift and zoom */
  box-shadow: 0 1rem 2.5rem rgba(229, 115, 115, 0.8); /* Even deeper shadow on hover */
  color: #000;
}

.about-cta-text {
  position: relative;
  z-index: 1;
}

.about-cta-icon {
  font-size: 1.3rem; /* Slightly larger icon */
  transition: transform 0.4s ease;
  margin-left: 0.8rem; /* Adjusted margin */
}

.about-cta-button:hover .about-cta-icon {
  transform: translateX(0.6rem); /* More pronounced icon movement */
}

/* --- Gallery Section --- */
#gallery {
  background: linear-gradient(rgba(26, 26, 26, 0.85), rgba(26, 26, 26, 0.85)),
    url("images/graphic.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  background-color: #1a1a1a;
  padding: 5rem 0;
}

.gallery-subtitle {
  font-family: "Inter", "Verdana", "Arial", sans-serif;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.875rem;
  margin-top: 0;
}

.gallery-subtitle + .videos-grid + .gallery-subtitle {
  margin-top: 3.75rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2.5rem;
}

.video-container {
  position: relative;
  padding-bottom: 42.85%;
  height: 0;
  overflow: hidden;
  border: 0.125rem solid #e57373;
  border-radius: 0.5rem;
  box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.2);
}

.tribe-video,
.tribe-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tribe-video {
  display: none;
}
.tribe-thumbnail {
  display: block;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.tribe-thumbnail:hover {
  opacity: 0.8;
}

.video-caption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 10px;
  margin: 0;
  font-size: 0.875rem; /* Standardized from 14px */
  z-index: 10;
}

/* === JOIN THE TRIBE – HORIZONTAL VIDEO BOX (FIXED) === */
.tribe-slider {
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
  padding: 3rem 0;
  margin-bottom: 2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tribe-slider::-webkit-scrollbar {
  display: none;
}

.tribe-grid {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  /* Hide visually until JS positions the slider to avoid transient overflow
      causing a scrollbar on initial render. Keep it in layout so JS can
      measure sizes; JS will set opacity to 1 when ready. */
  opacity: 0;
  pointer-events: none;
}

.tribe-card {
  flex: 0 0 70%;
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  align-self: center;
  justify-content: center;
  transform: scale(0.88);
  opacity: 0.7;
  transition: transform 0.5s ease, opacity 0.5s ease;
  background: rgba(40, 35, 30, 0.85);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
}

.tribe-card.active {
  transform: scale(1);
  opacity: 1;
  z-index: 10;
}

.tribe-card .video-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 0 !important;
  padding-bottom: 56.25% !important;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 4px solid #e57373;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
  background: #000 !important;
  margin: 0 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-sizing: border-box !important;
}

.tribe-card .video-wrapper iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  border-radius: 0.75rem !important;
}

.tribe-card .video-wrapper:hover {
  transform: scale(1.03);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.5);
}

/* Play Button Overlay */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  background: rgba(229, 115, 115, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  pointer-events: none;
  opacity: 0.9;
  transition: all 0.3s ease;
  z-index: 5;
}

.play-button i {
  margin-left: 0.2rem;
}

.video-wrapper:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: #e57373;
}

.tribe-card .video-caption {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffdab9;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.4rem 0.9rem;
  border-radius: 0.4rem;
  width: fit-content;
  min-width: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}

.tribe-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(229, 115, 115, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
}

.tribe-arrow.prev {
  left: 1.5rem;
}
.tribe-arrow.next {
  right: 1.5rem;
}
.tribe-arrow:hover {
  background-color: #d85c5c;
}

/* --- Video Popup --- */
#video-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

#video-popup-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  padding-bottom: 56.25%;
  height: 0;
}

#popup-video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid #e57373;
  border-radius: 12px;
}

#close-popup-btn {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #ffdab9;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10001;
}

/* --- Class Features --- */
#class-features {
  background: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.9)),
    url("images/background.jpg") center/cover fixed #1a1a1a;
}
#class-features h2 {
  margin-bottom: 3.75rem;
}

/* Quick trial: ensure vertical overflow inside feature area doesn't create
   an inner scrollbar. This lets content grow without clipping. */
#class-features,
.features-grid,
.container {
  overflow-y: visible !important;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
  gap: 1.875rem;
  margin-top: 2.5rem;
}
.feature-card {
  background: rgba(37, 37, 37, 0.8);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border: 1px solid #444;
  border-radius: 0.5rem;
  text-align: center;
  max-width: 20rem;
  margin: 0 auto;
  position: relative;
  padding-top: 7rem;
  transition: transform 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-0.3125rem);
  background: #333;
}
.feature-icon-wrapper {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(229, 115, 115, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
}
.feature-icon {
  font-size: 2.5rem;
  color: #e57373;
}

/* --- Testimonials --- */
#testimonials {
  background: linear-gradient(rgba(26, 26, 26, 0.85), rgba(26, 26, 26, 0.85)),
    url("images/music.jpg") center/cover fixed #1a1a1a;
}
#testimonials h2 {
  margin-bottom: 3.75rem;
}

.testimonial-slider {
  position: relative;
  overflow: visible;
  padding: 1.875rem 0;
}
.testimonial-grid {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-left: 5%;
  padding-right: 5%;
}

.testimonial-card {
  flex: 0 0 70%;
  max-width: 28.125rem;
  background-color: rgba(60, 51, 44, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 218, 185, 0.2);
  border-radius: 0.75rem;
  padding: 4.5rem 1.875rem 1.875rem;
  text-align: center;
  position: relative;
  transform: scale(0.85);
  opacity: 0.6;
  transition: transform 0.5s ease, opacity 0.5s ease, height 0.5s ease,
    padding-bottom 0.5s ease;
  display: flex;
  flex-direction: column;
  min-height: 17.5rem;
}

.testimonial-card.active {
  transform: scale(1);
  opacity: 1;
  background-color: rgba(40, 35, 30, 0.8);
}

.testimonial-card.expanded {
  padding-bottom: 3.75rem;
}

.testimonial-avatar {
  width: 6.25rem;
  height: 6.25rem;
  border-radius: 50%;
  border: 0.25rem solid #e57373;
  overflow: hidden;
  position: absolute;
  top: -2.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1a1a1a;
  z-index: 10;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-content {
  flex-grow: 1;
  position: relative;
  padding-top: 1rem;
}
.testimonial-content blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #f5f5f5;
  margin: 0 0 0.9375rem 0;
}
.testimonial-content .preview-text,
.testimonial-content .full-text {
  display: block;
}
.testimonial-content .full-text {
  display: none;
}
/* Updated: button styling for read-more */
.testimonial-content .read-more {
  background: none;
  border: none;
  color: #e57373;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: right;
  padding: 0;
  font-family: inherit;
  align-self: flex-end;
}
.testimonial-content .read-more:hover {
  text-decoration: underline;
}
.testimonial-content cite {
  font-weight: 700;
  color: #ffdab9;
  text-align: right;
  display: block;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(229, 115, 115, 0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2.8125rem;
  height: 2.8125rem;
  font-size: 1.125rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
}

.testimonial-arrow.prev {
  left: 1.5rem;
}
.testimonial-arrow.next {
  right: 1.5rem;
}
.testimonial-arrow:hover {
  background-color: #d85c5c;
}

/* --- Contact --- */
#contact {
  background-color: #1a1a1a; /* Darker background for contact section */
  text-align: center;
  padding: 3.75rem 0;
  color: #f5f5f5; /* Lighter text for contact section */
}
#contact h2 {
  color: #ffdab9; /* Lighter heading */
  margin-bottom: 0.9375rem;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3.75rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.contact-item i {
  color: #e57373;
  font-size: 1.5rem;
}
.contact-item a,
.contact-item span {
  font-size: 1.1rem;
  color: #f5f5f5; /* Lighter text for contact details */
  transition: color 0.3s ease;
}
.contact-item a:hover {
  color: #e57373;
}

.cta-button {
  display: inline-block;
  background: #e57373;
  color: #f5f5f5;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.3s ease;
}
.cta-button:hover {
  background: #d85c5c;
  transform: translateY(-0.1875rem);
}

/* --- Mobile Nav --- */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.3125rem;
  z-index: 2000;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  background: #ffdab9;
  width: 2em;
  height: 0.1875rem;
  border-radius: 1em;
  transition: transform 0.3s ease-in-out, opacity 0.15s linear;
}
.hamburger {
  display: block;
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}
.hamburger::before {
  top: -0.5rem;
}
.hamburger::after {
  bottom: -0.5rem;
}
.nav-open .hamburger {
  transform: rotate(45deg);
}
.nav-open .hamburger::before {
  transform: rotate(90deg) translate(-0.5rem);
}
.nav-open .hamburger::after {
  opacity: 0;
}

/* --- POLAROID IMAGE STYLE (for about.html) --- */
.polaroid-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 0;
  perspective: 1000px;
}

.polaroid {
  background: white;
  padding: 1rem 1rem 2.5rem 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transform: rotate(-2deg);
  display: inline-block;
  max-width: 300px;
  transition: all 0.4s ease;
  position: relative;
}

.polaroid:hover {
  transform: rotate(0deg) scale(1.05) translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.25rem;
}

.polaroid:nth-child(even) {
  transform: rotate(2deg);
}
.polaroid:nth-child(3n) {
  transform: rotate(-1deg);
}

.polaroid-caption {
  text-align: center;
  margin-top: 1rem;
  font-family: "Great Vibes", cursive;
  font-size: 1.4rem;
  color: #443a30;
  font-weight: normal;
}

/* --- About Hero & Content (for about.html) --- */
.about-hero {
  background: linear-gradient(rgba(26, 26, 26, 0.85), rgba(26, 26, 26, 0.85)),
    url("images/performance.jpg") no-repeat center center/cover;
  padding: 4rem 0;
  text-align: center;
}

.about-hero h2 {
  color: #ffdab9;
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.about-hero .about-intro {
  font-size: 1.2rem;
  max-width: 50rem;
  margin: 0 auto;
  line-height: 1.8; /* Standardized */
}

#about-details {
  background-color: #1a1a1a;
  padding: 5rem 0;
}

.about-section-content {
  display: flex;
  flex-direction: column;
  gap: 4rem; /* Increased gap for better separation */
  margin-top: 3rem;
}

.about-content-item {
  display: flex;
  align-items: center;
  gap: 3rem; /* Increased gap between image and text */
  max-width: 75rem;
  margin: 0 auto 3rem; /* Added bottom margin for spacing between items */
  background-color: rgba(37, 37, 37, 0.8);
  border-radius: 12px;
  padding: 2.5rem; /* Added padding to the container */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Modernized shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
}

.about-content-item:hover {
  transform: translateY(-8px); /* Lift effect on hover */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7); /* Enhanced shadow on hover */
}

.about-content-item:nth-child(even) {
  flex-direction: row-reverse; /* Alternate layout for even items */
}

.about-image-container {
  flex: 0 0 40%;
  position: relative;
  padding: 1.5rem;
  background-color: #2a2a2a; /* Darker background */
  border: 0.5rem solid #e57373; /* Complementary border color */
  box-shadow: 0 0.8rem 1.5rem rgba(0, 0, 0, 0.4); /* Deeper shadow */
  transform: rotate(-2deg); /* Slightly less rotation */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 8px; /* Added border radius to image container */
}

.about-image-container:hover {
  transform: rotate(0deg) scale(1.02); /* Subtle zoom and straighten on hover */
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.6); /* Even deeper shadow on hover */
}

.about-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.25rem;
}

.about-text {
  flex: 1;
  padding: 0 1.5rem; /* Adjusted padding */
  text-align: left; /* Ensure text is left-aligned within its box */
}

.about-text h3 {
  color: #ffdab9;
  font-size: 1.8rem; /* Standardized from 2rem */
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1rem; /* Standardized from 1.05rem */
  line-height: 1.8; /* Standardized */
  color: #e0e0e0; /* Slightly lighter text for readability */
}

/* Additional styling for the main text box on the right */
#about-details .container > div:first-child {
  background: linear-gradient(145deg, rgba(37, 37, 37, 0.9), rgba(26, 26, 26, 0.95));
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 218, 185, 0.1);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about-details .container > div:first-child:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

#about-details .container > div:first-child p {
  font-size: 1.1rem;
  line-height: 1.8; /* Standardized */
  color: #f5f5f5;
}

#about-details .container > div:first-child .highlight {
  color: #ffdab9;
  font-weight: bold;
}

/* --- Footer --- */
footer {
  background-color: #111;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

/* --- MOBILE SMOOTHNESS IMPROVEMENTS --- */
@media (max-width: 768px) {
  * {
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .testimonial-slider,
  .tribe-slider {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .testimonial-grid,
  .tribe-grid {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .testimonial-card,
  .tribe-card {
    will-change: transform, opacity;
  }

  .testimonial-arrow,
  .tribe-arrow {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .about-content-item {
    flex-direction: column; /* Stack image and text vertically on mobile */
    text-align: center;
    padding: 2rem 1.5rem;
    margin-bottom: 2.5rem;
  }

  .about-content-item:nth-child(even) {
    flex-direction: column; /* Ensure vertical stacking for all items on mobile */
  }

  .about-image-container {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px; /* Adjust max-width for mobile images */
    margin-bottom: 1.5rem; /* Space between image and text */
    transform: rotate(0deg); /* Remove rotation on mobile */
    border: 0.4rem solid #e57373;
    box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.3);
  }

  .about-image-container:hover {
    transform: scale(1.02); /* Subtle zoom on hover for mobile */
    box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.5);
  }

  .about-text {
    padding: 0;
    text-align: center; /* Center text on mobile */
  }

  .about-text h3 {
    font-size: 1.6rem;
  }

  .about-text p {
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
  .tribe-card {
    flex: 0 0 80%;
    max-width: 36rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 0.9375rem;
  }
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }
  h3 {
    font-size: 1.3rem;
  }
  #about,
  #gallery,
  #class-features,
  #testimonials,
  #retention {
    background-attachment: scroll;
    color: #fff;
  }
  .nav-toggle {
    display: block;
  }
  nav {
    position: absolute;
    background: rgba(37, 37, 37, 0.98);
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    transform: scaleY(0);
    transition: transform 0.3s ease-in-out;
  }
  nav.nav--visible {
    display: flex;
    transform: scaleY(1);
  }
  nav ul {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
  }

  /* FIXED: Contact section mobile padding */
  .contact-details {
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 1rem;
    max-width: 100%;
  }

  .tribe-card {
    flex: 0 0 88%;
    max-width: 40rem;
    padding: 1rem;
  }
  .tribe-card .video-caption {
    font-size: 1rem;
    padding: 0.35rem 0.8rem;
  }
  .tribe-arrow {
    width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
  }
  .tribe-arrow.prev {
    left: 0.75rem;
  }
  .tribe-arrow.next {
    right: 0.75rem;
  }

  .tribe-card .video-wrapper {
    margin: 0;
    border-width: 3px;
  }

  .tribe-card .video-wrapper iframe {
    width: calc(100% + 6px) !important;
    height: calc(100% + 6px) !important;
    left: -3px !important;
    top: -3px !important;
  }

  .testimonial-card {
    flex: 0 0 85%;
    max-width: 22rem;
    padding: 4rem 1.5rem 1.5rem;
    min-height: 15rem;
  }
  .testimonial-avatar {
    width: 5rem;
    height: 5rem;
    top: -2.2rem;
    border-width: 0.2rem;
  }
  .testimonial-content {
    padding-top: 0.75rem;
  }
  .testimonial-content blockquote {
    font-size: 1rem;
  }
  .testimonial-content .read-more,
  .testimonial-content cite {
    font-size: 0.85rem;
  }

  #hero {
    height: 60vh;
  }
  #hero-title {
    font-size: 1.8rem;
  }
  #hero-subtitle {
    font-size: 1.2rem;
  }

  .about-content-item {
    flex-direction: column;
    text-align: center;
  }

  .about-image-container {
    flex: 0 0 auto;
    width: 100%;
    max-width: 25rem;
    transform: rotate(0deg);
  }

  .about-cta-button {
    font-size: 1.1rem;
    padding: 0.875rem 2rem;
    gap: 0.5rem;
  }

  .about-cta-icon {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 1.6rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }

  .contact-details {
    gap: 1rem;
    padding: 0 1.5rem;
  }

  .tribe-card {
    flex: 0 0 94%;
    max-width: 44rem;
  }
  .tribe-card .video-caption {
    font-size: 0.95rem;
    padding: 0.3rem 0.7rem;
  }
  .tribe-arrow {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.1rem;
  }

  .tribe-card .video-wrapper iframe {
    width: calc(100% + 6px) !important;
    height: calc(100% + 6px) !important;
    left: -3px !important;
    top: -3px !important;
  }

  .testimonial-card {
    flex: 0 0 92%;
    max-width: 19rem;
    padding: 3.5rem 1.25rem 1.25rem;
    min-height: 13rem;
  }
  .testimonial-avatar {
    width: 4.2rem;
    height: 4.2rem;
    top: -1.9rem;
    border-width: 0.18rem;
  }
  .testimonial-content {
    padding-top: 0.5rem;
  }
  .testimonial-content blockquote {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
  .testimonial-content .read-more,
  .testimonial-content cite {
    font-size: 0.8rem;
  }

  .cta-button {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
  }
  #hero-title {
    font-size: 1.6rem;
  }
  #hero-subtitle {
    font-size: 1.1rem;
  }

  .about-image-container {
    padding: 1rem;
    border-width: 0.3rem;
  }

  .about-text h3 {
    font-size: 1.5rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  .about-hero {
    padding: 3rem 0;
  }

  .about-cta-button {
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
  }
}

/* === Reset & Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

p {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.8; /* Standardized */
  color: #f5f5f5;
}

/* === FINAL FIX: Prevent any horizontal overflow in Tribe slider === */
.tribe-slider,
.tribe-grid,
.tribe-card,
.tribe-card * {
  box-sizing: border-box;
}

/* --- Artistic Student Retention Section --- */
#retention {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  background: radial-gradient(
      circle at center,
      rgba(255, 218, 185, 0.15),
      transparent 70%
    ),
    linear-gradient(135deg, rgba(229, 115, 115, 0.12), rgba(26, 26, 26, 0.9)),
    url("images/music.jpg") center/cover no-repeat;
  overflow: visible;
}

/* Soft spotlight glow */
#retention::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(255, 218, 185, 0.25),
    transparent 70%
  );
  filter: blur(60px);
  opacity: 0.8;
  pointer-events: none;
}

/* Floating particles – classy, subtle */
#retention::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: 0.18;
  animation: shimmer 14s linear infinite;
  pointer-events: none;
}

@keyframes shimmer {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 800px 800px;
  }
}

/* Number styling */
.retention-number {
  font-size: 4rem;
  /* font-family: "Playfair Display", serif; */
  font-weight: 700;
  text-shadow: 0px 0px 12px #b5b828;
  /* color: #000000; /* Darker and more visible */ 
  letter-spacing: 0.02em;
  animation: riseUp 1.5s ease-out forwards;
  opacity: 0;
}

@keyframes riseUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Tagline */
.retention-text {
  font-size: 1.3rem;
  margin-top: 0.8rem;
  color: #fff;
  opacity: 0;
  animation: fadeIn 2.2s ease-out forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.9;
  }
}

/* --- Left Image + Right Paragraph Layout --- */

.vision-split-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* Image Left */
.vision-photo-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

.vision-photo {
  width: 100%;
  max-width: 360px;
  border-radius: 14px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.45);
  animation: fadeVisionIn 1.2s ease forwards;
  opacity: 0;
  border: 4px solid #e57373; /* Refined border */
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(229, 115, 115, 0.25); /* Enhanced shadow */
  transform: scale(1.02) rotate(-3deg); /* Slightly more rotation and scale */
  transition: transform 0.4s ease, box-shadow 0.4s ease; /* Smoother transition */
}

@keyframes fadeVisionIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Text Box Right */
.vision-text-box {
  flex: 1.4;
  background: radial-gradient(circle at top left, rgba(255, 218, 185, 0.08), rgba(26, 26, 26, 0.8)); /* Radial gradient */
  padding: 2.5rem 3rem; /* Adjusted padding */
  border-radius: 15px; /* Softer border-radius */
  border: 1px solid rgba(255, 218, 185, 0.15); /* Subtle border */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 218, 185, 0.1); /* Enhanced shadow */
  backdrop-filter: blur(10px); /* Slightly more blur */
  animation: slideFadeUp 1.2s ease forwards;
  opacity: 0;
  color: #e0e0e0; /* Adjusted text color for readability */
}

@keyframes slideFadeUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Normal paragraph text */
p {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.8; /* Standardized */
  color: #f5f5f5;
}

.vision-paragraph {
  font-size: 1.1rem; /* Standardized from 1.15rem */
  color: #e0e0e0; /* Adjusted for consistency */
  line-height: 1.8; /* Standardized */
  font-weight: 300;
  margin-bottom: 2rem;
}
.vision-paragraph b,
.vision-paragraph strong {
  font-weight: 700;
  color: #ffdab9;
}

/* Button alignment */
.vision-cta-inline {
  margin-top: 1rem;
  display: inline-flex;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .vision-split-layout {
    flex-direction: column;
    text-align: center;
  }

  .vision-text-box {
    border-left: none;
    border-right: none;
    border-top: 4px solid #ffdab9;
    border-bottom: 4px solid #e57373;
  }

  .vision-cta-inline {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .vision-paragraph {
    font-size: 1rem;
  }
}
/* Bigger + Emphasized Image */
.emphasized-photo {
  width: 100%;
  max-width: 480px; /* increased from 360px → 480px */
  border-radius: 18px;
  box-shadow: 0 0 55px rgba(0, 0, 0, 0.55), 0 0 25px rgba(229, 115, 115, 0.35);
  transform: scale(1.02);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Smooth hover hero effect */
.emphasized-photo:hover {
  transform: scale(1.06);
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.6), 0 0 35px rgba(229, 115, 115, 0.45);
}

.fade-up {
  transition: all 0.9s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- NEWS / NOTICE BOARD SECTION --- */

#notice-board {
  background: #ffdab9; /* Background color changed to match heading */
  backdrop-filter: blur(4px);
  padding: 3.5rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 218, 185, 0.2);
  border-bottom: 1px solid rgba(255, 218, 185, 0.2);
}

.notice-title {
  display: none; /* Heading removed */
  text-align: center;
  font-size: 2.2rem;
  color: #ffdab9;
  margin-bottom: 2rem;
  font-family: "Playfair Display", serif;
}

.notice-container {
  max-width: 60rem;
  margin: auto;
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.notice-item {
  display: flex;
  align-items: flex-start;
  background: #1a1a1a; /* Changed to website background color */
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #e57373;
  transition: transform 0.25s ease, background 0.25s ease;
}

.notice-item:hover {
  transform: translateX(6px);
  background: #333; /* Slightly lighter for hover effect */
}

.notice-bullet {
  display: none;
}

.notice-item p {
  font-size: 1.1rem;
  color: #f5f5f5; /* Adjusted for visibility on dark background */
  line-height: 1.6;
}





