/* assets/css/contact.css */

.contact-banner {
  padding: 165px 0 95px;
  background:
    linear-gradient(135deg, rgba(7,26,47,0.94), rgba(15,118,110,0.9)),
    url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-banner::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: 8%;
  top: 75px;
  border-radius: 50%;
  background: rgba(245,158,11,0.28);
  animation: contactFloat 6s infinite ease-in-out;
}

@keyframes contactFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

.contact-banner .container {
  position: relative;
  z-index: 2;
}

.contact-badge {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 50px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--icsis-accent);
  font-weight: 900;
  margin-bottom: 18px;
}

.contact-banner h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  margin-bottom: 14px;
}

.contact-banner p {
  font-size: 22px;
  max-width: 760px;
  color: #dbeafe;
}

.contact-section {
  padding: 90px 0;
  background:
    radial-gradient(circle at top left, rgba(15,118,110,0.08), transparent 34%),
    radial-gradient(circle at bottom right, rgba(37,99,235,0.08), transparent 34%),
    #f8fbfd;
}

.contact-intro {
  max-width: 780px;
  margin: auto;
  color: #64748b;
  font-size: 17px;
}

.contact-info-box,
.contact-form-box,
.social-box,
.map-section {
  border-radius: 30px;
}

.contact-info-box {
  background: #fff;
  padding: 35px;
  border: 1px solid #e4eaf1;
  box-shadow: 0 18px 50px rgba(15,23,42,0.08);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #edf2f7;
}

.contact-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: var(--icsis-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-details span {
  display: inline-block;
  color: var(--icsis-primary);
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-details h4 {
  color: var(--icsis-dark);
  font-weight: 900;
  margin-bottom: 6px;
}

.contact-details p {
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

.social-box {
  background: var(--icsis-gradient-dark);
  padding: 30px;
  color: #fff;
  box-shadow: 0 20px 55px rgba(7,26,47,0.18);
}

.social-box h4 {
  font-weight: 900;
  margin-bottom: 22px;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.35s ease;
}

.social-links a:hover {
  background: var(--icsis-accent);
  transform: translateY(-5px);
}

.contact-form-box {
  background: #fff;
  padding: 40px;
  border: 1px solid #e4eaf1;
  box-shadow: 0 18px 50px rgba(15,23,42,0.08);
}

.form-title span {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(15,118,110,0.1);
  color: var(--icsis-primary);
  font-weight: 900;
  margin-bottom: 14px;
}

.form-title h3 {
  color: var(--icsis-dark);
  font-weight: 900;
  margin-bottom: 30px;
}

.form-group label {
  color: var(--icsis-dark);
  font-weight: 800;
  margin-bottom: 10px;
}

.form-control {
  height: 58px;
  border-radius: 16px;
  border: 1px solid #dbe4ee;
  padding: 14px 18px;
  font-weight: 600;
  box-shadow: none !important;
}

textarea.form-control {
  height: auto;
  resize: none;
}

.form-control:focus {
  border-color: var(--icsis-primary);
}

.contact-btn {
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 900;
}

.map-section {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4eaf1;
  box-shadow: 0 18px 50px rgba(15,23,42,0.08);
}

.map-content {
  padding: 35px 35px 0;
}

.map-content h3 {
  color: var(--icsis-dark);
  font-weight: 900;
  margin-bottom: 10px;
}

.map-content h3 i {
  color: var(--icsis-primary);
  margin-right: 8px;
}

.map-content p {
  color: #64748b;
  font-weight: 600;
}

.map-box {
  height: 420px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 991px) {

  .contact-banner {
    padding: 140px 0 75px;
    text-align: center;
  }

  .contact-banner p {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-section {
    padding: 70px 0;
  }
}

@media (max-width: 575px) {

  .contact-banner {
    padding: 125px 0 60px;
  }

  .contact-banner h1 {
    font-size: 38px;
  }

  .contact-banner p {
    font-size: 18px;
  }

  .contact-section {
    padding: 55px 0;
  }

  .contact-info-box,
  .contact-form-box,
  .social-box,
  .map-content {
    padding: 24px;
  }

  .contact-item {
    flex-direction: column;
  }

  .social-links {
    flex-wrap: wrap;
  }

  .map-box {
    height: 300px;
  }
}