/* @font-face to import the font*/
@font-face {
  font-family: "Roboto";
  src: url("font/Roboto/roboto-black-webfont.eot");
  src:
    url("font/Roboto/roboto-black-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/Roboto/roboto-black-webfont.woff2") format("woff2"),
    url("font/Roboto/roboto-black-webfont.woff") format("woff"),
    url("font/Roboto/roboto-black-webfont.ttf") format("truetype"),
    url("font/Roboto/roboto-black-webfont.svg#robotoblack") format("svg");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("font/Roboto/roboto-blackitalic-webfont.eot");
  src:
    url("font/Roboto/roboto-blackitalic-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/Roboto/roboto-blackitalic-webfont.woff2") format("woff2"),
    url("font/Roboto/roboto-blackitalic-webfont.woff") format("woff"),
    url("font/Roboto/roboto-blackitalic-webfont.ttf") format("truetype"),
    url("font/Roboto/roboto-blackitalic-webfont.svg#robotoblack_italic")
      format("svg");
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("font/Roboto/roboto-bold-webfont.eot");
  src:
    url("font/Roboto/roboto-bold-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/Roboto/roboto-bold-webfont.woff2") format("woff2"),
    url("font/Roboto/roboto-bold-webfont.woff") format("woff"),
    url("font/Roboto/roboto-bold-webfont.ttf") format("truetype"),
    url("font/Roboto/roboto-bold-webfont.svg#robotobold") format("svg");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("font/Roboto/roboto-bolditalic-webfont.eot");
  src:
    url("font/Roboto/roboto-bolditalic-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/Roboto/roboto-bolditalic-webfont.woff2") format("woff2"),
    url("font/Roboto/roboto-bolditalic-webfont.woff") format("woff"),
    url("font/Roboto/roboto-bolditalic-webfont.ttf") format("truetype"),
    url("font/Roboto/roboto-bolditalic-webfont.svg#robotobold_italic")
      format("svg");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("font/Roboto/roboto-italic-webfont.eot");
  src:
    url("font/Roboto/roboto-italic-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/Roboto/roboto-italic-webfont.woff2") format("woff2"),
    url("font/Roboto/roboto-italic-webfont.woff") format("woff"),
    url("font/Roboto/roboto-italic-webfont.ttf") format("truetype"),
    url("font/Roboto/roboto-italic-webfont.svg#robotoitalic") format("svg");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("font/Roboto/roboto-light-webfont.eot");
  src:
    url("font/Roboto/roboto-light-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/Roboto/roboto-light-webfont.woff2") format("woff2"),
    url("font/Roboto/roboto-light-webfont.woff") format("woff"),
    url("font/Roboto/roboto-light-webfont.ttf") format("truetype"),
    url("font/Roboto/roboto-light-webfont.svg#robotolight") format("svg");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("font/Roboto/roboto-lightitalic-webfont.eot");
  src:
    url("font/Roboto/roboto-lightitalic-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/Roboto/roboto-lightitalic-webfont.woff2") format("woff2"),
    url("font/Roboto/roboto-lightitalic-webfont.woff") format("woff"),
    url("font/Roboto/roboto-lightitalic-webfont.ttf") format("truetype"),
    url("font/Roboto/roboto-lightitalic-webfont.svg#robotolight_italic")
      format("svg");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("font/Roboto/roboto-medium-webfont.eot");
  src:
    url("font/Roboto/roboto-medium-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/Roboto/roboto-medium-webfont.woff2") format("woff2"),
    url("font/Roboto/roboto-medium-webfont.woff") format("woff"),
    url("font/Roboto/roboto-medium-webfont.ttf") format("truetype"),
    url("font/Roboto/roboto-medium-webfont.svg#robotomedium") format("svg");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("font/Roboto/roboto-mediumitalic-webfont.eot");
  src:
    url("font/Roboto/roboto-mediumitalic-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/Roboto/roboto-mediumitalic-webfont.woff2") format("woff2"),
    url("font/Roboto/roboto-mediumitalic-webfont.woff") format("woff"),
    url("font/Roboto/roboto-mediumitalic-webfont.ttf") format("truetype"),
    url("font/Roboto/roboto-mediumitalic-webfont.svg#robotomedium_italic")
      format("svg");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("font/Roboto/roboto-regular-webfont.eot");
  src:
    url("font/Roboto/roboto-regular-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/Roboto/roboto-regular-webfont.woff2") format("woff2"),
    url("font/Roboto/roboto-regular-webfont.woff") format("woff"),
    url("font/Roboto/roboto-regular-webfont.ttf") format("truetype"),
    url("font/Roboto/roboto-regular-webfont.svg#robotoregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("font/Roboto/roboto-thin-webfont.eot");
  src:
    url("font/Roboto/roboto-thin-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/Roboto/roboto-thin-webfont.woff2") format("woff2"),
    url("font/Roboto/roboto-thin-webfont.woff") format("woff"),
    url("font/Roboto/roboto-thin-webfont.ttf") format("truetype"),
    url("font/Roboto/roboto-thin-webfont.svg#robotothin") format("svg");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("font/Roboto/roboto-thinitalic-webfont.eot");
  src:
    url("font/Roboto/roboto-thinitalic-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/Roboto/roboto-thinitalic-webfont.woff2") format("woff2"),
    url("font/Roboto/roboto-thinitalic-webfont.woff") format("woff"),
    url("font/Roboto/roboto-thinitalic-webfont.ttf") format("truetype"),
    url("font/Roboto/roboto-thinitalic-webfont.svg#robotothin_italic")
      format("svg");
  font-weight: 100;
  font-style: italic;
}
@font-face {
  font-family: "Bebas Neue";
  src: url("font/Bebas\ Neue/bebasneue-regular-webfont.eot");
  src:
    url("font/Bebas\ Neue/bebasneue-regular-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/Bebas\ Neue/bebasneue-regular-webfont.woff2") format("woff2"),
    url("font/Bebas\ Neue/bebasneue-regular-webfont.woff") format("woff"),
    url("font/Bebas\ Neue/bebasneue-regular-webfont.ttf") format("truetype"),
    url("font/Bebas\ Neue/bebasneue-regular-webfont.svg#bebas_neueregular")
      format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "ABeeZee";
  src: url("font/ABeeZee/abeezee-regular-webfont.eot");
  src:
    url("font/ABeeZee/abeezee-regular-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/ABeeZee/abeezee-regular-webfont.woff2") format("woff2"),
    url("font/ABeeZee/abeezee-regular-webfont.woff") format("woff"),
    url("font/ABeeZee/abeezee-regular-webfont.ttf") format("truetype"),
    url("font/ABeeZee/abeezee-regular-webfont.svg#abeezeeregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "ABeeZee";
  src: url("font/ABeeZee/abeezee-italic-webfont.eot");
  src:
    url("font/ABeeZee/abeezee-italic-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("font/ABeeZee/abeezee-italic-webfont.woff2") format("woff2"),
    url("font/ABeeZee/abeezee-italic-webfont.woff") format("woff"),
    url("font/ABeeZee/abeezee-italic-webfont.ttf") format("truetype"),
    url("font/ABeeZee/abeezee-italic-webfont.svg#abeezeeitalic") format("svg");
  font-weight: normal;
  font-style: italic;
}

html,
body {
  margin: 0;
  padding: 0px;
}

body {
  width: 100%;
  /* min-width: 900px;
  height:auto; */
  margin: 0 auto;
  background-color: white;
}

/* header start */
header {
  background-image: linear-gradient(
    135deg,
    #0f0f0f 0%,
    #1c1c1c 50%,
    #333333 100%
  ); /* */
  display: flex;
  flex-wrap: wrap; /* 容許喺細螢幕時自動換行，防止擠壓 */
  justify-content: space-between; /* 左邊擺左，右邊擺右 */
  align-items: center; /* 所有嘢垂直完美置中 */
  padding: 15px 50px; /* */
  position: relative;
}
.header_left {
  display: flex;
  align-items: center; /* Logo 同公司名垂直置中 */
}

/* header image */
header img {
  height: 75px; /* 微調高度，更精緻 */
  width: auto; /* */
  margin-right: 25px; /* */
}

/* header name */
.company-name h1 {
  font-family: Roboto, sans-serif; /* */
  font-weight: 500; /* */
  font-size: 1.6em;
  margin: 0; /* */
  padding: 0;
  color: white; /* */
}

.company-name p {
  font-family: Roboto, sans-serif; /* */
  font-weight: 200; /* */
  font-size: 1.1em;
  margin: 4px 0 0 0; /* 貼住 h1 */
  color: #cccccc; /* */
  letter-spacing: 1px; /* 增加少少字距感 */
}

h1 a {
  text-decoration: none;
  color: white;
}

/* nav bar */
/* 導航欄 (Nav) 寬度填滿，強行推去下一行 */
nav {
  width: 100%; /* */
  margin-top: 15px; /* 與上方資訊留少少空位 */
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* 加條好淡嘅分界線，層次感 Up */
  padding-top: 10px;
}
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  height: 2em;
}

nav ul li {
  flex-basis: 100px;
  flex-grow: 1;
  text-align: center;
  white-space: nowrap;
  font-size: 1.2em;
}

.navbar a,
.header_right_wrapper a,
.footer_contact a {
  font-family: "Bebas Neue", sans-serif;
  text-decoration: none;
  color: white;
  letter-spacing: 1px;
  position: relative;
}

.navbar a {
  font-size: 20px;
}
.header_right_wrapper a {
  font-size: 14px;
}
.footer_contact a,
.footer_contact {
  font-size: 16px;
}

.navbar a::after,
.header_right_wrapper a::after,
.footer_contact a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 3px;
  background: #f5c542; /* 靚黃色 */
  transition: 0.2s ease-in-out;
}
.navbar a:hover::after,
.header_right_wrapper a:hover::after,
.footer_contact a:hover:after {
  width: 100%;
}
/* header_right_wrapper */
.header_right_wrapper {
  display: flex;
  align-items: center; /* 社交媒體同電話整條線垂直置中 */
  gap: 15px; /* 兩者中間空開 */
}

.header_right_wrapper ul {
  list-style-type: none; /* */
  margin: 0;
  padding: 0; /* */
  display: flex; /* 入面啲 <li> 都用 flex 排橫 */
  align-items: center;
}

/* 社交媒體圖標 */
.social_media {
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.4); /* 中間嘅精細分隔線 */
}
.social_media li {
  margin: 0 12px;
}
.social_media li a {
  font-size: 1.3em; /* 放放大圖標，容易啲撳 */
  color: white; /* */
  transition: color 0.2s;
}
.social_media li a:hover {
  color: #f5c542; /* 搬上去變黃色 */
}
/* 聯絡資料文字 (電話、Email、地址) */
.contact li {
  font-family: "Bebas Neue", sans-serif; /* */
  margin: 0 12px;
  font-size: 0.95em;
  color: white; /* */
  white-space: nowrap; /* 確保電話同 Email 唔會亂斷行 */
}

