/* ============================================
   Mahalaxmi Solar - Services Page Styles
   Optimized and Combined CSS
   ============================================ */

/* Common Styles */
/* Note: Global overflow/width rules are handled in style.css */
.mahalaxmi-orange {
  background: linear-gradient(135deg, #fe8e19 0%, #fdb12b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Services Page Section */
.services-page-section {
  padding: 100px 20px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.services-page-container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-page-title {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  position: relative;
}

.services-page-title .mahalaxmi-orange {
  background: linear-gradient(135deg, #fe8e19 0%, #fdb12b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-page-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  border-radius: 2px;
}

.services-page-subtitle {
  text-align: center;
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 70px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 45px 35px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(254, 142, 25, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(254, 142, 25, 0.15);
  border-color: rgba(254, 142, 25, 0.3);
}

.service-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.1), rgba(253, 177, 43, 0.1));
  border-radius: 24px;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.15), rgba(253, 177, 43, 0.15));
  transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
  width: 60px;
  height: 60px;
  stroke: #fe8e19;
  fill: none;
  stroke-width: 2.5;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon svg {
  stroke: #fdb12b;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 15px 0;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.service-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #6b7280;
  margin: 0 0 20px 0;
}

.service-card-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #fe8e19, #fdb12b);
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.service-card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(254, 142, 25, 0.3);
  color: #ffffff;
}

.service-card-button::after {
  content: '→';
  font-size: 18px;
  transition: transform 0.3s ease;
}

.service-card-button:hover::after {
  transform: translateX(5px);
}

/* Why Choose Section */
.services-why-section {
  padding: 100px 20px;
  background: #ffffff;
}

.services-why-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  border-radius: 2px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: #f8fafc;
  padding: 35px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(254, 142, 25, 0.3);
  box-shadow: 0 10px 30px rgba(254, 142, 25, 0.1);
  background: #ffffff;
}

.why-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.1), rgba(253, 177, 43, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.why-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.why-text {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
}

/* Process Section */
.services-process-section {
  padding: 100px 20px;
  background: #f8fafc;
}

.services-process-container {
  max-width: 1400px;
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '→';
  position: absolute;
  right: -25px;
  top: 30px;
  font-size: 32px;
  color: #fe8e19;
  font-weight: 700;
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #fe8e19, #fdb12b);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}

.process-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
}

.process-text {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* CTA Section */
.services-cta-section {
  position: relative;
  padding: 100px 20px;
  background-image: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1920&h=1080&fit=crop');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.services-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.85) 0%, rgba(55, 65, 81, 0.85) 100%);
  z-index: 1;
}

.services-cta-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.services-cta-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.services-cta-text {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.services-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #fe8e19, #fdb12b);
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(254, 142, 25, 0.3);
}

.services-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(254, 142, 25, 0.4);
  color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .services-page-container,
  .services-why-container,
  .services-process-container {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-step::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .services-page-section,
  .services-why-section,
  .services-process-section {
    padding: 70px 15px;
  }
  
  .services-cta-section {
    padding: 70px 15px;
    background-attachment: scroll;
  }
  
  .services-page-container,
  .services-why-container,
  .services-process-container {
    max-width: 100%;
    padding: 0;
  }
  
  .services-page-title,
  .section-title {
    font-size: 32px;
    margin-bottom: 25px;
  }
  
  .services-page-title::after,
  .section-title::after {
    width: 60px;
    height: 3px;
    bottom: -15px;
  }
  
  .services-page-subtitle {
    font-size: 16px;
    margin-bottom: 50px;
    padding: 0 10px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .service-icon svg {
    width: 45px;
    height: 45px;
  }
  
  .service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .service-card p {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .service-card-button {
    padding: 9px 20px;
    font-size: 13px;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .why-card {
    padding: 30px 20px;
  }
  
  .why-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
    margin-bottom: 15px;
  }
  
  .why-title {
    font-size: 18px;
  }
  
  .why-text {
    font-size: 14px;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .process-title {
    font-size: 16px;
  }
  
  .process-text {
    font-size: 13px;
  }
  
  .services-cta-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .services-cta-text {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .services-cta-button {
    padding: 14px 28px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .services-page-section,
  .services-why-section,
  .services-process-section {
    padding: 60px 12px;
  }
  
  .services-cta-section {
    padding: 60px 12px;
  }
  
  .services-page-title,
  .section-title {
    font-size: 28px;
  }
  
  .services-page-subtitle {
    font-size: 15px;
  }
  
  .service-card {
    padding: 25px 18px;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
  }
  
  .service-icon svg {
    width: 40px;
    height: 40px;
  }
  
  .service-card h3 {
    font-size: 16px;
  }
  
  .service-card p {
    font-size: 13px;
  }
  
  .why-card {
    padding: 25px 18px;
  }
  
  .services-cta-title {
    font-size: 28px;
  }
  
  .services-cta-text {
    font-size: 15px;
  }
  
  .services-cta-button {
    padding: 12px 24px;
    font-size: 15px;
  }
}

