/* =========================================================
   ZENTECH INNOVATIONS - PREMIUM FINTECH DESIGN
   ========================================================= */

/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap'); */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/latin.woff2") format("woff2");
}

:root {
  --red: #e63946;
  --red-dark: #8f0712;
  --red-deep: #4d0208;
  --gold: #ffd166;
  --gold-bright: #ffe28a;

  --black: #08090b;
  --dark: #111318;
  --dark-2: #181b22;
  --gray-900: #20232b;
  --gray-700: #555b66;
  --gray-500: #7c8491;
  --gray-200: #e7e9ed;
  --gray-100: #f5f6f8;

  --white: #ffffff;

  --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 25px 70px rgba(0, 0, 0, 0.16);

  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================================================
      RESET
      ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
      SCROLLBAR
      ========================================================= */

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: #0c0d10;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--red), var(--gold));
  border-radius: 20px;
}

/* =========================================================
      HEADER / NAVBAR
      ========================================================= */

header {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);

  width: min(1120px, calc(100% - 40px));

  padding: 0 24px;

  z-index: 1000;

  color: var(--white);

  background: rgba(10, 11, 14, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 22px;

  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    width 0.4s var(--ease),
    top 0.4s var(--ease),
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    rgba(230, 57, 70, 0.08),
    transparent 40%,
    rgba(255, 209, 102, 0.06)
  );
}

header.scrolled {
  top: 12px;

  background: rgba(8, 9, 11, 0.88);

  box-shadow:
    0 15px 45px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.header-container {
  min-height: 70px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  position: relative;
  z-index: 1;
}

/* Brand */

.brand {
  display: flex;
  align-items: center;
  gap: 11px;

  text-decoration: none;
}

.logo {
  height: 38px;
  width: auto;

  transition: transform 0.35s var(--ease);
}

.brand:hover .logo {
  transform: rotate(-4deg) scale(1.08);
}

.brand-name {
  color: var(--white);

  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.3px;

  white-space: nowrap;
}

.brand-name::after {
  content: "";

  display: block;

  width: 0;
  height: 2px;

  margin-top: 2px;

  background: linear-gradient(90deg, var(--red), var(--gold));

  transition: width 0.3s ease;
}

.brand:hover .brand-name::after {
  width: 100%;
}

/* Navigation */

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  position: relative;

  padding: 10px 16px;

  color: rgba(255, 255, 255, 0.82);

  font-size: 0.9rem;
  font-weight: 600;

  text-decoration: none;

  border-radius: 10px;

  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.nav-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 4px;

  width: 0;
  height: 2px;

  transform: translateX(-50%);

  background: linear-gradient(90deg, var(--red), var(--gold));

  border-radius: 20px;

  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 28px;
}

/* =========================================================
      MOBILE MENU
      ========================================================= */
.mobile-menu-btn {
  display: none;
  /* Hidden on PC / Desktop screens */
  background: transparent;
  border: none;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  align-items: center;
  justify-content: center;
}

/* =========================================================
      HERO
      ========================================================= */

.home {
  position: relative;

  min-height: 760px;

  display: flex;
  align-items: center;

  padding: 150px 5% 100px;

  color: white;

  background:
    linear-gradient(
      110deg,
      rgba(4, 5, 7, 0.94) 0%,
      rgba(8, 8, 10, 0.78) 48%,
      rgba(110, 0, 10, 0.48) 100%
    ),
    url("../images/Header.jpg");

  background-size: cover;
  background-position: center;

  overflow: hidden;
}

.home::before {
  content: "";

  position: absolute;

  width: 550px;
  height: 550px;

  right: -150px;
  top: 90px;

  background: radial-gradient(circle, rgba(230, 57, 70, 0.25), transparent 68%);

  filter: blur(10px);
  pointer-events: none;
}

.home::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 180px;

  background: linear-gradient(transparent, rgba(8, 9, 11, 0.35));

  pointer-events: none;
}

.home-content {
  position: relative;
  z-index: 2;

  width: min(1000px, 100%);

  padding-top: 30px;

  animation: heroIn 0.9s var(--ease) both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-heading {
  max-width: 950px;

  margin-bottom: 24px;

  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 800;

  line-height: 1.02;
  letter-spacing: -3px;

  text-transform: uppercase;
}

.home-heading::first-line {
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.25);
}

