/* Theme Colors */
:root {
  --primary-dark: #1c2b4d;
  --secondary-dark: #20324e;
  --accent-gold: #fbbf24;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(15, 23, 42, 0.95) !important;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

.navbar .nav-link {
  color: var(--text-light);
  transition: all 0.3s;
  position: relative;
  padding: 0.5rem 1rem !important;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: all 0.3s;
  transform: translateX(-50%);
}

.navbar .nav-link:hover::after {
  width: 80%;
}

.navbar .nav-link:hover {
  color: var(--accent-gold);
}

/* Buttons */
.btn-accent {
  background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
  color: var(--primary-dark);
  border: none;
  transition: all 0.3s;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.85)),
    url('./Images/bg_1_cut.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.1), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* Section Styling */
section {
  padding: 100px 0;
}

.section-tag {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.3;
}

/* Feature Cards */
.feature-card {
  background: linear-gradient(135deg, var(--secondary-dark), #0f172a);
  border: 1px solid rgba(251, 191, 36, 0.2);
  transition: all 0.4s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 40px rgba(251, 191, 36, 0.2);
}

.feature-card i {
  display: inline-block;
  transition: transform 0.3s;
}

.feature-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

/* Class Cards */
.class-card {
  background: var(--secondary-dark);
  border: 1px solid rgba(100, 116, 139, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.class-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.class-card:hover::before {
  transform: translateX(100%);
}

.class-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-gold);
}

/* Info Cards */
.info-card {
  border-left: 4px solid var(--accent-gold);
  transition: all 0.3s;
}

.info-card:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.15);
}

/* Form Styling */
.form-control {
  background-color: var(--primary-dark);
  color: var(--text-light);
  border: 1px solid rgba(100, 116, 139, 0.5);
  padding: 0.75rem 1rem;
  transition: all 0.3s;
}

.form-control:focus {
  background-color: var(--secondary-dark);
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.15);
  color: var(--text-light);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.form-control::placeholder {
  color: #cbd5e1;
  opacity: 0.6;
}

.form-control::-webkit-input-placeholder {
  color: #cbd5e1;
  opacity: 0.6;
}

.form-control::-moz-placeholder {
  color: #cbd5e1;
  opacity: 0.6;
}

.form-control:-ms-input-placeholder {
  color: #cbd5e1;
  opacity: 0.6;
}

.form-control::-ms-input-placeholder {
  color: #cbd5e1;
  opacity: 0.6;
}
/* Social Icons */
.social-icons a {
  color: var(--text-muted);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 0.5rem;
}

.social-icons a:hover {
  color: var(--accent-gold);
  background-color: rgba(251, 191, 36, 0.1);
  transform: translateY(-3px);
}

/* Utility Classes */
.text-accent-gold {
  color: var(--accent-gold) !important;
}

.text-text-muted {
  color: var(--text-muted) !important;
}

.bg-primary-dark {
  background-color: var(--primary-dark) !important;
}

.bg-secondary-dark {
  background-color: var(--secondary-dark) !important;
}

/* Performance Carousel */
.carousel-item img {
  height: 500px;
  object-fit: cover;
}

.carousel-caption {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem;
}

.carousel-caption h5 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(251, 191, 36, 0.3);
  border-radius: 50%;
  padding: 1.5rem;
}

.upcoming-performance {
  border: 2px solid rgba(251, 191, 36, 0.2);
  transition: all 0.3s;
}

.upcoming-performance:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
}


/* 
   MILESTONE TIMELINE 
   ========================================== */

/* Timeline Container */
.timeline {
  position: relative;
  padding: 2rem 0;
}

/* Vertical Center Line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, 
    var(--accent-gold), 
    rgba(251, 191, 36, 0.3)
  );
  transform: translateX(-50%);
  z-index: 1;
}

/* Timeline Item */
.timeline-item {
  position: relative;
  margin-bottom: 5rem;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpTimeline 0.8s ease-out forwards;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Stagger animation delays */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

/* Timeline Marker (Dots) */
.timeline-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-color: var(--accent-gold);
  border: 4px solid var(--secondary-dark);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
  transition: all 0.3s;
}

.timeline-item:hover .timeline-marker {
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 0 8px rgba(251, 191, 36, 0.3);
}

