/**
 * Additional Styles for Medical Spa Theme
 * Include specific component styling that extends the main style.css
 * 
 * @package Medical_Spa_Pro
 */

/* ================================
   Service-Specific Styles
   ================================ */

.service-info-box {
  background: var(--background-light);
  border-left: 4px solid var(--primary-color);
  padding: var(--spacing-md);
  margin: var(--spacing-md) auto;
  border-radius: var(--radius-md);
  width: 600px;
}

.service-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xs) 0;
}

.service-meta {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  margin: var(--spacing-sm) 0;
  font-size: 0.9rem;
}

.service-price {
  color: var(--primary-color);
  font-weight: 600;
  padding: 4px 12px;
  background: rgba(139, 115, 85, 0.1);
  border-radius: var(--radius-sm);
}

.service-duration {
  color: var(--text-light);
  padding: 4px 12px;
  background: var(--background-light);
  border-radius: var(--radius-sm);
}

.service-booking-section {
  background: var(--service-booking-bg, linear-gradient(135deg, var(--primary-color), var(--secondary-color)));
  color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: var(--spacing-lg);
}

.service-booking-section h3 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.service-booking-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-md);
}

.related-services {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 2px solid var(--border-color);
}

.related-services h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

/* Related Services Carousel (matches homepage design) */
.related-services-carousel-section {
  overflow: hidden;
  background: var(--service-related-bg, #f5f5f5);
}

.related-services-carousel-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.related-services-carousel-section .services-carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  max-width: 100%;
}

.related-services-carousel-section .services-carousel-track {
  display: flex;
  animation: scrollRelatedCarousel 25s linear infinite;
  width: min-content;
  gap: 16px;
}

.related-services-carousel-section .carousel-service-slide {
  flex: 0 0 300px;
  padding: 10px 0;
}

.related-services-carousel-section .carousel-service-card {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: none;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
}

.related-services-carousel-section .carousel-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.related-services-carousel-section .carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.2) 80%, transparent 100%);
  transition: var(--transition);
}

.related-services-carousel-section .carousel-card-link {
  position: relative;
  z-index: 2;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 15px;
  margin: 0 !important;
}

.related-services-carousel-section .carousel-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  color: white;
  z-index: 1;
}

.related-services-carousel-section .carousel-service-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.related-services-carousel-section .carousel-service-card:hover .carousel-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.3) 80%, transparent 100%);
}

@keyframes scrollRelatedCarousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.related-services-carousel-section .services-carousel-track:hover {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .related-services-carousel-section .carousel-service-slide {
    flex: 0 0 250px;
  }
  .related-services-carousel-section .carousel-service-card {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .related-services-carousel-section .carousel-service-slide {
    flex: 0 0 200px;
  }
  .related-services-carousel-section .carousel-service-card {
    height: 200px;
  }
}

/* ================================
   Service Filters
   ================================ */

.service-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
  margin: var(--spacing-lg) 0;
}

.filter-btn {
  padding: 10px 20px;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  color: var(--text-dark);
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

/* ================================
   Contact Information Display
   ================================ */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.95rem;
}

.contact-icon {
  font-size: 1.2rem;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary-color);
}

/* ================================
   Breadcrumbs
   ================================ */

.breadcrumbs {
  padding: var(--spacing-sm) 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--text-dark);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--primary-color);
}

.breadcrumbs .separator {
  margin: 0 var(--spacing-xs);
  color: var(--text-light);
}

/* ================================
   CTA Section
   ================================ */

.cta-section {
  background: var(--background-light);
  position: relative;
  overflow: hidden;
}

.cta-section::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 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z"/></svg>') center/cover no-repeat;
  opacity: 0.1;
}

/* ================================
   Header CTA Styles
   ================================ */

.header-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-phone {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 0;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header-phone::before {
  content: '📞';
  font-size: 1.1rem;
}

.header-phone:hover {
  color: var(--secondary-color);
  transform: scale(1.05);
}

.header-booking-btn {
  font-size: 0.9rem;
  padding: 10px 25px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

.header-booking-btn:hover {
  box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
}

/* ================================
   Sticky Header Enhancement
   ================================ */

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 5px 0;
}

.site-header.scrolled .site-logo img {
  max-height: 50px;
  transition: var(--transition);
}

/* ================================
   Search Form Styling
   ================================ */

.search-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  overflow: hidden;
  background: var(--white);
}

