/* Contact Us page styles */

/* Full screen overlay */
.contact-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Slide-in modal from right */
.contact-modal {
  width: 520px;
  height: 100%;
  background-color: #ffffff;
  position: relative;
  display: flex;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
  animation: contactSlideIn 0.3s ease-out;
}

@keyframes contactSlideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* Pink gradient stripe on left edge */
.contact-pink-stripe {
  width: 8px;
  height: 100%;
  background: linear-gradient(180deg, #ff009e 0%, #d6007d 100%);
  position: absolute;
  left: 0;
  top: 0;
}

/* Close button */
.contact-close-btn {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.contact-close-btn:hover {
  background-color: #f5f5f5;
}

.contact-close-btn::before,
.contact-close-btn::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 2px;
  background-color: #000000;
}

.contact-close-btn::before { transform: rotate(45deg); }
.contact-close-btn::after  { transform: rotate(-45deg); }

/* Logo in top right */
.contact-logo {
  position: absolute;
  right: 30px;
  top: 20px;
  width: 120px;
  height: auto;
  object-fit: contain;
  z-index: 5;
}

/* Content area */
.contact-content-wrapper {
  width: 100%;
  height: 100%;
  padding: 100px 50px 50px 70px;
  overflow-y: auto;
}

/* Heading */
.contact-heading {
  font-family: 'Comfortaa', cursive;
  font-size: 28px;
  font-weight: bold;
  color: #000000;
  margin: 0 0 20px 0;
}

/* Subheading */
.contact-subheading {
  font-family: 'Comfortaa', cursive;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #333333;
  margin: 0 0 25px 0;
}

/* Button */
.contact-button {
  display: inline-block;
  font-family: 'Comfortaa', cursive;
  font-size: 14px;
  font-weight: 600;
  color: #0066ff;
  text-decoration: none;
  border: 2px solid #0066ff;
  border-radius: 25px;
  padding: 10px 28px;
  transition: all 0.3s;
  margin-bottom: 35px;
}

.contact-button:hover {
  background-color: #0066ff;
  color: #ffffff;
}

/* Office locations */
.contact-locations {
  font-family: 'Comfortaa', cursive;
}

.contact-locations strong,
.contact-locations .office-title {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  display: flex;
  align-items: center;
  margin: 25px 0 12px 0;
  gap: 12px;
}

.contact-locations strong:first-child,
.contact-locations .office-title:first-child {
  margin-top: 0;
}

.office-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.contact-locations p {
  font-size: 14px;
  font-weight: 400;
  color: #333333;
  margin: 6px 0;
  line-height: 1.6;
}

.contact-locations a {
  color: #0066ff;
  text-decoration: none;
  font-weight: 600;
}

.contact-locations a:hover {
  text-decoration: underline;
}

/* Style the HTML from Kontent.ai */
.contact-locations p strong {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  display: flex;
  align-items: center;
  margin: 25px 0 12px 0;
}

.contact-locations br + br {
  display: none;
}

/* Address block (Zeplin spec) */
.contact-address-block {
  width: 363px;
  margin: 3.8px 0 0 4px;
  font-family: 'Comfortaa', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.86;
  letter-spacing: -0.28px;
  text-align: left;
  color: #000000;
}

.contact-address-block .text-style-1 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.44px;
}

.contact-address-block .text-style-2 {
  font-size: 20px;
  letter-spacing: -0.4px;
}

.contact-address-block .text-style-3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.32px;
}

.contact-address-block .office-group {
  display: block;
  margin-bottom: 20px;
}

.contact-address-block .office-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.contact-address-block .building-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact-address-block a {
  color: #0066ff;
  text-decoration: none;
}

.contact-address-block a:hover {
  text-decoration: underline;
}

/* Social icons */
.contact-social {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.contact-social a {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.contact-social a:hover {
  opacity: 0.7;
}

.contact-social svg {
  width: 20px;
  height: 20px;
  fill: #0066ff;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-modal {
    width: 90%;
  }

  .contact-content-wrapper {
    padding: 80px 30px 40px 50px;
  }

  .contact-logo {
    width: 100px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .contact-modal {
    width: 100%;
  }

  .contact-heading {
    font-size: 24px;
  }
}
