:root {
  --navy: #101a3d;
  --navy-light: #16224f;
  --gold: #d4a017;
  --gold-light: #f0c440;
  --white: #ffffff;
  --off-white: #faf8f3;
  --gray-text: #5a5f6e;
  --border: #ecebe6;
  --shadow: 0 10px 30px rgba(16, 26, 61, 0.08);
  --radius: 14px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--navy);
  --bs-heading-color: var(--navy);
  --bs-font-sans-serif: var(--font-body);
  --bs-body-bg: var(--white);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* Keep Bootstrap gutters without negative row margins blowing past the viewport */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  max-width: 1160px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  overflow-x: clip;
}

@media (min-width: 576px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
}

.row > * {
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

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

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

ul { list-style: none; padding-left: 0; margin-bottom: 0; }

.section-pad {
  padding: 72px 0;
  overflow-x: clip;
}

@media (min-width: 768px) {
  .section-pad {
    padding: 100px 0;
  }
}

/* Buttons — brand overrides on Bootstrap .btn */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-body);
  line-height: 1.25;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  --bs-btn-border-width: 2px;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(212, 160, 23, 0.45);
}

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

.btn-outline-gold:hover,
.btn-outline-gold:focus {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-ghost {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

@media (max-width: 767.98px) {
  .btn {
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
  }

  .btn-sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }

  .hero-actions .btn,
  .why-text .btn {
    width: 100%;
  }

  .mobile-nav-actions .btn {
    flex: 1;
    width: auto;
    min-width: 0;
    white-space: normal;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
  overflow-x: clip;
  overflow-y: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.1;
  min-width: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold-light);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(0.95rem, 3.5vw, 1.3rem);
  letter-spacing: 0.4px;
  color: var(--navy);
  white-space: nowrap;
}

.brand-tag {
  font-size: 0.65rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-top: 2px;
}

.nav {
  gap: 28px;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
}

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

.header-actions {
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 10px;
  position: relative;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display: grid;
  grid-template-rows: 0fr;
  background: transparent;
  border-top: 0 solid transparent;
  transition: grid-template-rows 0.3s ease, border-color 0.3s ease;
}

.mobile-nav > .container {
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.mobile-nav.open {
  grid-template-rows: 1fr;
  border-top: 1px solid rgba(16, 26, 61, 0.08);
}

.mobile-nav > .container > a {
  display: block;
  padding: 14px 0;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--navy);
  border-bottom: 1px solid rgba(16, 26, 61, 0.08);
  background: transparent;
}

.mobile-nav > .container > a:last-of-type {
  border-bottom: none;
}

.mobile-nav-actions {
  display: flex;
  gap: 10px;
  padding: 16px 0 18px;
}

.mobile-nav-actions .btn {
  flex: 1;
  min-width: 0;
}

@media (min-width: 992px) {
  .header-inner {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .brand-tag { display: none; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 48px 0 64px;
  max-width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 30%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(16,26,61,0.94) 0%, rgba(16,26,61,0.82) 32%, rgba(16,26,61,0.45) 60%, rgba(16,26,61,0.35) 100%),
    linear-gradient(0deg, rgba(16,26,61,0.55) 0%, transparent 30%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text { max-width: 640px; }

.eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
  font-family: var(--font-body);
}

.hero h1 {
  font-size: clamp(1.85rem, 6vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.hero-sub {
  color: #dde0f0;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.hero .btn-ghost:hover,
.hero .btn-ghost:focus {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.hero-badge {
  position: relative;
  background: transparent;
  color: var(--white);
  border-radius: 50%;
  padding: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 168px;
  margin-inline: auto;
  animation: badge-enter 0.9s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}

.hero-badge.is-complete {
  animation: badge-float 2.8s ease-in-out infinite;
}

.progress-ring {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 10px rgba(212, 160, 23, 0.45));
}

.progress-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 8;
}

.progress-ring-fill {
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: none;
}

.progress-ring-core {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  max-width: 72%;
}

@keyframes badge-enter {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.72);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-badge.is-complete .progress-ring {
  animation: badge-pulse 2.2s ease-in-out infinite;
}

.hero-badge.is-complete .hero-badge-num {
  animation: num-pop 0.55s cubic-bezier(0.22, 1.4, 0.36, 1) both;
}

.hero-badge.is-complete .hero-badge-label {
  color: var(--gold-light);
}

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

@keyframes badge-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(212, 160, 23, 0));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(240, 196, 64, 0.55));
    transform: scale(1.03);
  }
}

@keyframes num-pop {
  0% { transform: scale(0.85); }
  55% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.hero-badge-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-badge-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge,
  .hero-badge.is-complete,
  .hero-badge.is-complete .progress-ring,
  .hero-badge.is-complete .hero-badge-num {
    animation: none !important;
  }

  .progress-ring-fill {
    stroke-dashoffset: 0;
  }
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  font-size: 1.3rem;
  opacity: 0.75;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Section shared */
.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
  font-family: var(--font-body);
}

.section-label.light { color: var(--gold-light); }

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 32px;
}

.section-title.light { color: var(--white); }

/* About */
.about { background: var(--off-white); }

.about-content h2 {
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  margin: 4px 0 18px;
}

.about-content p {
  color: var(--gray-text);
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.stat-card:hover { transform: translateY(-4px); }
.stat-icon { font-size: 1.6rem; }
.stat-title { font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; }
.stat-desc { font-size: 0.85rem; color: var(--gray-text); }

/* Products */
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: var(--white);
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
  border-color: var(--gold-light);
}

.product-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdf3d8, #f7e2a3);
  margin-left: auto;
  margin-right: auto;
}

.product-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 0;
}

/* Why Us */
.why-us {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-text h2 {
  color: var(--white);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  margin-bottom: 22px;
}

.why-list { margin-bottom: 28px; }

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #d6d9ea;
  font-size: 0.95rem;
}

.check {
  color: var(--gold-light);
  font-weight: 800;
  flex-shrink: 0;
}

.why-visual {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.gear-shape {
  position: absolute;
  color: rgba(212,160,23,0.18);
  font-size: 8rem;
  line-height: 1;
}

.gear-1 { top: -20px; right: 10px; }
.gear-2 { bottom: -40px; right: 80px; font-size: 5rem; color: rgba(212,160,23,0.12); }

/* Contact */
.contact {
  background: linear-gradient(160deg, var(--navy-light), var(--navy));
  color: var(--white);
}

.contact-card {
  display: block;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 22px 18px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-card:hover {
  transform: translateY(-4px);
  background: rgba(212,160,23,0.1);
  border-color: var(--gold);
}

.contact-icon {
  font-size: 1.45rem;
  display: block;
  margin-bottom: 10px;
}

.contact-card h3 {
  color: var(--gold-light);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.contact-card p {
  color: #d6d9ea;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 50px;
  height: 50px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  z-index: 200;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
}

@media (min-width: 768px) {
  .whatsapp-float {
    width: 58px;
    height: 58px;
    font-size: 1.6rem;
    bottom: 26px;
    right: 26px;
  }
}

/* Footer */
.site-footer {
  background: #0b1230;
  color: #9aa0bf;
  padding: 22px 0;
  font-size: 0.85rem;
}

.back-to-top {
  color: var(--gold-light);
  font-weight: 600;
}
