/* ========== Service Inner Pages — Modern Layout ========== */

.service-page {
  --svc-radius: 28px;
  --svc-radius-lg: 36px;
  overflow-x: hidden;
}

/* Section headers */
.svc-section-head {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.svc-section-head.text-center .svc-eyebrow {
  display: inline-flex;
}
.svc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}
.svc-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
}
.svc-section-head h2 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

/* Hero banner */
.svc-hero {
  position: relative;
  /* min-height: 520px; */
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 70px 0 60px;
  overflow: hidden;
}
.svc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.svc-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: svcKenBurns 18s ease-in-out infinite alternate;
}
@keyframes svcKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.svc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(10, 37, 64, 0.92) 0%,
    rgba(18, 63, 110, 0.78) 45%,
    rgba(18, 63, 110, 0.55) 100%
  );
  z-index: 1;
}
.svc-hero__shapes span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  animation: svcFloat 8s ease-in-out infinite;
  z-index: 1;
}
.svc-hero__shapes span:nth-child(1) { width: 320px; height: 320px; top: -80px; right: -60px; animation-delay: 0s; }
.svc-hero__shapes span:nth-child(2) { width: 180px; height: 180px; bottom: 10%; left: 8%; animation-delay: -2s; }
.svc-hero__shapes span:nth-child(3) { width: 90px; height: 90px; top: 35%; right: 22%; animation-delay: -4s; }
@keyframes svcFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.04); }
}
.svc-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.svc-hero__icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  animation: svcIconPulse 3s ease-in-out infinite;
}
@keyframes svcIconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.25); }
  50% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
}
.svc-hero h1 {
  font-family: 'Merriweather', serif;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.svc-hero .lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  max-width: 620px;
}
.svc-hero .breadcrumb-custom .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.svc-hero .breadcrumb-custom .breadcrumb-item a:hover { color: #fff; }
.svc-hero .breadcrumb-custom .breadcrumb-item.active { color: #fff; font-weight: 600; }
.svc-hero .breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.5); content: "›"; }
.svc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 1.75rem;
}
.svc-btn-light {
  border-radius: 60px;
  padding: 14px 28px;
  font-weight: 700;
  background: #fff;
  color: var(--primary);
  border: none;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
}
.svc-btn-outline {
  border-radius: 60px;
  padding: 14px 28px;
  font-weight: 600;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
}
.svc-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: svcBounce 2s ease-in-out infinite;
}
.svc-scroll-hint i { font-size: 1rem; }
@keyframes svcBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Overview */
.svc-overview {
  background: #fff;
  position: relative;
}
.svc-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 63, 110, 0.12), transparent);
}
.svc-overview__text p {
  color: #4a5568;
  line-height: 1.75;
  font-size: 1.05rem;
}
.svc-highlight-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}
.svc-pill {
  background: var(--gray-bg);
  border: 1px solid rgba(18, 63, 110, 0.08);
  border-radius: 60px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: all 0.3s ease;
}
.svc-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}
.svc-pill i { color: var(--primary-light); margin-right: 6px; transition: color 0.3s; }
.svc-pill:hover i { color: #fff; }
.svc-image-frame {
  position: relative;
  border-radius: var(--svc-radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 60px -24px rgba(18, 63, 110, 0.25);
}
.svc-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--svc-radius-lg);
  z-index: 2;
  pointer-events: none;
}
.svc-image-frame::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 2px solid var(--primary-light);
  border-radius: calc(var(--svc-radius-lg) + 4px);
  opacity: 0.35;
  z-index: 0;
}
.svc-image-frame img {
  width: 100%;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.svc-image-frame:hover img { transform: scale(1.06); }
.svc-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 14px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}
.svc-image-frame:hover .svc-image-badge { transform: translateY(-4px); }
.svc-image-badge i {
  width: 42px;
  height: 42px;
  background: var(--primary-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* What's included cards */
.svc-included-grid { background: var(--gray-bg); }
.svc-included-card {
  background: #fff;
  border-radius: var(--svc-radius);
  padding: 1.75rem;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  overflow: hidden;
}
.svc-included-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  transition: height 0.4s ease;
}
.svc-included-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 50px -16px rgba(18, 63, 110, 0.22);
  border-color: rgba(18, 63, 110, 0.12);
}
.svc-included-card:hover::before { height: 100%; }
.svc-included-card__num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.35;
  margin-bottom: 0.75rem;
  transition: opacity 0.3s;
}
.svc-included-card:hover .svc-included-card__num { opacity: 0.7; }
.svc-included-card p {
  color: #4a5568;
  margin: 0;
  font-weight: 500;
  line-height: 1.55;
}

