/* =========================================
   Contact Us Page Styling (Revised)
   ========================================= */

/* 1. 上半部分：Email Enquiry */
.general-enquiry-section {
  background-color: #f8f9fa;
  padding: 80px 20px;
  text-align: center;
}

.enquiry-box {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 50px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 5px solid #ff6200;
}

.enquiry-box h1 {
  font-size: 2.5rem;
  color: #ff6200;
  margin-bottom: 20px;
  font-weight: 700;
}

.enquiry-text {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 30px;
}

.email-highlight {
  display: inline-block;
  background-color: #fff4eb;
  border: 2px solid #ff6200;
  padding: 15px 40px;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.email-highlight:hover {
  background-color: #ff6200;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 98, 0, 0.3);
}

.email-label {
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
  margin-right: 5px;
}

.email-address {
  font-weight: bold;
  font-size: 1.4rem;
  color: #ff6200;
  text-decoration: underline;
}

.email-highlight:hover .email-label,
.email-highlight:hover .email-address {
  color: white;
  text-decoration: none;
}


/* 2. 下半部分：Our Branches */
/* 注意：这里使用了你 HTML 里的类名 .branch-locations */

.branch-locations {
  padding: 60px 20px;
  max-width: 1300px;
  margin: 0 auto;
  background-color: transparent; /* 去掉之前的灰色背景，保持一致 */
}

.branch-locations h2 {
  text-align: center;
  font-size: 2.2rem;
  color: #ff6200;
  margin-bottom: 50px;
  position: relative;
  font-weight: bold;
}

.branch-locations h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ff6200;
  margin: 15px auto 0;
  border-radius: 2px;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 0 10px;
}

.branch-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
}

.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-color: #ff6200;
}

.branch-card h3 {
  font-size: 1.4rem;
  color: #ff6200;
  margin-bottom: 15px;
  min-height: 40px;
}

/* 这里的 iframe 样式很重要，保证地图显示正常 */
.branch-card iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.branch-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #555;
}

/* 电话号码样式 */
.branch-phone {
  margin-top: auto; /* 把电话推到上面一点 */
  margin-bottom: 15px;
  font-weight: 500;
}

.phone-number {
  color: #333;
}

/* "View on Map" 按钮样式 */
.branch-card a {
  display: block;
  text-align: center;
  background-color: transparent;
  color: #ff6200;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #ff6200;
  padding: 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin-top: auto; /* 保证按钮在卡片最底部 */
}

.branch-card a:hover {
  background-color: #ff6200;
  color: white;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;   /* ✅ 正确 */
  margin-right: 20px;  /* ✅ 正确 */
}

/* 手机适配 */
@media (max-width: 768px) {
  .branch-grid {
    grid-template-columns: 1fr;
  }
  .enquiry-box {
    padding: 30px 20px;
  }
}

@media (max-width: 1400px) {
  .main-nav,
  .nav-right {
    display: none;
  }

  .nav-container {
    justify-content: space-between;
    padding: 12px 16px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .hamburger-btn {
    display: block;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #ff6200;
  }

  .mobile-menu {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    list-style: none;
    padding: 0 20px;
  }

  .mobile-menu.visible {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu li {
    margin-bottom: 12px;
  }

  .mobile-menu a,
  .mobile-menu .nav-btn {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    width: 100%;
    text-align: left;
  }

  .mobile-menu .nav-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    margin-bottom: 12px;
    box-sizing: border-box;
  }

  .mobile-menu .email-btn {
    background-color: transparent;
    color: #ff6200;
    border: 1.5px solid #ff6200;
  }

  .mobile-menu .email-btn:hover {
    background-color: rgba(255, 98, 0, 0.08);
  }

  .mobile-menu .contact-btn {
    background-color: #ff6200;
    color: #fff;
    border: none;
  }

  .mobile-menu .contact-btn:hover {
    background-color: #ea5a00;
  }
}