main .container-fluid {
  padding-left: 0;
  padding-right: 0;
}
main {
  margin-top: 6vmax;
}
@media (max-width: 768px) {
  main {
    margin-top: 53px;
  }
}
.mybg {
  margin-right: 0;
  margin-left: 0;
}
.mybg > .col-sm-7 {
  background-image: url("../images/bg-test6.jpg");
  background-size: calc(100% - 42%);
  background-position-x: right;
}
.mybg > .col-sm-8 {
  background-image: url("../images/bg-test5.jpg");
  background-size: calc(100% - 33.33%);
}
.mybg > .col-sm-7,
.mybg > .col-sm-8 {
  background-repeat: repeat-y;
  background-attachment: fixed;
  height: 20vmax;
  padding: 0 !important;
}
@media (max-width: 576px) {
  .mybg > .col-sm-7,
  .mybg > .col-sm-8 {
    background-size: contain;
    background-attachment: fixed;
    -webkit-background-attachment: fixed !important;
  }
  .mybg > .col-sm-8 {
    background-position: center 100%;
  }
}
.fb-page[data-height="688px"] {
  height: 500px !important;
}

.mapbox {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 25%;
}

.mapbox iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 992px) {
  .mapbox {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 30%;
  }
}
@media (max-width: 576px) {
  .mapbox {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 65%;
  }
}
.mycontact p,
.mycontact a {
  color: #060b80;
  text-decoration: none;
}
.mycontact p:hover,
.mycontact a:hover {
  color: rgb(255, 140, 0) !important;
}
/* 聯絡我們標題區域 */
.contact-header {
  margin: 2rem auto 0;
  text-align: center;
  padding: 1rem 0;
}

.contact-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.2rem;
  position: relative;
}

.contact-header span {
  font-size: 1.5rem;
  color: #6c757d;
  font-weight: 400;
  display: block;
  margin-top: 0.2rem;
}
/* 聯絡資訊卡片 */
.mycontact {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  max-width: 600px;
  transform: translateY(0);
  transition: all 0.3s ease;
  border: 1px solid #dee2e6;
}

.mycontact:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #333;
}

.contact-item:hover {
  background: linear-gradient(
    135deg,
    rgba(68, 105, 216, 0.7) 0%,
    rgba(41, 75, 178, 0.7) 100%
  );
  color: white;
  transform: translateX(5px);
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: rgba(41, 75, 178, 0.7);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.contact-item:hover i {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.contact-item p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.company-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.company-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 2px;
}

/* 地圖區域 */
.mapbox {
  margin: 4rem 0;
  border-radius: 20px;
  overflow: hidden;
  /* box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); */
  position: relative;
}

.mapbox iframe {
  width: 100%;
  height: 400px;
  border: none;
  filter: contrast(1.1) saturate(1.2);
  transition: all 0.3s ease;
}

.mapbox:hover iframe {
  filter: contrast(1.2) saturate(1.4) brightness(1.1);
}

/* 社群媒體區域 */
.social-header {
  margin: 3rem auto 1rem;
  text-align: center;
  padding: 2rem 0;
}

.social-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.social-header span {
  font-size: 1.5rem;
  color: #6c757d;
  font-weight: 400;
  display: block;
  margin-top: 0.5rem;
}

.social-content {
  padding: 2rem 0 4rem;
}

.social-column {
  padding: 1rem;
}

.social-wrapper {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid #dee2e6;
}

.social-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.social-title {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  font-weight: 600;
}

/* Instagram 嵌入優化 */
.instagram-media {
  border-radius: 10px !important;
  overflow: hidden;
}

/* Facebook 嵌入優化 */
.fb-page {
  border-radius: 10px;
  overflow: hidden;
}
