/* ================================================
   SERVICE PAGES - ENHANCED STYLES
   Dilshad Enterprises
================================================ */

/* === HERO SECTION === */
.service-hero {
  position: relative;
  min-height: 400px;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 50%, #0d1b2a 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.service-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.service-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(177, 15, 60, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(177, 15, 60, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.service-hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 80px;
}

.service-hero .hero-badge {
  display: inline-block;
  background: rgba(177, 15, 60, 0.2);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 30px;
  font-family: var(--body-fonts);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(177, 15, 60, 0.4);
  animation: fadeInUp 0.6s ease;
}

.service-hero .hero-title {
  font-family: var(--display-fonts);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 15px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.service-hero .hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.service-hero .breadcrumb-nav {
  margin-top: 25px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.service-hero .breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.3s ease;
}

.service-hero .breadcrumb-nav a:hover {
  color: #ffffff;
}

.service-hero .breadcrumb-nav span {
  color: var(--skin-color);
  font-size: 14px;
  margin-left: 10px;
}

.service-hero .breadcrumb-nav i {
  margin-right: 5px;
}

/* === MAIN SERVICE SECTION === */
.service-main-section {
  padding: 80px 0;
  background: var(--grey-color);
}

/* === SIDEBAR STYLES === */
.service-sidebar {
  position: sticky;
  top: 100px;
}

/* Service Navigation */
.service-nav-widget {
  background: var(--white-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 30px;
}

.service-nav-widget .widget-title {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
  color: #ffffff;
  padding: 20px 25px;
  margin: 0;
  font-family: var(--title-fonts);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.service-nav-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-nav-widget ul li {
  border-bottom: 1px solid var(--grey-medium);
}

.service-nav-widget ul li:last-child {
  border-bottom: none;
}

.service-nav-widget ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 25px;
  color: var(--dark-grey-color);
  font-family: var(--body-fonts);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.service-nav-widget ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--skin-color);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.service-nav-widget ul li a::after {
  content: '\f054';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 12px;
  color: var(--body-fonts-color);
  transition: all 0.3s ease;
}

.service-nav-widget ul li a:hover,
.service-nav-widget ul li.active a {
  background: var(--grey-color);
  color: var(--skin-color);
  padding-left: 30px;
}

.service-nav-widget ul li a:hover::before,
.service-nav-widget ul li.active a::before {
  transform: scaleY(1);
}

.service-nav-widget ul li a:hover::after,
.service-nav-widget ul li.active a::after {
  color: var(--skin-color);
  transform: translateX(3px);
}

/* Contact Widget */
.service-contact-widget {
  background: linear-gradient(135deg, var(--skin-color) 0%, #8a0c2f 100%);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-contact-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.service-contact-widget .widget-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
}

.service-contact-widget .widget-icon i {
  font-size: 28px;
  color: #ffffff;
}

.service-contact-widget h4 {
  color: #ffffff;
  font-family: var(--title-fonts);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.service-contact-widget p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin-bottom: 20px;
  position: relative;
}

.service-contact-widget .contact-btn {
  display: inline-block;
  background: #ffffff;
  color: var(--skin-color);
  padding: 12px 30px;
  border-radius: 8px;
  font-family: var(--body-fonts);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
}

.service-contact-widget .contact-btn:hover {
  background: var(--dark-grey-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* === CONTENT AREA === */
.service-content {
  background: var(--white-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Featured Image */
.service-featured-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.service-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-featured-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
  pointer-events: none;
}

/* Content Body */
.service-content-body {
  padding: 40px;
}

.service-content-body .service-badge {
  display: inline-block;
  color: var(--skin-color);
  font-family: var(--body-fonts);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 15px;
  position: relative;
  padding-left: 45px;
}

.service-content-body .service-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 35px;
  height: 2px;
  background: var(--skin-color);
}

.service-content-body .service-title {
  font-family: var(--display-fonts);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--dark-grey-color);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 25px;
}

.service-content-body .service-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body-fonts-color);
  margin-bottom: 35px;
}

/* Feature Cards */
.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.service-feature-card {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--grey-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--skin-color);
  transition: height 0.3s ease;
}

.service-feature-card:hover {
  background: var(--white-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-feature-card:hover::before {
  height: 100%;
}

.service-feature-card .feature-icon {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  background: var(--skin-color-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-feature-card:hover .feature-icon {
  background: var(--skin-color);
}

.service-feature-card .feature-icon i {
  font-size: 24px;
  color: var(--skin-color);
  transition: color 0.3s ease;
}

.service-feature-card:hover .feature-icon i {
  color: #ffffff;
}

.service-feature-card .feature-content h4 {
  font-family: var(--title-fonts);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-grey-color);
  margin-bottom: 8px;
}

.service-feature-card .feature-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body-fonts-color);
  margin: 0;
}

/* Process Section */
.service-process {
  margin-top: 20px;
}

.service-process .process-title {
  font-family: var(--display-fonts);
  font-size: 1.75rem;
  color: var(--dark-grey-color);
  text-transform: uppercase;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--grey-medium);
}

.process-step {
  padding: 20px 0;
  border-bottom: 1px solid var(--grey-medium);
  position: relative;
  padding-left: 80px;
}

.process-step:last-child {
  border-bottom: none;
}

.process-step .step-number {
  position: absolute;
  left: 0;
  top: 20px;
  width: 50px;
  height: 50px;
  background: var(--skin-color-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display-fonts);
  font-size: 24px;
  color: var(--skin-color);
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  background: var(--skin-color);
  color: #ffffff;
}

.process-step h4 {
  font-family: var(--title-fonts);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-grey-color);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-fonts-color);
  margin: 0;
}

/* CTA Section */
.service-cta {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
  padding: 50px 40px;
  margin-top: 40px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.service-cta h3 {
  font-family: var(--display-fonts);
  font-size: 1.75rem;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 15px;
  position: relative;
}

.service-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 25px;
  position: relative;
}

.service-cta .cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.service-cta .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 8px;
  font-family: var(--body-fonts);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.service-cta .cta-btn.primary {
  background: var(--skin-color);
  color: #ffffff;
}

.service-cta .cta-btn.primary:hover {
  background: #8a0c2f;
  transform: translateY(-2px);
}

.service-cta .cta-btn.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-cta .cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .service-hero {
    min-height: 350px;
  }

  .service-hero-content {
    padding: 80px 0 60px;
  }

  .service-main-section {
    padding: 60px 0;
  }

  .service-sidebar {
    position: static;
    margin-bottom: 40px;
  }

  .service-features {
    grid-template-columns: 1fr;
  }

  .service-content-body {
    padding: 30px;
  }

  .service-featured-image {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .service-hero {
    min-height: 300px;
  }

  .service-hero .hero-title {
    font-size: 2rem;
  }

  .service-content-body {
    padding: 25px;
  }

  .service-content-body .service-badge::before {
    display: none;
  }

  .service-content-body .service-badge {
    padding-left: 0;
  }

  .service-feature-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .service-feature-card .feature-icon {
    margin: 0 auto;
  }

  .process-step {
    padding-left: 0;
    padding-top: 70px;
  }

  .process-step .step-number {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .process-step h4,
  .process-step p {
    text-align: center;
  }

  .service-cta {
    padding: 35px 25px;
  }

  .service-featured-image {
    height: 250px;
  }
}

@media (max-width: 575px) {
  .service-nav-widget ul li a {
    padding: 14px 20px;
    font-size: 14px;
  }

  .service-contact-widget {
    padding: 25px 20px;
  }
}
