/* Premium Printing Services Website - Global Styles */
:root {
  --bg: #ffffff;
  --bg-2: #f1f8ff;
  --surface: rgb(255, 255, 255);
  --surface-2: rgba(255, 255, 255, 0.96);
  --border: rgba(37, 99, 235, 0.16);
  --border-2: rgba(22, 163, 74, 0.16);
  --text: rgba(11, 18, 32, 0.92);
  --muted: rgba(11, 18, 32, 0.68);
  --muted-2: rgba(11, 18, 32, 0.52);
  --gold: #16a34a;
  --gold-2: #2563eb;
  --accent: #2563eb;
  --danger: #ff6b6b;
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 40px rgba(15, 23, 42, 0.09);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1200px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ring: 0 0 0 4px rgba(22, 163, 74, 0.18);
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  background: #ffffff;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

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

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

::selection {
  background: rgba(255, 255, 255, 0.18);
}

/* Layout helpers */
.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 86px 0;
  position: relative;
}

.section.compact {
  padding: 70px 0;
}

.section.theme-blue {
  --text: rgba(11, 18, 32, 0.94);
  --muted: rgba(11, 18, 32, 0.76);
  --muted-2: rgba(11, 18, 32, 0.6);
  background: rgba(34, 197, 94, 0.08);
}

.section.theme-blue .section-divider {
  background: var(--border);
  opacity: 0.85;
}

.section.theme-green {
  --text: rgba(11, 18, 32, 0.94);
  --muted: rgba(11, 18, 32, 0.76);
  --muted-2: rgba(11, 18, 32, 0.6);
  background: rgba(34, 197, 94, 0.08);
  border-top: 1px solid rgba(34, 197, 94, 0.14);
  border-bottom: 1px solid rgba(34, 197, 94, 0.14);
}

.section.theme-green .section-divider {
  background: rgba(34, 197, 94, 0.08);
  opacity: 0.65;
}

.section.theme-green .divider-line {
  background: #22c55e;
}

.section.theme-green :where(.btn, .card, .feature, .stat, .tag, .pill, .input, textarea, .icon-btn) {
  --text: rgba(11, 18, 32, 0.92);
  --muted: rgba(11, 18, 32, 0.68);
  --muted-2: rgba(11, 18, 32, 0.52);
}

.section.theme-purple {
  --text: rgba(11, 18, 32, 0.94);
  --muted: rgba(11, 18, 32, 0.76);
  --muted-2: rgba(11, 18, 32, 0.6);
  background: rgba(139, 92, 246, 0.08);
  border-top: 1px solid rgba(139, 92, 246, 0.14);
  border-bottom: 1px solid rgba(139, 92, 246, 0.14);
}

.section.theme-purple .section-divider {
  background: rgba(139, 92, 246, 0.08);
  opacity: 0.65;
}

.section.theme-orange {
  --text: rgba(11, 18, 32, 0.94);
  --muted: rgba(11, 18, 32, 0.76);
  --muted-2: rgba(11, 18, 32, 0.6);
  background: rgba(251, 146, 60, 0.08);
  border-top: 1px solid rgba(251, 146, 60, 0.14);
  border-bottom: 1px solid rgba(251, 146, 60, 0.14);
}

.section.theme-orange .section-divider {
  background: rgba(251, 146, 60, 0.08);
  opacity: 0.65;
}

.section.theme-pink {
  --text: rgba(11, 18, 32, 0.94);
  --muted: rgba(11, 18, 32, 0.76);
  --muted-2: rgba(11, 18, 32, 0.6);
  background: rgba(236, 72, 153, 0.08);
  border-top: 1px solid rgba(236, 72, 153, 0.14);
  border-bottom: 1px solid rgba(236, 72, 153, 0.14);
}

.section.theme-pink .section-divider {
  background: rgba(236, 72, 153, 0.08);
  opacity: 0.65;
}

.section.theme-purple .divider-line {
  background: #22c55e;
}

.section.theme-purple :where(.btn, .card, .feature, .stat, .tag, .pill, .input, textarea, .icon-btn) {
  --text: rgba(11, 18, 32, 0.92);
  --muted: rgba(11, 18, 32, 0.68);
  --muted-2: rgba(11, 18, 32, 0.52);
}

