/* PracticeU Front Office - Complete Styles */
/* Modern, beautiful design for yoga studio */

:root {
  /* Accent Colors */
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Neutral Colors */
  --dark: #1e293b;
  --gray-dark: #f6eae0;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --light: #f1f5f9;
  --secondary: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Border Radius */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  /*
  --primary: #f7b17f;
  --tertiary: #f7b17f;
  --primary-light: #f7b17f;
  --secondary: #f5e4e0;
  --secondary-dark: #0f766e;
  --secondary-light: #5eead4;
  --tertiary: #005959;
  --fourth: #b3c4b8;
  --error: #f44336;
  --success: #005959;
  --warning: #f7b17f;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #ffffff;
  --border: #e0e0e0;
  --bg-color: #f5f5f5;
  --shadow: rgba(0, 0, 0, 0.1);*/
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--brand-font-primary), Helvetica, Arial, Lucida, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.nav-brand h1 {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--fourth);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  padding: 8px 0;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  white-space: nowrap;
  text-transform: uppercase;
  width: 100%;
  display: block;
  padding-bottom: 0.25rem !important;
  padding-top: 0 !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--tertiary);
  border-bottom: 2px dotted var(--third);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: var(--brand-font-primary);
  line-height: 1;
}

.btn-primary {
  background: var(--tertiary);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary {
  background: var(--gray-light);
  color: var(--gray-dark);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-lg {
  padding: 16px 32px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 24px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--gray);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
}

.feature-card h3 {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* Classes Grid */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.class-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.class-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.class-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.class-content {
  padding: 24px;
}

.class-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.class-content h3 {
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 12px;
}

.class-content p {
  color: var(--gray);
  margin-bottom: 16px;
}

.class-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--gray);
}

.class-meta i {
  color: var(--secondary);
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 80px 0;
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  text-align: center;
}

.stat-number {
  font-weight: 800;
  margin-bottom: 8px;
}

