/* ============================================================
   Kamal Engineers And Packagings — brand stylesheet
   Palette taken directly from the KEP logo:
   teal #0F7D6E (arc text) · green #2BA84A (wave)
   navy #17265E (KEP letters) · amber #F2A51D (accent)
   ============================================================ */

:root {
  /* Brand palette */
  --brand-teal: #0F7D6E;
  --brand-teal-dark: #0A5F53;
  --brand-teal-deep: #07443C;
  --brand-green: #2BA84A;
  --brand-green-dark: #1E8F3A;
  --brand-navy: #17265E;
  --brand-navy-deep: #0D1737;
  --brand-amber: #F2A51D;
  --brand-amber-dark: #D18A0A;

  /* Aliases used throughout */
  --primary-color: var(--brand-teal);
  --primary-dark: var(--brand-teal-dark);
  --secondary-color: var(--brand-green);
  --secondary-dark: var(--brand-green-dark);

  /* Surfaces & strokes */
  --surface-color: #ffffff;
  --surface-muted: #f2f9f6;
  --surface-soft: rgba(255, 255, 255, 0.8);
  --stroke-soft: rgba(15, 125, 110, 0.14);
  --shadow-soft: 0 22px 54px rgba(7, 68, 60, 0.09);
  --shadow-strong: 0 26px 70px rgba(7, 68, 60, 0.16);
  --radius-lg: 26px;
  --radius-xl: 34px;

  /* Text */
  --text-color: #142a26;
  --text-muted: rgba(20, 42, 38, 0.68);

  /* Typography */
  --font-primary: 'Manrope', sans-serif;
  --font-display: 'Sora', sans-serif;
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.65;
  background:
    radial-gradient(circle at top right, rgba(15, 125, 110, 0.08), transparent 30%),
    radial-gradient(circle at top left, rgba(43, 168, 74, 0.06), transparent 26%),
    linear-gradient(180deg, #f6fbf9 0%, #eef6f2 100%);
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--font-display);
  color: var(--brand-navy);
}

.display-4,
.display-5 {
  letter-spacing: -0.03em;
}

.lead {
  font-weight: 500;
}

.text-muted {
  color: var(--text-muted) !important;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

section {
  position: relative;
}

section.py-5 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

/* ---------- Bootstrap utility remap → brand palette ----------
   Redefining the RGB variables keeps bg-opacity-* tints working. */
:root,
[data-bs-theme=light] {
  --bs-primary: var(--brand-teal);
  --bs-primary-rgb: 15, 125, 110;
  --bs-success-rgb: 43, 168, 74;
  --bs-warning-rgb: 242, 165, 29;
  --bs-info-rgb: 23, 38, 94;
  --bs-danger-rgb: 192, 82, 41;
  --bs-link-color-rgb: 15, 125, 110;
  --bs-link-hover-color-rgb: 10, 95, 83;
}

/* Amber is too light for text on white — darken it (bright version is
   restored where it sits on dark backgrounds). */
.text-warning {
  color: var(--brand-amber-dark) !important;
}

.btn {
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-dark));
  border: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: linear-gradient(135deg, var(--brand-teal-dark), var(--brand-teal-deep));
  box-shadow: 0 10px 26px rgba(15, 125, 110, 0.32);
}

.btn-outline-primary {
  color: var(--brand-teal-dark);
  border-color: var(--brand-teal);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--brand-teal);
  border-color: var(--brand-teal);
  color: #fff;
}

.btn-success {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  border: none;
}

.btn-success:hover {
  background: linear-gradient(135deg, var(--brand-green-dark), #157029);
}

.btn-outline-success {
  color: var(--brand-green-dark);
  border-color: var(--brand-green);
}

.btn-outline-success:hover {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

.btn-outline-warning {
  color: var(--brand-amber-dark);
  border-color: var(--brand-amber);
}

.btn-outline-warning:hover {
  background-color: var(--brand-amber);
  border-color: var(--brand-amber);
  color: #fff;
}

.text-gradient-primary {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-secondary {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Navbar ---------- */
.navbar {
  margin: 14px auto 0;
  width: calc(100% - 24px);
  max-width: 1280px;
  border-radius: 22px;
  border: 1px solid rgba(15, 125, 110, 0.1);
  background: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 44px rgba(7, 68, 60, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  gap: 0.85rem;
}

.brand-logo {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
}

.brand-subtitle {
  color: var(--brand-teal);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1rem !important;
  position: relative;
  color: rgba(23, 38, 94, 0.82);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--brand-teal) !important;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-green));
  border-radius: 2px;
}

.navbar-cta .btn {
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(15, 125, 110, 0.24);
}

/* ---------- Hero ---------- */
.hero-section {
  min-height: 100vh;
  padding-top: 5rem;
  display: flex;
  align-items: center;
  background: linear-gradient(118deg, #f6fbf8 0%, #f6fbf8 57%, #0f7d6e 57%, #17265e 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(43, 168, 74, 0.1), transparent 18%),
    radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.12), transparent 22%);
  pointer-events: none;
}

.hero-section .container,
#founder .container,
.company-logos-section .container {
  position: relative;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 52%),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  opacity: 0.48;
  pointer-events: none;
}