.home-sub-heading {
  max-width: 680px;

  margin-bottom: 34px;

  color: rgba(255, 255, 255, 0.82);

  font-size: 1.08rem;
  line-height: 1.8;
}

/* =========================================================
      BUTTONS
      ========================================================= */

.btn {
  position: relative;

  display: inline-flex;
  justify-content: center;
  align-items: center;

  min-height: 48px;

  padding: 0 24px;

  border-radius: 10px;

  font-size: 0.9rem;
  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;

  overflow: hidden;
}

.btn::before {
  content: "";

  position: absolute;

  top: 0;
  left: -100%;

  width: 100%;
  height: 100%;

  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );

  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
}

.home-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  color: #161616;
  background: linear-gradient(135deg, #ffe28a, var(--gold));

  box-shadow: 0 10px 30px rgba(255, 209, 102, 0.2);
}

.btn-primary:hover {
  background: var(--gold-bright);
  box-shadow: 0 15px 35px rgba(255, 209, 102, 0.28);
}

.btn-secondary {
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.4);

  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  color: #fcdb20;
  background: rgba(61, 58, 58, 0.322);
  border-color: white;
}

/* Hero button overrides */

.home .btn-primary {
  color: #111;
  background: white;
  border: 1px solid white;
}

.home .btn-primary:hover {
  color: white;
  background: transparent;
}

.home .btn-secondary {
  background: rgba(255, 255, 255, 0.05);
}

/* =========================================================
      ABOUT
      ========================================================= */

.feature-section {
  position: relative;

  padding: 110px 5%;

  color: white;

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 209, 102, 0.12),
      transparent 25%
    ),
    linear-gradient(135deg, #65030b, #a40712 55%, #5c0209);

  overflow: hidden;
}

.feature-section::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  left: -250px;
  bottom: -250px;

  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 80px rgba(255, 255, 255, 0.025),
    0 0 0 160px rgba(255, 255, 255, 0.018);
}

.feature-section .feature {
  position: relative;
  z-index: 1;

  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  gap: 80px;

  align-items: center;
}

.feature-section .feature-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-section .section-heading {
  margin-bottom: 4px;

  color: white;

  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;

  letter-spacing: -1.5px;
}

.feature-section .section-heading::after {
  content: "";

  display: block;

  width: 55px;
  height: 4px;

  margin-top: 16px;

  background: linear-gradient(90deg, var(--gold), transparent);

  border-radius: 10px;
}

.feature-section .section-description {
  color: rgba(255, 255, 255, 0.82);

  font-size: 1rem;
  line-height: 1.85;
}

.feature-section .feature-image {
  position: relative;
}

.feature-section .feature-image::before {
  content: "";

  position: absolute;

  inset: -12px;

  border-radius: 24px;

  border: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-section .feature-image img {
  position: relative;

  width: 100%;
  min-height: 420px;

  object-fit: cover;

  border-radius: 20px;

  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

/* Hero button overrides */

.feature-section .btn-primary {
  color: #3d3c3c;
  background: rgb(235, 193, 58);
  border: none;
}

.feature-section .btn-primary:hover {
  color: white;
  background: rgb(219, 141, 24);
}

.feature-section .btn-secondary {
  background: rgba(243, 232, 72, 0.05);
}

/* =========================================================
      GENERIC SECTIONS
      ========================================================= */

.section {
  position: relative;

  padding: 110px 5%;

  background: #fff;
}

.section:nth-of-type(even) {
  background: var(--gray-100);
}

.section-header {
  max-width: 760px;

  margin: 0 auto 60px;

  text-align: center;
}

.section-heading {
  margin-bottom: 16px;

  color: var(--gray-900);

  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;

  line-height: 1.1;
  letter-spacing: -1.5px;
}

.section-description {
  color: var(--gray-700);

  font-size: 1rem;
  line-height: 1.8;
}

/* =========================================================
      SERVICES
      ========================================================= */

.services-header {
  position: relative;
}

.services-header::before {
  display: block;

  margin-bottom: 12px;

  color: var(--red);

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 3px;
}

.service-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 28px;

  margin-top: 30px;

  perspective: 1200px;
}

/* =========================================================
      FLIP CARDS
      ========================================================= */

.flip-card {
  min-height: 455px;

  perspective: 1400px;

  cursor: pointer;
}

.flip-card-inner {
  position: relative;

  width: 100%;
  height: 100%;
  min-height: 455px;

  text-align: left;

  transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);

  transform-style: preserve-3d;

  border-radius: var(--radius);

  box-shadow: var(--shadow-md);
}

