@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;700;800&family=Inter:wght@300;400;500&family=JetBrains+Mono:wght@400;500&display=swap");

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

:root {
  --white: #ffffff;
  --off-white: #f8f7f4;
  --surface: #f2f0eb;
  --primary: 005B58;
  --Navy-blue : 0D2F5D;
  --primary-dark: #075845;
  --green-shadow: #b1f6e6;
  --green-soft: #eafffa;
  --green: #2b9b88;
  --green-border: rgba(22, 163, 74, 0.25);
  --text-primary: #0f0f0f;
  --text-secondary: #52525b;
  --text-muted: #95959d;
  --divider: #e4e4e7;
  --dark: #111111;
  --max-w: 1180px;
  --sec-pad: 120px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: var(--white);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Scroll Progress ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--primary);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 32px;
  border-radius: 999px;

  background: linear-gradient(90deg, #1e3a8a, #10b981);

  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;

  text-decoration: none;
  border: none;
  cursor: pointer;

  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35);

  /* optional: smoother gradient change */
  background: linear-gradient(90deg, #1e40af, #34d399);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--text-primary);
  border-radius: 50px;
  padding: 13px 28px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-text {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.btn-text:hover {
  gap: 10px;
  text-decoration: underline;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--text-primary);
  border-radius: 50px;
  padding: 13px 28px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

/* Mobile Menu */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition:
    background 0.3s,
    border-color 0.3s,
    padding 0.3s;
  background: transparent;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--divider);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  gap: 8px;
  text-decoration: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

.nav-logo .logo-head {
  font-size: 12px !important;
  color: var(--primary-dark);
}


.nav-logo .logo-text {
  font-size: 10px !important;
}

.nav-logo-img {
  height: 40px;
  width: 40px;
  display: block;
}

.logo-ecode {
  color: var(--text-primary);
}

.logo-dash {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  transition:
    color 0.2s,
    letter-spacing 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.nav-cta .btn-primary {
  padding: 10px 22px;
  font-size: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 998;
  padding: 100px 24px 40px;
  flex-direction: column;
  gap: 0;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
}

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  padding: 18px 0;
  border-bottom: 1px solid var(--divider);
  font-family: "Plus Jakarta Sans", sans-serif;
}

.mobile-menu .btn-primary {
  margin-top: 28px;
  justify-content: center;
  font-size: 16px;
}

/* Animation */

.fade-up {
  opacity: 0;
  transform: translateY(2px) scale(0.98);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
}

/* Hero */
.ai-hero {
  position: relative;
  padding: 100px 0 60px;
  text-align: center;
  overflow: hidden;
}

/* Floating icons */
.hero-section {
  position: relative;
}

.i11 {
  top: 20px;
  left: 80px;
  animation-delay: 0s;
  opacity: 0.8;
}

.i12 {
  top: 20px;
  right: 80px;
  animation-delay: 1s;
  opacity: 0.8;
}

.i13 {
  bottom: 40px;
  left: 120px;
  animation-delay: 2s;
  opacity: 0.8;
}

.i14 {
  top: 40%;
  left: 0px;
  animation-delay: 1.5s;
  opacity: 0.8;
}

.i15 {
  top: 40%;
  right: 0px;
  animation-delay: 0.5s;
  opacity: 0.8;
}

.i16 {
  bottom: 40px;
  right: 120px;
  animation-delay: 2.5s;
  opacity: 0.8;
}

.hero-center {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
}

/* Top Tag */
.hero-top-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.hero-top-tag img {
  width: 18px;
}

/* Heading */
.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtitle */
.hero-subtitle {
  margin-top: 20px;
  font-size: 18px;
  color: #64748b;
}

/* Services */

#services {
  padding: var(--sec-pad) 0;
  background: linear-gradient(180deg, #f9fafb 0%, #f5f7fa 100%);
  position: relative;
}

/* subtle background glow */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 30px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px var(--green-shadow);
  border-color: var(--primary);
  background: radial-gradient(circle at top left,
      var(--green-shadow),
      transparent 60%);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  opacity: 1;
}

/* ICON */
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--primary), #7ef6a6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover .service-icon {
  transform: rotate(5deg) translateY(-2px) scale(1.1);
}

.service-card:hover .service-icon::after {
  opacity: 1;
}

/* TITLE */
.service-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

/* DESCRIPTION */
.service-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
}

/* OPTIONAL TAG (Ideal for) */
.service-tag {
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 500;
  color: white;
  background: var(--primary);
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-block;
  transition: all 0.25s ease;
}

.vetting-badge {
  text-align: center;
  margin-top: 32px;
}

.vetting-badge span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  border: 1px solid var(--green-border);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 14px;
  color: var(--green);
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA */
#cta-banner {
  padding: 100px 20px;
  background: #f8f9fa;
}

.hero-actions {
  margin-top: 30px;
}

/* Ratings */
.hero-ratings {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  background: #f8fafc;
  padding: 6px 10px;
  border-radius: 8px;
}

.rating img {
  width: 18px;
}

/* Team Image */
.hero-team {
  margin-top: 40px;
}

.hero-team img {
  width: 100%;
  max-width: 900px;
  border-radius: 20px;
  filter: grayscale(1);
}

/* Logos */
.hero-logos {
  margin-top: 60px;
  text-align: center;
}

.hero-logos span {
  display: block;
  margin-bottom: 20px;
  font-weight: 600;
  color: #334155;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  opacity: 0.7;
}

