:root {
  --green-main: #1B5E20;
  --green-accent: #43A047;
  --green-soft: #A5D6A7;

  --red-main: #C62828;

  --dark-bg: #0f172a;
  --footer-bg: linear-gradient(135deg, #0f172a, #1B5E20);


  --text-dark: #222;
  --text-light: #cbd5e1;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: var(--text-dark);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

h1, h2 {
  margin-bottom: 10px;
}

/* ================= NAVBAR ================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: 0.3s;
}

.navbar.scrolled {
  background: white;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

/* LOGO */
.logo {
  height: 50px;
  transition: 0.3s;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 6px var(--green-accent));
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 25px;
}

.nav-item {
  position: relative;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 5px 0;
  transition: 0.3s;
}

/* underline animation */
.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--green-accent);
  transition: 0.3s;
}

.nav-item:hover::after {
  width: 100%;
}

.nav-item:hover {
  color: var(--green-accent);
}

/* ACTIVE LINK */
.nav-item.active {
  color: var(--green-accent);
}

.nav-item.active::after {
  width: 100%;
}

/* CTA BUTTON */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--red-main);
  color: white !important;

  padding: 10px 22px;
  border-radius: 999px;

  line-height: normal;
  margin-left: 10px;
  font-weight: 500;
  min-height: 38px;

  transition: 0.3s;
}

/* remove underline from CTA */
.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(198, 40, 40, 0.3);
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ================= BUTTON ================= */

.btn-primary {
  background: var(--red-main);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #b71c1c;
}

/* ================= FOOTER ================= */

.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(67,160,71,0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(165,214,167,0.1), transparent 40%),
    linear-gradient(135deg, #0f172a 0%, #1B5E20 60%, #0b3d1a 100%);
  color: #e5e7eb;
  padding-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(67,160,71,0.15);
  filter: blur(120px);
  top: -100px;
  left: -100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 15px;
}

.footer-about p {
  color: var(--text-light);
  line-height: 1.6;
}

.socials {
  margin-top: 15px;
}

.socials a {
  display: block;
  color: var(--green-accent);
  margin-bottom: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.socials a:hover {
  color: var(--green-soft);
}

.footer-links h3,
.footer-contact h3 {
  color: var(--green-accent);
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-light);
  display: block;
  margin-bottom: 8px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 8px;
  color: var(--text-light);
}

/* bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 14px;
}

.footer-policy a {
  margin-left: 15px;
  color: #94a3b8;
  text-decoration: none;
}

.footer-policy a:hover {
  color: white;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  /* DROPDOWN MENU (NOT SLIDE) */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 220px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    gap: 15px;
  }

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

  .nav-links a {
    font-size: 16px;
  }

  .hamburger {
    display: block;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}