/* ============================================================
   ECONADI VENTURES — MAIN STYLESHEET
   Brand Colors: #002060 (navy) | #499D80 (teal) | #0091C4 (blue)
   Font: Inter (Google Fonts)
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: #1A1A1A;
  background: #fff;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ---- CSS VARIABLES ---- */
:root {
  --navy:        #002060;
  --teal:        #499D80;
  --teal-dark:   #3A8B6E;
  --blue:        #0091C4;
  --white:       #FFFFFF;
  --off-white:   #F4F7F6;
  --text-dark:   #1A1A1A;
  --text-muted:  #6B7280;
  --border:      #E5E7EB;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.14);
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 50px;
  --transition:  0.3s ease;
  --section-pad: 100px;
}

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(73,157,128,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--teal);
}
.btn-outline-light:hover {
  background: var(--teal);
  color: var(--white);
}

/* ---- SECTION TYPOGRAPHY ---- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-label--light { color: rgba(255,255,255,0.7); }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-title--light { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-body {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 540px;
}
.section-body--light { color: rgba(255,255,255,0.8); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .section-title { margin-bottom: 12px; }

/* ---- SECTION BASE ---- */
.section { padding: var(--section-pad) 0; }


/* ================================================================
   HEADER / NAVIGATION
   ================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: grid;
  grid-template-columns: 30% 70%;
  align-items: center;
  height: 76px;
}

/* Logo — 30% column, left aligned, full width */
.logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-right: 24px;
}
.logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Nav — 70% column, right aligned */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--teal); background: rgba(73,157,128,0.07); }

/* Contact Us — button style */
.nav-link--cta {
  background: var(--teal);
  color: var(--white) !important;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-weight: 600;
  margin-left: 8px;
}
.nav-link--cta:hover {
  background: var(--teal-dark) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(73,157,128,0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 76px; right: 0;
  width: min(320px, 90vw);
  height: calc(100vh - 76px);
  background: var(--white);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 999;
  padding: 32px 24px;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link {
  display: block;
  padding: 13px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-link:hover { background: var(--off-white); color: var(--teal); }

.mobile-nav-link--cta {
  margin-top: 12px;
  background: var(--teal);
  color: var(--white) !important;
  border-radius: var(--radius-pill);
  text-align: center;
  font-weight: 600;
}
.mobile-nav-link--cta:hover {
  background: var(--teal-dark) !important;
  color: var(--white) !important;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 998;
}
.mobile-overlay.open { display: block; }


/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,32,96,0.82) 0%,
    rgba(0,32,96,0.65) 50%,
    rgba(0,145,196,0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease 0.3s forwards;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease 0.55s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--teal);
}

.hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease 0.8s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease 1.05s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  animation: scrollBob 1.8s ease infinite;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  70%       { transform: translateX(-50%) translateY(12px); opacity: 0; }
}


/* ================================================================
   WHO WE ARE
   ================================================================ */
.who-we-are { background: var(--white); }

.who-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.who-text .section-title { margin-bottom: 16px; }
.who-text .section-body { margin-bottom: 14px; }
.who-text .btn { margin-top: 12px; }

.who-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.who-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.who-image-wrap:hover img { transform: scale(1.04); }

.who-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.badge-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
}
.badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.85;
}


/* ================================================================
   SERVICES OVERVIEW
   ================================================================ */
.services-overview { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.service-card-icon {
  width: 52px; height: 52px;
  color: var(--teal);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.service-card-icon svg { width: 100%; height: 100%; }

.service-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 24px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}
.service-card-link:hover { gap: 10px; color: var(--teal-dark); }
.service-card-link .arrow { transition: transform var(--transition); }
.service-card-link:hover .arrow { transform: translateX(4px); }


/* ================================================================
   WHY ECONADI
   ================================================================ */
.why-econadi {
  background: linear-gradient(135deg, var(--navy) 0%, #003580 100%);
  position: relative;
  overflow: hidden;
}
.why-econadi::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(73,157,128,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.why-text .btn { margin-top: 20px; }

.why-features { display: flex; flex-direction: column; gap: 24px; }

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.why-item-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(73,157,128,0.15);
  border: 1px solid rgba(73,157,128,0.35);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  padding: 10px;
}
.why-item-icon svg { width: 100%; height: 100%; }

.why-item-text h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.why-item-text p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}


/* ================================================================
   PROJECT HIGHLIGHTS
   ================================================================ */
.project-highlights { background: var(--white); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}
.project-card--large {
  grid-column: 1 / -1;
  min-height: 380px;
}

.project-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card-image { transform: scale(1.05); }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,20,60,0.88) 0%,
    rgba(0,20,60,0.3) 50%,
    transparent 100%
  );
  transition: background var(--transition);
}
.project-card:hover .project-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0,20,60,0.95) 0%,
    rgba(0,20,60,0.5) 60%,
    rgba(0,20,60,0.1) 100%
  );
}

.project-card-content {
  position: relative;
  z-index: 2;
  padding: 28px 32px;
  width: 100%;
}

.project-tag {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.project-card-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.project-card--large .project-card-content h3 { font-size: 1.6rem; }

.project-card-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  max-width: 600px;
}

.projects-cta {
  text-align: center;
  margin-top: 48px;
}


/* ================================================================
   CLIENTS
   ================================================================ */
.clients { background: var(--off-white); }

.clients-track-wrap {
  overflow: hidden;
  position: relative;
  padding: 24px 0;
}
.clients-track-wrap::before,
.clients-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.clients-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--off-white), transparent);
}
.clients-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--off-white), transparent);
}

.clients-track {
  display: flex;
  gap: 48px;
  align-items: center;
  width: max-content;
  animation: scrollLogos 24s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }

@keyframes scrollLogos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo {
  flex-shrink: 0;
  height: 60px;
  display: flex;
  align-items: center;
}
.client-logo img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter var(--transition);
}
.client-logo:hover img { filter: grayscale(0%) opacity(1); }


/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.cta-banner:hover .cta-bg { transform: scale(1); }

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,32,96,0.88) 0%, rgba(0,145,196,0.75) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.15;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}


/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr 1.4fr;
  gap: 48px;
  padding: 72px 24px 56px;
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  margin-bottom: 8px;
}
.footer-reg {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--teal); }

.footer-address p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  line-height: 1.6;
}
.footer-address a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-address a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--teal); }


/* ================================================================
   RESPONSIVE — TABLET (≤ 991px)
   ================================================================ */
@media (max-width: 991px) {
  :root { --section-pad: 72px; }

  /* Header */
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-content { max-width: 100%; }

  /* Who We Are */
  .who-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .who-image { order: -1; }
  .who-image-wrap { aspect-ratio: 16/9; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Why */
  .why-inner { grid-template-columns: 1fr; gap: 48px; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }
  .project-card--large { min-height: 300px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}


/* ================================================================
   RESPONSIVE — MOBILE (≤ 575px)
   ================================================================ */
@media (max-width: 575px) {
  :root { --section-pad: 56px; }

  /* Header */
  .header-inner { height: 64px; }
  .mobile-nav { top: 64px; height: calc(100vh - 64px); }

  /* Hero */
  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: 0.9rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Who We Are */
  .who-inner { gap: 36px; }
  .section-body { max-width: 100%; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Projects */
  .project-card { min-height: 240px; }
  .project-card--large { min-height: 280px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 40px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

  /* Clients */
  .client-logo { height: 48px; }
}
