@font-face {
	font-family: 'gothic';
	src: local('gothic'), url('../gothic.woff') format('woff');
}/* Services Page Styles with Enhanced Grid Layouts and Interactions */
* {
  padding: 0%;
  margin: 0%;
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  --Purple500: #63378d;
  --Purple900: #1c0a43;
  --Yellow500: #ffd364;
  --Yellow600: #dbad49;
  --Teal500: #2f847d;
  --Title-Font: "Bodoni Moda";
  --Body-Font: "Century Gothic", 'gothic';
}
/* Service Categories Section */
.service-categories-section {
  padding: 4rem 2rem;
  background-color: var(--Purple900);
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--Yellow500);
}

.section-title p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.category-cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  overflow: visible !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
}

.category-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-icon img {
  max-width: 100%;
  max-height: 100%;
}

.category-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--Yellow500);
}

.category-card p {
  font-family: var(--Body-Font);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.category-link {
  display: inline-block;
  color: var(--Yellow500);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--Body-Font);
  transition: color 0.3s ease;
}

.category-link:hover {
  color: var(--Teal500);
}

/* Service Detail Section */
.service-detail-section {
  padding: 5rem 2rem;
  background-color: var(--Purple500);
  color: white;
}

.service-detail-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.service-detail-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.service-detail-header p {
  font-family: var(--Body-Font);
  font-size: 1.2rem;
}

.service-offerings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.service-offering-card {
  background-color: var(--Purple900);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  overflow: visible !important;
  height: 100%;
}

.service-offering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-offering-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--Yellow500);
}

.service-offering-card p {
  font-family: var(--Body-Font);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  font-family: var(--Body-Font);
}

.service-features li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  overflow: visible !important;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--Teal500);
}

/* Pricing Toggle */
.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  font-family: var(--Body-Font);
}

.pricing-toggle-label {
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.pricing-toggle-label.active {
  color: var(--Yellow500);
  font-weight: 600;
}

/* Pricing Packages */
.pricing-packages {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.pricing-packages h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: white;
}

.package-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.package-card {
  background-color: var(--Purple900);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: visible !important;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.featured-package {
  transform: scale(1.05);
  border: 2px solid var(--Yellow500);
  z-index: 1;
}

.featured-package:hover {
  transform: scale(1.05) translateY(-10px);
}

.featured-badge {
  position: absolute;
  top: -15px;
  right: 50%;
  transform: translateX(50%);
  background-color: var(--Yellow500);
  color: var(--Purple900);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--Body-Font);
}

.savings-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--Yellow500);
  font-weight: 600;
  font-size: 0.9rem;
}

.package-card h4 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--Yellow500);
}

.package-price {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.monthly-price {
  display: none;
}

.show-monthly .standard-price {
  display: none;
}

.show-monthly .monthly-price {
  display: block;
}

.package-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
  overflow: visible !important;
}

.package-features li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  overflow: visible !important;
  font-family: var(--Body-Font);
}

.package-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--Teal500);
}

.package-cta {
  display: inline-block;
  background-color: var(--Teal500);
  color: white;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.package-cta:hover {
  background-color: var(--Yellow500);
  color: var(--Purple900);
  /* Modified to prevent scrollbar on hover */
  transform: scale(1.05) translateZ(0);
  will-change: transform;
}

/* Additional Services Section */
.additional-services-section {
  padding: 5rem 2rem;
  background-color: var(--Purple900);
  color: white;
}

.additional-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.additional-service-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  overflow: visible !important;
  height: 100%;
}

.additional-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
}

.additional-service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--Yellow500);
}

.additional-service-card p {
  font-family: var(--Body-Font);
  margin-bottom: 1rem;
}

.additional-service-price {
  font-weight: 600;
  color: var(--Yellow600);
}

/* Process Section */
.process-section {
  padding: 5rem 2rem;
  background-color: var(--Purple500);
  color: white;
}

/* Process steps grid - 3 boxes wide for symmetrical look with improved spacing and hover effects */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin: 3rem auto;
  max-width: 1200px;
}

