/* Basic reset and typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1f2933;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.header {
  background: #ffffffaa;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  font-size: 1.5rem;
  font-weight: 600;
}

.nav ul {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.95rem;
  color: #1f2933;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #4361ee;
}

/* Hero */
/* Hero section with animated gradient background */
.hero {
  background: linear-gradient(-45deg, #4361ee, #4cc9f0, #7209b7, #b5179e);
  background-size: 400% 400%;
  animation: heroGradient 15s ease infinite;
  height: 70vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  position: relative;
}

@keyframes heroGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-content {
  z-index: 1;
  max-width: 600px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: inline-block;
  background: #4361ee;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.cta-btn:hover {
  background: #374fc3;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-item {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.service-item:hover {
  transform: translateY(-4px);
}

.service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: #1f2933;
}

.service-item p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* Features */
.features ul {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: #4b5563;
}

.features li::before {
  content: '';
  width: 0.6rem;
  height: 0.6rem;
  background: #4361ee;
  position: absolute;
  left: 0;
  top: 0.4rem;
  border-radius: 50%;
}

/* About Section */
.about p {
  max-width: 800px;
  margin: 0 auto 1.2rem auto;
  color: #4b5563;
  line-height: 1.7;
}

/* Contact */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4361ee;
}

.status-message {
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
  color: #10b981;
}

/* Footer */
.footer {
  background: #f3f4f6;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Lead Magnet */
.lead-magnet {
  background: #f5f7ff;
  text-align: center;
  /* Extra top padding so the heading clears the sticky header */
  padding-top: 6rem;
}

.lead-magnet p {
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  color: #4b5563;
}

/* Offset the heading inside the lead magnet so it doesn’t sit beneath the sticky header */
.lead-magnet .section-title {
  margin-top: 2rem;
}

.lead-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Pricing */
.pricing-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-result {
  margin-top: 1.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  color: #10b981;
}

/* Ensure checkboxes align nicely */
.form-checkbox label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #374151;
}

/* Booking */
.booking-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Trust Section */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-item {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.testimonial-item p {
  font-style: italic;
  color: #374151;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: #1f2933;
}

/* Offset sections for sticky header when navigating via anchor links */
section,
.lead-magnet {
  scroll-margin-top: 80px;
}