@font-face {
  font-family: 'Gabarito';
  src: url('./Gabarito/static/Gabarito-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 90%;
}

@font-face {
  font-family: 'Gabarito';
  src: url('./Gabarito/static/Gabarito-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gabarito';
  src: url('./Gabarito/static/Gabarito-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gabarito';
  src: url('./Gabarito/static/Gabarito-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gabarito';
  src: url('./Gabarito/static/Gabarito-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gabarito';
  src: url('./Gabarito/static/Gabarito-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 90%;
}

.bootstrap-select>.dropdown-toggle {
  font-size: max(1rem, 18px)!important;
}

.custom-pop-inquiry .div_info {
  padding: 20px!important;
}

:root {
  --header-height: 100px;
  --color-tips: #1e3f2a;
  --color-second: #014c94;
  --bg-color: #f2fdf6;
  --title-text-color: #1e3f2a;
  --text-color: #1e3f2a;
  --text-color-second: #9b9b9b;

  /* Section 上下间距 */
  --section-padding: 5rem;

  /* 字体 */
  --font-family: 'Gabarito', sans-serif;
  --title-font-family: 'Gabarito', sans-serif;

  /* 间距 & 标题字体 - 移动端默认值 */
  --root-container-spacing: 15rem;
  --font-size-h1: 4rem;
  --font-size-h2: 3rem;
  --font-size-h3: 2.25rem;
  --font-size-h4: 2rem;

  /* 正文字体大小 */
  --font-size-subtitle: 2rem;
  --font-size-sm: max(1.25rem, 12px);
  --font-size-md: max(1.5rem, 14px);
  --font-size-lg: max(1.75rem, 15px);

  /* 字体粗细 */
  --font-weight-base: 400;
  --font-weight-md: 500;
  --font-weight-lg: 600;
  --font-weight-xl: 700;
}

/* 页面加载时隐藏内容，避免 font-size 计算导致抖动 */
html.bokai-loading body {
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0s linear 0.6s,
    opacity 0.6s ease-out;
}

.container {
  margin: 0;
  padding-left: var(--root-container-spacing);
  padding-right: var(--root-container-spacing);
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
}

.bokai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  font-family: var(--font-family);
  color: #fff !important;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-xl);
  text-decoration: none;
  border-radius: 100px;
  transition: background 0.3s ease;
  white-space: nowrap;
  line-height: 140%;
  cursor: pointer;
}

.bokai-btn:hover {
  background: #3b945b;
}

.bokai-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: #ddf3e5;
  color: #fff !important;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-base);
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s ease;
  white-space: nowrap;
  line-height: 140%;
}

.bokai-btn-light:hover {
  background: #68be87;
}

.inqury-form .input-wrap .inqury_submit:hover {
  background: #3b945b;
}

.custom-pop-inquiry .container {
  padding: 0px !important;
}

h1,
h2,
h3,
h4 {
  /* color: var(--text-color); */
  font-family: var(--title-font-family);
  font-style: normal;
  line-height: 1.3;
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-xl);
  line-height: 108%;
}

h2 {
  font-size: max(var(--font-size-h2), 18px);
  font-weight: var(--font-weight-xl);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-lg);
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-lg);
}

/* 超大屏幕 (>= 1400px) */
@media screen and (max-width: 1440px) {
  :root {
    --root-container-spacing: 7.5rem;
    --header-height: 80px;
    --section-padding: 4rem;
  }
}

/* 超大屏幕 (>= 1400px) */
@media screen and (max-width: 1024px) {
  html {
    font-size: 14px;
  }
  :root {
    --root-container-spacing: 60px;

    /* 间距 & 标题字体 - 移动端默认值 */
    --font-size-h1: 3.5rem;
    --font-size-h2: 2.6rem;
    --font-size-h3: 2.2rem;
    --font-size-h4: 1.8rem;

    /* 正文字体大小 */
    /* --font-size-subtitle: 1.8rem; */
    /* --font-size-sm: max(1.125rem, 12px);
    --font-size-md: max(1.25rem, 14px);
    --font-size-lg: max(1.5rem, 15px); */
  }
}

/* 大屏幕 (>= 992px) */
@media screen and (max-width: 992px) {
  :root {
    --header-height: 70px;
  }
}

/* 中等屏幕 (>= 768px) */
@media screen and (max-width: 768px) {
  html {
    font-size: 12px;
  }

  :root {
    --font-size-h1: 2.8rem;
    --font-size-h2: 2.2rem;
    --font-size-h3: 1.8rem;
    --font-size-h4: 1.6rem;
    --root-container-spacing: 30px;
    --section-padding: 3rem;
  }
}

/* 小屏幕 (>= 576px) */
@media screen and (max-width: 576px) {
  :root {
    --root-container-spacing: 20px;
    --section-padding: 2rem;

    --font-size-h1: 24px;
    --font-size-h2: 18px;
    --font-size-h3: 16px;
    --font-size-h4: 14px;
  }
}

@media screen and (max-width: 320px) {
  :root {
    --root-container-spacing: 20px;
    --font-size-h1: 2rem;
    --font-size-h2: 1.6rem;
    --font-size-h3: 1.4rem;
    --font-size-h4: 1.2rem;
  }
}
