@import url("_homepage.css");
@import url("_contact-us.css");
@import url("_product.css");
@import url("_product-detail.css");
@import url("_blog.css");
@import url("_variables.css");
@import url("_about-us.css");

:root {
  --color-hover:  #102FC6;
  --primary: #102FC6!important;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: var(--gray-text);
  margin: 0;
  line-height: 1.6;
  background-color: #fafafa;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
.inter-regular {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
}

.worksans-regular,
h1,
h2,
h3,
h4,
h5,
.footer h6 {
  font-family: "Work Sans", Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #242424;
}

h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* Links */
a,
.nav-link {
  color: var(--black-text);
  transition: color 0.3s ease;
}

a:hover,
.nav-link:hover {
  color: var(--primary);
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--black-text) !important;
}

.text-dark {
  color: var(--body-text) !important;
}

.text-light {
  color: var(--text-light) !important;
}

strong {
  color: var(--black-text);
}

/* Utility Classes */
.fs-7 {
  font-size: 14px;
}

.mb-6 {
  margin-bottom: 40px !important;
}

.bg-primary {
  background-color: var(--primary);
}

/* Buttons */
.btn {
  min-height: 42px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 35px;
  border: none;
  padding-left: 15px;
  padding-right: 15px;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary);
}

.btn-secondary {
  background-color: #fff;
  border: 2px solid #e9e9e9;
  color: var(--black-text);
}

.btn-sale,
.btn-hot {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 5px 7px;
  border-radius: 5px;
  letter-spacing: 0.3px;
  line-height: 1.2;
  min-width: 50px;
  color: #fff;
  z-index: 99;
}

.btn-sale {
  background-color: var(--primary);
}

.btn-hot {
  background-color: var(--red);
}

/* Form */
input[type="tel"],
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime-local"],
input[type="search"],
input[type="number"],
input[type="email"],
input[type="url"],
select,
textarea,
textarea.form-control {
  padding: 0 15px;
  max-width: 100%;
  width: 100%;
  height: 42px;
  background-color: #fff;
  color: #777;
  vertical-align: middle;
  font-size: 14px;
  transition: border-color 0.5s ease;
  border-radius: 20px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
  border: none;
  opacity: 0.6;
  outline: none;
}

.form-control:focus {
  border-color: inherit;
  outline: 0;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}

textarea,
textarea.form-control {
  padding: 10px 15px;
  min-height: 190px;
  border-radius: 20px;
}

.pager {
  margin: 60px auto 0;
}

.pager .pagination {
  gap: 10px;
  justify-content: center;
}

.pager .pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 35px;
  height: 35px;
  padding: 0 3px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
}

.pager .pagination .page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* General styling */
/* Links */
.view-more-link {
  transition: transform 0.25s ease;
}

.view-more-link:hover i {
  transform: translateX(5px);
}

.view-more-link i {
  display: inline-block;
  transition: transform 0.25s ease;
}

.post-tag {
  color: var(--black-text);
  padding: 8px 15px;
  border: 1px solid #ebebeb;
  display: inline-block;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 10px;
}

/* Next/prev of slider */
.custom-navigation-slider {
  display: inline-flex;
  align-items: center;
  height: 35px;
  gap: 10px;
}

.custom-navigation-slider > div {
  width: 35px;
  height: 35px;
  line-height: 35px;
  display: flex;
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  background-color: var(--white);
  left: unset;
  right: unset;
  top: 0;
  margin-top: 0;
}

.custom-navigation-slider > div i {
  font-size: 18px;
  color: var(--black-text);
}

.custom-navigation-slider > div:after {
  content: "";
}

.heading-top {
  font-size: 26px;
}

.page-title {
  font-size: 68px;
  line-height: 1.2;
}

.hero-banner {
  padding: 40px 0;
  background-color: var(--blue);
}

