:root {
  --primary-color: #8cc38b;
  --secondary-color: #22545b;
  --secondary-color-light: #5459b1;

  /* Light theme colors */
  --bg-color: #f4f4f4;
  --text-color: #333;
  --card-bg: #fff;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --cta-bg: #2e7d32;
  --cta-bg-hover: #256c2b;
  --cta-text: #ffffff;
  --wa-bg: #128C7E;
  --wa-text: #ffffff;
  --focus-ring: #ffffff;
}

/* Dark theme colors */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --card-bg: #2d2d2d;
    --shadow-color: rgba(255, 255, 255, 0.1);

    --cta-bg: #2e7d32;
    --cta-bg-hover: #2a7030;
    --cta-text: #ffffff;
    --wa-bg: #0E6F64;
    --wa-text: #ffffff;
    --focus-ring: #ffffff;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

#header {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 10vh;
}

#header h1 {
  margin: 0;
  font-size: 2.5em;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--cta-bg);
  color: var(--cta-text);
  text-decoration: none;
  font-size: 1.3em;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(140, 195, 139, 0.3);
}

.cta-button:hover {
  background-color: var(--cta-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(140, 195, 139, 0.4);
}

.cta-button:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.services {
  padding: 50px 0;
  text-align: center;
}

.services h3 {
  font-size: 2em;
  margin-bottom: 30px;
}

.service-item {
  display: inline-block;
  width: 30%;
  margin: 20px;
  justify-content: center;
  background-color: var(--card-bg);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-item h4 {
  font-size: 1.5em;
}

.contact {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 50px 0;
  text-align: center;
  scroll-behavior: smooth;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact h3 {
  font-size: 2em;
  margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 70%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: none;
}

.contact-form button {
  padding: 15px 30px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  cursor: pointer;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 12px 24px;
  background-color: var(--wa-bg);
  color: var(--wa-text);
  font-weight: bold;
  font-size: 1.2em;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.whatsapp-button:hover {
  background-color: #0b5f55;
  transform: translateY(-1px);
}
.whatsapp-button:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.whatsapp-icon {
  vertical-align: middle;
  margin-right: 12px;
  width: 32px;
  height: 32px;
}

footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

@media (max-width: 768px) {

  #header h1{
    font-size: 18px;
    padding: 12px;
  }

  .service-items-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .service-item {
    display: flex;
    width: 30%;
    margin: 20px;
    justify-content: center;
    background-color: var(--card-bg);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: --primary-color;
    font-size: 14px;
    width: 90%;
    min-width: unset;
  }
}