/* ============================================================
   TECH GREEN STEPS PRIVATE LIMITED — Header / Home / Footer
   ============================================================ */

:root {
  --green-dark: #0E3D2C;
  --green-primary: #12523A;
  --green-mid: #1C6B48;
  --green-light: #EAF3EC;
  --green-accent: #7CB342;
  --gold: #D4AF37;
  --gold-dark: #C6971F;
  --text-dark: #16241D;
  --text-body: #5B6660;
  --text-muted: #7C8781;
  --border-light: #E7EAE8;
  --bg-light: #F6F8F7;
  --white: #FFFFFF;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-width: min(1600px, 94%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-dark); }

/* ---------- Section eyebrow / title / underline (shared) ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--green-primary);
}

.eyebrow-center { text-align: center; }

.section-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-top: 10px;
}

.section-title-center { text-align: center; }

.section-desc {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 720px;
}

.section-desc-center {
  text-align: center;
  margin: 0 auto;
}

.title-underline-center {
  margin-left: auto;
  margin-right: auto;
}

.title-underline-tight {
  margin-bottom: 46px;
}

/* ---------- Buttons ---------- */
.logo-mark {
  height: 50px;
  width: auto;
  border-radius: 50%;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white);
  color: var(--text-dark);
  border-color: #D8DEDA;
}
.btn-outline:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark { flex-shrink: 0; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  color: var(--text-dark);
}

.logo-subtitle {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 2.2px;
  color: var(--text-muted);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1px;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 22px;
  transition: color 0.2s ease;
}

.nav-link:hover { color: var(--green-primary); }

.nav-link.active {
  color: var(--text-dark);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 100%;
  height: 2.5px;
  background: var(--green-primary);
}

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: 0.25s ease;
}

/* ============================================================
   HOME / HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 90px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  text-transform: uppercase;
}

.text-accent-green { color: var(--green-primary); }

.title-underline1 {
  display: block;
  width: 64px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 24px 0 22px;
}

.title-underline {
  display: block;
  width: 64px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 24px auto 22px;
}

.hero-desc {
  font-size: 1.02rem;
  color: var(--text-body);
  max-width: 460px;
  margin-bottom: 34px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---------- Hero visual ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 620px;
  height: auto;
}

/* ============================================================
   WHO WE ARE
   ============================================================ */
.who-we-are {
  background: var(--bg-light);
  padding: 64px 0;
}

.who-we-are .title-underline {
  margin-top: 18px;
  margin-bottom: 26px;
}

/* ============================================================
   OUR SERVICES
   ============================================================ */
.services {
  background: var(--white);
  padding: 76px 0;
}

.services .title-underline {
  margin-top: 18px;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px 24px 56px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  box-shadow: 0 16px 36px -20px rgba(15, 40, 30, 0.25);
  transform: translateY(-3px);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--green-primary);
}

.service-title {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
}

.service-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.service-card:hover .service-arrow {
  transform: translateX(4px);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-choose {
  background: var(--bg-light);
  padding: 68px 0 100px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  text-align: center;
  padding: 32px 22px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.why-item:hover {
  box-shadow: 0 16px 36px -20px rgba(15, 40, 30, 0.25);
  transform: translateY(-3px);
  border-color: var(--green-primary);
}

.why-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--green-primary);
}

.why-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--green-dark);
  overflow: hidden;
  padding-top: 20px;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.208) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

.footer-top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 25px;
}

.logo-title-light { color: var(--white); }
.logo-subtitle-light { color: rgba(255,255,255,0.55); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-nav a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.footer-social a:hover {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 16px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.footer-legal-dot {
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
}

@media (max-width: 560px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-title { font-size: 2.5rem; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .main-nav {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 32px 20px;
  }
  .nav-link { padding: 12px 0; width: 100%; }
  .nav-link.active::after { display: none; }

  .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 48px 0 60px; }
  .hero-title { font-size: 2rem; }
  .hero-btns { flex-wrap: wrap; }
  .footer-top { flex-direction: column; align-items: flex-start; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .header-inner { height: 74px; gap: 12px; }
  .main-nav { top: 74px; }
  .logo-mark { height: 40px; }
  .logo-title { font-size: 0.92rem; }
  .logo-subtitle { font-size: 0.56rem; letter-spacing: 1.6px; }

  .section-title { font-size: 1.7rem; }
  .who-we-are, .services, .why-choose { padding: 44px 0; }

  .footer-nav { gap: 16px 20px; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 1.65rem; }
  .section-title { font-size: 1.45rem; }
  .header-inner { justify-content: space-between; }

  .logo-text { display: flex; }
  .logo-title { font-size: 0.72rem; letter-spacing: 0.1px; }
  .logo-subtitle { font-size: 0.46rem; letter-spacing: 1.2px; }
  .logo { gap: 8px; }
}