/* ==============================
   Datadog Purple Themed Form Page
   ============================== */

/*Header */
#header .profile img {
  margin: 15px auto;
  display: block;
  width: 150px;         /* bigger so text is legible */
  height: 150px;        /* same as width → circle */
  object-fit: contain;  /* keeps entire logo inside */
  background-color: #2c2f3f; /* fills circle background */
  border-radius: 50%;   /* ensures circle */
  border: 8px solid #2c2f3f;
  padding: 10px;        /* stops bottle/text from being cut */
}

/* General reset */
body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #632ca6 0%, #9c6ade 100%);
  margin: 0;
  padding: 0;
}

/* Section background */
#form-section {
  padding: 60px 20px;
  background: transparent;
  text-align: center;
}

/* Section title */
.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  margin-bottom: 15px;
}

/* White underline spanning most of the form width */
.section-title h2::after {
  content: "";
  display: block;
  width: calc(100% - 40px); /* full width minus 20px margin on each side */
  height: 3px;
  background: #fff;
  margin: 15px auto 0 auto; /* spacing from heading */
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  color: #e6dff3;
  margin-bottom: 30px;
}

/* Form wrapper */
#form-section .container {
  max-width: 700px; /* center & cap form width */
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Inputs and textarea */
.form-control {
  border-radius: 8px;
  border: 2px solid transparent;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  color: #2e2e2e;
}

.form-control:focus {
  border: 2px solid #632ca6;
  box-shadow: 0 0 8px rgba(99, 44, 166, 0.4);
  outline: none;
}

/* Labels */
label {
  font-weight: 600;
  color: #f0e9fb;
  display: block;
  margin-bottom: 8px;
  text-align: left;
}

/* Submit button */
.btn-primary {
  background: #632ca6;
  border: none;
  padding: 12px 35px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  color: #fff;
}

.btn-primary:hover {
  background: #4d1f80;
  transform: scale(1.05);
}

/* Back to top button */
.back-to-top {
  background: #632ca6;
  color: #fff;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.2s ease;
}

.back-to-top:hover {
  background: #4d1f80;
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #form-section .container {
    padding: 20px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-title h2::after {
    width: 60px;
  }
}
