:root {
  --navy: #14294d;
  --navy-light: #1e3a6b;
  --olive: #7a8b2d;
  --olive-light: #96a83e;
  --teal: #1a7a8a;
  --cream: #f8f6f1;
  --white: #ffffff;
  --gray-100: #f0ede6;
  --gray-200: #e2ddd3;
  --gray-400: #9a9488;
  --gray-600: #5a564e;
  --text: #1a1a1a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 246, 241, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}
nav.scrolled {
  padding: 0.6rem 2rem;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.nav-brand h1 {
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}
.nav-logo {
  height: 58px;
  transition: height 0.3s ease;
}
nav.scrolled .nav-logo {
  height: 38px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--olive);
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: all 0.3s ease !important;
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  background: var(--navy-light) !important;
  transform: translateY(-1px);
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(
    160deg,
    var(--navy) 0%,
    #0d1f3c 40%,
    #112b4f 70%,
    var(--navy-light) 100%
  );
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(122, 139, 45, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(26, 122, 138, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.02) 0%,
      transparent 70%
    );
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -50px;
  background: rgba(122, 139, 45, 0.2);
}
.hero-orb-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -80px;
  background: rgba(26, 122, 138, 0.15);
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 60%;
  background: rgba(122, 139, 45, 0.1);
  animation-delay: -2s;
}
@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -30px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}
.hero-logo {
  width: 160px;
  margin-bottom: 2.5rem;
  animation: fadeUp 1s ease-out;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeUp 1s ease-out 0.2s both;
}
.hero h1 .accent {
  color: var(--olive-light);
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeUp 1s ease-out 0.4s both;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s ease-out 0.6s both;
}
.btn {
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary {
  background: var(--olive);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--olive-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(122, 139, 45, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.scroll-indicator span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}
.scroll-indicator span::after {
  content: "";
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}
@keyframes scrollDot {
  0% {
    opacity: 1;
    top: 6px;
  }
  100% {
    opacity: 0;
    top: 20px;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECTIONS ===== */
section {
  padding: 6rem 2rem;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.stat {
  padding: 1.5rem;
  background: var(--cream);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
}
.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}
.about-visual {
  position: relative;
  height: 450px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--navy-light) 100%
  );
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-visual-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}
.about-visual-content .mission-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--olive-light);
  margin-bottom: 1rem;
}
.about-visual-content p {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.6;
  font-style: italic;
  max-width: 400px;
}

/* ===== SERVICES ===== */
.services {
  background: var(--cream);
}
.services-header {
  text-align: center;
  margin-bottom: 4rem;
}
.services-header .section-desc {
  margin: 0 auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(20, 41, 77, 0.1);
  border-color: transparent;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--white);
}
.service-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== PRODUCTS ===== */
.products {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.products .section-label {
  color: var(--olive-light);
}
.products .section-title {
  color: var(--white);
}
.products .section-desc {
  color: rgba(255, 255, 255, 0.6);
}
.products-header {
  text-align: center;
  margin-bottom: 4rem;
}
.products-header .section-desc {
  margin: 0 auto;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-card {
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}
.product-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(122, 139, 45, 0.4);
  transform: translateY(-4px);
}
.product-emoji {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.product-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.product-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}
.product-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(122, 139, 45, 0.2);
  color: var(--olive-light);
}

/* ===== APPROACH ===== */
.approach {
  background: var(--white);
}
.approach-header {
  margin-bottom: 4rem;
  text-align: center;
}
.approach-header .section-desc {
  margin: 0 auto;
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  left: calc(50% + 24px);
  width: calc(100% - 48px);
  height: 2px;
  background: var(--gray-200);
  z-index: 1;
}
.step h4 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ===== PARTNERS ===== */
.partners {
  background: var(--cream);
  text-align: center;
}
.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.partner-badge {
  padding: 1.5rem 3rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  transition: all 0.3s ease;
}
.partner-badge img {
  height: 30px;
  width: auto;
  display: block;
}
.partner-badge:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.partner-badge span {
  color: var(--olive);
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(160deg, var(--navy), #0d1f3c);
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.cta-orb-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
  background: rgba(122, 139, 45, 0.15);
}
.cta-orb-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -50px;
  background: rgba(26, 122, 138, 0.1);
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 600;
}
.cta p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cta .btn-primary {
  font-size: 1.05rem;
  padding: 1rem 2.5rem;
}

/* ===== FOOTER ===== */
footer {
  background: #0a1628;
  padding: 3rem 2rem;
  text-align: center;
}
.footer-logo {
  height: 44px;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--olive-light);
}
.footer-address-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-light);
  margin-bottom: 0.4rem;
}
.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .step:not(:last-child)::after {
    display: none;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem 1.25rem;
    background: var(--cream);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-menu {
    display: block;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-visual {
    height: 300px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  section {
    padding: 4rem 1.5rem;
  }
}
