:root {
  --primary: #99bc85;
  --secondary: #ffc0cb;
  --bg: #fcf8f3;
  --text: #45474b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  font-family: "Segoe UI", sans-serif;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 22px 20px;
  z-index: 1000;
  transition: 0.4s ease;
}

.navbar.scrolled {
  background: rgba(252,248,243,0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* BRAND */
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-main {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #45474B;
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 3px;
  color: #99BC85;
  margin-top: 3px;
}

/* NAV LINKS */
.nav-links {
  display: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #45474B;
  font-size: 14px;
  font-weight: 500;
}

/* Animated underline */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #99BC85;
  transition: 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* CTA */
.nav-cta {
  background: #FFC0CB;
  padding: 8px 18px;
  border-radius: 30px;
}

/* HAMBURGER */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: #45474B;
  transition: 0.3s ease;
}
/* HERO */
.hero {
  padding: 140px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hero-left h1 {
  font-size: 34px;
  line-height: 1.2;
  color: #45474b;
}

.hero-left h1 span {
  color: #99bc85;
}

.hero-left p {
  margin: 20px 0;
  font-size: 15px;
  opacity: 0.8;
}

.hero-btn {
  background: #ffc0cb;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  color: #45474b;
  font-weight: 600;
}

/* Floating Object */
.hero-right {
  display: flex;
  justify-content: center;
}

.floating-core {
  width: 260px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@media (min-width: 900px) {
  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 180px 100px 100px;
  }

  .hero-left {
    width: 50%;
  }

  .hero-right {
    width: 50%;
  }

  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }
}

.core-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  perspective: 1000px;
}

.core-svg {
  width: 100%;
  height: 100%;
}

/* Continuous rotation */
.core-rotate {
  transform-origin: center;
  animation: rotateCore 12s linear infinite;
}

@keyframes rotateCore {
  from {
    transform: rotateY(0deg) rotateX(0deg);
  }
  to {
    transform: rotateY(360deg) rotateX(360deg);
  }
}

/* Light aura pulse */
.light-aura {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(153, 188, 133, 0.3) 0%,
    rgba(153, 188, 133, 0) 70%
  );
  top: 10px;
  left: 10px;
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Floating particles */
.particle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #ffc0cb;
  border-radius: 50%;
  opacity: 0.8;
}

.p1 {
  top: 20%;
  left: 10%;
  animation: floatP 6s infinite ease-in-out;
}
.p2 {
  top: 70%;
  left: 80%;
  animation: floatP 8s infinite ease-in-out;
}
.p3 {
  top: 10%;
  left: 75%;
  animation: floatP 7s infinite ease-in-out;
}
.p4 {
  top: 80%;
  left: 20%;
  animation: floatP 9s infinite ease-in-out;
}

@keyframes floatP {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.process {
  padding: 120px 20px;
  position: relative;
}

.process-flow {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 320px;
}

/* Node Circle */
.node {
  width: 22px;
  height: 22px;
  background: #99bc85;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 6px rgba(153, 188, 133, 0.2);
  animation: pulseNode 3s infinite ease-in-out;
}

@keyframes pulseNode {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Connector line */
.connector {
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, #99bc85, #ffc0cb);
  position: relative;
  overflow: hidden;
}

/* Animated data flow */
.connector::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 30px;
  background: #ffc0cb;
  animation: dataFlow 2s linear infinite;
}

@keyframes dataFlow {
  from {
    top: -30px;
  }
  to {
    top: 100%;
  }
}

.step-content h3 {
  margin-top: 20px;
  font-size: 20px;
}

.step-content p {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.8;
}

@media (min-width: 1000px) {
  .process-flow {
    position: relative;
    max-width: 1000px;
    margin: 100px auto 0;
  }

  /* Central vertical spine */
  .process-flow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #99bc85, #ffc0cb);
    transform: translateX(-50%);
  }

  .step {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    max-width: 100%;
    margin: 80px 0;
    position: relative;
  }

  /* Alternate layout */
  .step:nth-child(odd) {
    flex-direction: row-reverse;
  }

  .step-content {
    width: 42%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: 0.4s ease;
  }

  /* Node centered on spine */
  .node {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .connector {
    display: none;
  }

  /* Hover expansion */
  .step-content:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  }
}

