:root {
  --primary: #04724d;
  --secondary: #023826;
  --accent: #f4a261;
  --bg-light: #f8f9fa;
  --text-dark: #2b2b2b;
  --text-light: #6c757d;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: 100px; /* Space for fixed header */
}

/* Ticker / Top Bar */
.top-ticker {
  background-color: var(--secondary);
  color: var(--white);
  padding: 5px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 500;
}
.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}
@keyframes ticker {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* Header & Nav */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 32px; /* Below ticker */
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
}
.logo-container img {
  height: 50px;
  cursor: pointer;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 15px;
}
nav ul li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: color 0.3s;
  font-size: 0.95rem;
}
nav ul li a:hover {
  color: var(--primary);
}
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Social Icons */
.social-header {
  display: flex;
  gap: 10px;
}
.social-header a {
  color: var(--primary);
  font-size: 1.2rem;
  text-decoration: none;
}

/* Hero Section */
.hero {
  position: relative;
  background: url('../hero.png') no-repeat center center/cover;
  color: var(--white);
  text-align: center;
  padding: 100px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(2, 56, 38, 0.7);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background-color: #e08b4a;
}

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

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

/* Cards */
.card {
  background: var(--white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card h3 { color: var(--primary); margin-bottom: 15px; }

/* Content Pages */
.page-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 2.5rem;
}
.content-section {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}
.content-section h2 { color: var(--secondary); margin-top: 20px; margin-bottom: 10px; }
.content-section p { margin-bottom: 15px; }

/* Forms & Maps */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
#map { height: 400px; width: 100%; border-radius: 8px; margin-top: 20px; }

/* Footer */
footer {
  background-color: var(--secondary);
  color: var(--white);
  padding: 40px 5%;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: var(--accent); text-decoration: none; }
.footer-links ul li a:hover { text-decoration: underline; }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 20px;
  font-size: 0.9rem;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--text-dark);
  color: var(--white);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
  flex-wrap: wrap;
  gap: 15px;
}
.cookie-btns button {
  padding: 8px 15px;
  margin-left: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}
.btn-accept { background-color: var(--primary); color: white; }
.btn-reject { background-color: transparent; border: 1px solid white !important; color: white; }

/* Responsive */
@media (max-width: 900px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  nav ul.active { display: flex; }
  nav ul li { text-align: center; }
  .menu-toggle { display: block; }
  .social-header { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* Tools Calculator */
.calculator {
  background: #f1f8f5; padding: 20px; border-radius: 8px; border: 1px solid #c8e1d5;
}
.result-box {
  margin-top: 20px; padding: 15px; background: var(--white); border-radius: 5px; font-weight: bold; color: var(--primary); font-size: 1.2rem;
}