/* Primary color: rgb(238, 160, 16)     - blue*/
/* Secondary color: #002261   - dark blue*/

/*
section title - 18px
section heading title - text: 40px, font-weight: 600px
Line height - 1.8px


*/

/* Universal Style */
/* Global reset for margin, padding, and box-sizing */

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color: #0039a2; /* Primary color (like buttons, headings) */
  --secondary-color: #f79420; /* Secondary (sub-headings, borders) */
  --background-color: #f8f9fa; /* Background color */
  --text-color: #f8f9fa; /* Default text color */
  --light-text-color: #555; /* Lighter text color */
  --card-background: #fff; /* Card background */
  --border-color: #ddd; /* Border color */
  --hover-color: #1e4ca1; /* Hover effect color */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styles */
body {
  font-family: "Poppins", serif;
  line-height: 1.6;
}

/* Common Styles */

ul > li {
  list-style-type: none;
}
li {
  list-style-type: none;
}

/* button style */
.btn-buy {
  background-color: var(--secondary-color);
  color: #000;
  font-size: 14px;
  padding: 6px 12px;
  border: none;
  border-radius: 5px;
  line-height: 1.8;
}
.btn-buy:hover {
  background-color: var(--primary-color);
  color: #fff;
}
.btn-buy-publication {
  background-color: var(--secondary-color);
  color: #000;
  font-size: 14px;
  padding: 6px 12px;
  border: none;
  border-radius: 5px;
  line-height: 1.8;
}
.btn-buy-publication:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* button end */
/* Section title */
.section-title h2 {
  font-weight: 800;
  padding: 5px 0px;
  text-transform: capitalize;
  font-size: 20px;
  /* margin-bottom: 15px; */
  /* border-bottom: 5px dotted #2EA6F7; */
  display: inline-block;
  text-transform: uppercase;
}
.section-span-title {
  color: var(--secondary-color);
}
.section-heading-title {
  font-size: 18px;
  font-weight: 600;
  /* margin-bottom: 10px;
  margin-top: 10px; */
}
.section-sub-title-text {
  font-size: 12px;
  margin: 10px 0 5px;
  font-weight: bold;
  color: #343a40;
}

/* popup offer close btn */
.modal-content {
  padding: 30px;
}
.btn-close {
  position: absolute;
  top: 9px;
  left: 93%;
}

/* =============== Preloader =================*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 5px solid var(--secondary-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.preloader-text {
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  color: #555;
  text-transform: uppercase;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Preloader Logo */
.preloader-logo {
  width: 120px; /* Standard Size */
  height: auto;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* Hide Preloader after Page Load */
.loaded #preloader {
  opacity: 0;
  visibility: hidden;
}

/* =============Preloader End================== */

/* Page Content (hidden initially) */
#mainContent {
  display: none;
}

/* Custom styles for the top navbar */
.top-navbar {
  background-color: #f5f5f5;
  color: #000;
}

/* Adjust icons spacing */
.top-navbar .contact-info span,
.top-navbar .social-icons span,
#doctors-content .social-icons span,
#footer-section .social-icons span,
.author-section .social-icons span{
  font-size: 16px;
  color: #000;
}

/* Social media icon spacing */
.top-navbar .social-icons i,
#doctors-content .social-icons i,
#footer-section .social-icons i,
.author-section .social-icons i {
  font-size: 15px;
  display: inline-block;
  margin: 0 10px;
}
.top-navbar .social-icons span,
#doctors-content .social-icons span,
#footer-section .social-icons span,
.author-section .social-icons span {
  display: inline-block;
  margin: 0 2px;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
  transition: transform 0.5s ease;
}
.top-navbar .social-icons span:hover,
#doctors-content .social-icons span:hover,
#footer-section .social-icons span:hover,
.author-section .social-icons span:hover {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
  transform: rotate(360deg);
  cursor: pointer;
}

/* Responsive Mobile view for top navbar */
@media (max-width: 768px) {
  .top-navbar {
    display: none;
  }
  .top-navbar .contact-info {
    font-size: 14px;
  }
  .contact-info,
  .social-icons {
    text-align: center;
    margin: 5px 0;
  }
}
@media (max-width: 468px) {
  .top-navbar .social-icons i {
    font-size: 15px;
  }
  .top-navbar .social-icons span {
    display: inline-block;
    height: 30px;
    width: 30px;
    line-height: 30px;
  }
}

/* Main header styling */
/* .navaigation-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px 120px;
} */
.navaigation-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px clamp(0px, 0vw, 120px);
}

/* Logo styles */

.logo a {
  max-width: 100%;
  text-decoration: none;
  color: #000;
  height: auto;
  max-height: 50px;
  font-size: 30px;
}
.logo-single-item {
  color: rgb(238, 160, 16);
  font-weight: 600;
}
.logo img {
  max-width: 134px;
  height: 60px;
  display: block;
  object-fit: contain;
}

/* Optional - Center logo */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo img {
    max-width: 150px; /* Slightly smaller on tablets */
  }
}

@media (max-width: 480px) {
  .logo img {
    max-width: 90px;
  }
}
/* Desktop navigation menu */
/* Sticky menu styles */
.navaigation-menu {
  background-color: white;
  transition: all 0.5s ease;
}

/* search bar top */

.search-container {
  position: relative;
  width: 500px;
}

