/* ======================
   Root Variables & Base
====================== */
:root {
  --dark-green: #3A6604;
  --lime-green: #83e509;
  --white: #ffffff;
  --light-green-bg: #f9fff0;
  --shadow-color: rgba(58, 102, 4, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--white);
  color: var(--dark-green);
  line-height: 1.6;
}

/* ======================
   Header
====================== */
header.site-header {
  background-color: var(--dark-green);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.logo img {
  height: 40px;
}

nav.nav-links ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav.nav-links a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav.nav-links a:hover {
  color: var(--lime-green);
}

.header-right {
  display: flex;
  gap: 1rem;
}

/* Header Buttons */
.btn-login,
.btn-contact,
.btn-try {
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-login {
  color: var(--white);
}

.btn-contact {
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-contact:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-try {
  background: var(--lime-green);
  color: var(--dark-green);
}

.btn-try:hover {
  background: var(--white);
  color: var(--dark-green);
  border: 1px solid var(--lime-green);
}

/* ======================
   Hero Section
====================== */
.hero {
  background: linear-gradient(135deg, #d8f5b2 0%, #b6e877 100%);
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
  color: var(--dark-green);
}

.hero::after {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at top left, rgba(58, 102, 4, 0.15), transparent 60%),
              radial-gradient(circle at bottom right, rgba(131, 229, 9, 0.1), transparent 70%);
  z-index: 0;
}

.hero h1,
.hero p,
.hero a {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* ======================
   General Sections
====================== */
.section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--dark-green);
}

/* ======================
   Cards / Services
====================== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  border-radius: 10px;
  padding: 1.5rem;
  background: var(--white);
  box-shadow: 0 4px 12px var(--shadow-color);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 6px 16px var(--shadow-color);
  transform: translateY(-4px);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--dark-green);
}

/* ======================
   AI / Web / Mobile Sections
====================== */
.ai-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.ai-content {
  flex: 1;
  max-width: 50%;
}

.ai-image {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: center;
}

.ai-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.ai-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark-green);
}

.ai-section p {
  font-size: 1rem;
  margin: 10px 0;
  color: #444;
}

.highlight {
  color: #d4af37;
  font-weight: bold;
}

/* ======================
   Buttons & CTA
====================== */
.btn {
  display: inline-block;
  background: var(--dark-green);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--lime-green);
  color: var(--dark-green);
}

.cta-highlight {
  margin-top: 2rem;
  padding: 1.2rem;
  background: linear-gradient(135deg, #e9fcd9, #d0f0b3);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.cta-highlight p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-green);
}

/* ======================
   Tech Stack
====================== */
.tech-logo-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.85rem;
  color: var(--dark-green);
  opacity: 0.9;
  transition: all 0.3s ease;
  width: 80px;
}

.tech-item img {
  height: 48px;
  margin-bottom: 0.4rem;
}

.tech-item:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* ======================
   Clients Carousel
====================== */
.clients-carousel {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  margin: 2rem auto;
  border-top: 1px solid var(--lime-green);
  border-bottom: 1px solid var(--lime-green);
  padding: 1rem 0;
  background: var(--light-green-bg);
}

.carousel-track {
  display: flex;
  animation: scroll-names 25s linear infinite;
}

.client-name {
  font-weight: 600;
  color: var(--dark-green);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin: 0 1.5rem;
}

@keyframes scroll-names {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ======================
   Trust Section
====================== */
.trust-section {
  background: var(--dark-green);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

.trust-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.metric {
  font-size: 1.4rem;
  font-weight: 600;
}

.metric span {
  display: block;
  font-size: 2rem;
  color: var(--lime-green);
}

/* ======================
   Footer
====================== */
footer {
  background: var(--dark-green);
  color: var(--white);
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}

/* ======================
   Hamburger (Mobile Nav)
====================== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ======================
   Responsive Media Queries
====================== */
@media (max-width: 992px) {
  .ai-section {
    flex-direction: column;
    text-align: center;
  }
  .ai-content {
    margin-bottom: 2rem;
    max-width: 100%;
  }
  .ai-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  nav.nav-links {
    max-height: 0;
    overflow: hidden;
    width: 100%;
    background: var(--dark-green);
    transition: max-height 0.3s ease;
  }

  nav.nav-links.open {
    max-height: 300px;
  }

  nav.nav-links ul {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .header-right {
    flex-direction: column;
    padding: 1rem;
  }

  .hamburger { display: flex; }

  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
}

@media (max-width: 600px) {
  .card { padding: 1.2rem; }
}

@media (max-width: 500px) {
  .trust-metrics {
    flex-direction: column;
    gap: 1rem;
  }
  .metric h3 { font-size: 1.5rem; }
}
