* {
  margin: 0;
  padding: 0;
  font-family: "Quicksand", sans-serif;
}

body {
  position: relative;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    #c0e8f9 10%,
    #f7c0ce 30%,
    #f97fa0 100%
  );
}

.contact-section {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.contact-hero {
  text-align: center;
  padding: 50px 20px;
  max-width: 700px;
  margin: 0 auto;
  z-index: 1;
}

.contact-content {
  max-width: 600px;
  display: block;
  margin: 0 auto;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #6b3e2e;
  margin-bottom: 15px;
  letter-spacing: 1px;
  font-family: "Unbounded", cursive;
}

.contact-hero h1 span {
  color: #f97e94;
  font-family: "Unbounded", cursive;
}

.contact-subtitle {
  margin: 2rem 1rem 0 1rem;
  font-weight: 500;
  color: #6b3e2e;
  font-size: 1.3rem;
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 70px 80px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contact-form {
  flex: 1;
  min-width: 700px;
  background: #ffffff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 20px 25px rgba(249, 126, 148, 0.15);
  transition: transform 0.3s ease;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #5a3830;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 18px;
  border: 2px solid #fdd8d2;
  border-radius: 12px;
  font-size: 14px;
  background: #fff8f9;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f97e94;
  box-shadow: 0 0 50px rgba(249, 126, 148, 0.2);
  outline: none;
}

.contact-form textarea {
  resize: none;
  min-height: 120px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #fdd8d2;
  border-radius: 12px;
  background: #fff8f9;
  font-size: 14px;
  transition: 0.3s;
}

.form-group select:focus {
  border-color: #f97e94;
  box-shadow: 0 0 50px rgba(249, 126, 148, 0.4);
  outline: none;
}

.required {
  color: #f97e94;
  font-weight: 700;
}

.form-title {
  text-align: left;
  margin-bottom: 25px;
}

.form-title h2 {
  font-family: "Unbounded", sans-serif;
  color: #5a3830;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-title h2 i {
  font-size: 1.5rem;
  color: #f97e94;
}

.form-title p {
  color: #6b3e2e;
  font-size: 1rem;
  font-weight: 500;
  margin-left: 2px;
  margin: 1rem 0 2rem 0;
}

.btn-submit {
  background: #f97e94;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 12px;
  width: 100%;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  font-weight: 600;
}

.btn-submit:hover {
  background: #e4658c;
}

.sidebar {
  width: 350px;
}

.sidebar .card {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5a3830;
  font-family: "Unbounded", sans-serif;
}

.card p,
.card ul {
  font-size: 1rem;
  margin: 0.6rem 0;
  line-height: 1.6;
  color: #333;
}

.card ul {
  padding-left: 1.4rem;
}

.socials {
  display: flex;
  gap: 0.5rem;
}

.socials a {
  color: #f97e94;
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.socials a:hover {
  color: #6b3e2e;
  transform: scale(1.1);
}

.text-pink {
  color: #f97e94;
}

.card-section {
  margin-bottom: 1rem;
}

.card-section i {
  color: #f97e94;
}

.card-header {
  margin-left: 0.5rem;
  font-weight: 600;
  color: #5a3830;
}

.card-content {
  margin-left: 1.7rem;
  line-height: 1.5;
}

.heart-container {
  display: inline-block;
  background-color: #f97fa0;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  line-height: 70px;
  margin-bottom: 20px;
  animation: jump 1s infinite;
  z-index: 2;
  position: relative;
}

.heart-container i {
  color: #fff;
  font-size: 28px;
}

@keyframes jump {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.floating-elements .float {
  position: absolute;
  font-size: 3rem;
  animation: floatUp linear infinite;
  bottom: -50px;
  opacity: 0.5;
}

.floating-elements .float1 {
  left: 10%;
  animation-duration: 6s;
  animation-delay: 0s;
  color: rgba(255, 255, 255, 0.5);
}
.floating-elements .float2 {
  left: 25%;
  animation-duration: 8s;
  animation-delay: 1s;
  color: rgba(255, 255, 255, 0.5);
}
.floating-elements .float3 {
  left: 45%;
  animation-duration: 7s;
  animation-delay: 2s;
  color: rgba(255, 255, 255, 0.5);
}
.floating-elements .float4 {
  left: 65%;
  animation-duration: 9s;
  animation-delay: 3s;
  color: rgba(255, 255, 255, 0.5);
}
.floating-elements .float5 {
  left: 85%;
  animation-duration: 6s;
  animation-delay: 4s;
  color: rgba(255, 255, 255, 0.5);
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) scale(1.2);
    opacity: 0;
  }
}

@media (min-width: 1440px) {
  .contact-hero h1 {
    font-size: 3.5rem;
  }

  .contact-subtitle {
    font-size: 1.5rem;
  }

  .contact-container {
    padding: 80px 120px;
    max-width: 1400px;
    margin: 0 auto;
  }

  .contact-form {
    min-width: unset;
  }
}

@media (max-width: 1024px) {
  .contact-container {
    padding: 50px 40px;
    gap: 30px;
  }

  .contact-form {
    min-width: unset;
    flex: 1;
  }

  .sidebar {
    width: 300px;
  }

  .contact-hero h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .heart-container {
    width: 52px;
    height: 52px;
    line-height: 60px;
  }

  .heart-container i {
    font-size: 24px;
  }
  .contact-hero {
    padding: 40px 16px;
  }

  .contact-hero h1 {
    font-size: 1.8rem;
  }

  .contact-subtitle {
    font-size: 1rem;
    margin: 1rem 0 0;
  }

  .contact-container {
    flex-direction: column;
    padding: 30px 16px;
    gap: 24px;
  }

  .contact-form {
    min-width: unset;
    width: 100%;
    padding: 24px;
  }

  .sidebar {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .floating-elements .float {
    font-size: 2rem;
    opacity: 0.3;
  }
}

@media (max-width: 480px) {
  .heart-container {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }

  .heart-container i {
    font-size: 18px;
  }
  .contact-hero h1 {
    font-size: 1.5rem;
  }

  .contact-subtitle {
    font-size: 0.95rem;
  }

  .contact-container {
    padding: 24px 12px;
  }

  .contact-form {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .form-title h2 {
    font-size: 1.2rem;
  }

  .form-title p {
    font-size: 0.9rem;
    margin: 0.6rem 0 1.2rem;
  }

  .contact-form input,
  .contact-form textarea,
  .form-group select {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .btn-submit {
    font-size: 0.95rem;
    padding: 12px;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card p,
  .card ul,
  .card-content {
    font-size: 0.9rem;
  }

  .floating-elements .float {
    display: none;
  }
}

@media (max-width: 320px) {
  .heart-container {
    width: 35px;
    height: 35px;
    line-height: 35px;
  }

  .heart-container i {
    font-size: 16px;
  }
  .contact-hero h1 {
    font-size: 1.2rem;
  }

  .contact-subtitle {
    font-size: 0.85rem;
  }

  .contact-container {
    padding: 20px 10px;
  }

  .contact-form {
    padding: 16px 12px;
  }

  .form-title h2 {
    font-size: 1rem;
    gap: 6px;
  }

  .form-title h2 i {
    font-size: 1rem;
  }

  .btn-submit {
    font-size: 0.88rem;
  }
}