.search-input {
  height: 40px;
  border-radius: 30px !important;
  padding-left: 35px;
  /* border: 1px solid #000; */
  border: 1px solid #0039a238;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.search-input:focus {
  border-color: #f7942054; /* Secondary focus border color */
  box-shadow: 0 0 8px rgba(247, 148, 32, 0.5);
}
.search-input::placeholder{
  font-size: 16px;
}
.search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #888;
}
.cart-singIn-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.cart-singIn-area li {
  list-style-type: none;
}
.cart-singIn-area a {
  text-decoration: none;
  color: #002261;
  font-weight: bold;
}
.cart-singIn-area a:hover,
.cart-singIn-area .cart-icon:hover {
  color: var(--secondary-color);
}
.cart-singIn-area .fa-cart-shopping {
  cursor: pointer;
}
/* cart items show  */
.cart-product-items  {
  position: relative;
  margin-left: 0;
  margin-top: 0;
}
.sticky-cart-product-items  {
  position: relative;
}
.total-cart-items {
  position: absolute;
  height: 25px;
  width: 25px;
  top: -20px;
  right: -20px;
  background-color: red;
  color: #fff;
  padding: 0px;
  border-radius: 50%;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
}
@media (max-width: 480px) {
  .total-cart-items {
    height: 20px;
    width: 20px;
    top: -10px;
    right: -13px;
    font-size: 12px;
  }
  .search-input::placeholder{
    font-size: 12px;
  }
}
/* Style when the menu is sticky */
/* .sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 10px clamp(20px, 0vw, 120px);
  animation: slideDown 0.3s ease;
}   */

/* =======================Add code Start======================= */

/* =======================Add code end======================= */

/* Optional: Add some padding to the top of the body when sticky menu is active */
/* body.sticky-nav {
  padding-top: 60px;
} */

/* Desktop navigation menu */
.nav-links {
  list-style: none;
  display: flex;
  gap: 5px;
  padding-top: 17px;
  justify-content: center;
  align-items: center;
}

.nav-links li {
  display: inline-block;
}

.nav-links li a {
  color: #000;
  text-decoration: none;
  padding: 10px 8px;
  font-size: 18px;
  transition: background-color 0.3s ease-in-out;
}

.nav-links li a:hover {
  /* background-color: #28a9e0; */
  border-radius: 5px;
  color: #28a9e0;
}

/* Hamburger (three dots) icon styles */
.hamburger {
  display: none;
  font-size: 30px;
  color: #000;
  cursor: pointer;
  text-align: right;
  margin-right: 0px;
  padding-top: 5px;
}

/* ================ Menu Items Start========== */
.menu-container {
  display: flex;
  justify-content: center;
  background-color: var(--primary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: var(--text-color);
  padding: 5px 0;
  position: relative;
}

.menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin-bottom: 0;
}

.menu > li {
  position: relative;
}

.menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 16px;
  padding: 10px 0;
  display: inline-block;
  transition: color 0.3s;
}

.menu a:hover {
  color: var(--secondary-color);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  padding-left: 0;
  display: none;
  z-index: 100;
  min-width: 200px;
}

.menu li:hover .dropdown,
.mobile-menu li:hover .dropdown {
  display: block;
}

.dropdown li {
  list-style: none;
}

.dropdown a {
  padding: 10px 15px;
  display: block;
  font-size: 14px;
  color: #000;
}

.dropdown a:hover {
  background-color: #f4f4f4;
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .menu-container {
    padding: 10px;
    display: none;
  }
  .menu {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding-left: 0px;
  }
  .menu a {
    font-size: 14px;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background-color: transparent;
    display: none;
  }
  .menu li:hover .dropdown {
    display: block;
  }
  .dropdown a {
    background-color: #ddd;
    color: #000 !important;
    /* padding: 8px; */
    display: inline-block;
    margin-left: 20px;
    padding-left: 20px !important;
    border-radius: 5px;
  }
}
/* ================ Menu Items End ========== */
/* ==========Sticky Menu Start============ */

/* Sticky Menu */
.sticky-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  justify-content: space-between;
  align-items: center;
  padding: 10px clamp(20px, 0vw, 120px);
}

.sticky-menu.active {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px clamp(115px, 0vw, 120px);
}

.sticky-logo a {
  max-width: 100%;
  text-decoration: none;
  color: #000;
  height: auto;
  max-height: 50px;
  font-size: 30px;
}
.sticky-logo img {
  /* height: 40px; */
  max-width: 134px;
  height: 60px;
  display: block;
  object-fit: contain;
}

.sticky-menu-items {
  display: flex;
  gap: 20px;
  align-items: center;
}

.sticky-menu-items a {
  text-decoration: none;
  color:  #000;
  font-weight: 400;
  font-size: 16px;
  margin: 0px -6px;
  padding: 10px 0;
  display: inline-block;
  transition: color 0.3s;
}
.sticky-menu-items .dropdown a {
  padding: 10px 15px;
    display: block;
    font-size: 14px;
}
.sticky-mobile-hamburger-container{
  display: none;
}



/* Responsive Design */
@media (max-width: 768px) {
  .search-input {
    width: 150px;
  }

}
@media (max-width: 480px) {
  .sticky-logo img {
    max-width: 90px;
}

}

/* ==========Sticky Menu End============ */
/* ================ Mobile Menu Items Start ========== */

/* Mobile Menu Styles */
/* .mobile-menu {
  position: fixed;
  top: 0;
  left: -594px;
  width: 594px;
  height: auto;
  background-color: #333;
  transition: left 0.8s ease;
  z-index: 1000;
} */

/* ============= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 400px;
  height: 100%;
  background-color: var(--primary-color);
  transition: left 0.8s ease;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  z-index: 1000;
}

/* Close Button */
.mobile-menu .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
}
/* ============= */

.mobile-nav-links {
  list-style: none;
  padding: 50px 0 0 20px;
}

.mobile-nav-links li {
  margin: 5px 0;
}

.mobile-nav-links li a {
  text-decoration: none;
  color: white;
  font-size: 20px;
  padding: 5px 0;
  display: block;
  transition: background-color 0.3s ease-in-out;
}

.mobile-nav-links li a:hover {
  background-color: #575757;
  border-radius: 5px;
}