.hero-row {
  min-height: calc(100svh - 92px) !important;
  padding-top: 0.75rem !important;
  padding-bottom: 1.5rem !important;
}

.hero-content {
  max-width: 610px;
  margin-top: 22px;
}

.hero-content h1 {
  font-size: clamp(3.1rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.hero-content h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  line-height: 1.06;
  margin-bottom: 1.5rem;
}

.hero-badge,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-badge {
  margin-bottom: 1.2rem;
  padding: 0.85rem 1.15rem;
  color: var(--brand-teal-dark);
  background: rgba(15, 125, 110, 0.08);
  border: 1px solid rgba(15, 125, 110, 0.18);
  box-shadow: 0 10px 24px rgba(15, 125, 110, 0.08);
}

.hero-badge i {
  color: var(--brand-amber);
}

.hero-intro {
  max-width: 540px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero-stats .stat-item {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 125, 110, 0.1);
  box-shadow: 0 14px 30px rgba(7, 68, 60, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-stats .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(7, 68, 60, 0.13);
}

.hero-buttons {
  gap: 0.9rem;
}

.hero-buttons .btn {
  border-radius: 18px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.hero-proof-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 125, 110, 0.1);
  color: var(--text-muted);
  box-shadow: 0 12px 28px rgba(7, 68, 60, 0.08);
  font-weight: 600;
}

.hero-proof-item i {
  color: var(--brand-green);
}

.hero-image {
  position: relative;
  top: -52px;
}

.hero-visual-frame {
  position: relative;
  padding: 1rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 28px 60px rgba(7, 30, 27, 0.24);
  backdrop-filter: blur(18px);
}

.hero-visual-badge {
  position: absolute;
  top: -18px;
  left: 24px;
  z-index: 2;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--brand-navy-deep);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(6, 14, 33, 0.3);
}

.hero-product-image {
  width: 100%;
  max-width: 500px;
  max-height: clamp(320px, 47vh, 470px);
  object-fit: contain;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 250, 246, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ---------- Section scaffolding ---------- */
.section-heading {
  max-width: 760px;
}

.section-heading .display-4 {
  color: var(--brand-navy) !important;
}

.section-heading .h2 {
  color: var(--brand-teal) !important;
}

.section-kicker {
  margin-bottom: 1rem;
  color: var(--brand-teal);
}

.section-kicker-light {
  color: rgba(255, 255, 255, 0.82);
}

#about,
.timeline-section,
#testimonials,
#contact {
  background: transparent !important;
}

#products,
#careers {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(238, 247, 242, 0.85));
}

/* ---------- Cards (global) ---------- */
.card {
  border-radius: 20px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(7, 68, 60, 0.12);
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin: 0 auto;
}

.content-panel {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--stroke-soft);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.section-showcase-image {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  padding: 1rem;
  border-radius: var(--radius-lg) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 248, 244, 0.86));
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-soft);
}

.about-logo-showcase {
  width: min(100%, 300px);
  max-height: 280px;
  margin: 0 auto;
  display: block;
  padding: 1.85rem;
}

.feature-item,
.benefit-item {
  height: 100%;
  border: 1px solid var(--stroke-soft);
  border-radius: 22px !important;
  box-shadow: 0 12px 28px rgba(7, 68, 60, 0.08);
}

