/* Global Styles */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #ffffff;
  color: #333;
  font-weight: 500;
  width: 100%;
  overflow-x: hidden;
  height: 100%;
}

h1, h2 {
  color: #41A62A;
}

/* Header */
header {
  background-color: #ffffff;
  padding: 1rem;
  text-align: center;
}

.logo-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .logo-title {
    flex-direction: row;
    justify-content: center;
  }
}

.logo-title img {
  height: 50px;
}

header p {
  color: #26bf38;
  margin: 0.5rem 0;
}

/* Navigation */
nav {
  background: #e6e6e6;
  padding: 0.5rem;
  text-align: center;
}

nav a {
  padding: 0.5rem 1rem;
  background-color: #41A62A;
  color: white;
  border-radius: 5px;
  margin: 0.3rem;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  background-color: #0ea923;
}

/* Main Layout */
main {
  position: relative;
  width: 100%;
  margin: 4rem 0 10rem 0;
  padding: 0 10vw;
}

/* Section Styles */
section {
  background-color: #f4f4f4;
  border: 2px solid #41A62A;
  border-radius: 12px;
  padding: 2rem;
  margin: 8rem 0;
  box-shadow: 0 4px 8px rgba(19, 212, 42, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
}

section:nth-of-type(2) {
  animation-delay: 0.2s;
}
section:nth-of-type(3) {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section with Image */
.section-with-image {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  align-items: stretch;
  margin: 8rem 0;
}

.section-with-image.left {
  flex-direction: row-reverse;
}

.section-with-image.right {
  flex-direction: row;
}

.section-with-image section {
  flex: 1;
  background-color: #f4f4f4;
  border: 2px solid #41A62A;
  border-radius: 12px;
  padding: 2rem;
  margin: 0;
  box-shadow: 0 4px 8px rgba(19, 212, 42, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
}

.section-image {
  flex: 0 0 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  padding: 0;
}

ul {
  padding-left: 1.5rem;
}

ul.custom-list {
  list-style: none;
  padding-left: 0;
}

ul.custom-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

ul.custom-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.2rem;
  height: 1.2rem;
  background-image: url('img/logoDrop.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

li {
  margin-bottom: 1.5rem;
}

.section-divider {
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, transparent 0%, #41A62A 40%, #41A62A 60%, transparent 100%);
  margin: 4rem 0;
  opacity: 0.6;
}

/* Footer */
footer {
  background-color: #ffffff;
  width: 100%;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10;
}

#contact {
  background-color: #f4f4f4;
  border: 1px solid #41A62A;
  border-radius: 8px;
  padding: 1rem;
}

/* Privacy Links */
.privacy-link {
  display: block;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.privacy-link a {
  color: #41A62A;
  text-decoration: none;
  font-weight: bold;
}

.privacy-link a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .section-with-image,
  .section-with-image.right,
  .section-with-image.left {
    flex-direction: column;
  }

  .section-image {
    flex: none;
    width: 100%;
    margin-bottom: 1rem;
  }

  .section-image img {
    max-width: 90%;
  }

  main {
    padding: 0 1rem;
    background: none;
  }
}
