/* ========== Base ========== */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform 0.12s ease,
    background 0.12s ease,
    opacity 0.12s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-2);
}

.btn--ghost {
  background: rgba(10, 61, 98, 0.08);
  border-color: rgba(10, 61, 98, 0.2);
  color: var(--blue);
}

.btn--ghost:hover {
  background: rgba(10, 61, 98, 0.12);
}

.btn--outline {
  background: transparent;
  border-color: rgba(15, 23, 42, 0.18);
  color: #0b1220;
}

.btn--outline:hover {
  background: rgba(15, 23, 42, 0.05);
}

/* ========== Page Hero ========== */
.page-hero {
  padding: 44px 0 26px;
  background-image: url("../images/banner/5.jpg");
  background-position: center;
  background-size: cover;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.page-hero__content h4 {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white-color-1);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 2rem;
  font-weight: var(--font-weight-medium);
}

.page-hero__content h1 {
  margin: 0 0 10px;
  font-size: 5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

.page-hero__content p {
  margin: 0 0 16px;
  color: var(--gray-color);
  font-size: 2rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 18px;
}

.hero-actions .btn__1 {
  background-color: var(--primary-color);
  color: var(--white-color-1);
  border: 2px solid var(--primary-color);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1.8rem;
  font-weight: var(--font-weight-medium);
  transition: background-color 0.3s ease;
}

.hero-actions .btn__1:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.hero-actions .btn__2 {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1.8rem;
  font-weight: var(--font-weight-medium);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.hero-actions .btn__2:hover {
  background-color: var(--primary-color);
  color: var(--white-color-1);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trust-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
}

.trust-item__num {
  display: block;
  font-weight: var(--font-weight-light-bold);
  color: var(--blue);
  font-size: 2.5rem;
}

.trust-item__label {
  font-size: 2rem;
  color: var(--muted);
}

.page-hero__media {
  position: relative;
}

.page-hero__media video {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(2, 8, 23, 0.08);
}

.media-card {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: min(320px, 88%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 12px 14px;
  box-shadow: var(--shadow);
  border-radius: 10px;
}

.media-card__title {
  margin: 0 0 4px;
  font-weight: 900;
  font-size: 2rem;
}

.media-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 1.5rem;
}

/* ========== Sections ========== */
.section {
  padding: 54px 0;
}

.section--muted {
  background: var(--soft);
}

.section-foot {
  margin-top: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* ========== Cards ========== */
.card {
  background-image: url("../images/about/4.jpg");
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 6px 18px rgba(2, 8, 23, 0.06);
}

.card--soft {
  background-image:
    linear-gradient(rgba(4, 9, 30, 0.5), rgba(4, 9, 30, 0.5)),
    url("../images/about/5.jpg");
  background-position: center;
  background-size: cover;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--accent-color);
}

.card p {
  margin: 0 0 10px;
  color: var(--white-color-3);
  font-size: 1.8rem;
}

.card p:last-child {
  margin-bottom: 0;
}

/* ========== Lists ========== */
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--white-color-3);
}

.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 2rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--background-color);
  background: linear-gradient(135deg, var(--blue), var(--earth));
}

/* ========== Service & Feature blocks ========== */
.service-card,
.feature {
  background-image: url("../images/about/6.jpg");
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius);
  padding: 16px;
}

#feature {
  background-image: url("../images/about/7.jpg");
  background-position: center;
  background-size: cover;
}

.service-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.service-card h3,
.feature h3 {
  margin: 0 0 6px;
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--background-color);
}

.service-card p,
.feature p {
  margin: 0;
  color: var(--black-color-2);
  font-size: 2rem;
}

.note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ========== CTA ========== */
.cta {
  position: relative;
  padding: 70px 0;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.2),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(255, 255, 255, 0.18),
      transparent 50%
    ),
    linear-gradient(135deg, #0a3d62 0%, #0f7b5d 52%, #0b1220 100%);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/banner/3.jpg") center/cover no-repeat;
  opacity: 0.15;
  mix-blend-mode: screen;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(11, 18, 32, 0.35),
    rgba(11, 18, 32, 0.75)
  );
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 28px 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 50px rgba(3, 7, 18, 0.35);
  backdrop-filter: blur(8px);
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(2.5rem, 2.7vw, 4rem);
  font-weight: 800;
}

.cta p {
  margin: 0;
  opacity: 0.9;
  max-width: 720px;
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  color: var(--white-color-2);
  line-height: 1.8;
}

.cta__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cta__buttons .btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 2rem;
  font-weight: 700;
}

.cta__buttons .btn--primary {
  background: #ffffff;
  color: #0a3d62;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.25);
}

.cta__buttons .btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cta__buttons .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* ========== Footer ========== */
.footer {
  background: #0b1220;
  color: #e2e8f0;
  padding: 44px 0 18px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.brand--footer .brand__name {
  color: #fff;
}

.footer__text {
  margin: 10px 0 0;
  color: #cbd5e1;
  max-width: 520px;
}

.footer h4 {
  margin: 0 0 10px;
  color: #fff;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer a {
  color: #cbd5e1;
}

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

.footer__bottom {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.16);
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ========== Responsive ========== */
@media (max-width: 980px) {
  .nav {
    display: none; /* if you have a mobile menu in your homepage, reuse it */
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .page-hero__media img {
    height: 360px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .two-col,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 767px) {
  .page-hero {
    padding: 32px 0 20px;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-hero__content {
    order: 1;
  }

  .page-hero__media {
    order: 2;
  }

  .page-hero__content h1 {
    font-size: 3.6rem;
    line-height: 1.25;
  }

  .page-hero__content p {
    font-size: 1.8rem;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .page-hero__media video {
    width: 100%;
    height: 240px;
    object-fit: cover;
  }
}

@media (max-width: 425px) {
  .page-hero__content h1 {
    font-size: 4rem;
  }

  .page-hero__media video {
    height: 270px;
  }

  .media-card {
    width: min(280px, 68%);
  }

  .media-card__title {
    font-size: 2rem;
  }

  .media-card__text {
    font-size: 1.6rem;
  }
}
