/**********************************/
/********** General CSS ***********/
/**********************************/
body {
  color: #666666;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  background: #ffffff;
}

a {
  color: #0d3779;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #666666;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 15px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #666666;
  margin: 0 0 15px 0;
  padding: 0;
}

/* .back-to-top {
  position: fixed;
  display: none;
  background: #0d3779;
  color: #ffffff;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index: 11;
}

.back-to-top i {
  padding-top: 12px;
  color: #ffffff;
} */

/**********************************/
/********* Form Input CSS *********/
/**********************************/
.form-control,
.custom-select {
  width: 100%;
  height: 35px;
  padding: 0 15px;
  color: #666666;
  border: 1px solid #0d3779;
  border-radius: 0;
  margin-bottom: 15px;
}

.custom-radio,
.custom-checkbox {
  margin-bottom: 15px;
}

.custom-radio .custom-control-label::before,
.custom-checkbox .custom-control-label::before {
  border-color: #0d3779;
  border-radius: 0;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  color: #ffffff;
  background: #0d3779;
}

button.btn {
  color: #ffffff;
  background: #0d3779;
  border-radius: 0;
}

/**********************************/
/********* Top Header CSS *********/
/**********************************/
.top-header {
  padding: 15px 0;
  background: #ffffff;
}

.top-header .logo {
  text-align: left;
  overflow: hidden;
}

.top-header .logo a img {
  max-height: 60px;
}

.top-header .search {
  width: 100%;
}

/* Full-width search panel under header, overlaying page */
.search-panel {
  position: fixed; /* fixed so it overlays everything */
  top: 80px !important; /* adjust to your header height */
  left: 0;
  width: 100%;
  height: 100%; /* scrollable if content too tall */
  overflow-y: auto;
  background: #fff;
  border-bottom: 2px solid #eee;
  z-index: 9999; /* above slider/content */
  display: none; /* hidden by default */
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Close button */
#closeSearch {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10000;
}

/* Product card styling */
.product-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.product-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* 🌐 Modern Search Bar Styling */
.top-header .search {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: auto;
}

/* Input field */
.top-header .search input[type="text"] {
  width: 100%;
  height: 44px;
  padding: 0 50px 0 18px;
  border: 1.8px solid #0d3779;
  border-radius: 30px;
  color: #333;
  font-size: 15px;
  background-color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(13, 55, 121, 0.05);
}

.top-header .search input[type="text"]:focus {
  outline: none;
  border-color: #1a4a9f;
  box-shadow: 0 0 8px rgba(13, 55, 121, 0.3);
}

/* 🔍 Search button */
.top-header .search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #0d3779;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.top-header .search button:hover {
  background: #1a4a9f;
  box-shadow: 0 4px 8px rgba(13, 55, 121, 0.2);
  transform: translateY(-50%) scale(1.05);
}

/* ❌ Clear button (hidden until needed) */
.top-header .search .button1 {
  position: absolute;
  
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f8f9fa;
  color: #666;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.top-header .search .button1:hover {
  background: #e9ecef;
  color: #0d3779;
  transform: translateY(-50%) rotate(90deg);
}


.top-header .user {
  width: 100%;
  text-align: right;
}

.top-header .user .dropdown {
  display: inline-block;
  margin-right: 15px;
}

.top-header .user .dropdown-menu {
  border-radius: 0;
  z-index: 9999999999;
}

.top-header .user .cart {
  display: inline-block;
  margin-right: 15px !important;
}

.top-header .user .cart i {
  color: #0d3779;
  font-size: 18px;
}

.top-header .user .cart span {
  color: #666666;
  font-size: 14px;
}

@media (min-width: 768px) {
  .top-header {
    max-height: 90px;
  }
}

@media (max-width: 767.98px) {
  .top-header .logo,
  .top-header .search,
  .top-header .user {
    text-align: center;
    margin-bottom: 15px;
  }

  .top-header .user {
    margin-bottom: 0;
  }
}

/* search part......... */

/**********************************/
/********* Header Nav CSS *********/
/**********************************/
.header {
  position: relative;
}

.header .navbar {
  height: 100%;
  padding: 0;
}

.header .dropdown-menu {
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: #f8f9fa;
}

/* Hover effect */
.navbar-nav .nav-link:hover {
  color: #f0f0f0;
}

/* Active link */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:visited {
  color: #fff !important;
  font-weight: 600; /* optional */
}
.header .navbar.navbar-dark .navbar-nav .nav-link.active {
  color: #fff !important;
}

@media (min-width: 768px) {
  .header,
  .header .navbar {
    background: #0d3779 !important;
  }

  .header .navbar-brand {
    display: none;
  }

  .header a.nav-link {
    padding: 8px 15px;
    font-size: 15px;
    text-transform: uppercase;
  }
}

@media (max-width: 768px) {
  .header,
  .header .navbar {
    background: #0752c1 !important;
  }

  .header a.nav-link {
    padding: 5px;
  }

  .header .dropdown-menu {
    box-shadow: none;
  }
}

/*** mega menu css ***.............................../

/* Mega menu wrapper */
.mega-dropdown {
  position: static;
}
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 120%;
  width: 100%;
  background: #f8f9fa;
  border-top: 3px solid #0d3779;
  display: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* Show on hover (desktop) */
@media (min-width: 768px) {
  .mega-dropdown:hover .mega-menu {
    display: block;
  }
}

/* Dropdown items */
.mega-menu h6 {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}
.mega-menu .dropdown-item {
  padding: 5px 0;
  font-size: 14px;
  color: #333;
}
.mega-menu .dropdown-item:hover {
  color: #0d3779;
  background: transparent;
}

/* Scrollable container */
.mega-menu-scrollable {
  max-height: 450px; /* adjust height as needed */
  overflow-y: auto; /* vertical scroll */
  padding-right: 0.5rem; /* avoid scrollbar overlap */
}

/* Optional: style the scrollbar (for modern browsers) */
.mega-menu-scrollable::-webkit-scrollbar {
  width: 6px;
}
.mega-menu-scrollable::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

/* Mobile: stacked, not absolute */
@media (max-width: 767.98px) {
  .mega-menu {
    position: relative;
    top: 0;
    box-shadow: none;
  }
}

/**********************************/
/********* Header Slider **********/
/**********************************/
.slick-prev,
.slick-next {
  width: 40px;
  height: 40px;
  z-index: 1;
  opacity: 0;
  transition: 2s;
  background: #ffffff;
}

