/* Contacts Page Specific Styles */

/* Contacts Hero Section */
.contacts-hero-section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-4xl); /* Adjust as needed for card overlap */
  background-color: var(--white); /* Or match the background of the image */
  position: relative;
  overflow: hidden; /* To contain the background image */
}

.contacts-content-wrapper {
  position: relative;
  margin-top: var(--space-3xl); /* Space between title and image/cards */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


.contacts-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  position: relative;
  z-index: 1; /* Above the background image */
  margin-top: -100px; /* Pull cards up to overlap the image */
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.contact-card {
  background-color: var(--gray-50); /* Light blue background for cards */
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 220px; /* Ensure consistent height */
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg {
  width: 100%;
  height: 100%;
}

.contact-card-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-md);
}

.contact-card-text {
  font-size: var(--font-size-base);
  color: var(--gray-700);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-sm);
}

.contact-card-text:last-of-type {
  margin-bottom: 0;
}

/* Social Media Icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.footer-social-link {
  display: inline-block;
  width: 48px; /* Size of social icons */
  height: 48px; /* Size of social icons */
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
}

.footer-social-link:hover {
  transform: translateY(-3px);
}

.footer-social-link img {
  width: 100%;
  height: 100%;
  display: block;
}


/* ========= ADDITION - PAGE =================== */
/* ===== SERVICES LIST PAGE STYLES ===== */

/* Services list section */
.services-list-section {
  padding: var(--space-2xl) 0 var(--space-5xl);
  background: linear-gradient(135deg, var(--gray-50), var(--white));
  min-height: 100vh;
}

.services-list-section .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Breadcrumb */
.services-list-section .breadcrumb {
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  font-weight: var(--font-weight-normal);
}

.services-list-section .breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.services-list-section .breadcrumb a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.services-list-section .breadcrumb span {
  /* color: var(--gray-700); */
  font-weight: var(--font-weight-medium);
}

/* Section title */
.services-list-section .section-title {
  /* font-size: var(--font-size-5xl); */
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
  text-align: center;
  line-height: var(--line-height-tight);
  font-family: var(--font-family-heading);
  position: relative;
}

.services-list-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-full);
}

/* Services intro */
.services-intro {
  font-size: var(--font-size-lg);
  color: var(--gray-600);
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-relaxed);
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-4xl);
}

/* Service card */
.service-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.service-card:hover {
  /* transform: translateY(-8px); */
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Service card icon */
.service-card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.service-card:hover .service-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card-icon .icon-emoji {
  font-size: 2.5rem;
  /* filter: brightness(0) invert(1); */
}

/* Service card content */
.service-card-content {
  flex-grow: 1;
  /* padding-bottom: var(--space-lg); */
}

.service-card-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
  font-family: var(--font-family-heading);
  transition: color var(--transition-fast);
  text-align: center;
}

.service-card:hover .service-card-title {
  color: var(--primary-color);
}

.service-card-description {
  font-size: var(--font-size-base);
  color: var(--gray-600);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-3xl);
  text-align: center;
}

/* Service card meta */
.service-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xs);
  margin-top: auto;
  flex-wrap: wrap;
}

.service-card-price {
  background: linear-gradient(135deg, var(--success-color), #27ae60);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  box-shadow: var(--shadow-sm);
}

.service-card-time {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border: 1px solid var(--gray-300);
}

/* Service card footer */
.service-card-footer {
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-200);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
}

.service-card:hover .service-card-link {
  color: var(--primary-dark);
}

.service-card-link .arrow {
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card-link .arrow {
  transform: translateX(4px);
}

.service-card-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}


/* Services CTA section */
.services-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  padding: var(--space-3xl);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.services-cta h2 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-lg);
  font-family: var(--font-family-heading);
  position: relative;
  z-index: 1;
}

.services-cta p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-relaxed);
  position: relative;
  z-index: 1;
}

.services-cta .btn {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--white);
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-button);
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.services-cta .btn:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}


/* ===== SERVICE DETAILS PAGE STYLES ===== */

/* Main content container */
.main-content {
  padding: 0;
  background: var(--white);
}

/* Service details section */
.service-details-section {
  padding: var(--space-2xl) 0;
  min-height: 100vh;
}

.service-details-section .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Breadcrumb navigation */
.breadcrumb {
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  font-weight: var(--font-weight-normal);
}


.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.breadcrumb span {
  /* color: var(--gray-700); */
  font-weight: var(--font-weight-medium);
}

/* Section title */
.section-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-2xl);
  line-height: var(--line-height-tight);
  font-family: var(--font-family-heading);
}

