body {
  font: 400 15px/1.8 Lato, sans-serif;
  color: #777;
  background-color: #FFFFF0;
}

.navbar {
  font-family: Montserrat, sans-serif;
  margin-bottom: 0;
  background-color: #0c0c0c;
  border: 0;
  font-size: 15px !important;
  letter-spacing: 4px;
  opacity: 0.9;
  position: relative; 
  /* Added to ensure navbar is non-sticky */
}

nav ul li a::after {
  content: '';
  width: 0;
  height: 3px;
  background: green;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}

nav ul li a:hover::after {
  width: 100%;
}

.navbar li a, .navbar .navbar-brand {
  color: #d5d5d5 !important;
}

.navbar-nav li a:hover {
  color: #fff !important;
}

.navbar-nav li.active a {
  color: #fff !important;
  background-color: #29292c !important;
}

.navbar-default .navbar-toggle {
  border-color: transparent;
}

.open .dropdown-toggle {
  color: #fff;
  background-color: #555 !important;
}

.dropdown-menu li a {
  color: #000 !important;
}

.dropdown-menu li a:hover {
  background-color: #000 !important;
}

footer {
  background-color: #2d2d30;
  color: #f5f5f5;
  padding: 32px;
}

footer a {
  color: #f5f5f5;
}

footer a:hover {
  color: #777;
  text-decoration: none;
}

.form-control {
  border-radius: 0;
}


/* Contact section */
.containered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.containered h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.containered {
  box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset,
    rgba(87, 84, 84, 0.5) -3px -3px 6px 1px inset;
}

.contact-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.contact-left, .contact-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.contact-left {
  text-align: center;
}

.contact-left p {
  font-size: 18px;
  margin: 10px 0;
}

.contact-left p i {
  font-size: 24px; /* Make the paper plane and phone square icons larger */
  margin-right: 10px;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  margin-right: 15px;
  font-size: 40px; /* Make icons larger */
  color: #333;
  text-decoration: none;
  transition: transform 0.3s ease-in-out, color 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #5f03f4;
}

.contact-right form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-right form input,
.contact-right form textarea {
  width: 100%;
  margin-bottom: 5px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-right form button {
  padding: 10px;
  font-size: 16px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-right form button:hover {
  background-color: #5f03f4;
  transform: scale(1.05);
}

.responsive-logo {
  max-width: 100%;
  height: auto;
}

/* Specific styles for larger screens (desktops) */
@media (min-width: 768px) {
  .responsive-logo {
    width: 150px; /* Adjust this value as needed */
  }
}

/* Specific styles for smaller screens (phones) */
@media (max-width: 767px) {
  .responsive-logo {
    width: 100px; /* Adjust this value as needed */
  }
}

/* PartII */
h1 {
  text-align: center;
  margin-top: 20px;
  color: #000;
}

.image-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px 0; /* Increased margin for space from the top images */
}

.rounded-image {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.rounded-image:hover {
  transform: scale(1.1);
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Space between the cards */
  justify-content: center;
  margin-bottom: 40px; /* Increased margin for space from the bottom */
}

.card {
  background-color: #5B85D9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  text-align: center;
  width: 200px;
  font-size: 18px;
  transition: transform 0.3s;
  box-shadow: 10px 10px 20px black;
  color: #fff;
  margin: 20px; /* Space around each card */
}

.card h2 {
  margin-top: 0;
}

.card:hover {
  transform: scale(1.05);
}

.button {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px 5px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.read-button {
  background-color: #28a745;
}

.read-button:hover {
  background-color: #218838;
}

.download-button {
  background-color: #dc3545;
}

.download-button:hover {
  background-color: #c82333;
}

.container-3 {
  text-align: center;
  padding: 20px;
}

.book-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 10px 0;
}

.book-images img {
  max-width: 20%;
  height: auto;
  transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
  cursor: pointer;
}

.book-images img:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.button-1 {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin-bottom: 30px;
  margin-top: 50px;
}

.button-1:hover {
  background-color: #0056b3;
}

/* Card and button30 show more.... */
.cards-cart2 {
  display: flex;
  flex-direction: column; /* Arrange items in a column */
  justify-content: center;
  align-items: center;
  gap: 20px; /* Space between items */
  padding: 20px;
}

.button30 {
  width: 160px;
  height: 60px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border: 1px solid #0c0c0c;
  background-color: #000;
  box-shadow: 3px 3px 6px rgb(34, 34, 34);
  transition: transform 0.3s ease-in-out;
  border-radius: 10px;
  margin-top: 20px; /* Space between the button and other content */
}

.button37 {
  width: 160px;
  height: 60px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background-color: #0c0c0c;
  border-radius: 10px;
  outline: none;
  border: none;
  box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15), -6px -6px 10px -1px #2b2b2b;
  transition: transform 0.5s;
}
.button37:hover {
  box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
    inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7), -0.5px -0.5px 0px #2b2b2b,
    0.5px 0.5px 0px rgba(0, 0, 0, 0.15), 0px 12px 10px -10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transform: translateY(0.5em);
}