/* Mobile-specific styles */
@media (max-width: 1024px) {
  /* header .navaigation-menu {
    padding: 10px 60px;
  } */
  .search-container {
    width: 400px;
  }
}
@media (max-width: 768px) {
  header .navaigation-menu {
    padding: 10px 40px;
  }
  .hamburger {
    display: block;
    color: #000;
  }
  .mobile-hamburger-container {
    background-color:transparent;
  }
  .nav-links {
    display: none;
  }
  .search-container {
    width: 300px;
  }
}
/* Make logo smaller on very small devices (optional) */
@media (max-width: 576px) {
  .logo img {
    max-height: 40px;
  }
  .search-container {
    width: 200px;
  }
  header .navaigation-menu {
    padding: 10px 20px;
  }
}
@media (max-width: 450px) {
  .logo a {
    font-size: 16px;
  }
  .search-container {
    width: 150px;

  }
  header .navaigation-menu {
    padding: 10px 20px;
  }
}
@media (max-width: 400px) {
  .navaigation-menu{
    position: relative;
  }
  .logo img {
    min-width: 70px;
  }
  header .navaigation-menu {
    padding: 10px 0px;
}
  .hamburger {
    font-size: 20px;
    /* margin-top: 5px;  */
    /* padding:0 10px; */
    padding-left: 15px;
  }
  .search-container {
    /* display: none; */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ddd;
    padding: 10px 0;
    width: 100%;
    overflow: hidden;
    text-align: center;
    z-index: 1000;
  }
  .search-input {
    width: 260px;
    margin: 0 auto;
}
.search-icon {
  left: 16%;
}
.sticky-cart-product-items{
  margin-left: 140px;
  margin-top: 10px;
}

}

/* Large devices (e.g., desktops) */
@media (min-width: 1024px) {
  .logo img {
    max-height: 50px; /* Keep original logo size for large screens */
  }
}

@media (max-width: 768px) {
  .mobile-menu {
    width: 100%;
    left: -100%;
  }
}

/* ================ Mobile Menu Items Start ========== */
/* =================Bannar Section Start ================*/
.header-slider {
  background-color: #eee;
  z-index: 9999;
  /* margin-top: 80px; */
  overflow: hidden;
}
/* Carousel Item */
.carousel-item {
  position: relative;
  max-width: 100%;
  height: 50vh;
  overflow: hidden;
}

/* Image Style */
.carousel-item img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Overlay on the image */
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.5);  */
  z-index: 1;
}

/* Carousel Caption */
.carousel-caption {
  width: 60%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the text */
  z-index: 2; /* Ensure text is above the overlay */
  text-align: center;
  color: #fff; /* White color for text */
}
.carousel-caption span {
  color: #2ea6f7;
  font-weight: bold;
  text-decoration: underline;
}
/* Heading Style */
.carousel-caption h5 {
  font-size: 2.5rem;
  font-weight: bold;
}

/* Paragraph Style */
.carousel-caption p {
  font-size: 1.25rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .carousel-caption h5 {
    font-size: 2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }
}

@media (max-width: 1024px) {
  .carousel-item {
      height: 35vh;
  }
}
@media (max-width: 768px) {
  .carousel-item {
      height: 25vh;
  }
}

@media (max-width: 480px) {
  .carousel-item {
      height: 17vh;
  }
}
@media (max-width: 400px) {
  .header-slider {
    margin-top: 60px;
  }
}
/* =================Bannar Section End ================*/

/* =================Features Book Section Start ================*/
#books-features {
  padding: 10px 0;
}
#books-features .section-title {
  padding: 10px 0;
}
/* .book-card {
  background: #fff;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.book-card img {
  width: 60%;
  height: 250px;
  padding: 10px;
  margin: 0 auto;
  object-fit: cover;
} */
.book-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  /*min-height: 350px;*/
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.book-card:hover {
  transform: translateY(-8px);
  /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); */
  border-color: var(--primary-color);
}

.book-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  /* background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );   */
}

.book-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05); /* Soft overlay */
  pointer-events: none;
  z-index: 1;
}

/* Center the image horizontally, make it responsive, and maintain aspect ratio */
.book-card img {
  width: 90%;
  height: auto;
  max-height: 250px;
  padding: 10px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

.price-buy-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* For smaller screens (optional), adjust image size if needed */
@media (max-width: 768px) {
  .book-card img {
    width: 80%;
  }
}
@media (max-width: 450px) {
  .price-buy-btn {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ===== */
.book-card-body {
  padding: 5px 15px;
}
.book-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 16px;
	font-weight: bold;
	margin: 0 0 5px;
	color: #333;
	text-decoration: none;
	/* min-height: 3.2rem; */
}
.book-title:hover {
  color: var(--secondary-color);
}
.book-author {
	font-size: 11px;
	color: #666;
	margin: 0;
}
.book-price {
  font-size: 14px;
  color: #000;
  font-weight: bold;
}
.buy-now-btn {
  margin:10px 0;
}
.buy-now-btn a{
  text-decoration: none;
  font-size: 12px;
}

/* ==============add css book card ============= */
/* Overlay styling */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 57, 162, 0.8); */
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay-content {
  text-align: center;
}

.overlay .btn-view-details,
.overlay .btn-add-to-cart {
  background-color: var(--secondary-color);
  color: #000;
  display: block;
  padding: 8px 10px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  margin: 20px 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.overlay .btn-view-details:hover,
.overlay .btn-add-to-cart:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Hover effect */
.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.book-card:hover .overlay {
  opacity: 1;
  visibility: visible;   /* visible */
}

.book-card:hover img {
  opacity: 0.3;
}
.view-all-books-btn{
  text-align: center;
}
.view-all-books-btn a{
  text-align: none;
  display: inline-block;
  text-decoration: none;

}

@media (max-width: 1024px) {
  .book-card {
    min-height: 300px; /* Reduce height for tablets */
  }
}

@media (max-width: 768px) {
  .book-card {
    min-height: 280px; /* Adjust height for smaller screens */
  }
}

@media (max-width: 480px) {
  .book-card {
    min-height: 250px; /* Compact size for mobile */
  }
}

/* ==============add css book card ============= */

/* =================Features Book Section End ================*/
/* =================Footer Section Start ================*/

.footer {
  position: relative;
  width: 100%;
  padding: 40px 0;
  font-size: 14px;
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)),
    url('/assets/footer-bg.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

.footer_social a{
    margin-right: 5px !important;
}
.footer-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.footer a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: var(--secondary-color);
}
.footer-title {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 16px;
  color: #fff;
}
.social-icons a {
  font-size: 20px;
  margin-right: 0px;
  color: white;
}
.social-icons a:hover {
  color: var(--secondary-color);
}
.footer-bottom {
  background-color: #22252c;
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
}
.footer-bottom p {
  margin-bottom: 0;
  color:#fff;
}


/* Responsive adjustments (optional) */
@media (max-width: 768px) {
  .footer {
    padding: 30px 15px;
  }
  .footer-content {
    font-size: 12px;
  }
}

/* =================Footer Section End ================*/

/* ============Whats App button section start================ */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999999; /* Make sure it's above other elements */
}

