@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color: #6e11b0;
  --secondary-color: #ff6900;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.notification {
  background-color: #e9d8fd;
}

.notification .container {
  color: var(--primary-color);
  font-size: 0.75rem;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.notification a {
  color: inherit;
  text-decoration: none;
}
.header {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 0;
}

.container {
  width: 90%;
  margin: 0 auto;
}

.header .container {
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box {
  display: inline-flex;
  background-color: white;
  border-radius: 100px;
  padding: 0.25rem 1rem;
}

.logo-text {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .logo-text {
    font-size: 1.25rem;
  }
}

.logo-highlight {
  color: black;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  order: 3;
}

@media (min-width: 768px) {
  .nav-toggle-label {
    display: none;
  }
}

.hamburger svg {
  width: 24px;
  height: 24px;
}

.nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  padding: 1rem 0;
  order: 3;
}

.nav-toggle:checked ~ .nav {
  display: flex;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: auto;
    padding: 0;
    order: 2;
  }
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .nav-link {
    font-size: 1rem;
  }
}

.nav-link:hover {
  color: #d6bcfa;
}

.buttons {
  display: flex;
  gap: 0.5rem;
  order: 2;
}

@media (min-width: 768px) {
  .buttons {
    order: 3;
  }
}

.btn {
  display: flex;
  align-items: center;
  padding: 0.25rem 1rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  cursor: pointer;
  border: none;
}

@media (min-width: 768px) {
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

.btn-login {
  background-color: white;
  color: var(--primary-color);
}

.btn-login:hover {
  background-color: #fefce8;
}

.btn-register {
  background-color: var(--secondary-color);
  color: white;
}

.btn-register:hover {
  background-color: #fbbf24;
}

.btn-icon {
  margin-left: 0.25rem;
}

.btn-icon svg {
  width: 16px;
  height: 16px;
}

@media (min-width: 768px) {
  .btn-icon svg {
    width: 20px;
    height: 20px;
  }
}

.hero {
  background-color: var(--primary-color);
  color: white;
  padding-bottom: 3rem;
  position: relative;
}

.hero .container {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero .container {
    flex-direction: row;
    padding: 3rem 1rem;
  }
}

.content {
  width: 100%;
  text-align: left;
}

@media (min-width: 768px) {
  .content {
    width: 50%;
    text-align: left;
  }
}

.title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .title {
    font-size: 3rem;
  }
}

.title-highlight {
  color: var(--secondary-color);
}

.description {
  margin-bottom: 1.5rem;
  max-width: 36rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .description {
    font-size: 1rem;
  }
}

.hero-btn {
  background-color: #6b46c1;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
}

.hero-btn:hover {
  background-color: #7c3aed;
}

.icon {
  margin-left: 0.25rem;
}

.image-container {
  width: 100%;
}

@media (min-width: 768px) {
  .image-container {
    width: 50%;
  }
}

.image {
  width: 100%;
  color: transparent;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.wave-svg {
  width: 100%;
}

.what-we-provide {
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .what-we-provide {
    padding: 3rem 0;
  }
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
  }
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 2px;
  background-color: var(--secondary-color);
}

@media (min-width: 768px) {
  .section-title::after {
    width: 12rem;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 1rem;
  border-radius: 0.5rem;
}

@media (min-width: 768px) {
  .card {
    padding: 1.5rem;
  }
}

.card-icon {
  padding: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .card-icon {
    padding: 1rem;
    margin-bottom: 1rem;
  }
}

.card-icon img {
  width: 100%;
  object-fit: contain;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .card h3 {
    font-size: 1.25rem;
  }
}

.popular-books {
  padding: 2rem 0;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .popular-books {
    padding: 3rem 0;
  }
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .books-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}

.book-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

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

.book-cover {
  position: relative;
}

.book-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
}

.stats-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(31, 41, 55, 0.75);
  color: white;
  font-size: 0.65rem;
  padding: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .stats-overlay {
    font-size: 0.75rem;
    padding: 0.75rem;
  }
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.stat .icon {
  width: 12px;
  height: 12px;
}