.process-step {
  background-color: var(--Purple900);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  overflow: visible !important;
  position: relative;
  z-index: 1;
  font-family: var(--Body-Font);
}

.process-step:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.process-step:hover .step-number {
  background-color: var(--Yellow500);
  color: var(--Purple900);
  transform: scale(1.1);
}

.process-step:hover h3 {
  color: var(--Yellow500);
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--Teal500);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.process-step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

/* CTA Section */
.services-cta-section {
  padding: 5rem 2rem;
  background-color: var(--Teal900);
  color: white;
  text-align: center;
  overflow: hidden; /* Added to contain CTA button hover effects */
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--Yellow500);
}

.cta-content p {
  font-size: 1.2rem;
  font-family: var(--Body-Font);
  margin-bottom: 2.5rem;
}

/* Modified CTA buttons container to use flex */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  padding: 0.5rem; /* Add padding to contain hover effects */
  font-family: var(--Body-Font);
}

/* Fixed CTA button hover effects to prevent scrollbar */
.primary-cta-button {
  display: inline-flex; /* Changed to inline-flex */
  align-items: center;
  justify-content: center;
  background-color: var(--Yellow500);
  color: var(--Purple900);
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 2rem;
  font-weight: 600;
  font-family: var(--Body-Font);

  transition: all 0.3s ease;
  transform: translateZ(0); /* Force GPU acceleration */
  will-change: transform; /* Optimize for animations */
  position: relative; /* Establish containing block */
  overflow: visible !important;
}

.primary-cta-button:hover {
  background-color: white;
  transform: scale(1.05) translateZ(0);
}

.secondary-cta-button {
  display: inline-flex; /* Changed to inline-flex */
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: white;
  text-decoration: none;
  padding: 0.9rem 2.4rem;
  border-radius: 2rem;
  font-family: var(--Body-Font);
  font-weight: 600;
  border: 2px solid white;
  transition: all 0.3s ease;
  transform: translateZ(0); /* Force GPU acceleration */
  will-change: transform; /* Optimize for animations */
  position: relative; /* Establish containing block */
  overflow: visible !important;
}

.secondary-cta-button:hover {
  background-color: white;
  color: var(--Purple900);
  transform: scale(1.05) translateZ(0);
}

/* Hero Section */
.services-hero-section {
  height: 50vh;
  min-height: 400px;
  background-color: var(--Purple900);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.services-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(99, 55, 141, 0.9) 0%,
    rgba(28, 10, 67, 0.9) 100%
  );
  z-index: 1;
}

.services-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.services-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--Yellow500);
}

.services-hero-content p {
  font-size: 1.5rem;
  font-family: var(--Body-Font);
}

/* Fix for scrollbar issues */
* {
  overflow-x: visible !important;
}

/* Global fix for CTA hover scrollbar issue */
html,
body {
  overflow-x: hidden;
}

.package-card,
.package-features,
.package-features li,
.service-features li,
.additional-service-card,
.process-step,
.cta-buttons,
.primary-cta-button,
.secondary-cta-button {
  overflow: visible !important;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .category-cards-container,
  .service-offerings,
  .package-cards,
  .additional-services-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-package {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .category-cards-container,
  .service-offerings,
  .package-cards,
  .additional-services-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .featured-package {
    grid-column: auto;
    transform: scale(1);
  }

  .featured-package:hover {
    transform: translateY(-10px);
  }

  .services-hero-content h1 {
    font-size: 2.5rem;
  }

  .services-hero-content p {
    font-size: 1.2rem;
  }

  .section-title h2,
  .service-detail-header h2,
  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .package-card {
    padding: 2rem 1.5rem;
  }

  .process-step {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .services-hero-section {
    min-height: 300px;
  }

  .services-hero-content h1 {
    font-size: 2rem;
  }

  .section-title h2,
  .service-detail-header h2,
  .cta-content h2 {
    font-size: 1.8rem;
  }

  .package-features li,
  .service-features li {
    font-size: 0.9rem;
  }
}