.step {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.services {
  padding: 120px 20px;
}

.services-grid {
  display: grid;
  gap: 30px;
  margin-top: 60px;
}

/* Card */
.service-card {
  background: white;
  padding: 40px 25px;
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Animated border glow */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(45deg, #99bc85, #ffc0cb);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.service-icon svg {
  width: 70px;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #45474b;
}

.service-card p {
  font-size: 14px;
  opacity: 0.85;
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.about {
  padding: 120px 20px;
  position: relative;
}

.about-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Left side */
.about-left h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #45474B;
}

.about-intro {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 30px;
}

.principle {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  align-items: center;
}

.principle span {
  font-weight: bold;
  color: #99BC85;
}

/* Right metrics */
.metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.metric {
  background: white;
  padding: 40px 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.metric h3 {
  font-size: 32px;
  color: #99BC85;
}

.metric p {
  font-size: 14px;
  margin-top: 8px;
  opacity: 0.8;
}
@media (min-width: 900px) {

  .about-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .about-left {
    width: 50%;
  }

  .about-right {
    width: 40%;
  }

  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }

}

.about {
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

/* Animated blueprint grid */
.about-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(69,71,75,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69,71,75,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite;
  z-index: -1;
}

@keyframes gridMove {
  from { background-position: 0 0; }
  to   { background-position: 40px 40px; }
}

.about-right {
  position: relative;
}

/* Floating soft geometry */
.metrics-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(20px);
}

.shape1 {
  width: 180px;
  height: 180px;
  background: #99BC85;
  top: -40px;
  right: -40px;
  animation: floatShape 8s ease-in-out infinite;
}

.shape2 {
  width: 140px;
  height: 140px;
  background: #FFC0CB;
  bottom: -30px;
  left: -30px;
  animation: floatShape 10s ease-in-out infinite;
}

@keyframes floatShape {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.contact {
  padding: 140px 20px;
  position: relative;
  overflow: hidden;
}

/* Background glow */
.contact-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(153,188,133,0.25), transparent 70%);
  top: -200px;
  right: -200px;
  animation: glowMove 8s ease-in-out infinite;
  z-index: -1;
}

@keyframes glowMove {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(40px); }
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* LEFT PANEL */
.contact-info h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 25px;
}

.info-block {
  margin-bottom: 20px;
}

.info-block h4 {
  font-size: 14px;
  color: #99BC85;
  margin-bottom: 6px;
}

/* GLASS FORM */
.contact-form-wrapper {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Floating label inputs */
.input-group {
  position: relative;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px 10px;
  border: none;
  border-bottom: 2px solid rgba(69,71,75,0.2);
  background: transparent;
  font-size: 14px;
  outline: none;
}

.input-group label {
  position: absolute;
  left: 10px;
  top: 14px;
  font-size: 14px;
  opacity: 0.6;
  transition: 0.3s ease;
}

.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:valid + label,
.input-group textarea:valid + label {
  top: -10px;
  font-size: 12px;
  color: #99BC85;
}

/* Button */
.contact-btn {
  background: #FFC0CB;
  padding: 14px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

@media (min-width: 900px) {

  .contact-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .contact-info {
    width: 45%;
  }

  .contact-form-wrapper {
    width: 45%;
  }

}

/* MAP SECTION */
.map-wrapper {
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: 30px;
  overflow: hidden;
  margin-top: 60px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* Soft brand tint overlay */
.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(153,188,133,0.15);
  pointer-events: none;
  transition: 0.4s ease;
}

/* Hover reveal effect */
.map-wrapper:hover .map-overlay {
  background: rgba(153,188,133,0.05);
}

@media (min-width: 1000px) {

  .contact-container {
    flex-wrap: wrap;
  }

  .map-wrapper {
    width: 100%;
    height: 420px;
    margin-top: 80px;
  }

}

.footer {
  position: relative;
  padding: 120px 20px 60px;
  overflow: hidden;
}

/* Subtle animated background */
.footer-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(153,188,133,0.15), transparent 60%);
  animation: footerGlow 8s ease-in-out infinite;
  z-index: -1;
}

@keyframes footerGlow {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(30px); }
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.footer-brand h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #45474B;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 15px;
}

.footer-domain {
  font-size: 14px;
  font-weight: 600;
  color: #99BC85;
}

/* Columns */
.footer-column h4 {
  margin-bottom: 15px;
  font-size: 14px;
  color: #99BC85;
}

.footer-column a,
.footer-column p {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  text-decoration: none;
  color: #45474B;
  opacity: 0.85;
  transition: 0.3s ease;
}

.footer-column a:hover {
  color: #99BC85;
}

/* Bottom */
.footer-bottom {
  margin-top: 80px;
  text-align: center;
}

.divider {
  height: 1px;
  background: rgba(69,71,75,0.1);
  margin-bottom: 20px;
}

.footer-bottom p {
  font-size: 12px;
  opacity: 0.7;
}

@media (min-width: 1000px) {

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-brand {
    width: 30%;
  }

  .footer-column {
    width: 18%;
  }

}

@media (min-width: 1000px) {

  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

}