/* =========================
   CONTACT SECTION COMPACT
========================= */

.contact-section {
  padding: 60px 0;
  background: #f5f8ff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: flex-start;
}

/* =========================
   LEFT SIDE (Company Info)
========================= */

/* ================= PREMIUM CONTACT INFO ================= */

.contact-info {
  position: relative;
  padding: 80px 60px;
  border-radius: 30px;
  background: linear-gradient(135deg, #f8faff 0%, #eef3ff 100%);
  overflow: hidden;
}

/* Content Above Shapes */
.contact-content {
  position: relative;
  z-index: 2;
}

.contact-info h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}

.contact-intro {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.7;
}

/* Info List */

.info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Info Item */

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}

.info-item:hover {
  transform: translateX(8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Icon */

.info-icon {
  font-size: 22px;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #467be5, #3a55ed);
  color: #fff;
}

/* Headings */

.info-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
}

.info-item p,
.info-item a {
  font-size: 14px;
  color: #555;
  text-decoration: none;
}

.info-item a:hover {
  color: #467be5;
}

/* ================= ANIMATED BACKGROUND SHAPES ================= */

.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: floatShape 12s ease-in-out infinite alternate;
}

.shape1 {
  width: 300px;
  height: 300px;
  background: #3a4fed;
  top: -100px;
  right: -80px;
}

.shape2 {
  width: 250px;
  height: 250px;
  background: #3a45de;
  bottom: -80px;
  left: -60px;
  animation-delay: 4s;
}

/* Animation */

@keyframes floatShape {
  from {
    transform: translateY(0px) translateX(0px);
  }
  to {
    transform: translateY(40px) translateX(30px);
  }
}

/* Responsive */

@media (max-width: 768px) {
  .contact-info {
    padding: 50px 30px;
  }
}

/* =========================
   RIGHT SIDE (Form)
========================= */

/* ================= PREMIUM CONTACT FORM ================= */

.contact-form {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  padding: 50px;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  max-width: 800px;
  margin: auto;
}

/* Form Layout */

.form-row {
  display: flex;
  gap: 25px;
}

.form-group {
  position: relative;
  flex: 1;
  margin-bottom: 30px;
}

/* Inputs */

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
  outline: none;
  background: #f9fafb;
  transition: all 0.3s ease;
  resize: none;
}

/* Floating Labels */

.form-group label {
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 14px;
  color: #888;
  pointer-events: none;
  transition: 0.3s ease;
  background: transparent;
}

/* Focus & Active States */

.form-group input:focus,
.form-group textarea:focus {
  border-color: #4673e5;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -8px;
  left: 12px;
  font-size: 12px;
  background: #fff;
  padding: 0 6px;
  color: #3241e4;
}

/* Submit Button */

.submit-btn {
  width: 100%;
  padding: 16px;
  border-radius: 40px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #1f417b 0%, #2264c7 50%, #3a86ff 100%);
  transition: all 0.4s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(65, 108, 237, 0.35);
}

/* Note */

.form-note {
  font-size: 13px;
  color: #777;
  text-align: center;
  margin-top: 20px;
}

/* Success Message */

.form-success {
  margin-top: 15px;
  font-size: 14px;
  color: #16a34a;
  text-align: center;
}

/* Responsive */

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .contact-form {
    padding: 35px;
  }
}

 