/* Contact Page Styles */
.contact-hero {
  background: linear-gradient(135deg, rgba(1, 113, 227, 0.9), rgba(124, 53, 247, 0.9)),
              url('https://images.pexels.com/photos/3184296/pexels-photo-3184296.jpeg') center/cover;
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}

.contact-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  animation: fadeInDown 0.8s ease;
}

.contact-hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* Contact Info Section */
.contact-info {
  padding: 80px 0;
  background: white;
}

.info-box {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-top-color: #7c35f7;
}

.info-box i {
  font-size: 2.5rem;
  color: #7c35f7;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.info-box h3 {
  font-size: 1.5rem;
  color: #1a3c87;
  margin-bottom: 1rem;
}

.info-box p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.btn-link {
  color: #7c35f7;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-link i {
  font-size: 1rem;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-link:hover {
  color: #0171e3;
}

.btn-link:hover i {
  transform: translateX(5px);
}

/* Contact Form Section */
.contact-form {
  padding: 80px 0;
  background: #f8f9fa;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #1a3c87;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 80px;
  height: 4px;
  background: #7c35f7;
  transform: translateX(-50%);
}

.section-title p {
  color: #666;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.php-email-form {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-label {
  font-weight: 600;
  color: #1a3c87;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control, .form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #7c35f7;
  box-shadow: 0 0 0 0.25rem rgba(124, 53, 247, 0.15);
  outline: none;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-primary {
  background: linear-gradient(135deg, #0171e3, #7c35f7);
  border: none;
  color: white;
  padding: 0.8rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.loading, .error-message, .sent-message {
  display: none;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.loading {
  background: rgba(1, 113, 227, 0.1);
  color: #0171e3;
}

.error-message {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.sent-message {
  background: rgba(25, 135, 84, 0.1);
  color: #198754;
}

/* Office Hours Section */
.office-hours {
  padding: 80px 0;
  background: white;
}

.hours-box, .faq-box {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.hours-box h3, .faq-box h3 {
  font-size: 1.8rem;
  color: #1a3c87;
  margin-bottom: 1.5rem;
  position: relative;
}

.hours-box h3::after, .faq-box h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 3px;
  background: #7c35f7;
}

.hours-table {
  margin: 2rem 0;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.hour-row:last-child {
  border-bottom: none;
}

.day {
  font-weight: 600;
  color: #333;
}

.time {
  color: #7c35f7;
  font-weight: 500;
}

.note {
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 1.5rem;
}

/* FAQ Accordion */
.accordion-button {
  font-weight: 600;
  color: #1a3c87;
  padding: 1rem;
  background: white;
  border: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background: rgba(124, 53, 247, 0.05);
  color: #7c35f7;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237c35f7'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237c35f7'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-body {
  padding: 1rem;
  color: #555;
  line-height: 1.7;
}

/* Map Section */
.map {
  padding: 0;
}

.map iframe {
  display: block;
  filter: grayscale(20%);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .contact-hero h1 {
    font-size: 2.5rem;
  }

  .office-hours .col-lg-6 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .contact-hero {
    padding: 80px 0 60px;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .php-email-form {
    padding: 1.5rem;
  }

  .hours-box, .faq-box {
    padding: 1.5rem;
  }
}