:root {
  --primary: hsl(330, 100%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(330, 100%, 96%);
  --secondary-foreground: hsl(330, 90%, 35%);
  --accent: hsl(330, 100%, 65%);
  --accent-foreground: hsl(0, 0%, 100%);
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(0, 10%, 20%);
  --muted: hsl(0, 10%, 96%);
  --muted-foreground: hsl(0deg 0% 16.47%);

  --gradient-primary: linear-gradient(135deg, hsl(330, 100%, 60%), hsl(330, 100%, 70%));
  --gradient-luxury: linear-gradient(135deg, hsl(330, 100%, 96%), hsl(330, 80%, 98%));
  --gradient-hero: linear-gradient(135deg, hsl(330, 100%, 98%), hsl(330, 80%, 99%));

  --shadow-soft: 0 2px 20px rgba(255, 51, 153, 0.08);
  --shadow-medium: 0 4px 30px rgba(255, 51, 153, 0.12);
  --shadow-strong: 0 8px 40px rgba(255, 51, 153, 0.16);

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Global paragraph formatting */
p {
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

/* Global heading formatting */
h1,
.h1,
.display-4,
h2,
.h2,
.display-5,
h3,
.h3,
.display-6,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Adjust heading scales */
h1,
.h1,
.display-4 {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 700;
}

h2,
.h2,
.display-5 {
  font-size: clamp(1.8rem, 3vw, 2.8rem) !important;
  font-weight: 700;
}

h3,
.h3,
.display-6 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem) !important;
}

h4,
.h4 {
  font-size: clamp(1.25rem, 2vw, 1.75rem) !important;
}

h5,
.h5 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem) !important;
}

h6,
.h6 {
  font-size: clamp(1rem, 1.25vw, 1.15rem) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.text-muted-foreground {
  color: var(--muted-foreground) !important;
}

.text-primary-foreground {
  color: var(--primary-foreground) !important;
}

.text-secondary-foreground {
  color: var(--secondary-foreground) !important;
}

.text-foreground {
  color: var(--foreground) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-background {
  background-color: var(--background) !important;
}

.bg-card {
  background-color: var(--background) !important;
}

.bg-gradient-primary {
  background: var(--gradient-primary) !important;
}

.bg-gradient-hero {
  background: var(--gradient-hero) !important;
}

.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.shadow-soft {
  box-shadow: var(--shadow-soft) !important;
}

.shadow-medium {
  box-shadow: var(--shadow-medium) !important;
}

.shadow-strong {
  box-shadow: var(--shadow-strong) !important;
}

.btn-primary-custom {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary-custom:hover {
  background: hsl(330, 100%, 55%);
  color: var(--primary-foreground);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  transition: var(--transition-smooth);
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-secondary-custom {
  background: var(--secondary);
  color: var(--secondary-foreground);
  border: none;
  transition: var(--transition-smooth);
}

.btn-secondary-custom:hover {
  background: hsl(330, 100%, 90%);
  color: var(--secondary-foreground);
}

/* Custom classes replacing Tailwind utilities */
.backdrop-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bg-background-90 {
  background-color: rgba(255, 255, 255, 0.9);
}

.hover-text-primary:hover {
  color: var(--primary) !important;
}

.hero-section {
  position: relative;
  min-height: clamp(500px, 80vh, 700px);
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.process-step {
  position: relative;
  padding-left: 3rem;
}

.process-step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.testimonial-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1021;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(330, 15%, 92%);
}

.border-border {
  border-color: hsl(330, 15%, 92%) !important;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.top-bar {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.nav-link-custom {
  color: var(--foreground);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-link-custom:hover {
  color: var(--primary);
}

.icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--gradient-luxury);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.icon-box i {
  color: var(--primary);
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.card-hover-effect {
  transition: var(--transition-smooth);
  border: 1px solid transparent !important;
}

.card-hover-effect:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium) !important;
  border-color: var(--secondary) !important;
}

.card-hover-effect:hover .icon-box {
  background: var(--primary);
}

.card-hover-effect:hover .icon-box i {
  color: var(--primary-foreground);
  transform: scale(1.1);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 1rem;
  border-radius: 0.5rem;
}

/* Dropdown Hover Settings */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.dropdown-item {
  color: var(--foreground);
  font-weight: 500;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active {
  color: var(--primary) !important;
  background-color: var(--background) !important;
}

/* Swiper Pagination Overrides */
.testimonials-swiper {
  padding-bottom: 3rem !important;
}

.testimonials-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background: #ffffff;
  width: 24px;
  border-radius: 5px;
}

/* FAQ Accordion Overrides */
.custom-accordion .accordion-button {
  transition: var(--transition-smooth);
}

.custom-accordion .accordion-button:not(.collapsed) {
  background-color: var(--background);
  color: var(--primary);
  box-shadow: none;
}

.custom-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, .125);
}

.custom-accordion .accordion-item {
  /* border-color: var(--primary) !important; */
  transition: var(--transition-smooth);
}

.custom-accordion .accordion-item:hover {
  border-color: var(--secondary) !important;
  box-shadow: var(--shadow-medium) !important;
}

/* Custom Footer Utilities */
.hover-opacity:hover {
  opacity: 0.75 !important;
  text-underline-offset: 4px;
}

/* Custom Nav Pills (FAQ Tabs) */
.nav-pills .nav-link {
  color: var(--foreground);
  transition: var(--transition-smooth);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  color: var(--primary-foreground) !important;
  background-color: var(--primary) !important;
}

.nav-pills .nav-link:hover:not(.active) {
  color: var(--primary);
  background-color: var(--secondary);
}

.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .15) !important;
}

/* Mobile Responsive Overrides */
@media (max-width: 767.98px) {
  html {
    font-size: 15px;
  }

  .hero-section {
    min-height: auto;
    padding: 3rem 0;
    text-align: center;
  }

  .hero-content {
    margin-top: 1rem;
  }

  h1,
  .h1,
  .display-4 {
    font-size: 1.6rem !important;
  }

  .fs-4 {
    font-size: 1rem !important;
  }

  .process-step {
    padding-left: 0;
    padding-top: 3rem;
    text-align: center;
  }

  .process-step-number {
    left: 50%;
    transform: translateX(-50%);
  }

  .icon-box {
    margin-left: auto;
    margin-right: auto;
  }
}