
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.top-header {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo {
  max-height: 85px;
  width: auto;
}

.red {
  color: red;
  font-weight: 900;
}

.dark {
  color: #2c3e50;
  font-weight: 800;
}

.slogan {
  color: red;
  font-size: 14px;
  margin-top: 3px;
  font-weight: bold;
}

.contact-info {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: #2c3e50;
}

/** nav**/

.main-nav {
  position: sticky;
  top: 95px;
  z-index: 1000;
  padding: 10px 30px;
  background-color: rgba(255, 255, 255, 0.25);  /* Light transparent white */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);         /* For Safari */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);     /* Optional: subtle shadow */
}


.nav-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.nav-center {
  position: static;
  justify-content: flex-start !important;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  justify-content: flex-start !important;
  }
  



  .nav-links li a {
    display: inline-flex;
    align-items: center;
    gap: 5px; /* space between text and icon */
    
  color: #333;
  font-weight: bold;
  text-decoration: none;

}

.nav-links li a:hover {
  color: #ff6b00;
}

.nav-right {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.btn.login {
  background-color: #ff6f6f;
  color: white;
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
}

.btn.join {
  background-color: #56d47b;
  color: white;
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
}

.btn:hover {
  transform: scale(1.05);
  transition: all 0.3s ease;
}


.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  background: #003b73;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px 0;
  min-width: 200px;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  color: white;
  padding: 10px 20px;
  display: block;
}

.dropdown-menu li a:hover {
  background-color: #005a9c;
}

@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }
  .nav-left {
    width: 100%;
  }
  .nav-links {
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }
  .nav-right {
    width: auto;
    margin-top: 0;
    justify-content: flex-end;
    flex-direction: row;
    gap: 6px;
    align-items: center;
  }
}



/* main*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;700&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: #2f2e41;
}

.ebooks-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(270deg, #e0c3fc, #8ec5fc, #f9f586);
  background-size: 600% 600%;
  animation: gradientAnimation 15s ease infinite;
}

.ebooks-section h2 {
  font-size: 3rem;
  margin-bottom: 50px;
  font-weight: 700;
  animation: fadeIn 1.5s ease-out;
  color: #2f2e41;
}

.ebooks-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.ebook-card {
  background: #fff;
  border-radius: 25px;
  padding: 40px 30px;
  width: 260px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  transform: scale(1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s ease;
  animation: popUp 1s ease forwards;
  will-change: transform;
}

.ebook-card:hover {
  transform: scale(1.12); /* sharper zoom */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  z-index: 1;
}



.ebook-card img {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
}

.ebook-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #2f2e41;
}

.download-btn {
  display: inline-block;
  background-color: #26d701;
  color: white;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #1cb200;
}

/* Gradient animation */
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Fade in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pop-up animation */
@keyframes popUp {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .ebook-card {
    width: 80%;
  }
}
/* Zoom effect already added above */

@keyframes popUp {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}


@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.ebook-card {
  animation: zoomIn 0.8s ease-out forwards;
}







/**   footer  **/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

.footer {
  background: #330000;
  color: #fff;
  padding: 50px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  animation: fadeInUp 1s ease-out;
}

.footer-logo h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #ff4b2b;
}

.footer-logo p {
  font-weight: 300;
  color: #ccc;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 10px 0;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff4b2b;
}

.footer-contact p {
  margin: 8px 0;
  font-size: 14px;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: #fff;
  margin-right: 15px;
  font-size: 18px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #ff4b2b;
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #bbb;
  border-top: 1px solid #555;
  padding-top: 20px;
}

/* Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}.site-footer {
  font-family: 'Segoe UI', sans-serif;
}

.footer-top {
  background-color: #2a0000; /* dark maroon */
  color: #ffffff;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  animation: fadeIn 1s ease-in-out;
}

.footer-nav {
  background-color: #2a0000; /* matching blue footer strip */
  padding: 20px 0;
  animation: slideUp 1s ease-in-out;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.4s ease, transform 0.3s ease;
}

.footer-links li a:hover {
  color: red;
  transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}




/* Mobile Fixes matching index.html */
@media (max-width: 768px) {
  .top-header {
    position: static;
    top: auto;
  }
  .main-nav {
    top: 0;
  }
}
