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

body {
  font-family: "Inter", sans-serif;
  color: #0f172a;
  background: #ffffff;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* NAV */
.navbar {
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: auto;
  max-width: 160px;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
}

/* HERO */
.hero {
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  color: #475569;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* BUTTONS */
.btn-primary {
  background: #2563eb;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.btn-secondary {
  border: 1px solid #2563eb;
  color: #2563eb;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-outline {
  border: 1px solid #cbd5f5;
  padding: 10px 18px;
  border-radius: 6px;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.alt-bg {
  background: #f8fafc;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 30px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  text-align: center;
}

.service-card i {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

/* PROCESS */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.step {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.step span {
  font-weight: 700;
  color: #2563eb;
}

/* CLIENT LOGOS */
.logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0.8;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

/* FOOTER */
.footer {
  padding: 30px 0;
  border-top: 1px solid #e5e7eb;
}

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

.socials i {
  margin-left: 1rem;
  cursor: pointer;
}

.top-padding {
  padding: 40px 0;
}

.bottom-padding {
  padding: 0px 0px 40px;
}

.contact-anchor {
  color: white;
}

.pad {
  padding: 20px 0;
}

.center-align {
  text-align: center;
}


/* ---------- ANIMATIONS ---------- */

.fade-in,
.slide-up,
.slide-left,
.slide-right,
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.slide-left {
  transform: translateX(-40px);
}

.slide-right {
  transform: translateX(40px);
}

.reveal {
  transform: translateY(40px) scale(0.97);
}

.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* DELAYS */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ---------- HOVER EFFECTS (AutomateTech-style) ---------- */

.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.btn-primary,
.btn-secondary {
  transition: all 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.btn-secondary:hover {
  background: #2563eb;
  color: white;
}

/* NAV BASE */
.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}


@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
    line-height: 1.25;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 20px;
    background: white;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-image {
    order: -1;        /* image on top */
    margin-bottom: 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-image {
    order: 2; /* image below text */
  }

  .hero-buttons {
    justify-content: center;
  }

  .footer {
    font-size: 0.8em;
  }
}
