:root {
  --font-sans: "Manrope", sans-serif;
  --color-bg: #f6f4f1;
  --color-surface: #ffffff;
  --color-text: #1b1b1b;
  --color-muted: #6f6f6f;
  --color-accent: #119fd5;
  --color-accent-dark: #0c85b3;
  --color-deep: #10253b;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 20px 40px rgba(16, 37, 59, 0.08);
  --shadow-card: 0 12px 24px rgba(16, 37, 59, 0.08);
  --spacing-section: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: radial-gradient(circle at top, #fefcf9 0%, #f6f4f1 50%, #f1ede8 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--color-deep);
  letter-spacing: -0.02em;
}

p {
  color: var(--color-muted);
}

.section-pad {
  padding: var(--spacing-section) 0;
}

.section-pad-sm {
  padding: 64px 0;
}

.navbar {
  backdrop-filter: blur(8px);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-link {
  font-weight: 600;
  color: var(--color-text);
}

.nav-link.active,
.nav-link:hover {
  color: var(--color-accent);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.navbar a,
.nav-link,
.btn,
.footer a {
  color: inherit;
  text-decoration: none;
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 600;
  border: none;
  box-shadow: 0 12px 24px rgba(212, 106, 31, 0.25);
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

.btn-outline-accent {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 600;
  background: transparent;
}

.btn-outline-accent:hover {
  background: var(--color-accent);
  color: #fff;
}

.text-accent {
  color: var(--color-accent);
}

.hero {
  padding: 140px 0 120px;
  background: linear-gradient(120deg, rgba(16, 37, 59, 0.92), rgba(16, 37, 59, 0.5)),
    url("../img/slide1.png") center/cover no-repeat;
  color: #fff;
}

.hero h1,
.hero p {
  color: #fff;
}

.hero .card-modern,
.hero .card-modern p {
  color: var(--color-text);
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-bar {
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.trust-item {
  padding: 24px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon-wrap {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(188 188 188 / 15%);
  color: var(--color-accent);
  font-size: 20px;
}

.card-modern {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: var(--color-surface);
}

.card-modern .card-body {
  padding: 28px;
}

.step-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(16, 37, 59, 0.1);
  color: var(--color-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.brand-tile {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-deep);
  flex-wrap: wrap;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}

.brand-badge span {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(90deg, #000 0%, #000 33%, #dd0000 33%, #dd0000 66%, #ffce00 66%);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.brand-tile h5,
.brand-tile a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.badge-row {
  flex-wrap: wrap;
}

.badge-row .badge {
  white-space: normal;
}

.brand-row > [class*="col-"] {
  min-width: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  cursor: zoom-in;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(16, 37, 59, 0.7), transparent);
  color: #fff;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.accent-banner {
  background: linear-gradient(120deg, rgb(17 159 213), rgba(16, 37, 59, 0.9)), url(../img/slide2.png) center / cover no-repeat;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
}

.accent-banner h3,
.accent-banner p {
  color: #fff;
}

.footer {
  background: #0d1b2a;
  color: #d2d8de;
  padding: 48px 0 32px;
}

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

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

.footer-title {
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-deep);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-card);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.back-to-top.show {
  display: inline-flex;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.form-control,
.form-select {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 37, 59, 0.15);
}

.filter-btn {
  border-radius: 999px;
  padding: 8px 18px;
  border: 1px solid rgba(16, 37, 59, 0.2);
  background: #fff;
  font-weight: 600;
  color: var(--color-deep);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--color-deep);
  color: #fff;
}

.process-section {
  background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.92)),
    url("../img/slide2.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (max-width: 991px) {
  .hero {
    padding: 120px 0 100px;
  }

  .accent-banner {
    padding: 32px;
  }

  .trust-bar {
    margin-top: -32px;
  }
}

@media (max-width: 767px) {
  .section-pad {
    padding: 72px 0;
  }

  .hero {
    padding: 110px 0 90px;
  }
}

@media (max-width: 575px) {
  .row {
    margin-left: 0;
    margin-right: 0;
  }
}
