/* ============================================================
   CSS Variables & Reset
   ============================================================ */
:root {
  --dark:        #454040;
  --dark-2:      #3A3535;
  --dark-3:      #2B2828;
  --mid:         #605B51;
  --lime:        #E6F082;
  --lime-muted:  #D8D365;
  --light:       #F5F2EC;
  --light-dim:   rgba(245, 242, 236, 0.55);
  --light-dimmer:rgba(245, 242, 236, 0.22);

  --font-head: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-w:    1200px;
  --nav-h:    72px;

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--dark);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
button { cursor: none; border: none; background: none; font-family: inherit; }
ul   { list-style: none; }

/* ============================================================
   Custom Cursor
   ============================================================ */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s var(--ease), height .2s var(--ease), background .2s;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(230, 240, 130, 0.45);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s;
}

.cursor.hovered      { width: 14px; height: 14px; background: var(--lime-muted); }
.cursor-ring.hovered { width: 54px; height: 54px; border-color: var(--lime); }

a, button, input, select, textarea { cursor: none; }

/* ============================================================
   Container
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .4s var(--ease), border-color .4s;
}

.nav.scrolled {
  background: rgba(58, 53, 53, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230, 240, 130, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Wordmark logo */
.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  color: var(--light);
  transition: opacity .2s;
}
.logo:hover { opacity: 0.85; }
.logo span  { color: var(--lime); }

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--light-dim);
  letter-spacing: 0.01em;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--lime);
  transition: width .25s var(--ease-out);
}
.nav-links a:hover       { color: var(--light); }
.nav-links a:hover::after { width: 100%; }

/* Nav CTA */
.btn-nav {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--lime);
  color: var(--dark-3);
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  letter-spacing: 0.01em;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s;
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(230, 240, 130, 0.3);
  background: var(--lime-muted);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--light);
  transition: transform .35s var(--ease), opacity .25s;
  transform-origin: center;
}
.hamburger.open span:first-child { transform: translateY(8.5px) rotate(45deg); }
.hamburger.open span:last-child  { transform: translateY(-8.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  background: rgba(43, 40, 40, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(230, 240, 130, 0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s;
}
.mobile-menu.open { max-height: 420px; padding: 2rem; }

.mobile-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--light-dim);
  transition: color .2s;
}
.mobile-link:hover { color: var(--light); }
.mobile-cta { width: 100%; text-align: center; margin-top: 0.5rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s, color .2s, border-color .2s;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--lime);
  color: var(--dark-3);
}
.btn-primary:hover {
  background: var(--lime-muted);
  box-shadow: 0 8px 32px rgba(230, 240, 130, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--light);
  border: 1.5px solid rgba(245, 242, 236, 0.28);
}
.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
  box-shadow: 0 8px 24px rgba(230, 240, 130, 0.1);
}

.btn-full { width: 100%; justify-content: center; }

.arrow { display: inline-block; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Scroll-reveal base
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background-color: var(--dark);
  background-image: url('images/heroimage.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(43,40,40,0.82) 0%, rgba(43,40,40,0.55) 50%, rgba(43,40,40,0.88) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(230,240,130,0.06) 0%, transparent 60%);
  z-index: 0;
}

/* Background shapes */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.s1 {
  width: 550px; height: 550px;
  background: var(--lime-muted);
  opacity: 0.1;
  right: -120px; top: -80px;
  animation: floatA 14s ease-in-out infinite;
}
.s2 {
  width: 380px; height: 380px;
  background: var(--mid);
  opacity: 0.25;
  left: -80px; bottom: 5%;
  animation: floatA 18s ease-in-out infinite reverse;
}
.s3 {
  width: 260px; height: 260px;
  background: var(--lime);
  opacity: 0.06;
  right: 30%; bottom: 15%;
  animation: floatA 22s ease-in-out infinite 4s;
}

@keyframes floatA {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(28px,-22px) scale(1.06); }
  66%      { transform: translate(-18px,26px) scale(0.95); }
}

.hero-container {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 7rem;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(230, 240, 130, 0.07);
  border: 1px solid rgba(230, 240, 130, 0.18);
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .1s forwards;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.45; transform:scale(.65); }
}

/* Hero headline */
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 8.5vw, 7.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
}

.word-wrap {
  display: block;
  overflow: hidden;
}
.word {
  display: block;
  opacity: 0;
  transform: translateY(105%);
  animation: revealWord 1s var(--ease-out) forwards;
}
.word-wrap:nth-child(1) .word { animation-delay: .3s; }
.word-wrap:nth-child(2) .word { animation-delay: .5s; }
.word-wrap:nth-child(3) .word { animation-delay: .7s; }

@keyframes revealWord {
  to { opacity: 1; transform: translateY(0); }
}

.accent-text { color: var(--lime); }

/* Hero sub + CTAs */
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--light-dim);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) .9s forwards;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) 1.1s forwards;
}

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


/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--dark-2);
  padding: 8rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.section-title em {
  font-style: normal;
  color: var(--lime);
}

.section-header { margin-bottom: 4rem; }

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(245, 242, 236, 0.07);
  border: 1px solid rgba(245, 242, 236, 0.07);
  border-radius: 20px;
  overflow: hidden;
}

.service-card {
  background: var(--dark-2);
  padding: 2.75rem;
  transition: background .3s var(--ease);
  position: relative;
}