.slick-prev {
  left: 55px;
}

.slick-next {
  right: 55px;
}

.slick-slider:hover .slick-prev {
  left: 15px;
  opacity: 1;
}

.slick-slider:hover .slick-next {
  right: 15px;
  opacity: 1;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
  color: #0d3779;
  background: #ffffff;
}

.slick-prev::before,
.slick-next::before {
  font-family: "FontAwesome";
  font-size: 30px;
  color: #0d3779;
}

.slick-prev::before {
  content: "\f104";
}

.slick-next::before {
  content: "\f105";
}

.slick-dots li button:before {
  color: #ffffff;
  font-size: 15px;
}

.slick-dots li.slick-active button:before {
  color: #353535;
}

.slick-dotted.slick-slider {
  margin-bottom: 0;
}

.home-slider {
  position: relative;
  width: 100%;
}

.home-slider .main-slider-item {
  padding: 0 7.5px;
}

.home-slider .slick-dots {
  bottom: 15px;
}

/**********************************/
/********* Breadcrumb CSS *********/
/**********************************/
.breadcrumb-wrap {
  position: relative;
  width: 100%;
  background: #ffffff;
}

.breadcrumb-wrap .breadcrumb {
  margin: 15px 0 0 0;
  padding: 0;
  background: none;
}

/**********************************/
/********** Category CSS **********/
/**********************************/
.category {
  position: relative;
  padding: 0 7.5px;
  background: #ffffff;
}

@media (max-width: 575.98px) {
  .category {
    padding: 45px 7.5px 30px 7.5px;
  }
}

.category .col-md-4,
.category .col-md-6 {
  padding: 0 7.5px;
}

.category .category-img {
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
}

.category .category-img img {
  width: 100%;
}

.category .category-img:hover img {
  filter: blur(5px);
  -webkit-filter: blur(5px);
}

.category .category-name {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  background: rgba(63, 105, 170, 0.5);
  transition: opacity 0.5s;
  display: flex;
  align-items: center;
}

.category .category-name:hover {
  opacity: 1;
}

.category .category-name h2 {
  margin: 0 0 -50px 0;
  padding: 15px;
  width: 100%;
  text-align: center;
  color: #ffffff;
  font-size: 27px;
  font-weight: 700;
  transition: 0.5s;
}

.category .category-name:hover h2 {
  margin: 0;
}

/**********************************/
/******* Section Header CSS *******/
/**********************************/
/* Sections Header */
.sections-header {
    position: relative;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.sections-header h2,
.sections-header h3 {
    position: relative;
    color: #0d3779;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    text-transform: capitalize;
    padding-bottom: 10px;
}

.sections-header h2::after,
.sections-header h3::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 5px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    background: #0d3779;
    border-radius: 2px;
}

.sections-header p {
    font-size: 16px;
    text-align: center;
    color: #555;
    margin: 0;
}

/* Newsletter Section */
.newsletter {
    background: #f5f8ff;
    padding: 50px 20px;
}

.newsletter .form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.newsletter input[type="email"] {
    padding: 12px 15px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.newsletter button {
    padding: 12px 25px;
    background: #0d3779;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background: #1a4a9f;
}


/**********************************/
/*********** Feature CSS **********/
/**********************************/
.feature {
  position: relative;
  padding: 0;
}

.feature .feature-col {
  height: inherit;
  border-right: 1px solid #dddddd;
  padding: 60px 0;
}

.feature .feature-col:last-child {
  border-right: none;
}

.feature .feature-content {
  position: relative;
  width: 100%;
  padding: 0 30px;
  text-align: center;
}

.feature .feature-content i {
  color: #0d3779;
  font-size: 60px;
  margin-bottom: 10px;
}

.feature .feature-content h2 {
  color: #666666;
  font-size: 20px;
  font-weight: 700;
}

.feature .feature-content p {
  color: #666666;
  font-size: 15px;
  margin: 0;
}

/**********************************/
/******** Product Item CSS ********/
/**********************************/
.product-item {
  background-color: #f7f7f7;
  display: flex;
  flex-direction: column;
  height: 100%; /* ✅ force equal height */
  /* min-height: 250px; */
  margin-bottom: 8px;
}

/* Image */
.product-item .product-image {
  position: relative;
  overflow: hidden;
  height: 150px;
  min-height: 180px;
  /* max-height: 250px; */
  background: #fff; /* background behind images */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blur layer */
.product-blur-layer {
  position: relative;
  z-index: 1; /* keep below buttons */
  transition: 0.5s;
}
.product-item:hover .product-blur-layer {
  filter: blur(5px);
}

.product-item .product-image a {
  display: block;
  /* background: #0d3779; */
  /* margin-bottom: 15px; */
  transition: 0.3s;
}

.product-item:hover .product-image a {
  background: rgba(63, 105, 170, 0.5);
}

.product-item .product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* keep full image */
  display: flex;
}

/* Action buttons */
.product-item .product-image .product-action {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  display: flex;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(-50%);
  transition: 0.5s;
  z-index: 2;
}

.product-item:hover .product-action {
  /* top: calc(50% - 25px); */
  opacity: 1;
  z-index: 3;
}

.product-item .product-image .product-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #0d3779;
  color: #ffffff;
  font-size: 18px;
  transition: 0.3s;
}

.product-item .product-image .product-action a:last-child {
  margin-right: 0;
}

.product-item .product-image .product-action a:hover {
  color: #0d3779;
  background: #ffffff;
}

.sub {
  margin-top: 10px;
  background: #d4d4d8 !important;
  color: #0d3779 !important;
  transition: background 0.3s ease;
  border-color: #0d3779 !important;
  font-weight: bold;
}
.sub:hover {
  background: #0d3779 !important;
  color: #ffffff !important;
}
/* Content */

.two-line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2em; /* line height */
  min-height: 2.4em; /* ensure 2 lines always visible */
  word-break: break-word;
  white-space: normal;
}

