/*--------------------------------------------------------------
# Services Page - Modern Styling
--------------------------------------------------------------*/

/* Section Spacing */
.section {
  padding: 80px 0;
}

.section-padding {
  padding: 80px 0;
}

.services-modern {
  background: #ffffff;
}


/*--------------------------------------------------------------
# Section Headers (Home Page Style)
--------------------------------------------------------------*/
.section-header {
  margin-bottom: 2rem;
}

.section-tag {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(252, 192, 27, 0.1);
  color: #fcc01b;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 30px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 8px;
  line-height: 1.2;
}

/*--------------------------------------------------------------
# Section Title Modern (Old Style - Keep for compatibility)
--------------------------------------------------------------*/
.section-title-modern h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title-modern h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #fcc01b 0%, #e6a800 100%);
  border-radius: 2px;
}

.section-title-modern .subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0;
}

/*--------------------------------------------------------------
# Service Cards Modern (Home Page Style)
--------------------------------------------------------------*/
.service-card-modern {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  height: 100%;
}

.service-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-image-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card-modern:hover .service-bg-image {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 136, 184, 0.92) 0%, rgba(0, 108, 146, 0.95) 100%);
  opacity: 0;
  transition: all 0.4s ease;
}

.service-card-modern:hover .service-overlay {
  opacity: 0.3;
}

.service-icon-float {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fcc01b;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 10;
}

.service-card-modern:hover .service-icon-float {
  transform: translateY(0);
  opacity: 1;
}

.service-icon-float i {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-content {
  padding: 30px 25px;
}

.service-title a {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2937;
  text-decoration: none;
  transition: color 0.3s;
}

.service-title a:hover {
  color: #fcc01b;
}

.service-link {
  color: #0088b8;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s;
}

.service-link:hover {
  gap: 8px;
  color: #006c92;
}

/*--------------------------------------------------------------
# Service Cards Modern (Old Style - Keep for compatibility)
--------------------------------------------------------------*/
.service-item-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-item-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fcc01b 0%, #e6a800 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-item-modern:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(0, 136, 184, 0.15);
}

.service-item-modern:hover::before {
  transform: scaleX(1);
}