.section.theme-orange .divider-line {
  background: #22c55e;
}

.section.theme-orange :where(.btn, .card, .feature, .stat, .tag, .pill, .input, textarea, .icon-btn) {
  --text: rgba(11, 18, 32, 0.92);
  --muted: rgba(11, 18, 32, 0.68);
  --muted-2: rgba(11, 18, 32, 0.52);
}

.section.theme-pink .divider-line {
  background: #22c55e;
}

.section.theme-pink :where(.btn, .card, .feature, .stat, .tag, .pill, .input, textarea, .icon-btn) {
  --text: rgba(11, 18, 32, 0.92);
  --muted: rgba(11, 18, 32, 0.68);
  --muted-2: rgba(11, 18, 32, 0.52);
}

.section-divider {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(34, 197, 94, 0.08);
  opacity: 0.9;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}

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

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

@media (max-width: 980px) {
  .grid.two {
    grid-template-columns: 1fr;
  }
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .section {
    padding: 70px 0;
  }
  .grid.three {
    grid-template-columns: 1fr;
  }
  .grid.four {
    grid-template-columns: 1fr;
  }
}

/* Typography */
.kicker {
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(22, 163, 74, 0.92);
  font-size: 12px;
}

.script {
  font-family: "Great Vibes", "Allura", "Segoe Script", cursive;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(37, 99, 235, 0.92);
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  line-height: 1.12;
}

h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(38px, 4.4vw, 66px);
  letter-spacing: -0.02em;
}

h2 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(28px, 3.1vw, 40px);
  letter-spacing: -0.02em;
}

h3 {
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

.lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 62ch;
}

.muted {
  color: var(--muted-2);
}

/* Header / Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(37, 99, 235, 0.14);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark {
  width: 250px;
  height: 120px;
  background-image: url('../img/hafiz-logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  overflow: hidden;
}



.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 13px;
  color: rgba(11, 18, 32, 0.72);
  padding: 10px 12px;
  border-radius: 999px;
  position: relative;
  transition: color 220ms var(--ease), transform 220ms var(--ease), background-color 220ms var(--ease);
}

.nav-links a:hover {
  color: rgba(11, 18, 32, 0.92);
  background: rgba(22, 163, 74, 0.08);
  transform: translateY(-1px);
}

.nav-links a[aria-current="page"] {
  color: rgba(11, 18, 32, 0.92);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.nav-links a:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(37, 99, 235, 0.14);
  color: rgba(11, 18, 32, 0.88);
  cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.menu-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(22, 163, 74, 0.22);
}

.menu-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring), var(--shadow-soft);
}

.menu-btn svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 980px) {
  .menu-btn {
    display: grid;
    place-items: center;
  }
  .nav-links {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: calc(var(--header-h) + 14px);
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(37, 99, 235, 0.16);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: translateX(-50%) translateY(-10px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms var(--ease), transform 220ms var(--ease);
    max-width: 300px;
    width: calc(100% - 40px);
  }
  .nav-links.open {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
  }
  .nav-links a {
    background: rgba(37, 99, 235, 0.05);
  }
  
  .nav-search {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms var(--ease),
    border-color 220ms var(--ease), color 220ms var(--ease), filter 220ms var(--ease);
  user-select: none;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  border-color: rgba(37, 99, 235, 0.22);
  background-color: rgba(37, 99, 235, 0.04);
}

.btn:active {
  transform: translateY(0) scale(0.99);
  filter: brightness(0.99);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring), 0 14px 34px rgba(15, 23, 42, 0.12);
}

.btn.primary {
  border-color: rgba(22, 163, 74, 0.25);
  background: #16a34a;
  color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 60px rgba(22, 163, 74, 0.18);
}

.btn.primary:hover {
  box-shadow: 0 28px 80px rgba(22, 163, 74, 0.22);
  transform: translateY(-1px) scale(1.03);
  filter: saturate(1.03) brightness(1.01);
}

.btn.secondary {
  border-color: rgba(37, 99, 235, 0.22);
  background: rgba(37, 99, 235, 0.1);
  color: rgba(29, 78, 216, 0.92);
}

.btn.secondary:hover {
  border-color: rgba(22, 163, 74, 0.18);
  background: rgba(37, 99, 235, 0.14);
}

/* Cards */
.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease),
    filter 300ms var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(500px 250px at 18% 8%, rgba(22, 163, 74, 0.14), transparent 60%),
    radial-gradient(500px 250px at 85% 15%, rgba(37, 99, 235, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.4));
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(22, 163, 74, 0.22);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.14);
}

