/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(135deg, #1976D2 0%, #667eea 100%);
  z-index: 9999;
  transition: width 0.3s ease;
}

/* Service Hero Section */
.service-hero-section {
  padding: 120px 20px 100px;
  background: linear-gradient(135deg, #1976D2 0%, #667eea 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.service-hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulseRotate 15s ease-in-out infinite;
}

@keyframes pulseRotate {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.3; }
  50% { transform: rotate(180deg) scale(1.2); opacity: 0.6; }
}

.service-hero-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

.service-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.1;
  animation: slideInLeft 1.2s ease-out;
}

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-100px); }
  100% { opacity: 1; transform: translateX(0); }
}

.service-hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 10px;
  opacity: 0.95;
  line-height: 1.4;
  animation: slideInRight 1.2s ease-out 0.3s both;
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(100px); }
  100% { opacity: 1; transform: translateX(0); }
}

.service-hero-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 1.5s ease-out 0.6s both;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: -50px;
 flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  animation: bounceIn 1s ease-out 0.9s both;
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  color: #64B5F6;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.cta-button {
  background: white;
  color: #1976D2;
  padding: 18px 40px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background: #f8f9fa;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* Section Animation Classes */
.section-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Difference Section */
.difference-section {
  padding: 120px 20px;
  background: white;
  position: relative;
}

.difference-container {
  max-width: 1200px;
  margin: 0 auto;
}

.difference-header {
  text-align: center;
  margin-bottom: 80px;
}

.difference-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
  position: relative;
}

.difference-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, #1976D2 0%, #667eea 100%);
  border-radius: 2px;
}

.difference-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.comparison-container {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  margin-top: 60px;
}

.comparison-header {
  background: linear-gradient(135deg, #1976D2 0%, #667eea 100%);
  color: white;
  padding: 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.comparison-title-cell {
  font-size: 1.3rem;
  font-weight: 700;
  text-align:left;
  display: flex;
  align-items: left;
  justify-content: left;
  gap: 10px;
}

.comparison-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.comparison-cell {
  padding: 30px 25px;
  border-bottom: 1px solid #f1f3f4;
  transition: all 0.3s ease;
}

.comparison-cell:hover {
  background: #f8f9fa;
}

.traditional-cell {
  border-right: 1px solid #e9ecef;
  color: #6c757d;
}

.encyclohub-cell {
  color: #2d3748;
  font-weight: 500;
  position: relative;
}

.encyclohub-cell::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(135deg, #1976D2 0%, #667eea 100%);
}

/* Framework Section */
.framework-section {
  padding: 120px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.framework-container {
  max-width: 1200px;
  margin: 0 auto;
}

.framework-header {
  text-align: center;
  margin-bottom: 80px;
}

.framework-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.framework-phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.phase-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  border: 2px solid transparent;
}

.phase-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(25, 118, 210, 0.2);
  border-color: #1976D2;
}

.phase-number {
  position: absolute;
  top: -15px;
  left: 30px;
  background: linear-gradient(135deg, #1976D2 0%, #667eea 100%);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 5px 15px rgba(25, 118, 210, 0.4);
}

.phase-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3748;
  margin: 20px 0 15px;
}

.phase-description {
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 20px;
}

.phase-features {
  list-style: none;
  padding: 0;
}

.phase-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  color: #495057;
  font-size: 0.95rem;
  line-height: 1.5;
}

.phase-features li::before {
  content: '✓';
  color: #28a745;
  font-weight: bold;
  margin-right: 10px;
  width: 16px;
  flex-shrink: 0;
}

/* Benefits Section */
.benefits-section {
  padding: 120px 20px;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  color: white;
  position: relative;
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
}

.benefits-header {
  text-align: center;
  margin-bottom: 80px;
}

