/* ==============================================
   ÉNERGIE & TÉLÉCOMMUNICATIONS PAGE STYLES
   Theme: Energy & telecommunications with electric blue/green accents
   ============================================== */

/* Service Header - Energy themed gradient */
.service-header {
  background: linear-gradient(135deg, #047857 0%, #10b981 50%, #34d399 100%);
  color: var(--white);
  padding: 140px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(52, 211, 153, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.service-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.service-header p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Service Overview */
.service-overview {
  padding: 80px 20px;
  background: var(--white);
}

.service-overview h2 {
  font-size: 2.2rem;
  color: var(--gray-dark);
  margin-bottom: 30px;
  text-align: center;
}

.overview-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-dark);
}

.overview-content p {
  margin-bottom: 20px;
}

.overview-content strong {
  color: #047857;
  font-weight: 700;
}

/* Services Grid - Energy themed */
.services-included {
  padding: 80px 20px;
  background: linear-gradient(to bottom, var(--gray-light), var(--white));
}

.services-included h2 {
  font-size: 2.2rem;
  color: var(--gray-dark);
  margin-bottom: 50px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Service Cards with Images */
.service-card-image {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card-image:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-card-content {
  padding: 20px;
}

.service-card-content h3 {
  font-size: 1.2rem;
  color: var(--dark-blue);
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card-content p {
  color: var(--gray-medium);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid #10b981;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #047857, #10b981, #34d399);
  transition: width 0.3s ease;
}

.service-card:hover::before {
  width: 100%;
  opacity: 0.05;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.2);
}

.service-card h3 {
  font-size: 1.4rem;
  color: #047857;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.service-card h3 .icon {
  font-size: 1.8rem;
}

.service-card p {
  color: var(--gray-medium);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Energy Sectors Grid */
.energy-sectors {
  padding: 80px 20px;
  background: var(--white);
}

.energy-sectors h2 {
  font-size: 2.2rem;
  color: var(--gray-dark);
  margin-bottom: 50px;
  text-align: center;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.sector-card {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.sector-card:hover {
  border-color: #10b981;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
}

.sector-card .icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.sector-card h3 {
  font-size: 1.3rem;
  color: #047857;
  margin-bottom: 10px;
  font-weight: 700;
}

.sector-card p {
  color: var(--gray-medium);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Technical Specifications */
.technical-specs {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.technical-specs h2 {
  font-size: 2.2rem;
  color: var(--gray-dark);
  margin-bottom: 50px;
  text-align: center;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.spec-item {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-top: 3px solid #10b981;
}

.spec-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}

.spec-item .icon {
  font-size: 2.5rem;
  color: #10b981;
  margin-bottom: 15px;
  display: block;
}

.spec-item h3 {
  font-size: 1.2rem;
  color: #047857;
  margin-bottom: 10px;
  font-weight: 700;
}

.spec-item p {
  color: var(--gray-medium);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Process Section */
.service-process {
  padding: 80px 20px;
  background: var(--white);
}

.service-process h2 {
  font-size: 2.2rem;
  color: var(--gray-dark);
  margin-bottom: 50px;
  text-align: center;
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #047857, #10b981, #34d399);
}

.process-step {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #047857, #10b981);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-size: 1.4rem;
  color: #047857;
  margin-bottom: 10px;
  font-weight: 700;
}

.step-content p {
  color: var(--gray-medium);
  line-height: 1.6;
}

/* FAQ Section */
.service-faq {
  padding: 80px 20px;
  background: linear-gradient(to bottom, var(--gray-light), var(--white));
}

.service-faq h2 {
  font-size: 2.2rem;
  color: var(--gray-dark);
  margin-bottom: 50px;
  text-align: center;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #047857;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: #10b981;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 25px 20px;
  color: var(--gray-medium);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* CTA Section */
.service-cta {
  padding: 80px 20px;
  background: linear-gradient(135deg, #047857, #10b981, #34d399);
  color: var(--white);
  text-align: center;
}

.service-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.service-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-phone, .btn-whatsapp {
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  min-height: 50px;
}

.btn-phone {
  background: var(--white);
  color: #047857;
}

.btn-phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .service-header {
    padding: 120px 20px 60px;
  }

  .service-header h1 {
    font-size: 2rem;
  }

  .service-header p {
    font-size: 1rem;
  }

  .service-overview,
  .services-included,
  .energy-sectors,
  .technical-specs,
  .service-process,
  .service-faq,
  .service-cta {
    padding: 60px 20px;
  }

  .service-overview h2,
  .services-included h2,
  .energy-sectors h2,
  .technical-specs h2,
  .service-process h2,
  .service-faq h2,
  .service-cta h2 {
    font-size: 1.8rem;
  }

  .services-grid,
  .sectors-grid,
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-timeline::before {
    left: 20px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .process-step {
    gap: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-phone, .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}
