:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3f9;
  --text: #12233d;
  --muted: #5f708c;
  --line: rgba(18, 35, 61, 0.12);
  --primary: #0f62fe;
  --primary-dark: #0a3ea8;
  --accent: #ff8c32;
  --accent-dark: #db6f1a;
  --shadow: 0 18px 45px rgba(10, 31, 68, 0.12);
  --shadow-soft: 0 12px 30px rgba(10, 31, 68, 0.08);
  --radius: 24px;
  --container: min(1120px, calc(100% - 2rem));
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translate3d(30px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowShift {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 98, 254, 0.08), transparent 32%),
    linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
  line-height: 1.65;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(244, 247, 251, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand small,
.footer-brand small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 24px rgba(15, 98, 254, 0.28);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-menu a {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff6f3c);
  box-shadow: 0 14px 28px rgba(255, 140, 50, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(255, 140, 50, 0.34);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.button-small {
  padding: 0.8rem 1.15rem;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: 0.25s ease;
}
.hero,
.page-hero {
  /* Shared image-led banner styling for the home and inner pages. */
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(5, 18, 43, 0.82), rgba(10, 31, 68, 0.56)),
    url("images/background1.jpg") center/cover no-repeat;
}

.hero-overlay,
.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at top right, rgba(255, 140, 50, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12));
  animation: glowShift 10s ease-in-out infinite;
}

.hero-grid,
.page-hero-content {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: center;
  padding: 5rem 0;
}

body.is-animated .hero-copy > *,
body.is-animated .page-hero-content > * {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

body.is-animated .hero-copy > *:nth-child(1),
body.is-animated .page-hero-content > *:nth-child(1) {
  animation-delay: 0.1s;
}

body.is-animated .hero-copy > *:nth-child(2),
body.is-animated .page-hero-content > *:nth-child(2) {
  animation-delay: 0.22s;
}

body.is-animated .hero-copy > *:nth-child(3),
body.is-animated .page-hero-content > *:nth-child(3) {
  animation-delay: 0.34s;
}

body.is-animated .hero-copy > *:nth-child(4),
body.is-animated .page-hero-content > *:nth-child(4) {
  animation-delay: 0.46s;
}

body.is-animated .hero-copy > *:nth-child(5),
body.is-animated .page-hero-content > *:nth-child(5) {
  animation-delay: 0.58s;
}

body.is-animated .hero-panel > * {
  opacity: 0;
  animation: fadeLeft 0.85s ease forwards;
}

body.is-animated .hero-panel > *:nth-child(1) {
  animation-delay: 0.25s;
}

body.is-animated .hero-panel > *:nth-child(2) {
  animation-delay: 0.38s;
}

body.is-animated .hero-panel > *:nth-child(3) {
  animation-delay: 0.51s;
}

body.is-animated .hero-panel > *:nth-child(4) {
  animation-delay: 0.64s;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.content-block h2,
.cta-banner h2,
.contact-panel h2 {
  font-family: "Archivo", sans-serif;
  letter-spacing: -0.025em;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1;
  max-width: 12ch;
}

.hero-text,
.page-hero p {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.86);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0;
}

.hero-points {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-points li::before {
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--accent);
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.info-card,
.stat-card,
.feature-card,
.service-card,
.detail-card,
.contact-panel,
.cta-banner,
.timeline-item {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.info-card,
.stat-card {
  padding: 1.2rem 1.25rem;
  color: var(--text);
}

.info-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.stat-card {
  background: linear-gradient(135deg, rgba(255, 140, 50, 0.94), rgba(255, 111, 60, 0.94));
  color: #fff;
}

.stat-card span {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.84;
}

.stat-card strong {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.25rem;
  line-height: 1.35;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(233, 240, 249, 0.7));
}

.section-heading {
  max-width: 700px;
  margin-bottom: 2rem;
}

.section-heading h2,
.content-block h2,
.cta-banner h2,
.contact-panel h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.section-heading p,
.content-block p,
.feature-card p,
.service-card p,
.detail-card p,
.footer-text,
.timeline-item p {
  color: var(--muted);
}

.feature-grid,
.service-grid {
  /* Responsive card grids used across the site. */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.service-card {
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.service-card:hover,
.detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.reveal-block {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: calc(var(--reveal-delay, 0) * 120ms);
}

.reveal-block.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.feature-card h3,
.service-card h2,
.detail-card h3,
.site-footer h3 {
  margin: 1rem 0 0.7rem;
  font-size: 1.15rem;
}

.icon-box {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(15, 98, 254, 0.12), rgba(255, 140, 50, 0.18));
}

.icon-box svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.image-stack {
  position: relative;
}

.image-stack img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.image-stack.tall img {
  min-height: 520px;
}

.floating-badge {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 22px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  animation: softFloat 4.8s ease-in-out infinite;
}

.floating-badge strong,
.mini-grid strong,
.timeline-item strong {
  display: block;
  margin-bottom: 0.35rem;
}

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

.mini-grid p {
  margin: 0;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem;
}

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: end;
  padding: 5rem 0 3rem;
}

.page-hero-services {
  background:
    linear-gradient(115deg, rgba(5, 18, 43, 0.82), rgba(10, 31, 68, 0.62)),
    url("images/delivery1.jpg") center/cover no-repeat;
}

.page-hero-contact {
  background:
    linear-gradient(115deg, rgba(5, 18, 43, 0.82), rgba(10, 31, 68, 0.62)),
    url("images/background2.jpg") center/cover no-repeat;
}

.page-hero h1 {
  margin: 0 0 1rem;
  max-width: 12ch;
  font-size: clamp(2.5rem, 4vw, 4.25rem);
  line-height: 1.02;
}

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

.timeline-item {
  padding: 1.2rem 1.25rem;
}

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

.contact-panel {
  padding: 2rem;
}

.contact-form {
  /* Styled as a front-end ready form that can later connect to Formspree, PHP, or a backend API. */
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(15, 98, 254, 0.46);
  box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.12);
  background: #fff;
}

.form-note {
  min-height: 1.2rem;
  margin: 0.25rem 0 0;
  color: var(--primary-dark);
  font-size: 0.92rem;
}

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

.detail-card {
  padding: 1.5rem;
}

.map-card iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 20px;
}

.site-footer {
  padding: 4rem 0 1.5rem;
  color: #dce7f7;
  background:
    linear-gradient(180deg, rgba(7, 20, 45, 0.94), rgba(6, 17, 36, 1)),
    url("images/background3.jpg") center/cover no-repeat;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}

.footer-text {
  max-width: 42ch;
}

.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.7rem;
}

.footer-links a {
  color: #dce7f7;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(220, 231, 247, 0.16);
  color: rgba(220, 231, 247, 0.82);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .contact-layout,
  .footer-grid,
  .service-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .image-stack img,
  .image-stack.tall img {
    min-height: 360px;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 760px) {
  .navbar {
    min-height: 78px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.25s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-grid,
  .page-hero {
    padding-top: 3.5rem;
  }

  .hero-copy h1,
  .page-hero h1,
  .section-heading h2,
  .content-block h2,
  .cta-banner h2,
  .contact-panel h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .section {
    padding: 4.5rem 0;
  }

  .contact-panel,
  .detail-card,
  .feature-card,
  .service-card {
    padding: 1.35rem;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .floating-badge {
    position: static;
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-block {
    opacity: 1;
    transform: none;
  }
}
