:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --dark: #0f172a;
  --muted: #64748b;
  --soft: #f1f5f9;
  --white: #ffffff;
  --radius: 1.25rem;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

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

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--dark);
  color: var(--white);
  padding: .75rem 1rem;
  border-radius: .5rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-navbar {
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #ffffff;
}

.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.78) 0%,
      rgba(15, 23, 42, 0.55) 38%,
      rgba(15, 23, 42, 0.18) 72%,
      rgba(15, 23, 42, 0.05) 100%
    ),
    url("../img/hero-sezamek.png") center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.35));
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.78);
}

.section-padding {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.bg-soft {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  font-size: .8rem;
  margin-bottom: .8rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-text {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.image-card,
.contact-form,
.service-card,
.stat-box,
.feature-box {
  background: var(--white);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-card {
  padding: 2rem;
}

.feature-box {
  padding: 1.25rem;
  box-shadow: none;
  height: 100%;
}

.feature-box strong,
.feature-box span {
  display: block;
}

.feature-box span {
  color: var(--muted);
  font-size: .95rem;
  margin-top: .35rem;
}

.service-card {
  padding: 2rem;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.16);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 1.3rem 0 .75rem;
}

.service-card p {
  color: var(--muted);
  margin: 0;
}

.icon-circle {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
  font-weight: 800;
}

.stat-box {
  padding: 1.5rem 1rem;
  box-shadow: none;
}

.stat-box strong {
  display: block;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1;
  color: var(--primary);
}

.stat-box span {
  color: var(--muted);
  font-size: .95rem;
}

.gallery-tile {
  display: grid;
  place-items: center;
  min-height: 260px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(14, 165, 233, 0.78)),
    linear-gradient(45deg, #e2e8f0, #f8fafc);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-list div {
  padding: 1rem 1.2rem;
  background: var(--soft);
  border-radius: 1rem;
}

.contact-list strong,
.contact-list span,
.contact-list a {
  display: block;
}

.contact-list strong {
  font-size: .9rem;
  color: var(--muted);
}

.contact-list a {
  font-weight: 700;
  color: var(--primary);
}

.contact-form {
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.form-control {
  min-height: 3.25rem;
  border-radius: .9rem;
  border-color: #cbd5e1;
}

textarea.form-control {
  min-height: 150px;
}

.site-footer {
  padding: 2.5rem 0;
  color: rgba(255, 255, 255, .78);
  background: var(--dark);
}

.site-footer strong {
  color: var(--white);
  font-size: 1.2rem;
}

.site-footer a {
  display: inline-block;
  margin-left: 1rem;
  color: rgba(255, 255, 255, .78);
}

.site-footer a:hover {
  color: var(--white);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
  box-shadow: var(--shadow);
  z-index: 50;
}

.back-to-top.show {
  display: grid;
  place-items: center;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0;
  }

  .navbar-nav {
    gap: .35rem;
  }

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

  .hero-section .d-flex {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .display-4 {
    font-size: 2.35rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .site-footer {
    text-align: center;
  }

  .site-footer a {
    margin: .5rem .45rem 0;
  }

  .gallery-tile {
    min-height: 200px;
  }
}