.card:hover::before {
  opacity: 1;
}

[data-press].pressed {
  transform: translateY(-2px) scale(0.995);
  filter: brightness(0.98);
}

.card:focus-within {
  outline: none;
  box-shadow: var(--shadow), var(--ring);
}

.card-inner {
  position: relative;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: rgba(11, 18, 32, 0.74);
}

.tag .spark {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.92);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

.card p {
  margin: 0;
}

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

/* Image placeholders */
.image-placeholder {
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  border: 1px dashed rgba(37, 99, 235, 0.28);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.92));
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 250px at 20% 25%, rgba(22, 163, 74, 0.16), transparent 65%),
    radial-gradient(450px 280px at 78% 15%, rgba(37, 99, 235, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  opacity: 0.9;
}

.image-placeholder::after {
  content: "IMAGE PLACEHOLDER";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Cinzel", Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: rgba(11, 18, 32, 0.52);
  text-transform: uppercase;
  padding: 20px;
  text-align: center;
}

.image-placeholder.tall {
  aspect-ratio: 4 / 5;
  min-height: 340px;
}

.image-placeholder.banner {
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.image-placeholder.card {
  border-radius: 14px;
  aspect-ratio: 16 / 11;
  min-height: 160px;
  border-style: solid;
  border-color: rgba(37, 99, 235, 0.16);
}

.card img.card {
  border-radius: 14px;
  aspect-ratio: 16 / 11;
  min-height: 160px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-style: solid;
  border-color: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(37, 99, 235, 0.16);
  padding: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.card:hover .image-placeholder.card {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.08) contrast(1.02);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.card:hover img.card {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.08) contrast(1.02);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.image-hover {
  transition: transform 350ms var(--ease), filter 350ms var(--ease), box-shadow 350ms var(--ease);
}

/* Hero */
.hero {
  padding: 90px 0 70px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 450px at 22% 18%, rgba(22, 163, 74, 0.14), transparent 62%),
    radial-gradient(1000px 500px at 80% 10%, rgba(37, 99, 235, 0.14), transparent 56%);
  opacity: 0.8;
}

.hero.hero-image {
  isolation: isolate;
  background: url("../img/main-background.png") center / cover no-repeat;
}

.hero.hero-image::before {
  background: linear-gradient(180deg, rgba(3, 10, 22, 0.3), rgba(3, 10, 22, 0.2));
  opacity: 1;
}

.hero.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1200px 520px at 50% 25%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1));
  opacity: 1;
}

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

.hero.hero-image .image-placeholder.banner {
  display: none;
}

.hero.hero-image .hero-card {
  padding: 64px 22px;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero.hero-image .hero-card::after {
  opacity: 0;
}

.hero.hero-image .hero-content {
  text-align: center;
  justify-items: center;
}

.hero.hero-image .kicker {
  color: rgba(255, 255, 255, 0.84);
}

.hero.hero-image h1 {
  color: rgba(255, 255, 255, 0.96);
  max-width: 16ch;
}

.hero.hero-image .script {
  color: rgba(255, 255, 255, 0.9);
}

.hero.hero-image .hero-sub {
  color: rgba(255, 255, 255, 0.78);
}

.hero.hero-image .stats {
  margin-top: 22px;
}

.hero.hero-image .stat {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
}

.hero.hero-image .stat:hover {
  border-color: rgba(22, 163, 74, 0.32);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.hero.hero-image .stat .num {
  color: rgba(255, 255, 255, 0.96);
}

.hero.hero-image .stat .lbl {
  color: rgba(255, 255, 255, 0.68);
}

.hero.hero-image .btn.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}

.hero.hero-image .btn.secondary:hover {
  border-color: rgba(22, 163, 74, 0.28);
  background: rgba(22, 163, 74, 0.12);
}

#form .grid.two {
  align-items: start;
}

