body {
  font-family: "Poppins", Arial, sans-serif;
  background: linear-gradient(120deg, #e0e7ff 0%, #f7f7f7 100%);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}
.contact-header {
  background: linear-gradient(90deg, #0a1e5e 60%, #1e90ff 100%);
  color: #fff;
  padding: 48px 0 60px 0;
  text-align: center;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.contact-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(90deg, #1e90ff 0%, #0a1e5e 100%);
  opacity: 0.3;
  animation: header-bar 2s infinite alternate;
}
@keyframes header-bar {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.7;
  }
}
.contact-header h2 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  animation: fadeInDown 1s;
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.contact-header p {
  margin: 0;
  font-size: 1.08rem;
  opacity: 0.85;
  animation: fadeInUp 1.2s;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.contact-main {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: -40px auto 40px auto;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(30, 144, 255, 0.1);
  overflow: hidden;
  animation: fadeIn 1.2s;
  position: relative;
  z-index: 10;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.97);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.contact-form-section {
  flex: 1 1 400px;
  padding: 48px 40px 48px 48px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(30, 144, 255, 0.04);
  animation: slideInLeft 1.1s;
}
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.contact-form h4 {
  margin-bottom: 18px;
  font-size: 1.6rem;
  color: #1e90ff;
  font-weight: 700;
  letter-spacing: 1px;
}
.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #0a1e5e;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 1.05rem;
  background: #f4f8ff;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 6px rgba(30, 144, 255, 0.04);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1e90ff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(30, 144, 255, 0.15);
}
.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}
.contact-form button {
  background: linear-gradient(90deg, #1e90ff 0%, #0a1e5e 100%);
  color: #fff;
  border: none;
  padding: 13px 36px;
  border-radius: 8px;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(30, 144, 255, 0.08);
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}
.contact-form button:hover {
  background: linear-gradient(90deg, #0a1e5e 0%, #1e90ff 100%);
  transform: translateY(-2px) scale(1.04);
}
.contact-form button:active {
  transform: scale(0.98);
}
.contact-info-section {
  flex: 1 1 350px;
  padding: 120px 40px 70px 40px;
  background: linear-gradient(120deg, #f7faff 60%, #e0e7ff 100%);
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 2rem;
  animation: slideInRight 1.1s;
}
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.info-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 28px;
  opacity: 0;
  animation: infoFadeIn 1s forwards;
}
.info-block:nth-child(1) {
  animation-delay: 0.2s;
}
.info-block:nth-child(2) {
  animation-delay: 0.4s;
}
.info-block:nth-child(3) {
  animation-delay: 0.6s;
}
.info-block:nth-child(4) {
  animation-delay: 0.8s;
}
@keyframes infoFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.info-block:first-child {
  margin-bottom: 20px;
}
.info-block:last-child {
  margin-bottom: 0;
}
.info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(120deg, #1e90ff 60%, #0a1e5e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  margin-right: 18px;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.1);
  transition: transform 0.2s;
}
.info-icon:hover {
  transform: scale(1.12) rotate(-8deg);
}
.info-details h4 {
  margin: 0 0 6px 0;
  color: #1e90ff;
  font-size: 1.12rem;
  font-weight: 700;
}
.info-details p,
.info-details a {
  margin: 0;
  color: #222;
  font-size: 1.01rem;
  text-decoration: none;
  transition: color 0.2s;
}
.info-details a {
  color: #0a1e5e;
}
.info-details a:hover {
  text-decoration: underline;
  color: #1e90ff;
}
.map-section {
  width: 100%;
  height: 350px;
  margin: 0 auto 40px auto;
  max-width: 1100px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30, 144, 255, 0.1);
  animation: fadeInMap 1.2s;
}
@keyframes fadeInMap {
  0% {
    opacity: 0;
    transform: scale(0.97);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 900px) {
  .contact-main {
    flex-direction: column;
    margin: -20px 8px 40px 8px;
    border-radius: 12px;
  }
  .map-section {
    margin: 0 8px 40px 8px;
    border-radius: 12px;
  }
  .contact-form-section,
  .contact-info-section {
    padding: 32px 16px;
  }
}
