/* Reset and base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #1F2128;
  background: linear-gradient(180deg, #f5f7fa 0%, #edf1f7 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #ffffffdd;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1E3A8A;
}

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav a {
  font-size: 1rem;
  font-weight: 500;
  color: #1F2232;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 0.7;
}

/* Buttons */
.button {
  background: linear-gradient(90deg, #2563EB, #1E3A8A);
  color: #FFF;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.button:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.button.large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Section base */
.section {
  padding: 90px 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1E3A8A;
  margin-bottom: 24px;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(30, 58, 138, 0.65), rgba(30, 58, 138, 0.65)), url('notary-placeholder.avif') center/cover no-repeat;
  text-align: center;
  color: #fff;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #fff;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f5;
}

/* Services Grid */
.features-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-item {
  background: #FFF;
  border: 1px solid #E0E2E6;
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.feature-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
  font-size: 1.25rem;
  color: #1E3A8A;
  margin-bottom: 12px;
}

.feature-item p {
  font-size: 1rem;
  color: #545864;
}

.feature-item img.icon {
  height: 40px;
  margin-bottom: 16px;
}

/* Pricing Section */
.pricing-section {
  background: #F9FAFB;
}

.pricing-card {
  background: #101323;
  color: #FFF;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  margin-top: 20px;
}

.pricing-left,
.pricing-right {
  padding: 50px 40px;
}

.pricing-left {
  border-right: 1px solid rgba(255,255,255,0.08);
}

.pricing-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-left .desc {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #D1D5DB;
}

.pricing-left .price {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.pricing-left .price span {
  font-size: 1rem;
  font-weight: 400;
  margin-left: 8px;
  color: #D1D5DB;
}

.pricing-left .button {
  background: linear-gradient(90deg, #2563EB, #1E3A8A);
  margin-bottom: 35px;
}

.fee-details p {
  margin: 10px 0;
  font-size: 0.98rem;
}

.fee-details h4 {
  margin: 22px 0 10px;
  font-size: 1.1rem;
}

.mileage-note {
  font-size: 0.9rem;
  color: #d1d5db;
  margin-bottom: 12px;
}

.add-services {
  list-style: disc;
  padding-left: 20px;
  margin-top: 10px;
  font-size: 0.95rem;
}

.add-services li {
  margin: 4px 0;
}

.pricing-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-right li {
  margin-bottom: 20px;
  position: relative;
  padding-left: 28px;
}

.pricing-right li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22C55E;
  font-weight: bold;
}

@media (max-width: 900px) {
  .pricing-card {
    grid-template-columns: 1fr;
  }
  .pricing-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

/* Steps Timeline */
.steps-timeline {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.steps-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
/* Always align with the center of the step-icon dynamically */
  left: calc(9px + 1rem); /* 25px = half of 50px icon, + any gap/margin */
  transform: translateX(-50%);
  width: 2px;
  background: #E0E2E6;
}

.timeline-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.timeline-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-icon {
  background: #fff;
  border: 2px solid #2A2E43;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: #2A2E43;
  z-index: 1;
}


.timeline-step .step-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #E0E2E6;
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step .step-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.timeline-step .step-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1E3A8A;
}

.timeline-step .step-content p {
  font-size: 1rem;
  color: #545864;
}

@media (max-width: 600px) {
  .steps-timeline::before {
    left: 25px;
    transform: translateX(-50%);
  }
  .timeline-step {
    flex-direction: column;
    align-items: flex-start;
  }
  .step-icon {
    margin-bottom: 12px;
  }
}

/* FAQ Section */
.faq-section {
  background: #FFF;
}

.faq-item {
  border-bottom: 1px solid #E0E2E6;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #1E3A8A;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: #545864;
  font-size: 0.95rem;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 18px;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Booking */
.booking-card {
  background: #FFF;
  border: 1px solid #E0E2E6;
  border-radius: 8px;
  padding: 36px 28px;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.booking-intro {
  text-align: center;
  font-size: 0.98rem;
  color: #3b3f46;
  margin-bottom: 22px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form select {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #dcdfe4;
  border-radius: 6px;
  background: #fff;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: #1E3A8A;
  box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.15);
  outline: none;
}

#calendlyLink {
  text-align: center;
  background: linear-gradient(90deg, #2563EB, #1E3A8A);
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

#calendlyLink:hover {
  opacity: 0.9;
}

/* Footer */
.footer {
  background: #101323;
  color: #FFF;
  padding: 28px 0;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  nav ul {
    gap: 20px;
  }
}
/* Make images scale down on small screens */
img {
  max-width: 100%;
  height: auto;
}

/* Ensure containers adapt to screen width */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Adjust typography and layout for smaller screens */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    grid-template-columns: 1fr;
  }

  .steps-timeline {
    padding-left: 0;
  }

  .timeline-step {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-icon {
    margin-bottom: 10px;
  }

  .booking-card {
    padding: 24px;
  }
}

/* For very small phones (< 480px) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .button.large {
    font-size: 1rem;
    padding: 14px 24px;
  }
}
/* Desktop nav */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Responsive menu */
@media (max-width: 768px) {
  nav ul.nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px; /* below header */
    right: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 200;
  }

  nav ul.nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  nav ul.nav-links li {
    margin: 10px 0;
  }
}
