body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #d9f1ff, #b6e6ff);
  color: #0a2540;
}


/*  Hero Contact Section  */
.contact-hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
  background: radial-gradient(circle at 20% 30%, #a3e0ff, #e1f4ff);
  position: relative;
  overflow: hidden;
}

/* Floating background*/
.contact-hero::before,
.contact-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 174, 255, 0.15);
  filter: blur(100px);
  animation: float 6s ease-in-out infinite;
}

.contact-hero::before {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 15%;
}

.contact-hero::after {
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: 20%;
}

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

/*Glassmorphism Containers */
.glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
}

/*  Contact Layout */
.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 85%;
  max-width: 1200px;
  flex-wrap: wrap;
  gap: 40px;
  z-index: 2;
}

.contact-card {
  flex: 1 1 40%;
  padding: 40px;
  color: #04395e;
  animation: fadeInLeft 1s ease;
}

.contact-form {
  flex: 1 1 50%;
  padding: 40px;
  animation: fadeInRight 1s ease;
}

/* Animations */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/*  Info Section  */
.contact-card h2 {
  font-size: 32px;
  color: #006bb3;
  margin-bottom: 15px;
}

.contact-card p {
  color: #033f67;
  font-size: 16px;
  margin-bottom: 25px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.contact-info-grid div {
  font-size: 15px;
  background: rgba(255, 255, 255, 0.3);
  padding: 10px 15px;
  border-radius: 10px;
}

.contact-info-grid i {
  color: #0080ff;
  margin-right: 8px;
}


/*  Form Section */
.contact-form h2 {
  font-size: 32px;
  color: #006bb3;
  margin-bottom: 25px;
}

/* Floating labels */
.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  border-bottom: 2px solid #0099ff;
  border-radius: 8px;
  font-size: 15px;
  color: #04395e;
  outline: none;
  resize: none;
}

.form-group label {
  position: absolute;
  left: 12px;
  top: 14px;
  color: #066ea8;
  font-size: 15px;
  transition: 0.3s ease;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -10px;
  left: 8px;
  font-size: 12px;
  color: #0099ff;
}

/* Submit Button */
.contact-form button {
  background: linear-gradient(90deg, #00aaff, #0077ff);
  color: white;
  border: none;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-form button:hover {
  background: linear-gradient(90deg, #0099e6, #005fe0);
  box-shadow: 0 6px 20px rgba(0, 128, 255, 0.4);
  transform: translateY(-2px);
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .contact-card,
  .contact-form {
    width: 100%;
  }

  .contact-form button {
    width: 100%;
    justify-content: center;
  }
}