.logos-grid img {
  height: 28px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}

/* Leader */

#leadership {
  padding: var(--sec-pad) 0;
  background: var(--white);
}

.leaders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.leader-avatar {
  position: relative;
  width: 110px;
  height: 110px;
  min-width: 110px;
  border-radius: 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.leader-avatar {
  box-shadow: 0 5px 10px var(--green-shadow);
  border: 2px solid #fff;
}

/* Image */
.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback initials */
.avatar-fallback {
  position: absolute;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  display: none;
}

/* Show fallback if image fails */
.leader-avatar img:not([src]),
.leader-avatar img[src=""] {
  display: none;
}

.leader-avatar img:not([src])+.avatar-fallback,
.leader-avatar img[src=""]+.avatar-fallback {
  display: block;
}

/* Add premium border + glow */
.leader-avatar {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid #fff;
}

.la-jm {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.la-hp {
  background: linear-gradient(135deg, #16a34a, #0891b2);
}

.leader-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}

.leader-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 14px;
}

.leader-quote {
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  border-left: 3px solid var(--primary);
  padding-left: 14px;
  margin-bottom: 14px;
  color: var(--text-primary);
  opacity: 0.85;
}

.leader-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* CTA  */
#cta-banner {
  padding: 100px 20px;
  background: #f8f9fa;
}

.cta-box {
  max-width: 1000px;
  margin: auto;
  padding: 70px 40px;
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid var(--green-border);
  box-shadow: 0 5px 10px var(--green-shadow);
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./images/Rectangle.png") center/cover no-repeat;
  z-index: -2;
}

.cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 91, 88, 0.7); /* your color */
  z-index: -1;
}
/* blurred image layer */


@keyframes borderMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

/* TITLE */
.cta-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--white);
  position: relative;
  z-index: 2;
}

/* BUTTONS */
.cta-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

@keyframes shine {
  100% {
    left: 120%;
  }
}

/* ICONS */
.cta-icon {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 60px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}

.cta-icon img {
  width: 32px;
  opacity: 0.7;
}

/* gradient icon color */
.cta-icon i {
  background: linear-gradient(135deg, var(--primary), white);
  -webkit-background-clip: text;
  color: transparent;
}

/* positions */
.i1 {
  top: 20px;
  left: 160px;
  animation-delay: 0s;
  opacity: 0.8;
}

.i2 {
  top: 20px;
  right: 160px;
  animation-delay: 1s;
  opacity: 0.8;
}

.i3 {
  bottom: 20px;
  left: 160px;
  animation-delay: 2s;
  opacity: 0.8;
}

.i4 {
  top: 120px;
  left: 40px;
  animation-delay: 1.5s;
  opacity: 0.8;
}

.i5 {
  top: 120px;
  right: 40px;
  animation-delay: 0.5s;
  opacity: 0.8;
}

.i6 {
  bottom: 20px;
  right: 160px;
  animation-delay: 2.5s;
  opacity: 0.8;
}

/* floating animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cta-title {
    font-size: 24px;
  }

  .cta-icon {
    display: none;
  }
}

/* Footer */

#footer {
  background: white;
  padding: 40px 0 20px;
  color: #a1a1aa;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr) 1.8fr; 
  gap: 30px;
  border-bottom: 1px solid #e5e7eb; /* Lightened to match white theme */
  padding-bottom: 50px;
}
.footer-contact .contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #71717a;
}
.footer-contact .nav-cta {
  margin-top: 20px;
}

/* Ensure images don't break grid */
.footer-logo{
      display: flex;
  flex-direction: row; /* Aligns image and text side-by-side */
  align-items: center;  /* Perfectly centers text vertically with the logo */
  gap: 12px;           /* Modern way to control the exact space between them */
  text-decoration: none;
  margin-bottom: 15px;
    }
    .footer-logo-img{
    max-width: 50px;
  height: auto;
  display: block;    /* Removes the "ghost" baseline gap below images */
  margin-bottom: 0;
    }
    .logo-head{
      margin-top: 0;
      margin: 0 ;         /* Removes browser defaults to ensure consistency */
  font-size: 12px;   /* Adjusted for better visibility than 10px */
  color: var(--primary-dark);
  line-height: 1;
    }
/* BRAND */
.footer-title {
  font-size: 20px;

  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-trust {
  font-size: 12px;
  margin-top: 14px;
  color: #71717a;
}

/* BADGES */
.footer-badge {
  border: 1px solid var(--green-border);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  color: var(--green);
}

/* TITLES */
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: #242323;
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* LINKS */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 13px;
  color: #71717a;
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

/* CONTACT */
.contact-line {
  font-size: 13px;
  margin-bottom: 10px;
}

/* BUTTON */
.footer-btn {
  margin-top: 12px;
  display: inline-block;
  font-size: 13px;
}

/* NEWSLETTER */
.footer-newsletter {
  margin-top: 20px;
}

.newsletter-text {
  font-size: 12px;
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #3f3f46;
  background: #18181b;
  color: #fff;
  font-size: 13px;
}

.newsletter-btn {
  padding: 10px 14px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

/* BOTTOM */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
}

.footer-legal a {
  font-size: 12px;
  margin-left: 16px;
  color: #71717a;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--primary);
}

.footer-logo {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}

.footer-logo-img {
  height: 34px;
  width: auto;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}