.flip-card:hover .flip-card-inner {
  transform: translateY(-6px) rotateY(5deg);
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;

  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;

  border-radius: var(--radius);

  overflow: hidden;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Front */

.flip-card-front {
  padding: 32px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(230, 57, 70, 0.06),
      transparent 35%
    ),
    linear-gradient(145deg, white, #f8f9fb);

  border: 1px solid #e4e6ea;
  border-top: 4px solid var(--red);

  justify-content: space-between;
}

.card-tagline {
  margin-bottom: 12px;

  color: var(--red);

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.card-title {
  margin-bottom: 14px;

  color: var(--gray-900);

  font-size: 1.35rem;
  font-weight: 800;

  line-height: 1.3;
  letter-spacing: -0.5px;
}

.card-description {
  margin-bottom: 20px;

  color: var(--gray-700);

  font-size: 0.9rem;
  line-height: 1.65;
}

.service-card-image {
  height: 165px;

  margin-top: auto;

  border-radius: 13px;

  overflow: hidden;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.7s var(--ease);
}

.flip-card:hover .service-card-image img {
  transform: scale(1.06);
}

/* Flip indicator */

.flip-indicator {
  position: absolute;

  right: 18px;
  bottom: 18px;

  width: 34px;
  height: 34px;

  display: flex;
  justify-content: center;
  align-items: center;

  color: white;

  background: var(--red);

  border-radius: 50%;

  font-size: 13px;

  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);

  transition: 0.3s ease;
}

.flip-card:hover .flip-indicator {
  transform: rotate(180deg) scale(1.08);
}

/* Back */

.flip-card-back {
  padding: 32px;

  color: white;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(255, 209, 102, 0.16),
      transparent 32%
    ),
    linear-gradient(145deg, #c31422, #71030b);

  transform: rotateY(180deg);

  border: 1px solid rgba(255, 255, 255, 0.12);
}

.flip-card-back .card-tagline {
  color: var(--gold-bright);
}

.flip-card-back .card-title {
  color: white;

  font-size: 1.45rem;
}

.flip-features {
  margin-top: 12px;
}

.flip-features h4 {
  margin-bottom: 14px;

  color: var(--gold-bright);

  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.flip-features ul {
  list-style: none;
}

.flip-features li {
  position: relative;

  margin-bottom: 10px;
  padding-left: 23px;

  color: rgba(255, 255, 255, 0.88);

  font-size: 0.82rem;
  line-height: 1.45;
}

.flip-features li::before {
  content: "✓";

  position: absolute;

  left: 0;
  top: 0;

  color: var(--gold-bright);

  font-weight: 800;
}

/* =========================================================
      STATS
      ========================================================= */

.stats-section {
  position: relative;

  padding: 110px 5%;

  color: white;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 209, 102, 0.12),
      transparent 32%
    ),
    linear-gradient(135deg, #450107, #81050d 50%, #410107);

  overflow: hidden;
}

.stats-section::before,
.stats-section::after {
  content: "";

  position: absolute;

  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-section::before {
  width: 650px;
  height: 650px;

  top: -350px;
  right: -200px;
}

.stats-section::after {
  width: 450px;
  height: 450px;

  bottom: -280px;
  left: -150px;
}

.stats-container {
  position: relative;
  z-index: 2;

  max-width: 1300px;
}

.stats-header {
  max-width: 750px;

  margin: 0 auto 55px;

  text-align: center;
}

.stats-heading {
  margin-bottom: 15px;

  color: white;

  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;

  letter-spacing: -1.5px;
}

.stats-subheading {
  color: rgba(255, 255, 255, 0.72);

  font-size: 1rem;
}

.stats-grid {
  display: grid;

  grid-template-columns: repeat(6, 1fr);

  gap: 15px;

  padding: 0;
}

.stat-item {
  min-height: 190px;

  padding: 30px 15px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  background: rgba(255, 255, 255, 0.065);

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 16px;

  backdrop-filter: blur(10px);

  transition:
    transform 0.35s var(--ease),
    background 0.35s ease,
    border-color 0.35s ease;
}

.stat-item:hover {
  transform: translateY(-8px);

  background: rgba(255, 255, 255, 0.11);

  border-color: rgba(255, 209, 102, 0.25);
}

.stat-number {
  margin-bottom: 12px;

  color: var(--gold-bright);

  font-size: 3rem;
  font-weight: 800;

  line-height: 1;

  text-shadow: 0 0 25px rgba(255, 209, 102, 0.12);
}

.stat-description {
  max-width: 160px;

  color: rgba(255, 255, 255, 0.75);

  font-size: 0.78rem;
  font-weight: 500;

  line-height: 1.5;
}

/* =========================================================
   CAS / DEPOSITORY SECTION
   ========================================================= */

.cas-section {
  padding: 42px 0 45px;
  background: #ffffff;
  border-top: 1px solid #eef0f3;
  border-bottom: 1px solid #eef0f3;
}

.cas-heading {
  text-align: center;
  margin-bottom: 25px;
}

.cas-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #1f2937;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.cas-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 1.65rem;
  line-height: 1.25;
  font-weight: 800;
}

/* Customer logos */

.cas-customers {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 55px;
  margin: 0 auto 25px;
}

.cas-customer {
  width: 260px;
  text-align: center;
}

.cas-logo {
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.cas-logo img {
  max-width: 230px;
  max-height: 105px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cas-customer-label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.72rem;
  font-weight: 600;
}

/* Message */

.cas-message {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.cas-message h3 {
  margin: 0 0 9px;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 800;
}

.cas-message p {
  margin: 0 auto 7px;
  color: #4b5563;
  font-size: 0.88rem;
  line-height: 1.55;
}

.cas-message p:last-child {
  margin-bottom: 0;
}

.cas-message strong {
  color: #111827;
  font-weight: 700;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {
  .cas-section {
    padding: 35px 0 38px;
  }

  .cas-heading h2 {
    font-size: 1.35rem;
  }

  .cas-customers {
    gap: 20px;
  }

  .cas-customer {
    width: 45%;
  }

  .cas-logo {
    height: 90px;
  }

  .cas-logo img {
    max-width: 180px;
    max-height: 80px;
  }
}

@media (max-width: 500px) {
  .cas-customers {
    gap: 10px;
  }

  .cas-customer {
    width: 48%;
  }

  .cas-logo {
    height: 75px;
  }

  .cas-logo img {
    max-width: 145px;
    max-height: 65px;
  }

  .cas-message {
    padding: 0 15px;
  }

  .cas-message p {
    font-size: 0.82rem;
  }
}

/* =========================================================
      CLIENTS
      ========================================================= */

.clients {
  position: relative;

  padding: 90px 0;

  background: linear-gradient(180deg, #f5f6f8, #fff);

  overflow: hidden;
}

.clients-heading {
  width: min(700px, 90%);

  margin: 0 auto 45px;

  color: var(--gray-900);

  text-align: center;

  font-size: 1.6rem;
  font-weight: 800;

  letter-spacing: -0.5px;
}

.client-logo-grid {
  display: flex;
  align-items: center;

  width: max-content;

  animation: scroll 45s linear infinite;
}

.client-logo-grid:hover {
  animation-play-state: paused;
}

.client-logo {
  width: 150px;
  height: 70px;

  margin: 0 25px;

  padding: 10px;

  object-fit: contain;

  background: white;

  border: 1px solid #eceef1;

  border-radius: 12px;

  transition:
    filter 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.client-logo:hover {
  transform: translateY(-4px);

  box-shadow: var(--shadow-sm);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
      CONTACT
      ========================================================= */

.contact-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.contact-item {
  position: relative;

  min-height: 240px;

  padding: 35px 20px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  background: white;

  border: 1px solid #e8eaee;

  border-radius: 18px;

  box-shadow: var(--shadow-sm);

  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.contact-item::before {
  content: "";

  position: absolute;

  left: 20%;
  right: 20%;
  top: 0;

  height: 3px;

  background: linear-gradient(90deg, var(--red), var(--gold));

  border-radius: 0 0 10px 10px;

  opacity: 0;

  transition: opacity 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-8px);

  box-shadow: var(--shadow-md);

  border-color: rgba(230, 57, 70, 0.18);
}

.contact-item:hover::before {
  opacity: 1;
}

.contact-icon {
  width: 58px;
  height: 58px;

  margin-bottom: 18px;

  display: flex;
  justify-content: center;
  align-items: center;

  color: #151515;

  background: linear-gradient(135deg, var(--gold-bright), var(--gold));

  border-radius: 16px;

  box-shadow: 0 10px 25px rgba(255, 209, 102, 0.2);

  transition: transform 0.3s var(--ease);
}

.contact-item:hover .contact-icon {
  transform: rotate(-5deg) scale(1.08);
}

.contact-title {
  margin-bottom: 10px;

  color: var(--gray-900);

  font-size: 1.05rem;
  font-weight: 800;
}

.contact-link {
  color: var(--red);

  font-size: 0.85rem;
  font-weight: 600;

  line-height: 1.7;

  text-decoration: none;

  transition: color 0.25s ease;
}

.contact-link:hover {
  color: var(--red-dark);
  text-decoration: underline;
}

/* =========================================================
      RESPONSIVE — TABLET
      ========================================================= */

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
      RESPONSIVE — MOBILE
      ========================================================= */

@media (max-width: 768px) {
  .container {
    width: min(100% - 30px, 600px);
  }

  /* Navbar */

  header {
    width: calc(100% - 24px);
    top: 12px;

    padding: 0 16px;

    border-radius: 17px;
  }

  header.scrolled {
    top: 7px;
  }

  .header-container {
    min-height: 62px;
  }

  .logo {
    height: 33px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand {
    gap: 8px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-container.mobile-nav-open .nav-links {
    position: fixed;

    display: flex;
    flex-direction: column;

    top: 72px;
    left: 50%;

    width: calc(100vw - 30px);
    max-width: 420px;

    padding: 8px;

    transform: translateX(-50%);

    background: rgba(10, 11, 14, 0.96);

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(18px);
  }

  .header-container.mobile-nav-open .nav-links a {
    width: 100%;

    padding: 14px;

    text-align: center;

    border-radius: 10px;
  }

  .header-container.mobile-nav-open .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  /* Hero */

  .home {
    min-height: 700px;

    padding: 145px 7% 80px;

    background-position: 60% center;
  }

  .home-heading {
    font-size: clamp(2.3rem, 11vw, 4rem);

    letter-spacing: -2px;
  }

  .home-sub-heading {
    font-size: 0.95rem;
  }

  .home-buttons {
    width: 100%;

    flex-direction: column;
    align-items: stretch;
  }

  .home-buttons .btn {
    width: 100%;
    max-width: 360px;
  }

  /* About */

  .feature-section {
    padding: 75px 5%;
  }

  .feature-section .feature {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .feature-section .feature-image img {
    min-height: 300px;
  }

  /* Generic */

  .section {
    padding: 75px 5%;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Services */

  .service-grid {
    grid-template-columns: 1fr;

    max-width: 430px;

    margin-left: auto;
    margin-right: auto;
  }

  .flip-card,
  .flip-card-inner {
    min-height: 430px;
  }

  /* Stats */

  .stats-section {
    padding: 75px 5%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
  }

  .stat-item {
    min-height: 155px;

    padding: 22px 10px;
  }

  .stat-number {
    font-size: 2.3rem;
  }

  .stat-description {
    font-size: 0.75rem;
  }

  /* Contact */

  .contact-grid {
    grid-template-columns: 1fr;

    max-width: 430px;

    margin: 0 auto;
  }
}

/* =========================================================
      SMALL MOBILE
      ========================================================= */

@media (max-width: 480px) {
  .brand-name {
    display: inline;
    font-size: 0.78rem;
    letter-spacing: -0.4px;
  }

  .logo {
    height: 30px;
  }

  .brand {
    gap: 6px;
  }

  .home {
    min-height: 650px;
  }

  .home-heading {
    font-size: 2.25rem;

    letter-spacing: -1.5px;
  }

  .home-sub-heading {
    font-size: 0.9rem;
  }

  .feature-section .section-heading {
    font-size: 2rem;
  }

  .service-grid {
    max-width: 100%;
  }

  .flip-card,
  .flip-card-inner {
    min-height: 410px;
  }

  .flip-card-front,
  .flip-card-back {
    padding: 25px 22px;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .flip-card-back .card-title {
    font-size: 1.25rem;
  }

  .service-card-image {
    height: 140px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-heading {
    font-size: 1.8rem;
  }

  .clients {
    padding: 65px 0;
  }

  .client-logo {
    width: 130px;
    height: 60px;

    margin: 0 16px;
  }
}

/* =========================================================
      EXTRA SMALL
      ========================================================= */

@media (max-width: 350px) {
  .brand-name {
    font-size: 0.68rem;
  }

  .logo {
    height: 27px;
  }

  .brand {
    gap: 5px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    min-height: 130px;
  }

  .home-heading {
    font-size: 2rem;
  }
}

/* =========================================================
      ACCESSIBILITY / MOTION
      ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .client-logo-grid {
    animation: none;
  }
}

/* =========================================================
   FOOTER + LEGAL PAGES
   ========================================================= */

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255, 209, 102, 0.16);
}

.footer-container {
  display: grid;
  grid-template-columns:
    minmax(240px, 1.5fr) minmax(150px, 0.8fr) minmax(320px, 1.5fr)
    minmax(190px, 0.9fr);
  gap: 40px;
  padding-top: 55px;
  padding-bottom: 45px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.footer-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand h3,
.footer-links h4,
.footer-contact h4,
.footer-address h4 {
  margin: 0 0 12px;
  color: #fff;
}

.footer-brand h3 {
  font-size: 1.1rem;
}

.footer-brand p {
  margin: 0;
  max-width: 420px;
  line-height: 1.7;
}

.footer-links,
.footer-contact,
.footer-address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links a,
.footer-contact a,
.footer-address a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-links a {
  margin: 5px 0;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-address a:hover {
  color: var(--gold-bright);
}

.footer-links a:hover,
.footer-address a:hover {
  transform: translateX(3px);
}

.footer-contact {
  min-width: 0;
}

.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.footer-contact-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact-label {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-contact-inline {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-contact-inline a {
  margin: 0;
  font-size: 0.88rem;
  white-space: nowrap;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  font-size: 1rem;
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.footer-social-btn:hover {
  color: #111 !important;
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-address {
  justify-self: end;
  max-width: 220px;
}

.footer-address a {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.52);
}

.footer-address h4 {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(230, 57, 70, 0.15), transparent 35%),
    linear-gradient(135deg, var(--black), var(--dark));
  color: rgba(255, 255, 255, 0.82);
}

.legal-main {
  padding: 150px 0 80px;
}

.legal-shell {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(24, 27, 34, 0.92);
  border: 1px solid rgba(255, 209, 102, 0.14);
  border-radius: 22px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.32);
  padding: 52px;
}

.legal-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.legal-title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 12px;
}

.legal-updated {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 40px;
}

.legal-content h2 {
  color: #fff;
  font-size: 1.35rem;
  margin: 32px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content a {
  color: var(--gold-bright);
}

.legal-back {
  display: inline-flex;
  margin-top: 34px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.legal-back:hover {
  color: var(--gold-bright);
}

@media (max-width: 1100px) {
  .footer-container {
    grid-template-columns: 1.3fr 1fr;
    gap: 35px;
  }

  .footer-address {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-address {
    justify-self: start;
    max-width: 280px;
  }

  .footer-contact-inline {
    gap: 10px 18px;
  }

  .legal-main {
    padding: 120px 0 55px;
  }

  .legal-shell {
    padding: 32px 24px;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .legal-title {
    font-size: 2.15rem;
  }

  .footer-container {
    padding-top: 42px;
    padding-bottom: 35px;
  }
}
