@import url("../fonts/caise/iconfont.css");
@import url("../fonts/icon/iconfont.css");

:root {
   --bs-primary: #0fa3d1;
   --bs-primary-rgb: 15, 163, 209;
}

/* my Icons */
.yhcsicon {
   font-size: 1.5rem;
}

.yh-icon {
   font-size: 1rem;
}

body {
   background-color: #fff;
   font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a {
   text-decoration: none;
}

.text-inverse {
   filter: brightness(1) invert(0);
}

.text-reset:hover {
   color: var(--bs-primary) !important;
}

.text-inherit {
   color: #334155;
}

/* ==========================================================================
   2. Typography & Icons
   ========================================================================== */
/* Bootstrap Icons */
/*@font-face {
   font-family: "bootstrap-icons";
   src: url('../fonts/bootstrap-icons.woff2') format('woff2'),
      url('../fonts/bootstrap-icons.woff') format('woff');
}

.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
   display: inline-block;
   font-family: "bootstrap-icons" !important;
   font-style: normal;
   font-weight: normal !important;
   font-variant: normal;
   text-transform: none;
   line-height: 1;
   vertical-align: -0.125em;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}

.bi-chevron-down::before {
   content: "\f282";
}

.bi-search::before {
   content: "\f52a";
}

.bi-list::before {
   content: "\f479";
}
*/




/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
.navbar {
   background-color: var(--bs-primary);
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
   padding: 0;
   min-height: 80px;
}

.navbar .navbar-brand {
   background-color: var(--bs-white);
   height: 80px;
   padding: 0;
}

.navbar .navbar-brand img {
   height: 100%;
}

.navbar .offcanvas-header {
   background-color: var(--bs-white);
}

.navbar .offcanvas-header img {
   width: 70%;
}

.navbar button {
   padding: 0 0.5rem;
}

/* Nav Links */
.nav-link {
   font-weight: 500;
   color: var(--bs-white) !important;
   font-size: 0.9rem;
   padding: 0.5rem 0.6rem !important;
}

 
/* Dropdown & Mega Menu */
.dropdown-header {
   color: var(--bs-primary);
   font-weight: 700;
   text-transform: uppercase;
   font-size: 0.75rem;
   padding: 0 0 0.4rem 0;
   margin-bottom: 0.4rem;
   border-bottom: 1px solid #eee;
}

.navbar .dropdown-toggle {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.nav-link:hover,
.nav-link.active {
   color: var(--bs-black) !important;
   background-color: #fff;
   border-radius: 0.25rem;
}

.navbar .dropdown-toggle .jiantou {
   text-align: right;
   width: 50%;
   display: none;
   /* Desktop default */
}

.navbar .dropdown-menu-xxl {
   left: -350px;
   right: 0;
   width: 100%;
   min-width: 85rem !important;
   border: none;
   border-radius: 0 0 15px 15px;
   box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
   padding: 2rem;
}

.navbar .dropdown-menu-xxl .dropdown-item {
   font-weight: 300;
   font-size: 0.8rem;
   padding: 0.2rem 0;
   color: #555;
   white-space: normal;
   transition: 0.2s;
}

.navbar .dropdown-menu-xxl .dropdown-item:hover {
   background: none !important;
   color: var(--bs-primary) !important;
   padding-left: 4px;
}



/* Language & Search */
.search .yh-icon {
   color: #000 !important;
   font-size: 1.2rem;
}

.setlanguage {
   cursor: pointer;
   display: inline-block;
   vertical-align: middle;
   font-size: 1.2rem !important;
   position: relative;
}

.setlanguage .ignore.dropdown-menu {
   min-width: 14rem;
   font-size: 12px;
   padding-left: 20px;
   right: 0;
   left: auto;
   top: 100%;
   margin-top: 1rem !important;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
   border: 1px solid #eee;
}

.setlanguage .ignore.dropdown-menu::before {
   content: "";
   position: absolute;
   top: -1rem;
   left: 0;
   width: 100%;
   height: 1rem;
   background: transparent;
}

.wap-setlanguage {
   margin-top: 0.5rem;
   padding: 0;
   list-style: none;
}

.wap-setlanguage li {
   display: inline-block;
   margin: 0.1rem;
}

/* ==========================================================================
   4. Page Components
   ========================================================================== */
/* Banner */
.page-banner {
   background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url('../images/contact-us.jpg') center/cover no-repeat;
   padding: 100px 0;
   color: #fff;
}

/* Contact Card */
.contact-card {
   border: none;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
   border-radius: 16px;
   padding: 40px;
}

.contact-icon-box {
   width: 50px;
   height: 50px;
   background: rgba(var(--bs-primary-rgb), 0.1);
   color: var(--bs-primary);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.5rem;
   flex-shrink: 0;
}

/* Form Controls */
.form-control {
   padding: 0.75rem 1rem;
   border-radius: 8px;
   border: 1px solid #dee2e6;
   background-color: #f8f9fa;
}

.form-control:focus {
   background-color: #fff;
   box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.1);
   border-color: var(--bs-primary);
}

/* ==========================================================================
   5. Footer
   ========================================================================== */
footer {
   background-color: #f0f8ff;
   padding: 4rem 0 2rem;
   color: #444;
}

footer h5 {
   font-weight: 700;
   margin-bottom: 1.5rem;
   color: #000;
}

footer h6 {
   font-weight: 700;
   color: #000;
   margin-bottom: 0.5rem;
}

footer .yhcs-pioon {
   font-size: 1.5rem;
   color: var(--bs-primary);
}

/* Footer Social Links */
footer .follow h6 {
   margin-bottom: 1rem;
   font-weight: 700;
   color: #000;
}

footer .follow ul {
   padding-left: 0;
   list-style: none;
   margin-bottom: 0;
}

footer .follow li {
   align-items: center;
   display: inline-flex;
   flex-shrink: 0;
   height: 2.5rem;
   justify-content: center;
   margin-right: 0.6rem;
   width: 2.5rem;
   background-color: #fff;
   border: 1px solid #dee2e6;
   border-radius: 50%;
   transition: 0.3s;
}

footer .follow li a {
   color: #666;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 100%;
   height: 100%;
   text-decoration: none;
}

footer .follow li:hover {
   background-color: var(--bs-primary);
   border-color: var(--bs-primary);
}

footer .follow li:hover a {
   color: #fff;
}

/* Footer Nav Links */
footer .list-unstyled li a {
   font-weight: 300;
   color: #444;
   text-decoration: none;
   transition: 0.3s;
}

footer .list-unstyled li a:hover {
   color: var(--bs-primary);
}

/* ==========================================================================
   6. Utility Classes
   ========================================================================== */
.pt-7 {
   padding-top: 3rem !important;
}

.mb-7 {
   margin-bottom: 3rem !important;
}

.mb-xl-0 {
   margin-bottom: 0 !important;
}

.border-bottom-lg-0 {
   border-bottom: 0 !important;
}

/* ==========================================================================
   7. Responsive Media Queries
   ========================================================================== */

/* Desktop & Large Screens */
@media (min-width: 992px) {
   

   .navbar .dropdown:hover>.dropdown-menu,
   .setlanguage:hover>.dropdown-menu {
      display: block;
      opacity: 1;
      visibility: visible;
      margin-top: 0;
   }

   .navbar .dropdown-menu {
      display: none;
      position: absolute;
   }

   .navbar .navbar-nav li:nth-child(3) .dropdown-menu-xxl {
      transform: translate(-43%, 10px) !important;
   }

   .navbar .dropdown-submenu:hover>.dropdown-menu {
      display: block;
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
   }

   .navbar .dropdown-submenu .dropdown-menu {
      position: absolute;
      top: 0;
      left: 100%;
      margin-top: -1px;
   }

   .border-bottom-lg-0 {
      border-bottom: 0 !important;
   }
}

/* Extra Large Breakpoints */
@media (max-width: 1400px) {
   .navbar .dropdown-menu-xxl {
      min-width: 80rem !important;
   }
}

@media (max-width: 1300px) {
   .navbar .dropdown .dropdown-toggle:after {
      display: none;
   }

   .navbar .navbar-brand {
      height: 70px;
   }

   .navbar .dropdown-menu-xxl {
      min-width: 72rem !important;
   }
}

@media (max-width: 1200px) {
   .navbar {
      min-height: 65px;
   }
   .navbar .navbar-brand {
      height: 65px;
   }

   .navbar .dropdown-menu-xxl {
      min-width: 66rem !important;
   }
}

@media (max-width: 1100px) {
   .navbar .dropdown-menu-xxl {
      min-width: 60rem !important;
   }
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 992px) {
     
   .navbar .navbar-nav .nav-item .nav-link {
      font-size: 1rem;
      border-bottom: 1px solid #eee;
   }

   .navbar .nav-link,
   .navbar .dropdown-menu .dropdown-item {
      color: #000 !important;
   }

   .navbar .offcanvas-nav {
      background-color: #fff;
   }

   .navbar .dropdown-menu-xxl {
      min-width: 100% !important;
      padding: 1rem;
      box-shadow: none;
      position: relative !important;
          left: 0;
   }

   .navbar .dropdown-toggle .jiantou {
      display: inline-block;
   }

   .navbar .dropdown-menu {
      border: none;
      padding-left: 1.5rem;
      position: relative !important;
      float: none !important;
      width: 100% !important;
   }

   .navbar .navbar-toggler {
      border: 2px solid var(--bs-white);
      color: var(--bs-white);
      font-size: 1.5rem;
      padding: 0.25rem 0.5rem;
      width: 3rem;
   }

   .navbar .navbar-toggler .bi-list {
      color: var(--bs-white);
      font-size: 2rem;
   }

   /* Mobile Submenu Expansion Fix */
   .dropdown-submenu .dropdown-menu {
      display: none;
   }

   .dropdown-toggle::after {
   display: inline-block !important;
}


   .dropdown-submenu .dropdown-menu.show {
      display: block !important;
      position: relative !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      padding-left: 1rem !important;
      border: none !important;
      box-shadow: none !important;
   }

   .dropdown-submenu .dropdown-toggle .jiantou {
      display: inline-block;
      transition: transform 0.3s;
      float: right;
   }

   /* Rotate arrow when menu is expanded */
   .dropdown-submenu .dropdown-toggle.show .jiantou {
      transform: rotate(90deg);
   }
}

@media (max-width: 991.98px) {

   footer .col-lg-4,
   footer .col-12 {
      margin-bottom: 1.5rem;
   }

   footer .border-bottom {
      border-bottom: 1px solid #dee2e6 !important;
   }
}

@media (max-width: 991.98px) {
   .dropdown-mega .dropdown-menu {
      padding: 1rem;
      box-shadow: none;
      position: relative !important;
      width: auto !important;
   }

   .navbar-nav {
      padding: 1rem 0;
   }

   .dropdown-menu {
      border: none !important;
      padding-left: 1.5rem;
      position: relative !important;
      float: none !important;
      width: 100% !important;
      box-shadow: none !important;
   }
}
