/* Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

/* Common Styles */
.title-line {
  width: 80px;
  height: 3px;
  background-color: #e17108;
  margin: 0 auto 20px;
}

.title-line.left-align {
  margin: 0 0 20px 0;
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #333;
}

/* Hero Section */
.contact-hero {
  position: relative;
  height: 40vh;
  background-image: url("bg-about.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 85px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 18px;
  margin-top: 20px;
}

/* Contact Section Header */
.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header p {
  font-size: 16px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Cards */
.contact-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
}

.contact-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  width: 250px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 70px;
  height: 70px;
  background-color: #e17108;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.card-icon i {
  font-size: 30px;
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-card p {
  color: #666;
  margin-bottom: 20px;
  font-size: 15px;
}

.card-link {
  display: inline-block;
  color: #e17108;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: #ff8000;
}

/* Main Contact Section */
#contact {
  padding: 80px 0 40px;
  background-color: white;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-left {
  width: 100%;
}

.contact-right {
  width: 100%;
}

.contact-info {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.locations-container {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.info-item {
  display: flex;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 24px;
  color: #e17108;
  margin-right: 20px;
  margin-top: 5px;
  min-width: 24px;
}

.info-item h3 {
  font-size: 18px;
  margin: 0 0 5px 0;
}

.info-item p {
  margin: 0;
  color: #666;
  font-size: 15px;
}

/* Social Icons Section */
.social-icons {
  margin-top: auto;
  padding-top: 20px;
}

.social-icons h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.icons-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #e17108;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.social-icon:hover {
  background-color: #ff8000;
  transform: scale(1.05);
}

.social-icon i {
  font-size: 18px;
}

.social-text {
  flex: 1;
}

.social-text p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  transition: color 0.3s ease;
}

.social-item:hover .social-text p {
  color: #e17108;
}

/* Location Tabs */
.location-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.location-tab {
  background-color: white;
  border: 2px solid #e17108;
  color: #e17108;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-tab:hover,
.location-tab.active {
  background-color: #e17108;
  color: white;
}

.location-tab i {
  font-size: 16px;
}

/* Location Content */
.location-content {
  display: none;
  flex: 1;
}

.location-content.active {
  display: flex;
  flex-direction: column;
}

.location-details {
  margin-bottom: 20px;
}

.location-details h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-details h3 i {
  color: #e17108;
  font-size: 18px;
}

.location-address {
  color: #666;
  font-size: 15px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e17108;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.directions-link:hover {
  color: #ff8000;
}

.directions-link i {
  font-size: 16px;
}

/* Map Container */
.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px;
  background-color: #f8f8f8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-item.active .faq-question {
  background-color: #f0f0f0;
}

.faq-question h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.faq-question i {
  color: #e17108;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0 20px;
  margin: 0;
  color: #666;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .contact-hero {
    height: 35vh;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .contact-card {
    width: calc(50% - 30px);
    max-width: 300px;
  }

  .location-tabs {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .contact-hero {
    height: 30vh;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .contact-card {
    width: 100%;
    max-width: 350px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .location-tabs {
    flex-direction: column;
  }

  .location-tab {
    justify-content: center;
  }

  .social-item {
    gap: 12px;
  }

  .social-text p {
    font-size: 14px;
  }
}

@media screen and (max-width: 576px) {
  .contact-hero {
    height: 25vh;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  h2 {
    font-size: 24px;
  }

  .contact-header p {
    font-size: 14px;
  }

  .card-icon {
    width: 60px;
    height: 60px;
  }

  .card-icon i {
    font-size: 24px;
  }

  .contact-info,
  .locations-container {
    padding: 20px;
  }

  .info-item i {
    font-size: 20px;
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }

  .social-icon i {
    font-size: 16px;
  }

  .social-text p {
    font-size: 13px;
  }

  .social-item {
    gap: 10px;
  }
}

@media screen and (max-width: 480px) {
  .contact-hero {
    height: 20vh;
    margin-top: 65px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .faq-question h3 {
    font-size: 15px;
  }

  .location-tab {
    font-size: 13px;
    padding: 10px 16px;
  }

  .social-item {
    gap: 10px;
  }

  .social-icon {
    width: 32px;
    height: 32px;
  }

  .social-icon i {
    font-size: 14px;
  }

  .social-text p {
    font-size: 12px;
  }
}
