/* ==========================================================================
   CONTACT PAGE STYLES (contact.php)
   ========================================================================== */

.contact-header {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #002856 0%, #004080 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(57, 166, 61, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: #fff;
  line-height: 1.15;
  position: relative;
}

.contact-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 600px;
  position: relative;
}

.contact-info-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon i {
  font-size: 36px;
  color: #fff;
}

.contact-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 15px;
  color: #222;
}

.contact-card-description {
  font-size: 0.95rem;
  color: #718096;
  margin: 0 0 15px;
  line-height: 1.6;
}

.contact-card-text {
  font-size: 0.95rem;
  color: #4a5568;
  margin: 0;
  line-height: 1.6;
}

.contact-link {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--accent);
}

.map-section {
  width: 100%;
  height: 450px;
  overflow: hidden;
}

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

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-form-section,
.service-contact-section {
  padding: 80px 0;
  background: #fff;
}

.contact-form-wrapper,
.service-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.form-column {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-column h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 15px;
  color: #222;
}

.form-subheading {
  font-size: 1rem;
  color: #718096;
  margin: 0 0 35px;
  line-height: 1.6;
}

.consultation-column {
  position: sticky;
  top: 100px;
}

.consultation-box-contact {
  background: #0b2b47;
  color: #fff;
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(11, 43, 71, 0.15);
}

.consultation-box-contact h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: #fff;
  line-height: 1.3;
}

.consultation-box-contact p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 30px;
  line-height: 1.6;
}

.social-links-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-link-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.social-link-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.social-link-item i {
  font-size: 1.3rem;
  width: 30px;
  flex-shrink: 0;
}

.social-link-item i.fa-facebook-square {
  color: #1877f2;
}

.social-link-item i.fa-linkedin {
  color: #0077b5;
}

.social-link-item i.fa-phone {
  color: #4caf50;
}

.social-link-item span {
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-form-wrapper,
  .service-contact-wrapper {
    grid-template-columns: 1fr 350px;
    gap: 40px;
  }
}

@media (max-width: 980px) {
  .contact-form-wrapper,
  .service-contact-wrapper {
    grid-template-columns: 1fr;
  }

  .consultation-column {
    position: static;
  }
}

@media (max-width: 768px) {
  .contact-header {
    padding: 50px 0 40px;
  }

  .contact-subtitle {
    font-size: 15px;
  }

  .contact-info-section {
    padding: 40px 0;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .map-section {
    height: 350px;
  }

  .contact-form-section,
  .service-contact-section {
    padding: 50px 0;
  }

  .consultation-box-contact {
    padding: 30px 25px;
  }

  .form-column {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .contact-header h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .contact-card {
    padding: 30px 20px;
  }

  .contact-card-icon {
    width: 70px;
    height: 70px;
  }

  .contact-card-icon i {
    font-size: 30px;
  }

  .map-section {
    height: 300px;
  }

  .consultation-box-contact h3 {
    font-size: 1.3rem;
  }
}

/* ==========================================================================
   FAQ SECTION STYLES
   ========================================================================== */

.contact-faq-section {
  padding: 80px 0;
  background: #fff;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 12px;
  color: #222;
}

.faq-subtitle {
  font-size: 17px;
  color: #666;
  margin: 0;
}

.faq-list {
  max-width: 768px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

/* Hide default details marker */
.faq-question {
  list-style: none;
  padding: 24px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  line-height: 1.5;
  position: relative;
  padding-right: 50px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: #444;
}

.faq-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #666;
  transition: all 0.2s ease;
}

.faq-item[open] .faq-icon {
  border-color: #222;
  color: #222;
}

/* Show minus when open, plus when closed */
.faq-icon .icon-plus {
  display: block;
}

.faq-icon .icon-minus {
  display: none;
}

.faq-item[open] .faq-icon .icon-plus {
  display: none;
}

.faq-item[open] .faq-icon .icon-minus {
  display: block;
}

.faq-answer {
  padding: 0 50px 24px 0;
}

.faq-answer p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin: 0 0 15px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin: 15px 0;
  padding-left: 25px;
}

.faq-answer li {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 8px;
}

.faq-answer a {
  color: var(--accent, #0b2b47);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.faq-answer a:hover {
  color: #222;
}

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-faq-section {
    padding: 50px 0;
  }

  .faq-header {
    margin-bottom: 35px;
  }

  .faq-subtitle {
    font-size: 15px;
  }

  .faq-question {
    padding: 20px 45px 20px 0;
    font-size: 1rem;
  }

  .faq-icon {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .faq-answer {
    padding: 0 45px 20px 0;
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 18px 42px 18px 0;
    font-size: 0.95rem;
  }

  .faq-icon {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .faq-answer {
    padding: 0 42px 18px 0;
  }

  .faq-answer p,
  .faq-answer li {
    font-size: 0.9rem;
  }
}
