/* ====================================================================
   HK Index - Service Page
   Goal: Match Digitaal (techdemo) design/interaction for:
   - .page-title
   - .services-section-seven / .service-block-seven
   - .sec-title
   - .theme-btn.btn-style-four

   Notes:
   - This file intentionally mirrors relevant rules from:
     /10/techdemo/html/css/style.css
   - Bootstrap is NOT loaded on hkindex pages; minimal grid/util classes are
     provided below to keep layout consistent without impacting header/footer.
   ==================================================================== */

/* ====================================================================
   Hero Banner (aligned with news.html top banner behavior)
   - Slow zoom in/out background animation
   - Color tone via opacity + overlay gradient
   ==================================================================== */
.hk-service-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #161619;
}

.hk-news-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: no-repeat center center;
  background-size: cover;
  opacity: 0.3;
  filter: grayscale(100%);
  animation: heroZoom 10s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.hk-news-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10,10,15,0.35) 0%, rgba(10,10,15,0.9) 100%);
}

.hk-service-hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 15px 60px;
}

.hk-service-hero__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 2px;
}

.hk-service-hero__breadcrumb {
  margin-top: 0;
}

@media (max-width: 768px) {
  .hk-service-hero { min-height: 240px; }
  .hk-service-hero__content { padding: 96px 15px 40px; }
  .hk-service-hero__title { letter-spacing: 1px; }
}

/* -------------------- Minimal theme tokens (mapped to hkindex yellow) -------------------- */
:root {
  --theme-color1: var(--hk-primary);
  --theme-color1-dark: var(--hk-primary-dark);
  --theme-color2: #121310;
  --theme-color3: #0A0A0A;
  --theme-color4: #202020;
  --theme-color5: #272824;
  --theme-color6: #666666;
  --theme-color7: #101010;
  --theme-color8: #808080;
  --theme-color9: #303030;
  --theme-color-white: #ffffff;
  --theme-color-lighter2: #cccccc;
  --theme-color-gray: #222222;

  /* section title tokens */
  --sec-title-subtitle-color: var(--theme-color-white);
  --sec-title-subtitle-font-size: 14px;
  --sec-title-subtitle-font-weight: 700;
  --sec-title-subtitle-line-height: 24px;
  --sec-title-color: var(--theme-color-white);
  --sec-title-font-size: 50px;
  --sec-title-font-weight: 400;
  --sec-title-title-line-height: 1.2em;
}

/* -------------------- Minimal bootstrap-ish layout helpers (page-local) -------------------- */
.pb-90 { padding-bottom: 90px; }
.text-center { text-align: center; }

.container,
.auto-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  max-width: 1344px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

[class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
}

.col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }

@media (max-width: 991.98px) {
  .col-lg-7, .col-lg-5 { flex: 0 0 100%; max-width: 100%; }
}

/* -------------------- Icons fallback (hkindex doesn't ship flaticon) -------------------- */
.icon { display: inline-block; line-height: 1; }
.flaticon-right-down::before {
  content: "\2198"; /* ↘ */
  font-family: inherit;
}

/* ====================================================================
   Section Title (from techdemo style.css)
   ==================================================================== */
.sec-title {
  position: relative;
  margin-bottom: 60px;
}

.sec-title .sub-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--sec-title-subtitle-font-size);
  line-height: var(--sec-title-subtitle-line-height);
  font-weight: var(--sec-title-subtitle-font-weight);
  color: var(--sec-title-subtitle-color);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-title .sub-title .icon-img {
  min-width: 14px;
}

.sec-title.text-center .sub-title {
  justify-content: center;
}

.sec-title h2 {
  position: relative;
  font-size: var(--sec-title-font-size);
  color: var(--sec-title-color);
  font-weight: var(--sec-title-font-weight);
  line-height: var(--sec-title-title-line-height);
  margin-bottom: 0;
  font-size:30px;
  line-height: 1.2;
}

.sec-title h2 span {
  font-weight: 700;
  color: var(--theme-color1);
}

@media (max-width: 767.98px) {
  .sec-title h2 {
    font-size: 40px;
    line-height: 50px;
  }
}

@media (max-width: 575.98px) {
  .sec-title h2 {
    font-size: 36px;
    line-height: 46px;
  }
  .sec-title h2 br {
    display: none;
  }
}

.sec-title .text {
  color: var(--theme-color-lighter2);
  font-size: 16px;
  font-weight: 400;
  line-height: 29px;
  margin-top: 30px;
}

@media (max-width: 575.98px) {
  .sec-title .text {
    font-size: 14px;
  }
  .sec-title .text br {
    display: none;
  }
}

/* ====================================================================
   Theme buttons (subset from techdemo style.css)
   ==================================================================== */
