* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
}

body{
  background-color: #f3e0c2;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #14464d;
  padding: 13px 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 45px;         
  height: auto;
  border-radius: 8px;  
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}


.nav-links {
  list-style: none; 
  display: flex;
  gap: 40px; 
  justify-content: center;
  flex: 1;
} 


.nav-links  a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links  a:hover {
 color: #093943;
  filter: drop-shadow(5px 5px 5px rgb(255, 255, 255));
}
.nav-links a.active {
  position: relative;
  
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;   
  left: 0;
  width: 100%;
  height: 3px;    
  background-color: #ffffff; 
  border-radius: 50px;
  
  filter: drop-shadow(5px 5px 5px rgb(255, 255, 255));
}


.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 30px;
  padding: 5px 10px;
  margin-left: 20px;
  margin-right: 20px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  padding: 8px 10px;
  font-size: 0.95rem;
  width: 150px;
  transition: width 0.3s ease;
}

.search-box input:focus {
  width: 200px;
}

.search-box button {
  border: none;
  background: none;
  color: #004d61;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.search-box button:hover {
  color: #00a6b4;
}




.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ccc;
  cursor: pointer;
  margin-right: 10px;
}






.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)),
  url('https://images.unsplash.com/photo-1512820790803-83ca734da794') center/cover;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-content button{
  width: 150px;
  height: 50px;
  padding: 10px 20px;
  background: linear-gradient(to right, #093943, #0b636b);  
  color: #fff;
  border: 1px solid #fff;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.hero-content button:hover {
  background: #f3e0c255;
}

.hero-content button a {
  color: inherit;        
  text-decoration: none; 
  display: inline-block;
  width: 100%;
  height: 100%;
  line-height: 30px;      
}

/* 
.features {
  padding: 60px 20px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-card i {
  font-size: 2rem;
  color: #00c8ff;
  margin-bottom: 10px;
} */

:root {
  --color-bg-1: #f8f8f8;
  --color-text: #222;
  --color-accent: #00C8FF;
  --font-size-lg: 1.1rem;
  --font-weight-medium: 500;
  --radius-xl: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-32: 32px;
}

.benefits {
  background: #f3e0c2;
  padding: 100px 20px;
}

.benefits__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.section__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #194850;
  margin-bottom: 20px;
}

.benefits__list {
  margin: var(--space-32) 0;
}

.benefit-item-detailed {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  margin-bottom: var(--space-20);
}

.benefit-check {
  width: 32px;
  height: 32px;
  background: #e4920d;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.benefit-text {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
}

.btn {
  padding: 15px 20px;
  border: 0;
  border-radius: 15px;
    background: linear-gradient(to right, #093943, #0b636b);
    font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: white;
}
.btn:hover{
    transform: translateY(-2px);
}

.floating-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: var(--radius-xl);
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.floating-shadow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 20px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: shadowFloat 6s ease-in-out infinite;
}

.highlight {
  color: #e4920d;
}

@media (max-width: 992px) {
  .benefits__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .benefit-item-detailed {
    justify-content: center;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes shadowFloat {
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateX(-50%) scale(0.9);
    opacity: 0.3;
  }
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.5;
  }
}



.books {
  padding: 40px 40px;
  background: #f3e0c2;
  text-align: center;
}

.books-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.books-header h2 {
  font-size: 2rem;
  color: #093943;
  margin: 0;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-btn {
  background: #093943;
  color: white;
  border: none;
  border-radius: 30%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.3rem;
  transition: 0.3s;
}

.slider-btn:hover {
  background: linear-gradient(to right, #0b636b, #00c8ff);
  transform: scale(1.1);
}

.book-slider {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 10px;
}

.book-card {
  flex: 0 0 auto;
  width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease;
}
.book-card h4 {
  font-size: 16px;
  /* margin: 10px 0 5px; */
  color: #194850;
}
.book-card p {
  color: #555;
  font-size: 0.9rem;
} 


.book-card:hover {
  transform: translateY(-5px);
}

.book-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}






#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
    background: linear-gradient(to right, #093943, #0b636b);
  color: #fff;
  border: none;
  padding: 12px 15px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  transition: 0.3s;
}

#scrollTopBtn:hover {
    transform: scale(1.05);
  background: linear-gradient(to right, #0b636b, #00c8ff);
}



.newsletter-container {
  background:  #093943;  
  padding: 60px 20px;
  color: #fff;
  text-align: center;
  border-radius: 20px;
  margin: 60px auto;
  max-width: 80%;
  height: auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.newsletter h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.newsletter p {
  font-size: 1rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  padding: 12px 15px;
  border: none;
  border-radius: 30px;
  max-width: 350px;
  width: 100%;
  font-size: 1rem;
  outline: none;
}

.newsletter-form button {
  padding: 12px 25px;
   transform: scale(1.05);
  background: linear-gradient(to right, #0b636b, #00c8ff); 
  color: #f7f7f7;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: linear-gradient(to right,#194850 , rgb(73, 191, 227));  
  color: white;
  transform: translateY(-2px);
}







.footer {
  background: #194850;  
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: 50px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 0.95rem;
  color: #ccc;
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #f3e0c2;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: #093943;
  filter: drop-shadow(5px 5px 5px rgb(255, 255, 255));
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #ccc;
  font-size: 1.2rem;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #e4920d;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid #333;
}

.reviews {
 background-color:#f3e0c2;
  padding: 60px 20px;
  text-align: center;
}

.reviews h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.review-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.review-top {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.review-top img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  border: 2px solid #00c8ff;
}

.review-top h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #222;
}

.review-top p {
  margin: 3px 0 0;
  font-size: 0.9rem;
  color: #ffaa00;
}

.review-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}




@media (max-width: 768px) {
   .hero {
    height: 50vh;
    padding: 20px;
  }

  .nav-links {
    display: none;
  }

.hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }
    .hero-content button {
    width: 120px;
    height: 40px;
    font-size: 0.9rem;
  }

.footer-container {
    text-align: center;
  }
}


.search-results {
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  width: 200px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}

.search-results div {
  padding: 8px;
  cursor: pointer;
}

.search-results div:hover {
  background-color: #f0f0f0;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .search-box {
    width: 100%;
    max-width: 300px;
  }

  .search-box input {
    width: 100%;
  }

  .profile-pic {
    width: 35px;
    height: 35px;
  }
}
@media (max-width: 768px) {
  .book-slider {
    overflow-x: scroll;
    padding: 10px 0;
  }

  .book-card {
    flex: 0 0 80%; 
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .review-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 992px) {
  .benefits__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .benefit-item-detailed {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .newsletter-container {
    padding: 40px 15px;
    max-width: 95%;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; 
    right: 0;
    background-color: #14464d;
    width: 200px;
    border-radius: 8px;
    padding: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