/* Service details content layout */
.service-details-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

/* Sidebar styles */
.service-details-sidebar {
  background: var(--gray-50);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  position: sticky;
  top: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.sidebar-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
  font-family: var(--font-family-heading);
}

.service-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-nav-list li {
  margin-bottom: var(--space-sm);
}

.service-nav-item {
  display: block;
  padding: var(--space-md) var(--space-lg);
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  border: 1px solid transparent;
  background: var(--white);
}

.service-nav-item:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.service-nav-item.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-lg);
}

/* Main content area */
.service-details-main {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

/* Service header */
.service-details-header {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 2px solid var(--gray-200);
  align-items: flex-start;
}

.service-details-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
}

.icon-emoji {
  font-size: 2.5rem;
  filter: brightness(1.3);
}

.service-details-summary {
  flex: 1;
}

.service-details-short-description {
  font-size: var(--font-size-lg);
  color: var(--gray-700);
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-relaxed);
  font-weight: var(--font-weight-normal);
}

.service-details-price,
.service-details-delivery-time {
  display: inline-block;
  background: var(--gray-100);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--gray-800);
  margin-right: var(--space-md);
  margin-bottom: var(--space-sm);
  border: 1px solid var(--gray-300);
}

.service-details-price {
  background: linear-gradient(135deg, var(--success-color), #27ae60);
  color: var(--white);
  border-color: #27ae60;
}

/* Content sections */
.service-details-full-description,
.service-details-features,
.service-details-requirements,
.service-details-process {
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.service-details-full-description h3,
.service-details-features h3,
.service-details-requirements h3,
.service-details-process h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
  font-family: var(--font-family-heading);
  position: relative;
  padding-left: var(--space-lg);
}

.service-details-full-description h3::before,
.service-details-features h3::before,
.service-details-requirements h3::before,
.service-details-process h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-sm);
}

.service-details-full-description p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--gray-700);
  margin-bottom: var(--space-md);
}

