/* Additional CSS for Modular Components */

/* Brand Color Tokens */
:root {
  --primary-purple: #6A0DAD;
  --light-purple: #9B59B6;
  --dark-purple: #4A0080;
  --primary-white: #FFFFFF;
  --secondary-white: #F5F5F5;
  --text-dark: #333333;
  --text-purple: #6A0DAD;
  
  /* Brand Gradient - Unified across all sections */
  --brand-gradient: linear-gradient(135deg, #000000, #1a0033, #2d004d, #000000);
  
  /* Overlay Utilities */
  --overlay-dark-60: rgba(0, 0, 0, 0.6);
  --overlay-dark-40: rgba(0, 0, 0, 0.4);
  --overlay-purple-40: rgba(106, 13, 173, 0.4);
  --overlay-purple-30: rgba(106, 13, 173, 0.3);
  --overlay-purple-20: rgba(106, 13, 173, 0.2);
  
  /* Shadow Hierarchy */
  --shadow-hero: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-minor: 0 2px 6px rgba(0, 0, 0, 0.1);
  
  /* Spacing System */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
  --space-xxxl: 48px;
  
  /* Typography Scale */
  --font-size-h1: 3.2em;
  --font-size-h2: 2.4em;
  --font-size-h3: 1.8em;
  --font-weight-bold: 700;
  --font-weight-semibold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  
  /* Responsive Breakpoints */
  --breakpoint-mobile: 480px;
  --breakpoint-tablet: 768px;
  --breakpoint-desktop: 1024px;
  --breakpoint-large: 1200px;
  
  /* Focus States */
  --focus-ring: 2px solid var(--light-purple);
  --focus-ring-offset: 2px;
}

/* Universal Focus Styles for Accessibility */
*:focus {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

/* Remove outline for mouse users, keep for keyboard users */
*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

/* Motion Reduction for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Utility Classes for Consistent Spacing */
.spacing-xs { margin: var(--space-xs); }
.spacing-sm { margin: var(--space-sm); }
.spacing-md { margin: var(--space-md); }
.spacing-lg { margin: var(--space-lg); }
.spacing-xl { margin: var(--space-xl); }
.spacing-xxl { margin: var(--space-xxl); }
.spacing-xxxl { margin: var(--space-xxxl); }

.padding-xs { padding: var(--space-xs); }
.padding-sm { padding: var(--space-sm); }
.padding-md { padding: var(--space-md); }
.padding-lg { padding: var(--space-lg); }
.padding-xl { padding: var(--space-xl); }
.padding-xxl { padding: var(--space-xxl); }
.padding-xxxl { padding: var(--space-xxxl); }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: var(--font-weight-bold); }
.font-semibold { font-weight: var(--font-weight-semibold); }

.line-height-tight { line-height: var(--line-height-tight); }
.line-height-normal { line-height: var(--line-height-normal); }
.line-height-relaxed { line-height: var(--line-height-relaxed); }

/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--brand-gradient);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at top right, rgba(106, 13, 173, 0.4), transparent 60%),
    radial-gradient(circle at bottom left, rgba(153, 50, 204, 0.3), transparent 60%),
    radial-gradient(circle at center, rgba(75, 0, 130, 0.2), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 2;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 80%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
  z-index: 3;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
  color: var(--light-purple);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-description {
  font-size: 1.2rem;
  line-height: var(--line-height-relaxed);
  margin-bottom: 3rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
  border-radius: 50px;
  border: 2px solid var(--primary-purple);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button.primary {
  background-color: var(--primary-purple);
  color: var(--primary-white);
}

.cta-button.primary:hover {
  background-color: var(--light-purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--primary-purple);
}

.cta-button.secondary:hover {
  background-color: var(--primary-purple);
  color: var(--primary-white);
  transform: translateY(-2px);
}



/* Workshops Section Styles */
.workshops-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #000000, #1a0033, #2d004d, #000000);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  position: relative;
}

.workshop-section {
  margin-bottom: 4rem;
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* responsive minmax */
  gap: 3rem; /* spacing */
  max-width: 1300px; /* allow wider cards while still fitting 3 */
  margin: 0 auto;
  padding: 0 4rem;
}

@media (max-width: 1200px) {
  .workshops-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    padding: 0 3rem;
  }
}

@media (max-width: 768px) {
  .workshops-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 400px;
    margin: 0 auto;
    gap: 2rem; /* slightly wider on tablet */
    padding: 0 1rem; /* restore tighter padding on tablets */
  }
}

@media (max-width: 480px) {
  .workshops-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem; /* maintain comfortable spacing on mobile */
    padding: 0 0.5rem; /* minimal padding on mobile */
  }
}

.workshop-card {
  background-color: var(--primary-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(106, 13, 173, 0.08);
  display: flex;
  flex-direction: column;
  height: auto; /* Changed from fixed height to auto to remove white space */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.workshop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(106, 13, 173, 0.15);
}

.workshop-image-container {
  flex: 1 1 auto; /* Changed from flex: 0 0 75% to allow image to fill space */
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f8f8;
  padding: 0;
}

.workshop-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.workshop-card:hover .workshop-image {
  transform: scale(1.05);
}

.workshop-content {
  padding: 1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.workshop-header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.workshop-style {
  color: var(--primary-purple);
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

.workshop-artist {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.workshop-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.workshop-info-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.workshop-info-item {
  display: flex;
  align-items: center;
  color: var(--text-dark);
  font-size: 0.8rem;
}

.workshop-icon {
  color: var(--primary-purple);
  margin-right: 0.3rem;
  font-size: 0.9rem;
}

.workshop-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  margin-top: -0.5rem;
  padding-top: 0.2rem;
}

.workshop-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-purple);
  text-align: center;
  margin-bottom: 0.1rem;
}

.workshop-register-button {
  background-color: var(--primary-purple);
  color: var(--primary-white);
  border: none;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.workshop-register-button:hover {
  background-color: #5a0b96;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(90, 11, 150, 0.3);
}

.workshop-register-button:active {
  transform: translateY(0);
}



/* Footer Section Styles */
.footer-section {
  background-color: black;
  color: white;
  padding: 5rem 0 2rem;
  position: relative;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--primary-purple),
    transparent
  );
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-brand h2 {
  font-size: 1.8rem;
  color: var(--primary-purple);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.8;
  color: white;
}

.footer-title {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-purple);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-icon {
  margin-right: 0.8rem;
  margin-top: 0.2rem;
  font-size: 1.1rem;
}

.contact-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: white;
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: white;
}

.schedule-item span:first-child {
  font-weight: 500;
  color: white;
}

.schedule-item span:last-child {
  color: var(--primary-purple);
}

.special-event {
  font-size: 0.9rem;
  line-height: 1.5;
  color: white;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: white;
  margin-bottom: 1rem;
}

.registration-form {
  margin-top: 1rem;
}