.hero-banner .page-title,
.hero-banner .breadcrumb a,
.hero-banner .breadcrumb .active,
.hero-banner .breadcrumb .breadcrumb-item:before {
  color: var(--white);
}

.hero-banner .breadcrumb .active {
  opacity: 0.6;
}

/* Scrollbar */
.scroll-container {
  padding-right: 15px;
}

.simplebar-track {
  background: transparent;
  width: 6px;
}

.simplebar-scrollbar:before {
  background-color: #b0b0b0;
  border-radius: 5px;
  width: 5px;
  opacity: 1 !important;
  transition: background-color 0.3s;
}

.simplebar-track.simplebar-vertical {
  width: 6px;
  right: 2px;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Line Clamp */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Container */
.container {
  max-width: 1540px;
  padding: 0 15px;
}

/* Navbar */
.header-sticky {
  padding: 15px 0;
  width: 100%;
  top: 0;
  z-index: 10;
  background-color: rgba(252, 252, 252, 1);
  border-bottom: 1px solid rgba(129, 129, 129, 0.2);
  transition: all 0.2s ease;
}

.header-sticky > .container {
  gap: 60px;
}

.header-sticky.scrolled {
  position: fixed;
  transform: translateZ(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border: none;
}

.header-sticky .navbar-nav .nav-link {
  font-size: 15px;
  margin: 0;
  font-weight: 500;
  line-height: 1.2;
}

.header-sticky .navbar-nav .nav-link.active,
.header-sticky .navbar-nav .nav-link.show,
.header-sticky .navbar-nav .nav-link:hover {
  color: var(--color-hover);
}

.navbar-brand img {
  width: 165px;
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
}

.navbar-toggler {
  border: none;
  outline: none;
  background-color: transparent;
}

.navbar-toggler span {
  color: var(--black-text);
}

/* Footer */
.footer {
  background-color: #fff;
  margin-left: 20px;
  margin-right: 20px;
  padding: 40px 0 30px;
  border-radius: 10px;
  box-shadow: 0 5px 50px rgba(0, 0, 0, 0.1);
}

.footer .logo {
  font-weight: bold;
  font-size: 24px;
}

.footer .logo img {
  max-width: 180px;
  object-fit: contain;
}

.footer ul li {
  margin-bottom: 15px;
  font-size: 14px;
}

.footer .icon-group img {
  height: 30px;
  margin-right: 10px;
}

.footer .social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.footer .social-icons .bi {
  font-size: 40px;
}

.footer .social-icons__twitter {
  background-color: #0f1419;
  border-radius: 50%;
  color: var(--white);
}

.footer .social-icons .bi.bi-twitter-x {
  font-size: 20px;
}

.footer .border-custom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 1025px) {
  .hero-banner {
    padding: 110px 0;
    background-color: var(--blue);
  }

  .mb-lg-12 {
    margin-bottom: 120px;
  }

  h2 {
    font-size: 42px;
  }

  .custom-navigation-slider {
    height: 50px;
  }

  .custom-navigation-slider > div {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }

  .hidden-desktop {
    display: none !important;
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-nav__left,
  .navbar-nav__right {
    gap: 15px;
  }

  .sidebar {
    width: 25%;
  }

  .main-content {
    width: 75%;
  }

  .mb-6 {
    margin-bottom: 60px !important;
  }

  .footer {
    margin-left: 0;
    margin-right: 0;
    padding: 40px 20px 30px;
  }
}

@media (max-width: 1024px) {
  .navbar-brand img {
    width: 120px;
  }

  body {
    margin-bottom: 55px;
  }

  .hidden-mobile {
    display: none !important;
  }

  .form-search-header .btn-secondary {
    border: none;
    color: var(--gray-text);
    font-size: 16px;
  }

  .form-search-header .form-control {
    padding: 0 20px;
  }

  .form-search-header .btn-secondary:hover {
    background-color: transparent;
    color: var(--primary);
  }

  .navbar-expand-lg .navbar-toggler {
    display: block;
    padding: 0;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    background-color: white; /* Or your navbar background */
    z-index: 9;
    padding: 2rem 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
  }

  /* Show menu when .show class is applied by Bootstrap */
  .navbar-collapse.show {
    transform: translateX(0);
    padding-top: 0;
    z-index: 999;
  }

  .navbar .navbar-nav .nav-item {
    display: block;
    width: 100%;
  }

  .navbar .navbar-nav .nav-link {
    padding: 15px 20px !important;
    border-bottom: 1px solid var(--text-lighter);
  }

  .navbar-collapse .navbar-nav {
    font-family: "Work Sans", Arial, Helvetica, sans-serif;
    align-items: flex-start !important;
  }

  .navbar-collapse .navbar-nav i {
    margin-right: 5px;
    font-size: 16px !important;
  }

  .sticky-header-icons-mobile {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    height: 55px;
    background-color: #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
  }

  .sticky-header-icons-mobile .navbar-nav {
    height: 100%;
    justify-content: center;
    padding: 0 20px;
  }

  .sticky-header-icons-mobile .navbar-nav .nav-item .nav-link i {
    font-size: 14px !important;
    height: 18px;
  }

  .sticky-header-icons-mobile .navbar-nav .nav-item .nav-link .bi.bi-person {
    font-size: 16px !important;
  }

  .sticky-header-icons-mobile .navbar-nav .nav-item .nav-link {
    justify-content: center;
    align-items: center;
    font-size: 11px;
    gap: 3px;
    font-weight: 600;
    display: flex;
    flex-flow: column;
  }
}



/* Back top top */
.back-to-top {
  position: fixed;
  bottom: 55px;
  right: 30px;
  z-index: 999;
  overflow: hidden;
  width: 50px;
  height: 50px;
  padding: 0;
}

.back-to-top::before,
.back-to-top::after {
  content: "\F148"; /* Bootstrap Icons arrow-up */
  font-family: "bootstrap-icons";
  font-size: 18px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  line-height: 1;
}

.back-to-top:hover,
.back-to-top:active,
.back-to-top:focus {
  filter: brightness(90%);
  background-color: var(--primary) !important;
}

.back-to-top::before {
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.back-to-top::after {
  top: 100%;
  opacity: 0;
}

.back-to-top:hover::before {
  top: -20%;
  opacity: 0;
}

.back-to-top:hover::after {
  top: 50%;
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Single */
.wysiwyg-content .featuredImg {
  display: block;
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding-top: 40%;
  position: relative;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.wysiwyg-content .featuredImg img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  height: 100%;
  object-fit: cover;
}

.wysiwyg-content .cat-tag {
  display: inline-block;
  padding: 5px 10px;
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 5px;
  text-decoration: none;
  margin-bottom: 1rem;
}

.wysiwyg-content .cat-tag:hover {
  background-color: var(--primary);
  color: var(--white);
}

.wysiwyg-content h1 {
  color: #000;
}

.wysiwyg-content .em-font-semibold {
  color: #000;
  font-weight: bold;
}

.wysiwyg-content  .entry-content {
  font-size: .9rem;
}

.wysiwyg-content  .entry-content > * {
  margin-bottom: 30px;
}

.wysiwyg-content  .entry-content  h2 {
  font-size: 1.5rem;
}

.wysiwyg-content  .entry-content  h3 {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .wysiwyg-content .featuredImg {
    padding-top: 56.25%;
  }
}

.relatedPost .relatedPost__img {
  display: block;
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding-top: 56.25%;
  position: relative;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.relatedPost .relatedPost__img img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  height: 100%;
  object-fit: cover;
}

.relatedPost .relatedPost__title a {
  text-decoration: none;
}

.relatedPost .relatedPost__meta {
  font-size: .8rem;
  margin-top: 1rem;
}

.relatedTitle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 1rem;
}

.left-30 {
  left: 60px!important;
}