/* ================= FONTS ================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Montserrat:wght@400;600;700&display=swap');

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  color: #1f2933;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */
.header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #2f855a;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  transition: all 0.4s ease;
}

.nav-links a {
  font-weight: 600;
  padding: 8px 20px;
  position: relative;
  color: #1f2933;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #10b981;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #10b981;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ================= BUTTON ================= */
.btn {
  background: linear-gradient(135deg, #2f855a, #10b981);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  transition: all 0.35s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.45);
}

.btn.big {
  padding: 16px 42px;
  font-size: 1rem;
}

/* ================= HERO ================= */
.hero {
  min-height: 95vh;
  background: url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d") center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.6));
}

.hero-content {
  position: relative;
  max-width: 720px;
  color: #fff;
}

.hero-eyebrow {
  color: #6ee7b7;
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 0.75rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 3.3rem;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero p {
  color: #e5e7eb;
  font-size: 1.05rem;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}

/* ================= STATS ================= */
.stats {
  background: #fff;
  padding: 90px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-card {
  padding: 40px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.1);
}

.stat-card h2 {
  font-size: 2.6rem;
  color: #2f855a;
}

/* ================= SECTIONS ================= */
.services,
.contact {
  padding: 110px 0;
}

.section-title {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

/* ================= ABOUT ================= */
.about {
  background:
    radial-gradient(circle at top left, #e0fef7, transparent 60%),
    linear-gradient(180deg, #f1f5f9, #ffffff);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* ---------------- TEXT ---------------- */
.about-text h2 {
  font-size: 2.4rem;
  color: #0f172a;
  margin-bottom: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #374151;
  margin-bottom: 20px;
  max-width: 520px;
}

/* ---------------- IMAGE GRID ---------------- */
.about-images {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* Base image style */
.about-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s ease;
}

/* Creative stagger */
.about-images img:nth-child(1) {
  grid-row: span 2;
  transform: translateY(20px);
}

.about-images img:nth-child(2) {
  transform: translateY(-10px);
}

.about-images img:nth-child(3) {
  transform: translateY(10px);
}

.about-images img:nth-child(4) {
  grid-row: span 2;
  transform: translateY(-20px);
}

/* Hover depth effect */
.about-images img:hover {
  transform: translateY(0) scale(1.06);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

/* Subtle floating animation */
@media (prefers-reduced-motion: no-preference) {
  .about-images img {
    animation: float 10s ease-in-out infinite;
  }

  .about-images img:nth-child(2) {
    animation-delay: 1.5s;
  }

  .about-images img:nth-child(3) {
    animation-delay: 3s;
  }

  .about-images img:nth-child(4) {
    animation-delay: 4.5s;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-images {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ================= SERVICES ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: linear-gradient(180deg, #ffffff, #f9fafb);
  padding: 45px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  transition: all 0.4s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.05);
}

.service-card i {
  font-size: 2.2rem;
  color: #10b981;
  margin-bottom: 18px;
}

.service-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

/* ================= CAREERS ================= */
.careers {
  padding: 130px 0;
  background: radial-gradient(circle at top, #1e293b, #0f172a);
  color: #e5e7eb;
}

.careers .section-title {
  color: #ffffff;
}

.careers-intro {
  max-width: 720px;
  margin: 0 auto 70px;
  text-align: center;
  color: #cbd5e1;
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.career-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 50px 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.45s ease;
  position: relative;
  overflow: hidden;
}

.career-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(16, 185, 129, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.career-card:hover::before {
  opacity: 1;
}

.career-card:hover {
  transform: translateY(-16px) scale(1.01);
}

.career-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #10b981, #34d399);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.career-icon i {
  color: #022c22;
  font-size: 1.5rem;
}

.career-card h3 {
  color: #fff;
  margin-bottom: 12px;
}

.career-card p {
  color: #cbd5e1;
}

.careers-footer {
  margin-top: 70px;
  text-align: center;
  font-size: 1.1rem;
}

.careers-footer strong {
  color: #34d399;
}

/* ================= CONTACT ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.map iframe {
  width: 100%;
  height: 340px;
  border-radius: 20px;
  border: 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* ================= FOOTER ================= */
.footer {
  background: #020617;
  color: #94a3b8;
  padding: 90px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer h4,
.footer h5 {
  color: #fff;
  margin-bottom: 14px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 60px;
  padding: 25px;
  text-align: center;
  font-size: 0.85rem;
}

/* ================= ANIMATIONS ================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= HAMBURGER MENU ================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #2f855a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Mobile nav */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: top 0.35s ease;
  }

  .nav-links.active {
    top: 0;
  }

  .hamburger {
    display: flex;
  }
}

.about-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 420px;
  margin: 0 auto;
}

.about-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Create staggered / collage effect */
.about-images img:nth-child(1) {
  grid-row: span 2;
}

.about-images img:nth-child(2) {
  height: 160px;
}

.about-images img:nth-child(3) {
  height: 180px;
}

.about-images img:nth-child(4) {
  grid-row: span 2;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.3rem; }
  .stats-grid,
  .services-grid,
  .careers-grid,
  .contact-grid,
  .about-grid,
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* .nav-links { display: none; } */
  .nav { flex-direction: column; height: auto; padding: 15px 0; }
  .hero { min-height: 85vh; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2.1rem; }
  .services, .contact, .about, .careers { padding: 80px 0; }
  .services-grid, .careers-grid { grid-template-columns: 1fr; }
  .service-card { padding: 35px; }
  .career-card { padding: 40px 30px; }
  .about-images { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid div { margin-bottom: 30px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-eyebrow { letter-spacing: 2px; }
  .btn.big { padding: 14px 30px; font-size: 0.95rem; }
  .stat-card h2 { font-size: 2.1rem; }
  .career-icon { width: 52px; height: 52px; }
}