.register-cta {
  width: 100%;
  padding: 0.8rem;
  background-color: var(--primary-purple);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.register-cta:hover {
  background-color: var(--dark-purple);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 0 15px;
  height: 40px;
  border-radius: 20px;
  background-color: rgba(106, 13, 173, 0.1);
  color: var(--primary-purple);
  border: 1px solid rgba(106, 13, 173, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background-color: var(--primary-purple);
  color: white;
  transform: scale(1.05);
}

.social-icon {
  margin-right: 8px;
}

.footer-mobile {
  display: none;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(106, 13, 173, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Animation Classes */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.animate-in.fade-up {
  opacity: 1;
  transform: translateY(0);
}

.animate-in.fade-in {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
  }
  
  .workshops-grid {
    grid-template-columns: minmax(260px, 1fr); /* match wider cards on tablet */
    max-width: 400px;
    margin: 0 auto;
    gap: 2rem; /* slightly wider on tablet */
    padding: 0 1rem; /* restore tighter padding on tablets */
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .highlight-item {
    min-width: unset;
    font-size: 0.85rem;
  }
  

  
  .workshops-section {
    padding: 4rem 0;
  }
  
  .workshop-card {
    height: 620px; /* keep proportionally larger */
  }
  
  .workshop-card:hover {
    transform: none;
  }
  
  .workshop-content {
    padding: 0.75rem 1rem;
  }
  
  .workshop-footer {
    margin-top: -1rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .dance-week-content {
    padding: 0 1rem;
  }
  
  .workshop-card {
    margin: 0 1rem;
  }
  
  .footer-content {
    display: none;
  }
  
  .footer-mobile {
    display: block;
    padding: 1rem;
    text-align: center;
  }
  
  .mobile-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .mobile-contact-item .contact-icon {
    color: var(--primary-purple);
    margin-right: 0.4rem;
    font-size: 0.8rem;
  }
  
  .mobile-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
  }
  
  .mobile-social {
    margin: 1rem 0;
  }
  
  .mobile-social-link {
    color: var(--primary-purple);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .mobile-social-link:hover {
    transform: scale(1.05);
  }
  
  .footer-bottom {
    margin: 0 auto;
    padding: 0.5rem 1rem;
    border-top: none;
    font-size: 0.7rem;
  }
  
  .workshops-section {
    padding: 3rem 0;
  }
  
  .dance-week-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
  }
  
  .dance-week-description {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  

  
  .workshops-section {
    padding: 2.5rem 0;
  }
  
  .dance-week-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .dance-week-description {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
  

  
  .workshops-grid {
    padding: 0 0.5rem; /* minimal padding on mobile */
  }
}

/* Exact CSS Recreation from Original Styled Components */

/* Workshop Section - E3 from original */
.workshops-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #000000, #1a0033, #2d004d, #000000);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  position: relative;
}

@media (max-width: 768px) {
  .workshops-section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .workshops-section {
    padding: 3rem 0;
  }
}

/* Workshop Container */
.workshop-container {
  width: 100%;
}

/* Section Title - M3 from original */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
  color: var(--primary-white);
  position: relative;
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-purple);
}

/* Section Container - D3 from original */
.section-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
  margin-bottom: 5rem;
}

@media (max-width: 768px) {
  .section-container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .section-container {
    padding: 0 0.5rem;
    overflow-x: hidden;
  }
}

/* Workshop Grid - w3 from original */
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* responsive minmax */
  gap: 3.5rem;
  justify-content: center;
  margin: 0 auto;
  padding: 0 4rem;
  max-width: 1400px; /* allow wider cards */
}

@media (max-width: 1200px) {
  .workshop-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    padding: 0 3rem;
  }
}

@media (max-width: 768px) {
  .workshop-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    max-width: 500px; /* allow for wider cards */
    gap: 2.5rem; /* increased on tablet */
    padding: 0 1rem; /* tighter on tablet */
  }
}

@media (max-width: 480px) {
  .workshop-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    max-width: 500px; /* allow for wider cards */
    gap: 1.5rem; /* maintain comfortable spacing on mobile */
    padding: 0 0.5rem; /* minimal on mobile */
  }
}