/* 幫電話/Email 啲 FontAwesome 圖標加少少右邊間隔 */
.contact li i {
  margin-right: 6px;
  color: #f5c542; /* 圖標變黃色，點綴一吓好睇好多 */
}

/* main body  */
main {
  width: 100%;
  margin: auto;
}

.slide-container {
  width: 100%;
  height: 600px; /* 可以跟你需要調整高度 */
  margin: 0 auto;
  position: relative; /* 俾左右箭頭做定位基準 */
  overflow: hidden; /* 隱藏超出範圍嘅嘢，唔好用 scroll */
}

/* 每一頁 Slide 預設隱藏 */
.mySlides {
  display: none;
  width: 100%;
  height: 100%;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 確保相片填滿得嚟唔會變形 */
}

/* 淡入動畫效果 */
.fade {
  animation: fadeEffect 0.5s;
}

@keyframes fadeEffect {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* 左右箭頭按鈕樣式 */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* 垂直置中 */
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  border: none;
  background-color: rgba(0, 0, 0, 0.3); /* 半透明背景 */
  border-radius: 0 3px 3px 0;
  user-select: none;
  transition: 0.3s ease;
}

/* 右邊箭頭貼右 */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Hover 箭頭時加深背景 */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* --- Slider Dots 樣式 --- */

