/**
* Template Name: Maxim
* Updated: Sep 18 2023 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/maxim-free-onepage-bootstrap-theme/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/
@font-face {
  font-family: 'Geologica';
  src: url('forms/Geologica/Geologica-VariableFont_CRSV,SHRP,slnt,wght.ttf') format('truetype');
  font-weight: 300 400;
  font-style: normal;
}

#synopsys-text {
  color: #5a2a82; /* 紫色 */
  font-weight: 500; /* 加粗 */
  font-size: 26px;
}
#ascale-text {
  font-weight: 400; /* 加粗 */
  font-size: 26px;
}
.content-container a {
  font-family: 'Geologica', sans-serif;
}

.small-r {
  font-size: 0.5em; /* 缩小“R”的大小 */
  vertical-align: super; /* 可能需要调整对齐 */
}

/* 手機,小尺寸設備上的樣式 */
@media (max-width: 600px) {
  #synopsys-text, #ascale-text {
    font-size: 22px; /* 对于小屏幕减小字体尺寸 */
  }
}
/*--------------------------------------------------------------
# pre-load
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff; /* 或者您網頁的背景顏色 */
  z-index: 9999; /* 確保預加載器在最頂層 */
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  flex-direction: column; /* Logo和加載動畫垂直排列 */
}

.logo-container {
  margin-bottom: 30px; /* 根據需要調整 */
}

#preloader-logo {
  max-width: 300px; /* 根據您的Logo尺寸進行調整 */
  height: auto; /* 保持圖片比例 */
}

.content-container {
  display: flex;
  justify-content: center; /* 水平居中 */
  justify-content:center; /* 將圖片和文字分別靠向容器的兩側 */
  align-items: flex-end; /* 將內容靠下對齊 */
  width: 100%; /* 確保容器占滿整行的寬度 */
  gap: 10px; /* 圖片與文字之間的間隙 */
}

#synopsys-logo {
  width: 80px; /* 根據需要調整第二行logo的寬度 */
  height: auto; /* 保持圖片比例 */
}

.content-container p {
  margin: 0; /* 移除p標籤預設的外邊距 */
  /* 若需要，可以加入其他樣式 */
}


#loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db; /* 藍色 */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

/* 動畫效果 */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  /*color: #1bac91;*/
  color: #000000;
  text-decoration: none;
}

a:hover {
  /* color: #22d8b6; */
  color: rgba(115, 110, 110, 1);
  text-decoration: none;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 100px;
  z-index: 996;
  background: #800;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  transition: all 0.4s;
  animation: btnFadeUp 2s infinite; /* 添加这行来应用动画 */

}

.back-to-top i {
  font-size: 40px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background:  #B00;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}



/*--------------------------------------------------------------
# Next Section button
--------------------------------------------------------------*/
.next-section-btn {
    position: fixed;
    visibility: visible;
    opacity: 1;
    right: 15px;
    bottom: 40px;
    z-index: 996;
    background: #870000;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    transition: all 0.4s;
    animation: btnBgFadeDown 2s infinite;
}

.next-section-btn i {
    font-size: 40px;
    color: #fff;
    line-height: 0;
}

.next-section-btn:hover {
    background: #B00;
    color: #fff;
}

.next-section-btn.active {
    visibility: visible;
    opacity: 1;
}

/* 动画效果为按钮底色块 */
@keyframes btnBgFadeDown {
    0% { transform: translateY(0); }
    50% { transform: translateY(20px); } /* 调整这里的值以增加移动范围 */
    100% { transform: translateY(0); }
}

/* 隱藏按鈕的 CSS 類別 */
.hide-button {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.4s ease;
}

/** LINE **/

/* 自定義的LINE聯繫按鈕樣式 */
.line-contact-btn {
  position: fixed; /* 位置固定，不隨滾動條移動 */
  visibility: visible; /* 使元素可見 */
  opacity: 1; /* 設置不透明度為完全不透明 */
  right: 75px; /* 距離視窗右邊界15像素 */
  bottom: 40px; /* 距離視窗底部40像素 */
  z-index: 996; /* z-index設置堆疊順序，996足夠高以保證按鈕在大多數元素上方 */
  width: 50px; /* 按鈕寬度設為50像素 */
  height: 50px; /* 按鈕高度設為50像素 */
  border-radius: 4px; /* 按鈕邊角的圓滑度設為4像素 */
  transition: all 0.4s; /* 過渡效果使得所有屬性變化（如hover）更平滑，持續時間0.4秒 */
  display: flex; /* 使用彈性盒子模型來布局內部的<img> */
  align-items: center; /* 彈性項在交叉軸上的對齊方式為居中 */
  justify-content: center; /* 彈性項在主軸上的對齊方式為居中 */
}

/* 針對按鈕內的<img>標籤的樣式 */
.line-contact-btn img {
  max-width: 100%; /* 圖片最大寬度為父元素寬度，確保圖片不會溢出按鈕 */
  max-height: 100%; /* 圖片最大高度為父元素高度，確保圖片不會溢出按鈕 */
  object-fit: contain; /* 圖片保持原有比例，同時被縮放以完全適應容器 */
}


/* recaptcha.css */
.g-recaptcha {
  cursor: pointer;
  /* 其他需要的樣式 */
}


/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 70px;
  transition: all 0.5s;
  z-index: 997;
  background: #800;
}