.search-form label {
  flex: 1;
  margin: 0;
}

.search-field {
  width: 100%;
  padding: 12px 20px;
  border: none;
  outline: none;
  font-size: 1rem;
}

.search-submit {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  transition: var(--transition);
}

.search-submit:hover {
  background: var(--secondary-color);
}

/* ================================
   Post Navigation
   ================================ */

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-md) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.nav-previous,
.nav-next {
  flex: 1;
}

.nav-next {
  text-align: right;
}

.nav-subtitle {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.nav-title {
  color: var(--primary-color);
  font-weight: 600;
}

/* ================================
   Pagination
   ================================ */

.pagination {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xs);
  margin: var(--spacing-lg) 0;
  flex-wrap: wrap;
}

.page-numbers {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* ================================
   Footer Section - Enhanced Styles
   ================================ */

/* Footer base - uses theme color from customizer */
.site-footer {
  background: var(--theme-color, var(--primary-color, #1a365d));
}

/* Footer column improvements */
.footer-content {
  position: relative;
  z-index: 1;
}

.footer-column {
  padding: var(--spacing-md);
}

.footer-column h3 {
  position: relative;
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

/* Footer links - FIXED HOVER CONTRAST */
.footer-column a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-column a:hover {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.footer-column a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffd700, #ff6b6b);
  transition: width 0.3s ease;
}

.footer-column a:hover::after {
  width: 100%;
}

/* Footer Services List improvements */
.footer-services-list li {
  margin-bottom: 0.85rem;
  transition: transform 0.2s ease;
}

.footer-services-list li:hover {
  transform: translateX(5px);
}

.footer-services-list li a {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
}

.footer-services-list li a:hover {
  color: #ffd700;
  padding-left: 0.5rem;
}

/* Footer Social Links improvements */
.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
}

.footer-social-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  padding-left: 1.25rem;
  transform: translateX(5px);
}

.footer-social-link svg {
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.footer-social-link:hover svg {
  color: #ffffff;
  transform: scale(1.15);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

/* Footer Contact Info improvements */
.footer-contact-info {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.footer-contact-info p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-info p:last-child {
  margin-bottom: 0;
}

.footer-contact-info a {
  color: #ffd700;
  font-weight: 500;
}

.footer-contact-info a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Footer Menu improvements */
.footer-menu ul {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
  margin-top: var(--spacing-sm);
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-menu a:hover {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
  text-decoration: none;
}

/* Footer Bottom improvements */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 400;
  font-size: 0.85rem;
}

.footer-bottom .powered-by {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.8rem;
  margin-top: 5px;
}

.footer-bottom .powered-by a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom .powered-by a:hover {
  color: rgba(255, 255, 255, 1) !important;
  text-decoration: underline;
}

/* Responsive improvements */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-column {
    padding: var(--spacing-sm) 0;
    text-align: center;
  }
  
  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-social-links {
    align-items: center;
  }
  
  .footer-social-link {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .footer-contact-info {
    text-align: left;
  }
  
  .footer-menu ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ================================
   Helpful Links (404 page)
   ================================ */

.helpful-links ul {
  list-style: none;
  padding: 0;
}

.helpful-links li {
  padding: var(--spacing-xs) 0;
}

.helpful-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.helpful-links a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* ================================
   Entry Meta (Blog Posts)
   ================================ */

.entry-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

.entry-meta a {
  color: var(--text-dark);
}

.entry-meta a:hover {
  color: var(--primary-color);
}

.entry-footer {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.cat-links,
.tags-links {
  display: block;
  margin: var(--spacing-xs) 0;
}

/* ================================
   Loading States
   ================================ */

.loading {
  opacity: 0.6;
  pointer-events: none;
}

.btn.loading::after {
  content: '...';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {

  0%,
  20% {
    content: '.';
  }

  40% {
    content: '..';
  }

  60%,
  100% {
    content: '...';
  }
}

/* ================================
   Mobile Submenu Toggle
   ================================ */

.submenu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--primary-color);
  font-size: 0.8rem;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .submenu-toggle {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .main-navigation .menu-item-has-children {
    position: relative;
  }

  .submenu-toggle span {
    display: inline-block;
    transition: transform 0.3s ease;
  }
}

/* ================================
   Accessibility
   ================================ */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--background-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  clip: auto !important;
  color: var(--text-dark);
  display: block;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ================================
   Print Styles
   ================================ */

@media print {

  .site-header,
  .site-footer,
  .service-filters,
  .btn,
  .mobile-menu-toggle {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}


/* =========================================================
   ENHANCED SERVICE PAGE TEMPLATE STYLES
   ========================================================= */

/* ================================
   Section 1: Hero Section
   ================================ */
.service-hero-enhanced {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-video-container,
.hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-video-container video,
.hero-video-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  padding: var(--spacing-xl) 0;
  width: 100%;
}

.hero-content-wrapper .service-categories {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

.hero-content-wrapper .service-category {
  background: var(--primary-color);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-hero-title {
  color: #fff;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  font-weight: 300;
  letter-spacing: 1px;
}

.btn-hero {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 16px 45px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.btn-hero:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-indicator svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Mobile - hide scroll indicator */
@media (max-width: 768px) {
  .scroll-indicator {
    display: none !important;
  }
}

/* ================================
   Section 2: Signature Introduction
   ================================ */
.service-intro-section {
  padding: var(--spacing-xl) 0;
  background: var(--service-intro-bg, linear-gradient(180deg, #fff 0%, #f8f8f8 100%));
  text-align: center;
  overflow: hidden;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro-content.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.intro-content.style-gold {
  color: #8B6914;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.intro-content.style-silver {
  color: #5a5a5a;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

/* ================================
   Section Headers
   ================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #ff6b6b 100%);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: var(--spacing-sm) auto 0;
}

/* ================================
   Section 3: Pricing Section
   ================================ */
.service-pricing-section {
  padding: var(--spacing-xl) 0;
  background: var(--service-pricing-bg, linear-gradient(180deg, #f8f9fa 0%, #fff 100%));
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e8e8e8;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #ff6b6b 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.pricing-header {
  background: #fff;
  color: var(--text-dark);
  padding: 24px 24px 16px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.pricing-header h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.pricing-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
}

/* Session Pricing Section */
.session-pricing {
  padding: 20px;
  background: #fafbfc;
  border-radius: 12px;
  border: 1px solid #edf2f7;
}

.pricing-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #718096;
  margin-bottom: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
}

.pricing-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  letter-spacing: -0.5px;
}

.price-amount.package {
  color: #2d3748;
}

.price-amount.old-price {
  text-decoration: line-through;
  color: #a0aec0;
  font-size: 1.4rem;
  font-weight: 500;
  margin-right: 10px;
}

.price-amount.current-price {
  color: var(--primary-color);
}

.price-duration {
  font-size: 0.85rem;
  color: #4a5568;
  background: #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 500;
}

/* Package Pricing Section */
.package-pricing {
  padding: 20px;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.package-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(72, 187, 120, 0.3);
}

.package-savings {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #38a169;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.package-savings::before {
  content: '↓';
  font-size: 0.8rem;
}

.pricing-footer {
  padding: 24px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-comment {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
  text-align: center;
  font-style: italic;
}

.btn-booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 32px;
  background: var(--theme-color, var(--primary-color, #1a365d));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-booking::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-booking:hover {
  background: var(--hover-red, #2c5282);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.btn-booking:hover::after {
  transform: translateX(4px);
}

.btn-booking:active {
  transform: translateY(0);
}

/* ================================
   Section 4: Targeted Areas
   ================================ */
.service-areas-section {
  padding: var(--spacing-xl) 0;
  background: var(--service-areas-bg, linear-gradient(180deg, #f8f8f8 0%, #fff 100%));
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.area-card {
  background: #fff;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.area-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.area-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
  font-size: 1.5rem;
}

.area-icon .dashicons {
  width: auto;
  height: auto;
  font-size: 1.5rem;
}

.area-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.area-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ================================
   Section 5: Results Gallery Carousel (Auto-sliding)
   ================================ */
.service-gallery-section {
  padding: var(--spacing-xl) 0;
  background: var(--service-gallery-bg, #f5f5f5);
  overflow: hidden;
}

.gallery-carousel {
  display: flex;
  gap: var(--spacing-md);
  overflow: hidden;
  padding-bottom: var(--spacing-md);
  animation: galleryScroll 20s linear infinite;
  width: max-content;
}

.gallery-carousel:hover {
  animation-play-state: paused;
}

.gallery-slide {
  flex: 0 0 auto;
  width: 600px;
  max-width: 80vw;
}

.gallery-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16/10;
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-slide:hover .gallery-image-wrapper img {
  transform: scale(1.02);
}

.gallery-caption {
  text-align: center;
  margin-top: var(--spacing-sm);
  color: var(--text-light);
  font-style: italic;
  font-size: 0.95rem;
}

@keyframes galleryScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ================================
   Section 6: Technology Section
   ================================ */
.service-technology-section {
  padding: var(--spacing-xl) 0;
  background: var(--service-tech-bg, linear-gradient(135deg, #0a1628 0%, #1a2942 100%));
  color: #fff;
}

/* Full Width Header */
.tech-header {
  text-align: center;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-header h2 {
  color: #fff;
  font-size: 2.2rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Side-by-Side Layout */
.tech-wrapper-sidebyside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.tech-content-side {
  color: #fff;
}

.tech-content-side h3,
.tech-content-side h4 {
  color: #fff;
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.tech-content-side p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.tech-content-side ul,
.tech-content-side ol {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  padding-left: 20px;
  font-size: 0.95rem;
}

.tech-content-side li {
  margin-bottom: 6px;
}

.tech-content-side strong {
  color: #fff;
  font-weight: 600;
}

.tech-content-side table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.tech-content-side th,
.tech-content-side td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.tech-content-side th {
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  color: #fff;
}

/* Videos Side */
.tech-videos-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tech-video-wrap {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive video container using padding hack */
.tech-video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.tech-video-wrap iframe,
.tech-video-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* ================================
   Section 7: FAQ Section
   ================================ */
.service-faq-section {
  padding: var(--spacing-xl) 0;
  background: var(--service-faq-bg, #f8f9fa);
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-item.active .faq-question {
  color: var(--primary-color);
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-question span {
  padding-right: var(--spacing-md);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

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

.faq-answer {
  display: none;
  padding: 0 0 var(--spacing-md);
  color: var(--text-light);
  line-height: 1.7;
}

.faq-answer.is-open {
  display: block;
}

.faq-answer p {
  margin: 0 0 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ================================
   Booking CTA Section
   ================================ */
.service-booking-section {
  background: var(--service-booking-bg, linear-gradient(135deg, var(--primary-color) 0%, var(--hover-red, var(--primary-color)) 100%));
  color: #fff;
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.service-booking-section h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.service-booking-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
}

.btn-large {
  padding: 18px 50px;
  font-size: 1.1rem;
}

/* ================================
   Responsive Styles
   ================================ */
@media (max-width: 1024px) {
  .tech-header h2 {
    font-size: 2rem;
  }
  
  .tech-wrapper-sidebyside {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .tech-videos-side {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .service-hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .service-hero-enhanced {
    min-height: 70vh;
  }
  
  .service-hero-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .intro-content {
    font-size: 1.1rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header h2::after {
    width: 40px;
    height: 3px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pricing-card {
    max-width: 400px;
    margin: 0 auto;
    height: auto;
  }
  
  .price-amount {
    font-size: 1.6rem;
  }
  
  .price-amount.old-price {
    font-size: 1.1rem;
  }
  
  .pricing-body {
    padding: 16px;
  }
  
  .session-pricing,
  .package-pricing {
    padding: 16px;
  }
  
  .areas-grid {
    grid-template-columns: 1fr;
  }
  
  .ba-comparison {
    grid-template-columns: 1fr;
  }
  
  .faq-question {
    font-size: 1rem;
  }
  
  .service-booking-section h2 {
    font-size: 1.8rem;
  }
  
  .tech-header h2 {
    font-size: 1.6rem;
  }
  
  .tech-content-side p,
  .tech-content-side li {
    font-size: 0.9rem;
  }
  
  .tech-video-wrap {
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .service-hero-title {
    font-size: 1.8rem;
  }
  
  .btn-hero {
    padding: 14px 30px;
    font-size: 0.9rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
}
