/* ===================================
    Crafto - Branding agency
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
/* variable */
/* @font-face {
    font-family: 'Alt Font';
    src: url('./fonts/Work_Sans/WorkSans-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Primary Font';
    src: url('./fonts/Lora/Lora-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Work Sans';
    src: url('./fonts/Work_Sans/WorkSans-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Lora';
    src: url('./fonts/Lora/Lora-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} */

:root {     
    --base-color: #e99022; 
    --medium-gray: #7b7a7a;
    --dark-gray: #1d1d1d;  
    --charcoal-blue: #232323;
    /* --alt-font: 'Lora', serif;
    --primary-font: 'Work Sans', sans-serif; */
}
body {
    line-height: 30px;
}
a:hover {
    color: var(--dark-gray);
}
h1, .h1 {
    font-weight: lighter ; /* Ensure weight is applied */
    letter-spacing: -0.5px ; /* Ensure spacing is applied */
    font-size: 50px ; /* Ensure font size is applied */
    font-family: '--primary-font'; /* Ensure font family is applied */
    word-wrap: break-word; /* Allow long words to break and wrap onto the next line */
    /* font-style: italic; */
}
h2, .h2 {
    line-height: 3.125rem;
}
h3, .h3 { 
    line-height: 2.813rem;
}
h4 {
    line-height: 2.6rem;
}
h2, h3, h4{
    /* font-family: '--primary-font'; */
    font-weight: 300;
}
p {
    font-family: "--primary-font", sans-serif;
    font-weight: lighter;
}
span{
    font-family: "--primary-font", sans-serif;
}
.alt-font{
    font-family: '--alt-font', sans-serif;
}
/* header */
.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 600;
}
header .header-button .btn.btn-switch-text.btn-medium > span {
    padding: 12px 22px;
}
header .navbar-brand img {
    width: 58px; /* 根據您的圖片調整 */
    height: 30px; /* 根據您的圖片調整 */
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    font-size: 17px;
    font-weight: 500;
    color: var(--dark-gray) !important;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover {
    background-color: #f6f4f3;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
    font-size: 30px;
    width: 35px;
}
header .navbar-brand {
    display: flex;
}
header .navbar-nav {
    display: flex;
}
header .header-button {
    display: none;
}
header {
    position: relative;
    background-color: white;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
header .PCMS_Logo {
    width: 75px;
    height: 75px;
    position: absolute;
    top: 37px; 
    left: 50%;
    transform: translate(-50%, -0%); /*保持居中?*/
    padding-bottom: 0; /* 移除多餘的 padding */
}
/*margin*/
.ms-100px {
    margin-left: 100px;
}
.ms-80px { 
    margin-left: 80px;
}
.mb-minus-50px {
    margin-bottom: -50px;
}
/* btn */
.btn {
    text-transform: none;
    letter-spacing: 0;
}
.btn.btn-extra-large {
    font-size: 16px;
    padding: 16px 32px;
    background-color: #1E2188; /* Updated color */
    /* background-image: linear-gradient(to right, #d18215, #3797a1, #d18215); */ /* Original gradient */
}
.btn.btn-large {
    font-size: 15px;
    padding: 15px 30px;
    background-color: #1E2188; /* Updated color */
    /* background-image: linear-gradient(to right, #d18215, #3797a1, #d18215); */ /* Original gradient */
}
.btn.btn-switch-text.btn-large > span {
    padding: 15px 30px;
}
.btn-gradient-fuel-yellow-blue {
    /* background-image: linear-gradient(to right, #d18215, #3797a1, #d18215); */
    background-color: #1E2188; /* Updated color */
    background-size: 200% auto;
    color: var(--white);
}
/* left right top bottom */
.left-minus-45 {
    left: -45%;
}
.bottom-minus-200px {
    bottom: -200px;
}
.one-half-screen {
  height: 550px !important;
}
.swiper-pagination-progress .swiper-progress {
    background-color: var(--dark-gray); 
}
.magic-drag-cursor #ball-cursor:before {
    font-weight: 500;
}
/* text gradient color */
.text-gradient-base-color {
    background-image: linear-gradient(to right, #e97522 0%, #1ea3b1 100%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-orange{
    color: #e97522;
}
.text-blue{
    color: #1ea3b1;
}
/* bg gradient color */
.bg-gradient-top-very-light-gray { 
    background-image:linear-gradient(to right, #fbf3e9, #f9f4eb, #f4f4f0, #f2f4f2, #eff4f4);
}
.bg-linen {
    background: #f6f4f3;
}
.bg-gradient-orange-transparent {
    background: linear-gradient(to right, rgba(233, 117, 34, 1.0) 10%, rgba(255, 255, 255, 0.0) 95%);
}
.bg-gradient-blue-transparent {
    background: linear-gradient(to right, rgba(30, 163, 177, 1.0) 10%, rgba(255, 255, 255, 0.0) 95%);
}
/* blog only text */
.blog-only-text .card-body:after {
    display: none;
}
/* social icon style 06 */
.social-icon-style-06 li {
    position: relative;
}
.social-icon-style-06 li:before {
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: var(--medium-gray);
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    opacity: .5;
}
.social-icon-style-06 li:last-child:before {
    display: none;
}
.google-maps-link a:hover {
    color: var(--white);
}
/* footer */
footer ul li {
    margin-bottom: 0;
    line-height: 28px;
}
footer a:hover {
    color: var(--white);
}
footer .footer-logo img {
    max-height: 34px;
}
/* z-index */
.z-index-99 {
    z-index: 99; 
}
.image-container {
  position: relative; /* 确保伪元素相对于容器定位 */
  display: inline-block; /* 或者 block，根据你的布局需求 */
}

.image-container img {
  display: block; /* 移除 img 标签的默认 inline 行为，避免一些布局问题 */
  width: 100%; /* 或者指定宽度 */
  height: auto; /* 保持图片比例 */
}

.image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%); /* 渐变效果 */
  pointer-events: none; /* 允许点击穿透渐变层 */
}

@media (min-width: 992px) {
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
        padding: 20px 30px;
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        width: 285px;
    }
}
@media (max-width: 1199px) {
    .left-minus-45 {
        left: -78%;
    }
    .lg-ms-70px {
        margin-left: 70px;
    }
    .lg-bg-transparent {
        background-color: transparent;
    }
    .one-half-screen {
        height: auto !important;
    }
}
@media (max-width: 991px) {
    [data-mobile-nav-style=modern] .navbar-modern-inner .navbar-nav .nav-item .dropdown-menu a i {
        font-size: 19px;
        vertical-align: middle;
        color: var(--white);
    }
    .md-top-auto {
        top: auto;
    }
}