/* ========================================= */
/*                CONTACT PAGE STYLES        */
/* ========================================= */

/* General Page Layout */
.contact-main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 85vh;
  flex-direction: column;
  box-sizing: border-box;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 50px;
  padding-right: 50px;
}
  
/* Contact Container Styling */
.contact-container {
  background-color: #ffffff;
  border: 1px solid #e1e1e1;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 1000px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}
  
/* Title Styling */
.contact-title {
  text-align: center;
  font-size: 2rem;
  color: black;
  font-weight: bold;
  margin-bottom: 1rem;
  -khtml-user-select: none;
  -o-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
  
/* Contact Item Styling */
.contact-item {
  margin-bottom: 20px;
}
  
.contact-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 15px;
  -khtml-user-select: none;
  -o-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
  
.contact-item p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}
  
.contact-item a {
  color: #e4bc1c;
  text-decoration: none;
}
  
.contact-item a:hover {
  text-decoration: underline;
}
  
/* Contact Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
  
.contact-form input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  transition: border-color 0.3s ease;
}

.contact-form textarea {
  resize: vertical;
  max-width: 100%; /* Optional: prevents overflow */
  width: 100%;      /* Makes sure it fills the container width */
  box-sizing: border-box; /* Ensures padding/border don't exceed width */
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  transition: border-color 0.3s ease;
}

/* Border color change on focus */
.contact-form input:focus, .contact-form textarea:focus {
  border-color: #e4bc1c;
  outline: none;
}

.contact-form button {
  padding: 15px;
  font-size: 1.25rem;
  background-color: #e4bc1c;
  color: white;
  border: 1px solid #e4bc1c; /* Add border color */
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Submit button hover effect */
.contact-form button:hover {
  background-color: #bf9d17;
  border: 1px solid #bf9d17; /* Add border color */
}

/* Contact Item Note */
.contact-item .note {
  font-size: 0.9rem;
  color: #777;
  text-align: left;
}

/* Dropdown (Select) Styling */
.contact-form select {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  color: #333;
  width: 100%;
  transition: border-color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8L0.803848 0.5L11.1962 0.5L6 8Z' fill='%23444'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  cursor: pointer;
}

.contact-form select:focus {
  border-color: #e4bc1c;
  outline: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-main {
    padding: 40px 40px;
    padding-top: 150px;
  }

  .contact-container {
    padding: 40px 30px;
  }
  
  .contact-title {
    font-size: 1.75rem;
  }
  
  .contact-item h3 {
    font-size: 1.1rem;
  }
  
  .contact-item p {
    font-size: 0.95rem;
  }
  
  .contact-form input, .contact-form textarea {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding: 20px 15px;
  }
  
  .contact-title {
    font-size: 1.5rem;
  }
  
  .contact-item h3 {
    font-size: 1rem;
  }
  
  .contact-item p {
    font-size: 0.9rem;
  }
  
  .contact-form input, .contact-form textarea {
    font-size: 0.9rem;
  }
}  

@media (max-width: 1024px) {
  .contact-main {
    padding: 0;
  }

  .contact-container {
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
}