/* Workshop Card - zc from original */
.workshop-card {
  background-color: var(--primary-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(106, 13, 173, 0.08);
  display: flex;
  flex-direction: column;
  height: auto; /* Changed from fixed height to auto to remove white space */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.workshop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(106, 13, 173, 0.15);
}

@media (max-width: 1200px) {
  .workshop-card {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .workshop-card {
    height: 420px; /* keep proportionally larger */
  }
  
  .workshop-card:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  .workshop-card {
    height: 380px;
  }
}

/* Workshop Image Container - C3 from original */
.workshop-image-container {
  flex: 1 1 auto; /* Changed from flex: 0 0 75% to allow image to fill space */
  min-height: 0;
  overflow: hidden;
  position: relative; /* Required for absolute positioned overlay button */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f8f8;
  padding: 0;
}

@media (max-width: 768px) {
  .workshop-image-container {
    flex: 0 0 70%; /* slightly smaller on mobile */
  }
}

@media (max-width: 480px) {
  .workshop-image-container {
    flex: 0 0 65%; /* even smaller on small mobile */
  }
}

/* Workshop Image - R3 from original */
.workshop-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.workshop-card:hover .workshop-image {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .workshop-card:hover .workshop-image {
    transform: none;
  }
}

/* Workshop Content - O3 from original */
.workshop-content {
  padding: 1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .workshop-content {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .workshop-content {
    padding: 0.5rem 0.75rem;
  }
}

/* Workshop Style - V3 from original */
.workshop-style {
  color: var(--primary-purple);
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

@media (max-width: 768px) {
  .workshop-style {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .workshop-style {
    font-size: 1rem;
  }
}

/* Workshop Artist - _3 from original */
.workshop-artist {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 768px) {
  .workshop-artist {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .workshop-artist {
    font-size: 0.8rem;
  }
}

/* Workshop Info Item - Dp from original */
.workshop-info-item {
  display: flex;
  align-items: center;
  color: var(--text-dark);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .workshop-info-item {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .workshop-info-item {
    font-size: 0.7rem;
  }
}

.workshop-icon {
  color: var(--primary-purple);
  margin-right: 0.3rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .workshop-icon {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .workshop-icon {
    font-size: 0.75rem;
  }
}

/* Workshop Price - N3 from original */
.workshop-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-purple);
  text-align: center;
  margin-bottom: 0.1rem;
}

@media (max-width: 768px) {
  .workshop-price {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .workshop-price {
    font-size: 0.9rem;
  }
}

/* Workshop Register Button - H3 from original */
.workshop-register-button {
  background-color: var(--primary-purple);
  color: var(--primary-white);
  border: none;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .workshop-register-button {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .workshop-register-button {
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
  }
}

.workshop-register-button:hover {
  background-color: #5a0b96;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(90, 11, 150, 0.3);
}

.workshop-register-button:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .workshop-register-button:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Overlaid Register Button Styles */
.workshop-register-button-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(106, 13, 173, 0.9);
  color: var(--primary-white);
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.workshop-register-button-overlay:hover {
  background: rgba(106, 13, 173, 1);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.workshop-register-button-overlay:active {
  transform: translateY(0) scale(1);
  transition: all 0.1s ease;
}

@media (max-width: 768px) {
  .workshop-register-button-overlay {
    bottom: 8px;
    right: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
  
  .workshop-register-button-overlay:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 480px) {
  .workshop-register-button-overlay {
    bottom: 6px;
    right: 6px;
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
  }
}

/* Loading Screen Styles - Exact from original */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--primary-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.loading-content {
  text-align: center;
}

.loading-content h1 {
  color: var(--primary-purple);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-gif {
  width: 120px;
  height: auto;
}

@media (max-width: 768px) {
  .loading-content h1 {
    font-size: 1.8rem;
  }
  
  .loading-gif {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .loading-content h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .loading-gif {
    width: 80px;
  }
}

/* Main App Container */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
}

main {
  flex: 1;
  width: 100%;
  overflow-x: hidden;
}

/* Basic responsive adjustments */
@media screen and (max-width: 768px) {
  img,
  video {
    max-width: 100%;
    height: auto;
  }
}

/* Hero Section Carousel Styles */
.hero-section {
  width: 100%;
  position: relative;
  background: var(--brand-gradient);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  padding: 0;
  margin: 0;
}

.hero-carousel-main {
  width: 100%;
  height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0 0.1rem 0;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 0;
  }
  
  .hero-carousel-main {
    height: 60vh;
    padding: 1.5rem 0 0.1rem 0;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 0;
  }
  
  .hero-carousel-main {
    height: 50vh;
    padding: 1rem 0 0.1rem 0;
  }
}

/* Hero Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at top right, var(--overlay-purple-20), transparent 60%),
    radial-gradient(circle at bottom left, var(--overlay-purple-20), transparent 60%);
  z-index: 2;
  pointer-events: none;
}

/* Focus styling for keyboard navigation */
.hero-carousel-main:focus {
  outline: 3px solid rgba(106, 13, 173, 0.8);
  outline-offset: -3px;
}

/*
   Unified carousel CSS - No longer used
   Now using restored circular layout with left-center-right slides

.hero-carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-current-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #000;
  z-index: 1;
  transition: opacity 0.5s ease;
}
*/

/*
   Navigation Buttons CSS - No longer used
   Carousel now uses keyboard navigation (left/right arrow keys)

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--primary-white);
  border: 2px solid rgba(106, 13, 173, 0.6);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.hero-nav-prev {
  left: 20px;
}

.hero-nav-next {
  right: 20px;
}

.hero-nav-btn:hover {
  background-color: var(--primary-purple);
  border-color: var(--primary-purple);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 15px rgba(106, 13, 173, 0.8);
}

.hero-nav-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.5);
}

@media (max-width: 768px) {
  .hero-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .hero-nav-prev {
    left: 15px;
  }
  
  .hero-nav-next {
    right: 15px;
  }
}

@media (max-width: 480px) {
  .hero-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .hero-nav-prev {
    left: 10px;
  }
  
  .hero-nav-next {
    right: 10px;
  }
}
*/

/* Desktop Carousel Container - Restored for circular layout */
.hero-desktop-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-carousel-wrapper {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-slides-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200%;
  height: 100%;
}

/* Individual Slides */
.hero-slide {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  overflow: hidden;
}

.hero-slide-image {
  max-width: 60vw; /* responsive to viewport width */
  max-height: 70vh; /* responsive to viewport height */
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
}

.hero-slide-center {
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  z-index: 3;
  opacity: 1;
}

.hero-slide-left {
  left: 15%;
  transform: translateX(-50%) scale(0.75);
  z-index: 1;
  opacity: 0.7;
  filter: brightness(0.7);
}

.hero-slide-left:hover {
  transform: translateX(-50%) scale(0.8);
  cursor: pointer;
}

.hero-slide-right {
  left: 85%;
  transform: translateX(-50%) scale(0.75);
  z-index: 1;
  opacity: 0.7;
  filter: brightness(0.7);
}

.hero-slide-right:hover {
  transform: translateX(-50%) scale(0.8);
  cursor: pointer;
}

/* Mobile Simple Slide */
.hero-mobile-slide {
  position: relative;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 3;
  transition: opacity 0.5s ease;
  max-width: 90%;
  display: flex;
  justify-content: center;
}

.hero-mobile-slide .hero-slide-image {
  max-width: 85vw; /* responsive on mobile */
  max-height: 60vh; /* responsive on mobile */
  width: auto;
  height: auto;
  display: block;
}

/* Responsive breakpoints for carousel */
@media (max-width: 1200px) {
  .hero-slide-image {
    max-width: 55vw;
    max-height: 65vh;
  }
}

@media (max-width: 768px) {
  .hero-slide-image {
    max-width: 50vw;
    max-height: 60vh;
  }
  
  .hero-slide-left {
    left: 10%;
    transform: translateX(-50%) scale(0.7);
  }
  
  .hero-slide-right {
    left: 90%;
    transform: translateX(-50%) scale(0.7);
  }
  
  .hero-slide-left:hover {
    transform: translateX(-50%) scale(0.75);
  }
  
  .hero-slide-right:hover {
    transform: translateX(-50%) scale(0.75);
  }
}

@media (max-width: 480px) {
  .hero-slide-image {
    max-width: 45vw;
    max-height: 55vh;
  }
  
  .hero-slide-left {
    left: 8%;
    transform: translateX(-50%) scale(0.65);
  }
  
  .hero-slide-right {
    left: 92%;
    transform: translateX(-50%) scale(0.65);
  }
  
  .hero-slide-left:hover {
    transform: translateX(-50%) scale(0.7);
  }
  
  .hero-slide-right:hover {
    transform: translateX(-50%) scale(0.7);
  }
  
  .hero-mobile-slide .hero-slide-image {
    max-width: 80vw;
    max-height: 50vh;
  }
}

/* Navigation Dots */
.hero-navigation {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 13px;
  border-radius: 16px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .hero-navigation {
    padding: 8px 11px;
    bottom: 12px;
  }
}

@media (max-width: 480px) {
  .hero-navigation {
    padding: 6px 10px;
    bottom: 8px;
  }
}

.hero-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  opacity: 0.8;
}

.hero-dot.active {
  background-color: var(--primary-purple);
  border: 2px solid var(--primary-purple);
  box-shadow: 0 0 8px rgba(106, 13, 173, 0.6);
  opacity: 1;
}

.hero-dot:hover {
  opacity: 1;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(106, 13, 173, 0.8);
}

.hero-dot:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(106, 13, 173, 0.5);
}

@media (max-width: 480px) {
  .hero-dot {
    width: 10px;
    height: 10px;
    margin: 0 3px;
    border-width: 1px;
  }
}

/* Footer Section Styles - Exact Recreation of lE Component */
.footer-section {
  background-color: black;
  color: #fff;
  padding: 5rem 0 2rem;
  position: relative;
}

.footer-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--primary-purple),
    transparent
  );
}

@media (max-width: 768px) {
  .footer-section {
    padding: 3rem 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-section {
    padding: 0.5rem 0 1rem;
    max-height: 20vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Main Footer Container */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

@media (max-width: 768px) {
  .footer-container {
    padding: 0 1.5rem;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 1rem;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    display: none; /* Hide the detailed content on mobile */
  }
}

/* Footer Columns */
.footer-column {
  display: flex;
  flex-direction: column;
}

/* Footer Header */
.footer-header {
  margin-bottom: 1.5rem;
}

.footer-header h2 {
  font-size: 1.8rem;
  color: var(--primary-purple);
  margin-bottom: 0.5rem;
  margin: 0;
}

.footer-header p {
  font-size: 0.9rem;
  opacity: 0.8;
  color: white;
  margin: 0;
}

@media (max-width: 480px) {
  .footer-header h2 {
    font-size: 1.6rem;
  }
}

/* Footer Section Titles */
.footer-section-title {
  color: #fff;
  background: #000;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
  margin-top: 0;
}

.footer-section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-purple);
}

@media (max-width: 480px) {
  .footer-section-title {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }
}

/* Contact Items */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-icon {
  color: var(--primary-purple);
  margin-right: 0.8rem;
  margin-top: 0.2rem;
  font-size: 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.footer-contact-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: white;
  margin: 0;
}

/* Workshop Hours */
.footer-hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-hours-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: white;
}

.footer-hours-item span:first-child {
  font-weight: 500;
  color: white;
}

.footer-hours-item span:last-child {
  color: var(--primary-purple);
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  padding: 0 15px;
  height: 40px;
  border-radius: 20px;
  background-color: rgba(106, 13, 173, 0.1);
  color: var(--primary-purple);
  border: 1px solid rgba(106, 13, 173, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-link svg {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-social-link span {
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-social-link:hover {
  background-color: var(--primary-purple);
  color: var(--primary-white);
}

/* Registration Form */
.footer-form {
  margin-top: 1rem;
}

.footer-register-btn {
  width: 100%;
  padding: 0.8rem;
  background-color: var(--primary-purple);
  color: var(--primary-white);
  border: none;
  border-radius: 4px;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-register-btn:hover {
  background-color: var(--dark-purple);
}

/* Copyright Section */
.footer-copyright {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(106, 13, 173, 0.3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 480px) {
  .footer-copyright {
    margin: 0 auto;
    padding: 0.5rem 1rem;
    border-top: none;
    font-size: 0.7rem;
  }
}

/* Mobile Sections (visible only on mobile) */
.footer-mobile-section,
.footer-mobile-contact,
.footer-mobile-instagram {
  display: none;
}

@media (max-width: 480px) {
  .footer-mobile-section,
  .footer-mobile-contact,
  .footer-mobile-instagram {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    margin: 0.8rem 0 0.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }
}

.footer-mobile-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-mobile-icon {
  color: var(--primary-purple);
  margin-right: 0.4rem;
  font-size: 0.8rem;
  width: 0.8rem;
  height: 0.8rem;
  fill: currentColor;
}

/* Mobile Instagram Link */
.footer-mobile-instagram a {
  color: var(--primary-purple);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-mobile-instagram svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Dance Week Section Styles - Exact Recreation of K3 Component */
.dance-week-section {
  background: linear-gradient(135deg, #000000, #1a0033, #2d004d, #000000);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dance-week-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(106, 13, 173, 0.2),
    transparent 70%
  );
  pointer-events: none;
}

@media (max-width: 768px) {
  .dance-week-section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .dance-week-section {
    padding: 2.5rem 0;
  }
}

/* Dance Week Container */
.dance-week-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .dance-week-container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .dance-week-container {
    padding: 0 1rem;
  }
}

/* Dance Week Title */
.dance-week-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: 700;
  margin-top: 0;
}

@media (max-width: 768px) {
  .dance-week-title {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 480px) {
  .dance-week-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
}

/* Dance Week Description */
.dance-week-description {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  margin-top: 0;
}

@media (max-width: 768px) {
  .dance-week-description {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .dance-week-description {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
}

/* Dance Week Showcase Highlight */
.dance-week-showcase {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: rgba(106, 13, 173, 0.9);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .dance-week-showcase {
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .dance-week-showcase {
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
  }
}

/* === Secondary Carousel Styles - Exact Copy of Hero Carousel === */
.secondary-section {
  width: 100%;
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem 0 0 0;
  margin: 0;
}

.secondary-carousel-main {
  width: 100%;
  height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0 0.1rem 0;
}

@media (max-width: 768px) {
  .secondary-section {
    padding: 2rem 0 0 0;
  }
  
  .secondary-carousel-main {
    height: 50vh;
    padding: 1.5rem 0 0.1rem 0;
  }
}

@media (max-width: 480px) {
  .secondary-section {
    padding: 1.5rem 0 0 0;
  }
  
  .secondary-carousel-main {
    height: 40vh;
    padding: 1rem 0 0.1rem 0;
  }
}

/* Secondary Overlay */
.secondary-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at top right, var(--overlay-purple-20), transparent 60%),
    radial-gradient(circle at bottom left, var(--overlay-purple-20), transparent 60%);
  z-index: 2;
  pointer-events: none;
}

/* Focus styling for keyboard navigation */
.secondary-carousel-main:focus {
  outline: 3px solid rgba(106, 13, 173, 0.8);
  outline-offset: -3px;
}

/* Desktop Carousel Container */
.secondary-desktop-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 3;
}

.secondary-carousel-wrapper {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.secondary-slides-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200%;
  height: 100%;
}

/* Individual Slides */
.secondary-slide {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  overflow: hidden;
}

.secondary-slide-image {
  max-width: 55vw; /* responsive to viewport width */
  max-height: 65vh; /* responsive to viewport height */
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
}

.secondary-slide-center {
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  z-index: 3;
  opacity: 1;
}

.secondary-slide-left {
  left: 15%;
  transform: translateX(-50%) scale(0.75);
  z-index: 1;
  opacity: 0.7;
  filter: brightness(0.7);
}

.secondary-slide-left:hover {
  transform: translateX(-50%) scale(0.8);
  cursor: pointer;
}

.secondary-slide-right {
  left: 85%;
  transform: translateX(-50%) scale(0.75);
  z-index: 1;
  opacity: 0.7;
  filter: brightness(0.7);
}

.secondary-slide-right:hover {
  transform: translateX(-50%) scale(0.8);
  cursor: pointer;
}

/* Mobile Simple Slide */
.secondary-mobile-slide {
  position: relative;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 3;
  transition: opacity 0.5s ease;
  max-width: 90%;
  display: flex;
  justify-content: center;
}

.secondary-mobile-slide .secondary-slide-image {
  max-width: 80vw; /* responsive on mobile */
  max-height: 55vh; /* responsive on mobile */
  width: auto;
  height: auto;
  display: block;
}

/* Responsive breakpoints for secondary carousel */
@media (max-width: 1200px) {
  .secondary-slide-image {
    max-width: 50vw;
    max-height: 60vh;
  }
}

@media (max-width: 768px) {
  .secondary-slide-image {
    max-width: 45vw;
    max-height: 55vh;
  }
  
  .secondary-slide-left {
    left: 10%;
    transform: translateX(-50%) scale(0.7);
  }
  
  .secondary-slide-right {
    left: 90%;
    transform: translateX(-50%) scale(0.7);
  }
  
  .secondary-slide-left:hover {
    transform: translateX(-50%) scale(0.75);
  }
  
  .secondary-slide-right:hover {
    transform: translateX(-50%) scale(0.75);
  }
}

@media (max-width: 480px) {
  .secondary-slide-image {
    max-width: 40vw;
    max-height: 50vh;
  }
  
  .secondary-slide-left {
    left: 8%;
    transform: translateX(-50%) scale(0.65);
  }
  
  .secondary-slide-right {
    left: 92%;
    transform: translateX(-50%) scale(0.65);
  }
  
  .secondary-slide-left:hover {
    transform: translateX(-50%) scale(0.7);
  }
  
  .secondary-slide-right:hover {
    transform: translateX(-50%) scale(0.7);
  }
  
  .secondary-mobile-slide .secondary-slide-image {
    max-width: 75vw;
    max-height: 45vh;
  }
}

/* Content Area (hidden) */
.secondary-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 20px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
}

@media (max-width: 768px) {
  .secondary-content {
    max-width: 90%;
    padding: 20px 15px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.7);
  }
}

@media (max-width: 480px) {
  .secondary-content {
    max-width: 85%;
    padding: 15px 10px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
  }
}

/* Navigation Dots */
.secondary-navigation {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 13px;
  border-radius: 16px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .secondary-navigation {
    padding: 8px 11px;
    bottom: 12px;
  }
}

@media (max-width: 480px) {
  .secondary-navigation {
    padding: 6px 10px;
    bottom: 8px;
  }
}

.secondary-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.secondary-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  opacity: 0.8;
}

.secondary-dot.active {
  background-color: var(--primary-purple);
  border: 2px solid var(--primary-purple);
  box-shadow: 0 0 8px rgba(106, 13, 173, 0.6);
  opacity: 1;
}

.secondary-dot:hover {
  opacity: 1;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(106, 13, 173, 0.8);
}

.secondary-dot:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(106, 13, 173, 0.5);
}

@media (max-width: 480px) {
  .secondary-dot {
    width: 10px;
    height: 10px;
    margin: 0 3px;
    border-width: 1px;
  }
} 

/* Header Styles - True iOS 26 Liquid Glass Design */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.08); /* Glass effect from start */
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-minor);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Scrolled state - Enhanced glass effect */
.header.scrolled {
  background: rgba(255, 255, 255, 0.12); /* Slightly more opaque when scrolled */
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-card);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  height: 80px;
  position: relative;
  gap: 3rem;
}

/* Liquid Glass Brand - Apple Style */
.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 16px;
  min-width: fit-content;
  white-space: nowrap;
  
  /* Apple's glass morphism */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: visible;
  
  /* Apple's subtle shadow */
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
}



.header-brand:hover {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.header-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  
  /* Apple's glass effect for logo */
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.header-brand:hover .header-logo {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.12),
    0 0 0 2px rgba(255, 255, 255, 0.1);
  transform: rotate(2deg) scale(1.03);
}

.header-brand-text {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 2;
  
  /* Apple's text treatment */
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.header-brand:hover .header-brand-text {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(-0.5px);
}

/* Liquid Glass Navigation - Apple Style */
.header-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
  
  /* Figma glass specifications */
  background: rgba(255, 255, 255, 0.01); /* 1% white fill from Figma */
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 42px; /* Scaled down from 174px to fit navigation */
  border: 1px solid rgba(255, 255, 255, 0.5); /* 50% stroke opacity from Figma */
  
  /* Figma-inspired glass shadow */
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.nav-item {
  position: relative;
}

/* Figma Glass Navigation Links */
.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.75rem 1.25rem;
  border-radius: 32px; /* Very rounded like Figma */
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  
  /* Figma glass base */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.01); /* Figma 1% fill */
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 32px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.02); /* Slightly more visible on hover */
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: translateY(-1px) scale(1.02);
  
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.15),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
    
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.nav-link:hover::before {
  opacity: 1;
}

/* Active State - Figma Glass Selection */
.nav-link.active {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.015); /* Barely visible like Figma */
  border: 1px solid rgba(255, 255, 255, 0.4);
  
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.15) inset;
    
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.nav-link.active::before {
  opacity: 1;
  background: rgba(255, 255, 255, 0.02);
}

