/* Homepage specific styles for E-Testing System */

/* Hero Section */
.hero-section {
  background: #091740;

  color: white;
  padding: 100px 0;
  margin-bottom: 60px;
  border-radius: 0 0 50px 50px;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 400;
  opacity: 0.9;
}

.hero-buttons .btn {
  margin: 0 10px;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Stats Counter */
.stats-counter {
  margin-top: -50px;
  margin-bottom: 60px;
  position: relative;
  z-index: 10;
}

.stats-card {
  background-color: white;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: all 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-10px);
}

.stats-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
  background-color: rgba(37, 99, 235, 0.1);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  display: inline-block;
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.stats-text {
  color: var(--gray);
  font-size: 1.1rem;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: #f8fafc;
  border-radius: 50px;
  margin-bottom: 60px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.feature-card {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border-bottom: 5px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-bottom: 5px solid var(--primary);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-text {
  color: var(--gray);
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
  margin-bottom: 60px;
}

.step-card {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.step-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(37, 99, 235, 0.1);
  margin-right: 20px;
  line-height: 1;
}

.step-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.step-content p {
  color: var(--gray);
  margin-bottom: 0;
}

/* Testimonial Section */
.testimonial-section {
  padding: 80px 0;
  background-color: #f8fafc;
  border-radius: 50px;
  margin-bottom: 60px;
}

.testimonial-card {
  background-color: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  position: relative;
  height: 100%;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 2rem;
  color: rgba(37, 99, 235, 0.1);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--gray);
  position: relative;
  z-index: 1;
  padding-top: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.testimonial-author-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--dark);
}

.testimonial-author-info p {
  color: var(--gray);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, var(--primary-dark), var(--primary));
  color: white;
  padding: 80px 0;
  border-radius: 30px;
  margin-bottom: 60px;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons .btn {
  margin: 0 10px 10px;
  padding: 12px 30px;
  font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .stats-card {
    margin-bottom: 30px;
  }
  
  .feature-card {
    margin-bottom: 30px;
  }
  
  .step-card {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons .btn {
    margin-bottom: 10px;
    display: block;
    width: 100%;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }
  
  .stats-number {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
}

/* Animation Delays */
.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
} 