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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff; /* light, vibrant background */
  color: #003b2e; /* dark green for text */
  line-height: 1.5;
  font-size: 15px;
  max-width: 100%;
  overflow-x: hidden;
}

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

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #004d40;
}

.nav {
  transition: max-height 0.3s ease;
}

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

.hero-image img {
  object-fit: cover;
  width: 100%;
  max-height: 250px;
}

/* Navigation Menu */
.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.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;
}

/* Main content */
.main-content {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  text-align: center;
  justify-content: center;
  gap: 20px;
}

.main-content a {
  margin: 20px auto;
  color: #00796b;
  font-weight: bold;
  text-decoration: none;
}

/* Welcome message */
.welcome-message {
  justify-content: center;
  display: flex;
  padding: 20px;
  margin: 20px auto;
  font-size: 1.1rem;
  background: linear-gradient(100deg, #e6f4ea, #86d29a);;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  box-shadow: #205241 0px 0px 10px;
  transition: transform 0.3s ease;
}

.welcome-message:hover {
  transform: scale(1.02);
  background: linear-gradient(100deg, #e6f4ea, #86d29a);
  cursor: pointer;
}

.welcome-message ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  width: auto;
  text-align: center;
  margin: auto;
  color: #004d40;
}

/* Image container */
.image-container {
  width: auto;
  text-align: center;
  margin: auto;
  
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
  box-shadow: #205241 0px 0px 10px;
}

.image-container img:hover {
  transform: scale(1.02);
}

/* Services section */
.services {
  text-align: center;
  padding: 40px;
}

.services h3 {
  margin-bottom: 20px;
  color: #004d40;
}

.services div {
  margin: 10px 0;
}

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

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

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

/* 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;
  width: 100%;
}

.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;
}

/* Mobile styles */
@media (max-width: 768px) {
  body {
    font-size: 13px;
  }
  /* Reset some defaults */
  body {
    width: 100%;
  }

  height {
    object-fit: contain;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .main-content {
    flex-direction: column;
  }

  .welcome-message {
    font-size: 0.85rem;
    padding: 15px;
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    width: 100%;
  }

  .nav {
    display: flex;
    width: 100%;
    display: none; /* hidden by default */
    background: #e6f4ea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .nav.open {
    display: block; /* dropdown expands full width */
  }
}