/* 
 * Contact Page Styles
 * Contains all styles specific to the Contact Us page
 */

/* General page styling */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Page header styling */
.contact-header {
  margin-bottom: 2rem;
}

.contact-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #023e8a;
}

.contact-header h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Contact form styling */
.contact-form {
  margin-bottom: 1.5rem;
}

.contact-form .form-control {
  border-radius: 4px;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.contact-form .form-control:focus {
  border-color: #023e8a;
  box-shadow: 0 0 0 0.25rem rgba(2, 62, 138, 0.25);
}

.contact-form .form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-form .btn-primary {
  background-color: #023e8a;
  border-color: #023e8a;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
  background-color: #01337a;
  border-color: #01337a;
  transform: translateY(-2px);
}

/* Contact image styling */
.contact-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

/* Office locations section */
.office-locations-title {
  font-size: 1.8rem;
  color: #023e8a;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.office-locations-container {
  margin-top: 1rem;
}

/* Office location cards */
.office-location {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

.office-location:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.office-location .flag-container {
  height: 60px;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.office-location .flag-container img {
  max-height: 40px;
  object-fit: contain;
}

.office-details {
  flex: 1;
}

.office-location p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.office-location p.location-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #023e8a;
}

.office-location a {
  color: #023e8a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.office-location a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Consent checkbox styling */
.consent-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.consent-checkbox {
  display: block !important;
  width: 25px;
  height: 25px;
  float: left;
  margin-right: 10px;
}

.consent-label {
  margin-left: 35px;
  display: block;
  font-size: 0.85rem;
  line-height: 1.4;
}

.consent-container a {
  color: #023e8a;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 992px) {
  .contact-header h1 {
    font-size: 2.2rem;
  }
  
  .contact-header h2 {
    font-size: 1.3rem;
  }
  
  .office-locations-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .contact-header {
    text-align: center;
  }
  
  .contact-header h1 {
    font-size: 2rem;
  }
  
  .contact-header h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-form {
    margin-bottom: 2rem;
  }
  
  .office-location {
    margin-bottom: 1rem;
  }
  
  .office-location .flag-container {
    height: 50px;
  }
  
  .office-locations-title {
    font-size: 1.5rem;
    margin-top: 1rem;
  }
  
  .btn-primary {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .contact-header h1 {
    font-size: 1.8rem;
  }
  
  .contact-header h2 {
    font-size: 1.1rem;
  }
  
  .office-location {
    padding: 1rem !important;
  }
  
  .office-location p {
    font-size: 0.85rem;
  }
  
  .office-location p.location-name {
    font-size: 1rem;
  }
  
  .consent-label {
    font-size: 0.8rem;
  }
}