/* Current Milestone Marker */
.timeline-marker-current {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
  box-shadow: 0 0 0 8px rgba(251, 191, 36, 0.3),
              0 0 20px rgba(251, 191, 36, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

/* ==========================================
   LEFT/RIGHT ALIGNMENT WITH CENTER LINE
   ========================================== */

/* Left Side Content (odd items) */
.timeline-item:nth-child(odd) .milestone-content {
  padding-right: 60px;
  text-align: right;
}

.timeline-item:nth-child(odd) .milestone-image {
  padding-left: 60px;
}

.timeline-item:nth-child(odd) .milestone-highlights {
  justify-content: flex-end;
}

/* Right Side Content (even items) */
.timeline-item:nth-child(even) .milestone-content {
  padding-left: 60px;
  text-align: left;
}

.timeline-item:nth-child(even) .milestone-image {
  padding-right: 60px;
}

.timeline-item:nth-child(even) .milestone-highlights {
  justify-content: flex-start;
}

/* ==========================================
   MILESTONE CONTENT STYLING
   ========================================== */

.milestone-content {
  padding: 1.5rem;
}

.milestone-year {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-gold);
  background-color: rgba(251, 191, 36, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.milestone-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.milestone-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ==========================================
   MILESTONE IMAGE
   ========================================== */

.milestone-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  transition: all 0.4s;
}

.milestone-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.4s;
}

.milestone-image:hover img {
  transform: scale(1.05);
}

.milestone-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, 
    rgba(28, 43, 77, 0.6), 
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.milestone-image:hover::after {
  opacity: 1;
}

/* ==========================================
   MILESTONE HIGHLIGHTS
   ========================================== */

.milestone-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, 
    rgba(251, 191, 36, 0.15), 
    rgba(251, 191, 36, 0.05)
  );
  color: var(--accent-gold);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(251, 191, 36, 0.3);
  transition: all 0.3s;
}

.highlight-badge:hover {
  background: rgba(251, 191, 36, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.highlight-badge i {
  font-size: 1rem;
}

/* ==========================================
   CURRENT TIMELINE ITEM
   ========================================== */

.timeline-current .milestone-content {
  background: linear-gradient(135deg, 
    rgba(251, 191, 36, 0.1), 
    rgba(251, 191, 36, 0.05)
  );
  border: 2px solid rgba(251, 191, 36, 0.3);
  border-radius: 0.75rem;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(251, 191, 36, 0.3),
                0 0 20px rgba(251, 191, 36, 0.5);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(251, 191, 36, 0.2),
                0 0 30px rgba(251, 191, 36, 0.3);
  }
}

@keyframes fadeInUpTimeline {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 991px) {
  /* Move line to left side */
  .timeline::before {
    left: 2rem;
  }

  .timeline-marker {
    left: 2rem;
    top: 2rem;
  }

  /* Reset all items to single column */
  .timeline-item {
    padding-left: 5rem;
    padding-right: 0;
  }

  .timeline-item:nth-child(odd) .milestone-content,
  .timeline-item:nth-child(even) .milestone-content {
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .milestone-image,
  .timeline-item:nth-child(even) .milestone-image {
    padding-left: 0;
    padding-right: 0;
  }

  .timeline-item:nth-child(odd) .milestone-highlights,
  .timeline-item:nth-child(even) .milestone-highlights {
    justify-content: flex-start;
  }

  .milestone-image img {
    height: 250px;
  }

  .milestone-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .timeline::before {
    left: 1rem;
  }

  .timeline-marker {
    left: 1rem;
    width: 20px;
    height: 20px;
  }

  .timeline-marker-current {
    width: 28px;
    height: 28px;
  }

  .timeline-item {
    padding-left: 3.5rem;
    margin-bottom: 3rem;
  }

  .milestone-image img {
    height: 200px;
  }

  .milestone-year {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .milestone-title {
    font-size: 1.25rem;
  }

  .milestone-description {
    font-size: 0.9rem;
  }

  .highlight-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
}


/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .hero-section {
    min-height: 90vh;
  }

  .carousel-item img {
    height: 300px;
  }

  .carousel-caption h5 {
    font-size: 1.1rem;
  }

  .carousel-caption p {
    font-size: 0.85rem;
  }
}