/* =========================
   SECTION
========================= */
.dog-section {
  padding: 40px 40px;
}

/* =========================
   DOG CARD
========================= */
.dog-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  gap: 40px;

  background: #f4efe7;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.dog-container > img {
  width: 320px;
  border-radius: 18px;
  object-fit: cover;
}

.dog-text {
  flex: 1;
  padding-right: 150px;
}

.dog-text h2 {
  font-size: 36px;
  margin: 0 0 10px;
}

.dog-text p {
  font-size: 16px;
  line-height: 1.6;
}

/* =========================
   FILL ONLINE BUTTON
========================= */
.fill-btn {
  margin-top: 18px;
  padding: 12px 22px;
  border: none;
  border-radius: 12px;

  background: linear-gradient(135deg, #32a866, #1f7a45);
  color: white;

  font-family: inherit;
  font-size: 15px;
  font-weight: 800;

  cursor: pointer;
  box-shadow: 0 8px 18px rgba(31,122,69,0.25);
  transition: all 0.25s ease;
}

.fill-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #38b872, #216f43);
}

/* =========================
   PDF DOWNLOAD IMAGE BUTTON
========================= */
.circle-btn {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);

  width: 85px;
  height: 85px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.25s ease;
}

.circle-btn img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.circle-btn::after {
  content: "Download Form";
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);

  font-size: 13px;
  font-weight: 700;
  color: #444;
  white-space: nowrap;
}

.circle-btn:hover {
  transform: translateY(-50%) scale(1.08);
}

/* =========================
   COLLAPSIBLE ONLINE FORM
========================= */
.custom-form-wrap {
  max-width: 1000px;
  margin: 0 auto;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 0.45s ease,
    opacity 0.3s ease,
    margin-top 0.3s ease;
}

.dog-section.form-open .custom-form-wrap {
  max-height: 3200px;
  opacity: 1;
  margin-top: 30px;
}

/* =========================
   CUSTOM FORM
========================= */
.custom-form {
  background: #f4efe7;
  padding: 28px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.custom-form h3 {
  font-size: 22px;
  margin: 0 0 10px;
  color: #2f2b22;
}

.form-subtext {
  font-size: 13px;
  color: #7a7468;
  margin: 0 0 16px;
  line-height: 1.6;
}

.custom-form h4 {
  margin: 22px 0 12px;
  font-size: 18px;
  color: #2f2b22;
}

.custom-form label {
  display: block;
  margin: 10px 0 6px;

  font-size: 14px;
  font-weight: 700;
  color: #2f2b22;
}

/* =========================
   FORM LAYOUT
========================= */
.form-row {
  display: flex;
  gap: 12px;
}

.form-row input,
.form-row select {
  flex: 1;
}

/* =========================
   FORM FIELDS
========================= */
.custom-form input,
.custom-form select,
.custom-form textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px;

  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;

  font-family: inherit;
  font-size: 14px;
  background: #fff;
}

.custom-form textarea {
  min-height: 90px;
  resize: vertical;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
  border-color: #32a866;
  box-shadow: 0 0 0 3px rgba(50,168,102,0.15);
}

/* =========================
   SUBMIT BUTTON
========================= */
.custom-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;

  background: linear-gradient(135deg, #32a866, #1f7a45);
  color: #fff;

  font-family: inherit;
  font-size: 14px;
  font-weight: 800;

  cursor: pointer;
  box-shadow: 0 8px 18px rgba(31,122,69,0.25);
  transition: all 0.25s ease;
}

.custom-form button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #38b872, #216f43);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 700px) {
  .dog-container {
    flex-direction: column;
    text-align: center;
  }

  .dog-container > img {
    width: 100%;
    max-width: 350px;
  }

  .dog-text {
    padding-right: 0;
  }

  .circle-btn {
    position: relative;
    right: auto;
    top: auto;
    transform: none;

    margin-top: 20px;
    margin-bottom: 35px;
  }

  .circle-btn:hover {
    transform: scale(1.08);
  }

  .dog-section.form-open .custom-form-wrap {
    max-height: 3600px;
    margin-top: 24px;
  }

  .custom-form {
    padding: 26px 20px;
  }

  .custom-form h3 {
    font-size: 22px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}
.upload-box {
  max-width: 1000px;
  margin: 20px auto 0;
  padding: 20px;

  background: #f4efe7;
  border-radius: 16px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.upload-box h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #2f2b22;
}

.upload-box input[type="file"] {
  display: block;
  margin-bottom: 12px;
}

.upload-box button {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;

  background: #1f7a45;
  color: white;
  font-weight: 700;

  cursor: pointer;
}