/* Dots 嘅外殼：絕對定位喺 slider 底部 */
.dot-container {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 5; /* 確保浮喺相片上面 */
}

/* 粒粒嘅預設樣式（未選中狀態） */
.dot {
  cursor: pointer;
  height: 13px;
  width: 13px;
  margin: 0 6px;
  background-color: rgba(25, 25, 25, 0.5); /* 半透明白，喺暗色背景都睇得到 */
  border-radius: 50%; /* 圓形 */
  display: inline-block;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5); /* 加少少陰影，遇到全白相片都睇得清 */
}

/* 當滑鼠移上去 (hover) 或者被選中 (active) 時嘅顏色 */
.dot:hover,
.dot.active {
  background-color: #e6e4e0;
  transform: scale(1.2); /* 微微放大，增加動態質感 */
}
/* Styling get_a_quote */
.get_a_quote {
  width: 100%;
  height: 60px;
  background: linear-gradient(
    0deg,
    rgba(0, 174, 255, 0.93) 0%,
    rgba(253, 211, 45, 1) 100%
  );
}
/* Styling footer elements */
footer {
  background-color: rgba(29, 27, 27, 0.959);
  width: 100%;
}
.footer_wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  font-family: "Bebas Neue", sans-serif;
  color: white;
  font-size: 1.5em;
  padding: 25px;
}

