:root {
  --primary-color: #f97316;
  --primary-dark: #e65c00;
  --button-color: #ff6600;
  --button-hover: #cc5200;
  --text-ppl: #0c025d;
  --text-dark: #000;
  --text-light: #fff;
}

.navbar-nav .nav-link {
  color: var(--primary-color);
  font-weight: 500;
}
.navbar-nav .nav-link.active {
  color: var(--primary-dark);
}
.text-ppl{
color: #0c025d;
}

.btn-join {
  background-color: #f8db39 !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: 20px !important;
  padding: 6px 25px !important;
}
.btn-join:hover {
  background-color: #cc5200;
}
.banner{
  
    background: url(assests/image/6735.jpg);
}
.e-bookbanner{
  
    background: url(assests/image/2150061752.jpg);
}
.service-bookbanner{
  
    background: url(assests/image/1946.jpg);
}
.banner, .e-bookbanner, .service-bookbanner {
  position: relative;
    height: 60vh;
    display: flex;
    justify-content: start;
    color: #000;
    text-align: center;
    padding-left: 108px;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.banner::after, .e-bookbanner::after, .service-bookbanner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.4); */
}

.banner-content, .e-bookbanner .banner-content, .service-bookbanner .banner-content {
  position: relative;
  z-index: 2;
}

/*footer*/

