/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 200px;
    /* height: 60px; */
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.cta-btn {
    background-color: #ff6a30;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}
.cta-btn:hover{
    background-color: #0648ff;
    color: rgb(255, 255, 255);
}

.hero {
  position: relative;
  overflow: hidden;
  height: 100vh; /* Adjust based on your design */
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the entire area */
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(0, 0, 0);
  text-align: center;
  backdrop-filter: blur(0px); /* Add blur effect */
  background-color: rgba(189, 179, 179, 0.7); /* Dark background with transparency */
  padding: 50px; /* Add some padding around the text */
  border-radius: 10px; /* Optional: Add rounded corners */
}

.overlay h1 {
  font-size: 2.5rem;
  margin: 0;
}

.overlay p {
  font-size: 1.3rem;
  margin: 10px 0 0;
}


.navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.prev, .next {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 1.5rem;
}


/* course list in main website  */

.popular-course-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #777;
    margin-bottom: 30px;
}

.carousel {
    position: relative;
}

.carousel-inner {
    display: flex;
    overflow: hidden;
}

.course-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    width: 280px;
    flex: 0 0 auto;
}

.course-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.course-info {
    padding: 15px;
    text-align: center;
}

.instructor-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-top: -30px;
    border: 2px solid white;
    object-fit: cover;
}

.instructor-name {
    font-size: 14px;
    color: #777;
    margin: 10px 0 5px;
}

.course-title {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
}

.course-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #888;
}

.course-meta i {
    margin-right: 5px;
}

.course-price {
    font-size: 16px;
    font-weight: bold;
}

.price {
    color: green;
}

.price.discount {
    color: red;
}

.price.original {
    text-decoration: line-through;
    color: #777;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    
}

.carousel-prev, .carousel-next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 10px;
    
}





/* Auth Links Styles */
.auth-links {
    background-color: #ff6a30; /* Yellow background */
    padding: 10px; /* Add padding */
    border-radius: 5px; /* Rounded corners */
    display: flex; /* Flex layout */
    gap: 10px; /* Space between links */
    align-items: center; /* Center vertically */
}

.auth-links a {
    color: #ffffff; /* Dark text color for links */
    text-decoration: none; /* Remove underline */
    font-weight: 500; /* Medium font weight */
    transition: color 0.3s; /* Smooth color transition */
}

.auth-links:hover {
    background-color: #0648ff;
    color: rgb(255, 255, 255);
}



