/**
 * Contact Modal Styles
 */

/* Modal Overlay & Container */
.exb-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.exb-modal.active {
  opacity: 1;
  visibility: visible;
}

.exb-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.exb-modal-container {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 960px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
  z-index: 1;
  animation-duration: 0.6s;
  flex-shrink: 0;
}

.exb-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.exb-modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.exb-modal-content {
  display: flex;
  overflow: visible;
}

/* Left Side - Branding & Info */
.exb-modal-left {
  flex: 0 0 420px;
  background: linear-gradient(135deg, #0088ff 0%, #0066cc 100%);
  padding: 60px 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.exb-modal-branding {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.exb-modal-logo img {
  max-width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
}

.exb-modal-logo h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.exb-modal-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: #fff;
}

.exb-modal-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.exb-modal-features li {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.exb-modal-features li i {
  font-size: 8px;
  color: #fff;
  margin-top: 6px;
  flex-shrink: 0;
}

.exb-modal-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 24px 20px;
  border-radius: 12px;
}

.exb-modal-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #fff;
}

.exb-modal-contact-item i {
  font-size: 16px;
  color: #fff;
  margin-top: 2px;
  flex-shrink: 0;
}

.exb-modal-contact-item a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.exb-modal-contact-item a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Right Side - Contact Form */
.exb-modal-right {
  flex: 1;
  padding: 60px 50px;
  background: #fff;
  overflow: visible;
}

.exb-form-title {
  font-size: 38px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 16px 0;
  line-height: 49px;
  font-family: "Urbanist", sans-serif;
}

.exb-form-subtitle {
  font-size: 22px;
  color: #333333;
  margin: 0 0 36px 0;
  line-height: 35px;
  font-weight: 400;
  font-family: "Urbanist", sans-serif;
}

.exb-contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exb-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: calc(50px / 2);
  padding-left: calc(50px / 2);
  margin-bottom: 20px;
}

.exb-form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 0;
  font-family: "Urbanist", sans-serif;
}

.exb-form-group .required {
  color: #ff0000;
  font-weight: 700;
  margin-left: 3px;
}

.exb-form-group input,
.exb-form-group textarea {
  padding: 10px 0;
  border-width: 0px 0px 1px 0px;
  border-style: solid;
  border-color: #d5d8dc;
  border-radius: 0px;
  font-size: 20px;
  font-weight: 400;
  font-family: "Urbanist", sans-serif;
  transition: all 0.3s ease;
  outline: none;
  background: transparent;
  color: #333333;
  line-height: 1.4;
  min-height: 40px;
}

.exb-form-group input::placeholder,
.exb-form-group textarea::placeholder {
  color: #a0a0a0;
  opacity: 1;
}

.exb-form-group input:focus,
.exb-form-group textarea:focus {
  border-color: #008DFF;
  outline: none;
}

.exb-form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: "Urbanist", sans-serif;
}

.exb-form-submit {
  background: #008DFF;
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  margin-top: 8px;
  font-family: "Urbanist", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.exb-form-submit i {
  font-size: 13px;
  transition: transform 0.3s ease;
}

.exb-form-submit:hover {
  background: #0070d9;
}

.exb-form-submit:hover i {
  transform: translateX(3px);
}

.exb-form-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.exb-form-response {
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 16px;
}

.exb-form-response.success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.exb-form-response.error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* Responsive */
@media (max-width: 991px) {
  .exb-modal-container {
    width: 85%;
    max-height: 90vh;
  }

  .exb-modal-content {
    flex-direction: column;
  }

  /* Right (form) on top, left (branding) on bottom */
  .exb-modal-right {
    order: 1;
    padding: 32px 16px 24px;
  }

  .exb-modal-left {
    order: 2;
    flex: 0 0 auto;
    padding: 32px 16px;
    gap: 24px;
  }

  .exb-modal-title {
    font-size: 22px;
  }

  .exb-form-title {
    font-size: 26px;
    line-height: 1.3;
  }

  .exb-form-subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 24px 0;
  }

  .exb-form-group {
    padding-right: 0;
    padding-left: 0;
  }

  .exb-form-group input,
  .exb-form-group textarea {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .exb-modal-container {
    width: 85%;
    max-height: 90vh;
    border-radius: 16px;
  }

  .exb-modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .exb-modal-container {
    width: 85%;
    max-height: 90vh;
    border-radius: 12px;
  }

  .exb-modal-right {
    padding: 24px 12px 20px;
  }

  .exb-modal-left {
    padding: 24px 12px;
  }

  .exb-modal-title {
    font-size: 18px;
  }

  .exb-form-title {
    font-size: 22px;
  }

  .exb-form-subtitle {
    font-size: 14px;
  }
}