.hero .container {
  position: relative;
}

.hero-card {
  border-radius: 28px;
  padding: 28px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(700px 380px at 10% 10%, rgba(22, 163, 74, 0.14), transparent 55%),
    radial-gradient(700px 380px at 85% 22%, rgba(37, 99, 235, 0.12), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  gap: 14px;
}

.hero h1 {
  margin-bottom: 6px;
}

.hero-sub {
  font-size: 16px;
  color: rgba(11, 18, 32, 0.7);
  max-width: 70ch;
}

.hero-actions {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: rgba(11, 18, 32, 0.74);
  font-size: 12px;
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), background-color 240ms var(--ease);
}

.pill:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 163, 74, 0.2);
  background: rgba(22, 163, 74, 0.06);
}

.pill svg {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

/* Section headers */
.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.section-head .row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.section-head .row .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section-head p {
  margin: 0;
  max-width: 75ch;
}

.divider-line {
  height: 1px;
  background: #22c55e;
  margin-top: 8px;
}

/* Feature list */
.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.feature {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), background-color 260ms var(--ease);
}

.feature:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 163, 74, 0.2);
  background: rgba(22, 163, 74, 0.06);
}

.feature .tick {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.92);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
  margin-top: 2px;
}

.feature strong {
  color: var(--text);
  font-size: 13px;
  display: block;
  margin-bottom: 2px;
}

.feature span {
  color: rgba(11, 18, 32, 0.64);
  font-size: 13px;
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stat {
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: rgba(255, 255, 255, 0.78);
  padding: 16px;
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}

.stat:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 163, 74, 0.2);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
}

.stat .num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  color: rgba(11, 18, 32, 0.92);
  letter-spacing: -0.02em;
}

.stat .lbl {
  margin-top: 4px;
  color: rgba(11, 18, 32, 0.62);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* Forms */
form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: rgba(11, 18, 32, 0.72);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.input,
textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(11, 18, 32, 0.9);
  outline: none;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), transform 220ms var(--ease),
    background-color 220ms var(--ease);
}

.input:hover,
textarea:hover {
  border-color: rgba(22, 163, 74, 0.22);
}

.input:focus,
textarea:focus {
  box-shadow: var(--ring);
  border-color: rgba(22, 163, 74, 0.32);
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.96);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 980px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  form .btn {
    width: 100%;
  }
}

.section.theme-green .field label {
  color: rgba(255, 255, 255, 0.86);
}

.section.theme-green .muted {
  color: rgba(255, 255, 255, 0.72);
}

/* Portfolio Gallery */
.portfolio-gallery {
  position: relative;
  padding: var(--space-lg) 0;
}

.gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 180px;
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  height: 180px;
  padding-bottom: 30px;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 30px;
}

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

