:root {
  --md-bg: #f3f7fc;
  --md-surface: #ffffff;
  --md-surface-alt: #eef4fb;
  --md-text: #10223d;
  --md-muted: #52647d;
  --md-brand: #0e5cad;
  --md-brand-strong: #063f7a;
  --md-accent: #00a7a0;
  --md-accent-warm: #f28f3b;
  --md-border: #dbe6f3;
  --md-shadow: 0 16px 36px rgba(14, 44, 84, 0.12);
  --md-radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--md-text);
  background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
  line-height: 1.75;
  letter-spacing: 0.01em;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(0);
}

body::before {
  width: 40vw;
  height: 40vw;
  top: -18vw;
  right: -8vw;
  background: radial-gradient(circle at center, rgba(14, 92, 173, 0.22), rgba(14, 92, 173, 0));
}

body::after {
  width: 34vw;
  height: 34vw;
  left: -12vw;
  bottom: -14vw;
  background: radial-gradient(circle at center, rgba(0, 167, 160, 0.18), rgba(0, 167, 160, 0));
}

a,
a:focus,
a:hover {
  color: var(--md-brand);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DIN Alternate", "Trebuchet MS", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--md-text);
  letter-spacing: -0.01em;
}

p {
  color: var(--md-muted);
  line-height: 1.85;
}

.main-header.header-sticky,
.header-sticky.sticky-bar {
  background: rgba(6, 38, 73, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.main-header.modern-scrolled {
  background: rgba(6, 38, 73, 0.96);
  box-shadow: 0 12px 30px rgba(6, 22, 46, 0.32);
}

@media only screen and (min-width: 1200px) {
  .main-header .container {
    max-width: 1320px;
  }
}

.menu-wrapper {
  gap: 16px;
}

.left-content {
  flex: 1 1 auto;
  min-width: 0;
}

.main-menu {
  flex: 1 1 auto;
  min-width: 0;
}

.main-menu #navigation {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(14px, 1.5vw, 28px);
}

.main-menu #navigation > li {
  margin: 0 !important;
  float: none;
  flex: 0 0 auto;
}

.main-menu ul li a,
.header-transparent .main-menu ul li a,
#navigation > li > a {
  color: #f3f8ff;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  position: relative;
  transition: color 0.22s ease;
}

.main-menu ul li a::after,
#navigation > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  margin: auto;
  width: 0;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, #67d4ff 0%, #6ef5da 100%);
  transition: width 0.24s ease;
}

.main-menu ul li a:hover,
.main-menu ul li a:focus,
#navigation > li > a:hover,
#navigation > li > a:focus {
  color: #ffffff;
}

.main-menu ul li a:hover::after,
.main-menu ul li a:focus::after,
#navigation > li > a:hover::after,
#navigation > li > a:focus::after {
  width: 100%;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(21, 38, 66, 0.28));
}

.header-tools {
  gap: 12px;
  flex: 0 0 auto;
}

.lang-switcher-wrap {
  position: relative;
  min-width: 146px;
  z-index: 32;
}

