/* 公司头部样式 */
/* 横幅图片 */
.bannerImg {
    width: 100%;
    /* height: 300px; */
    overflow: hidden;
}

.bannerImg img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}
.company-header .container,.contact-section .container{
  width: 80%;
  margin: 0 auto;
  background: #f5f5f5;
  padding: 20px;
}
.company-header {
  padding: 60px 0;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.company-title {
  font-size: 28px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-note {
  color: #666;
  font-size: 16px;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 20px;
}

.service-note:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #54cccc;
}

.company-description {
  max-width: 1000px;
}

.greeting {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
}

.main-text {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  text-align: justify;
}

/* 联系部分样式 */
.contact-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-box {
  background-color: #54cccc;
  padding: 40px;
  border-radius: 8px;
  color: #fff;
}

.info-item {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item i {
  font-size: 20px;
  color: #fff;
}

.info-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.map-container {
  height: 60vh;
  min-height: 400px;
  max-height: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  background-color: #f0f0f0; /* Temporary background for debugging */
}

#map {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* 响应式调�?*/
@media (max-width: 992px) {
  .contact-grid {
      grid-template-columns: 1fr;
  }
  
  .map-container {
      height: 50vh;
      min-height: 300px;
  }
}

/* 响应式调�?*/
@media (min-width: 1600px) {
  .contact-grid {
      grid-template-columns: 1fr;
  }
  
  .map-container {
      height: 70vh;
      max-height: 1000px;
  }
}


@media (max-width: 768px) {
  .company-header {
      padding: 40px 20px;
  }
  
  .company-title {
      font-size: 24px;
  }
  
  .service-note {
      font-size: 14px;
  }
  
  .main-text {
      font-size: 14px;
  }
  
  .contact-info-box {
      padding: 30px;
  }
  
  .info-item {
      gap: 10px;
  }
  
  .info-item p {
      font-size: 14px;
  }
}

/* .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}  */

/* Large screen adjustments */
@media (min-width: 1200px) {
  .company-title {
    font-size: 32px;
  }
  
  .service-note {
    font-size: 18px;
  }
  
  .greeting {
    font-size: 20px;
  }
  
  .main-text {
    font-size: 17px;
  }
  
  .info-item p {
    font-size: 16px;
  }
  
  .contact-info-box {
    padding: 50px;
  }
  
  .info-item i {
    font-size: 24px;
  }
}

@media (min-width: 1600px) {
  .company-title {
    font-size: 36px;
  }
  
  .service-note {
    font-size: 20px;
  }
  
  .greeting {
    font-size: 22px;
  }
  
  .main-text {
    font-size: 18px;
  }
  
  .info-item p {
    font-size: 17px;
  }
  
  .contact-info-box {
    padding: 60px;
  }
  
  .info-item i {
    font-size: 26px;
  }
}

/* 留言弹窗样式 */
.message-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h3 {
  margin: 0;
  font-size: 20px;
  color: #333;
}

.close-modal {
  cursor: pointer;
  font-size: 24px;
  color: #666;
}

.close-modal:hover {
  color: #333;
}

.message-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 14px;
  color: #666;
}

.form-group input,
.form-group textarea {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.message-form button {
  background-color: #ff6633;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.message-form button:hover {
  background-color: #e65c2e;
}

/* 留言按钮样式 */
.message-btn {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  height: 50px;
  background-color: #ff6633;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 999;
  gap: 8px;
  padding: 0 20px;
  animation: float 3s ease-in-out infinite;
}

.message-btn i {
  font-size: 18px;
}

.message-btn span {
  white-space: nowrap;
}

@keyframes float {
  0%, 100% {
    transform: translateY(-50%) translateY(0);
  }
  50% {
    transform: translateY(-50%) translateY(-10px);
  }
}

.message-btn:hover {
  background-color: #e65c2e;
}

/* 响应式调�?*/
@media (max-width: 768px) {
  .modal-content {
    margin: 20% auto;
    width: 95%;
  }
  
  .message-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
    right: 10px;
    bottom: 10px;
  }
}

/* 联系方式内容自动换行，适配移动�?*/
.list-group-item span,
.list-group-item a {
  word-break: break-all;
  word-wrap: break-word;
}
@media (max-width: 767px) {
  .list-group-item {
    font-size: 1rem;
    padding: 0.75rem 0.5rem;
  }
  .list-group-item span,
  .list-group-item a {
    font-size: 1rem;
    max-width: 90vw;
    display: inline-block;
    vertical-align: middle;
  }
  .list-group-item .fw-bold {
    min-width: 5.5em;
    display: inline-block;
  }
}
/* 邮箱多项分行显示 */
.list-group-item .email-list {
  display: block;
}
@media (max-width: 767px) {
  .list-group-item .email-list {
    display: block;
  }
}

/* 联系方式三栏区域美化 */
.contact-way-section {
  background: #f7fafd;
  padding: 56px 0 48px 0;
}
.contact-way-section .row > div {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #e6f0fa;
}
.contact-way-section .row > div:last-child {
  border-right: none;
}
.contact-way-section i {
  color: #54cccc;
}
.contact-way-section h2 {
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.contact-way-section p {
  color: #444;
  margin-bottom: 44px;
}
@media (max-width: 992px) {
  .contact-way-section .row > div {
    border-right: none;
    border-bottom: 1px solid #e6f0fa;
    min-height: 160px;
    margin-bottom: 24px;
  }
  .contact-way-section .row > div:last-child {
    border-bottom: none;
  }
}
/* 表单区保持白色背�?*/
.contact-form-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(35,140,255,0.08);
  padding: 40px 32px;
  margin-top: 32px;
}
