.contact-modern {
  margin-top: -60px;
  position: relative;
  z-index: 3;
}

.contact-intro {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84));
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(11, 14, 55, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.contact-intro p {
  margin-bottom: 0;
  color: rgba(26, 28, 41, 0.75);
  font-size: 1.05rem;
}

.contact-card {
  background: #fff;
  border-radius: 22px;
  padding: 1.4rem 1.2rem;
  height: 100%;
  box-shadow: 0 14px 35px rgba(11, 14, 55, 0.08);
  border: 1px solid rgba(11, 14, 55, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(11, 14, 55, 0.12);
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #ff9c6f);
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 10px 24px rgba(224, 78, 159, 0.3);
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--secondary);
  font-weight: 800;
}

.contact-card p,
.contact-card a {
  color: rgba(26, 28, 41, 0.8);
  margin-bottom: 0;
  line-height: 1.7;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--primary);
  text-decoration: none;
}

.contact-map-wrap,
.contact-side-wrap {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(11, 14, 55, 0.1);
  border: 1px solid rgba(11, 14, 55, 0.06);
  overflow: hidden;
  height: 100%;
}

.contact-map-head,
.contact-side-head {
  padding: 1.2rem 1.35rem;
  background: linear-gradient(120deg, var(--secondary), #1b2366);
  color: #fff;
}

.contact-map-head h4,
.contact-side-head h4 {
  color: #fff !important;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.contact-map {
  width: 100%;
  height: 430px;
  border: 0;
}

.contact-side-body {
  padding: 1.3rem 1.35rem 1.4rem;
}

.contact-side-body p {
  margin-bottom: 0.75rem;
  color: rgba(26, 28, 41, 0.78);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0 1.2rem;
}

.contact-links a {
  background: #f7f8fc;
  border: 1px solid rgba(11, 14, 55, 0.08);
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
}

.contact-links a:hover {
  border-color: rgba(224, 78, 159, 0.35);
  color: var(--primary);
}

.visit-btn {
  width: 100%;
  text-align: center;
}

@media (max-width: 1024px) {
  .contact-modern {
    margin-top: -34px;
  }

  .contact-map {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .contact-modern {
    margin-top: -20px;
  }

  .contact-intro,
  .contact-card,
  .contact-side-body {
    padding: 1.15rem;
  }

  .contact-intro h2 {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .contact-intro p,
  .contact-side-body p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .contact-card h3 {
    font-size: 1rem;
  }

  .contact-icon {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

  .contact-map {
    height: 320px;
  }

  .contact-links a {
    padding: 0.72rem 0.78rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .contact-modern {
    margin-top: -8px;
  }

  .contact-intro {
    border-radius: 20px;
  }

  .contact-intro h2 {
    font-size: 1.22rem;
  }

  .contact-card,
  .contact-map-wrap,
  .contact-side-wrap {
    border-radius: 16px;
  }

  .contact-map-head,
  .contact-side-head {
    padding: 0.95rem 1rem;
  }

  .contact-map-head h4,
  .contact-side-head h4 {
    font-size: 0.95rem;
  }

  .contact-map {
    height: 270px;
  }

  .contact-links {
    gap: 0.45rem;
  }

  .contact-links a {
    font-size: 0.88rem;
  }
}
