/* ============================================================
   TechArise Innovation — styles.css
   Color palette extracted from logo: Black, White, Green #4a9e5c
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800;900&family=Outfit:wght@300;400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --green:        #4a9e5c;
  --green-dark:   #2e7040;
  --green-light:  #e8f5ec;
  --green-mid:    #d0edda;
  --black:        #0d0d0d;
  --dark:         #111a14;
  --charcoal:     #1c2a1f;
  --text:         #12200f;
  --muted:        #4f6b55;
  --border:       #c9e0cf;
  --white:        #ffffff;
  --off-white:    #f5faf6;
  --radius:       16px;
  --radius-sm:    10px;
  --shadow-sm:    0 2px 8px rgba(30,80,40,.09);
  --shadow:       0 6px 24px rgba(30,80,40,.13), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:    0 16px 48px rgba(30,80,40,.18), 0 4px 12px rgba(0,0,0,.07);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, .font-display {
  font-family: 'Sora', sans-serif;
  line-height: 1.1;
}

/* ── UTILITIES ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 88px 0; }
.text-green { color: var(--green); }
.text-muted { color: var(--muted); }

/* ── SCROLL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* ══════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.93);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0;          /* logo overlaps text slightly */
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--black);
  position: relative;
}
.brand-logo-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  margin-right: -10px; /* overlap effect */
  z-index: 2;
}
.brand-logo-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  border: 2.5px solid var(--green);
  box-shadow: 0 2px 12px rgba(74,158,92,.25);
}
/* small green arc behind logo — decorative overlap */
.brand-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  background: var(--green-light);
  z-index: -1;
}
.brand-name {
  background: var(--black);
  color: var(--white);
  padding: 6px 14px 6px 18px;
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  letter-spacing: .2px;
}
.brand-name span { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--green-light); color: var(--green-dark); }
.nav-links .btn-nav {
  background: var(--green);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 11px;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(74,158,92,.4);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.nav-links .btn-nav:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74,158,92,.45);
}

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--black); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 28px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text);
  transition: background .2s;
}
.mobile-nav a:hover { background: var(--green-light); }
.mobile-nav .btn-nav-m {
  margin-top: 6px;
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 13px;
  border-radius: 12px;
  font-weight: 700;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  min-height: 620px;
  display: flex;
  align-items: center;
}
/* green geometric accent */
.hero-bg-shape {
  position: absolute;
  top: -120px; right: -120px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(74,158,92,.35) 0%, transparent 65%);
  pointer-events: none;
}
.hero-bg-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 48px,
    rgba(74,158,92,.06) 48px,
    rgba(74,158,92,.06) 49px
  ),
  repeating-linear-gradient(
    90deg,
    transparent,
    transparent 48px,
    rgba(74,158,92,.06) 48px,
    rgba(74,158,92,.06) 49px
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: flex-end;
  width: 100%;
  padding: 60px 0 0;
}
.hero-text { padding-bottom: 60px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,158,92,.18);
  color: #7fd491;
  border: 1px solid rgba(74,158,92,.35);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  margin-bottom: 20px;
}
.hero-eyebrow .dot-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,158,92,.6); }
  50%      { box-shadow: 0 0 0 7px rgba(74,158,92,0); }
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -1px;
}
.hero-title .accent { color: var(--green); }
.hero-title .stroke-text {
  -webkit-text-stroke: 2px var(--green);
  color: transparent;
}

.hero-sub {
  font-size: 17px;
  color: #9ab89f;
  max-width: 440px;
  margin-bottom: 34px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 13px;
  background: var(--green);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(74,158,92,.5);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74,158,92,.55);
}
.btn-primary img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 13px;
  background: transparent;
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,.25);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.btn-outline:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.5); }
.btn-outline img { width: 20px; height: 20px; }

/* hero image of Horace */
.hero-img-col {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 540px;
  position: relative;
}
.hero-img-col img.founder-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(-6px 0 30px rgba(74,158,92,.3)) drop-shadow(0 20px 40px rgba(0,0,0,.6));
  animation: riseIn .9s cubic-bezier(.22,1,.36,1) both;
}
@keyframes riseIn { from { opacity:0; transform: translateY(36px); } to { opacity:1; transform: none; } }

.avail-badge {
  position: absolute;
  bottom: 28px; right: 8px;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex; align-items: center; gap: 9px;
  box-shadow: var(--shadow);
  animation: riseIn .8s .35s cubic-bezier(.22,1,.36,1) both;
}
.avail-badge .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--green); animation: livePulse 1.5s infinite; }
.avail-badge span { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 13px; color: var(--black); }

/* ══════════════════════════════════════
   STATS BAR
══════════════════════════════════════ */
.stats-bar {
  background: var(--charcoal);
  padding: 28px 0;
  border-bottom: 1px solid #2a3e2e;
}
.stats-inner {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  padding: 8px 48px;
  border-right: 1px solid #2e4232;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.stat-label { font-size: 13px; color: #7a9880; margin-top: 4px; letter-spacing: .3px; }

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services-section { background: var(--off-white); }
.section-header { margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  border: 1px solid var(--green-mid);
}
.section-title { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 500px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--green-mid);
}
.svc-icon-wrap img { width: 32px; height: 32px; }

