/* ============================================================
   Ziya Digital Solution — Global Stylesheet
   Brand palette:
     Navy  #0B1F45   Gold  #D9A21B   White #FFFFFF
     Light #F5F7FA   Text  #182235
   Edit colours in one place via the CSS variables below.
   ============================================================ */

:root {
  --navy: #0B1F45;
  --navy-dark: #081733;
  --gold: #D9A21B;
  --gold-soft: #f3d27a;
  --white: #ffffff;
  --light: #F5F7FA;
  --text: #182235;
  --muted: #5b6577;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(11, 31, 69, 0.10);
  --transition: all 0.25s ease;
  --max-width: 1180px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
}

section {
  padding: 84px 0;
}

.section-light {
  background: var(--light);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-lead {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 44px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  position: relative;
  overflow: hidden;
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 18px rgba(217, 162, 27, 0.25);
}

.btn-gold::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -70%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(25deg);
  transition: left 0.7s ease;
}

.btn-gold:hover {
  background: var(--gold-soft);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(217, 162, 27, 0.42);
}

.btn-gold:hover::after {
  left: 140%;
}

.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(217, 162, 27, 0.3);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(11, 31, 69, 0.25);
}

.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(11, 31, 69, 0.35);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(11, 31, 69, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 22px;
  max-width: var(--max-width);
  margin: 0 auto;
  transition: padding 0.35s ease;
}

.site-header.scrolled .header-inner {
  padding: 10px 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.25s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--navy);
  padding: 0;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand:hover img {
  transform: rotate(4deg) scale(1.06);
}

.brand-name {
  color: var(--white);
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.15;
}

.brand-name span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.main-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
  border-bottom: none;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-cta {
  white-space: nowrap;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  position: relative;
  z-index: 101;
  transition: var(--transition);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--gold);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease, background 0.28s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Header White Variant (Home Page) ---------- */
.site-header.header-white {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(11, 31, 69, 0.08);
}

.site-header.header-white.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(11, 31, 69, 0.12);
}

.site-header.header-white .brand img {
  background: transparent;
}

.site-header.header-white .brand-name {
  color: var(--navy);
}

.site-header.header-white .brand-name span {
  color: var(--gold);
}

.site-header.header-white .main-nav a {
  color: var(--navy);
  font-weight: 600;
}

.site-header.header-white .main-nav a:hover,
.site-header.header-white .main-nav a.active {
  color: var(--gold);
}

.site-header.header-white .main-nav a::after {
  background: var(--gold);
}

.site-header.header-white .nav-toggle span {
  background: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #123061 100%);
  color: var(--white);
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}

/* ---- Canvas animated background (home hero only) ---- */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* Semi-transparent overlay so text stays readable */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(8, 23, 51, 0.78) 0%,
    rgba(11, 31, 69, 0.65) 50%,
    rgba(18, 48, 97, 0.72) 100%
  );
  pointer-events: none;
}

/* Decorative gold shapes */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 162, 27, 0.22), transparent 65%);
}

.hero::before {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -100px;
}

.hero::after {
  width: 320px;
  height: 320px;
  bottom: -120px;
  left: -90px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(217, 162, 27, 0.12);
  border: 1px solid rgba(217, 162, 27, 0.35);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 2s infinite;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 .gold,
.gold-gradient {
  background: linear-gradient(135deg, #f7d788 0%, var(--gold) 50%, #b8830b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(217, 162, 27, 0.2);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Attractive Hero Image Setup */
.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow-sphere {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 162, 27, 0.28) 0%, rgba(11, 31, 69, 0) 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: floatGlow 8s ease-in-out infinite alternate;
}

.hero-image-card {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(11, 31, 69, 0.55));
  border: 1px solid rgba(217, 162, 27, 0.38);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 35px rgba(217, 162, 27, 0.15);
  animation: floatSlow 6s ease-in-out infinite;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-image-card:hover {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 50px rgba(217, 162, 27, 0.25);
}

.hero-image-card img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 20px;
  display: block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Floating Glass Badges */
.hero-float-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(8, 23, 51, 0.88);
  border: 1px solid rgba(217, 162, 27, 0.45);
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(217, 162, 27, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  white-space: nowrap;
  pointer-events: none;
}

.hero-float-badge .badge-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.hero-float-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gold);
  line-height: 1.2;
}

