/* General body styling with background image */
body {
  background: url('image/bg img.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Header styling */
header {
  background-color: #343a40;
  color: white;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.logo img {
  width: 50px;
  height: 50px;
}

/* Navigation bar */
nav {
  background-color: #495057;
  text-align: center;
}

nav a {
  color: white;
  padding: 14px 20px;
  display: inline-block;
  text-decoration: none;
}

nav a:hover {
  background-color: #6c757d;
}

/* About Section */
.about {
  padding: 50px 20px;
}

.about  p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: auto;
  text-align: center;
  color:white;
}

/* Get Started Button */
#getStartedBtn {
  padding: 10px 20px;
  font-size: 18px;
  background-color: #0d6efd;
  color: white;
  border: none;
  border-radius: 5px;
}

#getStartedBtn:hover {
  background-color: #0b5ed7;
}

/* Login Section */
#loginSection {
  max-width: 400px;
  margin: 30px auto;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#loginSection input {
  margin-bottom: 15px;
}

/* Help Section */
section.help {
  padding: 40px 20px;
}

ul li {
  margin-bottom: 10px;
}

/* Contact Section */
.contact {
  padding: 40px 20px;
}

form {
  max-width: 600px;
  margin: auto;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

input,
textarea {
  margin-bottom: 15px;
}

#confirmationMessage {
  text-align: center;
}

/* General headings */
h2 {
  margin-top: 30px;
  color: #e4eaef;
}

/* Book Cards */
.card {
  border-radius: 12px;
}

.card-title {
  color: #007bff;
}

.book-img {
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.rating {
  color: #ffc107;
}

/* Responsive Forms */
.form-select,
.form-control {
  max-width: 400px;
}

@media (max-width: 576px) {
  .form-select,
  .form-control {
    width: 90% !important;
  }
}
/* Footer Styling */
.footer {
  background-color: #222;
  color: #fff;
  padding: 20px 0;
}

.footer p {
  margin-bottom: 10px;
  font-size: 16px;
}

/* Social Media Icons */
.footer .social-icon {
  width: 32px;
  height: 32px;
  margin: 0 8px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%);
  object-fit: contain;
}

.footer .social-icon:hover {
  transform: scale(1.1);
  filter: none;
}


