.content{   
    margin-top:   -28%;
    width: 100%;
    display: none; /* Hide initially for loading */
}
header{
    position: fixed;
    width: 100%;
    margin-top: -11.2%;
    /* border: 2px solid black; */
    display: flex;
    box-shadow: 0px 5px 10px rgb(138, 136, 136);
    z-index: 999;
    background-color: white;
}
header .logo{
    display: flex;
}
header .logo img{
    width: 100px;
    height: 100px;
    margin-top: 0;
    padding: 10px;
}
.logo h1{
    padding: 10px;
    color: #659e25;
    font-size: 24px;
    margin-top:3%;
}
span:nth-child(1){
    color: #45bbdd;
}
span:nth-child(2){
    color: #fb628d;
}
header div{
 /* border: 2px solid black; */
 width: 100%;
}
header ul{
    display: flex;
    margin-right: 4%;
    margin-top: 5%;
    float:right;
    gap: 30px;
    padding: 5px 10px;
}
header ul li{
    display: inline-block;
}
header ul li a{
    text-decoration: none;
    color: black;
    /* border: 1px solid black; */
    padding: 5px;
    text-transform: uppercase;
    border-radius: 5px;
}
header ul li a:hover{
    background-color: #45bbdd;
}
.book{
    text-decoration: none;
    /* border: 1px solid black; */
    padding: 20px 10px;
    margin-top: -2.5%;
    border-radius: 10px;
    background-color: #fb628d;
    color: white;
}
.active{
    background-color: #45bbdd;
}
.back{
    position: fixed;
    width: 50%;
    left: 25%;
    top: 0;
    opacity: 0.2;
}
.side-bar{
    position: fixed;
    z-index: 999;
    float: right;
    width: 2%;
    /* border: 5px solid black; */
    margin-left: 97%;
}
.side-bar a img{
    width: 50px;
    height: 50px;
}
.popup{
    position: fixed;
    z-index: 999;
    background-color: rgba(10, 122, 173, 0.5);
    box-shadow: -10px 0 10px rgba(5, 5, 5, 0.537);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    backdrop-filter: blur(10px);
    row-gap: 1rem;
    top: 25%;
    left: 0;
    width: 45%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 8px;
    /* Remove left to avoid conflicts */
}

/* Close button inside popup */
.popup button#close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1000;
}

/* Popup image */
.popup img {
    max-width: 100%;
    margin-top: 2rem;
    border-radius: 4px;
}

/* Download link */
.popup a {
    margin-top: 1rem;
    padding: 12px 20px;
    background-color: #45bbdd;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.popup a:hover {
    background-color: #3a9ac1;
}
.footer{
    background-color: #fb628d;
    display: flex;
    flex-direction: row;
    gap: 30px;
}
.footer div{
    width: 100%;
}
.foot-social a img{
 width: 50px;
 height: 50px;
 margin-top: 25%;
}
/* Mobile view */
@media (max-width: 600px) {
    .content{   
    margin-top: -170%;
    width: 100%;
    display: none; /* Hide initially for loading */
}
   header {
      flex-direction: column;
      align-items: center;
      margin-top: 0;
      position: relative;
   }
   header .logo {
      justify-content: center;
      width: 100%;
   }
   header .logo img {
      width: 70px;
      height: 70px;
      padding: 5px;
      margin: 0;
   }
   /* Menu button */
   header .menu-btn {
      display: block;
      position: absolute;
      top: 15px;
      right: 20px;
      width: 30px;
      height: 30px;
      cursor: pointer;
      z-index: 1001;
   }
   header .menu-btn div {
      width: 100%;
      height: 4px;
      background-color: #333;
      margin: 4px 0;
      transition: 0.4s;
   }
   /* Initially hide the menu list */
   header ul {
      flex-direction: column;
      margin-right: 0;
      margin-top: 100px;
      padding: 0;
      gap: 10px;
      width: 100%;
      justify-content: center;
      float: none;
      display: none; /* Hide menu by default on mobile */
   }
   /* Show menu when active */
   header.menu-active ul {
      display: flex;
   }
   header ul li {
      display: block;
      width: 100%;
      text-align: center;
   }
   header ul li a {
      padding: 10px 0;
      display: block;
   }
   .book {
      padding: 10px 5px;
      margin-top: 0;
      font-size: smaller;
      border-radius: 5px;
   }
  .side-bar{
    position: fixed;
    z-index: 999;
    float: right;
    width: 2%;
    /* border: 5px solid black; */
    margin-left: 89%;
}
.popup{
    position: fixed;
    z-index: 999;
    background-color: rgba(10, 122, 173, 0.5);
    box-shadow: -10px 0 10px rgba(5, 5, 5, 0.537);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    backdrop-filter: blur(10px);
    row-gap: 1rem;
    top: 25%;
    left: 15%;
    width: 70%;
    max-height: auto;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 8px;
    /* Remove left to avoid conflicts */
}
}
