* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Georgia, serif;
}

body {
  background: #f9f7f2;
}

/* HEADER */
.header {
  background: #fdfdfc;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* NAV */
.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #2c3e50;
}

.nav-links a:hover {
  color: #2f5d50;
}

/* BUTTON */
.nav-btn a {
  background: #2f5d50;
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
}

/* 🌿 CONTACT SECTION WITH IMAGE */
.contact-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 50px 20px;

  background: url('../images/tree-5.png') no-repeat center center/cover;
  position: relative;
}

/* 🌿 OVERLAY */
.contact-section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;

  background:linear-gradient(rgb(127 118 51 / 90%), rgba(255, 248, 220, 0.85));

  z-index: 1;
}

/* 🌿 ANIMATION LAYER */
.contact-section::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(46,204,113,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: moveBg 25s linear infinite;
  z-index: 1;
}

@keyframes moveBg {
  0% { transform: translate(0,0); }
  100% { transform: translate(-100px,-100px); }
}

/* CONTENT ABOVE */
.contact-section .container {
  position: relative;
  z-index: 2;
  gap: 50px;
  flex-wrap: wrap;
}

/* LEFT */
.contact-info {
  flex: 1;
}

.contact-info h1 {
  font-size: 36px;
  color: #2f5d50;
}

.contact-info p {
  color: #555;
}

.info-box {
  background: rgba(255,255,255,0.8);
  padding: 20px;
  border-radius: 12px;
}

/* FORM */
.contact-form {
  flex: 1;
  background: rgba(255,255,255,0.9);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* INPUT */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dcd2b5;
  border-radius: 8px;
}

.input-group label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  background: white;
  padding: 0 5px;
  color: #888;
  transition: 0.3s;
}

/* FLOAT */
.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:valid + label,
.input-group textarea:valid + label {
  top: -8px;
  font-size: 12px;
  color: #2f5d50;
}

/* BUTTON */
button {
  width: 100%;
  padding: 12px;
  background: #2f5d50;
  color: white;
  border-radius: 25px;
  cursor: pointer;
}

button:hover {
  background: #1e8449;
}

/* ANIMATION */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  animation: slideUp 1s ease forwards;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateX(-30px);}
  to {opacity: 1;}
}

@keyframes slideUp {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1;}
}

/* RESPONSIVE */
@media(max-width:768px) {
  .container {
    flex-direction: column;
  }
}