.modern-contact-section {
  --contact-shadow-sm: 0 0 5px rgba(0, 0, 0, 0.1);
  --contact-shadow-md: 0 0 10px rgba(0, 0, 0, 0.1);
  --contact-border: 1px solid rgba(1, 136, 207, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
  overflow: hidden;
  background: #ffffff;
}

.contact-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 14px;
  text-align: center;
  background: #ffffff;
  border: var(--contact-border);
  border-radius: 12px;
  box-shadow: var(--contact-shadow-sm);
  transition: all 0.3s ease;
  animation: fadeInUp 0.4s ease both;
}

.info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(1, 136, 207, 0.2);
  box-shadow: var(--contact-shadow-sm);
}

.info-card:nth-child(1) {
  animation-delay: 0.1s;
}

.info-card:nth-child(2) {
  animation-delay: 0.18s;
}

.info-card:nth-child(3) {
  animation-delay: 0.26s;
}

.info-card-header,
.info-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-card-header {
  gap: 8px;
}

.info-card-content {
  gap: 2px;
}

.info-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--my-color);
  border-radius: 10px;
  box-shadow: var(--contact-shadow-md);
}

.info-icon-box svg {
  width: 20px;
  height: 20px;
  color: #fff;
  stroke: #fff;
}

.info-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: #1a2332;
  margin: 0;
}

.info-card a,
.info-card p {
  font-size: 12px;
  line-height: 1.5;
  color: #6b7a8d;
  text-decoration: none;
  margin: 0;
  transition: color 0.3s;
}

.info-card a:hover {
  color: var(--my-color);
}

.modern-contact-section .info-card-content a[href^="tel:"],
.modern-contact-section .info-card-content a[href^="mailto:"],
.modern-contact-section .info-card-content a[href^="tel:"]:hover,
.modern-contact-section .info-card-content a[href^="mailto:"]:hover {
  color: #000000 !important;
}

.form-map-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.contact-form-card {
  position: relative;
  padding: 25px 22px;
  overflow: hidden;
  background: #fff;
  border: var(--contact-border);
  border-radius: 14px;
  box-shadow: var(--contact-shadow-md);
  animation: fadeInUp 0.4s ease 0.2s both;
}

.contact-form-card::before,
.map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--my-color);
}

.form-group {
  margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 13px;
  font-family: inherit;
  font-size: 13px;
  color: #1a2332;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #fff;
  border-color: var(--my-color);
  box-shadow: var(--contact-shadow-md);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-size: 12px;
  color: #a0aec0;
}

.contact-form textarea {
  min-height: 80px;
  resize: vertical;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 20px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #fff;
  cursor: pointer;
  background: var(--my-color);
  border: none;
  border-radius: 8px;
  box-shadow: var(--contact-shadow-md);
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  background: #0170a8;
  box-shadow: var(--contact-shadow-md);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  /* color: #6b7a8d; */
  text-decoration: none;
  background: #f4f8fb;
  border: 1px solid var(--my-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-icon svg {
  width: 15px;
  height: 15px;
  color: var(--my-color);
}
.social-icon svg:hover {
  color: #fff;
}

.social-icon:hover{
  transform: translateY(-2px);
  color: #fff ;
  background: var(--my-color);
  border-color: var(--my-color);
  box-shadow: var(--contact-shadow-md);
}

.map-container {
  position: relative;
  overflow: hidden;
  border: var(--contact-border);
  border-radius: 14px;
  box-shadow: var(--contact-shadow-md);
  animation: fadeInUp 0.4s ease 0.28s both;
}

.map-container::before {
  z-index: 1;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .form-map-row {
    grid-template-columns: 1fr;
  }

  .map-container iframe {
    min-height: 280px;
  }
}

@media (max-width: 767px) {
  .modern-contact-section {
    padding: 30px 12px;
  }

  .contact-info-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-form-card {
    padding: 18px 15px;
  }

  .map-container iframe {
    min-height: 240px;
  }
}