.product-item .product-content {
  position: relative;
  width: 100%;
  text-align: center;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-item .product-content .title {
  margin-bottom: 2px;
}

.product-item .product-content .title a {
  color: #0d3779;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-item .product-content .ratting i {
  font-size: 10px;
  color: #0d3779;
}

.product-item .product-content .price {
  font-size: 14px;
  color: #0d3779;
  font-weight: 700;
  /* margin-top: auto;  */
}

.product-item .product-content .price span {
  margin-left: 12px;
  text-decoration: line-through;
  font-weight: 700;
  color: #666666;
}

/* Slick slider arrows */
.product-slider.slick-slider:hover .slick-prev {
  left: 30px;
  opacity: 1;
}

.product-slider.slick-slider:hover .slick-next {
  right: 30px;
  opacity: 1;
}

/**********************************/
/******** Featured Product ********/
/**********************************/
.featured-product {
  position: relative;
  padding: 45px 0 60px 0;
}

.recent-product {
  position: relative;
  padding: 60px 0;
}

/* banners in features*/

.banner_home {
  position: relative;
  overflow: hidden;
}

.banner_home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #b0b1b3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5; /* adjust transparency here */
  z-index: 0;
}

/**********************************/
/******** Product View CSS ********/
/**********************************/
.product-view {
  position: relative;
  width: 100%;
  padding: 60px 0;
}

.product-view .product-search {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}

.product-view .product-search input {
  width: 100%;
  height: 35px;
  padding: 0 15px;
  color: #666666;
  border: 1px solid #0d3779;
}

.product-view .product-search button {
  position: absolute;
  width: 35px;
  height: 33px;
  top: 1px;
  right: 1px;
  text-align: center;
  background: #ffffff;
  color: #0d3779;
  border: none;
}

.product-view .product-search button i {
  font-size: 16px;
}

.product-view .product-search button:hover {
  background: #0d3779;
  color: #ffffff;
}

.product-view .product-short {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
  text-align: right;
}

.product-view .product-short .dropdown a.dropdown-toggle {
  display: block;
  width: 100%;
  height: 35px;
  padding: 5px 10px;
  background: #ffffff;
  border: 1px solid #0d3779;
  text-align: left;
}

.product-view .product-short .dropdown a.dropdown-toggle::after {
  float: right;
  margin-top: 10px;
}

.product-view .product-short .dropdown-menu {
  margin: -2px 0 0 0;
  border-radius: 0;
}

.product-view .product-item {
  margin-bottom: 30px;
}

.product-view .pagination {
  margin: 0;
}

.product-view .pagination .page-item .page-link {
  color: #0d3779;
  background: #ffffff;
  border-color: #0d3779;
  border-radius: 0;
}

.product-view .pagination .page-item:hover .page-link,
.product-view .pagination .page-item.active .page-link {
  color: #ffffff;
  background: #0d3779;
}

/**********************************/
/******* Product Detail CSS *******/
/**********************************/
.product-detail {
  position: relative;
  width: 100%;
  padding: 60px 0 15px 0;
}

.product-detail .product-detail-top,
.product-detail .product-detail-bottom,
.product-detail .product-slider.product-slider-3 {
  margin-bottom: 45px;
}

.product-detail .product-slider-single img {
  width: 100%;
  background: #0d3779;
  position: relative;
  object-fit: contain; /* keep full image */
  display: flex;
}

.product-detail .product-content,
.product-detail .product-content .title,
.product-detail .product-content .ratting,
.product-detail .product-content .price,
.product-detail .product-content .details,
.product-detail .product-content .quantity,
.product-detail .product-content .action {
  position: relative;
  width: 100%;
}