.whatsapp-float img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Optional: Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .whatsapp-float img {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float img {
    width: 40px;
    height: 40px;
  }
}

/* ============Whats App button section End================ */

/* =================Single Details Page Start ================*/
#single-book-details {
  padding: 0px 0;
}
.book-details {
  padding: 20px 0;
  border-radius: 5px;
}
.book-cover img {
  width: 100%;
  max-width: 300px;
  height: 400px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.preview-btn {
  z-index: 10;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
  white-space: nowrap;
  background-color: var(--primary-color);
  border: none;
  color: #fff;
}

.preview-btn:hover {
  background-color: var(--secondary-color);
}

.book-info h2 {
  font-size: 22px;
  font-weight: bold;
  color: #333;
}
.book-info p {
  margin-bottom: 0;
}
.book-info .author {
  font-size: 16px;
  color: #777;
}
.book-info .category {
  font-size: 14px;
  color: #000;
}
.book-info .author span, .book-info .category  span, .book-info .rating span, .book-info .published span{
  font-size: 14px;
  color: var(--primary-color);
  font-weight: bold;
}
.book-info .price {
  font-size: 22px;
  font-weight: bold;
  color: #000;
  margin: 10px 0;
}

.animated-book-image {
  max-width: 100%; /* Ensure responsive */
  height: auto;
  border-radius: 10px; /* Optional - rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Subtle shadow */

  /* Floating animation */
  animation: floatAnimation 3s ease-in-out infinite;

  /* Add smooth transition for transform and box-shadow */
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

/* Hover Effect - Scale smoothly */
.animated-book-image:hover {
  animation: none; /* Stop floating */
  transform: scale(1.1); /* Smooth scale */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Enhance shadow */
}

/* Floating animation - Gentle up and down */
@keyframes floatAnimation {
  0% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-10px);
  }
  100% {
      transform: translateY(0);
  }
}

.book-info .fa-share{
  color:var(--primary-color)
}

@media (max-width: 480px) {
  #single-book-details {
    padding: 25px 0;
  }
  .share-book-heading {
    display: block;
    margin-bottom: 10px;
  }
  .animated-book-image{
    margin-bottom:20px;
  }
}

/* =============== */
.sidebar-more-books{
  padding: 15px 10px;
  /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.7); */
  border-left: 1px solid var(--primary-color);
}
.sidebar-more-books h6{
  font-weight: bold;
}
.sidebar-img{
  height: 120px;
  width: 80px;
  object-fit: cover;
}
.details-book-content h6{
font-weight: bold;
font-size: 13px;
}
.details-book-content p{
  color:#777;
  margin-bottom: 0;
  font-size: 12px;
}
.details-book-content .price-book{
  font-weight: bold;
  color:#000;
}
.some-read-book-btn{
  background-color: var(--primary-color);
  color:#fff;
}
.some-read-book-btn:hover{
  background-color: var(--secondary-color);
  color:#000;
}
/* =============== */

.additional-info {
  margin-top: 30px;
}
.additional-info h5 {
  font-weight: bold;
  margin-bottom: 10px;
}
.related-books .book-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.related-books .book-card {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  background: white;
}
.multiple-book-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
.multiple-book-img img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  margin: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: transform 0.3s;
}
.multiple-book-img img:hover {
  transform: scale(1.1);
}

/* =================Single Details Page End ================*/
/* =================Author Section Start ================*/
.author-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}
.author-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.author-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 10px auto; /* Centers horizontally */
}
.author-details .author-name{
  font-size: 18px;
}
.author-info {
  padding: 10px 20px;
  text-align: center;
}
.author-info p {
  font-size: 0.95rem;
  color: #6c757d;
}
.author-books {
  margin: 12px 0;
}
.author-books a {
  text-decoration: none;
  color: #000;
}
.btn-view-books {
  font-size: 0.875rem;
  padding: 6px 15px;
  border-radius: 20px;
  background-color: var(--secondary-color);
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
}
.btn-view-books:hover {
  background-color: var(--primary-color);
}
/* =================Author Section End ================*/
/* =================Publication Section Start ================*/
.publication-section {
  background-color: #fff;
  padding: 15px 0;
}
.publications-body {
  margin: 0px 0;
}

.publication-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  display: block;
}
.publications-img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0px auto;
    border: 1px solid black;
}
.publication-card h5 {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 10px 0 5px;
  color: #333;
}
.publication-card p {
  font-size: 0.9rem;
  color: #777;
}

