@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');

/* Base Reset */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      /*font-family: "Comic Relief", system-ui;*/
      font-family: "Josefin Sans", sans-serif;
      background: #076585;
      background: -webkit-linear-gradient(to right, #076585, #fff);
      background: linear-gradient(to right, #076585, #fff);
      color: #333;
      padding: 0;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    /* Header */
    header {

background: #0f0c29;
background: -webkit-linear-gradient(to right, #24243e, #302b63, #0f0c29);
background: linear-gradient(to right, #24243e, #302b63, #0f0c29);


/*      background-color: #2c3e50; */
      color: #fff;
      padding: 15px 20px;
      position: relative;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1100px;
      margin: auto;
    }

    .logo {
      font-size: 1.5rem;
      font-weight: bold;
      cursor: pointer;
    }
    
    ul {
      list-style-type: none;
      }
      
    /* nav ul li {
      list-style-type: none;
      display: flex;
      gap: 20px;
    } */

    nav {
      display: flex;
      gap: 20px;
      align-items: center;
    }

    nav a {
      color: #ecf0f1;
      font-size: 1rem;
      padding: 6px 10px;
      transition: color 0.3s ease;
    }

    nav a:hover {
      color: #1abc9c;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }

    .hamburger span {
      width: 25px;
      height: 3px;
      background-color: white;
      transition: all 0.3s ease;
    }

    .mobile-nav {
      display: none;
      flex-direction: column;
      background-color: #34495e;
      position: absolute;
      top: 60px;
      right: 20px;
      width: 200px;
      border-radius: 5px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      z-index: 999;
    }

    .mobile-nav a {
      padding: 12px 16px;
      color: #ecf0f1;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-nav a:hover {
      background-color: #1abc9c;
      color: #fff;
    }

    /* Responsive Behavior */
    @media (max-width: 768px) {
      nav {
        display: none;
      }

      .hamburger {
        display: flex;
      }

      .mobile-nav.show {
        display: flex;
      }
    }
    
    .dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #34495e;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  min-width: 160px;
  padding: 5px 0;

}

/* Make the dropdown smaller and neater */
.dropdown-content a {
  display: block;
  padding: 10px 15px;
  font-size: 0.95rem;
  color: #ecf0f1;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #1abc9c;
  color:#ffffff;
}

.dropdown:hover .dropdown-content {
  display: block;
}
.mobile-dropdown {
  width: 100%;
}

.mobile-dropdown a {
  display: block;
  width: 100%;
  padding: 12px 16px;
  color: #ecf0f1;
}

.mobile-dropdown-content {
  display: none;
  background-color: #2c3e50;
  padding-left: 16px;
}

.mobile-dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: #ecf0f1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-content a:hover {
  background-color: #1abc9c;
  color: #fff;
}
.dropdown-toggle {
  background: none;
  border: none;
  color: #ecf0f1;
  font-size: 1rem;
  padding: 12px 16px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.dropdown-toggle:hover {
  color: #1abc9c;
}







    /* Main Container */
    .container {
      max-width: 1100px;
      margin: 40px auto;
      
      background: transparent;
      
/*background: #fff;
background: #076585;
background: -webkit-linear-gradient(to right, #076585, #fff);
background: linear-gradient(to right, #076585, #fff);*/

      padding: 30px;
      border-radius: 10px;
      /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);*/ /* eta container ekta shape er modhye rakhar jnno, niche alada portion o asbe ete */
    }

    .review-date {
      text-align: right;
      font-size: 0.9rem;
      color: #777;
      margin-bottom: 20px;
    }

    .top-section {
      display: flex;
      gap: 40px;
      align-items: flex-start;
      flex-wrap: wrap;
      margin-bottom: 30px;
    }

    .book-image {
      flex: 0 0 250px;
    }

    .book-image img {
      width: 100%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      display: block;
    }

    .book-info {
      flex: 1;
      min-width: 250px;
    }

    .book-title {
      font-size: 2.2rem;
      color: #2c3e50;
      margin-bottom: 20px;
      border-bottom: 2px solid #ddd;
      padding-bottom: 5px;
    }

    .book-details {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 15px;
    }

    .detail-box {
      background: #eef4fa;
      border-left: 5px solid #3498db;
      padding: 15px;
      border-radius: 6px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .detail-box h4 {
      font-size: 1.2rem;
      color: #2e86c1;
      margin-bottom: 5px;
    }

    .detail-box p {
      font-size: 1.05rem;
      color: #333;
    }

.review-section {
  margin-top: 30px;
  /*background: #e0f7e9; light green background */
  background: #e0eff7;
  padding: 20px;
  border-left: 5px solid #27ae60; /* green border */
  border-radius: 6px;
  text-align: justify;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.review-section h3 {
  margin-bottom: 10px;
  color: #1e8449; /* darker green heading */
  font-size: 1.7rem;
}

.review-section p {
  font-size: 1.2rem;
  color: #15324f /* readable dark text color for review part */
}


#helpLine {
    font-size: 14px;
    white-space: nowrap;
    background: linear-gradient(90deg, rgba(106, 17, 203, 0.2) 0%, rgba(37, 117, 252, 0.2) 100%);
    color:#000080;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    box-shadow: 0 4px 8px rgba(37, 117, 252, 0.4);
    transition: box-shadow 0.3s ease;
  }
  #helpLine:hover {
    box-shadow: 0 6px 12px rgba(37, 117, 252, 0.7);
  }
  #toggleBtn {
    border: none;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 13px;
    background: rgba(0, 123, 255, 0.8); /* bluish color */
    color: white;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.4); /* greenish shadow */
    font-family: "Comic Relief", system-ui;
  }
  #toggleBtn:hover {
    transform: scale(1.1);
    background: rgba(0, 105, 230, 0.9); /* deeper bluish on hover */
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.6); /* brighter green shadow */
  }
  #toggleBtn:active {
    transform: scale(0.95);
  }
  #email {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.8);
    color: rgba(37, 117, 252, 0.9);
    box-shadow: 0 2px 6px rgba(37, 117, 252, 0.2);
    user-select: text;
    transition: background-color 0.3s ease;
    font-family: Courier New;
    font-weight:bold;
  }
  #email:hover {
    background-color: #e6f0ff;
  }
  
  
  .help-line-top {
  width: 100%;
}

