/*
* This file has been refactored to use the global variables
* defined in style/main.css.
*
* NOTE: The .enterance and .social-icons sections are duplicates
* from AboutUs.css. We will fix this later.
*/

/* ========================================= */
/* Main Elements */
/* ========================================= */

/* ----------------------------- */
.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-radius: 15px;
  padding: 40px;
  max-width: 1100px;
  margin: 40px auto;
  gap: 40px;
}

/* Left text section */
.content-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-text h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.content-text h3 {
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.6;
  color: var(--color-font-dark-gray); /* Refactored */
  margin-bottom: 20px;
}

.content-text h2 {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.6;
  color: var(--color-font-dark-gray); /* Refactored */
  margin-bottom: 5px;
}

.content-text > a {
  text-decoration: none;
  color: var(--color-font-dark-blue); /* Refactored */
  margin-bottom: 15px;
}

.content-text > a:hover {
  color: var(--color-brand-yellow-dark); /* Refactored */
  transition: all 0.3s ease-in-out;
}

.content-text > a > img {
  transform: translateY(5px);
}

/* Social */
.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-icons a {
  text-decoration: none;
  font-size: 20px;
  padding: 10px;
  border-radius: 15px;
}

.social-icons a img {
  width: 25px;
}

.social-icons .facebook {
  background-color: var(--color-social-facebook); /* Refactored */
}

.social-icons .instagram {
  background-color: var(--color-social-instagram); /* Refactored */
}

.social-icons .linkedin {
  background-color: var(--color-social-linkedin); /* Refactored */
}

.social-icons .whats {
  background-color: var(--color-whatsapp); /* Refactored */
}

/* Form section */
.form {
  flex: 1;
  border-radius: 15px;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid var(--color-gray-border); /* Refactored */
  font-size: 14px;
  outline: none;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-font-dark-blue); /* Refactored */
}

.contact-form textarea {
  resize: none;
  min-height: 100px;
}

.contact-form button {
  background: var(--color-black); /* Refactored */
  color: var(--color-white); /* Refactored */
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: var(--color-brand-primary); /* Refactored */
  color: var(--color-black); /* Refactored */
  transition: all 0.5s ease-in-out;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-content {
    flex-direction: column;
    padding: 20px;
  }
  .form {
    padding: 20px;
  }
}