/* Lists styling */
.service-details-features ul,
.service-details-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-details-features li,
.service-details-requirements li {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.service-details-features li:hover,
.service-details-requirements li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.services-cta h2{
    color: rgba(255, 255, 255, 0.9);
}

.services-cta p{
    color: rgba(255, 255, 255, 0.9);
}


.feature-icon,
.requirement-icon {
  margin-right: var(--space-md);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.feature-icon {
  color: var(--success-color);
  background: rgba(46, 204, 113, 0.1);
}

.requirement-icon {
  color: var(--primary-color);
  background: rgba(74, 144, 226, 0.1);
}

/* Process list (ordered) */
.service-details-process ol {
  padding-left: 0;
  counter-reset: process-counter;
}

.service-details-process li {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: relative;
  counter-increment: process-counter;
  transition: all var(--transition-normal);
}

.service-details-process li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.service-details-process li::before {
  content: counter(process-counter);
  position: absolute;
  left: -12px;
  top: var(--space-lg);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
}

/* Order button */
.order-service-btn {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: var(--white);
  border: none;
  border-radius: var(--radius-button);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: var(--space-xl);
}

.order-service-btn:hover {
  background: linear-gradient(135deg, var(--secondary-dark), #c41e3a);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.order-service-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-lg);
}

.service-details-full-description p {
  text-align: justify;
}




/* Existing styles for reference */
.service-details-hero-wrapper {
  background: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding-top: var(--space-3xl);
  padding-bottom: 0;
  height: auto;
}

.service-details-hero-main-title {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  color: var(--gray-900);
  text-align: center;
  z-index: 10;
  font-size: clamp(2rem, 5vw, var(--font-size-title));
  margin-bottom: var(--space-3xl);
  flex-shrink: 0;
}

.service-details-hero-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(1rem, 3vw, var(--space-sm));
  width: var(--container-max-width);
  max-width: 90%;
  margin: 0 auto;
  z-index: 5;
  align-items: flex-start;
  flex-grow: 1;
  height: 100%;
}

.service-details-hero-text-left {
  grid-column: 1;
  grid-row: 1;
  z-index: 3;
  text-align: left;
  position: relative;
}

.service-details-hero-text-left::before {
  content: open-quote;
  z-index: -1;
  position: absolute;
  top: -45%;
  left: -5%;
  font-size: var(--font-size-4xl);
  opacity: 0.1;
}

.service-details-hero-description {
  font-size: clamp(1rem, 2.2vw, var(--font-size-lg));
  color: var(--gray-600);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.service-details-hero-image-center {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  z-index: 5;
  min-height: auto;
  align-self: flex-end;
  height: 100%;
}

.service-details-hero-circles-background {
  position: absolute;
  bottom: 0;
  width: 100vw;
  height: 100%;
  overflow: visible;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.service-details-hero-circles-background .circle-outer,
.service-details-hero-circles-background .circle-middle,
.service-details-hero-circles-background .circle-inner {
  position: absolute;
  bottom: 0;
}

.service-details-hero-circles-background .circle-outer {
  width: min(1000px, 105vw);
  height: min(500px, 50vw);
  z-index: 1;
}

.service-details-hero-circles-background .circle-middle {
  width: min(920px, 96vw);
  height: min(460px, 48vw);
  z-index: 2;
}

.service-details-hero-circles-background .circle-inner {
  width: min(840px, 87vw);
  height: min(420px, 44vw);
  z-index: 3;
}

.service-details-hero-circles-background .circle-inner svg path {
  fill: rgba(59, 130, 246, 0.55);
  stroke: rgba(59, 130, 246, 0.8);
}

.service-details-hero-circles-background .circle-outer svg,
.service-details-hero-circles-background .circle-middle svg,
.service-details-hero-circles-background .circle-inner svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-details-hero-image-container {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  max-height: 500px;
  width: 100%;
  max-width: 600px;
}

.service-details-hero-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.service-details-hero-actions-overlay {
  padding: clamp(0.5rem, 1.5vw, var(--space-xs));
  border: var(--border-width-lg) solid white;
  border-radius: var(--radius-button);
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.5rem, 2vw, var(--space-lg));
  z-index: 7;
  white-space: nowrap;
  flex-wrap: nowrap;
  width: fit-content;
  max-width: none;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.767);
}

.service-details-hero-actions-overlay .btn {
  padding: clamp(0.5rem, 1vw, 0.75rem) clamp(1rem, 2vw, 1.5rem);
  margin-top: 0;
}

.service-details-hero-rating-right {
  grid-column: 3;
  grid-row: 1;
  text-align: right;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-self: center;
  justify-content: flex-end;
}

.service-details-hero-rating-right .rating-stars {
  color: var(--star-color);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.service-details-hero-rating-right .rating-text {
  color: var(--gray-600);
  line-height: var(--line-height-tight);
  margin-bottom: 0;
  font-size: clamp(0.8rem, 1.8vw, var(--font-size-md));
}

.service-details-hero-rating-right .rating-text strong {
  font-size: var(--font-size-4xl);
  color: var(--gray-900);
  display: block;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.25rem;
  font-size: clamp(1.5rem, 4vw, var(--font-size-3xl));
}

.service-details-hero-rating-right .rating-text strong span {
  color: rgb(1, 187, 255);
}

/* Existing media queries */
@media screen and (max-width: 1440px) {
  .service-details-hero-content {
    max-width: 95%;
  }
  .service-details-hero-description {
    font-size: clamp(0.9rem, 1.8vw, var(--font-size-sm));
  }
  .service-details-hero-circles-background .circle-outer {
    width: min(920px, 95vw);
    height: min(460px, 45vw);
  }
  .service-details-hero-circles-background .circle-middle {
    width: min(850px, 88vw);
    height: min(420px, 42vw);
  }
  .service-details-hero-circles-background .circle-inner {
    width: min(780px, 80vw);
    height: min(390px, 40vw);
  }
}

@media screen and (max-width: 1280px) {
  .service-details-hero-content {
    max-width: 95%;
  }
  .service-details-hero-text-left {
    padding-right: var(--space-md);
    margin-top: var(--space-5xl);
  }
  .service-details-hero-rating-right {
    padding-left: var(--space-md);
    margin-top: -80px;
  }
  .service-details-hero-actions-overlay {
    bottom: var(--space-md);
    gap: var(--space-md);
    padding: var(--space-xs);
  }
  .service-details-hero-main-title {
    font-size: clamp(2.2rem, 4vw, var(--font-size-4xl));
    margin-bottom: var(--space-sm);
  }
  .service-details-hero-description {
    font-size: clamp(0.85rem, 1.7vw, var(--font-size-sm));
  }
  .service-details-hero-circles-background .circle-outer {
    width: min(860px, 86vw);
    height: min(430px, 43vw);
  }
  .service-details-hero-circles-background .circle-middle {
    width: min(780px, 78vw);
    height: min(390px, 39vw);
  }
  .service-details-hero-circles-background .circle-inner {
    width: min(700px, 70vw);
    height: min(350px, 35vw);
  }
  .service-details-hero-rating-right .rating-stars {
    font-size: 3rem;
  }
  
}

@media screen and (max-height: 800px) {
  .service-details-hero-main-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
  }
  .service-details-hero-wrapper {
    padding-top: var(--space-sm);
  }
  .service-details-hero-actions-overlay {
    bottom: var(--space-lg);
  }
  .service-details-hero-rating-right .rating-stars {
    font-size: 2.8rem;
  }
}

@media screen and (max-height: 700px) {
  .service-details-hero-main-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 0.5rem;
    padding-top: var(--space-sm);
  }
  .service-details-hero-description {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    margin-bottom: var(--space-sm);
  }
  .service-details-hero-text-left,
  .service-details-hero-rating-right {
    margin-top: -40px;
  }
  .service-details-hero-actions-overlay {
    bottom: var(--space-md);
  }
  .service-details-hero-actions-overlay .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }
  .service-details-hero-rating-right .rating-stars {
    font-size: 2.5rem;
  }
  .service-details-hero-rating-right .rating-text strong {
    font-size: 1.8rem;
  }
  /* .service-details-hero-circles-background .circle-outer {
    width: min(720px, 72vw);
    height: min(360px, 36vw);
  }
  .service-details-hero-circles-background .circle-middle {
    width: min(640px, 64vw);
    height: min(320px, 32vw);
  }
  .service-details-hero-circles-background .circle-inner {
    width: min(560px, 56vw);
    height: min(280px, 28vw);
  } */
}