#header .logo h1 {
  font-size: 30px;
  margin: 0;
  padding: 6px 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}

@media (max-width: 992px) {
  #header {
    height: 60px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar>ul>li+li {
  margin-left: 30px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}

.navbar a i,
.navbar a:focus i {
  font-size: 17px;
  line-height: 0;
  margin-left: 8px;
}

.navbar>ul>li>a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 3px;
  left: 0;
  background-color: #1bac91;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #fff;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 0;
  top: 100%;
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  font-weight: 500;
  color: #062822;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #1bac91;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(16, 31, 29, 0.9);
  transition: 0.3s;
  z-index: 0;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile>ul>li+li {
  margin: 0;
}

.navbar-mobile a:hover:before,
.navbar-mobile li:hover>a:before,
.navbar-mobile .active:before {
  visibility: hidden;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 16px;
  color: #21413c;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #1bac91;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #1bac91;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: calc(100vh - 70px);
  background: url("../img/hero-bg.webp") center center;
  background-size: cover;
  position: relative;
  margin-top: 70px;
  padding: 0;
}

#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .container {
  z-index: 2;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}
@media (max-width: 600px) {
#hero h1 {
  margin: 0 0 10px 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}
}

#hero h2 {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  font-size: 24px;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 4px;
  transition: 0.5s;
  border: 2px solid #fff;
  color: #fff;
}

#hero .btn-get-started:hover {
  border-color: #1bac91;
  background: #1bac91;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 992px) {
  #hero {
    margin-top: 60px;
    height: calc(100vh - 60px);
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  margin-top: 70px;
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f2f9f8;
}

.section-title {
  padding-bottom: 40px;
  text-align: center;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: #21413c;
}

.section-title p {
  margin-bottom: 0;
}


