.contact-hero {
  background: linear-gradient(135deg, #1C2F69, #0f1f4a);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  margin-top: 100px;
}

.contact-hero h1 {
  font-size: 38px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.contact-hero p {
  font-size: 18px;
  color:  #d9e0ff;
}

.contact-section {
  display: flex;
  gap: 50px;
  padding: 70px 90px;
  background: #f9f9f9;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  color: #1C2F69;
  margin-bottom: 20px;
  font-size: 26px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 12px;
  color: #333;
}

.contact-form {
  flex: 1;
  background: #fff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: #1C2F69;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1s ease;
}

.contact-form:hover::before {
  transform: scaleY(1);
}

.contact-form:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.contact-form h2 {
  color: #1C2F69;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1C2F69;
}

.btn-submit {
  background: #1C2F69;
  color: #fff;
  padding: 14px 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}

.btn-submit:hover {
  background:#080e1e;
  font-size: 16.5px;
}


/* Media */

@media (max-width: 1024px) {
  .contact-hero {
    padding: 70px 20px;
    margin-top: 90px;
  }

  .contact-hero h1 {
    font-size: 32px;
  }

  .contact-hero p {
    font-size: 17px;
  }

  .contact-section {
    padding: 60px 40px;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 60px 16px;
    margin-top: 80px;
  }

  .contact-hero h1 {
    font-size: 28px;
  }

  .contact-hero p {
    font-size: 16px;
  }

  .contact-section {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .contact-form {
    padding: 30px;
  }

  .contact-info h2 {
    font-size: 24px;
  }

  .contact-info p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 24px;
  }

  .contact-hero p {
    font-size: 15px;
  }

  .contact-form {
    padding: 25px;
  }

  .btn-submit {
    width: 100%;
  }
}