.service-image-modern {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-image-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-item-modern:hover .service-image-modern img {
  transform: scale(1.1) rotate(2deg);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 136, 184, 0.95) 0%, rgba(0, 108, 146, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-item-modern:hover .service-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: white;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.service-item-modern:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content i {
  font-size: 3rem;
  margin-bottom: 10px;
}

.overlay-content p {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.badge-featured {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
  display: flex;
  align-items: center;
  gap: 5px;
}

.service-content-modern {
  padding: 35px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.service-icon-badge {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.service-item-modern:hover .service-icon-badge {
  background: linear-gradient(135deg, #fcc01b 0%, #e6a800 100%);
  transform: rotate(5deg) scale(1.05);
}

.service-icon-badge i {
  font-size: 1.8rem;
  color: #fcc01b;
  transition: color 0.3s ease;
}

.service-item-modern:hover .service-icon-badge i {
  color: white;
}

.service-header h3 {
  margin: 0;
  flex: 1;
}

.service-header h3 a {
  color: #1f2937;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.3s ease;
  line-height: 1.3;
}

.service-header h3 a:hover {
  color: #fcc01b;
}

.service-subtitle-modern {
  color: #fcc01b;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-item-modern .service-description {
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 25px;
  flex: 1;
}

.service-card-modern .service-description {
  color: #6b7280;
  margin: 15px 0;
  line-height: 1.7;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 20px;
  border-top: 2px solid #f3f4f6;
}

.btn-learn-more {
  flex: 1;
  padding: 12px 24px;
  background: linear-gradient(135deg, #fcc01b 0%, #e6a800 100%);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-learn-more:hover {
  background: linear-gradient(135deg, #006c92 0%, #005570 100%);
  transform: translateX(5px);
  color: white;
}

.btn-quote {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  color: #1f2937;
  text-decoration: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.btn-quote:hover {
  background: #fcc01b;
  color: white;
  transform: rotate(15deg) scale(1.1);
}

.btn-quote i {
  font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Features Modern Section
--------------------------------------------------------------*/
.features-modern {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.feature-card-modern {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fcc01b 0%, #e6a800 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 136, 184, 0.12);
}

.feature-card-modern:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
}

.feature-icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.feature-card-modern:hover .feature-icon-bg {
  background: linear-gradient(135deg, #fcc01b 0%, #e6a800 100%);
  transform: rotate(180deg) scale(1.1);
}

.feature-icon-wrapper i {
  position: relative;
  font-size: 3rem;
  color: #fcc01b;
  transition: all 0.4s ease;
  z-index: 1;
  display: block;
  line-height: 100px;
}

.feature-card-modern:hover .feature-icon-wrapper i {
  color: white;
  transform: scale(1.1);
}

.feature-card-modern h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 15px;
}

.feature-card-modern p {
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-arrow {
  opacity: 1;
  transform: translateX(0);
}

.feature-arrow i {
  color: #fcc01b;
  font-size: 1.5rem;
}

/*--------------------------------------------------------------
# Process Section
--------------------------------------------------------------*/
.process-section {
  background: white;
}

.process-step {
  text-align: center;
  padding: 40px 20px;
  position: relative;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-8px);
}

.step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #fcc01b 0%, #e6a800 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(252, 192, 27, 0.3);
  z-index: 2;
}

.step-icon {
  width: 120px;
  height: 120px;
  margin: 30px auto 25px;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
}

.step-icon::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px dashed #fcc01b;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.4s ease;
}

.process-step:hover .step-icon {
  background: linear-gradient(135deg, #fcc01b 0%, #e6a800 100%);
  transform: rotate(360deg) scale(1.05);
}

.process-step:hover .step-icon::after {
  opacity: 1;
  transform: rotate(-360deg);
}

.step-icon i {
  font-size: 3rem;
  color: #fcc01b;
  transition: all 0.4s ease;
}

.process-step:hover .step-icon i {
  color: white;
}

.process-step h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 15px;
}

.process-step p {
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/*--------------------------------------------------------------
# CTA Modern Section
--------------------------------------------------------------*/
.cta-modern {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  position: relative;
  overflow: hidden;
}

.cta-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(252, 192, 27, 0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat center;
  background-size: cover;
  opacity: 0.3;
}

.cta-wrapper {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 50px;
  position: relative;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(252, 192, 27, 0.2);
  border: 1px solid rgba(252, 192, 27, 0.3);
  padding: 8px 20px;
  border-radius: 30px;
  color: #fcd34d;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-content > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
  line-height: 1.7;
}

.cta-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.cta-features i {
  color: #10b981;
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-cta-primary,
.btn-cta-secondary {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-cta-primary {
  background: linear-gradient(135deg, #fcc01b 0%, #e6a800 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(252, 192, 27, 0.3);
}

.btn-cta-primary:hover {
  background: linear-gradient(135deg, #e6a800 0%, #d69a00 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(252, 192, 27, 0.4);
  color: white;
}

.btn-cta-secondary {
  background: rgba(0, 136, 184, 0.2);
  border: 2px solid #0088b8;
  color: white;
}

.btn-cta-secondary:hover {
  background: #0088b8;
  color: white;
  border-color: #0088b8;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 136, 184, 0.3);
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .section {
    padding: 60px 0;
  }

  .section-title-modern h2 {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .service-header h3 a {
    font-size: 1.3rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    margin-top: 30px;
  }

  .cta-wrapper {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }


  .stat-box {
    padding: 25px;
  }

  .stat-icon {
    width: 60px;
    height: 60px;
  }

  .stat-icon i {
    font-size: 1.5rem;
  }

  .service-image-modern {
    height: 200px;
  }

  .service-content-modern {
    padding: 25px 20px;
  }

  .service-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-icon-badge {
    width: 50px;
    height: 50px;
  }

  .service-icon-badge i {
    font-size: 1.5rem;
  }

  .service-footer {
    flex-direction: column;
    gap: 10px;
  }

  .btn-learn-more,
  .btn-quote {
    width: 100%;
  }

  .feature-icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .feature-icon-wrapper i {
    font-size: 2.5rem;
    line-height: 80px;
  }

  .step-icon {
    width: 100px;
    height: 100px;
  }

  .step-icon i {
    font-size: 2.5rem;
  }

  .cta-wrapper {
    padding: 30px 20px;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .cta-features {
    flex-direction: column;
    gap: 12px;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    padding: 14px 28px;
  }
}
