:root {
  --color-bg: #f7f8fc;
  --color-surface: #ffffff;
  --color-surface-soft: #f1f4fb;
  --color-text: #1f2a44;
  --color-text-muted: #62708a;
  --color-primary: #2e5eaa;
  --color-border: rgba(31, 42, 68, 0.08);
  --shadow-soft: 0 22px 60px rgba(31, 42, 68, 0.1);
  --shadow-card: 0 16px 40px rgba(31, 42, 68, 0.08);
  --max-width: 1200px;
}

.hero-side h3.seo-h2,
.hero-right h3.seo-h2 {
  margin: 0;
  font-size: 3.5rem;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.contact-section-heading h3.seo-h2 {
  margin: 0.35rem 0 0.8rem;
  font-size: 2.8rem;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--color-text);
  background: #f7f9fe;
}

main {
  display: block;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

input,
textarea {
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  color: #8a96ad;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.5rem;
  border-radius: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.primary-button {
  color: #fff;
  background: #2e5eaa;
}

.secondary-button {
  background: #eaf3ff;
  color: #2e5eaa;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.contact-field:focus-within,
.contact-field-wide:focus-within {
  outline: 3px solid rgba(100, 116, 255, 0.24);
  outline-offset: 2px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #2e5eaa;
}

.hero-section {
  --hero-progress: 0;
  --hero-bg-shift: 0px;
  --hero-bg-scale: 1;
  --hero-center-y: 0px;
  --hero-center-scale: 1;
  --hero-left-x: 0px;
  --hero-right-x: 0px;
  --hero-side-blur: 0px;
  --hero-side-opacity: 1;
  --hero-rating-y: 0px;
  --hero-rating-opacity: 1;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: stretch;
  color: #fff;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: -4%;
  background:
    linear-gradient(90deg, rgba(17, 11, 9, 0.72) 0%, rgba(27, 18, 15, 0.45) 38%, rgba(18, 11, 9, 0.38) 62%, rgba(17, 11, 9, 0.68) 100%),
    url("/assets/images/blue-1.jpg") center / cover no-repeat;
  transform: translate3d(0, var(--hero-bg-shift), 0) scale(var(--hero-bg-scale));
  transform-origin: center center;
  will-change: transform;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(252, 146, 70, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%, transparent 74%, rgba(0, 0, 0, 0.24));
  pointer-events: none;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.3));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 1280px);
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr minmax(160px, 280px) 1fr;
  align-items: start;
  gap: 1.5rem;
  overflow: hidden;
  transform: translateZ(0);
}

.hero-side {
  max-width: 400px;
  will-change: transform, opacity, filter;
  transition: transform 0.18s linear, opacity 0.18s linear, filter 0.18s linear;
}

.hero-left {
  justify-self: start;
  margin-top: 8rem;
  transform: translate3d(var(--hero-left-x), calc(var(--hero-progress) * -20px), 0);
  opacity: var(--hero-side-opacity);
  filter: blur(var(--hero-side-blur));
}