/* about  */

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
  }
  
  .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #f3f4f6;
    padding: 40px;
    border-radius: 15px;
  }
  
  .text-section {
    max-width: 35%;
    animation: fadeInLeft 1.5s ease-in-out;
  }
  
  .book-icon {
    width: 70px;
    animation: bounceIn 1s ease-in-out;
  }
  
  h4 {
    color: #1f2937;
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .heading {
    font-size: 36px;
    color: #1f2937;
    margin: 20px 0;
    font-weight: bold;
  }
  
  .description {
    font-size: 18px;
    color: #2e3135;
    margin-bottom: 20px;
  }
  
  .checklist {
    list-style: none;
  }
  
  .checklist li {
    font-size: 16px;
    color: #141516;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }
  
  .checklist li::before {
    content: "✔";
    color: #ef4444;
    margin-right: 10px;
  }
  
  .about-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #f97316;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
  }
  
  .about-btn:hover {
    background-color: #ea580c;
  }
  
  .image-section {
    position: relative;
    animation: fadeInRight 1.5s ease-in-out;
  }
  
  .students-img {
    width: 550px;
    border-radius: 8px;
    animation: zoomIn 1.5s ease-in-out;
    margin-top: -10px;
  }
  
  .projects-info {
    position: absolute;
    bottom: -90px;
    left: 140px;
    background-color: #3b82f6;
    color: white;
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
  }
  
  .info-box {
    display: flex;
    align-items: center;
  }
  
  .info-icon img {
    width: 30px;
    margin-right: 10px;
  }
  
  .info-text h2 {
    font-size: 28px;
    margin-bottom: 7px;
    color: #ffffff;
  }
  
  .info-text p {
    font-size: 16px;
  }
  
  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes zoomIn {
    from {
      opacity: 0;
      transform: scale(0.8);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  @keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }



/* statics  */
/* Statistics Section */
.statistics-section {
  background: url('images/01.jpg') no-repeat center center/cover;
  padding: 50px 0;
  position: relative;
}

.statistics-overlay {
  background-color: rgba(32, 83, 83, 0.7); /* Dark overlay */
  padding: 40px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.stat-box {
  text-align: center;
  color: #fff;
}

.stat-box img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.stat-box h2 {
  font-size: 48px;
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .stat-box {
    margin-bottom: 20px;
  }
}


/* why choice us  */


.why-us-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 15px;
}

h1, h4, p {
  margin-bottom: 20px;
}

/* Unique Why Choose Us Section */
.section-why-us {
  background-color: #0d174c;
  color: #fff;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.why-us-content {
  max-width: 600px;
}

.why-us-content h4 {
  font-size: 18px;
  color: #f97316;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.why-us-content h1 {
  font-size: 36px;
  line-height: 1.4;
}

.why-us-highlight {
  color: #f97316;
}

.why-us-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #d1d5db;
}

/* Unique Feature Boxes */
.why-us-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.why-us-feature-box {
  background-color: #fff;
  padding: 20px;
  border-radius: 15px;
  text-align: left;
  display: flex;
  align-items: center;
}

.why-us-feature-box img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.why-us-feature-box h3 {
  color: #0d174c;
  font-size: 18px;
  margin-bottom: 5px;
}

.why-us-feature-box p {
  color: #6b7280;
  font-size: 14px;
}

/* Unique Image Section */
.why-us-image {
  position: relative;
}

.why-us-image img {
  max-width: 550px;
  border-radius: 20px;
  border: 30px solid #f97316;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .why-us-container {
      flex-direction: column;
  }

  .why-us-content {
      margin-bottom: 30px;
  }

  .why-us-features {
      grid-template-columns: 1fr;
  }
}


/* blog  */

.wrapper {
  max-width: 1250px;
  margin: 0 auto;
  padding: 50px 20px;
  text-align: center;
}

.header-title h5 {
  color: #f3a511;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.header-title h1 {
  font-size: 36px;
  margin: 10px 0;
  font-weight: 700;
  color: #333;
}

.header-title h1 span {
  color: #f3a511;
}

.header-title p {
  font-size: 16px;
  color: #7c7f8a;
  margin-bottom: 40px;
}

/* Updated Layout for 4 Cards Per Row */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 100px;
  justify-items: center;
}

/* Card Design */
.blog-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
  animation-delay: calc(0.1s * var(--index)); /* Each card animates with a slight delay */
}

/* Animation for the cards */
@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Hover Effect */
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Background colors for unique card designs */
.blog-card:nth-child(4n+1) {
  background-color: #fef7e8;
}

.blog-card:nth-child(4n+2) {
  background-color: #eef7ff;
}

.blog-card:nth-child(4n+3) {
  background-color: #f8f9fd;
}

.blog-card:nth-child(4n+4) {
  background-color: #f4f8f7;
}

/* Blog image styling */
.card-image {
  position: relative;
}