.publication-books a {
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  padding: 0 5px;
  color: var(--primary-color);
  font-size: 14px;
  padding: 5px 0;
}
.publication-books a:hover{
  color:var(--secondary-color)
}
.btn-view-books {
  background-color: #007bff;
  color: #fff;
  padding: 6px 15px;
  font-size: 0.875rem;
  text-transform: uppercase;
  border-radius: 20px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
.btn-view-books:hover {
  background-color: #0056b3;
}
.btn-publications {
  border: none;
  padding: 10px 20px;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
}
.btn-publications:hover {
  background-color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  color: #fff;
}
/* =================Publication Section End ================*/
/* =================Contact Page Start ================*/
.contact-section {
  padding: 15px 0;
  background-color: #f8f9fa;
}
.contact-form {
  padding: 15px 0;
}
#comments,
.appointment-form textarea {
  height: 150px;
}
.contact-form input,
.contact-form textarea {
  background: #f0f4f6;
  border: 1px solid #ffffff;
  outline: none;
}
/* Remove focus outline from Bootstrap form-control */
.contact-section .form-control:focus {
  outline: none;
  box-shadow: none;
  border: 1px solid #2ea6f7;
}

.contact-card {
  /* background-color: #fff;
  border: 1px solid #ddd; */
  padding: 10px 0;
  transition: 0.3s;
  /* text-align: center; */
  /* height: 100%; */
  /* border-bottom: 1px solid #ddd; */
  border-left: 3px solid var(--primary-color);
  /* border-top: 1px solid #ddd;
  border-right: 1px solid #ddd; */
  padding-left: 10px;
}
.contact-card:hover {
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px); */
}
.contact-card .contact-icon {
  font-size: 20px;
  color: var(--secondary-color);
  display: inline-block;
  margin-right: 10px;
}
.contact-card h5 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 500;
  color: #333;
}
.contact-card p {
  font-size: 15px;
  color: #555;
  margin: 0;
}
.contact-form {
  background-color: #fff;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.btn-contact {
  background-color: #007bff;
  color: #fff;
  font-weight: 600;
}
.btn-contact:hover {
  background-color: #0056b3;
}
@media (max-width: 768px) {
  .contact-form {
    margin-bottom: 15px;
  }
}

/* .contact-form {
  background-color: #fff;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
} */
/* =================Contact Page End ================*/
/* =================Appointment Page Start ================*/
.appointment-form {
  padding: 20px;
  background-color: #fff;

  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}
.appointment-form input,
.appointment-form textarea,
.appointment-form select {
  background: #f0f4f6;
  border: 1px solid #ffffff;
  outline: none;
}
/* Remove focus outline from Bootstrap form-control */
.appointment-form .form-control:focus {
  outline: none;
  box-shadow: none;
  border: 1px solid #2ea6f7;
}
.appointment-form .section-title h2 {
  text-align: center;
  margin: 0 auto;
}
/* =================Appointment Page End ================*/
/* =================Sign Uo Page Start ================*/
#signup-page {
  background-color: #f8f9fa;
  min-height: 90vh; /* Full height, allows scrolling if needed */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto; /* Ensures it works well on small screens */
  margin: 0;
  padding: 15px 0; /* Ensure spacing on small devices */
  box-sizing: border-box; /* Makes padding not affect width */
  flex-wrap: wrap; /* In case future layout needs it */
}
.signup-form-container {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

.signup-form-container h2 {
  color: #0039a2; /* Your primary color */
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.form-control {
  border-radius: 5px;
}

.btn-signup {
  background-color: #0039a2;
  color: #ffffff;
  font-weight: 500;
  padding: 10px;
  border-radius: 5px;
  width: 100%;
}

.btn-signup:hover {
  background-color: #002c82; /* Slightly darker for hover */
  color: #fff;
}

/* Already have account section */
.login-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.login-link a {
  color: #0039a2;
  font-weight: 500;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  #signup-page  {
    padding: 10px;
    margin-top: 30px;
  }
  #login-page  {
    padding: 10px;
    margin-top: 50px;
  }
}
/* Responsive for smaller devices */
@media (max-width: 768px) {
  .signup-form-container {
    padding: 20px;
  }
}
/* =================Sign Up Page End ================*/
/* =================Login Page Start ================*/
/* Page Wrapper - Same best practice as Sign Up page */
#login-page {
  background-color: #f8f9fa;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  margin: 0;
  padding: 15px 0;
  box-sizing: border-box;
  overflow: hidden;
}

/* Form Container - Same styling as Sign Up for consistency */
.login-form-container {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
}

.login-form-container h2 {
  color: #0039a2;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.form-control {
  border-radius: 5px;
}

.btn-login {
  background-color: #0039a2;
  color: #ffffff;
  font-weight: 500;
  padding: 10px;
  border-radius: 5px;
  width: 100%;
}

.btn-login:hover {
  background-color: #002c82;
  color: #fff;
}

/* Link Text at Bottom */
.signup-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.signup-link a {
  color: #0039a2;
  font-weight: 500;
  text-decoration: none;
}

.signup-link a:hover {
  text-decoration: underline;
}

/* Optional - Smaller padding for very small screens */
@media (max-width: 480px) {
  .login-form-container {
    padding: 20px;
  }
  #login-page  {
    padding: 10px;
    margin-top: 40px;
  }
}

/* =================Login Page End ================*/
/* =================Cart Page Start ================*/
.cart-section {
  background-color: #fff;
  padding:15px 0;
}
.cart-section .section-title{
  text-align: left;
}
.cart-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #000;
  transition: 0.3s ease;
}

.cart-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-item-img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.cart-section thead tr{
  border: none;
}
.cart-item-title {
  font-size: 1rem;
  color: #000;
  margin-bottom: 5px;
  font-weight: 600;
}

.cart-item-author {
  font-size: 0.875rem;
  color: #777;
  margin-bottom: 5px;
}

.cart-item-price .price {
  color: var(--price-color);
  font-weight: bold;
}