.lang-switcher.lang-switcher-native {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lang-picker {
  position: relative;
  min-width: 146px;
}

.lang-picker-trigger {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(103, 212, 255, 0.5);
  background: linear-gradient(140deg, rgba(4, 28, 58, 0.86) 0%, rgba(8, 56, 102, 0.8) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 22px rgba(4, 33, 64, 0.3);
  color: #f4f9ff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lang-picker-trigger:hover,
.lang-picker.is-open .lang-picker-trigger {
  border-color: rgba(130, 223, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(196, 241, 255, 0.2), 0 12px 28px rgba(4, 33, 64, 0.36);
}

.lang-picker-trigger:focus-visible {
  outline: none;
  border-color: rgba(140, 231, 255, 0.98);
  box-shadow: 0 0 0 3px rgba(103, 212, 255, 0.24);
}

.lang-picker-label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-picker-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(244, 249, 255, 0.95);
  border-bottom: 2px solid rgba(244, 249, 255, 0.95);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}

.lang-picker.is-open .lang-picker-icon {
  transform: translateY(2px) rotate(-135deg);
}

.lang-picker-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(127, 188, 234, 0.4);
  background: linear-gradient(160deg, rgba(6, 32, 63, 0.96) 0%, rgba(4, 23, 44, 0.96) 100%);
  box-shadow: 0 16px 40px rgba(2, 19, 40, 0.42);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 40;
}

.lang-picker.is-open .lang-picker-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-picker-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: #dcecff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.lang-picker-option:hover,
.lang-picker-option:focus-visible {
  background: rgba(103, 212, 255, 0.2);
  color: #ffffff;
  outline: none;
}

.lang-picker-option.is-active {
  background: linear-gradient(135deg, rgba(14, 92, 173, 0.7) 0%, rgba(0, 167, 160, 0.62) 100%);
  color: #ffffff;
}

.lang-switcher-wrap .nice-select {
  display: none !important;
}


.buttons .header-btn2,
.buttons .border-btn2 {
  white-space: nowrap;
  padding: 12px 18px;
  font-size: 14px;
}

body[data-current-lang="en"] .hero-caption h1,
body[data-current-lang="ja"] .hero-caption h1 {
  font-size: clamp(1.9rem, 3.1vw, 3rem);
  line-height: 1.18;
  letter-spacing: 0;
}

body[data-current-lang="en"] #navigation > li > a,
body[data-current-lang="ja"] #navigation > li > a {
  font-size: 13px;
}

body[data-current-lang="en"] .main-menu #navigation,
body[data-current-lang="ja"] .main-menu #navigation {
  gap: clamp(10px, 1vw, 20px);
}

body[data-current-lang="en"] .hero-caption p,
body[data-current-lang="ja"] .hero-caption p {
  max-width: 620px;
}

body[data-current-lang="en"] .buttons .header-btn2,
body[data-current-lang="ja"] .buttons .header-btn2 {
  font-size: 13px;
  padding: 11px 15px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.slicknav_menu {
  background: #07294f;
  border-radius: 12px;
  margin-top: 12px;
}

.slicknav_btn {
  background: linear-gradient(135deg, var(--md-brand) 0%, var(--md-accent) 100%);
  border-radius: 8px;
}

.slicknav_nav a {
  color: #dcecff;
  font-weight: 500;
}

.slider-area {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #041f40 0%, #0b4f97 62%, #0e6f9c 100%);
}

.slider-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.18;
  pointer-events: none;
}

.slider-height,
.slider-height2 {
  min-height: 84vh;
}

.hero-caption h1,
.hero-caption h2,
.hero-caption2 h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.12;
}

.hero-caption p,
.hero-caption2 p {
  color: rgba(233, 244, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 560px;
}

.hero-shape img,
.hero img {
  filter: drop-shadow(0 26px 40px rgba(5, 21, 46, 0.45));
}

.section-padding,
.section-padding2,
.count-down-area,
.w-padding,
.footer-padding {
  padding-top: clamp(74px, 7vw, 120px);
}

.section-tittle h2,
.small-tittle h2,
.services-caption h2 {
  color: var(--md-text);
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 2.9vw, 2.8rem);
}

.section-tittle h2::before,
.small-tittle h2::before {
  content: "";
  display: block;
  width: 54px;
  height: 5px;
  border-radius: 99px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--md-brand) 0%, var(--md-accent) 100%);
}

.gray-bg,
.testimonial-bg,
.brand-bg {
  background: linear-gradient(180deg, #f7faff 0%, #edf4fb 100%);
}

.about-visual {
  position: relative;
  padding-top: 6px;
}

@media only screen and (min-width: 992px) {
  .about-visual {
    margin-top: clamp(56px, 5vw, 90px);
  }
}

.about-visual .about-img {
  position: relative;
  border-radius: calc(var(--md-radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(164, 190, 220, 0.58);
  background: #0b294d;
  box-shadow: 0 20px 40px rgba(8, 34, 64, 0.18);
}

.about-visual .about-img img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transform: scale(1.01);
}

.about-visual .about-img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 24, 47, 0) 42%, rgba(4, 24, 47, 0.44) 100%);
}

.about-visual .ratting-point {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #d5e2f1;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(9, 39, 71, 0.16);
  z-index: 2;
}