.theme-btn {
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  transition: all 300ms ease;
}

.theme-btn .btn-title {
  position: relative;
  display: flex;
  align-items: center;
}

/* Btn Style Four (from techdemo style.css) */
.btn-style-four {
  position: relative;
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  border-radius: 30px;
  padding: 10px 29px;
  color: var(--theme-color-white);
  background-color: transparent;
  border: 1px solid rgba(248, 248, 248, 0.2);
  text-transform: capitalize;
  overflow: hidden;
  z-index: 0;
  transition: all 300ms ease;
}

.btn-style-four .dot-box {
  background-color: var(--theme-color-gray);
  color: var(--theme-color-white);
  border-radius: 30px;
  display: inline-block;
  height: 25px;
  width: 50px;
  position: relative;
  transition: all 300ms ease;
}

.btn-style-four .dot-box .dot-item {
  background-color: var(--theme-color-white);
  border-radius: 50%;
  position: absolute;
  left: 10px;
  top: calc(50% - 2.5px);
  height: 5px;
  width: 5px;
  transition: all 300ms ease;
}

.btn-style-four .dot-box .dot-item:before,
.btn-style-four .dot-box .dot-item:after {
  content: "";
  background-color: var(--theme-color-white);
  border-radius: 50%;
  position: absolute;
  left: 0;
  height: 5px;
  width: 5px;
  transition: all 300ms ease;
}

.btn-style-four .dot-box .dot-item:before { top: 7px; }
.btn-style-four .dot-box .dot-item:after { bottom: 7px; }

.btn-style-four:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  content: "";
  border-radius: 0;
  transform: scale(0, 1);
  transform-origin: top right;
  background-color: var(--theme-color9);
  transition: transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
  z-index: -1;
}

.btn-style-four:hover {
  color: var(--theme-color-white);
  border-color: rgba(248, 248, 248, 0.2);
}

.btn-style-four:hover:before {
  transform: scale(1, 1);
  transform-origin: bottom left;
}

.btn-style-four:hover .dot-box {
  background-color: var(--theme-color1);
  color: var(--theme-color-white);
}

.btn-style-four:hover .dot-box .dot-item {
  left: calc(50% - 7px);
  top: calc(50% - 2.5px);
  background-color: var(--theme-color-gray);
}

.btn-style-four:hover .dot-box .dot-item:before {
  left: 7px;
  top: 7px;
  background-color: var(--theme-color-gray);
}

.btn-style-four:hover .dot-box .dot-item:after {
  left: 7px;
  bottom: 7px;
  background-color: var(--theme-color-gray);
}

/* ====================================================================
   Page Title (from techdemo style.css)
   ==================================================================== */
.page-title {
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 275px 0 175px;
}

.page-title:before {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: #131313;
  opacity: 0.7;
  content: "";
}

.page-title .title {
  font-size: 64px;
  color: #ffffff;
  margin-bottom: 17px;
}

@media (max-width: 575.98px) {
  .page-title .title {
    font-size: 50px;
    line-height: 60px;
  }
}