.hero-float-badge small {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.badge-top {
  top: -16px;
  right: -16px;
  animation: floatBadge1 5s ease-in-out infinite;
}

.badge-bottom {
  bottom: -16px;
  left: -20px;
  animation: floatBadge2 6s ease-in-out infinite;
}

.hero-visual {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(217, 162, 27, 0.35);
  border-radius: 20px;
  padding: 34px;
  backdrop-filter: blur(4px);
}

.hero-visual img {
  width: 150px;
  margin: 0 auto 18px;
  border-radius: 16px;
}

.hero-visual p {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Cards / grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-top-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 42px rgba(11, 31, 69, 0.14), 0 0 20px rgba(217, 162, 27, 0.12);
  border-top-color: var(--gold-soft);
}

.card .icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover .icon {
  transform: scale(1.22) rotate(6deg);
}

.card h3 {
  color: var(--navy);
  font-size: 1.18rem;
  margin-bottom: 10px;
  transition: color 0.25s ease;
}

.card:hover h3 {
  color: #123061;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Why choose us ---------- */
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 3px solid transparent;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-left-color 0.35s ease;
}

.why-item:hover {
  transform: translateY(-5px) translateX(4px);
  box-shadow: 0 16px 36px rgba(11, 31, 69, 0.12);
  border-left: 4px solid var(--gold);
}

.why-item .icon {
  font-size: 1.6rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-item:hover .icon {
  transform: scale(1.2) rotate(-8deg);
}

.why-item h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.why-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Process timeline ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px rgba(11, 31, 69, 0.14);
}

.process-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(11, 31, 69, 0.25);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.process-step:hover .num {
  transform: scale(1.18) rotate(12deg);
  background: var(--gold);
  color: var(--navy-dark);
}

.process-step h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.process-step p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Portfolio ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 31, 69, 0.22);
}

.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(11, 31, 69, 0.16);
}

.portfolio-thumb {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--navy), #16407e);
  transition: transform 0.4s ease;
  overflow: hidden;
}

.portfolio-item:hover .portfolio-thumb {
  transform: scale(1.04);
}

.portfolio-body {
  padding: 22px;
}

.portfolio-body .tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.portfolio-body h3 {
  color: var(--navy);
  margin: 6px 0;
  transition: color 0.25s ease;
}

.portfolio-item:hover .portfolio-body h3 {
  color: #123061;
}

.portfolio-body p {
  color: var(--muted);
  font-size: 0.92rem;
}

.sample-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 30px;
  font-style: italic;
}

/* ---------- FAQ accordion ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question::after {
  content: "+";
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 700;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  text-align: center;
  border-radius: 22px;
  padding: 64px 30px;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Services detail ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}

.service-block:nth-child(even) .service-text {
  order: 2;
}

.service-icon {
  background: linear-gradient(135deg, var(--navy), #16407e);
  border-radius: 20px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.service-block:hover .service-icon {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 45px rgba(11, 31, 69, 0.2), 0 0 25px rgba(217, 162, 27, 0.15);
}

.service-text h2 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-text p {
  color: var(--muted);
  margin-bottom: 16px;
}

.service-text ul li {
  padding: 5px 0 5px 26px;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}

.service-text ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.service-text .btn {
  margin-top: 18px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
}

.contact-info-card h2 {
  margin-bottom: 18px;
}

.contact-line {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.contact-line .icon {
  color: var(--gold);
  font-size: 1.2rem;
}

.contact-line a {
  color: var(--white);
}

.contact-line a:hover {
  color: var(--gold);
}

.contact-line small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 8px;
  background: #25d366;
  color: var(--white);
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* Form */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6dce6;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 162, 27, 0.2);
}

.form-status {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0;
  border-radius: 8px;
}

.form-status.error {
  color: #b3261e;
  background: rgba(179, 38, 30, 0.07);
  padding: 12px 16px;
  border: 1px solid rgba(179, 38, 30, 0.2);
}

.form-status.success {
  color: #166534;
  background: rgba(22, 101, 52, 0.08);
  padding: 12px 16px;
  border: 1px solid rgba(22, 101, 52, 0.25);
}

