/* Contact Us Page Styles */

.contact-container {
  padding: 140px 40px 80px;
  background: #F9F9F9;
  min-height: 100vh;
}

.contact-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Left Column */
.contact-left {
  padding-right: 20px;
}

.contact-title {
  font-size: 3rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 209, 255, 0.16);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-text {
  font-size: 1rem;
  font-weight: 400;
  color: #1a1a2e;
  line-height: 1.5;
  margin: 0;
}

.contact-info-box {
  background: #E8F7FC;
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 10px;
}

.contact-info-box p {
  font-size: 0.95rem;
  font-weight: 400;
  color: #333;
  line-height: 1.7;
  margin-bottom: 16px;
}

.contact-info-box p:last-child {
  margin-bottom: 0;
}

.contact-info-box strong {
  font-weight: 600;
  color: #1a1a2e;
}

/* Right Column - Form */
.contact-right {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 50px 45px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 30px;
  line-height: 1.2;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a2e;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #FFFFFF;
  border: 1.5px solid #E3E3E3;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #12AFFD;
  box-shadow: 0 0 0 3px rgba(18, 175, 253, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #999;
}

.form-input.input-error,
.form-select.input-error,
.form-textarea.input-error,
.custom-select-trigger.input-error {
  border-color: #DE0B3B;
}

.form-error-message {
  display: none;
  font-size: 0.875rem;
  color: #DE0B3B;
  margin-top: 6px;
  line-height: 1.5;
}

.form-error-message.show {
  display: block;
}

.form-error-message strong {
  font-weight: 600;
}

/* Custom Select Dropdown */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #FFFFFF;
  border: 1.5px solid #E3E3E3;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.custom-select-trigger:hover {
  border-color: #12AFFD;
}

.custom-select.open .custom-select-trigger {
  border-color: #12AFFD;
  box-shadow: 0 0 0 3px rgba(18, 175, 253, 0.1);
}

.custom-select-text {
  flex: 1;
  color: #333;
}

.custom-select-text.placeholder {
  color: #999;
}

.custom-select-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.custom-select.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1.5px solid #E3E3E3;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.custom-select.open .custom-select-options {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
}

.custom-select-option {
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  color: #1a1a2e;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* All options white background */
.custom-select-option {
  background-color: #FFFFFF;
}

/* Hover state for all options */
.custom-select-option:hover {
  background-color: #EBFBFF;
}

.custom-select-option.selected {
  font-weight: 500;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  font-family: 'Poppins', sans-serif;
}

.recaptcha-container {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}

.form-submit {
  padding: 16px 48px;
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(45deg, #D123FF 14.6%, #00D1FF 85.4%);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  align-self: flex-start;
  margin-top: 8px;
}

.form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(209, 35, 255, 0.4);
}

.form-submit:active:not(:disabled) {
  transform: translateY(0);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Form Notifications */
.form-notification {
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
}

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

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

/* Responsive Design */
@media (max-width: 1200px) {
  .contact-container {
    padding: 130px 40px 70px;
  }

  .contact-content {
    gap: 60px;
  }

  .contact-title {
    font-size: 2.5rem;
  }

  .form-title {
    font-size: 2rem;
  }
}

@media (max-width: 1024px) {
  .contact-container {
    padding: 120px 35px 60px;
  }

  .contact-content {
    gap: 50px;
  }

  .contact-title {
    font-size: 2.25rem;
  }

  .contact-subtitle {
    font-size: 1rem;
  }

  .form-title {
    font-size: 1.85rem;
  }

  .contact-right {
    padding: 45px 40px;
  }
}

@media (max-width: 768px) {
  .contact-container {
    padding: 110px 30px 50px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-left {
    padding-right: 0;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-subtitle {
    font-size: 0.95rem;
    margin-bottom: 35px;
  }

  .contact-info {
    gap: 18px;
    margin-bottom: 35px;
  }

  .contact-info-box {
    padding: 24px 28px;
  }

  .contact-right {
    padding: 40px 30px;
  }

  .form-title {
    font-size: 1.65rem;
    margin-bottom: 25px;
  }

  .contact-form {
    gap: 20px;
  }

  .form-submit {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding: 100px 24px 40px;
  }

  .contact-title {
    font-size: 1.75rem;
    margin-bottom: 18px;
  }

  .contact-subtitle {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .contact-info {
    gap: 16px;
    margin-bottom: 30px;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
  }

  .contact-icon svg {
    width: 22px;
    height: 22px;
  }

  .contact-text {
    font-size: 0.9rem;
  }

  .contact-info-box {
    padding: 22px 24px;
  }

  .contact-info-box p {
    font-size: 0.875rem;
  }

  .contact-right {
    padding: 35px 24px;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .form-submit {
    padding: 14px 40px;
    font-size: 0.95rem;
  }
}

@media (max-width: 375px) {
  .contact-container {
    padding: 95px 20px 35px;
  }

  .contact-title {
    font-size: 1.6rem;
  }

  .form-title {
    font-size: 1.4rem;
  }

  .contact-right {
    padding: 30px 20px;
  }
}
