/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  background: url("../img/hero3.jpeg") center no-repeat;
  background-size: cover;
  padding-bottom: 238px;
  position: relative;
}

.hero-content h3 {
  font-family: "Montserrat", cursive;
  color: var(--brand-secondary);
  font-size: clamp(1.2rem, 4vw, 2.2rem);
  margin-bottom: 1rem;
}

.hero-content p {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero-text p {
  margin-top: 0rem;
  width: 70%;
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-section {
  position: relative;
  background: linear-gradient(to bottom, #9E1F63 0%, #b98a54 70%, #c09c66 100%);
  color: #fff;
  padding: 0rem 1rem 6rem 1rem;
  overflow: hidden;
  text-align: center;
}

#bubbles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 2;
  width: min(800px, 90%);
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-content h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.4rem);
  color: var(--brand-secondary);
  margin-bottom: 1.2rem;
}

.contact-content .intro {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #f9f9f9;
  margin-bottom: 2.2rem;
}

/* =========================================================
   FORM STYLING
   ========================================================= */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--brand-highlight);
  font-family: "Montserrat", sans-serif;
}

.form-group input {
  font-family: "Montserrat", sans-serif;
  border: none;
  outline: none;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.3s ease;
}

.form-group textarea {
  font-family: "Montserrat", sans-serif;
  border: none;
  outline: none;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.3s ease;
  resize: vertical;             /* ✅ allows up/down only */
  max-height: 300px;            /* ✅ prevents it from exceeding the card */
  min-height: 120px;            /* optional — keeps good default size */
  overflow-y: auto;             /* ✅ ensures scrolling inside instead of overflow */
  box-sizing: border-box;       /* ensures padding is included in limits */
}



.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
  background: rgba(255, 255, 255, 0.2);
}

.form-group.checkbox {
  display: block;
  text-align: center;
}

.form-group #opt-in {
  width: 1.25rem;
  height: 1.25rem;
}

/* =========================================================
   BUTTON
   ========================================================= */
.btn-magenta {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 85px;
  height: 85px;
  min-height: 70px;
  background: var(--brand-primary);
  color: #fff;
  padding: 0;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.btn-magenta:hover {
  background: #E6C761;
  transform: translateY(-2px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 600px) {
  .contact-content {
    padding: 2rem 1.25rem;
  }

  .btn-magenta {
    width: 60px;
    height: 60px;
    min-height: 60px;
  }
}