/* "Why choose us" trio — brand gradient cards */
.card.bg-primary {
  background: linear-gradient(145deg, var(--brand-navy), #22399a) !important;
}

.card.bg-success {
  background: linear-gradient(145deg, var(--brand-teal), var(--brand-teal-dark)) !important;
}

.card.bg-warning {
  background: linear-gradient(145deg, var(--brand-green), var(--brand-green-dark)) !important;
}

.card.bg-primary .card-title,
.card.bg-success .card-title,
.card.bg-warning .card-title {
  color: #fff;
}

/* ---------- Founder ---------- */
#founder {
  background: linear-gradient(135deg, var(--brand-navy-deep) 0%, var(--brand-navy) 48%, var(--brand-teal-dark) 100%) !important;
  overflow: hidden;
}

#founder::before,
.company-logos-section::before,
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#founder::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.09), transparent 24%),
    radial-gradient(circle at 78% 22%, rgba(43, 168, 74, 0.2), transparent 26%);
}

#founder h2,
#founder h3 {
  color: #fff;
}

.founder-image {
  position: relative;
}

.founder-avatar {
  position: relative;
  width: min(72vw, 300px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 55px rgba(4, 16, 14, 0.26);
}

.founder-avatar::before {
  content: '';
  position: absolute;
  inset: -14px;
  background: linear-gradient(45deg, var(--brand-green), var(--brand-amber));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
}

.founder-avatar-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  background: linear-gradient(180deg, #f3faf7 0%, #d9efe6 100%);
}

.founder-credentials .badge {
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
}

.founder-panel {
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.18);
}

.founder-content blockquote p {
  color: rgba(255, 255, 255, 0.9);
}

.founder-signature {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

/* ---------- Timeline ---------- */
.timeline {
  --timeline-gap: 48px;
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, var(--brand-teal), var(--brand-green));
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
}

.timeline-item {
  position: relative;
  width: calc(50% - var(--timeline-gap));
  margin-bottom: 32px;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 4px solid var(--brand-teal);
  top: 34px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 5px rgba(15, 125, 110, 0.16);
}

.timeline-item:nth-child(odd) {
  margin-right: auto;
  padding-right: 24px;
}

.timeline-item:nth-child(odd)::after {
  right: -57px;
}

.timeline-item:nth-child(even) {
  left: auto;
  margin-left: auto;
  padding-left: 24px;
}

.timeline-item:nth-child(even)::after {
  left: -57px;
}

.timeline-year {
  background: var(--brand-teal);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  margin-bottom: 10px;
}

.timeline-content {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 251, 247, 0.97));
  border-radius: 15px;
  border: 1px solid var(--stroke-soft);
  border-top: 4px solid var(--brand-teal);
  box-shadow: var(--shadow-soft);
}

.timeline-item:nth-child(even)::after {
  border-color: var(--brand-green);
}

.timeline-item:nth-child(even) .timeline-year {
  background: var(--brand-green);
}

.timeline-item:nth-child(even) .timeline-content {
  border-top-color: var(--brand-green);
}

.timeline-content h5 {
  color: var(--brand-navy) !important;
}

/* ---------- Client logos ---------- */
.company-logos-section {
  background: linear-gradient(135deg, var(--brand-teal-deep) 0%, var(--brand-teal) 48%, var(--brand-navy) 100%) !important;
  overflow: hidden;
}

.company-logos-section::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.12), transparent 24%),
    radial-gradient(circle at 86% 78%, rgba(43, 168, 74, 0.16), transparent 18%);
}

.company-logos-section h2 {
  color: #fff;
}

.achievement-banner {
  background: rgba(7, 22, 19, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(4, 14, 12, 0.22);
}

.achievement-banner .text-warning {
  color: var(--brand-amber) !important;
}

.client-logo {
  transition: all 0.3s ease;
  border-radius: 24px;
  min-height: 170px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 18px 35px rgba(5, 30, 26, 0.2);
}

.client-logo-wide {
  min-height: 160px;
}

.company-logo-image {
  width: 100%;
  max-width: 300px;
  max-height: 82px;
  object-fit: contain;
}

.client-logo-caption {
  color: var(--brand-navy);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.client-logo:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
}

/* ---------- Products ---------- */
.featured-product-card {
  border: 1px solid var(--stroke-soft) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 244, 0.92));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

.featured-product-card .badge {
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(15, 125, 110, 0.2);
}

.product-card,
.product-spotlight {
  border: 1px solid var(--stroke-soft) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 250, 246, 0.98));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.product-card .card-body,
.product-spotlight .card-body {
  height: 100%;
}

.product-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.spec-item {
  border: 1px solid rgba(15, 125, 110, 0.12) !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 24px rgba(7, 68, 60, 0.08);
  transition: all 0.3s ease;
}

