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

/* Contact details styling - FIXED FOR MOBILE */
.contact-details .contact-item {
  display: flex;
  align-items: flex-start; /* icons aligned to text on desktop */
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.contact-details .contact-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-details .contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 166, 70, 0.1);
  border-radius: 50%;
  color: #c9a646;
  font-size: 1.25rem;
}

.contact-details h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #333;
  letter-spacing: 0.3px;
}

.contact-details p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0;
  line-height: 1.5;
}

.contact-details a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.contact-details a:hover {
  color: #c9a646;
  transform: translateX(3px);
}

/* Map container */
.map-container {
  position: relative;
  height: 250px;
  background: #f5f5f5;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Accordion styling */
#contactAccordion .accordion-button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  color: #333;
  font-size: 1rem;
}

#contactAccordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #c9a646, #a88c33);
  color: white;
  border-color: #a88c33;
}

#contactAccordion .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(201, 166, 70, 0.25);
  border-color: #c9a646;
}

#contactAccordion .accordion-body {
  background: #fff;
  border: 1px solid #dee2e6;
  border-top: none;
  border-radius: 0 0 0.375rem 0.375rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Premium card styling for contact */
.contact-card {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c9a646, #a88c33, #c9a646);
  z-index: 1;
}

/* Category header styling */
.category-header {
  border-bottom: 2px solid #c9a646;
  padding-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.category-header:first-of-type {
  margin-top: 0;
}

.category-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 0;
}

/* Adjust heading levels for better hierarchy */
.accordion-header h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-details .contact-item {
    flex-direction: row; /* Keep horizontal layout on mobile */
    align-items: flex-start;
    text-align: left; /* Keep text left-aligned */
    gap: 1rem;
  }

  .contact-details .contact-icon {
    margin-bottom: 0;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .contact-details h5 {
    font-size: 0.95rem;
  }

  .contact-details p {
    font-size: 0.9rem;
  }

  .map-container {
    height: 250px;
  }
  
  /* Improve card spacing on mobile */
  .contact-card .card-body {
    padding: 1.5rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .contact-details .contact-item {
    gap: 0.75rem;
  }
  
  .contact-details .contact-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