.image-placeholder.gallery {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  background: rgba(22, 163, 74, 0.1);
  border: 3px solid rgba(255, 255, 255, 0.8);
  transition: background 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gallery img.gallery {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.image-placeholder.gallery:hover {
  background: rgba(22, 163, 74, 0.2);
}

.gallery img.gallery:hover {
  transform: scale(1.05);
  border-color: rgba(22, 163, 74, 0.6);
}

.service-name {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 500;
  color: rgba(37, 99, 235, 0.9);
  text-align: center;
  max-width: 140px;
  line-height: 1.2;
  padding: 0 2px;
  word-wrap: break-word;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 10px;
}

/* Search Bar */
.nav-search {
  position: relative;
  display: flex;
  align-items: center;
}

.search-container {
  display: flex;
  align-items: center;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 25px;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.search-container:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.5);
}

.search-input {
  background: transparent;
  border: none;
  color: #1f2937;
  padding: 4px 8px;
  font-size: 14px;
  width: 200px;
  outline: none;
}

.search-input::placeholder {
  color: #6b7280;
}

.search-btn {
  background: rgba(37, 99, 235, 0.2);
  border: none;
  color: #2563eb;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: rgba(37, 99, 235, 0.3);
  color: #1d4ed8;
}

.search-results {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  min-width: 280px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  margin-top: 8px;
}

.search-result-item {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-result-item:hover {
  background: rgba(37, 99, 235, 0.05);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-name {
  font-weight: 500;
  color: #1f2937;
  font-size: 14px;
  margin-bottom: 2px;
}

.search-result-category {
  font-size: 12px;
  color: #6b7280;
}

.search-no-results {
  padding: 16px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

/* Navigation Buttons */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: rgba(37, 99, 235, 0.8);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-nav:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.5);
  color: rgba(37, 99, 235, 1);
  transform: translateY(-50%) scale(1.05);
}

.gallery-nav.prev {
  left: -20px;
}

.gallery-nav.next {
  right: -20px;
}

/* Show only 5 items at a time */
.portfolio-gallery {
  position: relative;
  padding: var(--space-lg) 60px;
  overflow: visible;
  width: 100%;
}

.gallery-wrapper {
  position: relative;
  width: 100%;
  max-width: calc(240px * 5 + 1.5rem * 4 + 100px);
  margin: 0 auto;
}

/* Footer */
.footer {
  padding: 68px 0 24px;
  border-top: 1px solid rgba(34, 197, 94, 0.14);
  background: rgba(34, 197, 94, 0.03);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

.footer h3 {
  margin-bottom: 10px;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer a {
  color: rgba(11, 18, 32, 0.72);
  font-size: 13px;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 220ms var(--ease), transform 220ms var(--ease);
}

.footer a:hover {
  color: rgba(37, 99, 235, 0.92);
  transform: translateX(2px);
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.14);
  color: rgba(29, 78, 216, 0.92);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease),
    background-color 220ms var(--ease);
}

.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
  border-color: rgba(22, 163, 74, 0.22);
  background: rgba(22, 163, 74, 0.06);
  color: rgba(22, 163, 74, 0.92);
}

.icon-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring), 0 18px 60px rgba(15, 23, 42, 0.12);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(37, 99, 235, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(11, 18, 32, 0.56);
  font-size: 12px;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms var(--ease-soft), transform 800ms var(--ease-soft);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Subpage hero */
.page-hero {
  padding: 72px 0 10px;
}

.page-hero .wrap {
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
  box-shadow: var(--shadow-soft);
}

.breadcrumbs {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: rgba(11, 18, 32, 0.62);
  font-size: 13px;
}

.breadcrumbs a {
  color: rgba(11, 18, 32, 0.74);
  transition: color 220ms var(--ease);
}



.section:nth-child(even) {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  padding: 60px 0;
}

/* Dark background only for customized products page */
html[data-page="customized-products"] body {
  background: linear-gradient(135deg, #1e293b 0%, #03224e 100%);
}

/* Fix search bar positioning on customized products page */
html[data-page="customized-products"] .nav-search {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Fix search bar positioning on contact page */
html[data-page="contact"] .nav-search {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.section:nth-child(even) .section-head h3,
.section:nth-child(even) .section-head p {
  color: black
}

.section:nth-child(even) .card-inner h3 {
  color: black;
}

.section:nth-child(odd) .section-head h3,
.section:nth-child(odd) .section-head p {
  color: rgb(239, 220, 5);

}

.section:nth-child(odd) .card-inner h3 {
  color: black
}

.section:nth-child(odd) .kicker {
  color: #ffffff;
}

.section:nth-child(even) .kicker {
  color: #ffffff;
}

.section:nth-child(even) .card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section:nth-child(even) .card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.breadcrumbs a:hover {
  color: rgba(22, 163, 74, 0.92);
}

/* Utility */
.space-top {
  margin-top: 16px;
}

.center {
  text-align: center;
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(22, 163, 74, 0.96);
  color: rgba(255, 255, 255, 0.98);
  transform: translateY(-120%);
  transition: transform 220ms var(--ease);
  z-index: 60;
}

.skip-link:focus {
  transform: translateY(0);
}
