:root {
  --primary: #0b2f4f;
  --primary-2: #124a78;
  --secondary: #0ecb9a;
  --secondary-2: #07a97f;
  --text: #20303f;
  --muted: #6e7f8f;
  --white: #ffffff;
  --bg: #f5fbff;
  --card: rgba(255, 255, 255, 0.84);
  --border: rgba(11, 47, 79, 0.08);
  --shadow: 0 20px 50px rgba(9, 34, 56, 0.12);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1200px;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(14, 203, 154, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(18, 74, 120, 0.09), transparent 32%),
    linear-gradient(180deg, #f8fdff 0%, #eef8ff 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  position: relative;
}

.light-section {
  background: linear-gradient(180deg, rgba(11, 47, 79, 0.03), rgba(255, 255, 255, 0.4));
}

.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-title-wrap.align-left {
  text-align: left;
  margin: 0 0 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(14, 203, 154, 0.12);
  color: var(--secondary-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.light-eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #dffff3;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  color: var(--primary);
  font-weight: 800;
}

.light-title {
  color: white;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.light-desc {
  color: rgba(255, 255, 255, 0.82);
}

/* topbar */
.topbar {
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.topbar-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 47, 79, 0.06);
  transition: all 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(7, 28, 44, 0.08);
}

.nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(11, 47, 79, 0.16);
  background: white;
  padding: 6px;
}

.brand-name {
  margin: 0;
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-tagline {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 12px 16px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(14, 203, 154, 0.12);
  color: var(--secondary-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary), var(--secondary-2));
  box-shadow: 0 14px 28px rgba(14, 203, 154, 0.26);
}

.btn-secondary {
  color: var(--primary);
  background: rgba(11, 47, 79, 0.05);
  border: 1px solid rgba(11, 47, 79, 0.08);
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(11, 47, 79, 0.08);
  background: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 99px;
  transition: 0.22s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  padding: 0 0 18px;
}

.mobile-menu.open {
  display: block;
  animation: fadeUp 0.25s ease;
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(11, 47, 79, 0.06);
}

/* hero */
.page-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 54px 0 40px;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 19, 30, 0.8) 0%, rgba(6, 19, 30, 0.58) 42%, rgba(6, 19, 30, 0.2) 100%),
    url("assets/factory-1.jpg") center/cover no-repeat;
  z-index: -2;
}

.mini-hero-content {
  color: white;
  max-width: 860px;
}

.mini-hero-content h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 800;
}

.mini-hero-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.8;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dffef4;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 22px;
}

.page-subnav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.page-subnav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ecfff9;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
}

/* about section */
.about-grid,
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.about-main-img,
.about-stack img,
.founder-image {
  border-radius: 24px;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow);
}

.about-main-img {
  height: 520px;
}

.about-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.about-stack img {
  height: 251px;
}

.about-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature-card,
.value-card,
.client-box {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(11, 47, 79, 0.06);
  box-shadow: var(--shadow);
}

.feature-card h4,
.value-card h3 {
  margin: 0 0 10px;
  color: var(--primary);
}

.feature-card p,
.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* founder */
.founder-image-wrap {
  position: relative;
}

.founder-image {
  min-height: 460px;
}

.founder-card {
  padding: 24px;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 47, 79, 0.06);
  margin-bottom: 18px;
}

.founder-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 16px;
}

.founder-card strong {
  color: var(--primary);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(14, 203, 154, 0.12);
  color: var(--secondary-2);
  font-size: 13px;
  font-weight: 700;
}

.alt-tag {
  background: rgba(11, 47, 79, 0.06);
  color: var(--primary);
}

/* stats */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.stat-card h3 {
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  font-weight: 800;
}

.stat-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: 15px;
}

/* timeline */
.timeline-grid {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline-grid::before {
  content: "";
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--secondary), var(--primary-2));
  border-radius: 999px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 34px;
  margin-bottom: 32px;
  align-items: start;
}

.timeline-year {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  text-align: right;
  padding-top: 16px;
}

.timeline-content {
  position: relative;
  padding: 24px;
  border-radius: 22px;
  background: white;
  border: 1px solid rgba(11, 47, 79, 0.06);
  box-shadow: var(--shadow);
}

.timeline-content::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 6px rgba(14, 203, 154, 0.14);
}

.timeline-content h3 {
  margin: 0 0 10px;
  color: var(--primary);
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* values */
.values-grid,
.client-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  font-weight: 800;
}

/* cta */
.cta-card {
  padding: 38px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(11, 47, 79, 0.95), rgba(18, 74, 120, 0.95));
  color: white;
  box-shadow: 0 26px 60px rgba(8, 32, 52, 0.24);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.cta-card h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.cta-card p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.85;
  font-size: 16px;
}

.cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-point {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 600;
}

.cta-side-box {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-side-box h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.cta-side-box p {
  margin-bottom: 18px;
}

/* footer */
.footer {
  background: linear-gradient(180deg, #0a1824, #09131d);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 72px;
  margin-top: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.7fr 1fr;
  gap: 24px;
  padding-bottom: 34px;
}

.footer-brand {
  max-width: 380px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
}

.footer h4 {
  margin: 0 0 16px;
  color: white;
  font-size: 17px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  transition: 0.2s ease;
}

.footer-links a:hover {
  color: white;
  transform: translateX(3px);
}

.footer-brand-name {
  color: white;
}

.footer-brand-tagline {
  color: rgba(255, 255, 255, 0.66);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

/* floating */
.floating-whatsapp,
.back-to-top {
  position: fixed;
  right: 20px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 40px rgba(9, 32, 50, 0.18);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.floating-whatsapp {
  bottom: 20px;
  background: #25d366;
  color: white;
  font-size: 26px;
}

.back-to-top {
  bottom: 90px;
  background: white;
  color: var(--primary);
  border: 1px solid rgba(11, 47, 79, 0.08);
  font-size: 22px;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.floating-whatsapp:hover,
.back-to-top:hover {
  transform: translateY(-4px);
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* responsive */
@media (max-width: 1100px) {
  .about-grid,
  .founder-grid,
  .cta-grid,
  .footer-grid,
  .stats-grid,
  .values-grid,
  .client-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .founder-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-actions .btn-secondary,
  .nav-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .about-images {
    grid-template-columns: 1fr;
  }

  .about-main-img,
  .about-stack img,
  .founder-image {
    height: 280px;
    min-height: unset;
  }

  .about-features,
  .stats-grid,
  .values-grid,
  .client-logos,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .timeline-grid::before {
    left: 18px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-left: 18px;
  }

  .timeline-year {
    text-align: left;
    padding-top: 0;
  }

  .timeline-content::before {
    left: -31px;
    top: 24px;
  }

  .section {
    padding: 72px 0;
  }

  .topbar-inner {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .brand-name {
    font-size: 18px;
  }

  .btn {
    width: 100%;
  }

  .section-title {
    font-size: 30px;
  }
}