.benefits-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(100, 181, 246, 0.5);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.2), rgba(102, 126, 234, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.benefit-icon i {
  font-size: 32px;
  color: #64B5F6;
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.benefit-description {
  opacity: 0.9;
  line-height: 1.7;
}

/* Services Section */
.services-section {
  padding: 70px 20px;
  background: white;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
}

.service-item {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  padding: 40px 30px;
  border-radius: 20px;
  border: 2px solid #e9ecef;
  transition: all 0.4s ease;
  text-align: center;
}

.service-item:hover {
  border-color: #1976D2;
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(25, 118, 210, 0.15);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1976D2 0%, #667eea 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.service-icon i {
  font-size: 28px;
  color: white;
}

.service-item-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
}

.service-item-description {
  color: #6c757d;
  line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
  padding: 50px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 80px;
}

.testimonials-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2d3748;
  
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  background: white;
  padding: 50px 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-quote {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #2d3748;
  font-weight: 500;
  margin-bottom: 30px;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  color: #1976D2;
  position: absolute;
  top: -20px;
  left: -20px;
  opacity: 0.3;
}

.testimonial-author {
  font-weight: 600;
  color: #1976D2;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.testimonial-position {
  color: #6c757d;
  font-size: 0.95rem;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;

}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background: #1976D2;
  transform: scale(1.2);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(25, 118, 210, 0.1);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: #1976D2;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: #1976D2;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: 20px;
}

.carousel-arrow.next {
  right: 20px;
}

/* FAQ Section */
.faq-section {
  padding: 50px 20px;
  background: white;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 80px;
}

.faq-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 2px solid #e9ecef;
}

.faq-item.active {
  border-color: #1976D2;
  box-shadow: 0 15px 40px rgba(25, 118, 210, 0.15);
  transform: translateY(-5px);
}

.faq-question {
  padding: 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(25, 118, 210, 0.05);
}

.faq-question i {
  color: #1976D2;
  transition: transform 0.4s ease;
  font-size: 1.2rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: white;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  padding: 0 30px 30px;
  color: #6c757d;
  line-height: 1.8;
}
/* Promo Section */
.promo-section {
  padding: 50px 20px;
  background: linear-gradient(135deg, #2d3748 0%, #1976D2 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulseRotate 12s ease-in-out infinite;
}

.promo-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.promo-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.promo-subtitle {
  font-size: 1.3rem;
  margin-bottom: 50px;
  opacity: 0.9;
  line-height: 1.6;
}

/* Features */
.highlight-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
  text-align: left;
}

.highlight-feature {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.highlight-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.highlight-feature h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #64B5F6;
}

.highlight-feature p {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* Contacts */
.promo-contacts {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.promo-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 15px 25px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.promo-contact-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  color: white;
}

.promo-contact-item i {
  font-size: 1.3rem;
  color: #64B5F6;
}

/* Tagline */
.promo-tagline {
  margin-top: 50px;
  font-style: italic;
  opacity: 0.8;
  font-size: 1.2rem;
  font-weight: 300;
}
/* Responsive Design */
@media (max-width: 1024px) {
  .service-hero-title {
    font-size: 3rem;
  }
  
  .comparison-header,
  .comparison-body {
    grid-template-columns: 1fr;
  }
  
  .comparison-cell {
    border-right: none;
  }
  
  .traditional-cell {
    border-bottom: 1px solid #e9ecef;
  }
}

@media (max-width: 768px) {
  .service-hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .framework-phases,
  .benefits-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* ✅ updated */
  .highlight-features {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  /* ✅ updated */
  .promo-contacts {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .carousel-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .service-hero-section,
  .difference-section,
  .framework-section,
  .benefits-section,
  .services-section,
  .testimonials-section,
  .faq-section,
  /* ✅ updated */
  .promo-section {
    padding: 80px 15px;
  }
  
  .service-hero-title {
    font-size: 2rem;
  }
  
  /* ✅ updated */
  .promo-title {
    font-size: 2.2rem;
  }
  
  .phase-card,
  .benefit-card,
  .service-item {
    padding: 30px 20px;
  }
  
  .testimonial-slide {
    padding: 30px 25px;
  }
}