.page-breadcrumb {
  position: relative;
  margin-top: 5px;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.page-breadcrumb li {
  position: relative;
  display: inline-block;
  margin-right: 12px;
  padding-right: 13px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  text-transform: capitalize;
}

.page-breadcrumb li:after {
  position: absolute;
  content: "\f105";
  right: -6px;
  top: 1px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
}

.page-breadcrumb li:last-child { padding-right: 0; margin-right: 0; }
.page-breadcrumb li:last-child::after { display: none; }
.page-breadcrumb li a { color: #ffffff; font-weight: 500; transition: all 0.3s ease; }

/* ====================================================================
   Services Section Seven (from techdemo style.css)
   ==================================================================== */
.services-section-seven {
  position: relative;
  padding: 120px 0 50px;
}

.services-section-seven .inner-section {

  border-radius: 30px;
  position: relative;
  padding: 125px 0 204px;
  margin: 0 100px;
  z-index: 1;
}

@media (max-width: 1199.98px) {
  .services-section-seven .inner-section {
    margin: 0 15px;
    padding-bottom: 150px;
  }
}

@media (max-width: 575.98px) {
  .services-section-seven .inner-section {
    padding-bottom: 100px;
  }
}

.services-section-seven .inner-section .images-shape1 {
  position: absolute;
  top: 141px;
  left: 19px;
}

@media (max-width: 991.98px) {
  .services-section-seven .inner-section .images-shape1 {
    display: none;
  }
}

.services-section-seven .inner-section .sec-title {
  margin-bottom: 91px;
}

.services-section-seven .inner-section .sec-title .text {
  margin-bottom: 20px;
}

@media (max-width: 991.98px) {
  .services-section-seven .inner-section .sec-title .text {
    margin-top: 20px;
  }
}

.services-section-seven .outer-box {
  position: relative;
}

.service-block-seven {
  margin-bottom: 0;
}

.service-block-seven .inner-box {
  padding-bottom: 21px;
}

.service-block-seven .inner-box.active .title-box .title {
  cursor: pointer;
  color: var(--theme-color1);
}

.service-block-seven .inner-box.active .title-box .number {
  color: var(--theme-color1);
}

.service-block-seven .inner-box.active .content-box {
  opacity: 1;
  height: auto;
  visibility: visible;
  transform: translate(0) scaleY(1);
}

.service-block-seven .inner-box:hover .title-box { cursor: pointer; }
.service-block-seven .inner-box:hover .title-box .title { color: var(--theme-color-white); }

.service-block-seven .inner-box .title-box {
  border-bottom: 1px solid var(--theme-color4);
  display: flex;
  align-items: center;
  padding: 14px 0 21px;
  position: relative;
  transition: all 300ms ease;
}

@media (max-width: 575.98px) {
  .service-block-seven .inner-box .title-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

.service-block-seven .inner-box .title-box .number {
  color: var(--theme-color1);
  font-size: 22px;
  font-weight: 800;
  margin-right: 70px;
  transition: all 300ms ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);
  flex-shrink: 0;
  text-align: center;
  line-height: 0;
}

.service-block-seven .inner-box .title-box .title {
  color: var(--theme-color6);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  transition: all 300ms ease;
}

@media (max-width: 575.98px) {
  .service-block-seven .inner-box .title-box .title {
    font-size: 30px;
    margin-top: 10px;
  }
}

.service-block-seven .inner-box .content-box {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  max-width: 704.14px;
  padding: 24px 30px;
  position: absolute;
  top: -42px;
  right: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  height: 0;
  transform: translateY(10px) scaleY(0);
  transition: all 500ms ease;
}

@media (max-width: 1439.98px) {
  .service-block-seven .inner-box .content-box { max-width: 600px; }
}

@media (max-width: 1199.98px) {
  .service-block-seven .inner-box .content-box { max-width: 500px; }
}

@media (max-width: 991.98px) {
  .service-block-seven .inner-box .content-box {
    max-width: none;
    position: relative;
    top: 0;
    padding: 30px 0 0;
    transform: translateY(10px) scaleY(1);
    transform-origin: top;
  }
}

@media (max-width: 575.98px) {
  .service-block-seven .inner-box .content-box { padding: 0; }
}

.service-block-seven .inner-box .content-box .image-column .inner-column { position: relative; }
.service-block-seven .inner-box .content-box .image-column .inner-column .image { margin-bottom: 0; }

.service-block-seven .inner-box .content-box .image-column .inner-column .image img {
  border-radius: 16px;
  width: 100%;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.service-block-seven .inner-box .content-box .image-column .inner-column .icon-box {
  background-color: transparent;
  border-radius: 20px 0 0 0;
  color: var(--theme-color-gray);
  font-size: 40px;
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 14px 0 0 22.85px;
}

.service-block-seven .inner-box .content-box .image-column .inner-column .icon-box:before,
.service-block-seven .inner-box .content-box .image-column .inner-column .icon-box:after {
  display: none;
}

.service-block-seven .inner-box .content-box .image-column .inner-column .icon-box .inner {
  background-color: var(--theme-color1);
  border-radius: 20px;
  color: var(--theme-color-gray);
  height: 86px;
  line-height: 96px;
  text-align: center;
  width: 123px;
  position: relative;
  z-index: 2;
}

.service-block-seven .inner-box .content-box .content-column .inner-column { padding: 30px 0 0 0; }

.service-block-seven .inner-box .content-box .content-column .inner-column .info-list .list-item {
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 1199.98px) {
  .service-block-seven .inner-box .content-box .content-column .inner-column .info-list .list-item {
    margin-bottom: 0;
  }
}

.service-block-seven .inner-box .content-box .content-column .inner-column .info-list .list-item span:first-child {
  display: inline-block;
  min-width: 100px;
  color: #f59e0b;
  font-weight: 700;
  font-size: 15px;
}

.service-block-seven .inner-box .content-box .content-column .inner-column .info-list .list-item span:last-child {
  display: inline-block;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  font-size: 14px;
}

@media (max-width: 1199.98px) {
  .service-block-seven .inner-box .content-box .content-column .inner-column .info-list .list-item span {
    margin-bottom: 5px;
  }
}

@media (max-width: 575.98px) {
  .service-block-seven .inner-box .content-box .content-column .inner-column .info-list .list-item span {
    display: block;
  }
}
