:root {
  --primary-color: #2d89ef;
  --primary-hover: #1c6ac9;
  --secondary-color: #f2b400;
  --secondary-hover: #d9a200;
  --light-blue: #e9fbff;
  --soft-blue: #f5fcff;
  --dark-text: #222;
  --muted-text: #555;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
  line-height: 1.6;
}

header {
  background: #ffffff;
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e8eef5;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 140px;
  height: auto;
  margin-right: 0.75rem;
  object-fit: contain;
}

.logo span {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #111;
}

nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

nav a {
  position: relative;
  text-decoration: none;
  color: #222;
  font-weight: 700;
  transition: color 0.25s ease;
}

nav a:hover {
  color: var(--primary-color);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: 50% 40%;
  z-index: 0;
  filter: brightness(0.82) contrast(1.05) saturate(0.75);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(45, 137, 239, 0.35),
    rgba(255, 255, 255, 0.08),
    rgba(242, 180, 0, 0.18)
  );
  z-index: 1;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255,255,255,0.22),
    rgba(255,255,255,0)
  );
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 90%;
  max-width: 720px;
  padding: 2.5rem;
  z-index: 3;
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 18px;
  backdrop-filter: blur(3px);
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  text-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 620px;
  margin-bottom: 1rem;
  text-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

.cta-button {
  display: inline-block;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--secondary-color), #ffc928);
  color: #fff;
  padding: 0.9rem 1.7rem;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--secondary-hover), var(--secondary-color));
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.22);
}

section {
  padding: 4rem 2rem;
  text-align: center;
  scroll-margin-top: 80px;
}

#about,
#services,
#testimonials,
#contact,
#why-us,
#faq {
  background: rgba(255,255,255,0.9);
  padding: 3rem 2rem;
  border-radius: 18px;
  margin: 2.5rem auto;
  max-width: 1050px;
  box-shadow: 0 10px 30px rgba(45, 137, 239, 0.08);
  border: 1px solid #e6f4ff;
}

#about,
#testimonials {
  background: linear-gradient(180deg, #ffffff, var(--light-blue));
}

#services,
#contact {
  background: linear-gradient(180deg, #ffffff, #fff8dc);
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 0.75rem auto 1.5rem;
  border-radius: 999px;
}

p {
  color: var(--muted-text);
}

ul {
  list-style: none;
  margin: 1.5rem auto;
}

#services ul {
  max-width: 650px;
  display: grid;
  gap: 0.75rem;
}

#services li,
#why-us .reasons li {
  background: #ffffff;
  border: 1px solid #e7f0ff;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.about-img {
  display: block;
  width: 155px;
  height: 155px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--secondary-color);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  margin: 1.5rem auto 0;
}

.service-img,
.services-img {
  display: block;
  width: 85%;
  max-width: 360px;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.14);
  margin: 1.5rem auto;
}

.ba-labels {
  max-width: 600px;
  margin: 1.5rem auto 0.5rem;
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.twentytwenty-container {
  width: 100%;
  max-width: 600px;
  margin: 1rem auto 2rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

.twentytwenty-container img {
  width: 100%;
  height: auto;
}

#why-us .reasons {
  display: grid;
  gap: 0.75rem;
  max-width: 750px;
  margin: 1.5rem auto 0;
  text-align: left;
}

#testimonial-photo {
  width: 145px;
  height: 145px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.16);
  opacity: 1;
  transition: opacity .6s ease;
}

blockquote {
  display: none;
  font-style: italic;
  margin: 1.5rem auto;
  max-width: 650px;
  color: #444;
  font-size: 1.05rem;
}

blockquote.active {
  display: block;
}

#faq {
  max-width: 850px;
  text-align: left;
}

#faq h2 {
  text-align: center;
}

.accordion button {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: var(--primary-color);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
  border-radius: 10px;
  margin-bottom: .6rem;
  font-weight: 700;
}

.accordion button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.accordion .panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #f9fcff;
  padding: 0 1rem;
  border-left: 4px solid var(--secondary-color);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.accordion .panel p {
  padding: .85rem 0 1rem;
}

form {
  max-width: 550px;
  margin: 2rem auto 0;
  display: grid;
  gap: 1rem;
  text-align: left;
}

label {
  font-weight: 700;
  color: #333;
}

input,
textarea {
  width: 100%;
  padding: 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-family: var(--font-body);
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(45,137,239,.2);
  border-color: var(--primary-color);
}

button {
  background: var(--primary-color);
  color: #fff;
  padding: 0.9rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.social .animate-on-scroll {
  transform: none;
  transition: opacity 1.5s ease-out;
}

footer {
  background: #ffffff;
  padding: 2rem;
  text-align: center;
  border-top: 1px solid #e8eef5;
}

footer .social {
  margin-bottom: 1rem;
}

footer .social a {
  display: inline-block;
  transition: transform 0.2s ease;
}

footer .social a:hover {
  transform: scale(1.1);
}

footer .social img {
  width: 36px;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(45,137,239,.6);
  outline-offset: 2px;
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 850px) {
  header {
    padding: 0.75rem 1rem;
  }

  .logo img {
    width: 115px;
  }

  .logo span {
    font-size: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    display: none;
  }

  header.nav-open nav {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1rem;
  }

  nav a {
    display: block;
    padding: 0.75rem 0;
  }

  .hero {
    min-height: 75vh;
  }

  .hero-video {
    width: 100%;
    height: 100%;
    min-width: auto;
    object-position: 50% 38%;
  }

  .hero-content {
    max-width: 90%;
    padding: 1.25rem;
  }

  section {
    padding: 2rem 1rem;
  }

  #about,
  #services,
  #testimonials,
  #contact,
  #why-us,
  #faq {
    margin: 1rem auto;
    padding: 1.6rem 1rem;
  }

  .about-img {
    width: 125px;
    height: 125px;
  }

  .service-img,
  .services-img {
    width: 100%;
    max-width: 420px;
  }

  .ba-labels {
    padding: 0 .5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    transition: none;
  }

  .cta-button,
  nav a,
  button {
    transition: none;
  }
}