/* Process timeline */
.svc-process { background: #fff; }
.svc-process-track {
  position: relative;
  padding-top: 1rem;
}
.svc-process-track::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-soft), var(--primary-light), var(--primary-soft));
  border-radius: 3px;
  display: none;
}
@media (min-width: 992px) {
  .svc-process-track::before { display: block; }
}
.svc-process-card {
  background: var(--gray-bg);
  border-radius: var(--svc-radius);
  padding: 2rem 1.5rem 1.5rem;
  height: 100%;
  text-align: center;
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
}
.svc-process-card:hover {
  background: #fff;
  border-color: rgba(18, 63, 110, 0.12);
  transform: translateY(-8px);
  box-shadow: 0 24px 45px -18px rgba(18, 63, 110, 0.2);
}
.svc-process-card__step {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(18, 63, 110, 0.3);
  transition: transform 0.4s ease;
}
.svc-process-card:hover .svc-process-card__step {
  transform: scale(1.12) rotate(5deg);
}
.svc-process-card h5 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.svc-process-card p {
  color: #64748b;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
}

/* Why choose */
.svc-why { background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); }
.svc-why .why-card-item {
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.svc-why .why-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 40px -16px rgba(18, 63, 110, 0.18);
  border-color: rgba(18, 63, 110, 0.1);
}
.svc-why .why-card-item:hover .feature-icon-round {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}
.svc-why .feature-icon-round { transition: all 0.35s ease; }

/* Research areas */
.svc-areas { background: #fff; }
.svc-area-card {
  background: var(--gray-bg);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  border: 1px solid transparent;
  transition: all 0.35s ease;
  height: 100%;
}
.svc-area-card i {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(18, 63, 110, 0.08);
  transition: all 0.35s ease;
}
.svc-area-card:hover {
  background: var(--primary);
  color: #fff;
  transform: translateX(6px);
  box-shadow: 0 12px 28px rgba(18, 63, 110, 0.25);
}
.svc-area-card:hover i {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Stats */
.svc-stats {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.svc-stats::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  top: -120px;
  right: -80px;
}
.svc-stats .svc-section-head h2,
.svc-stats .svc-section-head p { color: #fff; }
.svc-stats .svc-eyebrow { color: rgba(255, 255, 255, 0.75); }
.svc-stats .svc-eyebrow::before { background: rgba(255, 255, 255, 0.5); }
.svc-stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--svc-radius);
  padding: 2rem 1.25rem;
  text-align: center;
  transition: all 0.4s ease;
}
.svc-stat-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.svc-stat-card .counter-stat {
  color: #fff;
  font-size: 3rem;
}
.svc-stat-card p { color: rgba(255, 255, 255, 0.9); margin: 0; }

/* Testimonials */
.svc-testimonials { background: var(--gray-bg); }
.svc-testimonial-card {
  background: #fff;
  border-radius: var(--svc-radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
}
.svc-testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary-soft);
  font-family: Georgia, serif;
  transition: color 0.3s;
}
.svc-testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 50px -16px rgba(18, 63, 110, 0.2);
  border-left: 4px solid var(--primary);
}
.svc-testimonial-card:hover::before { color: rgba(18, 63, 110, 0.15); }
.svc-testimonial-card .rating { letter-spacing: 2px; }

