.contact-hero {
  background: linear-gradient(135deg, rgba(10, 31, 63, 0.85) 0%, rgba(26, 58, 111, 0.85) 100%), url('../images/contact_bg.jpg');
  /* background: url('../images/contact_bg.jpg'); */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Soft Glow Background */
.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(74, 144, 226, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Subtle Mesh Pattern */
.contact-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/contact_bg.jpg') no-repeat center center;
  background: url('../images/bg2.png') no-repeat center center;
  width: 100%;
  height: 100%;
    background-size: cover;
  pointer-events: none;
  /* transform: rotate(90deg); */
}

/* Decorative Shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(74, 144, 226, 0.25);
}

.shape-1 {
  width: 300px;
  height: 200px;
  border-radius: 30px;
  top: 50px;
  right: -150px;
  animation: orbit 8s linear infinite;
}

.shape-2 {
  width: 200px;
  height: 100px;
  border-radius: 30px;

  bottom: -100px;
  left: -100px;
  animation: bounce-expand 6s cubic-bezier(0.36, 0, 0.66, -0.56) infinite;
}

.shape-3 {
  width: 150px;
  height: 100px;
  border-radius: 0;

  top: 50%;
  left: 10%;
  animation: spiral-pulse 7s ease-in-out infinite;
}

.contact-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.contact-info-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(14, 44, 99, 0.08);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-info-card h4 {
  margin-bottom: 8px;
}

.contact-card-subtitle {
  color: var(--gray-color);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.contact-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}

.contact-address span {
  display: block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-address-label {
  font-size: 1rem !important;
  margin-bottom: 2px;
}

.contact-reach-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
}

.contact-reach-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-reach-item i {
  color: var(--accent-color);
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}

.contact-info-card .icon-box {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  margin-bottom: 20px;
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  padding: 12px 20px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(14, 44, 99, 0.1);
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Animation Keyframes */
@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(40px) rotate(-0deg);
    opacity: 0.15;
  }
  25% {
    opacity: 0.25;
  }
  50% {
    transform: rotate(180deg) translateX(40px) rotate(-180deg);
    opacity: 0.35;
  }
  75% {
    opacity: 0.25;
  }
  100% {
    transform: rotate(360deg) translateX(40px) rotate(-360deg);
    opacity: 0.15;
  }
}

@keyframes bounce-expand {
  0%, 100% {
    transform: scale(1) translateY(0);
    opacity: 0.15;
  }
  25% {
    transform: scale(1.25) translateY(-30px);
    opacity: 0.3;
  }
  50% {
    transform: scale(0.8) translateY(0);
    opacity: 0.35;
  }
  75% {
    transform: scale(1.15) translateY(-15px);
    opacity: 0.25;
  }
}

@keyframes spiral-pulse {
  0%, 100% {
    transform: rotate(0deg) scale(0.8);
    opacity: 0.15;
  }
  25% {
    transform: rotate(90deg) scale(1.1);
    opacity: 0.25;
  }
  50% {
    transform: rotate(180deg) scale(1.3);
    opacity: 0.35;
  }
  75% {
    transform: rotate(270deg) scale(1.05);
    opacity: 0.2;
  }
}

@media (max-width: 767px) {
  .contact-info-card {
    margin-bottom: 0;
  }
}