/* styles.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: #222;
  background-color: #fff;
  line-height: 1.6;
}

body > * {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
}

header .logo {
  font-weight: 600;
  font-size: 18px;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  position: relative;
}

nav > a:not(:first-child) {
  margin-left: 20px;
}

nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #6C4BB1;
}

.hero {
  background: url('./assets/f1fa03c2-cc51-4eaa-a23f-e09854da6806.png') no-repeat center center/cover;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 20px;
  border-radius: 6px;
}

.hero button {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #f7cf6d;
  border: none;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

.testimonials {
  padding: 40px 0;
  text-align: center;
}

.testimonials h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.quote-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  margin-bottom: 40px;
}

.quote {
  font-size: 16px;
  max-width: 600px;
  color: #333;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  text-align: center;
  padding: 0 20px;
}

.quote.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  z-index: 1;
}

.quote strong {
  display: block;
  margin-top: 10px;
}

.testimonials {
  padding: 60px 20px 0px;
  text-align: center;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-50%);
  padding: 0 20px;
  pointer-events: none;
}

.arrow {
  font-size: 96px;
  color: #c6b9de;
  cursor: pointer;
  pointer-events: auto;
  background: white;
  width: 108px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow:hover {
  background:#f7f7f7
}

.dots {
  margin-top: -5px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e2d7f4;
}

.dot.active {
  background-color: #6C4BB1;
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 0;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.contact-form {
  flex: 1 1 300px;
  background-color: #f3f0fa;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 600;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #ffffff;
  font-size: 14px;
}

.form-group textarea {
  resize: none;
}

.checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.checkbox input {
  margin-right: 10px;
}

.checkbox label {
  font-size: 14px;
  color: #333;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: #6C4BB1;
  border: none;
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

.community-info {
  flex: 1 1 300px;
  background-color: #f3f0fa;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 16px;
  align-items: start;
}

.community-info h4 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
  border-bottom: 2px solid #ddd;
  padding-bottom: 8px;
}

.community-info ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.community-info ul li {
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e0dff2;
}

.contact-details {
  border-top: 2px solid #ddd;
  padding-top: 12px;
  margin-top: auto;
}

.contact-details p {
  margin-bottom: 6px;
  font-size: 14px;
  color: #333;
}

footer {
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.custom-multiselect {
  position: relative;
}

.custom-multiselect input {
  cursor: pointer;
  background-color: #fff;
}

.custom-multiselect .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 150px;
  overflow-y: auto;
  display: none;
  z-index: 10;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
}

.custom-multiselect .dropdown label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  cursor: pointer;
}

.custom-multiselect .dropdown .dd__option {
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 4px;
}

.custom-multiselect .dropdown .dd__option:hover {
  background-color: #669966;
  color:#fff
}


@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  nav {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .contact-section {
    flex-direction: column;
    align-items: stretch;
  }

  .quote {
    font-size: 14px;
    padding: 0 10px;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
  }

  .arrows {
    padding: 0 10px;
  }

  .arrow {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .dots {
    margin-top: 0;
  }
}