.cart-item-quantity input {
  width: 60px;
  text-align: center;
}

.cart-summary {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #000;
}

.cart-summary h4 {
  color: #000;
  font-size: 1.25rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.cart-summary ul li {
  font-size: 1rem;
  margin: 8px 0;
  color: #000;
}

.cart-summary button {
  background-color: var(--primary-color);
  color: #fff;
}
.cart-summary button a {
  text-decoration: none;
  color: #fff;
}

.cart-table {
  width: 100%;
  background-color: #fff;
  /* border: 1px solid #000; */
  border-radius: 8px;
  /* overflow: hidden; */
}
.cart-table th,
.cart-table td {
  padding: 15px;
  text-align: center;
  vertical-align: middle;
  /* border: 1px solid #dee2e6; */
  background-color: #fff;
}
.cart-table th {
	background-color: #777;
	/* border-right: 1px solid #dee2e6; */
	font-weight: 600;
	color: #fff !important;
}


.cart-table th:last-child {
  border-right: 0px solid #dee2e6 !important;
}
.cart-table th:first-child {
  border-left: 0px solid #dee2e6 !important;
}
.cart-table img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #ddd;
}
.quantity-input {
  max-width: 80px;
  text-align: center;
}
.cart-footer {
  padding: 15px;
  text-align: right;
}
.update-cart-btn {
  width: 100%;
  max-width: 300px;
}
.update-cart-btn {
  color: #000;
  text-decoration: none;
}
.update-cart-btn:hover {
  color: #fff;
}
.process-checkout-button a{
  color:#000;
}
.process-checkout-button a:hover{
  color:#fff;
}
.btn-couppon{
  background-color: var(--secondary-color);
  color:#000;
}
.btn-couppon:hover{
  background-color: var(--primary-color);
  color:#fff;
}
.cuppon-border-header{
  background-color: #777;
  color:#fff;
  font-size: 16px;
}

@media (max-width: 768px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart-item-remove button {
    margin-top: 10px !important;
  }

  .cart-item-quantity input {
    width: 100%;
  }

  .cart-summary, .btn-couppon {
    margin-top: 20px;
  }
  .btn-couppon {
    margin-top: 10px;
  }
}
/* =================Cart Page End ================*/

/* ================ Publication page start ============ */
/* .publication-card {
  border-radius: 8px;
  transition: all 0.3s ease;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assets/publisher-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding:10px 0;
  margin-bottom: 20px;
} */
.btn-publications {
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  background-color: var(--secondary-color);
  /* border: 1px solid var(--secondary-color); */
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.btn-publications:hover {
  background-color: var(--primary-color);
  /* border: 1px solid var(--primary-color); */
  /* border: 1px solid var(--secondary-color); */
  color: #fff;
}

.btn-publications a {
  text-decoration: none;
  color: #fff;
}

/* Responsive Tweaks */
@media (max-width: 768px) {

  .btn-publications {
    font-size: 14px;
    padding: 6px 12px;
  }
}

@media (max-width: 576px) {

  .btn-publications {
    font-size: 12px;
    padding: 4px 8px;
  }
}

/* ==================Publications Page End==================== */
/* ==================Subject Page Srart==================== */
.subject-card {
  position: relative;
  overflow: hidden;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 220px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.subject-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.subject-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.subject-card:hover img {
  transform: scale(1.1);
}

.subject-name {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}
.subject-name a {
  text-decoration: none;
  color: #333;
}
.subject-name a:hover {
  color: var(--secondary-color);
}
/* Optional: responsive height tweaks */
@media (max-width: 768px) {
  .subject-card {
    height: 180px;
  }

  .subject-card img {
    width: 80px;
    height: 80px;
  }

  .subject-name {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .subject-card {
    height: 150px;
    padding: 15px;
  }

  .subject-card img {
    width: 70px;
    height: 70px;
  }

  .subject-name {
    font-size: 14px;
  }
}
/* ==================Subject Page End==================== */
/* ==================Checkout Page Start==================== */
.checkout-section {
  padding: 20px 0;
}
.checkout-container {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.checkout-btn a{
  text-decoration: none;
  text-align: right;
}
.bkash-box {
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
}

.bkash-box img {
  width: 120px;
  margin-bottom: 15px;
}

.bkash-box .bkash-number {
  font-size: 18px;
  font-weight: bold;
  color: #d22f52;
}

.checkout-form label {
  font-weight: 500;
  font-size: 14px;
}

.checkout-form input, .checkout-select {
  height: 35px;
}

.btn-checkout {
  background-color: #d22f52;
  color: white;
  font-weight: 600;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-checkout:hover {
  background-color: var(--secondary-color);
  color: #fff;
}
.btn-checkout:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Centered Toast */
.toast-container {
  position: fixed;
  top: 50%;
  left: 50%;
  padding: 40px;
  transform: translate(-50%, -50%);
  z-index: 1050000;
}
.toast-body {
  padding: 40px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .bkash-box {
    margin-top: 20px;
  }
}

.modal-content {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.modal-header {
  border-bottom: 0;
}
.modal-footer {
  border-top: 0;
}

/* ======New Checkout design========== */

.form-label{
  margin-bottom: 2px !important;
}
/* Standard checkout input design */
.checkout-input {
  width: 100%; /* Ensures the input takes up the full width of its container */
  padding: 5px 10px; /* Adds space inside the input */
  font-size: 14px; /* Set the font size */
  border: 1px solid #ccc; /* Light grey border */
  border-radius: 8px; /* Rounded corners */
  box-sizing: border-box; /* Ensures padding doesn't affect width */
  transition: all 0.3s ease; /* Smooth transition for focus effect */
}

/* Focus effect: when the user clicks or focuses on the input */
.checkout-input:focus {
  outline: none; /* Removes default outline */
  border-color: #007bff; /* Custom border color on focus */
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3); /* Soft blue glow effect */
}

/* Optional: Adding a label to enhance accessibility */
.checkout-input::placeholder, .checkout-textarea::placeholder {
  color: #888; /* Lighter color for placeholder text */
  font-style: italic; /* Optional: make placeholder text italic */
  font-size: 14px;
}

/* Adding styles for smaller screens */
@media (max-width: 576px) {
  .checkout-input {
      font-size: 14px; /* Reduce font size on smaller screens */
      padding: 8px 12px; /* Adjust padding */
  }
}

/* Standard styling for the select element */
.checkout-select, .checkout-textarea {
  width: 100%; /* Ensure it takes up the full width of its container */
  padding: 5px 10px; /* Add space inside the select */
  font-size: 16px; /* Set font size */
  border: 1px solid #ccc; /* Light grey border */
  border-radius: 8px; /* Rounded corners */
  background-color: #fff; /* White background color */
  transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition on focus */
  color:#888;
  font-size: 14px;
}

/* Styling for select field focus state */
.checkout-select:focus, .checkout-textarea:focus {
  outline: none; /* Remove default focus outline */
  border-color: #007bff; /* Blue border on focus */
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3); /* Light blue glow around the select field */
  color:#000;
}

/* Optional: Change background color on hover */
.checkout-select:hover {
  border-color: #007bff; /* Border changes to blue when hovered */
}

/* Optional: Add styles for smaller screens */
@media (max-width: 576px) {
  .checkout-select {
      font-size: 14px; /* Smaller font size for mobile */
      padding: 8px 12px; /* Adjust padding for smaller screens */
  }
}


/* Customize the border color of the select input */
#transactionMethod {
  border: 1px solid var(--secondary-color); /* Change #007bff to your desired border color */
  border-radius: 5px; /* Optional: to add rounded corners */
  padding: 5px; /* Optional: for padding inside the input */
  font-size: 12px;
  /* color: red */
}

/* Optionally, change the border color when the input is focused */
#transactionMethod:focus {
  outline: none; /* Remove default outline */
  border-color: #007bff; /* Blue border on focus */
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3); /* Light blue glow on focus */
}
#transactionMethod option {
  font-size: 12px;
}
.transaction-text{
  font-size: 14px;
}