@media (min-width: 768px) {
  .stat .icon {
    width: 14px;
    height: 14px;
  }
}

.book-section {
  padding: 2rem 0;
  background-color: #f9fafb;
}

@media (min-width: 768px) {
  .book-section {
    padding: 4rem 0;
  }
}

.book-section .container {
  width: 90%;
  margin: 0 auto;
  padding: 0 1rem;
}

.book-section .container .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .book-section .container .content-wrapper {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.image-wrapper {
  width: 100%;
  max-width: 400px;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .image-wrapper {
    width: 33.3333%;
    max-width: 500px;
    margin-bottom: 0;
  }
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.text-wrapper {
  text-align: center;
  width: 100%;
}

@media (min-width: 768px) {
  .text-wrapper {
    width: 66.6667%;
  }
}

.title-book {
  font-size: 2rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .title-book {
    font-size: 3rem;
  }
}

.subtitle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #6b46c1;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .subtitle {
    font-size: 1.875rem;
    margin-top: 0.75rem;
  }
}

.resources-section {
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .resources-section {
    padding: 3rem 0;
  }
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  color: #f97316;
  margin-bottom: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
    margin-bottom: 3rem;
  }
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 2px;
  background-color: #f97316;
}

@media (min-width: 768px) {
  .section-title::after {
    width: 12rem;
  }
}

.partners-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .partners-wrapper {
    gap: 4rem;
  }
}

.partners-wrapper img {
  width: 100px;
  height: 35px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .partners-wrapper img {
    width: 120px;
    height: 40px;
  }
}

.request-section {
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .request-section {
    padding: 3rem 0;
  }
}

.form-container {
  border: 1px solid #6d0bae;
  border-radius: 0.5rem;
  padding: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .form-container {
    padding: 1.5rem;
    max-width: 64rem;
  }
}

.request-title {
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .request-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .content-wrapper {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .image-wrapper {
    width: 33.3333%;
    margin-bottom: 0;
  }
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.form-wrapper {
  width: 100%;
}

@media (min-width: 768px) {
  .form-wrapper {
    width: 66.6667%;
  }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .form {
    gap: 1rem;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.form-input {
  border: 1px solid #f97316;
  border-radius: 0.375rem;
  padding: 0.5rem;
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: #fdba74;
}

.form-textarea {
  border: 1px solid #f97316;
  border-radius: 0.375rem;
  padding: 0.5rem;
  width: 100%;
  resize: vertical;
}

.form-textarea:focus {
  outline: none;
  border-color: #fdba74;
}

.form-button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  width: 100%;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
  .form-button {
    font-size: 1rem;
  }
}

.form-button:hover {
  background-color: #7c3aed;
}
/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 0;
  margin-top: auto;
}

@media (min-width: 768px) {
  .footer {
    padding: 3rem 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.logo-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  width: auto;
  max-width: 150px;
  border-radius: 100px;
  padding: 0.25rem 1rem;
  margin-bottom: 1rem;
}

.logo-text {
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary-color);
}

@media (min-width: 768px) {
  .logo-text {
    font-size: 1.25rem;
  }
}

.logo-highlight {
  color: black;
}

.description {
  text-justify: justify;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .description {
    font-size: 1rem;
  }
}

.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .social-links {
    gap: 0.75rem;
    margin-top: 1rem;
  }
}

.social-icon {
  width: 2rem;
  height: 2rem;
  background-color: #7c3aed;
  border-radius: 100%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
  .social-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.social-icon:hover {
  background-color: #9f7aea;
}

.social-icon svg {
  width: 1em;
  height: 1em;
}

@media (min-width: 768px) {
  .social-icon svg {
    width: 1.2em;
    height: 1.2em;
  }
}

.section-heading {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.links-list li {
  list-style: none;
  color: white;
  font-size: 1rem;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .links-list li {
    font-size: 1rem;
  }
}

a {
  text-decoration: none;
}

.link {
  color: white;
  transition: color 0.3s ease;
}

.link:hover {
  color: #e9d8fd;
}

.copyright {
  border-top: 1px solid #7c3aed;
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  text-align: center;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .copyright {
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 1rem;
  }
}