.help-line-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

/* Responsive layout */
@media (max-width: 700px) {
  #helpLine {
    flex-direction: column;
    align-items: flex-start;
    white-space: normal;
    gap: 4px;
  }

  .help-line-bottom {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    font-size: 13px;
  }

  #toggleBtn {
    padding: 4px 10px;
    font-size: 13px;
  }

  #email {
    font-size: 13px;
    padding: 2px 8px;
    margin-left: 0;
  }
}



code {
    color:#e83e8c;
    word-wrap: break-word;
    font-size:90%;
  }

code a {
    border-bottom:2px dotted;
  }

code a:hover {
    color:#d81f74;
    text-decoration:underline;
    border-bottom:none;
  }


    /* Footer */
    footer {
      /*background-color: #2c3e50;*/
      color: #ecf0f1;
      background: #0f0c29;
      background: -webkit-linear-gradient(to right, #24243e, #302b63, #0f0c29);
      background: linear-gradient(to right, #24243e, #302b63, #0f0c29);
      padding: 10px 10px;
      text-align: center;
      margin-top: 40px;
    }

    .social-links a {
      margin: 0 10px;
      color: #ecf0f1;
      font-size: 1rem;
      transition: color 0.3s;
    }

    .social-links a:hover {
      color: #1abc9c;
    }

    /* Responsive */
    @media (max-width: 900px) {

      .container { 
        max-width: inherit;
        margin: 0;
        padding: 30px 30px 0px 30px;
        }
      .top-section {
        flex-direction: column;
        align-items: center;
      }
      .book-image {
        width: 70%;
      }

      .book-info {
        width: 100%;
      }

      .book-title {
        text-align: center;
      }

      .book-details {
        grid-template-columns: 1fr;
      }

      .review-date {
        text-align: center;
      }

      .review-section h3 {
        text-align: center;
      }

      nav {
        margin-top: 10px;
      }

      nav a {
        display: inline-block;
        margin: 10px 10px 0 0;
      }
    }

    @media (max-width: 500px) {
      .book-image {
        width: 100%;
      }
    }