.spec-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(7, 68, 60, 0.12);
}

/* ---------- Production gallery ---------- */
.production-section {
  background:
    radial-gradient(circle at 88% 8%, rgba(43, 168, 74, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(238, 247, 242, 0.9), rgba(255, 255, 255, 0.95));
}

.production-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid var(--stroke-soft);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.production-card:hover,
.production-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(7, 68, 60, 0.16);
  border-color: rgba(15, 125, 110, 0.3);
  outline: none;
}

.production-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eef4f1;
}

.production-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.production-card:hover .production-thumb img {
  transform: scale(1.06);
}

.production-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem 1.1rem 1.2rem;
  flex-grow: 1;
}

.production-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 125, 110, 0.1);
  color: var(--brand-teal-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.production-badge-alt {
  background: rgba(23, 38, 94, 0.09);
  color: var(--brand-navy);
}

.production-badge-rubber {
  background: rgba(242, 165, 29, 0.14);
  color: var(--brand-amber-dark);
}

.production-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--brand-navy);
}

.production-cta {
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-teal-dark));
  color: #fff;
  box-shadow: var(--shadow-strong);
}

.production-cta h4 {
  color: #fff;
}

.production-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.production-cta .btn-primary {
  background: #fff;
  color: var(--brand-teal-dark);
}

.production-cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-teal-deep);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.production-modal {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.production-modal .modal-title {
  color: var(--brand-navy);
}

.production-modal-image {
  max-height: 62vh;
  object-fit: contain;
  background: #f2f6f4;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stroke-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 250, 246, 0.98));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-green));
}

.testimonial-card blockquote {
  margin-bottom: 1.6rem;
}

.testimonial-card blockquote p {
  color: var(--text-muted);
}

.testimonial-logo {
  padding: 0.45rem;
  background: #fff;
  border: 1px solid rgba(15, 125, 110, 0.14);
  object-fit: contain;
}

.stars i {
  color: var(--brand-amber) !important;
}

/* ---------- Contact ---------- */
#contact {
  background: linear-gradient(180deg, rgba(240, 248, 244, 0.78), rgba(255, 255, 255, 0.96)) !important;
}

.contact-card,
.inquiry-card {
  border: 1px solid var(--stroke-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 250, 246, 0.96));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contact-card .card-body {
  padding: 2rem;
}

.contact-icon {
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.form-control,
.form-select {
  border-radius: 16px;
  border: 1px solid rgba(15, 125, 110, 0.16);
  background: rgba(255, 255, 255, 0.94);
  padding: 0.9rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 0.25rem rgba(15, 125, 110, 0.12);
}

.form-label {
  font-weight: 700;
  color: var(--brand-navy);
}

.contact-channel-options {
  margin-top: 1.5rem;
}

.channel-option-card {
  padding: 1.4rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 244, 0.96));
  border: 1px solid var(--stroke-soft);
  box-shadow: 0 16px 34px rgba(7, 68, 60, 0.08);
  text-align: center;
}

.channel-option-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.channel-option-note {
  display: block;
  margin-top: 0.95rem;
  color: var(--text-muted);
}

.contact-card p,
.contact-card a,
.site-footer a,
.site-footer span {
  overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(135deg, var(--brand-navy-deep) 0%, #14224e 55%, var(--brand-teal-deep) 100%) !important;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  position: relative;
}

.site-footer::before {
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.07), transparent 18%),
    radial-gradient(circle at 86% 80%, rgba(43, 168, 74, 0.18), transparent 18%);
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.site-footer h5 {
  color: #fff;
}

.site-footer a {
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #fff !important;
}

.site-footer hr {
  border-color: rgba(255, 255, 255, 0.12);
}

.brand-logo-footer {
  height: 58px;
  width: auto;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(4, 12, 24, 0.2);
}

/* ---------- Back to top ---------- */
#backToTop {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(15, 125, 110, 0.32);
  transition: all 0.3s ease;
}

#backToTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(15, 125, 110, 0.42);
}

