/* General Styles */
body {
  font-family: "Yaldevi", serif;
  background-color: #EFEFE5;
  margin: 0;
  padding: 0;
}

h1, h2 {
  color: #3A3B3D;
  padding: 0rem 1rem 0;

}

p {
  color: #4D5756;
  line-height: 1.8;
  padding: 0rem 1rem 0;

}

/* Hero Section with Wave Transition */
.hero-section {
  position: relative;
  padding: 12rem 0rem 0;
  text-align: center;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M0 0h20v20H0z" fill="none" stroke="%23847F69" stroke-width="1" stroke-opacity="0.3"/></svg>');
  background-repeat: repeat;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 2vh;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease-out;
}

.hero-section p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease-out 0.3s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-search-container {
  max-width: 500px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.6s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-search {
  display: flex;
  border: 3px solid #72886B;
  border-radius: 1px;
}

.hero-search input {
  flex: 1;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  outline: none;
  background: #fff;
}

.hero-search button {
  background-color: #72886B;
  color: #fff;
  border: none;
  padding: 0 1.5rem;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.hero-search button:hover {
  transform: scale(1.05);
  background-color: #4D5756;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 8rem 0rem 0;
  }
  .hero-section h1 {
    font-size: 2rem;
    padding: 0rem 1rem 0;
  }
  .hero-section p {
    font-size: 1rem;
    padding: 0rem 1rem 0;

  }
}

/* Description Section with SVG Shapes and Icons */
.description-section {
  padding: 5rem 1rem;
  margin: 0 auto;
  position: relative;
}

.desc-block {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.desc-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.desc-block .icon {
  font-size: 2rem;
  color: #72886B;
  margin-bottom: 1rem;
}

.desc-block h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.desc-block p {
  font-size: 1rem;
}

.decor-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: -1;
}

/* Registration Section */
.register-section {
  padding: 5rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.register-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.registration-form {
  background: #EFEFE5;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.registration-form.visible {
  opacity: 1;
  transform: scale(1);
}

.registration-form .form-label {
  color: #3A3B3D;
  font-weight: 600;
}

.registration-form .form-control {
  border: 1px solid #847F69;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.registration-form .cta-btn {
  background: #72886B;
  color: #fff;
  border: 2px solid #72886B;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.registration-form .cta-btn:hover {
  transform: scale(1.05);
  background: #4D5756;
  border-color: #4D5756;
}

@media (max-width: 768px) {
  .register-section {
    padding: 3rem 1rem;
  }
  .register-section h2 {
    font-size: 1.5rem;
  }
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.desc-block {
  text-align: center;
  padding: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.desc-block:hover {
  transform: translateY(-10px);
}

@media (min-width: 768px) {
  .description-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 80px 40px;
  }
  
  .desc-block {
    margin: 0;
  }
}