.service-card:hover { background: #403C3C; }

/* Accent border overlay on hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid transparent;
  transition: border-color .3s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.service-card:hover::before { border-color: rgba(230, 240, 130, 0.18); }

/* Top row: number + icon */
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.card-num {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.06em;
}

.card-icon {
  width: 34px; height: 34px;
  color: var(--light-dim);
  transition: color .3s;
}
.service-card:hover .card-icon { color: var(--lime); }

.card-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.8rem;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--light-dim);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.card-tags {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.card-tags span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--light-dimmer);
  background: rgba(245, 242, 236, 0.05);
  border: 1px solid rgba(245, 242, 236, 0.09);
  padding: 0.22rem 0.65rem;
  border-radius: 100px;
  transition: color .2s, border-color .2s;
}
.service-card:hover .card-tags span {
  color: var(--lime);
  border-color: rgba(230, 240, 130, 0.22);
}

/* Stagger delays for cards */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: .1s; }
.service-card:nth-child(3) { transition-delay: .2s; }
.service-card:nth-child(4) { transition-delay: .3s; }

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.why-strip {
  overflow: hidden;
  border-top:    1px solid rgba(245, 242, 236, 0.07);
  border-bottom: 1px solid rgba(245, 242, 236, 0.07);
  padding: 1.15rem 0;
  background: var(--dark);
}

.strip-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--light-dim);
}
.strip-track .dot { color: var(--lime); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 8rem 0;
  background: var(--dark);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  margin-top: 0.75rem;
}

.about-text {
  font-size: 0.93rem;
  color: var(--light-dim);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.about-left .btn { margin-top: 1.25rem; }

/* About timeline visual */
.av-timeline {
  display: flex;
  flex-direction: column;
}

.av-step {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

.av-step-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 18px;
  flex-shrink: 0;
  padding-top: 1.4rem;
}

.av-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(230, 240, 130, 0.45);
  border: 1.5px solid rgba(230, 240, 130, 0.6);
  flex-shrink: 0;
}

.av-step-dot-accent {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 10px rgba(230, 240, 130, 0.5);
}

.av-step-line {
  flex: 1;
  width: 1.5px;
  min-height: 1.5rem;
  background: linear-gradient(to bottom, rgba(230,240,130,0.35), rgba(230,240,130,0.08));
  margin: 0.4rem 0;
}

.av-step-card {
  flex: 1;
  padding: 1.25rem 1.5rem;
  border: 1.5px solid rgba(245, 242, 236, 0.1);
  border-radius: 12px;
  background: rgba(96, 91, 81, 0.12);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

.av-step:nth-child(1) .av-step-card { transition-delay: 0s; }
.av-step:nth-child(2) .av-step-card { transition-delay: .15s; }
.av-step:nth-child(3) .av-step-card { transition-delay: .3s; }

.av-step-card.in {
  opacity: 1;
  transform: translateX(0);
}

.av-step-card-highlight {
  background: var(--lime);
  border-color: transparent;
  color: var(--dark-3);
}

.av-step-num {
  display: block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-bottom: 0.3rem;
}

.av-step-card-highlight .av-step-num { color: rgba(43,40,40,0.55); }

.av-step-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.av-step-desc {
  font-size: 0.82rem;
  color: var(--light-dim);
  line-height: 1.55;
}

.av-step-card-highlight .av-step-desc { color: rgba(43,40,40,0.65); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 8rem 0;
  background-color: var(--dark-2);
  background-image: url('images/contactImage.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(43, 40, 40, 0.88) 0%,
    rgba(43, 40, 40, 0.80) 50%,
    rgba(43, 40, 40, 0.92) 100%
  );
  z-index: 0;
}

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

.contact-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}

.contact-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
  margin-top: 0.75rem;
}

.contact-sub {
  font-size: 0.95rem;
  color: var(--light-dim);
  line-height: 1.7;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem;
  border: 1.5px solid rgba(245, 242, 236, 0.08);
  border-radius: 20px;
  background: var(--dark-3);
}

.contact-form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(245, 242, 236, 0.07);
  margin-top: 0.25rem;
}

.contact-email {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--lime);
  border-bottom: 1px solid rgba(230, 240, 130, 0.3);
  padding-bottom: 2px;
  transition: border-color .2s;
}
.contact-email:hover { border-color: var(--lime); }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(245, 242, 236, 0.06);
  font-size: 0.78rem;
  color: var(--light-dimmer);
  text-align: center;
}

.footer-contact a {
  color: var(--light-dimmer);
  text-decoration: none;
}

.footer-contact a:hover { color: var(--lime); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-dim);
}

.form-group input,
.form-group textarea {
  background: rgba(245, 242, 236, 0.04);
  border: 1.5px solid rgba(245, 242, 236, 0.1);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--light);
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 242, 236, 0.22);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--lime);
  background: rgba(230, 240, 130, 0.03);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark-3);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(245, 242, 236, 0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}
.footer-nav a {
  font-size: 0.85rem;
  color: var(--light-dim);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(245, 242, 236, 0.06);
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--light-dimmer);
}
.footer-tagline {
  font-family: var(--font-head);
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .about-container    { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top         { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-bottom      { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger           { display: flex; }
  .mobile-menu         { display: flex; }
  .services-grid       { grid-template-columns: 1fr; }
  .hero-ctas           { flex-direction: column; }
  .hero-ctas .btn      { text-align: center; justify-content: center; }
  .footer-nav          { flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
}

@media (max-width: 540px) {
  .container        { padding: 0 1.25rem; }
  .service-card     { padding: 2rem 1.5rem; }
  .form-row         { grid-template-columns: 1fr; }
  .services         { padding: 5rem 0; }
  .about, .contact  { padding: 5rem 0; }
  .contact-form     { padding: 1.5rem; }
  .contact-form-footer { flex-direction: column; align-items: stretch; text-align: center; }
  .contact-form-footer .btn { justify-content: center; }
}
