/* ===================================
    Crafto - Branding agency
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100..900&display=swap');
/* Add Alibaba PuHuiTi font */
@font-face {
    font-family: 'Alibaba PuHuiTi';
    src: url('../fonts/AlibabaPuHuiTi/AlibabaPuHuiTi-3-65-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

/* variable */
:root {     
    --fl-main: #F42784;
    --fl-second: #FF80AE;
    --fl-third: #B0E0E6;
    --base-color: #F42784; 
    --medium-gray: #393939;
    /* --dark-gray: #012855;   */
    --dark-gray: #393939;  
    --charcoal-blue: #232323;
    --alt-font: 'Anton', sans-serif;
    --primary-font: 'Montserrat', sans-serif;
}
.alt-font {
    font-family: var(--alt-font) !important;
    letter-spacing: 2px;
    line-height: 1.1;
  }
  .primary-font {
    font-family: var(--primary-font) ;
  }
body {
    line-height: 30px;
}
a:hover {
    color: var(--dark-gray);
}
h1, .h1 {
    line-height: 4rem;
}
h3, .h3 { 
    line-height: 2.813rem;
}
h4 {
    line-height: 2.6rem;
}

.btn.btn-transparent-light-gray {
    background-color: transparent;
    border-color: var(--fl-main);
    color: var(--dark-gray);
  }
  .btn.btn-transparent-light-gray:hover, .btn.btn-transparent-light-gray:active {
    background-color: var(--dark-gray);
    border-color: var(--fl-main);
    color: var(--white);
  }
/* header */
.navbar .navbar-nav .nav-link {
    font-size: 18px;
}
.navbar .navbar-nav .nav-item:hover .nav-link, .navbar .navbar-nav .nav-item.active .nav-link {
    color: var(--fl-main);
    
  }
header .header-button .btn.btn-switch-text.btn-medium > span {
    padding: 12px 22px;
}
header .navbar-brand img {
    max-height: 60px;
}
.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;
}
/*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: 18px;
    padding: 14px 28px;
}
.btn.btn-large {
    font-size: 16px;
    padding: 14px 28px;
    text-transform: uppercase;
    border-radius: 5px;
    letter-spacing: 0.5px;
}
.btn.btn-switch-text.btn-large > span {
    padding: 15px 30px;
}

/* 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 bottom, #FF80AE 0%,#F42784 30%, #F42784 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, rgb(244, 39, 132) 10%, rgba(255, 255, 255, 0) 95%);
  }
  .bg-gradient-blue-transparent {
    background: linear-gradient(to right, rgb(255, 128, 174) 10%, rgba(255, 255, 255, 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: 300px;
}
/* z-index */
.z-index-99 {
    z-index: 99; 
}
@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;
    }
}
/* ----=============================--- */
.header-light .navbar-nav .nav-link {
    color: var(--dark-gray);
    /* background-image: linear-gradient(to bottom, #05D4E9 0%,#004DF2 30%, #004DF2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
  }

  header.sticky.sticky-active .header-reverse.glass-effect {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.7) !important;
  }


/* ----=============================--- */
.fl-bg-header {
    background: linear-gradient(to bottom, rgba(255, 255, 255,0.8) 0%, rgba(255, 255, 255,0.6) 50%, rgba(255, 255, 255,0.5) 95%);

    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    /* background-color: rgba(255, 255, 255, 0.7) !important; */
    margin: 10px;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.fl-bg-body {
    /* background: linear-gradient(to bottom,
    rgba(0, 73, 157,0.2) 0%,
     rgba(113, 192, 255,1) 5%,
     rgba(135, 206, 235,0.8) 30%,
      rgba(255, 255, 255,0.5) 95%); */
    /* color: rgb(113, 192, 255); */
    /* background-color: rgba(255, 255, 255, 0.7) !important; */
    background: #f8feff;
}

.fl-text-gradient-01 {
    background-image: linear-gradient(to bottom, #FF80AE 0%,#F42784 30%, #F42784 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* text-shadow: 1px 1px 3px rgba(244, 37, 130); */
 
}

.btn-gradient-fl {
    --fl-main: rgb(244, 37, 130);
    --fl-second: rgb(255, 128, 174);
    background-image: linear-gradient(to right, #FF80AE, #F42784, #FF80AE);
    background-size: 200% auto;
    color: var(--white);
    font: var(--primary-font);
    /* font-weight: 700; */
    letter-spacing: 1px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.fl-text-main{
    color: var(--fl-main);
}

.img-center-small {
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
    object-position: center;
}


/* From Uiverse.io by NomNomcats */ 
/* The switch - the box around the slider */
.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 4em;
    height: 2em;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--fl-second);
    transition: 0.4s;
    border-radius: 30px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 1.6em;
    width: 1.6em;
    border-radius: 20px;
    left: 0.2em;
    bottom: 0.2em;
    background-color: white;
    transition: 0.4s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .switch input:checked + .slider {
    background-color: var(--fl-main);
  }
  
  .switch input:focus + .slider {
    box-shadow: 0 0 1px var(--fl-main);
  }
  
  .switch input:checked + .slider:before {
    transform: translateX(2em);
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  /* Add some cool effects */
  .slider:after {
    content: "EN";
    color: white;
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    transition: opacity 0.4s;
    opacity: 1;
  }
  
  .switch input:checked + .slider:after {
    content: "CH";
    left: 0.5em;
    opacity: 1;
    right: auto;
  }
  

  #fancyTitle {
    visibility: hidden;
    opacity: 0;
}

/* Chinese font styling */
.chinese-font {
    font-family: "Alibaba PuHuiTi", sans-serif !important;
    letter-spacing: 0.5px;
}

/* Adjust specific elements for Chinese display */
.chinese-font.nav-link {
    font-weight: 700 !important;
}

body.chinese-font {
    --alt-font: 'Alibaba PuHuiTi', sans-serif !important;
}

body.chinese-font .alt-font {
    font-family: 'Alibaba PuHuiTi', sans-serif !important;
    letter-spacing: 1px;
    font-weight: 800 !important;
}
body.chinese-font h1, 
body.chinese-font h2, 
body.chinese-font h3, 
body.chinese-font h4, 
body.chinese-font h5, 
body.chinese-font h6,
body.chinese-font p,
body.chinese-font span{
    font-family: "Alibaba PuHuiTi", sans-serif !important;
    font-weight: 500;
}

body.chinese-font .btn {
    font-family: "Alibaba PuHuiTi", sans-serif !important;
}


.fl-auto {
padding-top: auto;
padding-bottom: auto; 
}
/* .fl-box {
 min-width: 100px;
 width: 100px;
  max-width: 220px;
} */

@media (max-width: 767px) {
    .mw-30 {
      width: 30%;
    }
  }


  @media (max-width: 576px) {
    .mobile-image-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    .mobile-image-row img {
        height: auto;
        object-fit: cover;
    }
}