/* Hero Section */
.hero-premium {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-premium::before {
  content: '';
  position: absolute;
  top: 0;
  right: -20%;
  width: 80%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 0, 1, 0.03), rgba(209, 104, 0, 0.02));
  transform: skewX(-15deg);
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(139, 0, 1, 0.3);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--gray-600);
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.4;
  max-width: 90%;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-200);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* Sections */
.section-premium {
  padding: 6rem 0;
}

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

.section-badge {
  display: inline-block;
  background: rgba(139, 0, 1, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  border-color: transparent;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(139, 0, 1, 0.3);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.service-features li:hover {
  color: var(--gray-800);
  transform: translateX(5px);
}

.service-features li i {
  color: var(--primary);
  margin-right: 0.75rem;
  width: 16px;
}

.price-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(209, 104, 0, 0.3);
}

/* Course Cards */
.course-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.4s ease;
  height: 100%;
  margin-bottom: 2rem;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: transparent;
}

.course-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.course-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.course-card:hover .course-header::before {
  transform: scale(1.2);
}

.course-title {
    color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.course-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-light);
  position: relative;
  z-index: 2;
}

.course-body {
  padding: 2.5rem 2rem;
}

.course-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.course-detail:last-child {
  border-bottom: none;
}

.course-detail:hover {
  background: rgba(139, 0, 1, 0.02);
  margin: 0 -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 8px;
}

.course-detail strong {
  color: var(--gray-900);
  font-weight: 600;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 2rem 1rem;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 auto 2rem;
  box-shadow: 0 10px 30px rgba(139, 0, 1, 0.3);
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(139, 0, 1, 0.4);
}

.step-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.step-description {
  color: var(--gray-600);
  line-height: 1.6;
}

/* CTA Section */
.cta-premium {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-premium::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
}

.cta-description {
  font-size: 1.35rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Why Choose Us Section */
.why-choose-content h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.why-choose-content .text-muted {
  color: var(--gray-600) !important;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.why-choose-content i {
  color: var(--primary);
  margin-right: 0.5rem;
}

/* Responsive Design for Homepage */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .hero-premium {
    padding: 6rem 0 4rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .cta-title {
    font-size: 2.5rem;
  }
  
  .service-card,
  .course-card {
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-premium {
    padding: 5rem 0 3rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 100%;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
  }
  
  .section-premium {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .service-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .course-body {
    padding: 2rem 1.5rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-description {
    font-size: 1.1rem;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .course-header {
    padding: 2rem 1.5rem;
  }
  
  .course-price {
    font-size: 1.75rem;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .cta-description {
    font-size: 1rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
  
  .section-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  .price-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  
  .service-title {
    font-size: 1.25rem;
  }
  
  .course-title {
    font-size: 1.2rem;
  }
  
  .step-title {
    font-size: 1.2rem;
  }
  
  .why-choose-content h4 {
    font-size: 1.1rem;
  }
}

/* Special animations for homepage elements */
.service-card:nth-child(1) .fade-in-up { animation-delay: 0.1s; }
.service-card:nth-child(2) .fade-in-up { animation-delay: 0.2s; }
.service-card:nth-child(3) .fade-in-up { animation-delay: 0.3s; }
.service-card:nth-child(4) .fade-in-up { animation-delay: 0.4s; }
.service-card:nth-child(5) .fade-in-up { animation-delay: 0.5s; }

.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.2s; }
.course-card:nth-child(3) { animation-delay: 0.3s; }
.course-card:nth-child(4) { animation-delay: 0.4s; }
.course-card:nth-child(5) { animation-delay: 0.5s; }
.course-card:nth-child(6) { animation-delay: 0.6s; }

/* Hover effects for interactive elements */
.hero-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(139, 0, 1, 0.4);
}

.section-badge:hover {
  background: rgba(139, 0, 1, 0.15);
  transform: scale(1.05);
}

/* Loading animation for images */
.hero-premium img,
.why-choose-content img {
  transition: all 0.3s ease;
}

.hero-premium img:hover,
.why-choose-content img:hover {
  transform: scale(1.02);
}

/* Smooth scroll offset for navigation links */
.section-premium {
  scroll-margin-top: 100px;
}