@media (max-width: 576px) {
  .list-unstyled{
    margin-top: 30px;
  }
}

/* ==================Checkout Page End==================== */
/* ==================Carousel Cuztomize Start==================== */

.carousel-control-prev-icon {
  /* background-image: url('../assets/slider/left-arrow.png') !important; */
  display: none;
}
.carousel-control-next-icon {
  /* background-image: url('../assets/slider/right-arrow.png') !important; */
  display: none;
}
.carousel-control-prev {
  position: relative;
}
.carousel-control-prev-icon {
  position: absolute;
  top: -170px;
  left: -26px;
}
.carousel-control-next {
  position: relative;
}
.carousel-control-next-icon {
  position: absolute;
  top: 0;
  left: 100%;
}

/* ==================Carousel Cuztomize End==================== */

/* =================Author All Books Start ==================== */
.author-section {
  background-color: #f8f9fa;
  padding: 15px 0;
  border-radius: 10px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  /* margin-bottom: 20px; */
}

.author-section-img-details .author-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border:2px solid var(--primary-color);
  padding: 5px;
}
.author-section-img-details {
  display: flex;
  /* justify-content: center; */
  gap: 10px;
  align-items: center;
  padding: 15px 10px;
  background-color: #ddd;
  color: #000;
  margin-bottom: 25px;

}
.author-details .social-icons{
  margin-top: 10px;
}
.author-details{
 border-left: 2px solid var(--primary-color);
 padding-left: 10px;
}
.author-details .author-name{
  margin-bottom: 5px;
}
.author-details p{
  font-size: 14px;
}

@media (max-width: 768px){
  .author-details .social-icons{
    text-align: left;
  }
}

@media (max-width: 450px) {
  .author-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* =================Author All Books End ==================== */



/* ====================Responsive sticky menu==================== */



/* Mobile styles */
@media (max-width: 768px) {
  .sticky-menu-items {
    display: none;
  }
  .sticky-menu.active {
    padding: 10px clamp(115px, 0vw, 120px);
  }

  .hamburger-menu {
    display: block;
    font-size: 30px;
    cursor: pointer;
  }
   /* For devices 768px and below */
   .sticky-mobile-hamburger-container{
    display: block;
  }

}
@media (max-width: 576px){
  .sticky-menu.active {
    padding: 10px clamp(14px, 0vw, 120px);
  }
}

/* =======================Sidbar Filtering All Books Start========================== */
.book-filters-sidebar{
  /* border: 1px solid #ddd; */
  padding:10px 15px;
}
.book-filters-sidebar .filter-title{
  background-color: var(--primary-color);
  padding:10px 15px;
  color:#fff;
}

/* Pricing part start*/
.filter-group {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.filter-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  border-bottom: 2px solid #F79420;
  padding-bottom: 5px;
}

.price-range-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.price-value {
  font-size: 14px;
  font-weight: 500;
  color: #555;
  background: #f1f1f1;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.price-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #F79420, #0039A2);
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background-color: #F79420;
  border: 2px solid #0039A2;
  border-radius: 50%;
  cursor: pointer;
}

.price-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background-color: #F79420;
  border: 2px solid #0039A2;
  border-radius: 50%;
  cursor: pointer;
}
.stars .fa-star{
  color: #F79420;
  font-size: 13px;
}

