html {
  scroll-behavior: smooth;
}
/* Service Hero Section */
.service-hero-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #1976D2 0%, #667eea 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.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: pulse 8s ease-in-out infinite alternate;
}

.service-hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.service-tagline {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 20px;
  font-style: italic;
}

.service-hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.service-hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.4;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.service-feature {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 15px;
}

.service-feature i {
  color: #64B5F6;
  font-size: 1.5rem;
}

/* Critical Need Section */
.critical-need-section {
  padding: 100px 20px;
  background: white;
}

.critical-need-container {
  max-width: 1200px;
  margin: 0 auto;
}

.critical-need-header {
  text-align: center;
  margin-bottom: 80px;
}

.critical-need-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.critical-need-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.challenge-item {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  padding: 40px 30px;
  border-radius: 20px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  text-align: center;
}

.challenge-item:hover {
  border-color: #1976D2;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.15);
}

.challenge-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;
}

.challenge-icon i {
  font-size: 28px;
  color: white;
}

.challenge-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
}

.challenge-description {
  color: #6c757d;
  line-height: 1.6;
}

/* Services Overview Section */
.services-overview-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-overview-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-overview-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-overview-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.services-overview-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-header {
  border-left: 4px solid #1976D2;
  padding-left: 20px;
  margin-bottom: 25px;
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 10px;
}

.service-card-description {
  color: #6c757d;
  line-height: 1.7;
}

/* Framework Section */
.framework-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  color: white;
}

.framework-container {
  max-width: 1200px;
  margin: 0 auto;
}

.framework-header {
  text-align: center;
  margin-bottom: 80px;
}

.framework-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.framework-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

.framework-grid {
 display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
justify-content: center; /* makes last row centered */
 
}

.framework-item {
  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);
  text-align: center;
    width: 100%;      
  max-width: 400px; 
}
.framework-grid .framework-item:last-child {
  grid-column: 1 / -1;   /* put it on its own row */
  justify-self: center;  /* center align */
}

.framework-icon {
  width: 60px;
  height: 60px;
  background: rgba(100, 181, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.framework-icon i {
  font-size: 24px;
  color: #64B5F6;
}

.framework-item-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.framework-item-description {
  opacity: 0.9;
  line-height: 1.6;
}

/* Maintenance Features Section */
.maintenance-section {
  padding: 50px 20px;
  background: white;
}

.maintenance-container {
  max-width: 1200px;
  margin: 0 auto;
}

.maintenance-header {
  text-align: center;
  margin-bottom: 80px;
}

.maintenance-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.maintenance-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
}

.maintenance-feature {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.maintenance-feature:hover {
  border-color: #1976D2;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(25, 118, 210, 0.15);
}

.maintenance-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1976D2 0%, #667eea 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.maintenance-icon i {
  font-size: 32px;
  color: white;
}

.maintenance-feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
}

.maintenance-feature-description {
  color: #6c757d;
  line-height: 1.6;
}

/* 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.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.testimonial-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #2d3748;
  font-style: italic;
  margin-bottom: 25px;
}

.testimonial-author {
  font-weight: 600;
  color: #1976D2;
  font-size: 1rem;
}

.testimonial-position {
  color: #6c757d;
  font-size: 0.9rem;
  margin-top: 5px;
}

.quote-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: #1976D2;
  opacity: 0.3;
}

/* FAQ Section */
.faq-section {
  padding: 50px 20px;

}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 80px;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.faq-item.active {
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.05) 0%, white 100%);
  box-shadow: 0 10px 30px rgba(25, 118, 210, 0.15);
}

.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.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 30px 30px;
  color: #6c757d;
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #2d3748 0%, #1976D2 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-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: pulse 6s ease-in-out infinite alternate;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-primary {
  background: white;
  color: #1976D2;
}

.cta-primary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

.cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-secondary:hover {
  background: white;
  color: #1976D2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-hero-title {
    font-size: 2.5rem;
  }
  
  .service-features {
    grid-template-columns: 1fr;
  }
  
  .challenges-grid,
  .services-grid,
  .framework-grid,
  .maintenance-features,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .service-hero-section,
  .critical-need-section,
  .services-overview-section,
  .framework-section,
  .maintenance-section,
  .testimonials-section,
  .faq-section,
  .cta-section {
    padding: 60px 15px;
  }
  
  .service-hero-title {
    font-size: 2rem;
  }
}

@keyframes pulse {
  0% { opacity: 0.3; transform: scale(1) rotate(0deg); }
  100% { opacity: 0.6; transform: scale(1.1) rotate(180deg); }
}