:root {
  --primary: #0056b3;
  --primary-dark: #003d7a;
  --primary-light: #e6f0ff;
  --accent: #106fe1;
  --text: #333;
  --text-light: #666;
  --gray-light: #f8f9fa;
  --border: #e0e3e7;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== Breadcrumb ===== */
.contact-breadcrumb {
  background: var(--gray-light);
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.contact-breadcrumb ol {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.contact-breadcrumb li {
  display: flex;
  align-items: center;
}

.contact-breadcrumb li:not(:first-child)::before {
  content: '/';
  margin: 0 10px;
  color: var(--text-light);
}

.contact-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.contact-breadcrumb a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Contact Page Hero Section */
.contact-page-hero {
  background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)), 
               url('../assets/img/contact-bg.jpg') center/cover no-repeat;
  padding: 100px 0;
  text-align: center;
  color: white;
}

.contact-hero-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.contact-page-title {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-page-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Page Section */

.error-border {
  border: 1px solid red !important;
}

.error-message {
  color: red;
  font-size: 0.8rem;
  margin-top: 0.2rem;
  display: none;
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-page-section {
  padding: 80px 0;
}

.contact-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.contact-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.contact-form-column {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
  padding: 0 15px;
}

.contact-info-column {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
  padding: 0 15px;
}

.contact-page-form {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.contact-form-title {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 25px;
  font-weight: 600;
}

.contact-form-group {
  margin-bottom: 20px;
}

.contact-form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.contact-form-col {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.contact-form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.contact-form-control:focus {
  border-color: #4e9af1;
  box-shadow: 0 0 0 3px rgba(78, 154, 241, 0.2);
  outline: none;
}

textarea.contact-form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-submit-btn {
  background: #4e9af1;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-submit-btn:hover {
  background: #3a8ae8;
  transform: translateY(-2px);
}

/* Contact Info */
.contact-page-info {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.contact-info-title {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 25px;
  font-weight: 600;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  font-size: 24px;
  color: #4e9af1;
  margin-right: 20px;
  margin-top: 5px;
}

.contact-info-heading {
  font-size: 18px;
  color: #1e293b;
  margin-bottom: 5px;
}

.contact-info-text {
  color: #64748b;
  margin-bottom: 5px;
}

/* Business Hours */
.contact-hours {
  margin-top: 40px;
}

.contact-hours-title {
  font-size: 18px;
  color: #1e293b;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.contact-hours-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #4e9af1;
}

.contact-hours-list {
  list-style: none;
  padding: 0;
}

.contact-hours-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.contact-hours-day {
  color: #475569;
  font-weight: 500;
}

.contact-hours-time {
  color: #64748b;
}

/* Phone Input Validation */
#contactPhoneInput:invalid + .contact-validity:after {
  content: '✖';
  color: #ef4444;
  padding-left: 5px;
}

#contactPhoneInput:valid + .contact-validity:after {
  content: '✓';
  color: #10b981;
  padding-left: 5px;
}

.contact-help-text {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 13px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .contact-page-section {
    padding: 60px 0;
  }
  
  .contact-form-column,
  .contact-info-column {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .contact-page-info {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .contact-page-hero {
    padding: 80px 0;
  background-position: center;
  }
  
  .contact-page-title {
    font-size: 2.2rem;
  }
  
  .contact-form-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .contact-form-col:not(:last-child) {
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .contact-form-group {
    margin-bottom: 15px;
  }
  
  .contact-submit-btn {
    width: 100%;
  }
  
  .contact-page-title {
    font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 10px;
  }
  
  .contact-page-subtitle {
    font-size: 1rem;
  }
}