/* ---------- Misc ---------- */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.loading {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

.mac {
  box-shadow: none !important;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1199.98px) {
  .navbar-nav .nav-link {
    padding: 0.7rem 0.7rem !important;
    font-size: 0.9rem;
  }

  .hero-image {
    top: -28px;
  }
}

@media (max-width: 991.98px) {
  section.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }

  .navbar {
    width: calc(100% - 14px);
    margin-top: 8px;
    border-radius: 18px;
  }

  .navbar .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .navbar-toggler {
    border: 0;
    padding: 0.45rem 0.65rem;
    border-radius: 14px;
    background: rgba(15, 125, 110, 0.08);
    box-shadow: none !important;
  }

  .navbar-collapse {
    margin-top: 0.95rem;
    padding: 0.95rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--stroke-soft);
    box-shadow: 0 18px 40px rgba(7, 68, 60, 0.1);
    max-height: calc(100svh - 110px);
    overflow-y: auto;
  }

  .navbar-nav {
    gap: 0.2rem;
  }

  .navbar-nav .nav-link {
    display: block;
    padding: 0.85rem 1rem !important;
    border-radius: 14px;
    text-align: left;
  }

  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .brand-copy {
    display: none;
  }

  .hero-section {
    padding-top: 5.25rem;
    text-align: center;
    background: linear-gradient(180deg, #f6fbf8 0%, #f6fbf8 62%, #0f7d6e 62%, #17265e 100%);
  }

  .hero-row {
    min-height: auto !important;
    gap: 2rem;
    padding-top: 0.85rem !important;
    padding-bottom: 2rem !important;
  }

  .hero-content {
    margin-top: 12px;
    max-width: none;
  }

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

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

  .hero-image {
    top: 0;
  }

  .hero-visual-frame {
    max-width: 580px;
    margin: 1.5rem auto 0;
  }

  .hero-product-image {
    max-width: min(100%, 430px);
    max-height: 380px;
  }

  .about-logo-showcase {
    width: min(100%, 260px);
    max-height: 240px;
  }

  .content-panel,
  .founder-panel {
    padding: 1.6rem;
  }

  .timeline {
    --timeline-gap: 0;
    padding: 8px 0;
  }

  .timeline::after {
    left: 18px;
    transform: none;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    left: auto;
    margin-left: 0;
    margin-right: 0;
    padding-left: 56px;
    padding-right: 0;
  }

  .timeline-item::after,
  .timeline-item:nth-child(odd)::after,
  .timeline-item:nth-child(even)::after {
    left: 9px;
    right: auto;
    top: 32px;
  }

  .featured-product-card .row {
    text-align: center;
  }

  .featured-product-card .col-lg-2,
  .featured-product-card .col-lg-7,
  .featured-product-card .col-lg-3 {
    width: 100%;
    flex: 0 0 100%;
  }

  .featured-product-card .col-lg-3 {
    margin-top: 1.25rem;
  }

  .site-footer {
    border-radius: 24px 24px 0 0;
  }
}

