/* ===== Variables ===== */
:root {
  --dark-green: #052c1e;
  --light-green: #06db6b;
  --cta-green-start: #07be5e;
  --whatsapp-green: #09ab55;
  --neutral-100: #f5f5f5;
  --border: #e5e7eb;
  --text-muted: #4b5563;
}

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

html {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  color: #1f2937;
  scroll-behavior: smooth;
}

body { margin: 0; }

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }
ul, li { list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  background: linear-gradient(to top, var(--cta-green-start), var(--light-green));
  color: #f5f5f5;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.025em;
  padding: 0.375rem 1.25rem;
  border-radius: 9999px;
  text-transform: uppercase;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  transition: opacity .15s;
  white-space: nowrap;
}

.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  display: inline-block;
  background-color: var(--dark-green);
  color: #f5f5f5;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.025em;
  padding: 0.375rem 1.25rem;
  border-radius: 9999px;
  text-transform: uppercase;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  transition: opacity .15s;
  white-space: nowrap;
}

.btn-secondary:hover { opacity: 0.85; }

/* ===== Container ===== */
.container {
  width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

/* ===== Navigation Wrapper ===== */
.nav-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  width: 100%;
}

/* Desktop Nav */
.nav-desktop {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-left a.logo-link img { width: 10rem; }

.nav-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1f2937;
  transition: text-decoration .15s;
}

.nav-link:hover { text-decoration: underline; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Nav */
.nav-mobile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background-color: var(--neutral-100);
  position: relative;
}

@media (min-width: 1024px) { .nav-mobile { display: none; } }

.nav-mobile .logo-link img { width: 8rem; }

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 0;
}

.hamburger svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem 1.5rem;
  background-color: var(--neutral-100);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.15);
}

.mobile-menu.open { display: flex; }

.mobile-nav-link {
  font-weight: 700;
  color: var(--dark-green);
  font-size: 0.95rem;
}

.mobile-menu .btn-primary,
.mobile-menu .btn-secondary {
  align-self: flex-start;
  font-size: 0.75rem;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  margin-top: 3.5rem; /* account for mobile nav height */
}

@media (min-width: 1024px) { .hero { margin-top: 0; } }

.hero-image img {
  height: 300px;
  width: 100%;
  object-fit: cover;
}

@media (min-width: 768px) { .hero-image img { height: auto; min-height: 380px; } }
@media (min-width: 1024px) { .hero-image img { min-height: 460px; } }

.hero-text {
  position: absolute;
  top: 0;
  left: 0.75rem;
  width: 75%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.25rem;
  z-index: 10;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .hero-text {
    top: -2.5rem;
    width: 50%;
    left: max(1.25rem, calc((100% - 768px) / 2 + 1.25rem));
  }
}

@media (min-width: 1024px) {
  .hero-text {
    top: 0;
    left: max(1.25rem, calc((100% - 1024px) / 2 + 1.25rem));
  }
}

@media (min-width: 1280px) {
  .hero-text {
    left: calc((100% - 1280px) / 2 + 1.25rem);
  }
}

.hero-text h2 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-green);
  line-height: 1.25;
}

@media (min-width: 768px) { .hero-text h2 { font-size: 1.5rem; } }
@media (min-width: 1024px) { .hero-text h2 { font-size: 2.25rem; } }

.hero-text h3 {
  font-size: 0.7rem;
  color: var(--dark-green);
  line-height: 1.5;
}

@media (min-width: 768px) { .hero-text h3 { font-size: 0.875rem; } }
@media (min-width: 1024px) { .hero-text h3 { font-size: 1rem; } }

/* Hero button is slightly bigger */
.hero-text .btn-primary {
  font-size: 0.7rem;
  padding: 0.5rem 0.75rem;
}

@media (min-width: 1024px) { .hero-text .btn-primary { font-size: 0.875rem; } }

/* ===== Section base ===== */
.section {
  padding: 2.5rem 1.25rem;
  margin: 0 auto;
  width: 100%;
  max-width: 1280px;
}

@media (min-width: 768px) { .section { padding: 5rem 1.25rem; max-width: 768px; } }
@media (min-width: 1024px) { .section { max-width: 1024px; padding: 5rem 0; } }
@media (min-width: 1280px) { .section { max-width: 1280px; } }

/* ===== About Section ===== */
.about-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) { .about-section { gap: 5rem; } }

/* ===== Carousel ===== */
.carousel {
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  position: relative;
}

.carousel-slide {
  display: none;
  width: 100%;
  justify-content: center;
  transition: opacity .4s ease;
}

.carousel-slide.active { display: flex; }

.carousel-slide img {
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) { .carousel-slide img { height: 400px; } }

/* Carousel in reason section has different heights */
.reason-left .carousel-slide img {
  height: 200px;
}