.hero-right {
  justify-self: end;
  text-align: right;
  align-self: flex-end;
  margin-bottom: 4rem;
  transform: translate3d(var(--hero-right-x), calc(var(--hero-progress) * 24px), 0);
  opacity: var(--hero-side-opacity);
  filter: blur(var(--hero-side-blur));
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero-side h1,
.hero-side h2 {
  margin: 0;
  font-size: 3.5rem;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-right h2 {
  font-size: 3.5rem;
}

.hero-copy {
  margin: 0.9rem 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.55rem);
  line-height: 1.02;
  font-weight: 600;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8rem;
  height: 60vh;
  padding: 2.9rem 0 0.2rem;
  margin-top: 8rem;
  transform: translate3d(0, var(--hero-center-y), 0) scale(var(--hero-center-scale));
  transform-origin: center top;
  will-change: transform;
  transition: transform 0.18s linear;
}

.hero-center-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-bismillah {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.hero-logo {
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateY(-2.4rem);
}

.hero-button {
  background: #fff;
  color: #181818;
  min-height: 46px;
  padding-inline: 1.35rem;
  box-shadow: none;
}

.google-rating {
  position: absolute;
  left: 0;
  bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  transform: translate3d(0, var(--hero-rating-y), 0);
  opacity: var(--hero-rating-opacity);
  will-change: transform, opacity;
  transition: transform 0.18s linear, opacity 0.18s linear;
}

.google-rating img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.google-rating strong {
  display: block;
  margin-bottom: 0.2rem;
}

.google-rating span {
  color: #ffbf43;
  letter-spacing: 0.14em;
}

.contact-section {
  padding: 5rem 0;
  background:
    radial-gradient(circle at top left, rgba(46, 94, 170, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.contact-section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-section-heading h2 {
  margin: 0.35rem 0 0.8rem;
  font-size: 2.8rem;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.contact-section-heading p {
  margin: 0 auto;
  color: var(--color-text-muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-info-panel,
.contact-form-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  border-radius: 32px;
}

.contact-info-panel {
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
}

.contact-panel-intro h3,
.contact-form-panel h3 {
  margin: 0 0 0.55rem;
  font-size: 1.55rem;
}

.contact-panel-intro p,
.contact-card p,
.social-note,
.contact-form-panel p {
  margin: 0;
  color: var(--color-text-muted);
}

.contact-card-grid {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.15rem;
  border-radius: 24px;
  background: #f8fbff;
  border: 1px solid rgba(46, 94, 170, 0.08);
}

.contact-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #eaf3ff;
  color: #2e5eaa;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.contact-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.contact-card a {
  color: #2e5eaa;
  font-weight: 600;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: #eaf3ff;
  color: #2e5eaa;
  font-weight: 700;
}

.contact-form-panel {
  padding: 1.6rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-field,
.contact-field-wide {
  display: grid;
  gap: 0.45rem;
}

.contact-field label,
.contact-field-wide label {
  font-weight: 700;
  color: #0f224a;
}

.contact-field input,
.contact-field-wide textarea {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(46, 94, 170, 0.12);
  background: #f8fbff;
  color: var(--color-text);
  outline: none;
}

.contact-field-wide textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-note {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.reveal-up {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(8px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 1100px) {
  .hero-section {
    height: auto;
    min-height: 100svh;
  }

  .hero-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-top: 7.5rem;
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .hero-left,
  .hero-right {
    justify-self: center;
    max-width: 700px;
    margin-top: 0;
  }

  .hero-right {
    align-self: center;
    text-align: center;
  }

  .hero-copy {
    max-width: 26ch;
    margin-inline: auto;
  }

  .hero-center {
    height: auto;
    gap: 10rem;
    padding: 1rem 0;
  }

  .hero-logo {
    transform: translateY(0);
  }

  .google-rating {
    position: static;
    margin-top: 1rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .hero-content {
    padding-top: 9.5rem;
    padding-bottom: 2rem;
    min-height: 100svh;
  }

  .hero-section::after {
    inset: -2%;
  }

  .hero-side h1,
  .hero-side h2 {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
  }

  .hero-copy {
    font-size: 1.05rem;
    max-width: 24ch;
  }

  .hero-center {
    gap: 6rem;
  }

  .hero-bismillah {
    text-align: center;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 4.25rem 0;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 1.25rem;
    border-radius: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section::after,
  .hero-left,
  .hero-right,
  .hero-center,
  .google-rating,
  .reveal-up {
    transform: none !important;
    transition: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 760px) {
  .hero-section {
    height: 100svh;
    min-height: 100svh;
  }

  .hero-content {
    height: 100svh;
    min-height: 100svh;
    padding-top: 6.6rem;
    padding-bottom: 2rem;
    align-content: space-between;
    justify-items: stretch;
    text-align: initial;
  }

  .hero-left {
    justify-self: start;
    text-align: left;
    max-width: 100%;
  }

  .hero-right {
    justify-self: end;
    text-align: right;
    max-width: 100%;
  }

  .hero-side h1,
  .hero-side h2 {
    font-size: clamp(2rem, 8.2vw, 2.55rem);
    line-height: 0.98;
  }

  .hero-copy {
    font-size: 0.96rem;
    line-height: 1.38;
    max-width: 23ch;
  }

  .hero-center {
    gap: 4rem;
    margin-top: 0.5rem;
  }

  .hero-bismillah {
    font-size: 0.94rem;
    margin-bottom: 0.5rem;
  }

  .hero-logo {
    font-size: 1.7rem;
  }

  .google-rating {
    position: absolute;
    left: 0;
    bottom: 1.1rem;
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .hero-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    justify-items: center;
    align-items: center;
    text-align: center;
    gap: 1.1rem;
    padding-top: 6rem;
    padding-bottom: 1.35rem;
  }

  .hero-left {
    justify-self: center;
    text-align: center;
    width: min(100%, 24rem);
    max-width: 100%;
  }

  .hero-right {
    display: none;
  }

  .hero-copy {
    max-width: 24ch;
    margin-inline: auto;
  }

  .google-rating {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 0.9rem;
    padding-top: 6rem;
    padding-bottom: 1.35rem;
  }

  .hero-left,
  .hero-right {
    margin: 0;
    padding: 3rem 1rem 1.05rem;
    border-radius: 24px;
  }

  .hero-kicker {
    margin-bottom: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .hero-side h1,
  .hero-side h2 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    line-height: 1;
  }

  .hero-copy {
    margin-top: 0.55rem;
    font-size: 0.92rem;
    line-height: 1.35;
    max-width: none;
  }

  .hero-center {
    width: 100%;
    gap: 1.5rem;
    height: auto;
    min-height: 0;
    padding: 0;
    margin-top: 0.5rem;
  }

  .hero-center-stack {
    gap: 0.45rem;
    padding: 1rem 1.1rem;
    border-radius: 28px;
  }

  .hero-bismillah {
    font-size: 0.88rem;
    margin-bottom: 0;
  }

  .hero-logo {
    font-size: 1.55rem;
    letter-spacing: 0.16em;
  }

  .hero-button {
    min-height: 48px;
    width: min(100%, 12rem);
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.16);
  }

  .google-rating {
    left: 50%;
    bottom: 0.7rem;
    transform: translateX(-50%);
    width: fit-content;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(7, 17, 35, 0.45);
    backdrop-filter: blur(10px);
    white-space: nowrap;
  }

  .google-rating strong,
  .google-rating span {
    font-size: 0.82rem;
  }
}
