html {
  scroll-behavior: smooth;
}

body {
  text-align: center;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  color: #333;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.bar {
  letter-spacing: 2px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: #2c5d33;
  font-size: large;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
  z-index: 1000;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

.bar .search-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}

.bar .search-input {
  width: 200px;
  height: 34px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #000;
  background: #fff;
}

.bar .search-btn {
  height: 34px;
  padding: 6px 10px;
  border-radius: 6px;
  border: none;
  background: #2c5d33;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  z-index: 1100;
}

.bar .search-btn:hover,
.bar .search-btn:focus {
  background: #244827;
  outline: none;
}

.topnav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background-color: #dff5e5;
  border-radius: 8px;
}

.topnav a {
  color: #555;
  text-align: center;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.topnav a:hover {
  background-color: #f0f7f0;
  color: #2c5d33;
}

.topnav a.active {
  background-color: #2c5d33;
  color: white;
  box-shadow: 0 4px 10px rgba(44, 93, 51, 0.2);
}

section {
  padding: 18px 30px;
  margin-bottom: 20px;
}

.exploring {
  color: hsl(120, 19%, 25%);
  text-align: center;
  font-size: 30px;
  z-index: 100;
}

.color-section {
  background: linear-gradient(to bottom, #fff, #f9fbf9);
  padding: 80px 5%;
}

.color-bar {
  background-color: rgb(215, 236, 204);
  color: rgb(74, 82, 74);
  width: 100%;
  padding: 22px 0;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.0;
}

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

.card {
  border: none;
  border-radius: 20px;
  background-color: white;
  margin: 20px;
  padding: 40px;
  width: 300px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeInScale 0.8s ease-out backwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 40px rgba(44, 93, 51, 0.15);
}

.card h3 {
  margin: 20px 0 10px;
  color: #2c5d33;
  font-size: 1.5rem;
}

.card p {
  color: #777;
  line-height: 1.5;
  margin-bottom: 25px;
}

.card button {
  background: #2c5d33;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.card button:hover {
  background: #1e4023;
  transform: scale(1.05);
}

.card button a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.hero-container {
  position: relative;
  width: 100%;
  min-height: 60vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
}

.hero-section {
  position: relative;
  min-height: 85vh;
  margin-bottom: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) blur(2px);
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: slowZoom 20s infinite alternate;
}

.content {
  z-index: 2;
  color: white;
  text-align: center;
  background-color: rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
  width: auto;
  padding: 40px 80px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  font-family: 'Segoe UI', sans-serif;
  font-weight: bold;
  position: relative;
  animation: fadeInUp 1.2s ease-out;
}

.message-board {
  background-color: rgb(215, 236, 204);
  padding: 60px 10%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: left;
}

.message-board .header-section {
  margin-bottom: 40px;
}

.message-board .header-section h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 8px;
  font-weight: bold;
}

.message-board .header-section p {
  color: #666;
  font-size: 1.1rem;
}

.message-board .main-content {
  display: flex;
  gap: 60px;
  justify-content: space-between;
}

.message-board .left-column,
.message-board .right-column {
  flex: 1;
}

.message-board .left-column {
  animation: slideInLeft 1s ease-out;
}

.message-board .right-column {
  animation: slideInRight 1s ease-out;
}

.message-board .sub-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.message-board .sub-header i {
  width: 28px;
  height: 28px;
  color: #333;
}

.message-board .sub-header h3 {
  font-size: 1.6rem;
  color: #333;
  margin: 0;
}

.message-board .intro-text {
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.message-board .contact-card {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  gap: 20px;
  transition: all 0.3s ease;
}

.message-board .contact-card:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.message-board .icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #43664a;
}

.message-board .icon-box i {
  width: 24px;
  height: 24px;
  color: #2c5d33;
}

.message-board .contact-info h4 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  color: #888;
}

.message-board .contact-info p {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
  font-weight: 500;
}

.message-board .social-media {
  margin-top: 40px;
}

.message-board .social-links {
  display: flex;
  gap: 20px;
}

.message-board .social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 10px 16px;
  background: #fff;
  border-radius: 20px;
  color: #2c5d33;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.message-board .social-link:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

.message-board .social-link i {
  width: 18px;
  height: 18px;
}


.message-board .formcarryform {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.message-board .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message-board .form-group label {
  font-size: 1rem;
  color: #555;
  font-weight: 500;
}

.message-board .form-group textarea {
  padding: 14px 18px;
  border: 1px solid #eee;
  border-radius: 12px;
  background-color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.message-board .form-group textarea:focus {
  border-color: #2c5d33;
}

.message-board .submit-btn {
  background-color: #2c5d33;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(255, 180, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.message-board .submit-btn:hover {
  background-color: #2c5d33;
  transform: translateY(-2px);
}

.message-board .submit-btn:active {
  transform: translateY(0);
}

@media (max-width: 992px) {
  .message-board {
    padding: 40px 5%;
  }

  .message-board .main-content {
    flex-direction: column;
    gap: 40px;
  }

  .message-board .header-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 800px) {
  .bar {
    flex-direction: column;
    height: auto;
    padding: 1rem;
    gap: 1rem;
  }

  .bar .search-form {
    width: 100%;
    justify-content: center;
    margin: 0;
  }

  .bar .search-input {
    width: 100%;
    max-width: 300px;
  }

  .bar .search-btn {
    display: block;
  }

  .topnav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .topnav a {
    padding: 8px 12px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 50vh;
  }

  .content {
    padding: 20px 40px;
    font-size: 2rem;
  }

  .color-section {
    padding: 40px 5%;
  }

  .card {
    width: 100%;
    max-width: 320px;
    margin: 10px;
  }
}