.product-detail .product-content .title h2 {
  color: #0d3779;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.product-detail .product-content .prices {
  color: #0d3779;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}
.product-detail .product-content .ratting i {
  color: #0d3779;
  font-size: 18px;
}

.product-detail .product-content .price {
  color: #0d3779;
  font-size: 16px !important;
  font-weight: 700;
  margin-bottom: 15px;
}

.product-detail .product-content .price span {
  color: #666666;
  text-decoration: line-through;
  margin-left: 12px;
}

.product-detail .product-content .details {
  margin-bottom: 20px;
}

.product-detail .product-content .details p {
  color: #666666;
  font-size: 16px;
}

.product-detail .product-content .quantity {
  margin-bottom: 20px;
}

.product-detail .product-content .quantity h4 {
  display: inline-block;
  color: #666666;
  font-size: 18px;
  font-weight: 600;
  margin-right: 5px;
}

.product-detail .product-content .quantity .qty {
  display: inline-block;
}

.product-detail .product-content .quantity button {
  width: 30px;
  height: 30px;
  padding: 2px 0;
  text-align: center;
  color: #0d3779;
  background: #d4d4d8;
  border: none;
  border-radius: 20px;
}

.product-detail .product-content .quantity input {
  width: 60px;
  height: 30px;
  color: #fdfdfd;
  text-align: center;
  background: #0d3779;
  border: none;
}

.product-detail .product-content .action a {
  display: inline-block;
  width: 50px;
  height: 50px;
  padding: 7px 0;
  text-align: center;
  color: #ffffff;
  font-size: 22px;
  background: #0d3779;
  border: 1px solid #0d3779;
}

.product-detail .product-content .action a:hover {
  color: #0d3779;
  background: #ffffff;
}

.product-detail .nav.nav-pills .nav-link {
  color: #ffffff;
  background: rgba(63, 105, 170, 0.5);
  border-radius: 0;
}

.product-detail .nav.nav-pills .nav-link:hover,
.product-detail .nav.nav-pills .nav-link.active {
  color: #ffffff;
  background: #0d3779;
}

.product-detail .tab-content {
  background: rgba(63, 105, 170, 0.1);
}

.product-detail .tab-content {
  padding: 10px;
}

.product-detail .tab-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-detail .tab-content ul li {
  margin-bottom: 10px;
}

.product-detail .tab-content ul li::before {
  content: "\f061";
  font-family: "FontAwesome";
  padding-right: 5px;
}

.product-detail .tab-content .reviews-submitted {
  position: relative;
  margin-bottom: 45px;
}

.product-detail .tab-content .reviewer {
  color: #0d3779;
  font-size: 18px;
  font-weight: 600;
}

.product-detail .tab-content .reviewer span {
  color: #666666;
  font-size: 14px;
  font-weight: 400;
}

.product-detail .tab-content .ratting {
  color: #0d3779;
  margin-bottom: 15px;
}

.product-detail .tab-content .reviews-submit .ratting {
  font-size: 24px;
}

.product-detail .tab-content .form input {
  width: 100%;
  height: 35px;
  padding: 0 15px;
  color: #666666;
  background: #ffffff;
  border: none;
  margin-bottom: 15px;
}

.product-detail .tab-content .form textarea {
  width: 100%;
  height: 80px;
  padding: 6px 15px;
  color: #666666;
  background: #ffffff;
  border: none;
  margin-bottom: 15px;
}

.product-detail .tab-content .form button {
  display: inline-block;
  height: 35px;
  padding: 0 15px;
  color: #666666;
  background: #ffffff;
  border: none;
  margin-bottom: 15px;
}

.product-detail .tab-content .form button:hover {
  color: #ffffff;
  background: #0d3779;
}

/**********************************/
/********** Sidebar CSS ***********/
/**********************************/
.sidebar-widget {
  position: relative;
  width: 100%;
  margin-bottom: 45px;
}

.sidebar-widget:last-child {
  margin-bottom: 0;
}

.sidebar-widget .title {
  position: relative;
  color: #0d3779;
  font-size: 24px;
  font-weight: 600;
  text-align: left;
  text-transform: capitalize;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.sidebar-widget .title::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  left: calc(0% - 0px);
  bottom: 0;
  background: #0d3779;
}

.sidebar-widget.brands ul,
.sidebar-widget.category ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-widget.brands ul li,
.sidebar-widget.category ul li {
  margin-bottom: 10px;
  padding-left: 0px;
  /* padding: 0; */
}
.sidebar-widget.category .category-list ul li {
  padding-left: 20px !important;
}

.sidebar-widget.brands ul li:last-child,
.sidebar-widget.category ul li:last-child {
  margin-bottom: 0;
}

.sidebar-widget.brands ul li a,
.sidebar-widget.category ul a {
  color: #0d3779;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  display: inline-block;
  line-height: 20px;
  white-space: normal;
  word-break: break-word;
}

.sidebar-widget.brands ul li a::before,
.sidebar-widget.category ul li a::before {
  content: "\f061";
  font-family: "FontAwesome";
  padding-right: 5px;
}

.sidebar-widget.brands ul li a:hover,
.sidebar-widget.category ul li a:hover {
  padding-left: 10px;
}

.sidebar-widget.brands ul li span,
.sidebar-widget.category ul li span {
  display: inline-block;
  float: right;
  color: #666666;
  font-size: 14px;
  font-weight: 400;
}

.sidebar-widget.image a {
  display: block;
  width: 100%;
  overflow: hidden;
}

.sidebar-widget.image img {
  max-width: 100%;
  transition: 0.3s;
}

.sidebar-widget.image img:hover {
  transform: scale(1.1);
  filter: blur(3px);
  -webkit-filter: blur(3px);
}

.sidebar-widget.tag a {
  display: inline-block;
  margin: 0 0 4px 0;
  padding: 3px 8px;
  font-size: 14px;
  font-weight: 400;
  color: #0d3779;
  background: #ffffff;
  border: 1px solid #0d3779;
}

.sidebar-widget.tag a:hover {
  color: #ffffff;
  background: #0d3779;
}

.category-list {
  list-style: none;
  padding-left: 0;
}

.category-list .main-category {
  margin-bottom: 8px;
  font-weight: bold;
}

.category-list .subcategory-list {
  border-left: 2px solid #ddd;
}

.category-list .subcategory-list li {
  white-space: normal;
  word-break: break-word;
}

/**********************************/
/************ Cart CSS ************/
/**********************************/
.cart-header {
  background: #fff;
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
}

.cart-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.select-all-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  cursor: pointer;
  accent-color: #0d3779;
}

.cart-items-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 20px;
}

.cart-item {
  padding: 24px 30px;
  border-bottom: 1px solid #ccc9c9;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background 0.2s;
}

.cart-item:hover {
  background: #fafafa;
}

.cart-item:last-child {
  border-bottom: none;
}

.item-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #0d3779;
}

.item-image img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
}

.item-details {
  flex: 1;
}

.item-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.item-price {
  font-size: 18px;
  font-weight: 700;
  color: #0d3779;
  margin-bottom: 4px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.qty-btn:hover {
  background: #0d3779;
  color: #fff;
  transform: scale(1.05);
}

.qty-input {
  width: 50px;
  height: 36px;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

.item-total-price {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  min-width: 120px;
  text-align: right;
}

.remove-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: #fff3f3;
  color: #dc3545;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-btn:hover {
  background: #dc3545;
  color: #fff;
  transform: scale(1.05);
}

.cart-summary-modern {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 30px;
  position: sticky;
  top: 100px;
}

.summary-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 15px;
}

.summary-row.total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.summary-row.total .value {
  font-size: 24px;
  color: #0d3779;
  font-weight: 800;
}

.checkout-btn-modern {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #0d3779 0%, #1a4a9f 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(13, 55, 121, 0.3);
}

.checkout-btn-modern:hover {
  transform: translateY(-2px);
}

.item-counter {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.continue-shopping-btn {
  width: 100%;
  padding: 14px;
  background: #fff;
  color: #0d3779;
  border: 2px solid #0d3779;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 12px;
}

.empty-cart-modern {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .item-total-price {
    text-align: left;
  }
}

/**********************************/
/********** Checkout CSS **********/
/**********************************/
.checkout-header {
  text-align: center;
  margin-bottom: 40px;
}

.checkout-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.checkout-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0d3779;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.step-number.inactive {
  background: #ddd;
  color: #999;
}

.step-label {
  font-weight: 600;
  color: #1a1a1a;
}

.step-label.inactive {
  color: #999;
}

.step-divider {
  width: 40px;
  height: 2px;
  background: #ddd;
}

.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.form-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-card h3 i {
  color: #0d3779;
  font-size: 24px;
}

.modern-input {
  border: 2px solid #cecccc;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  transition: all 0.2s;
  height: 48px;
}

.modern-input:focus {
  border-color: #0d3779;
  box-shadow: 0 0 0 3px rgba(13, 55, 121, 0.1);
  outline: none;
}

.modern-textarea {
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  transition: all 0.2s;
  resize: vertical;
}

.modern-textarea:focus {
  border-color: #0d3779;
  box-shadow: 0 0 0 3px rgba(13, 55, 121, 0.1);
  outline: none;
}

.modern-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 14px;
}

.order-summary-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 100px;
}