.card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.date-label {
  position: absolute;
  top: 4px;
  right: 8px;
  background-color: #f3a511;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* Content and Meta Info */
.card-content {
  padding: 20px;
  text-align: center;
}

.meta-info {
  display: flex;
  justify-content: space-between;
  color: #7c7f8a;
  font-size: 12px;
  margin-bottom: 10px;
}

.meta-info .author-info {
  display: flex;
  align-items: center;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 8px;
  border: 2px solid #f3a511; /* Optional: Add a border for better visibility */
}

.meta-info .comments {
  display: flex;
  align-items: center;
}

.meta-info span::before {
  margin-right: 5px;
  font-size: 10px;
}

.card-content h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.card-content p {
  font-size: 14px;
  color: #7c7f8a;
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  color: #fff;
  background-color: #f3a511;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: #e3930b;
}

.show-more {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #f3a511;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.show-more:hover {
  background-color: #e3930b;
}


/* reviews  */

.student-testimonials-section {
  position: relative;
  background: url('images/_Yellow\ Black\ Modern\ Back\ To\ School\ Background\ Banner.png') no-repeat center center/cover;
  padding: 100px 0;
  color: white;
  text-align: center;
}

.testimonial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.testimonial-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-title span {
  font-weight: 600;
  color: orange;
  text-transform: uppercase;
}

.testimonial-heading {
  font-size: 3rem;
  margin-top: 10px;
}

.testimonial-heading .testimonial-highlight {
  color: orange;
}

.testimonial-description {
  margin: 20px 0 40px;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-swiper-container {
  padding: 20px 0;
}

.testimonials {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.testimonial-card {
  background-color: white;
  color: black;
  border-radius: 15px;
  padding: 20px;
  width: 250px;
  margin: 20px;
  position: relative;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  color: orange;
}

.testimonial-content {
  margin: 20px 0;
  font-size: 0.9rem;
}

.testimonial-profile {
  display: flex;
  align-items: center;
}

.testimonial-profile img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.testimonial-profile h4 {
  margin-bottom: 5px;
  font-size: 1rem;
  font-weight: 600;
}

.testimonial-profile p {
  color: orange;
  font-size: 0.9rem;
}

.testimonial-pagination {
  margin-top: 30px;
  text-align: center;
}

.testimonial-pagination-bullet {
  background-color: white !important;
}

.testimonial-pagination-bullet-active {
  background-color: orange !important;
}


/* footer  */

footer.modern-footer {
    background-color: #1c1f26;
    color: #ffffff;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    padding: 20px;
    min-width: 240px;
}

.footer-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    border-bottom: 2px solid #777;
    padding-bottom: 0.5rem;
}

.footer-about,
.footer-contact,
.footer-links {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links {
    list-style-type: none;
}

.footer-links li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #ff6347;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    transition: fill 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
    background-color: #ff6347;
}

.footer-bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #777;
    margin-top: 20px;
    font-size: 0.85rem;
}

/* Animation */
footer.modern-footer:before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: #ff6347;
    opacity: 0.3;
    border-radius: 50%;
    top: -200px;
    right: -100px;
    animation: pulse 6s infinite ease-in-out;
}

footer.modern-footer:after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: #1f6f8b;
    opacity: 0.2;
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: pulse 7s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(0.9);
    }
}


/* contact  */