/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background-color: #f7f7f7;
  min-height: 40px;
  margin-top: 72px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 60px;
  }
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 992px) {
  .breadcrumbs h2 {
    margin: 0 0 10px 0;
  }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about h3 {
  font-weight: 400;
  font-size: 34px;
  color: #21413c;
}

.about .icon-box {
  margin-top: 44px;
}

.about .icon-box i {
  font-size: 48px;
  float: left;
  color: #1bac91;
}

.about .icon-box h4 {
  font-size: 22px;
  font-weight: 500;
  margin-left: 60px;
  color: #21413c;
}

.about .icon-box p {
  font-size: 15px;
  color: #848484;
  margin-left: 60px;
}

/*--------------------------------------------------------------
# edatools
--------------------------------------------------------------*/
.edatools h3 {
  font-weight: 400;
  font-size: 34px;
  color: #21413c;
}

.edatools a {
   padding: 10px 0px 0px 0px;
  font-size: 16px;
}

.edatools .icon-box {
  margin-top: 44px;
}

.edatools .icon-box i {
  font-size: 48px;
  float: left;
  color: #1bac91;
}

.edatools .icon-box h4 {
  font-size: 28px;
  font-weight: 500;
  margin-left: 60px;
  color: #21413c;
}

.edatools .icon-box p {
  font-size: 20px;
  color: #848484;
  margin-left: 60px;
}

.centered-text {
    text-align: center;
}

/*--------------------------------------------------------------
# Steps
--------------------------------------------------------------*/
                  <img src="assets/img/Synopsys-ad.png" alt="" class="img-fluid">


.steps {
  padding: 50px 0 40px 0;
}



.steps .row {
  overflow: hidden;
}

.steps-bg {
  background-color: rgba(225, 209, 248, 0.7);
}

.steps .content-item {
  padding: 40px;
  border-left: 1px solid #d4e9e6;
  margin: -1px;
}

.steps .content-item span {
  display: block;
  font-size: 24px;
  font-weight: 400;
  color: #1bac91;
}

.steps .content-item h4 {
  font-size: 28px;
  font-weight: 400;
  padding: 0;
  margin: 20px 0;
  color: #21413c;
}

.steps .content-item p {
  color: #aaaaaa;
  font-size: 20px;
  margin: 0;
  padding: 0;
}

.learn-more-btn {
  font-family: "Raleway", sans-serif; /* 使用 "Raleway" 字型，如果找不到就使用系統的無襯線字型 */
  text-transform: uppercase; /* 將文字轉換為全部大寫 */
  font-weight: 500; /* 設置字體粗度為500，介於正常和粗體之間 */
  font-size: 16px; /* 字體大小設為16像素 */
  letter-spacing: 1px; /* 字母之間的間距設為1像素 */
  display: inline-block; /* 將元素顯示為行內區塊，佔用必要的空間且不破壞流動性 */
  padding: 8px 28px; /* 內部的間距：上下8像素，左右28像素 */
  border-radius: 4px; /* 設定邊緣的圓角為4像素 */
  transition: 0.5s; /* 設置所有動畫效果的過渡時間為0.5秒 */
  border: 2px solid #fff; /* 設置2像素的白色實線邊框 */
  color: #000; /* 文字顏色設為白色 */

}


.learn-more-btn:hover {
  border-color: #1bac91;
  background: #1bac91;
}

.img-spacing {
    margin-bottom: 20px;
}

.img-centered {
    width: 100%;
    object-fit: cover;  /* 確保圖像填滿元素尺寸且可能會被裁剪 */
    object-position: center center;  /* 圖像居中 */
    position: relative;
}


@media (max-width: 768px) {
  .steps .content-item {
    padding: 40px 0;
  }
}

/*--------------------------------------------------------------
# TechSupport
--------------------------------------------------------------*/
.techsupport {
  padding: 50px 0 40px 0;
}

.techsupport .row {
  overflow: hidden;
}

.techsupport .content-item {
  padding: 40px;
  border-left: 1px solid #d4e9e6;
  margin: -1px;
}

.techsupport .content-item span {
  display: block;
  font-size: 24px;
  font-weight: 400;
  color: #1bac91;
}

.techsupport .content-item h4 {
  font-size: 28px;
  font-weight: 400;
  padding: 0;
  margin: 20px 0;
  color: #21413c;
}

.techsupport .content-item p {
  color: #aaaaaa;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .steps .content-item {
    padding: 40px 0;
  }
}


/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  border: 0;
  padding: 20px;
  transition: 0.3s;
  color: #21413c;
}

.features .nav-link:hover {
  color: #1bac91;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
}

.features .nav-link p {
  font-size: 14px;
  margin-bottom: 0;
}

.features .nav-link.active {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.12);
}

.features .nav-link.active h4 {
  color: #1bac91;
}

.features .tab-pane.active {
  animation: slide-down 0.5s ease-out;
}