@media (max-width: 767.98px) {
  section.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  .navbar {
    border-radius: 16px;
  }

  .display-4 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 1.8rem;
  }

  .card-body {
    padding: 1.5rem;
  }

  .hero-section {
    padding-top: 4.9rem;
    background: linear-gradient(180deg, #f6fbf8 0%, #f6fbf8 74%, #0f7d6e 74%, #17265e 100%);
  }

  .hero-row {
    gap: 1.6rem;
    padding-bottom: 1.1rem !important;
  }

  .hero-badge,
  .section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .hero-badge {
    width: 100%;
    justify-content: center;
  }

  .hero-content {
    margin-top: 0;
  }

  .hero-stats {
    row-gap: 0.85rem;
  }

  .hero-stats .col-4 {
    width: 33.333333%;
    flex: 0 0 auto;
  }

  .hero-stats .stat-item {
    padding: 0.85rem 0.55rem;
  }

  .hero-stats .stat-item h3 {
    font-size: 1.55rem;
  }

  .hero-stats .stat-item small {
    font-size: 0.76rem;
  }

  .hero-proof-item {
    width: 100%;
    justify-content: center;
  }

  .hero-visual-frame {
    padding: 0.85rem;
    border-radius: 26px;
  }

  .hero-visual-badge {
    position: static;
    display: inline-flex;
    margin-bottom: 0.9rem;
  }

  .hero-product-image {
    max-height: 320px;
    padding: 0.45rem;
  }

  .scroll-indicator {
    display: none;
  }

  .timeline-content {
    padding: 1.15rem;
  }

  .client-logo {
    min-height: 150px;
    border-radius: 20px;
  }

  .company-logo-image {
    max-height: 70px;
  }

  .product-card,
  .product-spotlight,
  .testimonial-card,
  .contact-card,
  .channel-option-card,
  .production-card {
    border-radius: 20px;
  }

  #founder .display-5 {
    font-size: 1.6rem;
  }

  #founder blockquote p {
    font-size: 1rem !important;
  }

  .founder-panel {
    padding: 1.4rem;
  }

  .founder-avatar {
    width: min(60vw, 220px);
  }

  .achievement-banner .fs-4 {
    font-size: 1.1rem !important;
  }

  .modal-body address {
    font-size: 0.95rem;
  }

  .navbar-cta {
    display: flex !important;
    justify-content: center;
    margin: 0.75rem 0 0 0 !important;
  }

  .navbar-cta .btn {
    width: 100%;
    border-radius: 14px;
  }

  .footer-brand,
  .site-footer .col-lg-4,
  .site-footer .col-lg-2,
  .site-footer .col-lg-3 {
    text-align: center;
  }

  .site-footer .row.align-items-center {
    gap: 0.75rem;
    text-align: center;
  }

  .site-footer .text-md-end {
    text-align: center !important;
  }

  .channel-option-actions .btn {
    width: 100%;
  }

  .hero-buttons .btn {
    padding: 0.95rem 1.15rem !important;
    font-size: 1rem;
  }

  .hero-buttons .btn-outline-primary {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(255, 255, 255, 0.98);
    color: var(--brand-teal-dark);
    box-shadow: 0 12px 24px rgba(7, 30, 27, 0.14);
  }

  .production-cta {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 15.5px;
  }

  .navbar {
    width: calc(100% - 10px);
    margin-top: 5px;
  }

  .navbar .container {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .hero-section {
    padding-top: 4.7rem;
    background: linear-gradient(180deg, #f6fbf8 0%, #f6fbf8 78%, #0f7d6e 78%, #17265e 100%);
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 12vw, 3.1rem);
  }

  .hero-content h2 {
    font-size: clamp(1.65rem, 8.8vw, 2.3rem);
  }

  .hero-intro {
    font-size: 0.96rem;
  }

  .hero-badge,
  .section-kicker {
    font-size: 0.68rem;
    padding: 0.75rem 0.9rem;
  }

  .hero-proof-item {
    padding: 0.75rem 0.85rem;
    font-size: 0.92rem;
  }

  .hero-stats .stat-item {
    padding: 0.8rem 0.45rem;
  }

  .hero-stats .stat-item h3 {
    font-size: 1.4rem;
  }

  .hero-stats .stat-item small {
    font-size: 0.72rem;
  }

  .hero-buttons {
    display: block !important;
  }

  .hero-buttons .btn {
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: 0.6rem;
  }

  .hero-buttons .btn:last-child {
    margin-bottom: 0;
  }

  .hero-product-image {
    max-height: 280px;
  }

  .about-logo-showcase {
    width: min(100%, 220px);
    max-height: 220px;
    padding: 1.25rem;
  }

  .feature-item,
  .benefit-item {
    padding: 1.1rem !important;
  }

  .contact-card .card-body,
  .inquiry-card .card-body {
    padding: 1.25rem;
  }

  .spec-item {
    padding: 0.75rem !important;
  }

  .spec-item .fs-5 {
    font-size: 1rem !important;
  }

  .contact-icon {
    width: 70px;
    height: 70px;
  }

  .founder-credentials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
  }

  .founder-credentials .badge {
    font-size: 0.78rem;
    padding: 0.55rem 0.8rem;
  }

  .production-info {
    padding: 0.8rem 0.85rem 1rem;
  }

  .production-name {
    font-size: 0.82rem;
  }

  .production-badge {
    font-size: 0.64rem;
  }

  #backToTop {
    width: 44px;
    height: 44px;
    margin: 0.75rem !important;
  }
}

@media (max-width: 380px) {
  .hero-intro {
    font-size: 0.92rem;
  }

  .timeline::after {
    left: 13px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 48px;
  }

  .timeline-item::after,
  .timeline-item:nth-child(odd)::after {
    left: 4px;
  }
}

@media (max-width: 320px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-stats .stat-item h3 {
    font-size: 1.2rem;
  }

  .hero-stats .stat-item small {
    font-size: 0.65rem;
  }

  .display-4 {
    font-size: 1.6rem;
  }

  .display-5 {
    font-size: 1.4rem;
  }

  .navbar {
    width: calc(100% - 6px);
    margin-top: 3px;
  }

  .client-logo {
    min-height: 120px;
    padding: 1rem;
  }
}