@media screen and (max-width: 1024px) {
  .service-details-hero-wrapper {
    padding-top: var(--space-xl);
  }

  .service-details-hero-main-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: var(--space-2xl);
    padding: 0 var(--space-md);
  }

  .service-details-hero-content {
    gap: var(--space-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    padding: 0 var(--space-md);
  }

  .service-details-hero-text-left {
    order: 1; /* Description is now the first element */
    grid-column: unset;
    grid-row: unset;
    width: 100%;
    text-align: center;
    margin-top: 0;
    padding: 0;
    ::before {
      display: none;
    }
  }

  .service-details-hero-description {
    font-size: clamp(1rem, 4vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto;
  }

  .service-details-hero-image-center {
    order: 3; /* Image and circles are now the third element */
    margin-top: var(--space-xl);
    /* margin-bottom: var(--space-xl); */
    height: auto;
    min-height: unset;
    align-self: center;
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Ensures content is pressed to the bottom */
  }

  .service-details-hero-circles-background {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    /* width: min(500px, 90vw);
    height: min(250px, 45vw); */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
  }

  /* .service-details-hero-circles-background .circle-outer {
    width: min(500px, 90vw);
    height: min(250px, 45vw);
  }

  .service-details-hero-circles-background .circle-middle {
    width: min(450px, 80vw);
    height: min(225px, 40vw);
  }

  .service-details-hero-circles-background .circle-inner {
    width: min(400px, 70vw);
    height: min(200px, 35vw);
  } */

  .service-details-hero-image-container {
    position: relative;
    z-index: 6;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-height: 300px;
    max-width: 350px;
    width: 100%;
    height: auto;
    bottom: 0;
    /* left: 50%;
    transform: translateX(-50%); */
  }

  .service-details-hero-img {
    width: 100%;
    height: auto;
  }

  .service-details-hero-actions-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    z-index: 7;
    white-space: nowrap;
    flex-wrap: nowrap;
    width: fit-content;
    max-width: none;
    margin: 0 auto;
    padding: var(--space-xs);
    border: var(--border-width-lg) solid white;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.767);
  }

  .service-details-hero-actions-overlay .btn {
    padding: clamp(0.5rem, 1vw, 0.75rem) clamp(1rem, 2vw, 1.5rem);
    margin-top: 0;
  }

  .service-details-hero-rating-right {
    order: 2; /* Rating is now the second element */
    margin-top: var(--space-xs);
    align-self: flex-end;
    text-align: center;
    padding-left: 0;
  }

  .service-details-hero-rating-right .rating-stars {
    font-size: 3rem;
  }

  .service-details-hero-rating-right .rating-text strong {
    font-size: 2.5rem;
  }

  .service-details-hero-text-left::before {
    top: -25%;
    left: 0;
  }
}

@media screen and (max-width: 768px) {
  .service-details-hero-rating-right .rating-stars {
    font-size: 2rem;
  }
  .service-details-hero-rating-right .rating-text strong {
    font-size: 2rem;
  }
  .service-details-hero-image-center {
    margin-top: var(--space-sm);
  }

}