@keyframes slide-down {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*--------------------------------------------------------------
# verification-family
--------------------------------------------------------------*/
/* 主要的容器，使用 grid 佈局 */
.eda .grid-con-vfamily {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 定義4列等寬 */
    grid-gap: 3px; /* 網格之間的間隙 */
    width: 100%;
    margin: 0 auto; /* 居中顯示 */
    position: relative; /* 為子元素（如箭頭）的絕對定位提供參考 */
    font-family: Arial, sans-serif; /* 字體設定 */
}

/* 主要的容器，使用 grid 佈局 */
.eda .grid-con-icdesign {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 定義3列等寬 */
    grid-gap: 3px; /* 網格之間的間隙 */
    width: 100%;
    margin: 0 auto; /* 居中顯示 */
    position: relative; /* 為子元素的絕對定位提供參考 */
    font-family: Arial, sans-serif; /* 字體設定 */
}

/* 通用的項目樣式 */
.eda .item {
    background-color: #36225e; /* 背景色 */
    color: white; /* 文字顏色 */
    text-align: center; /* 文字居中對齊 */
    padding: 20px 20px 20px 20px; /* 上下填充 */
    font-weight: bold; /* 字體加粗 */
    font-size: 16px; /* 字體大小 */
        /* 添加的陰影效果 */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* 水平位移、垂直位移、模糊距離、顏色 */

    
}

/* 特定的項目樣式，使其橫跨所有列 */
.eda .item.planning, .item.vip, .item.verdi {
    grid-column: 1 / -1; /* 從第一列到最後一列 */
}


/* 特定的項目增加高度 */
.eda .item.virtualizer, .item.vc, .item.vcs, .item.zebu, .item.haps {
    padding: 60px 2px; /* 調整上下的填充以增加高度 */
    }


/* 特定的項目增加高度 */
.eda .item.digital-design, 
.eda .item.custom-design, 
.eda .item.fpga-base-design {
    padding: 160px 10px; /* 調整上下的填充以增加高度 */
    background-color: #5897c0
}

.eda .item[title]:hover::before {
    content: attr(title);  /* 使用 title 属性的值作為提示框的內容 */
    position:absolute;   /* 使用絕對定位將提示框放在正確的位置 */
    top: 100%;            /* 將提示框置於元素的下方 */
    right: 50%;            /* 將提示框置於元素的下方 */
    transform: translateX(-50%); /* 使用 transform 居中提示框 */
    background-color: #555;  /* 提示框的背景色 */
    color: #fff;          /* 提示框的文字顏色 */
    padding: 0.3em 0.6em; /* 提示框的填充 */
    border-radius: 0.2em; /* 提示框的圓角 */
    font-size: 14px;      /* 提示框的字體大小 */
    z-index: 10;          /* 確保提示框始終在其他元素的上方 */
    pointer-events: none; /* 確保提示框不會影響其他鼠標事件 */
    width: 180px;         /* 設定提示框的寬度 */
}
/* 當滑鼠懸停在.item上時，背景色變為黃色 */
.eda .item:hover {
    background-color: #f2b144;
}
.eda .item.ic-designd {
    grid-column: 1 / -1; /* 從第一列到最後一列 */
    padding: 20px 10px; /* 調整上下的填充以增加高度 */
    background-color: #74aacc; /* 背景色 */
}
.eda .item.verification {
    grid-column: 1 / -1; /* 從第一列到最後一列 */
    padding: 20px 10px; /* 調整上下的填充以增加高度 */
    background-color: #795798; /* 背景色 */
}

.subpop-bg {
    background-color: #795798; /* 背景色 */
    color: #fff;          /* 提示框的文字顏色 */

}

	
.sub-bg {
    padding: 20px;
    background-color: #ececec;
}

#myModal .modal-dialog {
    margin-top: 70px; /* 只针对id为myModal的模态窗口生效 */
    width: 70vw; /* 設定模態框寬度為視口寬度的80% */
    max-width: 700px; /* 設定模態框的最大寬度限制 */
    min-width: 300px; /* 設定模態框的最小寬度限制 */
    transition: transform 0.3s ease-out;
}
#modalImage {
    max-width: 50vw; /* 圖片最大寬度為視窗寬度的 70% */
    height: auto; /* 高度自動調整 */
    display: block; /* 將圖片設為區塊元素以便可以應用 margin 屬性 */
    margin: auto; /* 自動邊距實現水平置中 */
}


/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #fff;
  transition: all 0.3s ease-in-out;
  border-radius: 15px;
  text-align: center;
  border-bottom: 3px solid #fff;
}

.services .icon-box:hover {
  box-shadow: 0 2px 29px 0 rgba(37, 37, 37, 0.1);
}

.services .icon i {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 15px;
}

.services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .title a {
  color: #111;
}

.services .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}

.services .icon-box-pink .icon i {
  color: #ff689b;
}

.services .icon-box-cyan .icon i {
  color: #3fcdc7;
}

.services .icon-box-green .icon i {
  color: #41cf2e;
}

.services .icon-box-blue .icon i {
  color: #573782;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid #fff;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #a8d3cc;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: #eff7f6;
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #1bac91;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #1bac91;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  padding: 30px;
  width: 100%;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.contact .info i {
  font-size: 20px;
  color: #1bac91;
  float: left;
  width: 44px;
  height: 44px;
  background: #e1f0ee;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #21413c;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 20px;
  color: #43857a;
}

.contact .info .email p {
  padding-top: 5px;
}

.contact .info .social-links {
  padding-left: 60px;
}

.contact .info .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin-right: 10px;
}

.contact .info .social-links a:hover {
  background: #1bac91;
  color: #fff;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #1bac91;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  padding: 30px;
  background: #fff;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: #1bac91;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #22d8b6;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: black;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #0c1817;
  border-bottom: 1px solid #18302c;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #1c3733;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #1bac91;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #4ae3c6;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #34dfbf;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px 0 0 4px;
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -4px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #1bac91;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #14806c;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}