/* Inline field validation error text */
.field-error {
  display: block;
  font-size: 0.82rem;
  color: #b3261e;
  font-weight: 500;
  margin-top: 4px;
  min-height: 1.1em;
}

/* Red border when a field is invalid */
.form-row input.input-invalid,
.form-row textarea.input-invalid {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}

/* Required asterisk colour */
.field-required {
  color: #b3261e;
  margin-left: 2px;
}

/* Loading / disabled submit button */
.btn-gold:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Mobile — contact grid stacks to single column */
@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 24px 16px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
}

.footer-grid h3 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  padding: 4px 0;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-brand img {
  width: 54px;
  border-radius: 10px;
  background: var(--navy-dark);
  padding: 0;
  margin-bottom: 12px;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Interactive Animations & Effects ---------- */

/* Keyframe Definitions */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatGlow {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(30px, -20px) scale(1.15);
    opacity: 0.9;
  }
  100% {
    transform: translate(-20px, 20px) scale(0.95);
    opacity: 0.7;
  }
}

@keyframes floatBadge1 {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1.5deg);
  }
}

@keyframes floatBadge2 {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(8px) rotate(-1.5deg);
  }
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes countPop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  80% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pageHeroIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Hero Animations */
.page-hero h1 {
  animation: pageHeroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-hero p {
  animation: pageHeroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* Scroll-Triggered Reveal Classes */
.reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.revealed {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* Showcase Grid & Feature Badges ("Who We Are") */
.showcase-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.showcase-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-card {
  position: relative;
  border-radius: 26px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(217, 162, 27, 0.08), rgba(11, 31, 69, 0.04));
  border: 1px solid rgba(217, 162, 27, 0.35);
  box-shadow: 0 20px 48px rgba(11, 31, 69, 0.12), 0 0 24px rgba(217, 162, 27, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.showcase-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 26px 56px rgba(11, 31, 69, 0.16), 0 0 35px rgba(217, 162, 27, 0.18);
}

.showcase-card img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 18px;
  display: block;
}

.feature-check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 32px;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.check-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(217, 162, 27, 0.18);
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 2px;
}

.feature-check-item div strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 2px;
}

.feature-check-item div p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Stats Strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(11, 31, 69, 0.1);
}

.stat-box {
  text-align: center;
  background: var(--white);
  padding: 18px 12px;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(11, 31, 69, 0.06);
  border: 1px solid rgba(11, 31, 69, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  display: block;
}

.stat-num span {
  color: var(--gold);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: block;
}

/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(11, 31, 69, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 30px rgba(217, 162, 27, 0.45);
}

/* ============================================================
   Responsive Stylesheet & Mobile View Optimizations
   Breakpoints:
     - 900px: Tablets & iPad landscape
     - 768px: Tablets portrait & large phones
     - 480px: Standard mobile phones (iPhone, Galaxy)
     - 360px: Small mobile phones
   ============================================================ */

/* ---------- Tablet Landscape / Medium Screens (<= 900px) ---------- */
@media (max-width: 900px) {
  .grid-3,
  .process,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero p {
    margin: 0 auto 28px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 32px;
  }

  .showcase-visual {
    display: flex;
    justify-content: center;
  }

  .service-block,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-block:nth-child(even) .service-text {
    order: 0;
  }
}

/* ---------- Mobile Menu & Tablet Portrait (<= 880px) ---------- */
@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    padding: 12px 18px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 23, 51, 0.98);
    display: none;
    padding: 18px 20px 24px;
    border-top: 1px solid rgba(217, 162, 27, 0.25);
    box-shadow: 0 16px 36px rgba(8, 23, 51, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: mobileNavFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes mobileNavFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .main-nav.open {
    display: block;
  }

  .site-header.header-white .main-nav {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 40px rgba(11, 31, 69, 0.16);
    border-top: 1px solid rgba(11, 31, 69, 0.08);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 1.02rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    transition: all 0.2s ease;
  }

  .site-header.header-white .main-nav a {
    color: var(--navy);
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(217, 162, 27, 0.15);
    color: var(--gold);
    padding-left: 20px;
  }

  .site-header.header-white .main-nav a:hover,
  .site-header.header-white .main-nav a.active {
    background: rgba(11, 31, 69, 0.06);
    color: var(--navy);
    padding-left: 20px;
  }

  .main-nav a::after {
    display: none;
  }
}

