/* Root variables for consistent styling */
:root {
  /* Colors */
  --primary-color: #cf6f35;
  --primary-hover: #b85d2a;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Font sizes */
  --text-xs: 0.875rem;
  --text-sm: 1rem;
  --text-base: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3rem;
  
  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  /* Transitions */
  --transition-base: all 0.3s ease;
}

.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  height: 100%;
  width: 100%;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
  opacity: 1;
  z-index: 1;
}

/* Navigation dots styling */
[data-slide] {
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5;
  transform: scale(0.9);
}

[data-slide].active {
  opacity: 1;
  transform: scale(1);
}

[data-slide]:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

/* Carousel navigation buttons hover effect */
#prevSlide,
#nextSlide {
  opacity: 0.7;
  transition: all 0.3s ease;
}

#prevSlide:hover,
#nextSlide:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 640px) {
  .carousel-item.prev {
    opacity: 0;
    transform: scale(0.8) translateX(-50%) translateZ(-100px);
  }

  .carousel-item.next {
    opacity: 0;
    transform: scale(0.8) translateX(50%) translateZ(-100px);
  }
}

@media (min-width: 641px) {
  .carousel-item.prev {
    opacity: 0.7;
    transform: scale(0.9) translateX(-100%) translateZ(-100px);
  }

  .carousel-item.next {
    opacity: 0.7;
    transform: scale(0.9) translateX(100%) translateZ(-100px);
  }
}

.carousel-item.hidden {
  opacity: 0;
  transform: scale(0.8) translateZ(-200px);
}

/* .nav-button {
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
} */

@media (hover: hover) {
  /* .nav-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
  } */
}

/* .nav-button:active {
  transform: scale(0.95);
} */

.progress-bar {
  transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.blur-c {
  &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      backdrop-filter: blur(0.5px);
      background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.15));
  }
}

.background {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Update services section for consistency */
.services {
  width: 100%;
  background-color: var(--bg-white);
  padding: var(--spacing-xl) var(--spacing-lg);
}

.services-title {
  font-size: var(--text-2xl);
  color: var(--text-dark);
  margin-bottom: var(--spacing-lg);
}

/* Services Header */
.services-header {
  text-align: center;
  margin-bottom: 2vh;
}

/* Badge */
.badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: var(--spacing-sm) var(--spacing-xl);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-lg);
  font-weight: bold;
  font-size: var(--text-xl);
}

/* Heading */
h2 {
  font-size: var(--text-2xl);
  font-weight: bold;
  margin-top: var(--spacing-sm);
  color: var(--primary-color);
  text-align: center;
}

/* Service Item */
.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 0.125rem solid var(--text-light);
  padding: var(--spacing-lg) var(--spacing-xl);
  width: 100%;
  transition: var(--transition-base);
}

/* Hover effect */
.service-item:hover {
  background-color: var(--bg-light);
  transform: scale(1.02);
}

/* Service Number */
.service-number {
  font-size: var(--text-4xl);
  font-weight: bold;
  color: var(--text-dark);
  flex: 1;
  text-align: left;
}

/* Service Title */
.service-title {
  font-size: var(--text-2xl);
  font-weight: normal;
  flex: 2;
  text-align: left;
  color: var(--primary-color);
}