/* Pricing part end*/
/* =======================Sidbar Filtering All Books End========================== */
/* =======================Success Order Page Start========================== */
.success-container {
  max-width: 700px;
  margin: 10px auto;
  background: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
  text-align: center;
}
.success-container h2{
  font-size: 22px;
  color:#28a745;
  font-weight: bold;
}
.success-container p{
  font-size: 16px;
}
.success-icon {
  font-size: 30px;
  color: #28a745;
  margin-bottom: 15px;
}
.table-responsive {
  margin-top: 20px;
}
.table thead {
  background: #ddd;
  color: #000;
}
.btn-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.btn-group2{
  text-align: right;
}
.btn-group2 .btn-buy{
text-decoration: none;
text-align: right;
}

@media (max-width: 576px){
  .btn-group2{
    margin-top: 15px;
  }
}
/* =======================Success Order Page End========================== */

/* =======================User Dashboard Page Start========================== */
#user-dashboard {
  display: flex;
  /* height: 100vh;    */
  /* min-height: 100vh;   */
  flex-direction: row;
  overflow: hidden;
  /* min-height: 100vh;   */
  margin: 20px 0;

}
.sidebar-menu{
  background-color: #ECEFF4;
  color:#000;
}
#user-dashboard .col-md-9,
#user-dashboard .col-lg-10 {
  /* min-height: 100vh;   */
  overflow-y: auto;
} */
.nav-link  {
  color:#000 !important;
}
.nav-item a{
  color:#000;
  text-decoration: none;
  display: block;
  padding:10px 10px;
  /* margin-bottom: 10px; */

}
.nav-item a:hover{
  color:#fff;
}
.nav-item:hover {
  background-color: #0039A2;
  color:#fff;
}

.content-section {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.profile-user{
  color:#000;
  background-color: #f79420;
  padding: 20px 0;
}
.profile-user img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.profile-user p {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }

  .col-md-3,
  .col-lg-2 {
    width: 100%;
  }

  .col-md-9,
  .col-lg-10 {
    width: 100%;
  }
}
@media (max-width: 450px){
  #user-dashboard  {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
}
}
/* =======================User Dashboard Page End========================== */
.search-container ul{
	    margin-bottom: 0rem !important;
}
ul.list-unstyled li {
    position: relative;
    padding-left: 20px;
}

ul.list-unstyled li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #f16a31; /* Customize the color */
    font-size: 18px; /* Customize the font size */
    top: 50%;
    transform: translateY(-50%);
}

/*.publication-card {*/
/*    background-color: #fff;*/
/*    text-align: center;*/
/*    !*overflow: hidden;*!*/
/*}*/
/*.mybrandhome{*/

/*}*/
/*.mybrandhome .mybcol{*/
/*    border: 1px solid #e0e0e0;*/
/*    border-radius: 10px;*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*    overflow: hidden;*/
/*    !*margin: 20px;*!*/
/*}*/
/*.mybrandhome .mybcol:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);*/
/*}*/
/*.mybrandhome .publications-info{*/

/*}*/
.hbrands .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Add transition for smooth hover effect */
.hbrands .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hbrands .card-img-top {
    height: 200px; /* Fixed image height */
    object-fit: cover;
}

/* Ensuring consistent card body size */
.hbrands .card-body {
    flex-grow: 1; /* Take up available space in the card */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 15px;
}

/* Equal height for cards in a row */
.hbrands .card-deck {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hbrands .card {
    flex: 1 1 16%; /* Cards will take equal width */
    height: 100%; /* Make sure the height is consistent */
}

.hbrands .card-img-top {
    width: 150px; /* Set a fixed width for the image */
    height: 150px; /* Set a fixed height for the image */
    object-fit: cover; /* Ensure the image covers the entire area without distorting */
    border-radius: 50%; /* Make the image circular */
    margin: 0 auto; /* Center the image horizontally */
    padding: 10px;
}

/* Remove extra space under <p> tag */
.hbrands .card-body a {
    margin: 0;
    padding: 0;
    text-decoration: none;
}
.view-product-btn {
    margin-top: 10px; /* Space above the button */
    text-align: center;
}
.view-product-btn .bpbtn{
    padding: 1px 5px !important;
    background: #f16a31;
    border: none;
}

/***************************************************************************/
#product_section{
/* Card hover effect */
.card {
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 24px;
}

.card-img-top {
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

/* Overlay styles */
.card-img-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-img-overlay {
    opacity: 1;
}

.overlay-btn {
    margin: 10px;
}

/* Card button styles */
.btn-overlay {
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-overlay:hover {
    background-color: #fff;
    color: #000;
}

/* Category and Price Styles */
.category, .price {
    font-size: 16px;
    font-weight: bold;
}

.category {
    text-align: left;
}

.price {
    text-align: right;
    color: #f16a31;
}

/* Equal height for card bodies */
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Ensuring that cards take equal height */
.card-deck {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Make the cards take up equal height */
.col {
    display: flex;
    flex-direction: column;
}
.card-title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: bold;
    color: rgb(51, 51, 51);
    overflow: hidden;
    margin: 0px 0px 5px;
    text-decoration: none;
}
}
/********************************************************* */
#shop_section {
/* Card hover effect */
.card {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.card-img-top {
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

/* Overlay styles */
.card-img-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column; /* Stack the buttons vertically */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-img-overlay {
    opacity: 1;
}

.overlay-btn {
    margin: 10px 0;  /* Space between the buttons */
}

/* Card button styles */
.btn-overlay {
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;  /* Make the button take full width */
}

.btn-overlay:hover {
    background-color: #fff;
    color: #000;
}

/* Category and Price Styles */
.category, .price {
    font-size: 14px;
    font-weight: bold;
}

.category {
    text-align: left;
}

.price {
    text-align: right;
    color: #f16a31;
}

/* Equal height for card bodies */
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Ensuring that cards take equal height */
.card-deck {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Make the cards take up equal height */
.col {
    display: flex;
    flex-direction: column;
}
.card-title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: bold;
    color: rgb(51, 51, 51);
    overflow: hidden;
    margin: 0px 0px 5px;
    text-decoration: none;
}
}

