.summary-header {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.order-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.order-item:last-child {
  border-bottom: none;
}

.order-item-image {
  width: 100px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.order-item-details {
  flex: 1;
}

.order-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.order-item-qty {
  font-size: 13px;
  color: #666;
}

.order-item-price {
  font-size: 15px;
  font-weight: 700;
  color: #0d3779;
  text-align: right;
}

.summary-totals {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
}

.summary-row.total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid #f0f0f0;
}

.summary-row .label {
  color: #666;
  font-weight: 500;
}

.summary-row .value {
  font-weight: 600;
  color: #1a1a1a;
}

.summary-row.total .label {
  font-size: 18px;
  color: #1a1a1a;
  font-weight: 700;
}

.summary-row.total .value {
  font-size: 24px;
  color: #0d3779;
  font-weight: 800;
}

.payment-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-top: 24px;
}

.payment-option {
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.payment-option:hover {
  border-color: #0d3779;
  background: #f8f9ff;
}

.payment-option.selected {
  border-color: #0d3779;
  background: #f8f9ff;
}

.payment-option input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #0d3779;
  cursor: pointer;
}

.payment-option label {
  cursor: pointer;
  margin: 0;
  padding-left: 12px;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 16px;
}

.payment-description {
  margin-top: 8px;
  padding-left: 32px;
  font-size: 14px;
  color: #666;
}

.place-order-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #0d3779 0%, #1a4a9f 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 24px;
  box-shadow: 0 4px 12px rgba(13, 55, 121, 0.3);
}

.place-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 55, 121, 0.4);
}

