/* Contact Section Styles */
.contact-section {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 596px;
  background: linear-gradient(to right, white 50%, transparent 50%);
}

.contact-container {
  display: flex;
  width: 100%;
  height: 100%;
}

.contact-info-card-wrapper {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 100px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.contact-title {
  margin-bottom: 45px;
  margin-top: 25px;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .contact-title {
    margin-left: 20px;
  }
}

@media screen and (max-width: 768px) {
  .contact-title {
    margin-left: 8px;
  }
}

.contact-title h2 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 44px;
  margin: 0 0 12px;
  background: linear-gradient(90deg, #4a90e2, #7ed321);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
}

.contact-title p {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: #478ec0;
  margin: 0;
  max-width: 400px;
  white-space: nowrap;
  text-align: left;
}

@media (max-width: 768px) {
  .contact-title h2 {
    font-size: 40px;
    line-height: 40px;
    text-align: center;
  }
  .contact-title p {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    white-space: pre-wrap;
    width: 365px;
  }
}

.contact-info-card {
  width: 760px;
  background: #1c2732;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: white;
  display: flex;
  flex-direction: column;
  padding: 40px;
  box-sizing: border-box;
  position: relative;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-items {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.contact-item {
  flex: 1 1 45%;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-item svg {
  width: 34px;
  height: 34px;
}

.contact-item a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.office-locations {
  margin-bottom: 20px;
}

.divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 13px 0;
}

.office-details {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-top: 10px;
}

.office {
  flex: 1 1 45%;
  color: #ccc;
  line-height: 20px;
}

.office-title {
  color: #22c55e;
  font-weight: 600;
  font-size: 15px;
}

.globe-icon {
  position: absolute;
  top: 0px;
  right: 3px;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.3);
  z-index: 2;
  pointer-events: none;
  transform: rotate(2deg);
}

.globe-icon-image {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.map-container {
  width: 50%;
  height: 100%;
  overflow: hidden;
  background-color: #fff;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .contact-section {
    flex-direction: column;
    width: 100%;
    height: auto;
    background: white;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-info-card-wrapper,
  .map-container {
    width: 100%;
    padding-left: 0;
  }

  .contact-info-card {
    width: 92%;
    height: auto;
    margin: 15px;
  }

  .map-container iframe {
    height: 400px;
  }
}

/* Fade-in animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: none;
}

.fade-in-section-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 2s ease-in-out,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-section-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.fade-in-section-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-section-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Highlight class for gradient text */
.highlight {
  background: linear-gradient(90deg, #478ec0 0%, #00ffc2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-style: italic;
}