.svc-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.svc-card p  { color: var(--muted); font-size: 15px; margin-bottom: 18px; line-height: 1.6; }
.badge-row { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: 11px; font-weight: 700;
  padding: 5px 11px; border-radius: 999px;
  background: var(--green-light); color: var(--green-dark);
  border: 1px solid var(--green-mid);
}

/* ══════════════════════════════════════
   WHY US
══════════════════════════════════════ */
.why-section { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 48px; }
.why-card {
  display: flex; gap: 18px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow .25s;
}
.why-card:hover { box-shadow: var(--shadow); }
.why-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  border-radius: 14px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.why-icon img { width: 26px; height: 26px; filter: brightness(0) invert(1); }
.why-card h4 { font-family: 'Sora', sans-serif; font-weight: 700; margin-bottom: 5px; }
.why-card p  { font-size: 14px; color: var(--muted); }

/* ══════════════════════════════════════
   BOOKING
══════════════════════════════════════ */
.booking-section { background: var(--off-white); }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }

/* founder panel */
.founder-panel {}
.founder-panel h2 { font-size: 34px; font-weight: 800; margin-bottom: 10px; }
.founder-panel > p { color: var(--muted); margin-bottom: 28px; }

.founder-card {
  background: var(--black);
  border-radius: var(--radius);
  padding: 26px;
  display: flex; gap: 18px; align-items: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,158,92,.3) 0%, transparent 70%);
  pointer-events: none;
}
.founder-card img {
  width: 90px; height: 115px;
  object-fit: contain; object-position: bottom;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.5));
}
.founder-info h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 19px; color: var(--white); margin-bottom: 4px; }
.founder-info .role { font-size: 13px; color: var(--green); margin-bottom: 10px; font-weight: 600; }
.founder-info p { font-size: 14px; color: #8ba88e; line-height: 1.55; }

/* contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.ccard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.ccard-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--green-light); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.ccard-icon img { width: 20px; height: 20px; }
.ccard strong { font-size: 11px; text-transform: uppercase; letter-spacing: .7px; color: var(--green-dark); display: block; margin-bottom: 4px; }
.ccard span { font-size: 13px; color: var(--muted); }

/* CTA buttons in contact */
.cta-reach {
  display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap;
}
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: var(--white);
  padding: 13px 22px; border-radius: 13px;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px;
  border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.btn-wa:hover { background: #1da852; transform: translateY(-2px); }
.btn-wa img { width: 22px; height: 22px; filter: brightness(0) invert(1); }

.btn-gmail {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--black);
  padding: 13px 22px; border-radius: 13px;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px;
  border: 1.5px solid var(--border); cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
}
.btn-gmail:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.btn-gmail img { width: 22px; height: 22px; }

/* FORM */
.booking-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.booking-form-wrap h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.booking-form-wrap .form-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

.form-grid { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 13px; color: var(--text); }
.field input,
.field select,
.field textarea {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--off-white);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(74,158,92,.12);
}
.field textarea { min-height: 120px; resize: vertical; }

.form-submit-btn {
  width: 100%;
  padding: 15px;
  border-radius: 13px;
  background: var(--green);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-weight: 700; font-size: 15px;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 16px rgba(74,158,92,.45);
  transition: background .2s, transform .2s, box-shadow .2s;
  margin-top: 4px;
}
.form-submit-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,158,92,.5);
}
.form-submit-btn img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.req { color: var(--green); }

/* Ensure SVG icons render at correct size everywhere */
.svc-icon-wrap img   { width: 32px; height: 32px; }
.why-icon img        { width: 26px; height: 26px; filter: brightness(0) invert(1); }
.ccard-icon img      { width: 20px; height: 20px; }
.btn-primary img,
.btn-outline img,
.form-submit-btn img { width: 20px; height: 20px; }
.btn-wa img,
.btn-gmail img       { width: 22px; height: 22px; }
.form-success img    { width: 22px; height: 22px; flex-shrink: 0; }

/* success message */
.form-success {
  display: none;
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 14px;
  margin-top: 12px;
  align-items: center; gap: 10px;
}
.form-success.show { display: flex; }
.form-success img { width: 22px; height: 22px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--black);
  padding: 48px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid #1e2e20;
}
.footer-brand-col {}
.footer-logo-wrap {
  display: flex; align-items: center; gap: 0; margin-bottom: 16px;
}
.footer-logo-wrap img {
  width: 44px; height: 44px; border-radius: 10px;
  border: 2px solid var(--green);
  margin-right: -8px; z-index: 1; position: relative;
}
.footer-brand-name {
  background: var(--charcoal);
  color: var(--white);
  padding: 7px 14px 7px 16px;
  border-radius: 0 9px 9px 0;
  font-family: 'Sora', sans-serif;
  font-weight: 700; font-size: 14px;
}
.footer-brand-name span { color: var(--green); }
.footer-tagline { font-size: 14px; color: #6a886e; line-height: 1.6; max-width: 260px; }

.footer-col h4 { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 14px; letter-spacing: .3px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: #6a886e; transition: color .2s; }
.footer-col ul li a:hover { color: var(--green); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 13px; color: #4a5e4e; }
.footer-bottom a { color: var(--green); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-img-col { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: 38px; }
  .section { padding: 60px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .stat-item { padding: 8px 24px; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-title { font-size: 30px; }
  .section-title { font-size: 27px; }
}