.back-to-cart-btn {
  width: 100%;
  padding: 14px;
  background: #fff;
  color: #0d3779;
  border: 2px solid #0d3779;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 12px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}

.back-to-cart-btn:hover {
  background: #f8f9fa;
  text-decoration: none;
  color: #0d3779;
}

.secure-checkout {
  text-align: center;
  margin-top: 16px;
  color: #666;
  font-size: 13px;
}

.secure-checkout i {
  color: #28a745;
  margin-right: 6px;
}

@media (max-width: 768px) {
  .checkout-steps {
    flex-direction: column;
    gap: 12px;
  }

  .step-divider {
    display: none;
  }

  .order-summary-card {
    position: static;
    margin-top: 24px;
  }
}

/**********************************/
/********* My Account CSS *********/
/**********************************/

    .my-account-modern {
        background: linear-gradient(to right, #e7e8eb, #d5dce4);
        padding: 40px 0;
    }

    .account-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .account-header h1 {
        font-size: 32px;
        font-weight: 800;
        color: #1a1a1a;
        margin-bottom: 10px;
    }

    .account-header p {
        color: #666;
        font-size: 16px;
    }

    /* Modern Sidebar Navigation */
    .account-sidebar {
        background: #fff;
        border-radius: 16px;
        padding: 24px 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        position: sticky;
        top: 100px;
    }

    .account-sidebar .nav-link {
        padding: 16px 24px;
        color: #666;
        font-weight: 500;
        font-size: 15px;
        border-left: 3px solid transparent;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .account-sidebar .nav-link i {
        font-size: 18px;
        width: 20px;
    }

    .account-sidebar .nav-link:hover {
        color: #0d3779;
        background: #f8f9ff;
        border-left-color: #0d3779;
    }

    .account-sidebar .nav-link.active {
        color: #0d3779;
        background: linear-gradient(90deg, #a6c1eb 0%, #fff 100%);
        border-left-color: #0d3779;
        font-weight: 600;
    }

    .account-sidebar .nav-link.logout-link {
        color: #dc3545;
        margin-top: 12px;
        border-top: 1px solid #f0f0f0;
        padding-top: 24px;
    }

    .account-sidebar .nav-link.logout-link:hover {
        background: #fff5f5;
        border-left-color: #dc3545;
    }

    /* Content Cards */
    .account-content {
        background: #fff;
        border-radius: 16px;
        padding: 32px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        min-height: 400px;
    }

    .content-header {
        font-size: 24px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 2px solid #f0f0f0;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .content-header i {
        color: #0d3779;
        font-size: 28px;
    }

    /* Dashboard Cards */
    .dashboard-card {
        background: linear-gradient(135deg, #dee7f0 0%, #d2deee 100%);
        border-left: 4px solid #0d3779;
        border-radius: 12px;
        padding: 24px;
        margin-bottom: 20px;
        transition: all 0.3s;
    }

    .dashboard-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(13, 55, 121, 0.1);
    }

    .dashboard-card h6 {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 16px;
    }

    .dashboard-info {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
        font-size: 14px;
    }

    .dashboard-info i {
        color: #0d3779;
        font-size: 18px;
        width: 24px;
    }

    .dashboard-info strong {
        color: #333;
    }

    .dashboard-info .text-muted {
        display: block;
        margin-top: 4px;
        font-size: 13px;
        color: #999;
    }

    /* Modern Form Inputs */
    .modern-form-group {
        margin-bottom: 20px;
    }

    .modern-form-label {
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
        font-size: 14px;
        display: block;
    }

    .modern-form-input,
    .modern-form-select {
        border: 2px solid #e8e8e8;
        border-radius: 10px;
        padding: 12px 16px;
        font-size: 15px;
        transition: all 0.2s;
        width: 100%;
        height: 48px;
    }

    .modern-form-input:focus,
    .modern-form-select:focus {
        border-color: #0d3779;
        box-shadow: 0 0 0 3px rgba(13, 55, 121, 0.1);
        outline: none;
    }

    /* Modern Buttons */
    .modern-btn-primary {
        padding: 14px 32px;
        background: linear-gradient(135deg, #0d3779 0%, #1a4a9f 100%);
        color: #fff;
        border: none;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 4px 12px rgba(13, 55, 121, 0.2);
    }

    .modern-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(13, 55, 121, 0.3);
    }

    .modern-btn-secondary {
        padding: 12px 24px;
        background: #fff;
        color: #0d3779;
        border: 2px solid #0d3779;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .modern-btn-secondary:hover {
        background: #f8f9ff;
    }

    /* Orders Table */
    .modern-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        margin-top: 20px;
    }

    .modern-table thead {
        background: linear-gradient(135deg, #0d3779 0%, #1a4a9f 100%);
    }

    .modern-table thead th {
        padding: 16px;
        color: #fff;
        font-weight: 600;
        font-size: 14px;
        text-align: left;
        border: none;
    }

    .modern-table thead th:first-child {
        border-radius: 12px 0 0 0;
    }

    .modern-table thead th:last-child {
        border-radius: 0 12px 0 0;
    }

    .modern-table tbody tr {
        background: #fff;
        transition: all 0.2s;
    }

    .modern-table tbody tr:hover {
        background: #f8f9ff;
    }

    .modern-table tbody td {
        padding: 16px;
        color: #666;
        font-size: 14px;
        border-bottom: 1px solid #d2d4d6;
    }

    .modern-table tbody tr:last-child td:first-child {
        border-radius: 0 0 0 12px;
    }

    .modern-table tbody tr:last-child td:last-child {
        border-radius: 0 0 12px 0;
    }

    .status-badge {
        display: inline-block;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
    }

    .status-badge.approved {
        background: #d4edda;
        color: #155724;
    }

    .status-badge.pending {
        background: #fff3cd;
        color: #856404;
    }

    .status-badge.cancelled {
        background: #f8d7da;
        color: #721c24;
    }

    /* Alert Messages */
    .modern-alert {
        border-radius: 12px;
        border: none;
        padding: 16px 20px;
        margin-bottom: 24px;
        font-size: 15px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .modern-alert-success {
        background: #d4edda;
        color: #155724;
        border-left: 4px solid #28a745;
    }

    .modern-alert-danger {
        background: #f8d7da;
        color: #721c24;
        border-left: 4px solid #dc3545;
    }

    .modern-alert i {
        font-size: 20px;
    }

    /* Password Strength Indicator */
    .password-helper {
        margin-top: 8px;
        font-size: 13px;
    }

    .password-error {
        color: #dc3545;
        display: none;
        align-items: center;
        gap: 8px;
        margin-top: 8px;
    }

    .password-error i {
        font-size: 16px;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .account-sidebar {
            position: static;
            margin-bottom: 24px;
        }

        .account-content {
            padding: 24px 20px;
        }

        .content-header {
            font-size: 20px;
        }

        .modern-table {
            font-size: 13px;
        }

        .modern-table thead th,
        .modern-table tbody td {
            padding: 12px 8px;
        }
    }

/**********************************/
/*********** Brand CSS ************/
/**********************************/
.brand {
  position: relative;
  padding: 0 0 60px 0;
}

.brand-item {
  text-align: center;
}

.brand-item img {
  max-width: 100%;
  margin: auto;
}

/**********************************/
/********** Contact CSS ***********/
/**********************************/
 .contact-modern {
        background: #f5f7fa;
        padding: 40px 0;
    }

    .contact-header {
        text-align: center;
        margin-bottom: 10px;
    }

    .contact-header h1 {
        font-size: 42px;
        font-weight: 800;
        color: #1a1a1a;
        margin-bottom: 16px;
    }

    .contact-header p {
        font-size: 18px;
        color: #666;
        max-width: 700px;
        margin: 0 auto;
        line-height: 1.8;
    }

    /* Contact Form Card */
    .contact-form-card {
        background: #fff;
        border-radius: 20px;
        padding: 48px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        height: 100%;
    }

    .contact-form-header {
        margin-bottom: 32px;
    }

    .contact-form-header h3 {
        font-size: 28px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .contact-form-header h3 i {
        color: #0d3779;
        font-size: 32px;
    }

    .contact-form-header p {
        color: #666;
        font-size: 15px;
        line-height: 1.6;
    }

    .modern-form-group {
        margin-bottom: 24px;
    }

    .modern-form-label {
        font-weight: 600;
        color: #333;
        margin-bottom: 10px;
        font-size: 14px;
        display: block;
    }

    .modern-form-input,
    .modern-form-textarea {
        border: 2px solid #e8e8e8;
        border-radius: 12px;
        padding: 14px 18px;
        font-size: 15px;
        transition: all 0.3s;
        width: 100%;
        color: #333;
    }

    .modern-form-input {
        height: 52px;
    }

    .modern-form-textarea {
        min-height: 140px;
        resize: vertical;
    }

    .modern-form-input:focus,
    .modern-form-textarea:focus {
        border-color: #0d3779;
        box-shadow: 0 0 0 4px rgba(13, 55, 121, 0.1);
        outline: none;
    }

    .modern-submit-btn {
        width: 100%;
        padding: 18px;
        background: linear-gradient(135deg, #0d3779 0%, #1a4a9f 100%);
        color: #fff;
        border: none;
        border-radius: 12px;
        font-size: 17px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 4px 16px rgba(13, 55, 121, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .modern-submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(13, 55, 121, 0.4);
    }

    .modern-submit-btn i {
        font-size: 20px;
    }

    /* Contact Info Card */
    .contact-info-card {
        background: linear-gradient(135deg, #0d3779 0%, #1a4a9f 100%);
        border-radius: 20px;
        padding: 48px;
        color: #fff;
        box-shadow: 0 4px 20px rgba(13, 55, 121, 0.3);
        height: 100%;
    }

    .contact-info-header {
        margin-bottom: 32px;
    }

    .contact-info-header h3 {
        font-size: 28px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 16px;
    }

    .contact-info-header p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 15px;
        line-height: 1.8;
    }

    .contact-info-item {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 28px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        transition: all 0.3s;
    }

    .contact-info-item:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(8px);
    }

    .contact-info-icon {
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .contact-info-icon i {
        font-size: 24px;
        color: #fff;
    }

    .contact-info-text h4 {
        font-size: 14px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .contact-info-text p {
        font-size: 16px;
        color: #fff;
        margin: 0;
        font-weight: 500;
    }

    /* Social Media */
    .social-links {
        margin-top: 36px;
        padding-top: 32px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .social-links h4 {
        font-size: 16px;
        font-weight: 600;
        color: #fff;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .social-links-container {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .social-link {
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
        text-decoration: none;
    }

    .social-link:hover {
        background: #fff;
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

    .social-link i {
        font-size: 20px;
        color: #fff;
        transition: all 0.3s;
    }

    .social-link:hover i {
        color: #0d3779;
    }

    /* Location Map Section */
    .location-section {
        margin-top: 80px;
    }

    .location-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .location-header h2 {
        font-size: 36px;
        font-weight: 800;
        color: #1a1a1a;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .location-header h2 i {
        color: #0d3779;
    }

    .location-header p {
        color: #666;
        font-size: 16px;
    }

    .map-container {
        background: #fff;
        border-radius: 20px;
        padding: 8px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        overflow: hidden;
    }

    .map-container iframe {
        width: 100%;
        height: 450px;
        border: none;
        border-radius: 16px;
    }

    /* Responsive */
    @media (max-width: 991px) {
        .contact-form-card,
        .contact-info-card {
            padding: 36px;
            margin-bottom: 30px;
        }

        .contact-header h1 {
            font-size: 32px;
        }

        .location-header h2 {
            font-size: 28px;
        }
    }

    @media (max-width: 767px) {
        .contact-modern {
            padding: 60px 0;
        }

        .contact-form-card,
        .contact-info-card {
            padding: 28px;
        }

        .contact-header h1 {
            font-size: 28px;
        }

        .contact-form-header h3,
        .contact-info-header h3 {
            font-size: 24px;
        }

        .location-section {
            margin-top: 60px;
        }

        .map-container iframe {
            height: 350px;
        }
    }

    .modal-content {
        border-radius: 8px;
        border: 1px solid #ddd;
    }
    .modal-header {
        background-color: #e7f5ff;
        border-bottom: 1px solid #ddd;
        border-radius: 8px 8px 0 0;
    }
    .modal-body {
        font-size: 1.1rem;
        color: #333;
    }
    .modal-footer button {
        font-weight: 600;
        background-color: #28a745;
        border-color: #28a745;
        color: #fff;
        padding: 10px 20px;
        border-radius: 4px;
    }
    .modal-footer button:hover {
        background-color: #218838;
        border-color: #1e7e34;
    }
    .modal-title {
        font-size: 1.5rem;
    }

/**********************************/
/****** Register & Login CSS ******/
/**********************************/
.login {
  position: relative;
  padding: 60px 0;
}

.register-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.register-card:hover {
  transform: translateY(-3px);
}

.register-title {
  font-weight: 700;
  color: #0d3779;
}

.input-group-text {
  background-color: #0d3779;
  color: white;
  border: none;
  border-radius: 10px 0 0 10px;
}

.form-control {
  border-radius: 0 10px 10px 0;
  box-shadow: none;
  border: 1px solid #ced4da;
  padding: 12px;
}

.form-label {
  font-weight: 600;
}

.btn-register {
  background: #0d3779;
  color: #fff;
  border: none;
  border-radius: 50px !important;
  font-weight: 600;
  padding: 12px 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-register::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: all 0.6s ease;
}

.btn-register:hover::before {
  left: 100%;
}

.btn-register:hover {
  background: #12408e;
  box-shadow: 0 0 15px rgba(13, 55, 121, 0.5);
  transform: translateY(-1px);
  color: #fff;
}

.alert {
  border-radius: 10px;
}

.login-text a {
  color: #0d3779;
  font-weight: 600;
  text-decoration: none;
}

.login-text a:hover {
  text-decoration: underline;
}


/* ================================
   MODERN FOOTER CSS
   Fully Responsive & Compatible
   ================================ */

/* Footer Main Container */
.footer {
    position: relative;
    padding: 60px 0 0 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #0d3779 100%);
    color: #ffffff;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 992px) {
    .footer .container-fluid {
        max-width: 1400px;
    }
}

/* Footer Grid Layout */
.footer > .container-fluid > .row:first-child {
    margin-bottom: 40px;
}

.footer .col-lg-3,
.footer .col-md-6 {
    margin-bottom: 40px;
}

/* Logo Section */
.footer .logo {
    margin-bottom: 24px;
}

.footer .logo img {
    max-width: 180px !important;
    height: auto;
    transition: transform 0.3s ease;
}

.footer .logo a:hover img {
    transform: scale(1.05);
}

/* Footer Widget Styling */
.footer .footer-widget {
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.footer .footer-widget h1,
.footer .footer-widget h3,
.footer .footer-widget .title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
    white-space: normal;
}

.footer .footer-widget h1::after,
.footer .footer-widget h3::after,
.footer .footer-widget .title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, transparent);
    border-radius: 2px;
}

.footer .footer-widget p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 20px;
}

/* Footer Links */
.footer .footer-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer .footer-widget ul li {
    margin-bottom: 14px;
}

.footer .footer-widget ul li:last-child {
    margin-bottom: 0;
}

.footer .footer-widget ul li a {
    color: rgba(255, 255, 255, 0.85);
    white-space: normal;
    display: inline-block;
    line-height: 1.6;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

/* Remove FontAwesome arrow icon */
.footer .footer-widget ul li a::before {
    content: '' !important;
    font-family: inherit !important;
    padding-right: 0 !important;
}

/* Add modern underline effect */
.footer .footer-widget ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.footer .footer-widget ul li a:hover {
    color: #ffffff;
    transform: translateX(5px);
    padding-left: 0 !important;
}

.footer .footer-widget ul li a:hover::after {
    width: 100%;
}

/* Contact Information */
.footer .contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
}

.footer .contact-info p:last-of-type {
    margin-bottom: 0;
}

.footer .contact-info p i {
    color: #3b82f6;
    margin-right: 12px;
    margin-top: 4px;
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

/* Social Links Section */
.footer .social-links {
    margin-top: 28px;
}

.footer .social-links h4 {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
    color: #ffffff;
}

.footer .social-links-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer .social-link {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: none;
}

.footer .social-link:hover {
    background: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.footer .social-link i {
    font-size: 18px;
    color: #ffffff;
    margin: 0;
}

/* Legacy Social Styling (if needed) */
.footer .social {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.footer .social a {
    display: inline-block;
    margin: 10px 8px 0 0;
    width: 42px;
    height: 42px;
    padding: 0;
    text-align: center;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    line-height: 42px;
    transition: all 0.3s ease;
}

.footer .social a:hover {
    background: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.footer .social a i {
    color: #ffffff;
}

/* Payment Section */
.footer .payment {
    padding: 30px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 40px 0 0;
}

@media (min-width: 992px) {
    .footer .payment {
        max-width: 100%;
        margin: 40px auto 0;
    }
}

.footer .payment .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer .payment .col-md-6 {
    flex: 1;
    min-width: 250px;
}

.footer .payment-method,
.footer .payment-security {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: visible;
    flex-wrap: wrap;
}

.footer .payment-method {
    text-align: left;
    justify-content: flex-start;
}

.footer .payment-security {
    text-align: right;
    justify-content: flex-end;
}

.footer .payment-method p,
.footer .payment-security p {
    display: inline-block;
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
}

.footer .payment-method img,
.footer .payment-security img {
    height: 32px;
    width: auto;
    background: white;
    padding: 6px 10px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.footer .payment-method img:hover,
.footer .payment-security img:hover {
    transform: scale(1.05);
}

/* Footer Bottom Section */
.footer-bottom {
    position: relative;
    padding: 24px 0;
    background: linear-gradient(to right, #f8f9fc, #eef2f7);
}

.footer-bottom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-bottom .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
}

.footer-bottom .col-md-6 {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #3b82f6!important;
}

.footer-bottom a {
    color: #072047!important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #60a5fa;
    text-decoration: none;
}

.footer-bottom .copyright,
.footer-bottom .template-by {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom .copyright p,
.footer-bottom .template-by p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin: 0;
}

.footer-bottom .copyright p a,
.footer-bottom .template-by p a {
    font-weight: 500;
    color: #3b82f6;
}

/* Back to Top Button */
/* .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.6);
    color: white;
    text-decoration: none;
}

.back-to-top i {
    font-size: 20px;
    color: white;
} */

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer .col-lg-3,
.footer .col-md-6 {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.footer .col-lg-3:nth-child(1),
.footer .col-md-6:nth-child(1) {
    animation-delay: 0.1s;
}

.footer .col-lg-3:nth-child(2),
.footer .col-md-6:nth-child(2) {
    animation-delay: 0.2s;
}

.footer .col-lg-3:nth-child(3),
.footer .col-md-6:nth-child(3) {
    animation-delay: 0.3s;
}

.footer .col-lg-3:nth-child(4),
.footer .col-md-6:nth-child(4) {
    animation-delay: 0.4s;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Tablet Devices (768px - 991px) */
@media (max-width: 991.98px) {
    .footer {
        padding: 60px 0 0 0;
    }
    
    .footer .container-fluid {
        max-width: 100%;
    }
}

/* Mobile Devices (below 768px) */
@media (max-width: 768.98px) {
    .footer {
        padding: 50px 0 0 0;
    }
    
    .footer .col-md-6 {
        margin-bottom: 35px;
    }
    
    .footer .payment {
        padding: 25px 0 30px;
    }
    
    .footer .payment .row {
        flex-direction: column;
        text-align: center;
    }
    
    .footer .payment-method,
    .footer .payment-security {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    
    .footer-bottom .row {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom .text-md-left,
    .footer-bottom .text-md-right {
        text-align: center !important;
    }
    
    .footer-bottom .copyright,
    .footer-bottom .template-by {
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Small Mobile Devices (below 576px) */
@media (max-width: 575.98px) {
    .footer {
        padding: 40px 0 0 0;
    }
    
    .footer .logo img {
        max-width: 150px !important;
    }
    
    .footer .footer-widget h1,
    .footer .footer-widget h3,
    .footer .footer-widget .title {
        font-size: 16px;
    }
    
    .footer .footer-widget p {
        font-size: 14px;
    }
    
    .footer .footer-widget ul li a {
        font-size: 14px;
    }
    
    .footer .contact-info p {
        font-size: 13px;
    }
    
    .footer .social-link {
        width: 38px;
        height: 38px;
    }
    
    .footer .payment-method p,
    .footer .payment-security p {
        font-size: 14px;
    }
    
    .footer .payment-method img,
    .footer .payment-security img {
        height: 28px;
    }
    
    .footer-bottom p {
        font-size: 13px;
    }
}

/* Extra Small Devices (below 375px) */
@media (max-width: 374.98px) {
    .footer .logo img {
        max-width: 130px !important;
    }
    
    .footer .social-link {
        width: 36px;
        height: 36px;
    }
    
    .footer .social-link i {
        font-size: 16px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
    
    .back-to-top i {
        font-size: 18px;
    }
}
/* new Css .................................................... */

/*** mega menu css ***/

/* Mega menu wrapper */
.mega-dropdown {
  position: static;
}
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 120%;
  width: 100%;
  background: #f8f9fa;
  border-top: 3px solid #0d3779;
  display: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* Show on hover (desktop) */
@media (min-width: 768px) {
  .mega-dropdown:hover .mega-menu {
    display: block;
  }
}

/* Dropdown items */
.mega-menu h6 {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}
.mega-menu .dropdown-item {
  padding: 5px 0;
  font-size: 14px;
  color: #333;
}
.mega-menu .dropdown-item:hover {
  color: #0d3779;
  background: transparent;
}

/* Mobile: stacked, not absolute */
@media (max-width: 767.98px) {
  .mega-menu {
    position: relative;
    top: 0;
    box-shadow: none;
  }
}

/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments {
  overflow: hidden;
  padding: 60px 0;
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
}

.departments .section-title h2 {
  font-weight: 700;
  font-size: 32px;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.departments .section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color, #0d6efd);
  border-radius: 2px;
}

.departments .section-title p {
  color: #666;
  font-size: 15px;
}

/* Tabs */
.departments .nav-tabs {
  border: none;
}

.departments .nav-item {
  margin-bottom: 12px;
}

.departments .nav-link {
  border: none;
  /* padding: 14px 18px; */
  font-weight: 600;
  font-size: 15px;
  color: #444;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.departments .nav-link:hover {
  background: linear-gradient(90deg, #0d6efd15, #ffffff);
  color: var(--accent-color, #0d6efd);
  transform: translateX(5px);
}

.departments .nav-link.active {
  background: linear-gradient(90deg, var(--accent-color, #0d6efd), #007bff);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateX(0);
}

/* Content Area */
.departments .tab-content {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.departments .tab-pane.active {
  animation: fadeIn 0.6s ease-in-out;
}

.departments .details h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.departments .details p {
  color: #555;
  line-height: 1.7;
}

.departments .details p.fst-italic {
  color: #777;
  font-size: 15px;
}

/* Fade-in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .departments .nav-link {
    margin-bottom: 10px;
    text-align: center;
  }

  .departments .tab-content {
    margin-top: 20px;
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# ORDER POP UP
--------------------------------------------------------------*/
    


/*** whatsapp ***/
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 12px;
    z-index: 9999;
}

.whatsapp-button {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 45px;
    background-color: #25D366;
    border-radius: 50%;
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
    text-align: center;
    line-height: 45px;
    transition: transform 0.2s;
}

.whatsapp-button:hover {
    transform: scale(1.05);
}

.whatsapp-button img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 0px;
    bottom: 55%;
    transform: translateY(-50%);
    background-color: #ffffff;
    color: #444;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ** Back to Top ** */
.back-to-top {
    position: fixed;
    bottom: 10px;
    right: 70px;
    width: 45px;
    height: 45px;
    display: none; 
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 99;
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}
/* SweetAlert2 Z-Index Fix */
.swal2-container {
    z-index: 999999 !important;
}