/* FAQ */
.svc-faq { background: #fff; }
.svc-faq .faq-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--svc-radius);
}
.svc-faq .faq-card.active {
  border-color: rgba(18, 63, 110, 0.2);
  box-shadow: 0 16px 36px -14px rgba(18, 63, 110, 0.15);
}

/* Contact split */
.svc-contact { background: var(--gray-bg); }
.svc-contact-info {
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  border-radius: var(--svc-radius-lg);
  padding: 2.5rem;
  color: #fff;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.svc-contact-info::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  bottom: -60px;
  right: -40px;
}
.svc-contact-info h3 { color: #fff; margin-bottom: 1rem; }
.svc-contact-info p { color: rgba(255, 255, 255, 0.82); line-height: 1.7; }
.svc-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease;
}
.svc-contact-item:last-child { border-bottom: none; }
.svc-contact-item:hover { transform: translateX(6px); }
.svc-contact-item i {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-contact-item a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.svc-contact-item a:hover { color: rgba(255, 255, 255, 0.85); }
.svc-form-card {
  background: #fff;
  border-radius: var(--svc-radius-lg);
  padding: 2.5rem;
  box-shadow: 0 30px 60px -24px rgba(18, 63, 110, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.4s ease;
}
.svc-form-card:hover {
  box-shadow: 0 40px 70px -24px rgba(18, 63, 110, 0.2);
}
.svc-form-card .form-control-modern:focus,
.svc-form-card textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(18, 63, 110, 0.1);
  outline: none;
}

/* CTA */
.svc-cta {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.svc-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 37, 64, 0.93), rgba(18, 63, 110, 0.88));
}
.svc-cta .container { position: relative; z-index: 1; }
.svc-cta .btn-primary-gradient {
  position: relative;
  overflow: hidden;
}
.svc-cta .btn-primary-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}
.svc-cta .btn-primary-gradient:hover::after { left: 100%; }

/* Shared buttons on service pages */
.service-page .btn-primary-gradient {
  background: linear-gradient(105deg, var(--primary), var(--primary-light));
  border: none;
  border-radius: 60px;
  padding: 14px 32px;
  font-weight: 700;
  color: #fff;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-page .btn-primary-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(18, 63, 110, 0.45);
  color: #fff;
}

/* Form helpers */
.service-page .form-control-modern {
  padding-left: 48px;
  border-radius: 60px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-weight: 500;
  height: 52px;
  transition: all 0.25s ease;
}
.service-page .input-icon { position: relative; }
.service-page .input-icon i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  z-index: 2;
}
.service-page textarea.form-control {
  border-radius: 24px;
  padding: 16px 16px 16px 48px;
  border: 1px solid #e2e8f0;
  min-height: 130px;
  transition: all 0.25s ease;
}

/* FAQ base (service pages) */
.service-page .faq-card {
  background: #fff;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.35s ease;
}
.service-page .faq-card:hover { transform: translateY(-2px); }
.service-page .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--primary-dark);
  gap: 1rem;
}
.service-page .faq-question i { color: var(--primary); transition: transform 0.35s ease; flex-shrink: 0; }
.service-page .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, margin-top 0.3s ease;
  color: #4a5568;
  line-height: 1.7;
}
.service-page .faq-card.active .faq-answer { max-height: 320px; margin-top: 1rem; }
.service-page .faq-card.active .faq-question i { transform: rotate(180deg); }

@media (max-width: 992px) {
  .svc-hero { min-height: 460px; padding: 100px 0 70px;height:auto; }
  .svc-scroll-hint { display: none; }
  .svc-contact-info { margin-bottom: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-hero__bg img,
  .svc-hero__shapes span,
  .svc-hero__icon,
  .svc-scroll-hint { animation: none; }
}