.about-visual .features-ratting {
  width: 50px;
  height: 50px;
  margin-bottom: 0;
  border-radius: 12px;
  border: 1px solid #d4e2f2;
  background: linear-gradient(135deg, rgba(103, 212, 255, 0.2) 0%, rgba(14, 92, 173, 0.14) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50px;
}

.about-visual .features-ratting img {
  width: 24px;
  height: 24px;
  filter: hue-rotate(165deg) saturate(1.15);
}

.about-visual .features-caption {
  padding-left: 12px;
}

.about-visual .features-caption h3 {
  margin-bottom: 3px;
  font-size: 1.72rem;
  line-height: 1.2;
}

.about-visual .features-caption p {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--md-muted);
}

.single-cat,
.single-case,
.single-offers,
.single-services,
.single-team,
.blog_item,
.single-contact-info,
.single-counter,
.contact-info {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 252, 255, 0.92) 100%);
  border: 1px solid var(--md-border);
  border-radius: var(--md-radius);
  box-shadow: 0 12px 24px rgba(15, 35, 67, 0.06);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.single-cat:hover,
.single-case:hover,
.single-offers:hover,
.single-services:hover,
.single-team:hover,
.blog_item:hover,
.single-contact-info:hover,
.single-counter:hover,
.contact-info:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 92, 173, 0.45);
  box-shadow: var(--md-shadow);
}

.categories-area .single-cat::before,
.services-area2 .single-services::before {
  background: linear-gradient(135deg, var(--md-brand) 0%, var(--md-accent) 100%);
}

.btn,
.hero-btn,
.header-btn2,
.border-btn2,
.border-btn,
.white-btn {
  font-family: "DIN Alternate", "Trebuchet MS", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--md-brand) 0%, var(--md-accent) 100%);
  box-shadow: 0 10px 24px rgba(8, 70, 133, 0.28);
}

.border-btn2,
.border-btn {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

.btn::before,
.hero-btn::before,
.header-btn2::before,
.border-btn2::before,
.border-btn::before,
.white-btn::before {
  background: linear-gradient(135deg, var(--md-brand-strong) 0%, #0c7d9f 100%);
}

.btn:hover,
.hero-btn:hover,
.header-btn2:hover,
.border-btn2:hover,
.border-btn:hover,
.white-btn:hover {
  transform: translateY(-1px);
}

.news-summary {
  max-width: 760px;
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 1rem;
}

.news-container {
  position: relative;
  overflow: hidden;
  padding: 32px 84px;
  border-radius: var(--md-radius);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  border: 1px solid var(--md-border);
  box-shadow: 0 18px 34px rgba(13, 52, 97, 0.09);
}

.news-slider {
  display: flex;
  gap: 24px;
  margin: 0;
  align-items: stretch;
}

.news-item {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  border-radius: 14px;
  border: 1px solid #dce8f5;
  background: #ffffff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 24px rgba(14, 66, 128, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-item[hidden] {
  display: none !important;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(14, 66, 128, 0.14);
}

.news-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5edf7;
  background: #edf4fd;
  margin-bottom: 14px;
}

.news-item h4 {
  font-size: 1.16rem;
  line-height: 1.45;
  margin: 0 0 10px;
}

.news-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--md-muted);
}

.black-link {
  color: var(--md-brand-strong);
  font-weight: 600;
}