/* Service Description */
.service-description {
  font-size: var(--text-base);
  color: var(--text-medium);
  flex: 3;
  text-align: left;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .services {
    padding: 4vh 5vw;
  }

  .service-item {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .service-number,
  .service-title,
  .service-description {
    text-align: center;
  }
}

/* Update benefits section for consistency */
.benefits-title {
  text-align: center;
  font-size: var(--text-2xl);
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: var(--spacing-lg);
}

.benefits-description {
  font-size: var(--text-base);
  color: var(--text-medium);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

/* Update proximity section for consistency */
.proximity-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Individual Proximity Section */
.proximity-section {
  background-color: white;
  padding: 20px;
  margin: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.proximity-section:hover {
  transform: translateY(-5px);
}

/* Proximity Section Titles */
.proximity-head {
  color: var(--primary-color);
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  text-align: left; /* Align titles to the left */
}

/* Proximity Items */
.proximity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0;
  border-radius: 6px;
  color: black;
  word-wrap: break-word;
  white-space: normal;
}

.proximity-item span:first-child {
  flex: 1;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.proximity-item span:last-child {
  white-space: nowrap;
  margin-left: 10px;
}

.proximity-item:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .proximity-container {
    grid-template-columns: 1fr;
    padding: 10px;
    margin: 0;
  }

  .proximity-section {
    margin: 5px;
  }

  .proximity-item {
    flex-wrap: wrap; /* Allow content to wrap */
    justify-content: space-between; /* Maintain spacing between children */
    align-items: center; /* Vertically center items */
  }

  .proximity-item span:first-child {
    flex: 1; /* Take up remaining space */
    word-wrap: break-word; /* Wrap text if it exceeds */
    white-space: normal; /* Ensure wrapping is allowed */
  }

  .proximity-item span:last-child {
    flex-shrink: 0; /* Prevent the second child from shrinking */
    white-space: nowrap; /* Prevent wrapping of the second child */
    margin-left: 10px; /* Optional: Add slight spacing */
  }
}

@media (max-width: 480px) {
  .services {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .services-title,
  h2 {
    font-size: var(--text-lg);
  }

  .badge {
    font-size: var(--text-sm);
    padding: var(--spacing-xs) var(--spacing-md);
  }

  .service-number {
    font-size: var(--text-xl);
  }

  .service-title {
    font-size: var(--text-base);
  }

  .service-description {
    font-size: var(--text-xs);
  }
}

/* Button styles */
.btn {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
}

.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Update any color references to use the new primary color */
.text-primary {
    color: #cf6f35;
}

.bg-primary {
    background-color: #cf6f35;
}

.border-primary {
    border-color: #cf6f35;
}

.hover\:bg-primary-hover:hover {
    background-color: #b85d2a;
}

.hover\:text-primary-hover:hover {
    color: #b85d2a;
}

/* Update any other color references */
.gold2 {
    color: #cf6f35;
}

/* Update any other specific color references */
.text-green-900 {
    color: #cf6f35;
}

/* Base Typography */
:root {
  /* Colors */
  --primary-color: #cf6f35;
  --primary-hover: #b85d2a;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
}

/* Typography Scale */
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 0.875rem;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 0.625rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 1rem;
}

/* Component-specific Typography */
.benefits-title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

.benefits-description {
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-medium);
}

.proximity-head {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-description {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-medium);
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  h4 {
    font-size: 1.125rem;
  }
  
  .benefits-title {
    font-size: 2rem;
  }
  
  .benefits-description {
    font-size: 1rem;
  }
}

/* Button Typography */
button, .button {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* Navigation Typography */
nav a {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* Footer Typography */
footer {
  font-size: 0.875rem;
  line-height: 1.5;
}

footer h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Form Typography */
label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

input, textarea {
  font-size: 1rem;
  font-weight: 400;
}

/* Price Table Typography */
table {
  font-size: 1rem;
  line-height: 1.5;
}

th {
  font-weight: 600;
  letter-spacing: 0.025em;
}

td {
  font-weight: 400;
}

/* RESPONSIVE DESIGN */
@media (max-width: 767px) {
  /* Hide the mobile menu dropdown by default on mobile */
  /* nav .md\:hidden {
    display: none !important;
    position: static;
    margin-top: 0;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.9);
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
  } */

  /* Alpine.js will override display: none when isOpen is true */
  /* nav .md\:hidden[x-show] {
    display: block !important;
  } */

  /* Ensure hero section is not obscured by mobile menu */
  .hero-section {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .carousel-item.prev {
    opacity: 0;
    transform: scale(0.8) translateX(-50%) translateZ(-100px);
  }

  .carousel-item.next {
    opacity: 0;
    transform: scale(0.8) translateX(50%) translateZ(-100px);
  }
}