/* Custom styles to match the screenshot */
body {
  font-family: "Inter", sans-serif;
  background-color: #f7f5f9;
  /* Light lavender background */
  color: #333;
}
/* 🟣 Scoped Navbar Styles */
.zixola-navbar-wrapper {
  position: relative;
  z-index: 1000;
}

.zixola-navbar-wrapper .zixola-header {
  background: linear-gradient(90deg, #f5c7e0 0%, #fefdcd 100%);
  border-radius: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1rem;
  margin: 1rem auto;
  max-width: 95%;
}

.zixola-navbar-wrapper .zixola-brand {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.zixola-navbar-wrapper .zixola-nav .nav-link,
.zixola-navbar-wrapper .zixola-nav .dropdown-item {
  color: #4a4a4a;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.zixola-navbar-wrapper .zixola-nav .nav-link:hover,
.zixola-navbar-wrapper .zixola-nav .dropdown-item:hover {
  color: #212529;
}

.zixola-navbar-wrapper .zixola-nav .nav-link.active {
  color: #212529 !important;
  font-weight: 700;
  position: relative;
}

/* Language Button */
.zixola-navbar-wrapper .btn-languages {
  background-color: #343a40 !important;
  color: white !important;
  border: none;
  font-weight: 500;
  border-radius: 0.75rem;
  padding: 0.5rem 1.5rem;
  transition: background-color 0.3s;
}

.zixola-navbar-wrapper .btn-languages:hover {
  background-color: #495057 !important;
}

/* Dropdown Menu */
.zixola-navbar-wrapper .dropdown-menu {
  border-radius: 0.75rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.collapse.navbar-collapse {
  visibility: visible !important;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
  .zixola-navbar-wrapper .zixola-header {
    border-radius: 0;
    margin: 0;
    max-width: 100%;
  }

  .zixola-navbar-wrapper .zixola-brand {
    font-size: 1.5rem;
  }
}

.flashcard-container {
  perspective: 2000px;
  margin-bottom: 30px;
}
.flashcard-container {
  position: relative;
  z-index: 1;
}
.flashcard {
  width: 300px;
  height: 400px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.17, 0.67, 0.83, 0.67);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2), 0 10px 15px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f1f1f1);
}

/* add 3D depth illusion with inner lighting */
.flashcard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.4),
    rgba(0, 0, 0, 0.05)
  );
  pointer-events: none;
  z-index: 2;
}

.flashcard-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #fffdf8, #f9efe0);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8),
    inset 0 -2px 6px rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.7);
  transform: translateZ(20px);
}

.flashcard-front,
.flashcard-back {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  padding: 10px;
  text-align: center;
}

.flashcard-back {
  transform: rotateY(180deg) translateZ(20px);
  background: linear-gradient(135deg, #f8f5ec, #f3e7d4);
}

.flashcard img {
  max-width: 80%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateZ(10px);
}

.flip-button {
  background: linear-gradient(135deg, #2c3e50, #4b6584);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.flip-button:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, #34495e, #2f506b);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* subtle rotation/tilt effect for realism */
.flashcard:hover {
  transform: rotateY(-10deg) rotateX(5deg) scale(1.02);
  transition: transform 0.4s ease-out;
}

@media (max-width: 500px) {
  .flashcard {
    width: 260px;
    height: 340px;
  }
}

.navbar-custom {
  background-color: #e6ddeb;
}

.brand-logo {
  font-size: 2rem;
  font-weight: bold;
  color: #6a5acd;
  /* A placeholder purple */
}

.header-section {
  background-color: #e6ddeb;
  padding: 1rem 0;
  border-bottom: 1px solid #d1c4e9;
}

.content-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.main-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 2rem 0;
}

.buy-button {
  background-color: #343a40;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
}

.buy-button:hover {
  background-color: #495057;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.list-styled ul {
  list-style: none;
  padding-left: 0;
}

.list-styled li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.list-styled li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6a5acd;
  font-weight: bold;
}

.flashcard-container {
  position: relative;
  z-index: 1;
}

.flashcard {
  position: relative;
  z-index: 2;
}

/* FAQ Section Styles */
.custom-faq-section {
  background-color: #f7f5f9;
  border-radius: 1rem;
  padding: 3rem 1rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.faq-title {
  font-size: 2rem;
  font-weight: 700;
  color: #4b3f72;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.open {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  background: #e6ddeb;
  color: #2c3e50;
  font-weight: 600;
  text-align: left;
  border: none;
  outline: none;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-question:hover {
  background: #dcd1eb;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 1.25rem;
  transition: all 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 1rem 1.25rem;
}

.custom-footer {
  background-color: #0d7490;
  padding: 2rem 0;
  color: #ffffff;
}

.footer-logo {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
}

.social-icon {
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.social-icon:hover {
  color: #b3e5fc;
}

.cdimg {
  width: 200px !important;
}

.cdimg1 {
  width: 150px !important;
}

.txt1 {
  font-size: 50px;
  font-weight: 700;
}

.txt2 {
  font-size: 40px;
  font-weight: 700;
}

.cd {
  height: 380px;
  width: 300px;
  /* padding: 20px; */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 24px solid;
  outline: 3px solid white;
  outline-offset: -18px;
  border-image: linear-gradient(to bottom right, #d287b7, #fff9b4) 1;
  /* border-image-slice: 1; */
}

.card.cd {
  position: relative;
}
.img1 {
  width: 400px;
  float: right;
}

.img2 {
  width: 400px;
  float: left;
}

@media screen and (max-width: 767px) {
  .img1 {
    width: 400px;
    float: none;
    margin: 0px 0px 20px 0px !important;
  }

  .img2 {
    width: 400px;
    float: none;
    margin: 0px 0px 20px 0px !important;
  }

  .mobileimg {
    display: block !important;
  }

  .mobileimg img {
    display: block !important;
    float: none !important;
    width: 100% !important;
  }

  .cdc {
    padding: 5px !important;
  }

  .ft {
    flex-direction: column;
  }

  .cs {
    justify-content: center;
  }

  .ce {
    justify-content: center;
  }
}

.h2,
h2 {
  font-size: 2rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important ;
  margin-top: 0.5rem !important ;
}