.footer_wrapper figure {
  margin: 0;
}
.footer_contact i {
  margin-right: 5px;
}
.footer_contact h2 {
  margin: 0px;
}
.footer_contact ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.footer_contact ul li {
  margin: 15px 0px;
}

address {
  font-size: 16px;
  text-decoration: none;
}

#about_us {
  padding: 40px 5px;
  background: #dbdbdbad;
}

.aboutus-wrapper {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 60px;
  align-items: center;
}

/* LEFT TEXT */
.aboutus-left {
  flex: 1;
}

.aboutus-left h2 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

.accent-line {
  width: 60px;
  height: 4px;
  background: #1f3a5f;
  margin-bottom: 25px;
  border-radius: 2px;
}

.aboutus-left .lead {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin-bottom: 25px;
}

.aboutus-left p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 14px;
}

/* RIGHT CARDS */
.aboutus-right {
  flex: 1;
  display: grid;
  gap: 20px;
}

.info-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card h3 {
  font-size: 28px;
  margin-bottom: 5px;
  color: #1f3a5f;
}

.info-card p {
  color: #666;
}

#our_service {
  padding: 20px 5px;
  background: #ffffff;
}

.service-wrapper {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

#our_service h2 {
  font-size: 42px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.accent-line {
  width: 70px;
  height: 4px;
  background: #1f3a5f;
  margin: 0 auto 50px;
  border-radius: 2px;
}

/* GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

/* CARD */
.service-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-6px);
}

/* IMAGE */
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* TEXT */
.service-card h3 {
  font-size: 20px;
  margin: 15px 15px 5px;
  color: #1f3a5f;
}

.service-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  padding: 0 15px 20px;
}

#get_a_quote {
  padding: 30px 5px;
  background: #fbff27ee;
}

.quote-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* LEFT SIDE */

.quote-info {
  flex: 1;
}

.quote-info h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #111;
}

.quote-info .lead {
  font-size: 20px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 40px;
}

.quote-feature {
  background: white;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote-feature h3 {
  margin-bottom: 8px;
  color: #1f3a5f;
}

/* RIGHT SIDE */

.quote-form-container {
  flex: 1;
}

#quote-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

#quote-form input,
#quote-form select,
#quote-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}

#quote-form textarea {
  resize: vertical;
}

.upload-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.quote-note {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

#quote-form button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 8px;
  background: #1f3a5f;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

#quote-form button:hover {
  transform: translateY(-2px);
}

/* MOBILE */

@media (max-width: 768px) {
  .quote-wrapper {
    flex-direction: column;
  }

  .quote-info h2 {
    font-size: 36px;
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