.contact-section {
  display: flex;
  justify-content: space-around;
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-infos {
  width: 30%;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.contact-infos:hover {
  transform: translateY(-10px);
}

.info-card {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  flex-direction: column;
}

.info-card img {
  width: 50px; /* Set a reasonable width for the icon image */
  height: auto;
  margin-bottom: 10px; /* Add some spacing below the image */
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px; /* Space between heading and paragraph */
  text-align: center;
  color: #007bff;
}

.info-card p {
  margin: 0;
  text-align: center;
}

.contact-form {
  width: 60%;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-10px);
}

.contact-form h2 {
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 1.8rem;
}

.form-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.form-row input {
  width: 48%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

textarea {
  width: 100%;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  resize: none;
  height: 150px;
  margin-bottom: 20px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #007bff;
}

button {
  padding: 15px 30px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

/* .co{
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  
} */
/* Contact Header */
.contact-header {
  margin-top: 40px;
  margin-bottom: 10px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
  text-align: center;
}

.contact-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #007bff;
}

.contact-header p {
  font-size: 1.1rem;
  color: #666;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .contact-section {
      flex-direction: column;
      padding: 30px 10px;
  }

  .contact-infos,
  .contact-form {
      width: 100%;
      margin-bottom: 20px;
  }

  .contact-infos {
      width: 100%;
  }

  .contact-form {
      width: 100%;
  }

  .form-row {
      flex-direction: column;
  }

  .form-row input {
      width: 100%;
      margin-bottom: 15px;
  }

  textarea {
      height: auto;
  }

  .contact-header h1 {
      font-size: 2rem;
  }

  .contact-header p {
      font-size: 1rem;
  }

  .info-card h3 {
      font-size: 1.2rem;
  }

  .info-card p {
      font-size: 0.9rem;
  }

  .contact-form h2 {
      font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-header h1 {
      font-size: 1.8rem;
  }

  .contact-header p {
      font-size: 0.9rem;
  }

  .info-card h3 {
      font-size: 1rem;
  }

  .info-card p {
      font-size: 0.8rem;
  }

  .contact-form h2 {
      font-size: 1.2rem;
  }

  .form-row input {
      font-size: 0.9rem;
  }

  textarea {
      font-size: 0.9rem;
  }

  button {
      font-size: 0.9rem;
      padding: 12px 25px;
  }
}




/* book  */
/* Container Styles */
.containers {
  max-width: 1200px; /* Maximum width for the container */
  margin: 0 auto; /* Center the container */
  padding: 20px; /* Padding around the container */
}

/* Heading Styles */
h1 {
  text-align: center; /* Center the heading */
  font-size: 2.5em; /* Increase font size */
  margin-bottom: 20px; /* Margin below the heading */
}

/* Search Bar Styles */
.library-search-bar {
  display: flex; /* Flexbox layout */
  justify-content: center; /* Center items horizontally */
  margin-bottom: 20px; /* Margin below the search bar */
}

.library-search-input {
  width: 300px; /* Set input width */
  padding: 10px; /* Padding for the input */
  font-size: 1em; /* Font size */
  border: 1px solid #ccc; /* Border styling */
  border-radius: 5px; /* Rounded corners */
  margin-right: 10px; /* Space between input and button */
}

.library-search-button {
  padding: 10px 15px; /* Padding for the button */
  font-size: 1em; /* Font size */
  background-color: #007bff; /* Button background color */
  color: white; /* Button text color */
  border: none; /* No border */
  border-radius: 5px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor */
  transition: background-color 0.3s; /* Transition effect */
}

.library-search-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

/* Book Container Styles */
.library-book-container {
  display: grid; /* Grid layout */
  grid-template-columns: repeat(4, 1fr); /* Four books per row */
  gap: 10px; /* Space between books */
  margin-bottom: 20px; /* Margin below the book container */
  
}

/* Book Card Styles */
.book-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin: 8px;
  padding: 20px;
  width: 270px; /* Increased width for better layout */
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s; /* Added box-shadow transition */
  position: relative; /* For positioning the badge */
  overflow: hidden; /* Ensure content does not overflow */
  column-gap: 100px;
}
.book-card:hover h2 {
  color: #FF6A30; /* Change to your desired hover color */
}
.book-card:hover {
  transform: translateY(-5px); /* Lift effect on hover */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* More pronounced shadow on hover */
}

/* Image Wrapper Styles */
.image-wrapper {
  position: relative;
  width: 100%; 
  text-align: center; 
  overflow: hidden; /* Ensure overflow is hidden */
}

/* Category Badge Styles */
.category-badge {
  position: absolute; /* Position it absolutely in the image wrapper */
    top: 93%; /* Vertically center the badge */
    left: 50%; /* Horizontally center the badge */
    transform: translate(-50%, -50%); 
    background-color: #3083ff; /* Badge background color */
    color: white; /* White text color */
    padding: 3px 20px;
    border-radius: 5px;
    font-size: 11px;
    text-transform: uppercase; /* Make text uppercase */
    z-index: 1; /* Ensure it appears above the image */
    white-space: nowrap;
}


.book-cover {
  /* width: 100%;  */
  height: 230px;
  border-radius: 5px;
  object-fit: contain ; 
  transition: transform 0.3s; /* Added transition */
}
/* Text Styles */
h2 {
  font-size: 1.2em; /* Title font size */
  margin: 10px 0; /* Margin around title */
}

p {
  margin: 5px 0; /* Margin around paragraphs */
  text-align: center;
}

/* Pagination Styles */
.library-pagination {
  display: flex; /* Flexbox layout for pagination */
  justify-content: center; /* Center pagination */
  align-items: center; /* Center items vertically */
}

.library-pagination-button {
  padding: 10px 15px; /* Padding for buttons */
    margin: 0 5px; /* Space between buttons */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    background-color: #007bff; /* Button background color */
    color: white; /* Text color */
    cursor: pointer; /* Change cursor on hover */
    transition: background-color 0.3s; /* Smooth background color transition */
}

.library-pagination-button:hover:not(:disabled) {
  background-color: #cccccc;
    /* cursor: not-allowed; */
}
.library-pagination-button:hover{
  background-color: #0056b3; 
}
.library-no-results {
  text-align: center; /* Center no results message */
  font-size: 1.2em; /* Font size */
}

#no-results {
  text-align: center;
  margin-top: 20px;
  color: red;
}