/* ---------- Mobile View (<= 768px) ---------- */
@media (max-width: 768px) {
  section {
    padding: 54px 0;
  }

  .container {
    padding: 0 18px;
  }

  .section-title {
    font-size: clamp(1.6rem, 6.5vw, 2.1rem);
    margin-bottom: 12px;
  }

  .section-lead {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  /* Hero Section Mobile */
  .hero {
    padding: 68px 0 64px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.45rem);
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 6px 14px;
    margin-bottom: 16px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 12px;
    margin: 0 auto 26px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    padding: 13px 20px;
    font-size: 0.94rem;
  }

  .hero-trust {
    justify-content: center;
    gap: 10px 16px;
    padding-top: 16px;
  }

  .trust-item {
    font-size: 0.82rem;
  }

  .hero-glow-sphere {
    width: 240px;
    height: 240px;
  }

  .hero-image-card {
    padding: 8px;
    border-radius: 20px;
    max-width: 310px;
    margin: 0 auto;
  }

  .hero-float-badge {
    position: static;
    margin: 8px auto;
    padding: 8px 14px;
    font-size: 0.82rem;
    display: inline-flex;
    justify-content: center;
    width: auto;
    max-width: 280px;
  }

  .badge-top,
  .badge-bottom {
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    animation: none;
  }

  /* Grids & Cards Mobile */
  .grid-3,
  .grid-2,
  .process,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card {
    padding: 24px 20px;
  }

  .card .icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .why-item {
    padding: 18px;
    gap: 14px;
  }

  .process-step {
    padding: 24px 18px;
  }

  .process-step .num {
    width: 48px;
    height: 48px;
    font-size: 1rem;
    margin-bottom: 12px;
  }

  /* Stats Strip on Mobile (clean 3-column pill layout) */
  .stats-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 20px;
    margin-top: 24px;
  }

  .stat-box {
    padding: 12px 6px;
  }

  .stat-num {
    font-size: 1.45rem;
  }

  .stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }

  /* CTA Band Mobile */
  .cta-band {
    padding: 38px 20px;
    border-radius: 18px;
  }

  .cta-band h2 {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem);
    margin-bottom: 10px;
  }

  .cta-band p {
    font-size: 0.92rem;
    margin-bottom: 22px;
  }

  .cta-band .btn {
    width: 100%;
    max-width: 280px;
    padding: 13px 22px;
  }

  /* Services Detail Page Mobile */
  .page-hero {
    padding: 56px 0;
  }

  .page-hero h1 {
    font-size: clamp(1.7rem, 6.5vw, 2.2rem);
  }

  .service-block {
    margin-bottom: 36px;
  }

  .service-icon {
    min-height: 140px;
    font-size: 3rem;
    border-radius: 16px;
  }

  .service-text h2 {
    font-size: 1.3rem;
  }

  /* Contact Page Mobile */
  .contact-info-card {
    padding: 26px 20px;
  }

  .form-card {
    padding: 24px 18px;
  }

  /* 16px font-size prevents iOS Safari auto-zoom on input focus */
  .form-row input,
  .form-row select,
  .form-row textarea {
    font-size: 16px !important;
    padding: 12px 14px;
  }

  .whatsapp-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 13px;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 48px 0 0;
  }

  .footer-grid {
    gap: 26px;
    padding-bottom: 30px;
  }
}

/* ---------- Small Smartphone View (<= 480px) ---------- */
@media (max-width: 480px) {
  .header-inner {
    padding: 10px 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-name span {
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .stats-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stat-box {
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .stat-num {
    font-size: 1.6rem;
  }

  .stat-label {
    margin-top: 0;
    font-size: 0.8rem;
  }

  .filters {
    gap: 6px;
  }

  .filter-btn {
    padding: 7px 16px;
    font-size: 0.82rem;
  }
}

/* Home hero background image fallback (with non-blocking height) */
.home-hero {
  background: url('../assets/images/home-hero-bg.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(210deg, rgba(11,31,69,0.82), rgba(23,54,124,0.60));
  z-index: 1;
}