/* Touch/Click feedback */
.nav-link:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.1s ease;
}

/* Mobile Menu Toggle - Apple Glass Style */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.8rem;
  z-index: 1001;
  border-radius: 12px;
  
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  
  transition: all 0.3s ease;
  
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transform: scale(1.03);
  
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: rgba(255, 255, 255, 0.85);
  margin: 3px 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 2px;
  box-shadow: 0 0.5px 2px rgba(0, 0, 0, 0.15);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: rgba(255, 255, 255, 1);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: rgba(255, 255, 255, 1);
}

/* Responsive Header */
@media (max-width: 768px) {
  .header-container {
    padding: 0.5rem 1rem;
    height: 70px;
  }

  .header-brand-text {
    font-size: 1.5rem;
  }
  
  .header-brand {
    padding: 0.5rem 1rem;
    min-width: fit-content;
  }

  .header-logo {
    width: 40px;
    height: 40px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  }

  .header-nav.mobile-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nav-link:hover {
    transform: translateY(-2px) scale(1.02);
  }
}

/* Performance Optimizations */
.header,
.header-brand,
.nav-link,
.mobile-menu-toggle {
  will-change: transform, backdrop-filter;
  transform: translateZ(0);
}

/* Focus States for Accessibility */
.nav-link:focus,
.header-brand:focus,
.mobile-menu-toggle:focus {
  outline: none;
  box-shadow: 
    0 0 0 3px rgba(255, 255, 255, 0.25),
    0 0 12px rgba(255, 255, 255, 0.15);
}

