/* Reset some defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: white; /* light, vibrant background */
  color: rgb(11, 88, 42); /* dark green for text */
  line-height: 1.5;
  font-size: 15px;
  max-width: 100%;
  overflow-x: hidden;
}

/* Allow wrapping for flex containers */
.about-us,
.mission,
.nav ul {
  flex-wrap: wrap;
}

/* Keep multi-column layout but adjust widths */
.about-us .first,
.about-us .second,
.mission .offer,
.mission .value {
  flex: 1 1 300px; /* grow, shrink, minimum width */
  max-width: 45%;  /* ensures 2 columns when possible */
}

/* Medium screens */
@media (max-width: 992px) {
  .about-us .first,
  .about-us .second,
  .mission .offer,
  .mission .value {
    max-width: 48%; /* tighter for mid-sized screens */
  }
}

/* Small screens */
@media (max-width: 600px) {
  body {
    font-size: 13px;
  }
  .about-us .first,
  .about-us .second,
  .mission .offer,
  .mission .value {
    max-width: 100%; /* only stack when absolutely necessary */
  }

  .nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }
}


/* Header */
header {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background: linear-gradient(100deg, #e6f4ea, #86d29a);
  border-bottom-left-radius: 26px;
  border-bottom-right-radius: 26px;
  box-shadow: #004d40 0px -2px 10px;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.1em 1.2rem;
}

.hero-image img {
  display: block;
  width: 200px;
  height: 200px;
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.05)
}

/* Navigation Menu */
.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav ul li a {
  position: relative;
  text-decoration: none;
  color: #00675b;
  font-weight: bold;
}

.nav ul li a:after{
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #00bfa5;
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.nav ul li a:hover::after {
  transform: scaleX(1);
  color: #00bfa5;
}


.about-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-section h2 {
    text-align: center;
    margin-top: 30px;
}

.about-us {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 7px;
}

.about-us .first {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border-radius: 10px;
    border: solid 1px #004d40; /* dark green border */
    background: linear-gradient(100deg, #e6f4ea, #86d29a);
    transition: border-style 0.3s ease, box-shadow 0.3s ease;
    
}

.about-us .first:hover{
    box-shadow: #003b2e 0px 4px 12px;
}

.about-us .first p {
    max-width: 100%;
    margin: auto;
    text-align: center;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #27443f;
}

.about-us .first p span {
    font-size: 1.1rem;
    color: #004d40; /* dark green for text */
    font-weight: bold;
}

.about-us .second {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border-radius: 10px;
    border: solid 1px #004d40; /* dark green border */
    background: linear-gradient(100deg, #e6f4ea, #86d29a);
    transition: border-style 0.3s ease, box-shadow 0.3s ease;
}

.about-us .second:hover{
    box-shadow: #003b2e 0px 4px 12px;
}

.about-us .second p {
    max-width: 100%;
    text-align: center;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #004d40;
}

.about-us .second p span {
    font-size: 1.1rem;
    color: #004d40; /* dark green for text */
    font-weight: bold;
}

.mission{
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.mission .offer {
  border: solid 1px #004d40;
  padding: 20px;
  background: linear-gradient(100deg, #e6f4ea, #86d29a);
  border-radius: 10px;
  transition: border-style 0.3s ease, box-shadow 0.3s ease;
}

.mission .offer:hover{
  box-shadow: #003b2e 0px 2px 10px;
}

.mission .offer ul li {
  display: block;
  line-height: 1.6;
  max-width: 80%;
  font-size: 1.1rem;
  color: #004d40;
  padding: 10px;
  margin-bottom: 10px;
  margin-right: auto;
}

.mission .offer p {
  text-align: center;
}

.mission .value {
  padding: 20px;
  background: linear-gradient(100deg, #e6f4ea, #86d29a);
  border-radius: 10px;
  border: solid 1px #004d40;
  transition: border-style 0.3s ease, box-shadow 0.3s ease;
}

.mission .value:hover{
  box-shadow: #003b2e 0px 2px 10px;
}

.mission .value ul li {
  display: block;
  line-height: 1.6;
  max-width: 80%;
  font-size: 1.1rem;
  color: #004d40;
  padding: 10px;
  margin-bottom: 10px;
  margin-right: auto;
}

.root-container{
  display: flex;
  justify-content: center;
}

.roots {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  max-width: 80%;
  padding: 30px;
  margin-top: 10px;
  margin-bottom: 30px;
  border: solid 1px #004d40;
  background: linear-gradient(100deg, #e6f4ea, #86d29a);
  transition: border-style 0.3s ease, box-shadow 0.3s ease;
}

.roots p {
  text-align: center;
  line-height: 1.6;
  font-size: 1.1rem;
  color: #004d40;
}

.roots p span {
  font-size: 1.1rem;
  color: #004d40; /* dark green for text */
  font-weight: bold;
}

.roots:hover{
box-shadow: #003b2e 0px 2px 10px;
}

/* Footer */
footer {
  background: linear-gradient(100deg, #e6f4ea, #86d29a);
  color: rgb(55, 127, 119);
  padding: 20px;
  box-shadow: #004d40 0px -2px 10px;
  border-top-right-radius: 26px;
  border-top-left-radius: 26px;
  margin-top: 30px;
}

.footer-container {
  text-align: center;
  margin-bottom: 20px;
}

.footer-container a {
  color: #3c635f;
  text-decoration: none;
}

.footer-container a:hover {
  text-decoration: underline;
}

footer nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-media {
  text-align: center;
  margin-top: 10px;
}

.social-media a {
  margin: 0 10px;
  color: #3c635f;
  text-decoration: none;
}

.social-media a:hover {
  color: #6abab4;
}