.stat-label {
  opacity: 0.9;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.testimonial-rating {
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 16px;
}

.testimonial-text {
  font-size: 16px;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-name {
  font-weight: 600;
  color: var(--dark);
}

.author-role {
  font-size: 14px;
  color: var(--gray);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 80px 0;
  text-align: center;
}

.cta-content {
  color: var(--white);
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 20px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-size: cover;
  padding: 150px 0;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  font-weight: 700;
  margin-bottom: 8px;
}

.page-header p {
  font-size: 20px;
  opacity: 0.9;
}

/* Filters Section */
.filters-section {
  background: var(--secondary);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.filter-group label {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  font-size: 14px;
}

.filter-group label i {
  color: var(--primary);
  margin-right: 8px;
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--brand-font-primary);
  background: var(--white);
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Schedule Grid */
.schedule-grid {
  display: grid;
  gap: 32px;
}

.schedule-day {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.day-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.day-name {
  font-size: 20px;
  font-weight: 700;
}

.day-date {
  font-size: 16px;
  opacity: 0.9;
}

.day-classes {
  padding: 16px;
}

.schedule-class {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.schedule-class:last-child {
  margin-bottom: 0;
}

.schedule-class:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.class-time-slot {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  min-width: 80px;
}

.class-details {
  flex: 1;
}

.class-details h4 {
  color: var(--dark);
  margin-bottom: 8px;
}

.class-teacher,
.class-location {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 4px;
}

.class-teacher i,
.class-location i {
  width: 16px;
  color: var(--primary);
}

.class-info-row {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 13px;
}

.class-duration {
  color: var(--gray);
}

.class-spots {
  font-weight: 600;
}

.class-spots.available {
  color: var(--success);
}

.class-spots.low {
  color: var(--accent);
}

.class-spots.full {
  color: var(--danger);
}

/* Category Tabs */
.category-tabs-section {
  background: var(--white);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 73px;
  z-index: 100;
}

.category-tabs {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-tab {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  font-family: var(--brand-font-primary);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-tab:hover {
  background: var(--secondary);
}

.category-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-color: transparent;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 2px solid var(--border);
  transition: all 0.3s;
  position: relative;
}

.product-card.featured {
  border-color: var(--accent);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
}

.product-header {
  text-align: center;
  margin-bottom: 24px;
}

.product-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
}

.product-header h3 {
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 12px;
}

.product-price {
  margin-top: 8px;
}

.price-amount {
  font-weight: 800;
  color: var(--primary);
}

.price-period {
  font-size: 16px;
  color: var(--gray);
}

.product-features {
  margin-bottom: 24px;
}

.feature-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--gray-dark);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item i {
  color: var(--success);
  margin-right: 12px;
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.course-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.course-content {
  padding: 24px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.course-level {
  background: var(--secondary);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
}

.course-level.intermediate {
  color: var(--accent);
}

.course-rating {
  color: var(--accent);
  font-weight: 600;
}

.course-content h3 {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 12px;
}

.course-content p {
  color: var(--gray);
  margin-bottom: 16px;
}

.course-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--gray);
}

.course-stats i {
  color: var(--secondary);
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.course-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

/* Workshops Grid */
.workshops-grid {
  display: grid;
  gap: 24px;
}

.workshop-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all 0.3s;
}

.workshop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.workshop-date {
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  color: var(--white);
  min-width: 80px;
}

.date-month {
  font-size: 14px;
  text-transform: uppercase;
  opacity: 0.9;
}

.date-day {
  font-size: 32px;
  font-weight: 700;
  margin-top: 4px;
}

.workshop-content {
  flex: 1;
}

.workshop-content h3 {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 12px;
}

.workshop-teacher,
.workshop-time,
.workshop-location {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 6px;
}

.workshop-teacher i,
.workshop-time i,
.workshop-location i {
  width: 16px;
  color: var(--primary);
}

.workshop-description {
  color: var(--gray-dark);
  margin-top: 12px;
  line-height: 1.6;
}

.workshop-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.workshop-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  padding: 40px 20px;
  overflow-y: auto;
}

.modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 24px;
  color: var(--dark);
  margin: 0;
}

.modal-close {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--secondary);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 24px;
  color: var(--gray);
  transition: all 0.3s;
  line-height: 1;
}

.modal-close:hover {
  background: var(--danger);
  color: var(--white);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.booking-summary {
  background: var(--secondary);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.booking-summary h4 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 12px;
}

.booking-summary p {
  margin-bottom: 6px;
}

.booking-summary i {
  width: 20px;
  color: var(--primary);
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--brand-font-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group textarea {
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--tertiary);
  color: var(--gray-light);
  padding: 60px 0 24px;
}

.footer h3 img {
  max-width: 200px;
  text-align: center;
  margin: 0 auto;
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  text-align: center;
  display: block;
  margin: 0 auto;
}

.footer-col h3,
.footer-col h4 {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col h3 {
  font-size: 24px;
}

.footer-col p {
  margin-bottom: 16px;
  line-height: 1.6;
  text-align: center;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
}

.footer-col ul li i {
  width: 20px;
  color: var(--primary-light);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--gray-dark);
  color: #b3c4b8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: translateY(-4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--gray-dark);
}

.category-header {
  text-align: center;
  margin-bottom: 40px;
}

.category-header h2 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.category-header p {
  color: var(--gray);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    gap: 16px;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    height: 500px;
  }

  .section {
    padding: 48px 0;
  }

  .features-grid,
  .classes-grid,
  .testimonials-grid,
  .products-grid,
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .schedule-class {
    flex-direction: column;
    align-items: flex-start;
  }

  .workshop-card {
    flex-direction: column;
  }

  .workshop-action {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  .category-tabs {
    justify-content: flex-start;
  }
}

.pre-header {
  width: 100%;
  height: 50px;
  background-color: var(--fourth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pre-header .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px; /* Match nav width */
  width: 100%;
  padding: 0 20px;
}

.pre-header .column {
  display: flex;
  align-items: center;
}

.pre-header ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.pre-header .social a.icon {
  background: #f6eae0;
  color: #b3c4b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.pre-header .social a.icon:hover {
  color: #f6eae0;
  background: #b3c4b8;
}

.pre-header .et_pb_with_border {
  border: 1px solid #ddd;
  border-radius: 50%;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.pre-header div.column:nth-of-type(2) {
  display: block;
}

.pre-header div.column:nth-of-type(2) div {
  float: right;
}

.pre-header div.column:nth-of-type(2) a {
  max-width: 200px;
  text-align: center;
}

.pre-header .column:last-child a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.pre-header .column:last-child a:hover {
  color: #007bff;
}

#logoutBtn,
#loginBtn,
#registerBtn {
  text-decoration: none;
  background: var(--tertiary);
  padding: 0.5rem;
  border-radius: 40px;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
}

/* Slider Container */
.slider-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  z-index: 1;
}

/* Slider */
.slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slide {
  min-width: 100vw;
  width: 100vw;
  height: 100vh;
  position: relative;
  flex-shrink: 0;
}

.slide-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

.slide-content .logo img {
  max-width: 200px;
  margin-bottom: 20px;
}

.slide-title {
  font-size: 2.5rem;
  margin: 20px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Dots */
.dots {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

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

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.dot.active {
  background: white;
  transform: scale(1.3);
}

/* Index Start Buttons */
.index-start {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;
  width: 90%;
  max-width: 400px;
}

.index-start a {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

/* Dropdown Menu Styles */
.navbar {
  position: relative;
  z-index: 1000;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  background: #fff;
  border-radius: 4px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 1;
}

.dropdown-menu .nav-link {
  padding: 1rem;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.dropdown-menu .nav-link.active {
  border: none;
}

.dropdown:hover > .dropdown-menu,
.dropdown > .nav-link:hover + .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: #555;
    transform: none;
    opacity: 1;
    display: none;
  }

  .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* Specific dropdown adjustments */
.dropdown .nav-link:nth-of-type(1):hover + .dropdown-menu,
.dropdown .dropdown-menu:nth-of-type(1):hover {
  display: block;
}

.dropdown .nav-link:nth-of-type(2):hover + .dropdown-menu,
.dropdown .dropdown-menu:nth-of-type(2):hover {
  display: block;
}

/* Pre-header */
.pre-header {
  padding: 10px 0;
  position: relative;
  z-index: 1001;
}

.pre-header .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pre-header ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.pre-header a {
  color: #b3c4b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.pre-header a:hover {
  color: #333;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .slide-title {
    font-size: 1.8rem;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .index-start {
    bottom: 40px;
  }

  .dots {
    bottom: 120px;
  }
}

/* CTA Section positioning */
.cta-section {
  position: relative;
  z-index: 2;
  margin-top: 100vh;
}

/* Splash screen */
.splash-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.splash-container.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo img {
  max-width: 200px;
  margin-bottom: 20px;
}

.splash-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-top: 20px;
}

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

#splashScreen {
  display: none;
}

.waves-light.btn-large {
  display: inline-block;
  background-color: var(--primary);
  color: var(--secondary);
  text-decoration: none;
  padding: 1rem 3rem;
  border-radius: 2rem;
  font-weight: bold;
  width: 100%;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.waves-light.bg-secondary {
  background-color: var(--tertiary);
}

a {
  color: var(--tertiary);
}

#authArea span {
  color: #fff;
  margin-right: 1rem;
  text-transform: uppercase;
}