/* Browser Compatibility */
@supports not (backdrop-filter: blur(20px)) {
  .header.scrolled {
    background: rgba(0, 0, 0, 0.8);
  }
  
  .nav-list {
    background: rgba(0, 0, 0, 0.15);
  }
  
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
  }
  
  .header-brand {
    background: rgba(255, 255, 255, 0.15);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .nav-link,
  .header-brand,
  .mobile-menu-toggle {
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  
  .nav-link::before,
  .header-brand::before {
    display: none;
  }
}

/* Section Header Styling */
.section-header {
  text-align: center;
  padding: 3rem 0 2rem;
  background: rgba(0, 0, 0, 0.02);
}

.section-header .section-title {
  color: var(--primary-purple);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.section-header .section-subtitle {
  color: var(--text-dark);
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Secondary Section with integrated header */
.secondary-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at top right, var(--overlay-purple-20), transparent 60%),
    radial-gradient(circle at bottom left, var(--overlay-purple-20), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.secondary-section .section-header {
  background: transparent !important;
  padding: 0 0 2rem;
  margin: 0;
  position: relative;
  z-index: 2;
}

.secondary-section .section-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.secondary-section .section-header .section-title {
  color: var(--primary-purple) !important;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.secondary-section .section-header .section-subtitle {
  color: var(--text-dark) !important;
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Instructors Section (Dance Week) */
.dance-week-section {
  background: linear-gradient(135deg, #000000, #1a0033, #2d004d, #000000);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  padding: 0;
  position: relative;
}

.dance-week-section .section-header {
  background: transparent !important;
  padding: 3rem 0 2rem;
  margin: 0;
}

.dance-week-container {
  position: relative;
}

/* Testimonials Section - Mixed Layout */
.testimonials-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at top right, var(--overlay-purple-20), transparent 60%),
    radial-gradient(circle at bottom left, var(--overlay-purple-20), transparent 60%);
  pointer-events: none;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-header .section-title {
  color: var(--primary-purple);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.testimonials-header .section-subtitle {
  color: var(--text-dark);
  font-size: 1.2rem;
  opacity: 0.8;
}

.testimonials-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(106, 13, 173, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(106, 13, 173, 0.1);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(106, 13, 173, 0.15);
}

.card-rating {
  margin-bottom: 1rem;
}

.star {
  color: #ddd;
  font-size: 1.2rem;
  margin-right: 0.2rem;
}

.star.filled {
  color: #ffc107;
}

.card-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-style: italic;
}

.card-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.card-author-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-purple);
}

.card-author-name {
  font-weight: 600;
  color: var(--primary-purple);
  margin: 0;
  font-size: 0.9rem;
}

.card-author-role {
  color: var(--text-dark);
  opacity: 0.7;
  margin: 0;
  font-size: 0.8rem;
}

/* Video Carousel Container */
.video-carousel-container {
  background: transparent;
  border-radius: 20px;
  padding: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.video-carousel-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at top right, rgba(106, 13, 173, 0.05), transparent 60%),
    radial-gradient(circle at bottom left, rgba(153, 50, 204, 0.03), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.video-carousel-container > * {
  position: relative;
  z-index: 2;
}

/* Video Player Main - Full Screen Style */
.video-player-main {
  position: relative;
  width: 100%;
  height: 60vh; /* Full viewport-like height */
  border-radius: 16px;
  overflow: hidden;
  background: #f8f9fa;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-video-display {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  background: #ffffff;
  display: block;
  outline: none; /* Remove default video outline */
}

/* Ensure video controls are visible and styled */
.main-video-display::-webkit-media-controls-panel {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.main-video-display::-webkit-media-controls-play-button,
.main-video-display::-webkit-media-controls-volume-slider,
.main-video-display::-webkit-media-controls-timeline {
  filter: invert(1);
}

.video-overlay {
  position: absolute;
  bottom: 0; /* align with video bottom */
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  padding: 1.5rem;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none; /* Allow clicks to pass through to video controls */
  z-index: 2;
  border-radius: 0 0 16px 16px; /* match video border radius */
  overflow: hidden; /* ensure gradient respects radius */
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator-dot.active {
  background-color: var(--primary-purple);
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(106, 13, 173, 0.6);
}

.indicator-dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

.video-info {
  flex: 1;
}

.video-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: white;
}

.video-description {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.4;
}

.video-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  margin-left: 1rem;
}

.video-action-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.video-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.video-action-btn.liked {
  background: #e91e63;
  color: white;
}

.like-btn .heart-icon {
  transition: transform 0.2s ease;
}

.share-icon {
  transform: rotate(45deg);
}

/* Video Thumbnails */
.video-thumbnails {
  margin-bottom: 1.5rem;
}

.thumbnails-scroll {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
}

.thumbnails-scroll::-webkit-scrollbar {
  display: none;
}

.video-thumbnail {
  flex: 0 0 80px;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.video-thumbnail.active {
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(106, 13, 173, 0.4);
}

.video-thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumbnail-container {
  position: relative;
  width: 80px;
  height: 100px;
  background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  overflow: hidden;
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-thumbnail:hover .thumbnail-overlay {
  opacity: 1;
}

.play-icon {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}

.thumbnail-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 0.5rem 0.3rem 0.3rem;
  font-size: 0.7rem;
  color: white;
  text-align: center;
}

.thumbnail-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Video Navigation */
.video-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.video-prev,
.video-next {
  background: linear-gradient(135deg, rgba(106, 13, 173, 0.8), rgba(155, 89, 182, 0.8));
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 4px 15px rgba(106, 13, 173, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.video-prev::before,
.video-next::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.video-prev:hover::before,
.video-next:hover::before {
  left: 100%;
}

.video-prev:hover,
.video-next:hover {
  background: linear-gradient(135deg, rgba(106, 13, 173, 1), rgba(155, 89, 182, 1));
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 8px 25px rgba(106, 13, 173, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.video-prev:active,
.video-next:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.1s ease;
}

.video-progress {
  flex: 1;
  max-width: 200px;
}

.progress-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.progress-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.progress-dot.active {
  background: linear-gradient(135deg, rgba(106, 13, 173, 1), rgba(155, 89, 182, 1));
  transform: scale(1.4);
  box-shadow: 
    0 0 15px rgba(106, 13, 173, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Responsive Mixed Layout */
@media (max-width: 1024px) {
  .testimonials-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .video-carousel-container {
    order: -1;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 3rem 0;
  }

  .testimonials-container {
    padding: 0 1rem;
  }

  .testimonials-header .section-title {
    font-size: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .video-carousel-container {
    padding: 1.5rem;
  }

  .video-player-main {
    height: 50vh; /* Smaller height on tablets */
  }
  
  .video-overlay {
    bottom: 50px; /* Adjust for smaller screens */
    padding: 1rem;
  }
  
  .carousel-indicators {
    gap: 10px;
    padding: 0.8rem 0;
  }
  
  .indicator-dot {
    width: 10px;
    height: 10px;
  }

  .video-overlay {
    padding: 1rem;
  }

  .video-title {
    font-size: 1rem;
  }

  .video-description {
    font-size: 0.8rem;
  }

  .video-actions {
    gap: 0.6rem;
  }

  .video-action-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .thumbnails-scroll {
    gap: 0.6rem;
  }

  .video-thumbnail {
    flex: 0 0 60px;
  }

  .thumbnail-container {
    width: 60px;
    height: 80px;
  }

  .video-navigation {
    gap: 1rem;
  }

  .video-prev,
  .video-next {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .video-carousel-container {
    padding: 1rem;
  }

  .video-player-main {
    height: 40vh; /* Even smaller height on mobile */
  }
  
  .video-overlay {
    bottom: 40px; /* Adjust for mobile screens */
    padding: 0.8rem;
  }
  
  .carousel-indicators {
    gap: 8px;
    padding: 0.6rem 0;
  }
  
  .indicator-dot {
    width: 8px;
    height: 8px;
  }

  .video-overlay {
    padding: 0.8rem;
  }

  .video-title {
    font-size: 0.9rem;
  }

  .video-description {
    font-size: 0.75rem;
  }

  .video-actions {
    gap: 0.5rem;
    margin-left: 0.5rem;
  }

  .video-action-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .thumbnails-scroll {
    gap: 0.5rem;
    justify-content: flex-start;
  }

  .video-thumbnail {
    flex: 0 0 50px;
  }

  .thumbnail-container {
    width: 50px;
    height: 70px;
  }

  .thumbnail-info {
    font-size: 0.6rem;
    padding: 0.3rem 0.2rem 0.2rem;
  }

  .video-navigation {
    gap: 0.8rem;
  }

  .video-prev,
  .video-next {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .progress-dot {
    width: 8px;
    height: 8px;
  }
}

@media (min-width: 1024px) {
  .workshops-grid {
    grid-template-columns: repeat(3, 1fr); /* exactly 3 columns on desktops */
  }
}

@media (min-width: 1024px) {
  .workshop-grid {
    grid-template-columns: repeat(3, 1fr); /* exactly 3 columns on desktops */
  }
}

@media (min-width: 768px) {
  .workshops-grid,
  .workshop-grid {
    grid-template-columns: repeat(3, 1fr) !important; /* lock to 3 columns */
    max-width: 1400px; /* enlarged container width */
  }
} 

/* Login Button and Auth Section Styles */
.header-auth {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(106, 13, 173, 0.1);
  border: 1px solid rgba(106, 13, 173, 0.3);
  border-radius: 12px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.login-btn:hover {
  background: var(--primary-purple);
  color: white;
  border-color: var(--primary-purple);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(106, 13, 173, 0.3);
}

.login-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* Login Modal Styles */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.login-modal-content {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: modalSlideUp 0.3s ease;
  position: relative;
}

@keyframes modalSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.login-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.login-modal-header h2 {
  margin: 0;
  color: var(--primary-purple);
  font-size: 1.5rem;
  font-weight: 600;
}

.close-modal {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  color: #666;
  transition: all 0.2s ease;
}

.close-modal:hover {
  background: #f0f0f0;
  color: #333;
}

.close-modal svg {
  width: 20px;
  height: 20px;
}

/* Login Steps */
.login-step {
  display: none;
}

.login-step.active {
  display: block;
  animation: stepFadeIn 0.3s ease;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

.phone-input {
  display: flex;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.phone-input:focus-within {
  border-color: var(--primary-purple);
}

.country-code {
  background: #f8f8f8;
  padding: 0.75rem 1rem;
  border-right: 1px solid #e0e0e0;
  color: #666;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.form-group input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  outline: none;
  font-size: 1rem;
}

.form-group input[type="tel"],
.form-group input[type="text"] {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: var(--primary-purple);
}

.input-error {
  color: #e74c3c;
  font-size: 0.85rem;
  display: none;
  margin-top: 0.25rem;
}

.login-submit-btn {
  background: var(--primary-purple);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.login-submit-btn:hover {
  background: var(--dark-purple);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(106, 13, 173, 0.3);
}

.login-submit-btn.loading {
  pointer-events: none;
}

.login-submit-btn .btn-text {
  transition: opacity 0.3s ease;
}

.login-submit-btn .btn-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.login-submit-btn.loading .btn-text {
  opacity: 0;
}

.login-submit-btn.loading .btn-loading {
  opacity: 1;
}

/* OTP Step Styles */
.otp-info {
  text-align: center;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.otp-info p {
  margin: 0 0 0.5rem 0;
  color: #666;
  font-size: 0.9rem;
}

.otp-info strong {
  color: var(--primary-purple);
  font-size: 1rem;
}

.otp-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.resend-btn {
  background: none;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.resend-btn:hover {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

.resend-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success Step Styles */
.login-success {
  text-align: center;
  padding: 1rem 0;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  animation: successPulse 0.6s ease;
}

@keyframes successPulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-icon svg {
  width: 30px;
  height: 30px;
  stroke: white;
  stroke-width: 3;
}

.login-success h3 {
  margin: 0 0 0.5rem 0;
  color: var(--primary-purple);
  font-size: 1.3rem;
}

.login-success p {
  margin: 0 0 2rem 0;
  color: #666;
  font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-auth {
    margin-left: 1rem;
  }
  
  .login-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .login-icon {
    width: 16px;
    height: 16px;
  }
  
  .login-modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .login-modal-header h2 {
    font-size: 1.3rem;
  }
  
  .header-container {
    padding: 0.75rem 1rem;
  }
  
  .mobile-menu-toggle {
    margin-left: 0.5rem;
  }
}

@media (max-width: 480px) {
  .header-auth {
    margin-left: 0.5rem;
  }
  
  .login-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    gap: 0.3rem;
  }
  
  .login-btn .login-icon {
    width: 14px;
    height: 14px;
  }
  
  .login-modal-content {
    margin: 0.5rem;
    padding: 1rem;
  }
}

/* Enhanced Profile Modal Styling with Glassmorphism */
.profile-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.profile-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 
        0 20px 40px rgba(106, 13, 173, 0.1),
        0 10px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
    width: 100%;
    max-width: 420px;
    height: auto;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.profile-modal-header {
    padding: 1.25rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid rgba(106, 13, 173, 0.1);
    background: linear-gradient(135deg, 
        rgba(106, 13, 173, 0.05), 
        rgba(155, 89, 182, 0.05));
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.profile-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(106, 13, 173, 0.3), 
        transparent);
}

.profile-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.close-modal {
    background: rgba(106, 13, 173, 0.1);
    border: 1px solid rgba(106, 13, 173, 0.2);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-purple);
}

.close-modal:hover {
    background: var(--primary-purple);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.3);
}

.close-modal svg {
    width: 16px;
    height: 16px;
}

.profile-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.profile-form-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    overflow: hidden;
}

.profile-step {
    /* Remove old styling, replaced by profile-body */
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    min-height: 0;
}

.profile-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.profile-picture-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1.25rem 1rem;
    background: linear-gradient(135deg, 
        rgba(106, 13, 173, 0.08), 
        rgba(155, 89, 182, 0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(106, 13, 173, 0.15);
    box-shadow: 
        0 6px 24px rgba(106, 13, 173, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-picture-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(106, 13, 173, 0.4), 
        transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); opacity: 0; }
    50% { transform: translateX(0); opacity: 1; }
}

.profile-picture-container {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 16px rgba(106, 13, 173, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-picture-container:hover {
    transform: scale(1.05);
    box-shadow: 
        0 12px 40px rgba(106, 13, 173, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.profile-picture-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.6rem;
    color: var(--primary-white);
}

.profile-picture-container:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-row.two-columns {
    grid-template-columns: 1fr 1fr;
}

@media (min-width: 768px) {
    .form-row:has(.form-group:nth-child(2)) {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(106, 13, 173, 0.15);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-dark);
    box-shadow: 
        0 3px 12px rgba(106, 13, 173, 0.04),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 
        0 0 0 4px rgba(106, 13, 173, 0.15),
        0 8px 25px rgba(106, 13, 173, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.95);
}

.form-group input::placeholder {
    color: rgba(51, 51, 51, 0.5);
}

.mobile-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: rgba(106, 13, 173, 0.05);
    border: 2px solid rgba(106, 13, 173, 0.1);
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.mobile-display .country-code {
    font-weight: 600;
    color: var(--primary-purple);
}

.mobile-display .mobile-note {
    font-size: 0.8rem;
    color: rgba(51, 51, 51, 0.6);
    font-style: italic;
}

.profile-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-direction: column;
    flex-shrink: 0;
}

@media (min-width: 480px) {
    .profile-actions {
        flex-direction: row;
    }
}

.profile-actions .submit-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    color: var(--primary-white);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 6px 20px rgba(106, 13, 173, 0.25),
        0 3px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.profile-actions .submit-btn::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.5s ease;
}

.profile-actions .submit-btn:hover::before {
    left: 100%;
}

.profile-actions .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(106, 13, 173, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.profile-actions .submit-btn:active {
    transform: translateY(0);
}

.profile-actions .secondary-btn {
    flex: 1;
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-actions .secondary-btn:hover {
    background: var(--primary-purple);
    color: var(--primary-white);
    transform: translateY(-2px);
}

.link-btn {
    background: none;
    border: none;
    color: var(--primary-purple);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.link-btn:hover {
    color: var(--light-purple);
}

/* Message styling */
.message-success,
.message-error {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 10000;
    animation: slideInFromRight 0.3s ease, fadeOut 0.3s ease 2.7s;
}

.message-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: 1px solid #047857;
}

.message-error {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    border: 1px solid #B91C1C;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Update login button styling for profile state */
.login-btn.logged-in {
    background: rgba(106, 13, 173, 0.1);
    color: var(--primary-purple);
    border-color: var(--primary-purple);
}

.login-btn.logged-in:hover {
    background: var(--primary-purple);
    color: var(--primary-white);
}

.login-btn .profile-icon {
    margin-right: 0.5rem;
}

.login-btn .profile-text {
    font-weight: 600;
}

/* Enhanced input error states */
.form-group .input-error {
    color: #EF4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.form-group input.error,
.form-group select.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Loading states for buttons */
.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-spinner {
    display: block !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Enhanced Mobile Responsiveness for Profile Modal */
@media (max-width: 768px) {
    .profile-modal-overlay {
        padding: 0.5rem;
    }
    
    .profile-modal-content {
        max-width: 95vw;
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .profile-modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .profile-title {
        font-size: 1.5rem;
    }
    
    .profile-body {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .profile-picture-container {
        width: 120px;
        height: 120px;
    }
    
    .profile-picture-placeholder {
        font-size: 2.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
    
    .profile-actions {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .profile-actions .submit-btn,
    .profile-actions .secondary-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .message-success,
    .message-error {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        transform: none;
    }
}

@media (max-width: 480px) {
    .profile-modal-overlay {
        padding: 0.25rem;
    }
    
    .profile-modal-content {
        max-width: 98vw;
        max-height: 98vh;
        border-radius: 12px;
    }
    
    .profile-modal-header {
        padding: 1rem 1rem 0.75rem 1rem;
    }
    
    .profile-title {
        font-size: 1.25rem;
    }
    
    .close-modal {
        width: 36px;
        height: 36px;
    }
    
    .close-modal svg {
        width: 16px;
        height: 16px;
    }
    
    .profile-body {
        padding: 0 1rem 1rem 1rem;
        max-height: calc(98vh - 80px);
    }
    
    .profile-picture-section {
        padding: 1.5rem 1rem;
        margin-bottom: 1.25rem;
        border-radius: 16px;
    }
    
    .profile-picture-container {
        width: 100px;
        height: 100px;
        border: 2px solid rgba(255, 255, 255, 0.6);
    }
    
    .profile-picture-placeholder {
        font-size: 2rem;
    }
    
    .form-group input,
    .form-group select,
    .mobile-display {
        padding: 0.875rem 1rem;
        border-radius: 10px;
        font-size: 0.95rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .profile-actions {
        gap: 0.75rem;
        margin-top: 1.25rem;
    }
    
    .profile-actions .submit-btn,
    .profile-actions .secondary-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 12px;
    }
}

@media (max-width: 360px) {
    .profile-modal-header {
        padding: 0.75rem;
    }
    
    .profile-title {
        font-size: 1.1rem;
    }
    
    .profile-body {
        padding: 0 0.75rem 0.75rem 0.75rem;
    }
    
    .profile-picture-section {
        padding: 1rem 0.75rem;
    }
    
    .profile-picture-container {
        width: 90px;
        height: 90px;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
}

/* Profile Avatar Styling in Login Button */
.login-btn .profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    color: var(--primary-white);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
}

.login-btn .profile-avatar.letter-avatar {
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    box-shadow: 0 2px 8px rgba(106, 13, 173, 0.3);
}

.login-btn .profile-avatar .profile-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.login-btn.logged-in {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(106, 13, 173, 0.1);
    color: var(--primary-purple);
    border-color: var(--primary-purple);
    min-width: auto;
}

.login-btn.logged-in:hover {
    background: var(--primary-purple);
    color: var(--primary-white);
}

.login-btn.logged-in:hover .profile-avatar.letter-avatar {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-white);
}

.login-btn .mobile-display {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Mobile responsiveness for profile button */
@media (max-width: 768px) {
    .login-btn .profile-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .login-btn.logged-in {
        padding: 0.4rem 0.8rem;
        gap: 0.4rem;
    }
    
    .login-btn .mobile-display {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .login-btn .profile-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .login-btn.logged-in {
        padding: 0.3rem 0.6rem;
        gap: 0.3rem;
    }
    
    .login-btn .mobile-display {
        font-size: 0.75rem;
    }
}

/* ========================================
   Registration Confirmation Modal
   ======================================== */

.registration-confirmation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.registration-confirmation-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 20px;
  padding: 0;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.8) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.registration-confirmation-header {
  background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.confirmation-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.confirmation-icon svg {
  width: 32px;
  height: 32px;
  color: white;
  stroke-width: 3;
}

.close-confirmation {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background-color 0.2s ease;
  margin-left: auto;
}

.close-confirmation:hover {
  background: rgba(255, 255, 255, 0.1);
}

.close-confirmation svg {
  width: 20px;
  height: 20px;
}

.confirmation-body {
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.confirmation-body h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.confirmation-body p {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.confirmation-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(106, 13, 173, 0.05);
  border-radius: 12px;
  text-align: left;
}

.detail-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary-purple);
  flex-shrink: 0;
}

.detail-item span {
  color: var(--text-dark);
  font-weight: 500;
}

.confirmation-actions {
  padding: 0 2rem 2rem;
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.contact-whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.contact-whatsapp-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.close-confirmation-btn {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid rgba(106, 13, 173, 0.2);
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-confirmation-btn:hover {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .registration-confirmation-content {
    width: 95%;
    margin: 1rem;
  }
  
  .registration-confirmation-header {
    padding: 1.5rem;
  }
  
  .confirmation-body {
    padding: 2rem 1.5rem 1.5rem;
  }
  
  .confirmation-body h3 {
    font-size: 1.5rem;
  }
  
  .confirmation-body p {
    font-size: 1rem;
  }
  
  .confirmation-actions {
    padding: 0 1.5rem 1.5rem;
  }
  
  .detail-item {
    padding: 0.75rem;
  }
  
  .detail-item span {
    font-size: 0.9rem;
  }
}