/* Service Page Specific Rebuilt Stylesheet */

/* Service Hero Section */
.service-hero {
  padding: 80px 6% 60px;
  background: var(--bg-dark);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 50px;
  position: relative;
  overflow: hidden;
}

/* Service colors custom styles mapping to brand variables */
.health-theme {
  --theme-color: var(--secondary-color);
  --theme-bg-light: rgba(30, 112, 70, 0.05);
  --theme-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}
.life-theme {
  --theme-color: var(--accent-gold);
  --theme-bg-light: rgba(245, 166, 35, 0.05);
  --theme-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-gold) 100%);
}
.travel-theme {
  --theme-color: var(--accent-color);
  --theme-bg-light: rgba(238, 108, 77, 0.05);
  --theme-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}
.business-theme {
  --theme-color: #8e24aa;
  --theme-bg-light: rgba(142, 36, 170, 0.05);
  --theme-gradient: linear-gradient(135deg, var(--primary-color) 0%, #8e24aa 100%);
}
.vehicle-theme {
  --theme-color: #2196f3;
  --theme-bg-light: rgba(33, 150, 243, 0.05);
  --theme-gradient: linear-gradient(135deg, var(--primary-color) 0%, #2196f3 100%);
}

.service-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.service-hero-content {
  z-index: 2;
}

.service-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: var(--theme-color);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.service-hero-title {
  font-size: 3rem;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}

.service-hero-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  line-height: 1.6;
}

.service-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--theme-color);
  color: #fff;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition-normal);
}

.service-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
  filter: brightness(1.1);
}

.service-hero-cta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.service-hero-illustration {
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-hero-icon-box {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  animation: floatIcon 6s ease-in-out infinite;
}

.service-hero-icon-box svg {
  width: 100px;
  height: 100px;
  fill: var(--theme-color);
}

@keyframes floatIcon {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Page Section Utility */
.page-section {
  padding: 80px 6%;
}

.bg-light {
  background: #f4f8f5;
}

.bg-white {
  background: #ffffff;
}

/* Back Link styling */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 25px;
  transition: var(--transition-fast);
}

.back-link:hover {
  color: var(--primary-color);
}

.back-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Detail Columns / Features Grid */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.detail-content-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.detail-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

/* Benefits Grid */
.benefits-section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 50px;
}

.service-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-detail-card {
  background: #fff;
  border-radius: var(--border-radius-md);
  border: 1px solid #ebf2ed;
  padding: 35px 25px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.benefit-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--theme-color);
  opacity: 0.7;
}

.benefit-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(12, 53, 35, 0.1);
}

.benefit-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--theme-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--theme-color);
}

.benefit-card-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.benefit-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.benefit-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Coverage Checklist (Inclusions vs Exclusions) */
.coverage-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.coverage-box {
  background: #ffffff;
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #ebf2ed;
}

.coverage-box.inclusions {
  border-left: 5px solid var(--secondary-color);
}

.coverage-box.exclusions {
  border-left: 5px solid var(--accent-color);
}

.coverage-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.coverage-box.inclusions .coverage-title {
  color: var(--secondary-color);
}

.coverage-box.exclusions .coverage-title {
  color: var(--accent-color);
}

.coverage-title svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.coverage-items-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.coverage-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.coverage-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.coverage-box.inclusions .coverage-item svg {
  fill: var(--secondary-color);
}

.coverage-box.exclusions .coverage-item svg {
  fill: var(--accent-color);
}

/* Interactive Quote Form */
.quote-form-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #fff;
  position: relative;
}

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

.quote-header {
  text-align: center;
  margin-bottom: 40px;
}

.quote-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.quote-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.quote-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius-lg);
  padding: 50px 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 20px;
  margin-bottom: 30px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.form-control {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-sm);
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--theme-color);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
}

.form-control option {
  background: var(--bg-dark);
  color: #fff;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.checkbox-control {
  width: 18px;
  height: 18px;
  accent-color: var(--theme-color);
}

.form-btn-wrapper {
  margin-top: 40px;
  text-align: center;
}

.form-submit-btn {
  background: var(--theme-color);
  color: #fff;
  border: none;
  padding: 16px 45px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-heading);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

/* Success Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 26, 19, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
  position: relative;
  border-top: 6px solid var(--theme-color);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(30, 112, 70, 0.08);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.modal-icon-wrapper.success-life {
  background: rgba(245, 166, 35, 0.08);
  color: var(--accent-gold);
}
.modal-icon-wrapper.success-travel {
  background: rgba(238, 108, 77, 0.08);
  color: var(--accent-color);
}
.modal-icon-wrapper.success-business {
  background: rgba(142, 36, 170, 0.08);
  color: #8e24aa;
}
.modal-icon-wrapper.success-vehicle {
  background: rgba(33, 150, 243, 0.08);
  color: #2196f3;
}

.modal-icon-wrapper svg {
  width: 45px;
  height: 45px;
  fill: currentColor;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.modal-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: var(--transition-normal);
}

.modal-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* Service-Specific Partner Section Styling */
.service-partners-heading {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .service-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 5% 40px;
    gap: 40px;
  }
  
  .hero-quote-card {
    margin: 0 auto;
    max-width: 100%;
  }
  
  .service-hero-illustration {
    order: -1;
  }
  
  .service-hero-icon-box {
    width: 160px;
    height: 160px;
  }
  
  .service-hero-icon-box svg {
    width: 80px;
    height: 80px;
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .coverage-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-hero-title {
    font-size: 2.2rem;
  }
  
  .quote-card {
    padding: 35px 20px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
}

@media (max-width: 576px) {
  .service-benefits-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Hero Compact Form Cards (Glassmorphism design for dark hero banners) */
.hero-quote-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 440px;
  box-sizing: border-box;
  margin-left: auto;
}

.hero-quote-card .form-group {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 12px;
}

.hero-quote-card .form-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

.hero-quote-card .form-control {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-sm);
  padding: 10px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: var(--transition-normal);
  box-sizing: border-box;
  width: 100%;
}

.hero-quote-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.hero-quote-card .form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.hero-quote-card .form-control option {
  background: var(--bg-dark);
  color: #fff;
}

.hero-quote-card .form-submit-btn {
  background: var(--theme-color);
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-heading);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.hero-quote-card .form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1);
}

/* ==========================================================================
   Modern UI Additions: FAQ, Process Steps & Testimonials
   ========================================================================== */

/* Step Process Timeline */
.process-section {
  padding: 80px 6%;
  background: #ffffff;
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.process-step {
  background: var(--theme-bg-light);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  padding: 40px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--theme-color);
}

.process-number {
  width: 50px;
  height: 50px;
  background: var(--theme-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.process-step-title {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 80px 6%;
  background: var(--theme-bg-light);
}

.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #ebf2ed;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--theme-color);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-color);
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--theme-bg-light);
  color: var(--theme-color);
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: var(--text-dark);
  font-size: 0.92rem;
  line-height: 1.6;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
  padding: 0 25px 20px;
  max-height: 200px;
}

/* Testimonials Grid */
.testimonials-section {
  padding: 80px 6%;
  background: #ffffff;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: #ffffff;
  border: 1.5px solid #ebf2ed;
  padding: 40px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  text-align: left;
  position: relative;
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--theme-color);
}

.stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--theme-bg-light);
  color: var(--theme-color);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.user-info h4 {
  margin: 0;
  color: var(--primary-color);
  font-size: 0.92rem;
  font-weight: 700;
}

.user-info p {
  margin: 2px 0 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

