* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
}

.layout {
  display: grid;
  grid-template-columns: auto 1fr;
  height: 100vh;
}
/* Sidebar */
.sidebar {
  width: 70px;
  background-color: #111;
  color: white;
  height: 100vh;
  position: sticky;
  top: 0;
  transition: width 0.3s ease;
  overflow: hidden;
}
.sidebar:hover {
  width: 220px;
}

.logo {
  text-align: center;
  padding: 1rem 0;
}
.logo img {
  width: 40px;
  transition: all 0.3s ease;
  border-radius: 50px;
  border: 2px solid #ccc;
}
.sidebar:hover .logo img {
  width: 80%;
  border: 2px solid #fcb900;
  border-radius: 100px;
}

.nav {
  display: flex;
  flex-direction: column;
}
.nav a {
  color: #ccc;
  padding: 1rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: 0.3s;
  white-space: nowrap;
}
.nav a i {
  min-width: 30px;
  text-align: center;
  font-size: 18px;
}
.nav a span {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sidebar:hover .nav a span {
  opacity: 1;
  pointer-events: auto;
  margin-left: 10px;
}
.nav a:hover {
  background-color: #fcb900;
  color: black;
}

/* Main Content */
.main-content {
  overflow-y: auto;
  height: 100vh;
}
.swiper {
  height: 100vh;
  width: 100%;
  position: relative;
}
.swiper-slide {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
  z-index: 0;
}

.glass-content {
  position: relative;
  z-index: 2;
  padding: 2rem 3rem;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  color: #fff;
  text-align: center;
  animation: fadeInUp 1s ease-in-out;
  margin-top: 2vh;
}
.glass-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.glass-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.glass-content .btn {
  background-color: #fcb900;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  color: #111;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.glass-content .btn:hover {
  background-color: #fff;
  color: #fcb900;
}

.swiper-button-next, .swiper-button-prev {
  color: #fcb900;
}
/* Hide glass content by default */
.swiper-slide .glass-content {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

/* Show glass content only for active slide */
.swiper-slide-active .glass-content {
  opacity: 1;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* Footer */
.footer {
  background-color: #111;
  color: #eee;
  padding: 2rem 1.5rem;
  margin-top: auto;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-social {
  flex: 1 1 200px;
  min-width: 220px;
}

.footer h3,
.footer h4 {
  color: #fcb900;
  margin-bottom: 0.8rem;
}

.footer p,
.footer a,
.footer li {
  color: #ccc;
  line-height: 1.6;
  text-decoration: none;
}

.footer a:hover {
  color: #fcb900;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-contact p i,
.footer-social a i {
  margin-right: 10px;
}

.footer-social .social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social a {
  color: #ccc;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #fcb900;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #888;
}
.image-book {
  text-align: center;
  margin: 4rem auto;
  padding: 1rem;
}

.book-container {
  width: 100%;
  max-width: 500px; /* Portrait width */
  aspect-ratio: 3 / 4; /* Portrait aspect ratio */
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.book-container img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Show full image without cropping */
  display: block;
  background-color: #fff;
  padding: 10px;
}

.book-controls {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.book-controls button {
  padding: 0.75rem 1.8rem;
  background: rgba(0, 119, 182, 0.8);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.3);
  backdrop-filter: blur(5px);
}

.book-controls button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transition: all 0.5s ease;
  pointer-events: none;
}

.book-controls button:hover::before {
  left: 100%;
}

.book-controls button:hover {
  transform: translateY(-2px) scale(1.03);
  background-color: #c7ac00;
  box-shadow: 0 8px 25px rgba(0, 150, 199, 0.4);
}

#page-indicator {
  font-weight: 600;
  font-size: 1.05rem;
  color: #444;
  padding: 0.5rem 1rem;
  background-color: #f2f2f2;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}
  .phone-dial {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  background-color: #57595d;
  color: white;
  padding: 12px 0;
  font-size: 18px;
  border-radius: 150px;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

.phone-dial i {
  margin-right: 8px;
}

.phone-dial:hover {
  background-color: #1ebe5b;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 50px;
  z-index: 1000;
  height: 100px;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp-float a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.whatsapp-float a:hover {
  background-color: #1ebe5b;
}

.chat-tooltip {
  position: absolute;
  right: 70px;
  bottom: 50%;
  transform: translateY(50%);
  background-color: #ffffff;
  color: #333;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

/* Chat bubble arrow */
.chat-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
}
/* Show on hover */
.whatsapp-float a:hover .chat-tooltip {
  opacity: 1;
  transform: translateY(50%) translateX(-5px);
  pointer-events: auto;
}
@media (max-width: 786px) {
  .swiper-slide .bg-video {
    height: 90%;
  }
  .image-book {
    margin: 1rem auto;
    margin-top: -20px;
  }
}
@media (max-width: 520px) {
  .sidebar {
      width: 55px;
  }
  .nav span {
      font-size: 1rem;
  }
  .nav a {
      padding: 0.8rem;
  }
  .sidebar:hover {
      width: 180px;
  }
  .sidebar:hover .logo img {
      width: 40%;
      border-radius: 50px;
  }
  .sidebar:hover .nav a span{
      font-size: 0.9rem;
  }
  .swiper-slide .bg-video {
    height: 90%;
  }
  .image-book {
    margin: 1rem auto;
    margin-top: -20px;
  }
  .glass-content h1 {
    font-size: 1.2rem;
  }
  .glass-content p {
    font-size: 0.9rem;
  }
  .glass-content .btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  .glass-content {
    width: 90%;
  }
  .book-controls button {
    padding: 0.4rem 1rem;
    font-size: 0.6rem;
  }
}
@media (max-width: 425px) {
  .glass-content h1 {
    font-size: 1.2rem;
  }
  .glass-content p {
    font-size: 1rem;
  }
  .glass-content .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  .glass-content {
    width: 80%;
  }
  .book-controls button {
    padding: 0.6rem 1.2rem;
    font-size: 0.7rem;
  }
}
@media (max-width: 384px) {
  .glass-content h1 {
    font-size: 1.2rem;
  }
  .glass-content p {
    font-size: 0.9rem;
  }
  .glass-content .btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  .glass-content {
    width: 90%;
  }
  .book-controls button {
    padding: 0.4rem 1rem;
    font-size: 0.6rem;
  }
}
@media (max-width: 360px) {
  .book-controls button {
    padding: 0.3rem 1rem;
    font-size: 0.5rem;
  }
  .book-controls span {
    font-size: 0.5rem;
  }
}

/* @media (max-width: 768px) {
  .glass-content {
    padding: 1.5rem 2rem;
  }
  .glass-content h1 {
    font-size: 1.8rem;
  }
  .glass-content p {
    font-size: 1.3rem;
  }
  .glass-content .btn {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }
} */