.black-link:hover,
.black-link:focus {
  color: var(--md-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cat-cap p {
  text-align: left;
}

.nav-btn,
.nav-btn-left,
.nav-btn-right {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  line-height: 46px;
  font-size: 24px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--md-brand) 0%, var(--md-accent) 100%) !important;
  box-shadow: 0 8px 20px rgba(14, 92, 173, 0.3);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.nav-btn-left {
  left: 24px;
}

.nav-btn-right {
  right: 24px;
}

.nav-btn:not(:disabled):hover,
.nav-btn:not(:disabled):focus {
  transform: translateY(-50%) scale(1.03);
}

.nav-btn:disabled {
  cursor: not-allowed;
  box-shadow: none;
}

.nav-btn:focus-visible {
  outline: 3px solid rgba(103, 212, 255, 0.45);
  outline-offset: 2px;
}

@media only screen and (max-width: 1199px) {
  .header-tools {
    gap: 8px;
  }

  .lang-switcher-wrap,
  .lang-picker {
    min-width: 132px;
  }

  .lang-picker-trigger {
    font-size: 13px;
    min-height: 42px;
    padding: 9px 12px;
  }

  .main-menu #navigation {
    gap: 14px;
  }

  .buttons .header-btn2 {
    font-size: 13px;
    padding: 10px 14px;
  }

  .news-container {
    padding: 28px 74px;
  }

  .news-item {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

.footer-wrapper,
.footer-bg,
.footer-bottom-area {
  background: linear-gradient(160deg, #03162f 0%, #07264a 54%, #0a3a5f 100%);
}

.footer-bottom-area {
  background: #021121;
  box-shadow: inset 0 1px 0 rgba(214, 232, 255, 0.12);
}

.footer-area::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 20% 20%, rgba(103, 212, 255, 0.16), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(110, 245, 218, 0.12), transparent 40%);
}

.footer-area,
.footer-area .footer-logo h2,
.footer-area .footer-tittle h4,
.footer-area .footer-pera p,
.footer-area .footer-tittle ul li a,
.footer-area .number2 a,
.footer-copy-right p,
.footer-copy-right a,
.footer-copy-right p a {
  color: #f1f7ff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.footer-copy-right p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-area a:hover,
.footer-area a:focus,
.footer-copy-right a:hover,
.footer-copy-right a:focus,
.footer-copy-right p a:hover,
.footer-copy-right p a:focus {
  color: #8ddcff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-border {
  border-top: 1px solid rgba(214, 232, 255, 0.3);
}

.form-contact .form-control,
.contact-info__icon,
.contact-info__content {
  border-radius: 12px;
}

.form-contact .form-control {
  border: 1px solid var(--md-border);
  background: #fbfdff;
  color: var(--md-text);
}

.form-contact .form-control:focus {
  border-color: rgba(14, 92, 173, 0.6);
  box-shadow: 0 0 0 3px rgba(14, 92, 173, 0.14);
}

#back-top,
#scrollUp {
  right: 20px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  line-height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--md-brand) 0%, var(--md-accent) 100%);
  box-shadow: 0 12px 24px rgba(8, 46, 87, 0.28);
}

#back-top i,
#scrollUp i {
  color: #fff;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media only screen and (max-width: 991px) {
  .header-tools {
    margin-left: auto;
  }

  .buttons .button-header {
    display: none;
  }

  .lang-switcher-wrap,
  .lang-picker {
    min-width: 128px;
  }

  .lang-picker-trigger {
    min-height: 40px;
    font-size: 13px;
    padding: 8px 11px;
  }

  .menu-wrapper {
    gap: 10px;
  }

  .menu-wrapper {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .slider-height,
  .slider-height2 {
    min-height: 72vh;
  }

  .hero-caption {
    padding-top: 96px;
  }

  .news-container {
    padding: 24px 70px;
  }

  .news-slider {
    gap: 20px;
  }

  .news-item {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

@media only screen and (max-width: 767px) {
  .about-visual .ratting-point {
    width: 100%;
    margin-top: 12px;
  }

  .about-visual .features-caption h3 {
    font-size: 1.5rem;
  }

  .news-container {
    padding: 18px 14px 78px;
  }

  .news-slider {
    gap: 0;
  }

  .news-item {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 16px;
  }

  .nav-btn,
  .nav-btn-left,
  .nav-btn-right {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .nav-btn-left {
    left: calc(50% - 56px);
  }

  .nav-btn-right {
    right: calc(50% - 56px);
  }

  .nav-btn:not(:disabled):hover,
  .nav-btn:not(:disabled):focus {
    transform: scale(1.03);
  }
}

@media only screen and (max-width: 575px) {
  .lang-switcher-wrap,
  .lang-picker {
    min-width: 118px;
  }

  .lang-picker-trigger {
    min-height: 38px;
    font-size: 12px;
    padding: 7px 10px;
  }

  .hero-caption h1,
  .hero-caption h2,
  .hero-caption2 h2 {
    font-size: 2rem;
  }

  .section-tittle h2,
  .small-tittle h2 {
    font-size: 1.8rem;
  }

  .btn,
  .hero-btn,
  .header-btn2,
  .border-btn2,
  .border-btn,
  .white-btn {
    padding: 12px 20px;
  }

  .logo img {
    width: 42px;
    height: 42px;
  }
}
