:root {
  --green-dark: #2e604b;
  --green-mid: #6ca58e;
  --green-light: #d5efe2;
  --blue-accent: #4b9faf;
  --blue-dark: #266c77;
  --bg-color: #eaf6f0;
  --text-color: #1f2d2a;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  background: linear-gradient(to bottom right, #d9f2ea, #cce7f2);
  color: var(--text-color);
  overflow-y: auto;
  position: relative;
}

body a {
  color: var(--blue-dark);
  font-weight: bold;
  text-decoration: none;
}

/* Container */
#container {
  max-width: 900px;
  margin: 15px auto;
  height: auto;
  position: relative;
  z-index: 1;
}

/* Falling Leaves Animation */
.falling-leaf {
  position: fixed;
  width: 50px;
  height: 50px;
  background-image: url("https://cdn.pixabay.com/photo/2016/05/25/17/49/leaf-1415507_1280.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
  pointer-events: none;
  animation: fall 10s linear infinite;
  z-index: 0;
}

.falling-leaf:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.falling-leaf:nth-child(2) {
  left: 30%;
  animation-delay: 3s;
}
.falling-leaf:nth-child(3) {
  left: 50%;
  animation-delay: 6s;
}
.falling-leaf:nth-child(4) {
  left: 70%;
  animation-delay: 1.5s;
}
.falling-leaf:nth-child(5) {
  left: 90%;
  animation-delay: 4.5s;
}

@keyframes fall {
  0% {
    top: -10%;
    transform: rotate(0deg);
  }
  100% {
    top: 110%;
    transform: rotate(360deg);
  }
}

/* Header */
#header {
  max-width: 850px;
  margin: 0 auto;
  background-color: var(--green-light);
  border: 2px solid var(--green-mid);
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(46, 96, 75, 0.2);
  padding: 20px 10px;
  text-align: center;
}

.title {
  font-size: 32px;
  font-style: italic;
  font-weight: bold;
  color: var(--green-dark);
  margin: 0;
  line-height: 1.2;
}


/* Wrapper */
#wrapper {
  margin: 0 auto;
  max-width: 860px;
  position: relative;
  z-index: 2;
}

/* Box container */
#two-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 900px;
  margin: 5px auto;
}

/* Boxes */
.box-one,
.box-two,
.box-three,
.box-four,
.box-five,
.box-six {
  border: 2px solid var(--green-mid);
  background-color: var(--green-light);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 50, 40, 0.1);
  overflow: auto;
  transition: transform 0.2s ease;
}

.box-one:hover,
.box-two:hover,
.box-three:hover,
.box-four:hover {
  transform: scale(1.01);
}

.box-one,

.box-two {
  flex: 1 1 48%;
  height: 200px;
  margin: 5px;
}

.box-three {
  flex: 1 1 28%;
  height: 326px;
  margin: 5px;
}

.box-four {
  flex: 1 1 68%;
  height: 326px;
  margin: 5px;
  padding: 0;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: break-word;
  box-sizing: border-box;
  overflow-y: auto; /* adds vertical scroll if content is too tall */
}
/* Section titles */
.section-title {
  text-align: center;
  font-weight: bold;
  padding: 6px;
  background-color: var(--green-mid);
  color: var(--text-color);
  font-size: 12px;
  border-bottom: 1px solid var(--green-dark);
  border-radius: 10px 10px 0 0;
}

/* Navigation */
.nav-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  gap: 0px;
  padding: 0px;
}

.nav-button {
  display: inline-block;
  width: 150px;
  height: 35px;
  background-color: var(--blue-accent);
  color: white;
  font-weight: bold;
  text-align: center;
  line-height: 35px;
  border-radius: 6px;
  transition: background-color 0.3s;
  text-decoration: none;
}

.nav-button:hover {
  background-color: var(--blue-dark);
}

/* Text styling */
h1,
h3,
h5 {
  color: var(--green-dark);
}

h2,
h4,
h6 {
  color: var(--blue-dark);
}

p {
  padding: 5px;
}

p a {
  color: var(--green-dark);
  font-weight: bold;
}

/* Scrollbar */
.scroll::-webkit-scrollbar-track {
  background-color: var(--green-light);
}

.scroll::-webkit-scrollbar {
  width: 10px;
  background-color: var(--green-mid);
}

.scroll::-webkit-scrollbar-thumb {
  background-color: var(--green-dark);
}

/* Footer */
#footer {
  text-align: center;
  padding-top: 5px;
  margin-bottom: 5px;
  position: relative;
  z-index: 2;
}

#footer p {
  background-color: var(--green-light);
  display: block;
  width: 160px;
  margin: 5px auto;
  padding: 5px;
  border-radius: 6px;
  font-size: 10px;
}

/* Textarea */
textarea {
  background-color: var(--blue-dark);
  color: var(--green-light);
  font-size: 10px;
  border-radius: 5px;
  padding: 5px;
  border: none;
}
/* Responsive layout */
@media only screen and (max-width: 860px) {
  html,
  body {
    overflow: visible;
  }

  .box-one,
  .box-two,
  .box-three,
  .box-four,
  .box-five,
  .box-six {
    flex: 1 1 100% !important;
  }
.contact-section {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem;
}

.contact-intro > * + * {
  margin-top: 1rem;
}

.contact-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
}

.contact-description {
  color: rgb(107 114 128);
}

.form-group-container {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.form-input::placeholder,
.form-textarea:focus-visible {
  color: #6b7280;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.form-textarea {
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 1.2rem;
  background-color: #3124ca;
  color: #fff;
  padding: 13px 5px;
  border-radius: 0.375rem;
}


