/* Contact Us Page Styles */

.contact-us-page {
  padding: 40px 0 80px 0;
  min-height: calc(100vh - 200px);
  background-image: url("/assets/frontend/images/contact/background.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.contact-us-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

.contact-us-page>.container {
  position: relative;
  z-index: 1;
}

/* Page Header */
.page-header {
  margin-bottom: 50px;
  padding-top: 20px;
}

.page-title {
  font-size: 42px;
  font-weight: var(--font-weight-extra-bold);
  background: var(--color-primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.page-subtitle {
  font-size: 18px;
  color: var(--color-black-default);
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Form Card */
.contact-form-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.form-title {
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  color: var(--color-black-default);
  margin-bottom: 10px;
}

.form-subtitle {
  font-size: 15px;
  color: #6c757d;
  margin-bottom: 30px;
}

/* Form Inputs */
.contact-form .form-label {
  font-weight: var(--font-weight-semi-bold);
  color: var(--color-black-default);
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: var(--font-family-main);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: rgb(75, 168, 222);
  box-shadow: 0 0 0 0.2rem rgba(75, 168, 222, 0.1);
}

.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
  border-color: #dc3545;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
.btn-submit {
  background: var(--color-primary-gradient);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: var(--font-weight-semi-bold);
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 103, 123, 0.3);
  color: white;
}

.btn-submit:active {
  transform: translateY(0);
}

/* Contact Info Card */
.contact-info-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 140px;
}

.contact-info-card .logo {
  max-width: 180px;
  height: auto;
}

.info-title {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  color: var(--color-black-default);
  margin-bottom: 25px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(21, 103, 123), rgb(75, 168, 222));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 20px;
  color: white;
}

.info-content h4 {
  font-size: 16px;
  font-weight: var(--font-weight-semi-bold);
  color: var(--color-black-default);
  margin-bottom: 5px;
}

.info-content p {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
}

.info-content a {
  color: rgb(75, 168, 222);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-content a:hover {
  color: rgb(21, 103, 123);
  text-decoration: underline;
}

/* Social Media */
.social-media h4 {
  font-size: 18px;
  font-weight: var(--font-weight-semi-bold);
  color: var(--color-black-default);
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.social-icon,
.social-icon-youtube {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-icon:hover,
.social-icon-youtube:hover {
  transform: translateY(-3px) scale(1.05);
}

.social-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.social-icon-youtube .social-img {
  width: 60px;
  height: 45px;
}

/* Alerts */
.alert {
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 25px;
  border: none;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-info-card {
    position: relative;
    top: 0;
    margin-top: 30px;
  }

  .page-title {
    font-size: 36px;
  }

  .contact-form-card {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .contact-us-page {
    padding: 30px 0 60px 0;
  }

  .page-title {
    font-size: 32px;
  }

  .page-subtitle {
    font-size: 16px;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 25px;
    border-radius: 15px;
  }

  .form-title {
    font-size: 24px;
  }

  .info-title {
    font-size: 20px;
  }

  .info-icon {
    width: 45px;
    height: 45px;
  }

  .info-icon i {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .contact-us-page {
    padding: 20px 0 50px 0;
  }

  .page-header {
    margin-bottom: 30px;
  }

  .page-title {
    font-size: 28px;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 20px;
  }

  .btn-submit {
    padding: 12px 24px;
    font-size: 15px;
  }
}