body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
    }

    /* ---------- Ask Expert Section ---------- */
    .ask-section {
      background: url("14212555_5436846.jpg");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-color: rgba(0, 0, 0, 0.5);
      color: #fff;
      padding: 60px 20px;
    }
    .ask-section h3 {
      font-weight: bold;
      margin-bottom: 15px;
    }
    .ask-section p {
      font-size: 15px;
      margin-bottom: 20px;
    }
    .ask-box textarea {
      border-radius: 8px;
      border: none;
      width: 100%;
      padding: 12px;
    }
    .ask-btn {
      background: #ff7f32;
      color: #fff;
      font-weight: 600;
      padding: 10px 30px;
      border-radius: 6px;
      border: none;
      margin-top: 10px;
    }
    .ask-btn:hover {
      background: #e66c1f;
    }

    /* ---------- Footer ---------- */
   /* footer {
      background: #1a0a3d;
      color: #fff;
      padding: 50px 0 20px;
      background-image: url("footer-bg.png");*/
    }
    footer h5 {
      font-weight: 600;
      margin-bottom: 15px;
      color: #fff;
    }
    footer ul {
      list-style: none;
      padding: 0;
    }
    footer ul li {
      margin-bottom: 8px;
    }
    footer ul li a {
      text-decoration: none;
      color: #bbb;
      font-size: 14px;
      transition: 0.3s;
    }
    footer ul li a:hover {
      color: #FFD600;
    }
    .footer-logo {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 5px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .footer-logo img {
      width: 40px;
      height: 40px;
    }
    .footer-contact p {
      margin: 5px 0;
      font-size: 14px;
      color: #bbb;
    }
    .footer-social a {
      color: #000;
      margin-right: 2rem;
      font-size: 18px;
      transition: 0.3s;
    }
    .footer-social a:hover {
      color: #FFD600;
    }

    .copyright {
      border-top: 2px solid rgb(255, 255, 255);
      text-align: center;
     /* padding-top: 15px;*/
     /* margin-top: 30px;*/
      font-size: 13px;
     color: #666666
    }
   .book-card {
      border: none;
      border-radius: 15px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }
    .book-card:hover {
      transform: translateY(-8px);
    }
.yellow-hover {
  color: #000;
}

.yellow-hover:hover {
  color: #FFD600;
}

    .buy-btn {
      background-color: #ff7f50;
      color: white;
      font-weight: bold;
    }
    .buy-btn:hover {
      background-color: #ff5722;
    }
    .cart {
      position: fixed;
      top: 20px;
      right: 20px;
      background: #fff;
      padding: 15px 20px;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
      z-index: 1000;
    }
    /* Cart */
    
    /* New minimalist container layout */
    .cart-wrapper {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      gap: 40px;
      align-items: flex-start;
    }

    .cart-section {
      flex: 1;
      min-width: 0;
    }

    .cart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
    }

    .cart-title {
      font-size: 28px;
      font-weight: 600;
      color: #000;
    }

    .cart-count {
      color: #666;
      font-weight: 400;
      font-size: 16px;
    }

    .clear-cart {
      color: #dc3545;
      text-decoration: none;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: opacity 0.2s;
    }

    .clear-cart:hover {
      opacity: 0.7;
    }

    /* Table header styling */
    .cart-table-header {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      padding: 15px 20px;
      background: #f8f9fa;
      border-radius: 8px;
      margin-bottom: 15px;
      font-weight: 500;
      font-size: 14px;
      color: #666;
    }

    /* Clean cart item cards */
    .cart-item {
      background: #f8f9fa;
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 15px;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      align-items: center;
      gap: 20px;
      transition: box-shadow 0.2s;
    }

    .cart-item:hover {
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .product-details {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .product-image {
      width: 80px;
      height: 80px;
      background: #fff;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      overflow: hidden;
    }

    .product-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .product-info {
      flex: 1;
    }

    .product-name {
      font-size: 16px;
      font-weight: 500;
      color: #000;
      margin-bottom: 5px;
    }

    .product-variant {
      font-size: 13px;
      color: #666;
    }

    /* Quantity controls with rounded buttons */
    .quantity-controls {
      display: flex;
      align-items: center;
      gap: 12px;
      justify-content: center;
    }
.stats-section {
    background: #f8db39;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.text-gray {
    color: rgb(196, 195, 195);
}

 .about-section {
      background: #f9f9f9;
      padding: 60px 20px;
      border-radius: 10px;
    }
    .about-section h2 {
      font-weight: 700;
      margin-bottom: 10px;
    }
    .divider-icon {
      font-size: 22px;
      color: #ff6600;
      margin: 10px 0 30px;
    }
    .about-section p {
      color: #555;
    }
    .about-card {
      background: #fff;
      border-radius: 12px;
      padding: 25px 20px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      text-align: center;
      transition: all 0.3s ease;
    }
    .about-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    }
    .about-card img {
      width: 50px;
      margin-bottom: 15px;
    }
    .about-card h5 {
      font-weight: 600;
      font-size: 1.2rem;
    }
    .icon-color{
color: #f8db39;
    }
    .quantity-btn {
      width: 28px;
      height: 28px;
      border: 1px solid #ddd;
      background: #fff;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 16px;
      color: #333;
      transition: all 0.2s;
    }
     .contact-form {
            max-width: 600px;
            margin: 0 auto;
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }
    .form-control {
      border-radius: 12px;
      background-color: #f9f9f9;
      border: none;
      padding: 12px 15px;
    }
    .form-control:focus {
      outline: none;
      box-shadow: 0 0 0 2px #d0d0d0;
    }
    .btn-submit {
      background: #f9ff00;
      border: none;
      border-radius: 12px;
      padding: 12px;
      font-weight: 500;
      width: 100%;
      transition: 0.3s;
    }
    .btn-submit:hover {
      background: #e6eb00;
    }

        .form-control:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
        }
        .error-message {
            color: #dc3545;
            font-size: 0.875em;
            margin-top: 5px;
            display: none;
        }
        .is-invalid {
            border-color: #dc3545;
        }
        .is-valid {
            border-color: #198754;
        }

        /*privacy*/
        .privacy-card {
            border: none;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            margin-bottom: 25px;
            height: 100%;
        }

        .privacy-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        .privacy-header {
            background-color: #0c025d;
            color: white;
            border-radius: 10px 10px 0 0 !important;
            padding: 15px 20px;
            font-weight: 600;
        }

        .card-body {
            padding: 25px;
        }

        .icon-container {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: rgba(230, 235, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
        }
        
/*blog details8*/
.blog-header-img {
      width: 100%;
      height: 400px;
      object-fit: cover;
      border-radius: 10px;
    }
    .sidebar-section {
      background: #fff;
      padding: 20px;
      margin-bottom: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }
    .sidebar-section h5 {
      font-weight: 600;
      margin-bottom: 15px;
      border-bottom: 2px solid #f0f0f0;
      padding-bottom: 8px;
    }
    .sidebar-post {
      display: flex;
      align-items: center;
      margin-bottom: 12px;
    }
    .sidebar-post img {
      width: 60px;
      height: 60px;
      object-fit: cover;
      border-radius: 6px;
      margin-right: 10px;
    }
    .sidebar-post h6 {
      font-size: 0.9rem;
      margin: 0;
      font-weight: 500;
    }


        .icon-container i {
            font-size: 24px;
            color: var(--primary-color);
        }

        .highlight {
            color: var(--primary-color);
            font-weight: 600;
        }

        .accent-bg {
            background-color: var(--accent-color);
        }

        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .btn-primary:hover {
            background-color: #090247;
            border-color: #090247;
        }

        .btn-outline-primary {
            color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .btn-outline-primary:hover {
            background-color: var(--primary-color);
            color: white;
        }

        footer {
          /*  background-color: var(--primary-color);*/
            color: white;
            padding: 40px 0;
            /* margin-top: 60px; */
        }

        .footer-link {
            color: #000 !important;
            text-decoration: none;
        }

        .footer-link:hover {
            color: var(--accent-color);
        }

        .section-title {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 30px;
        }

        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background-color: var(--accent-color);
        }

    .quantity-btn:hover {
      border-color: #999;
      background: #f8f9fa;
    }

    .quantity-input {
      width: 45px;
      text-align: center;
      border: none;
      background: transparent;
      font-size: 15px;
      font-weight: 500;
    }

    /* Price and remove button alignment */
    .price-section {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 15px;
    }

    .item-price {
      font-size: 18px;
      font-weight: 600;
      color: #000;
    }

    .remove-btn {
      color: #dc3545;
      background: none;
      border: none;
      font-size: 20px;
      cursor: pointer;
      padding: 5px;
      line-height: 1;
      transition: opacity 0.2s;
    }

    .remove-btn:hover {
      opacity: 0.7;
    }

    /* Sidebar summary with light purple background */
    .summary-sidebar {
      width: 380px;
      flex-shrink: 0;
    }

    .promo-section {
      background: #f3f4f6;
      padding: 25px;
      border-radius: 12px;
      margin-bottom: 20px;
    }

    .promo-title {
      font-size: 14px;
      font-weight: 500;
      color: #000;
      margin-bottom: 15px;
    }

    .promo-input-group {
      display: flex;
      gap: 10px;
    }

    .promo-input {
      flex: 1;
      padding: 12px 16px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 14px;
      background: #fff;
    }

    .promo-input::placeholder {
      color: #999;
    }

    .apply-btn {
      padding: 12px 24px;
      background: #000;
      color: #fff;
      border: none;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.2s;
    }

    .apply-btn:hover {
      background: #333;
    }

    /* Summary rows styling */
    .summary-section {
      background: #f3f4f6;
      padding: 25px;
      border-radius: 12px;
    }

    .summary-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 15px;
      font-size: 15px;
    }

    .summary-label {
      color: #666;
    }

    .summary-value {
      color: #000;
      font-weight: 500;
    }

    .summary-discount {
      color: #dc3545;
    }

    .summary-total {
      padding-top: 15px;
      border-top: 1px solid #ddd;
      margin-top: 5px;
    }

    .summary-total .summary-label,
    .summary-total .summary-value {
      font-size: 18px;
      font-weight: 600;
      color: #000;
    }

    /* Black checkout button */
    .checkout-btn {
      width: 100%;
      padding: 16px;
      background: #000;
      color: #fff;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      margin-top: 20px;
      transition: background 0.2s;
    }

    .checkout-btn:hover {
      background: #333;
    }

    /* Dark promotional banner */
    .promo-banner {
      margin-top: 60px;
      background: #1a1a1a;
      border-radius: 16px;
      padding: 60px 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #fff;
      position: relative;
      overflow: hidden;
    }

    .banner-content {
      max-width: 50%;
      z-index: 2;
    }

    .banner-title {
      font-size: 28px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .banner-subtitle {
      font-size: 14px;
      color: #999;
      margin-bottom: 25px;
    }

    .banner-btn {
      padding: 12px 30px;
      background: transparent;
      color: #fff;
      border: 1px solid #fff;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
    }

    .banner-btn:hover {
      background: #fff;
      color: #000;
    }

    .banner-image {
      position: absolute;
      right: 40px;
      top: 50%;
      transform: translateY(-50%);
      width: 300px;
      height: 300px;
      z-index: 1;
    }

    .banner-image img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    /* Responsive design */
    @media (max-width: 992px) {
      .cart-wrapper {
        flex-direction: column;
      }

      .summary-sidebar {
        width: 100%;
      }

      .cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
      }

      .cart-table-header {
        display: none;
      }

      .quantity-controls {
        justify-content: flex-start;
      }

      .price-section {
        justify-content: flex-start;
      }

      .banner-image {
        display: none;
      }

      .banner-content {
        max-width: 100%;
      }
    }
    
    /* Added modal styles for login/register */
    .auth-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 9999;
      justify-content: center;
      align-items: center;
    }

    .auth-modal.active {
      display: flex;
    }

    .auth-modal-content {
      background: white;
      border-radius: 20px;
      width: 90%;
      max-width: 450px;
      padding: 40px;
      position: relative;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
      animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-50px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .auth-modal-close {
      position: absolute;
      top: 20px;
      right: 20px;
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: #999;
      transition: color 0.3s ease;
    }

    .auth-modal-close:hover {
      color: var(--text-dark);
    }

    .auth-tabs {
      display: flex;
      gap: 20px;
      margin-bottom: 30px;
      border-bottom: 2px solid #f0f0f0;
    }

    .auth-tab {
      background: none;
      border: none;
      padding: 10px 20px;
      font-size: 18px;
      font-weight: 600;
      color: #999;
      cursor: pointer;
      position: relative;
      transition: color 0.3s ease;
    }

    .auth-tab.active {
      color: var(--primary-color);
    }

    .auth-tab.active::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 100%;
      height: 2px;
      background: linear-gradient(135deg, var(--primary-color), var(--button-color));
    }

    .auth-form {
      display: none;
    }

    .auth-form.active {
      display: block;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: var(--text-ppl);
      font-size: 14px;
    }

    .form-group input {
      width: 100%;
      padding: 12px 16px;
      border: 2px solid #e0e0e0;
      border-radius: 10px;
      font-size: 14px;
      transition: border-color 0.3s ease;
    }

    .form-group input:focus {
      outline: none;
      border-color: var(--primary-color);
    }

    .auth-submit-btn {
      width: 100%;
      background: linear-gradient(135deg, var(--primary-color), var(--button-color));
      color: white;
      border: none;
      padding: 14px;
      border-radius: 10px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-top: 10px;
    }

    .auth-submit-btn:hover {
      background: linear-gradient(135deg, var(--primary-dark), var(--button-hover));
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
    }

    .forgot-password {
      text-align: right;
      margin-top: -10px;
      margin-bottom: 20px;
    }

    .forgot-password a {
      color: var(--primary-color);
      text-decoration: none;
      font-size: 14px;
    }

    .forgot-password a:hover {
      text-decoration: underline;
    }

    .divider {
      display: flex;
      align-items: center;
      margin: 25px 0;
      color: #999;
      font-size: 14px;
    }

    .divider::before,
    .divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #e0e0e0;
    }

    .divider::before {
      margin-right: 10px;
    }

    .divider::after {
      margin-left: 10px;
    }

    .social-login {
      display: flex;
      gap: 10px;
    }

    .social-btn {
      flex: 1;
      padding: 12px;
      border: 2px solid #e0e0e0;
      border-radius: 10px;
      background: white;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 600;
    }

    .social-btn:hover {
      border-color: var(--primary-color);
      background: #fff5f0;
    }

    .social-btn i {
      font-size: 18px;
    }

    /* Added missing cart and text color styles */
    .text-primary-custom {
      color: var(--primary-color) !important;
    }

    .offcanvas-body {
      display: flex;
      flex-direction: column;
    }

    #cart-items {
      flex-grow: 1;
      overflow-y: auto;
    }

    #cart-items li {
      padding: 10px;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .cart-item-remove {
      color: #dc3545;
      cursor: pointer;
      font-size: 1.2rem;
    }

    .cart-item-remove:hover {
      color: #a71d2a;
    }

    @media (max-width: 768px) {
      .banner h1 {
        font-size: 2.5rem;
      }
      .banner p {
        font-size: 1.2rem;
      }
    }
    .form-group {
  position: relative;
}
.toggle-password {
  position: absolute;
  right: 10px;
  top: 35px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  color: #555;
}
.toggle-password:focus {
  outline: none;
}
/* Card Styling */
.book-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Image Styling */
.img-wrapper {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  transition: transform 0.4s ease;
}
.book-card:hover .img-wrapper img {
  transform: scale(1.05);
}

/* Gradient Overlay */
.img-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

/* Button Styling */
.buy-btn {
  background: var(--button-color)!important ;
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}
.buy-btn:hover {
  background: var(--button-color);
  transform: scale(1.03);
}