/* =============================== Header 導覽區 ============================= */
.site-header {
  padding: 1rem 2rem;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__logo img {
  height: 90px;
  width: auto;
}

.logo-text {
  font-weight: bold;
  color: #007BFF;
  font-size: 1.25rem;
}

.header__nav .nav-list {
  list-style: none;
  display: flex;
  gap: 3rem;
  margin: 0;
  padding: 0;
}

.header__nav .nav-list li a {
  font-size: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header__nav .nav-list li a:hover {
  color: #2596be;
}



/* =============================== Footer 導覽區 ============================= */
.site-footer {
  background-color: #323436; /* 改為全黑灰 */
  padding: 3rem 1rem 1rem;
  font-size: 0.95rem;
  color: #fff; /* 白字 */
}

.footer__container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer__col {
  flex: 1 1 250px;
}

.footer__logo {
  width: 100px;
  margin-bottom: 1rem;
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav-list li {
  margin-bottom: 0.5rem;
}

.footer__nav-list a {
  color: #bbb; /* 柔和白字 */
  text-decoration: none;
  transition: color 0.3s;
}

.footer__nav-list a:hover {
  color: #fff; /* 滑過變亮白 */
}

.footer__bottom {
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}

/* Footer FB, LinkedIn, YouTube的設定 */
.footer__socials a {
  font-size: 20px;
  margin-right: 12px;
  transition: color 0.3s;
}

/* Facebook 藍 */
.footer__socials a[href*="facebook"] {
  color: #1877f2;
}

/* LinkedIn 藍 */
.footer__socials a[href*="linkedin"] {
  color: #0077b5;
}

/* YouTube 紅 */
.footer__socials a[href*="youtube"] {
  color: #ff0000;
}

/* 滑過效果（可選） */
.footer__socials a:hover {
  opacity: 0.8;
}

.footer-icon-credit {
  font-size: 0.75rem;
  color: #ccc;
  text-align: center;
  margin-top: 0.5rem;
}

.footer-icon-credit a {
  color: #ccc;
  text-decoration: underline;
}

.footer-icon-credit a:hover {
  color: #ffffff;
}



/* ================================================= Hero 區塊 ===================================================================== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
}

.hero-banner__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-banner__content {
  position: absolute;
  top: 80px;         /* 🔵 明確設定距離上方 80px，可微調 */
  left: 60px;        /* 靠左一點 */
  color: #222;       /* 字色為深灰或深藍 */
  max-width: 600px;
  z-index: 2;
}

.hero-banner__content h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #003366; /* 深藍，科技感也很強 */
  margin-bottom: 20px;
}

.hero-banner__content p {
  font-size: 1.2rem;
  color: #444; /* 副標深灰 */
  margin-bottom: 30px;
}

.hero-banner__buttons a {
  margin-right: 15px;
}


/* === Services 區塊 === */
.services {
  padding: 4rem 1rem;
  background-color: #fff;
}

.services__title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.service-card {
  border: 1px solid #e0e0e0;
  padding: 2rem;
  border-radius: 0.5rem;
  background-color: #F9FAFB;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.service-card__icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1rem;
}

.service-card__title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card__desc {
  font-size: 0.95rem;
  color: #555;
}

/* ======================== service card 顏色設計 ==================== */
.bg-sky        { background-color: #eaf6ff; }
.bg-lavender   { background-color: #f3f2ff; }
.bg-mintgreen  { background-color: #e0fbe7; }
.bg-mint       { background-color: #e9fef4; }
.bg-cream      { background-color: #fff7e5; }
.bg-snow       { background-color: #f1f6ff; }





/* ========================================== 通用按鈕樣式 ========================================= */

.container {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: #007BFF;
  border: 2px solid #007BFF;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #007BFF;
  color: #fff;
}

/*#whatsapp right corner logo*/
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366; /* WhatsApp 綠 */
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #222; /* ✅ 黑或深灰，比 #0056b3 更中性自然 */
  text-align: center;
  margin-bottom: 30px;
}

/* ======== [新增] 手機專用漢堡選單顯示控制 ======== */
.menu-toggle {
  display: none;
}



/* ========================================== Partners的展示區域 ========================================== */
.partners {
  padding: 60px 0;
  background: #f8f9fa;
  text-align: center;
}

.partners__title {
  font-size: 32px;       /* 或你想要的大小，例如 36px 更明顯 */
  font-weight: 600;      /* 增加字體粗細，讓標題更有存在感 */
  margin-bottom: 30px;
  color: #222;           /* 若你想再深一點可以設為 #111 或 #000 */
}

.partners__slider img,
.partners__logos img {
  max-height: 120px;
  max-width: 100%; /* 原本 120% 會導致圖片溢出容器，建議改回 100% */
  margin: 0 auto;
  object-fit: contain;
  transition: all 0.3s ease; /* 讓 filter + transform + shadow 一起過渡 */
  filter: none; /* 預設彩色 */
}

/* 滑鼠指上去的效果 */
.partners__slider img:hover,
.partners__logos img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.3); /* 藍色科技光暈 */
  filter: none;
}

/* 滾動左右按鍵和 。的顔色設定 */
.slick-prev,
.slick-next {
  background: none;
  border: none;
  z-index: 10;
}

/* 這段才是實際可見的箭頭顏色 */
.slick-prev:before,
.slick-next:before {
  color: #007bff !important;
  font-size: 28px !important;
  opacity: 1 !important;
}

.slick-prev:hover:before,
.slick-next:hover:before {
  color: #0056b3 !important;
}

.slick-dots li button:before {
  font-size: 12px !important;
  color: #007bff !important;
  opacity: 1 !important;
}

.slick-dots li.slick-active button:before {
  color: #000000 !important;
  opacity: 1 !important;
}




/* ========================================== Paint Points ========================================== */
.painpoints-block {
  background-color: #ffffff;
  padding: 60px 20px;
}

.painpoints-head {
  text-align: center;
  margin-bottom: 40px;
}

.painpoints-title {
  font-size: 2rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
}

.painpoints-subtitle {
  font-size: 1.1rem;
  font-weight: bold;
  color: #666;
  margin: 0;
}

.painpoints-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.painpoints-left {
  flex: 1 1 500px;
}

.text-align-right {
  text-align: right;
}

.painpoints-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.painpoints-list li {
  margin-bottom: 24px;
}

.painpoints-list strong {
  color: #007BFF;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 5px;
}

.painpoints-list p {
  margin: 0;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.painpoints-right {
  flex: 1 1 400px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 20px;
}

.painpoints-right img {
  max-width: 85%;
  height: auto;
  display: block;
}




/* ========================================== CTA 區塊 ==========================================*/
.cta {
  background-color: #2596be;
  color: white;
  padding: 3rem 1rem;
  text-align: center;
}

.cta__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta__desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ======CTA 聯係我們的案件增大====== */
.cta .btn-primary,
.cta .btn-outline {
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  border-radius: 0.5rem;
}



/* =========================================== 手機版（小於 768px）RWD 調整 =================================================== */
@media (max-width: 768px) {
  .hero__container {
    flex-direction: column;
    text-align: center;
  }

  .hero__text, .hero__image {
    flex: none;
    width: 100%;
  }

  .hero__image img {
    max-width: 80%;
    height: auto;
  }
  
  .services__grid {
   gap: 1.5rem; /* 原本可能是 1rem */
   padding: 0 1rem;
  }

  .service-card {
    padding: 1.5rem 1rem;
  }

  .menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
  }

  /* ✅ 改寫為動畫展開方式 */
  .header__nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    width: 100%;
    margin-top: 1rem;
  }

  .header__nav.active {
    max-height: 500px;
  }

  .header__nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0rem;
    padding-top: 0.25rem;
    margin: 0; 
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /*#Service 區域的卡片大小*/
  .services__grid {
    grid-template-columns: repeat(2, 1fr); /* 每排 2 欄 */
    gap: 1rem;
    padding: 0 1rem;
  }

  .service-card {
    padding: 1rem;
  }

  .service-card__icon {
    max-width: 64px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
  }

  /*#whatspp icon的手機畫面大小*/
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }

    .hero-banner__overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.4); /* 或 rgba(0, 0, 0, 0.3) 看你偏亮或偏暗 */
      z-index: 1;
    }

  /*#hero area的手機畫面大小*/
  .hero-banner__content {
  position: absolute;
  top: 1px; /* ✅ 往上移！原本是 25% */
  left: 5%;
  right: 5%;
  transform: none;
  color: #222;
  max-width: 100%;
  text-align: center;
  z-index: 2;
}

  .hero-banner__content h1 {
    font-size: 1.75rem;
    font-weight: bold;
    color: #003366;
    margin-bottom: 16px;
  }

  .hero-banner__content p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 24px;
  }

  .hero-banner__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-banner__buttons a {
    margin: 10px;
  }

  .hero-banner__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-banner__buttons a {
    margin: 10px;
  }

  /* =============PainPoints的手機設定===============*/
  /* 只鎖定首頁 Pain Points */
  .painpoints--homepage .painpoints-head {
    text-align: left;
  }

  .painpoints--homepage .painpoints-title {
    font-size: 1.5rem;
    text-align: left;
  }

  .painpoints--homepage .painpoints-subtitle {
    text-align: left;
  }

  .painpoints--homepage .painpoints-list p,
  .painpoints--homepage .painpoints-list strong {
    text-align: left;
  }

  .painpoints--homepage .painpoints-container {
    flex-direction: column;
  }

  .painpoints--homepage .painpoints-right {
    justify-content: center;
    padding-left: 0;
  }

  .painpoints--homepage .painpoints-right img {
    max-width: 100%;
  }
  
  .painpoints--homepage .painpoints-right img {
  display: block;
  width: 100%;
  /* 換算你要拉掉大概多少像素，把下面值改成負值就往上拉 */
  margin-top: -300px;
  }

    
    
    
    
    
    
    
}


