  body {
      margin: 0;
      font-family: 'Segoe UI', Arial, sans-serif;
      background: #fff;
      padding-top: 80px;
  }

  .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 40px;
      height: 80px;
      background: white;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      z-index: 1000;
  }

  .logo-container {
      display: flex;
      align-items: center;
      gap: 12px;
  }

  .logo {
      width: 160px;
      height: 80px;
      object-fit: contain;
  }

  .brand {
      color: white;
      font-size: 1.7rem;
      font-weight: bold;
      letter-spacing: 2px;
  }

  .nav-links {
      list-style: none;
      display: flex;
      gap: 32px;
      margin: 0;
      transition: transform 0.4s cubic-bezier(.68, -0.55, .27, 1.55);
  }

  .nav-links li a {
      color: black;
      text-decoration: none;
      font-size: 1.1rem;
      position: relative;
      padding: 8px 16px;
      transition: color 0.3s;
      font-weight: bold;
  }

  .nav-links li a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, #d61114, #ff00cc);
      transform: scaleX(0);
      transition: transform 0.4s cubic-bezier(.68, -0.55, .27, 1.55);
  }

  .nav-links li a:hover {
      color: #cb1313;
  }

  .nav-links li a:hover::after {
      transform: scaleX(1);
  }

  .search-container {
      display: flex;
      align-items: center;
      position: relative;
  }

  .search-container.active .nav-links {
      transform: translateX(-100px);
  }

  .search-input {
      width: 0;
      opacity: 0;
      padding: 8px 16px;
      font-size: 1rem;
      border: none;
      border-radius: 20px;
      outline: none;
      background: #fff;
      color: #333;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      transition: width 0.4s cubic-bezier(.68, -0.55, .27, 1.55), opacity 0.3s;
      position: absolute;
      right: 40px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 1;
  }

  .search-btn {
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      border-radius: 50%;
      transition: background 0.3s;
      z-index: 3;
      position: relative;
  }

  .search-btn:hover {
      background: rgba(253, 234, 234, 0.1);
  }

  .search-btn:focus+.search-input,
  .search-btn:hover+.search-input,
  .search-container:hover .search-input {
      width: 180px;
      opacity: 1;
  }

  .search-icon {
      display: block;
      transition: transform 0.3s;
      stroke: black;
      /* line ka color black */
      fill: none;
      /* andar ka fill transparent rahe */
  }


  .search-btn:hover .search-icon {
      transform: scale(1.15) rotate(15deg);
  }

  .search-input::placeholder {
      color: #141111;
      opacity: 1;
  }

  .menu-toggle {
      display: none;
      background: none;
      border: none;
      color: white;
      font-size: 1.5rem;
      cursor: pointer;
      padding: 10px;
  }

  .hero-wrapper__section {
      position: relative;
      width: 100%;
      height: 80vh;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .hero-wrapper__slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
  }

  .hero-wrapper__slide.hero-wrapper__active {
      opacity: 1;
  }

  .hero-wrapper__slide::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      z-index: 1;
  }

  .hero-wrapper__content {
      position: relative;
      z-index: 2;
      text-align: center;
      color: white;
      max-width: 800px;
      width: 100%;
      padding: 20px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  }

  .hero-wrapper__content h1 {
      font-size: 3.5rem;
      font-weight: bold;
      margin-bottom: 20px;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
      animation: fadeInUp 1s ease-out;
      font-family: 'Arial', sans-serif;
  }

  .hero-wrapper__content p {
      font-size: 1.2rem;
      margin-bottom: 30px;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
      animation: fadeInUp 1s ease-out 0.3s both;
  }

  .hero-wrapper__btn {
      background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
      color: white;
      padding: 15px 35px;
      border: none;
      border-radius: 50px;
      font-size: 1.1rem;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-block;
      animation: fadeInUp 1s ease-out 0.6s both;
      box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  }

  .hero-wrapper__btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
  }

  .hero-wrapper__indicators {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 15px;
      z-index: 3;
  }

  .hero-wrapper__indicator {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.3s ease;
  }

  .hero-wrapper__indicator.hero-wrapper__active {
      background: white;
      transform: scale(1.2);
  }

  @keyframes fadeInUp {
      from {
          opacity: 0;
          transform: translateY(30px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  /* ----------------------------cards index------------------------------------ */


        .zx-page-wrapper {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            padding: 20px;
            min-height: 100vh;
        }
        
        .zx-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 60px 20px;
        }

        .zx-title {
            text-align: center;
            font-size: 3.5rem;
            font-weight: 800;
            color: #2c3e50;
            margin-bottom: 80px;
            position: relative;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
        }

        .zx-title::before {
            content: '';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 5px;
            border-radius: 3px;
        }

        .zx-books-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 40px;
            padding: 20px;
        }

        .zx-book-card {
            background: #fff;
            border: 1px solid #e0e6ed;
            border-radius: 25px;
            padding-top: 30px;
            text-align: center;
            position: relative;
            opacity: 0;
            transform: translateY(80px) rotateX(15deg);
            transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
            cursor: pointer;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
            min-height: 350px;
        }

        .zx-book-card:nth-child(1) {
            animation: zx-slideInUp 0.8s ease-out 0.6s forwards;
        }

        .zx-book-card:nth-child(2) {
            animation: zx-slideInUp 0.8s ease-out 0.8s forwards;
        }

        .zx-book-card:nth-child(3) {
            animation: zx-slideInUp 0.8s ease-out 1s forwards;
        }

        .zx-book-card:nth-child(4) {
            animation: zx-slideInUp 0.8s ease-out 1.2s forwards;
        }

        .zx-book-card:nth-child(5) {
            animation: zx-slideInUp 0.8s ease-out 1.4s forwards;
        }

        .zx-book-card:nth-child(6) {
            animation: zx-slideInUp 0.8s ease-out 1.6s forwards;
        }

        .zx-book-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
            transition: left 0.6s ease;
        }

        .zx-book-card:hover::before {
            left: 100%;
        }

        .zx-book-card:hover {
            transform: translateY(-20px) rotateX(0deg) scale(1.05);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
            border-color: #cbd6e0;
        }

        .zx-book-image {
            width: 200px;
            height: 280px;
            margin: 0 auto 25px;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            transform: rotateY(0deg);
            transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }

        .zx-book-card:hover .zx-book-image {
            transform: rotateY(-10deg) rotateX(5deg);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        }

        .zx-book-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.6s ease;
        }

        .zx-book-card:hover .zx-book-image img {
            transform: scale(1.1);
        }

        .zx-book-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 10px;
            opacity: 0.9;
            transform: translateY(10px);
            transition: all 0.4s ease;
            position: relative;
            padding: 0 15px;
        }

        .zx-book-card:hover .zx-book-title {
            opacity: 1;
            transform: translateY(0);
        }

        .zx-new-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
            animation: zx-pulse 2s ease-in-out infinite;
            z-index: 2;
        }

        /* Description Panel */
        .zx-book-description {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.97);
            padding: 20px;
            border-radius: 20px 20px 25px 25px;
            transform: translateY(100%);
            transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
            max-height: 70%;
            overflow-y: auto;
            z-index: 3;
            backdrop-filter: blur(5px);
            border-top: 1px solid rgba(0,0,0,0.05);
        }

        .zx-book-card:hover .zx-book-description {
            transform: translateY(0);
        }

        .zx-book-description h4 {
            font-size: 1.1rem;
            margin-bottom: 10px;
            color: #2c3e50;
            border-bottom: 2px solid #3498db;
            padding-bottom: 5px;
        }

        .zx-book-description p {
            font-size: 0.9rem;
            line-height: 1.5;
            color: #546e7a;
            margin-bottom: 15px;
        }

        .zx-book-description .zx-book-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.8rem;
            color: #7f8c8d;
            background: rgba(236, 240, 241, 0.6);
            padding: 8px 12px;
            border-radius: 8px;
            margin-bottom: 15px;
        }

        /* Shop Now Button */
        .zx-shop-now-btn {
            display: inline-block;
            background: black;
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
            border: none;
            cursor: pointer;
            width: 90%;
            text-align: center;
        }

        .zx-shop-now-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
            background: linear-gradient(135deg, #2980b9, #27ae60);
        }

        @keyframes zx-slideInUp {
            to {
                opacity: 1;
                transform: translateY(0) rotateX(0deg);
            }
        }

        @keyframes zx-pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .zx-title {
                font-size: 2.5rem;
                margin-bottom: 60px;
            }
            
            .zx-books-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 30px;
            }
            
            .zx-book-card {
                min-height: 320px;
            }
            
            .zx-book-image {
                width: 180px;
                height: 250px;
            }
        }

        @media (max-width: 480px) {
            .zx-title {
                font-size: 2rem;
            }
            
            .zx-books-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }
        }
 --------------------------------education about------------------------------ 
  .edu-main-wrapper {
      width: 100%;
      background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
      padding: 3rem 0;
  }

  .edu-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      padding: 0 2rem;
      gap: 3rem;
  }

  .edu-content {
      flex: 1;
  }

  .edu-image {
      flex: 1;
      animation-delay: var(--delay);
  }

  .edu-image img {
      width: 100%;
      height: auto;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      transform: perspective(1000px) rotateY(-10deg);
      transition: transform 0.5s ease;
  }

  .edu-image:hover img {
      transform: perspective(1000px) rotateY(0deg);
  }

  .edu-title {
      color: #2c3e50;
      font-size: 2.8rem;
      margin-bottom: 2rem;
      position: relative;
      padding-bottom: 1rem;
      line-height: 1.2;
  }

  .edu-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100px;
      height: 4px;
      background: linear-gradient(90deg, #3498db, #9b59b6);
      border-radius: 2px;
  }

  .edu-features {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      margin-top: 2rem;
  }

  .edu-feature {
      padding: 1.5rem;
      background: white;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      text-align: left;
  }

  .edu-feature:hover {
      transform: translateX(10px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .edu-feature h3 {
      color: #34495e;
      margin-bottom: 1rem;
      font-size: 1.3rem;
  }

  .edu-underline {
      height: 3px;
      width: 50px;
      background: linear-gradient(90deg, #3498db, #9b59b6);
      opacity: 0;
      transition: opacity 0.3s ease, width 0.3s ease;
  }

  .edu-feature:hover .edu-underline {
      opacity: 1;
      width: 80px;
  }

   Animations 
  @keyframes eduFadeIn {
      from {
          opacity: 0;
      }

      to {
          opacity: 1;
      }
  }

  @keyframes eduSlideIn {
      from {
          opacity: 0;
          transform: translateX(-30px);
      }

      to {
          opacity: 1;
          transform: translateX(0);
      }
  }

  .edu-fade-in {
      animation: eduFadeIn 1s ease-out forwards;
  }

  .edu-slide-in {
      opacity: 0;
      animation: eduSlideIn 0.8s ease-out forwards;
      animation-delay: var(--delay);
  }
  
  .hidden {
    display: none;
}

.read-btn {
    margin-top: 1rem;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.read-btn:hover {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
}


  .slider-container {
      width: 100%;
      overflow: hidden;
      position: relative;
      text-align: center;
      padding: 40px 0;
  }

  .slider-container h2 {
      margin: 20px 0;
      font-size: 30px;
      color: #333;
  }

  .slider-wrapper {
      display: flex;
      width: max-content;
  }

  .slider-track {
      display: flex;
  }

  .slider-track img {
      width: 200px;
      height: 200px;
      margin: 0 10px;
      border-radius: 10px;
      object-fit: cover;
      flex-shrink: 0;
  }

  .ambulance-contact-card {
      font-family: 'Arial', sans-serif;
      max-width: 80%;
      margin: 20px auto;
      padding: 25px;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      text-align: center;
      border-top: 5px solid #333;
  }

  .emergency-heading {
      color: black;
      font-size: 1.4rem;
      margin-bottom: 15px;
  }

  .contact-text {
      color: black;
      margin-bottom: 20px;
      line-height: 1.5;
  }

  .emergency-number {
      display: block;
      font-size: 1.5rem;
      color: black;
      font-weight: bold;
      margin: 20px 0;
      text-decoration: none;
      transition: all 0.3s ease;
  }

  .emergency-number:hover {
      color: #c0392b;
      transform: scale(1.05);
  }

  .contact-button {
      background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
      color: white;
      border: none;
      padding: 12px 30px;
      font-size: 1rem;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: bold;
      margin-top: 10px;
  }

  .contact-button:hover {
      background-color: #c0392b;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
  }

  footer {
      background-color: #333;
      color: #fff;
      padding: 40px 0 20px;
      font-family: Arial, sans-serif;
  }

  .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
  }

  .footer-section {
      flex: 1;
      min-width: 200px;
      margin-bottom: 20px;
      padding: 0 15px;
  }

  .footer-section h3 {
      color: #fff;
      margin-bottom: 20px;
      font-size: 18px;
      position: relative;
      padding-bottom: 10px;
  }

  .footer-section h3::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 50px;
      height: 2px;
      background: #4CAF50;
  }

  .footer-section ul {
      list-style: none;
      padding: 0;
  }

  .footer-section ul li {
      margin-bottom: 10px;
  }

  .footer-section ul li a {
      color: #ddd;
      text-decoration: none;
      transition: color 0.3s;
  }

  .footer-section ul li a:hover {
      color: #4CAF50;
  }

  .footer-section p {
      color: #ddd;
      line-height: 1.6;
  }

  .social-links a {
      display: inline-block;
      margin-right: 10px;
      color: #ddd;
      font-size: 20px;
      transition: color 0.3s;
  }

  .social-links a:hover {
      color: #4CAF50;
  }

  .footer-bottom {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid #444;
      margin-top: 20px;
  }

  .footer-bottom p {
      color: #aaa;
      font-size: 14px;
  }

  /* Mobile menu styles */

  .mobile-menu {
      position: fixed;
      top: 80px;
      left: 0;
      right: 0;
      background: #333;
      padding: 20px;
      transform: translateY(-100%);
      opacity: 0;
      transition: all 0.3s ease;
      z-index: 999;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }

  .mobile-menu.active {
      transform: translateY(0);
      opacity: 1;
  }

  .mobile-menu ul {
      list-style: none;
      padding: 0;
      margin: 0;
  }

  .mobile-menu ul li {
      margin-bottom: 15px;
  }

  .mobile-menu ul li a {
      color: white;
      text-decoration: none;
      font-size: 1.1rem;
      display: block;
      padding: 8px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  @media (max-width: 768px) {
      body {
          padding-top: 70px;
      }

      .navbar {
          padding: 0 20px;
          height: 70px;
      }

      .nav-links {
          display: none;
      }

      .menu-toggle {
          display: block;
          color: black;
      }

      .hero-wrapper__content h1 {
          font-size: 2.5rem;
      }

      .hero-wrapper__content p {
          font-size: 1rem;
      }

      .hero-wrapper__btn {
          padding: 12px 25px;
          font-size: 1rem;
      }

      .zx-title {
          font-size: 2.5rem;
          margin-bottom: 50px;
      }

      .zx-books-grid {
          grid-template-columns: 1fr;
          gap: 30px;
          padding: 10px;
      }

      .zx-book-image {
          width: 160px;
          height: 220px;
      }

      .edu-container {
          flex-direction: column;
          padding: 0 1rem;
      }

      .edu-image {
          margin-top: 2rem;
      }

      .edu-title {
          font-size: 2rem;
      }

      .footer-section {
          flex: 100%;
          text-align: left;
          padding: 0 10px;
      }

      .footer-section h3::after {
          left: 0;
          transform: none;
      }

      .footer-container {
          flex-direction: column;
      }
  }

  @media (max-width: 480px) {
      .hero-wrapper__content h1 {
          font-size: 2rem;
      }

      .zx-title {
          font-size: 2rem;
      }

      .ambulance-contact-card {
          max-width: 90%;
          padding: 15px;
      }
  }

  @media (max-width: 768px) {
      .search-container {
          position: static;
        margin-left: 113px;
      }

      .search-input {
          position: absolute;
          right: 20px;
          top: 70px;
          width: calc(100% - 40px) !important;
          opacity: 1 !important;
          transform: translateY(0) !important;
          display: none;
      }

      .search-input.active {
          display: block;
      }

      .search-btn {
          position: relative;
          z-index: 2;
          /* margin-left: 10px; */

      }
  }

  @media (max-width: 768px) {
      .hero-wrapper__section {
          height: 60vh;
      }

      .hero-wrapper__content {
          padding: 10px;
      }
  }


  /*-------------------------- Contact Container Styles--------------------------------------------- */
  .contact-container {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      padding: 40px 20px;
      background-color: #f8f9fa;
      margin-bottom: 40px;
  }

  .contact-itema {
      width: 250px;
      text-align: center;

      margin: 15px;
      background: white;
      border-radius: 8px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
      /* Added to prevent shrinking */
  }

  .contact-itema:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .icon-container {
      margin-bottom: 20px;
  }

  .icon {
      display: inline-block;
      width: 60px;
      height: 60px;
      background: #4e54c8;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
      margin-top: 10px;
  }

  .icon svg {
      width: 30px;
      height: 30px;
      fill: white;
  }

  .contact-title {
      font-size: 20px;
      color: #333;
      margin-bottom: 15px;
      font-weight: 600;
  }

  .contact-info {
      color: #666;
      line-height: 1.6;
      font-size: 16px;
  }



  .contact-itema:hover .bottom-bar {
      width: 100%;
  }

  /* Main Contact Content */
  .contact-container-jbh {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px 60px;
  }

  .page-title {
      text-align: center;
      font-size: 36px;
      color: #333;
      margin-bottom: 40px;
      position: relative;
      padding-bottom: 15px;
  }

  .page-title:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 3px;
      background: linear-gradient(90deg, #4e54c8, #8f94fb);
  }

  .contact-layout {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      justify-content: space-between;
  }

  .contact-form {
      flex: 1;
      min-width: 300px;
      background: white;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .contact-form h2 {
      font-size: 24px;
      color: #333;
      margin-bottom: 15px;
  }

  .contact-form p {
      color: #666;
      margin-bottom: 25px;
      line-height: 1.6;
  }

  .form-group {
      margin-bottom: 20px;
  }

  .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
      color: #444;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 16px;
      transition: border-color 0.3s ease;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
      border-color: #4e54c8;
      outline: none;
  }

  .form-group textarea {
      min-height: 150px;
      resize: vertical;
  }

  button[type="submit"] {
      background: linear-gradient(90deg, #4e54c8, #8f94fb);
      color: white;
      border: none;
      padding: 12px 25px;
      font-size: 16px;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: 500;
  }

  button[type="submit"]:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(78, 84, 200, 0.3);
  }

  .map {
      flex: 1;
      min-width: 300px;
      height: 450px;
      /* Reduced height */
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .map iframe {
      width: 100%;
      height: 100%;
      border: none;
  }

  /* Added new styles to keep contact items in one row */
  .contact-items-row {
      display: flex;
      justify-content: center;
      flex-wrap: nowrap;
      width: 100%;
      /* overflow-x: auto; */
      padding-bottom: 20px;
  }

  /* Responsive adjustments */
  @media (max-width: 1024px) {
      .contact-itema {
          width: 220px;
      }
  }

  @media (max-width: 900px) {
      .contact-items-row {
          flex-wrap: wrap;
      }

      .contact-itema {
          width: calc(50% - 60px);
          margin: 15px 30px;
      }
  }

  @media (max-width: 768px) {
      .contact-itema {
          width: 100%;
          max-width: 350px;
      }

      .contact-layout {
          flex-direction: column;
      }

      .map {
          height: 350px;
      }
  }

  @media (max-width: 480px) {
      .page-title {
          font-size: 28px;
      }

      .contact-form {
          padding: 20px;
      }

      .contact-itema {
          margin: 15px 0;
      }
  }

  /*----------------------------- book --------------------------------------------------*/
  .books-container {
      font-family: Arial, sans-serif;
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
  }

  .books-heading {
      text-align: center;
      color: #333;
      margin-bottom: 30px;
      font-size: 2.5rem;
  }

  .filter-section {
      display: flex;
      gap: 15px;
      margin-bottom: 25px;
      flex-wrap: wrap;
  }

  .filter-input {
      flex: 1;
      min-width: 250px;
      padding: 10px 15px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 16px;
  }

  .filter-select {
      padding: 10px 15px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 10px;
      background-color: white;
  }

  .books-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
  }

  .book-card {
      border: 1px solid #e1e1e1;
      border-radius: 8px;
      padding: 15px;
      background-color: white;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      transition: transform 0.2s, box-shadow 0.2s;
  }

  .book-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .book-prefix {
      background-color: #f0f0f0;
      padding: 3px 8px;
      border-radius: 4px;
      font-size: 0.8rem;
      display: inline-block;
      margin-bottom: 10px;
      color: #555;
  }

  .book-img-container {
      height: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
      overflow: hidden;
  }

  .book-img {
      max-height: 100%;
      max-width: 100%;
      object-fit: contain;
      border-radius: 4px;
  }

  .book-title {
      margin: 0 0 8px 0;
      color: #222;
      font-size: 1.2rem;
  }

  .book-author {
      margin: 0 0 8px 0;
      color: #666;
      font-size: 0.9rem;
  }

  .book-genre {
      margin: 0 0 10px 0;
      color: #888;
      font-size: 0.8rem;
      font-style: italic;
  }

  .book-desc {
      margin: 0;
      color: #444;
      font-size: 0.9rem;
      line-height: 1.4;
  }

  /* ---------------------keybook--------------------------------------------- */
  /* JBD-specific styles with unique prefix */
  .jbd-container {
      max-width: 1200px;
      margin: 40px auto;
      padding: 0 20px;
  }

  .jbd-heading {
      font-size: 2.5rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 40px;
      color: #2c3e50;
      position: relative;
  }

  .jbd-heading:after {
      content: '';
      display: block;
      width: 80px;
      height: 4px;
      background: #e74c3c;
      margin: 15px auto;
  }

  .jbd-cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
  }

  .jbd-card {
      background: white;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      flex: 1;
      min-width: 300px;
      max-width: 350px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .jbd-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .jbd-card-img {
      height: 200px;
      background-color: #333;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 3rem;
  }

  .jbd-card-content {
      padding: 25px;
  }

  .jbd-card-title {
      font-size: 1.5rem;
      margin-bottom: 15px;
      color: #2c3e50;
  }

  .jbd-card-text {
      color: #7f8c8d;
      line-height: 1.6;
      margin-bottom: 20px;
  }

  .jbd-card-btn {
      display: inline-block;
      padding: 10px 20px;
      background: #e74c3c;
      color: white;
      text-decoration: none;
      border-radius: 5px;
      transition: background 0.3s ease;
  }

  .jbd-card-btn:hover {
      background: #c0392b;
  }

  /* Responsive styles */
  @media (max-width: 768px) {
      .jbd-heading {
          font-size: 2rem;
      }

      .jbd-cards {
          flex-direction: column;
          align-items: center;
      }

      .jbd-card {
          min-width: 100%;
      }
  }

  /* --------------------------------------content add on start-------------------------- */

         /* Unique prefix for all classes */
        .jbd-container-12{
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #2c3e50;
        }
        
        .jbd-section {
            margin-bottom: 80px;
            padding: 40px;
            border-radius: 16px;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            position: relative;
        }
        
        .jbd-section:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            z-index: 0;
        }
        
        .jbd-heading {
            font-size: 32px;
            margin-bottom: 30px;
            color: #2c3e50;
            position: relative;
            text-align: center;
            z-index: 1;
        }
        
        .jbd-heading:after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
 background: linear-gradient(45deg, #ff6b6b, #ff8e8e);      
       margin: 15px auto;
            border-radius: 2px;
        }
        
        /* Philosophy Section */
        .jbd-philosophy {
            background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
        }
        
        .jbd-pillars {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            z-index: 1;
            position: relative;
        }
        
        .jbd-pillar {
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            border-bottom: 5px solid #f85b5b;
        }
        
        .jbd-pillar:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
        }
        
        .jbd-pillar-title {
            font-size: 20px;
            margin-bottom: 15px;
            color: #2c3e50;
            display: flex;
            align-items: center;
        }
        
        .jbd-pillar-title i {
            margin-right: 12px;
            color: #ff7d7d;
                /* background: linear-gradient(45deg, #ff6b6b, #ff8e8e); */
        }
        
        .jbd-pillar-content {
            line-height: 1.6;
            color: #546e7a;
        }
        
        /* Comprehensive Range Section */
        .jbd-range {
            background: linear-gradient(135deg, #ffffff 0%, #fff3e0 100%);
        }
        
        .jbd-range-content {
            line-height: 1.7;
            margin-bottom: 30px;
            font-size: 17px;
            z-index: 1;
            position: relative;
        }
        
        .jbd-schools {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            z-index: 1;
            position: relative;
        }
        
        .jbd-school {
            background: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
            transition: all 0.4s ease;
            border-bottom: 5px solid  #ff7d7d;
        }
        
        .jbd-school:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
        }
        
        .jbd-school-title {
            font-size: 20px;
            margin-bottom: 15px;
            color: #2c3e50;
            display: flex;
            align-items: center;
        }
        
        .jbd-school-title i {
            margin-right: 12px;
            color: #ff7d7d;
        }
        
        .jbd-school-content {
            line-height: 1.6;
            color: #546e7a;
        }
        
        /* Why Choose Section */
        .jbd-why {
            background: linear-gradient(135deg, #ffffff 0%, #e8f5e9 100%);
        }
        
        .jbd-reasons {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            z-index: 1;
            position: relative;
        }
        
        .jbd-reason {
            text-align: center;
            padding: 30px 20px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
            transition: all 0.4s ease;
        }
        
        .jbd-reason:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
        }
        
        .jbd-reason-icon {
            font-size: 40px;
            color: #4caf50;
            margin-bottom: 20px;
        }
        
        .jbd-reason-title {
            font-size: 18px;
            margin-bottom: 15px;
            color: #2c3e50;
        }
        
        .jbd-reason-content {
            line-height: 1.6;
            color: #546e7a;
        }
        
        /* Animations */
        @keyframes jbdFadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes jbdFadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes jbdFadeInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        .jbd-animate {
            opacity: 1;
        }
        
        .jbd-animated {
            animation-duration: 0.8s;
            animation-fill-mode: both;
        }
        
        .jbd-fadeInUp {
            animation-name: jbdFadeInUp;
        }
        
        .jbd-fadeInLeft {
            animation-name: jbdFadeInLeft;
        }
        
        .jbd-fadeInRight {
            animation-name: jbdFadeInRight;
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .jbd-section {
                padding: 25px;
            }
            
            .jbd-heading {
                font-size: 28px;
            }
            
            .jbd-pillars,
            .jbd-schools,
            .jbd-reasons {
                grid-template-columns: 1fr;
            }
        }