/* Contact Page Styles */

.contact-header {
  padding: 180px 0 80px;
  background-color: #F8FAFC;
  background-image: 
    linear-gradient(rgba(248, 250, 252, 0.4), rgba(248, 250, 252, 0.6)),
    url('../images/img7.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
}

.contact-header h1 {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.contact-header p {
  font-size: 1.15rem;
  color: var(--text-main);
}

.contact-main {
  padding: 60px 0 100px;
  background: var(--bg-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

/* Enquiry Form */
.enquiry-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 50px;
  border: 1px solid var(--bg-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.enquiry-card h2 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.full-width {
  grid-column: 1 / -1;
}

.input-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.input-field {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--bg-border);
  background: var(--bg-light);
  border-radius: var(--radius-btn);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.input-field:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px var(--primary-blue-light);
}

textarea.input-field {
  resize: vertical;
  min-height: 120px;
}

/* Contact Info Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card-blue {
  background: var(--primary-blue);
  color: var(--text-light);
  padding: 40px;
  border-radius: var(--radius-xl);
}

.info-card-blue h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 32px;
}

.info-item-blue {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.info-item-blue:hover {
  transform: translateX(5px);
}

.info-icon {
  width: 48px;
  height: 48px;
  background: white;
  color: var(--primary-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-text strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.info-text p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.map-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  height: 250px;
}

.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--bg-white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  color: var(--text-dark);
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background: var(--bg-light);
  text-align: center;
}

.faq-section h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.faq-section p {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  display: flex;
  flex-direction: column;
  padding: 24px 32px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--bg-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  color: var(--text-main);
  font-weight: 400;
  line-height: 1.6;
}

.faq-item.active .faq-content {
  max-height: 200px;
  margin-top: 16px;
  opacity: 1;
}

.faq-item.active i {
  transform: rotate(180deg);
}

.faq-item i {
  transition: transform 0.3s ease;
}

@media (max-width: 992px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .contact-header {
    padding: 140px 0 60px;
  }
  .contact-header h1 {
    font-size: 2.5rem;
  }
  .enquiry-card {
    padding: 24px;
  }
  .info-card-blue {
    padding: 24px;
  }
  .faq-section {
    padding: 60px 0;
  }
  .faq-item {
    padding: 20px;
  }
}
