.contact-page {
  padding: 3rem 3.5rem 2rem;
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
}

.contact-container {
  width: 100%;
  margin: 0 auto;
}

.contact-main-title {
  font-size: 2.6rem;
  color: #633b2c;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-card {
  display: flex;
  background-color: #f2ead8;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form-section {
  flex: 1;
  padding: 3rem;
}

.contact-subtitle {
  font-size: 2rem;
  color: #633b2c;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.contact-form .form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.contact-form .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #6b5d53;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background-color: #fdf7ec;
  border: 1px solid rgba(139, 115, 85, 0.2);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #1a1a1a;
  width: 100%;
  outline: none;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #986a3e;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a39b93;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256'%3E%3Cpath fill='%236b5d53' d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
}

.contact-form textarea {
  resize: vertical;
  min-height: 70px;
}

.contact-form .form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0 1.25rem;
}

.contact-form .form-checkbox input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid rgba(139, 115, 85, 0.2);
  border-radius: 0.25rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fdf7ec;
  position: relative;
  flex-shrink: 0;
  padding: 0;
}

.contact-form .form-checkbox input[type="checkbox"]:checked {
  background-color: #986a3e;
  border-color: #986a3e;
}

.contact-form .form-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-form .form-checkbox label {
  font-size: 0.95rem;
  color: #6b5d53;
  margin-bottom: 0;
  cursor: pointer;
  line-height: 1.4;
}

.contact-form .form-submit-btn {
  width: auto;
  align-self: flex-start;
  padding: 0.85rem 2.25rem;
  background-color: #986a3e;
  color: #fff;
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(152, 106, 62, 0.25);
}

.contact-form .form-submit-btn:hover {
  background-color: #7d542e;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(152, 106, 62, 0.35);
}

.contact-image-section {
  flex: 1;
  background: url("../images/experts/dr-sneha-shah.webp") no-repeat center top /
    cover;
  position: relative;
  min-height: 400px;
}

.clinic-hours-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 1.5rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-image: linear-gradient(180deg, #fff0, #986a3e80);
}

.clinic-hours-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.hours-row:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-page {
    padding: 2rem 2rem !important;
  }
  .contact-card {
    flex-direction: column;
  }
  .contact-image-section {
    min-height: 450px;
  }
  .contact-form .form-row {
    flex-direction: column;
    gap: 1rem;
  }
  .contact-form-section {
    padding: 2rem;
  }
  .find-clinic-section {
    padding: 2rem 2rem !important;
  }
}

/* Find Clinic Section */
.find-clinic-section {
  padding: 3rem 3rem;
}

.find-clinic-title {
  font-size: 2.6rem;
  color: #633b2c;
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.find-clinic-subtitle {
  text-align: center;
  color: #633b2c;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.clinic-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.clinic-card {
  position: relative;
  background-color: #f6efe6;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(99, 59, 44, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .clinic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(99, 59, 44, 0.09);
} */

.clinic-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(99, 59, 44, 0.1);
  gap: 1rem;
  flex-wrap: wrap;
}

.clinic-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.clinic-badge-icon {
  width: 50px;
  height: 50px;
  background: #633b2c;
  color: #fff;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99, 59, 44, 0.15);
}

.clinic-title-wrap h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #633b2c;
  margin: 0 0 0.2rem 0;
}

.clinic-city-tag {
  font-size: 0.85rem;
  color: #957f72;
  font-weight: 500;
}

.view-map-link {
  color: #633b2c;
  background: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  border: 1px solid rgba(99, 59, 44, 0.18);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.view-map-link:hover {
  background: #633b2c;
  color: #ffffff;
  border-color: #633b2c;
  transform: translateY(-1px);
}

.clinic-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.clinic-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #633b2c;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(99, 59, 44, 0.06);
}

.clinic-info-content {
  flex: 1;
}

.info-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #957f72;
  margin-bottom: 0.25rem;
}

.clinic-info-item p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
  color: #4a382f;
  font-weight: 500;
}

.clinic-info-item a {
  color: #4a382f;
  text-decoration: none;
  transition: color 0.2s;
}

.clinic-info-item a:hover {
  color: #633b2c;
  text-decoration: underline;
}

@media (max-width: 992px) {
  .clinic-cards-grid {
    grid-template-columns: 1fr;
  }
  .clinic-card {
    padding: 2rem 1.5rem;
  }
}