@media (min-width: 768px) { .reason-left .carousel-slide img { height: 300px; } }
@media (min-width: 1024px) { .reason-left .carousel-slide img { height: 400px; } }

/* ===== Feature Cards (3-col) ===== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) { .cards-grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ===== Feature Cards (4-col) ===== */
.cards-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) { .cards-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
}

.feature-card img {
  margin: 0 auto;
}

.feature-card h4 {
  font-weight: 600;
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

.feature-card p {
  font-size: 0.875rem;
  padding-top: 1rem;
  opacity: 0.6;
  text-align: center;
  line-height: 1.5;
}

/* ===== Reason to Choose ===== */
.reason-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

@media (min-width: 768px) { .reason-section { flex-direction: row; } }

.reason-left { width: 100%; }
@media (min-width: 1024px) { .reason-left { width: 50%; } }

.reason-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) { .reason-right { font-size: 1rem; } }
@media (min-width: 1024px) { .reason-right { width: 50%; } }

.reason-right h3 {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
}

@media (min-width: 768px) { .reason-right h3 { font-size: 1.125rem; } }

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bullet-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bullet-list li img {
  height: 1.25rem;
  flex-shrink: 0;
}

/* ===== Features Section ===== */
.features-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) { .features-section { gap: 5rem; } }

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.section-header h3 {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
}

@media (min-width: 768px) { .section-header h3 { font-size: 1.25rem; } }
@media (min-width: 1024px) { .section-header h3 { font-size: 1.5rem; } }

.section-header p {
  font-size: 0.875rem;
  opacity: 0.75;
}

@media (min-width: 768px) { .section-header p { font-size: 1rem; } }

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2.5rem;
  right: 0;
  z-index: 50;
  padding: 2.5rem;
}

.whatsapp-float img {
  width: 3rem;
  height: 3rem;
  background-color: var(--whatsapp-green);
  padding: 0.5rem;
  border-radius: 9999px;
}

@media (min-width: 768px) { .whatsapp-float img { width: 3.5rem; height: 3.5rem; } }
@media (min-width: 1024px) { .whatsapp-float img { width: 4rem; height: 4rem; padding: 0.75rem; } }

/* ===== Footer ===== */
footer { padding-top: 2.5rem; }

/* Grow Your Business CTA */
.footer-cta {
  position: relative;
  background-color: var(--dark-green);
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.footer-cta-bg {
  position: absolute;
  top: 0;
  width: 100%;
}

.footer-cta-bg img {
  width: 100%;
  object-fit: cover;
}

@media (min-width: 768px) { .footer-cta-bg img { height: 400px; width: auto; } }
@media (min-width: 1024px) { .footer-cta-bg img { width: 100%; height: auto; } }

.footer-cta-inner {
  position: relative;
  z-index: 10;
  color: #f5f5f5;
  padding: 2.5rem 1.25rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 768px) { .footer-cta-inner { padding: 5rem; } }

.footer-cta-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) { .footer-cta-content { width: 75%; } }
@media (min-width: 1024px) { .footer-cta-content { width: 50%; } }

.footer-cta-content h3 {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.25;
}

@media (min-width: 768px) { .footer-cta-content h3 { font-size: 1.5rem; } }

.footer-cta-content > p {
  font-size: 0.75rem;
  opacity: 0.75;
  padding-top: 0.125rem;
}

@media (min-width: 768px) { .footer-cta-content > p { font-size: 0.875rem; padding-top: 0.5rem; } }

.check-list {
  padding-top: 1.25rem;
  padding-left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) { .check-list { font-size: 1rem; } }

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-list li img { height: 1.25rem; flex-shrink: 0; }

.check-list li span { color: var(--light-green); }

/* Footer Links */
.footer-links {
  list-style: none;
  font-size: 0.875rem;
  color: var(--dark-green);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 0.75rem 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-links {
    flex-direction: row;
    gap: 5rem;
    max-width: 768px;
    padding: 0.75rem 1.25rem;
  }
}

@media (min-width: 1024px) {
  .footer-links {
    max-width: 1024px;
    padding: 0.75rem 0;
  }
}

@media (min-width: 1280px) { .footer-links { max-width: 1280px; } }

.footer-address {
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-address .footer-logo { width: 10rem; margin-bottom: 0.25rem; }

.footer-address > p { line-height: 1.6; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-top: 0.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-item img { width: 1.25rem; flex-shrink: 0; }

.social-links {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-link img { width: 1.25rem; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col h5 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.footer-col a {
  color: var(--dark-green);
  transition: text-decoration .15s;
}

.footer-col a:hover { text-decoration: underline; }

/* Footer Bottom */
.footer-bottom {
  background-color: rgba(6, 219, 107, 0.1);
  padding: 1.25rem;
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-bottom img { width: 9rem; }
