:root {
  --primary-blue: #002b5b;
  --accent-yellow: #ffc107;
  --bg-cream: #fdf8f4;
  --text-dark: #1a1a1a;
}

body {
  background-color: var(--bg-cream);
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
}

/* Countdown Banner */
#countdown-banner {
  width: 100%;
  background-color: #ffcc00;
  /* Golden yellow */
  color: #002b5b;
  text-align: center;
  padding: 6px 0 10px;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 9999;
  letter-spacing: 0.3px;
  animation: fadeIn 1s ease-in;
}

#countdown-banner p {
  margin: 0;
  font-size: 16px;
}

#countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
  flex-wrap: wrap;
}

/* Time boxes */
.time-box {
  background-color: #002b5b;
  color: #fff;
  padding: 6px;
  border-radius: 6px;
  width: 68px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.time-box .label {
  display: block;
  font-size: 11px;
  opacity: 0.8;
}

.time-box .value {
  font-size: 18px;
  font-weight: bold;
  display: block;
  animation: slideIn 0.8s ease-in-out;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateY(5px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 576px) {
  #countdown-banner p {
    font-size: 14px;
  }

  .time-box {
    width: 50px;
    padding: 5px 0px;
  }

  .time-box .value {
    font-size: 16px;
  }
  .lead {
    width: 100% !important;
  }
}

/* Hero Section */
.hero {
  background-color: var(--primary-blue);
  color: white;
  padding: 80px 0;
}

.hero img {
  min-height: 330px;
  max-width: 400px;
  border-radius: 10px;
}

.btn-order {
  background-color: var(--accent-yellow);
  color: #000;
  font-weight: 600;
  border: none;
}

.btn-order:hover {
  background-color: #e6b800;
}

.twoedition {
  background: #ff4757;
  color: white;
  padding: 6px 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Discount Banner */
.discount-banner {
  display: inline-block;
  background: linear-gradient(90deg, #ff9800, #ff5722);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 50px;
  animation: pulseGlow 2s infinite;
  box-shadow: 0 0 15px rgba(255, 152, 0, 0.5);
  cursor: default;
  transition: transform 0.3s ease;
}

.discount-banner:hover {
  transform: scale(1.05);
}

/* Subtle glowing animation */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 5px rgba(255, 152, 0, 0.5);
  }

  50% {
    box-shadow: 0 0 20px rgba(255, 152, 0, 1);
  }

  100% {
    box-shadow: 0 0 5px rgba(255, 152, 0, 0.5);
  }
}

/* Sunburst Badge */
.discount-badge {
  position: relative;
  display: inline-block;
  /* margin: 20px; */
}

/* Hexagon shape */
.ribbon-banner {
  transform: rotate(45deg);
  top: -430px;
  right: -190px;
  position: relative;
  background: #fbbc05;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 20px;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  z-index: 2;
  font-size: 1rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* Red ribbon background */
.ribbon-banner::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  width: calc(100% + 60px);
  height: 40px;
  background: red;
  transform: translateY(-50%);
  z-index: -1;
  border-radius: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .ribbon {
    width: 60px;
    height: 60px;
    font-size: 0.65rem;
    line-height: 60px;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero img {
    max-width: 280px;
    min-height: auto;
  }

  .price-badge {
    top: 6px;
    right: 6px;
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .hero h1 {
    font-size: 30px !important;
    width: 100% !important;
    text-align: center !important;
  }
  .ultimatepack15{
    font-size: 22px !important;
  }

  .discount-banner {
    text-align: center;
    font-size: 0.85rem;
    padding: 8px 14px;
  }
}

.book-stats {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 35px;
  color: #fff;
  flex-wrap: wrap;
  margin-top: 62px;
}

.stat-item {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 3px 10px rgba(255, 204, 0, 0.3);
}

.top-line {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 6px;
}

.icon {
  font-size: 11px;
  background-color: #ffcc00;
  color: #002b5b;
  border-radius: 25%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.stat-item:hover .icon {
  transform: scale(1.15);
  background-color: #ffd633;
}

.label {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}

.value {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 6px;
}

.divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 576px) {
  .book-stats {
    justify-content: center;
    gap: 20px;
  }

  .divider {
    display: none;
  }
}

/* Benefits */
.benefit-box {
  background: white;
  border-radius: 13px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  height: 100%;
}

/* Trusted Logos Section */
.trusted-logo {
  max-height: 40px;
  width: auto;
  opacity: 0.8;
  transition: transform 0.3s, opacity 0.3s;
}

.trusted-logo:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Bigger Flipkart logo */
.flipkart-logo {
  max-height: 55px;
}

.bkg_logo {
  background-color: lightblue;
}

.logos-container {
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 576px) {
  .trusted-logo {
    max-height: 35px;
    margin: 5px;
  }

  .flipkart-logo {
    max-height: 40px;
  }
}

/* Author Section */
.author {
  background-color: var(--bg-cream);
}

.author h2 {
  font-size: 2.2rem;
}

.author p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.author ul li {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.author ul li strong {
  color: #0d6efd;
}

/* Book Packages */
.package-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.package-card:hover {
  transform: translateY(-5px);
}

/* Package Cards */
.package-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Price Box Styling */
.price-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 1rem;
}

.new-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ff5722;
  margin-top: 2px;
}

.offer-text {
  color: #555;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Button Consistency */
.btn-order {
  background-color: var(--accent-yellow);
  color: #000;
  font-weight: 600;
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-order:hover {
  background-color: #e6b800;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .new-price {
    font-size: 1.1rem;
  }

  .old-price {
    font-size: 0.9rem;
  }
}

/* slider */
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0 50px;
}

.slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 25%;
  /* show 4 slides */
  padding: 10px;
}

.slide img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.slide img:hover {
  transform: scale(1.05);
}

/* Arrows outside images */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffcc00;
  color: #002b5b;
  border: none;
  font-size: 19px;
  cursor: pointer;
  width: 45px; /* equal width and height makes it a perfect circle */
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, transform 0.3s;
  z-index: 10;
}

.slider-btn:hover {
  background-color: #ffcc00;
  color: #fff;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .slide {
    min-width: 33.33%;
    /* 3 slides */
  }
}

@media (max-width: 768px) {
  .slide {
    min-width: 50%;
    /* 2 slides */
  }
}

@media (max-width: 576px) {
  .slide {
    min-width: 100%;
    /* 1 slide */
  }

  .slider-btn {
    font-size: 20px;
    width: 38px;
    height: 38px;
  }
}

/* Testimonials */
.testimonial {
  background-color: var(--primary-blue);
  color: white;
  padding: 50px 0;
  text-align: center;
}

/* Peek Inside */
.peek img {
  max-width: 350px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ */
.accordion-button:not(.collapsed) {
  color: var(--primary-blue);
  background-color: rgba(0, 43, 91, 0.1);
  font-weight: 600;
}

/* Footer Base */
footer {
  background-color: var(--primary-blue);
  color: white;
  padding: 20px 0;
}

footer a {
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}

/* Footer Intro */
.footer_intro {
  color: #fff;
  font-size: 13px;
  text-align: left;
}

.footer_intro img {
  width: 200px;
  margin: auto 0 10px;
}

.footer_intro ul {
  list-style: none;
  display: inline-flex;
  gap: 10px;
  padding: 0;
  flex-wrap: wrap;
}

.footer_intro ul li a i {
  color: #fff;
  transition: color 0.3s, transform 0.3s;
}

.footer_intro ul li a:hover i {
  color: red;
  transform: scale(1.2);
}

/* Titles & Lists */
footer h4.title {
  color: #fff;
  text-transform: uppercase;
  font-size: 18px;
  margin-bottom: 20px;
}

ul.quick {
  list-style: none;
  padding: 0;
  column-count: 2;
}

ul.quick li a {
  color: #a2a2a2;
  /* Default grey */
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

ul.quick li a:hover {
  color: #007bff;
  /* Blue on hover */
  text-decoration: underline;
}

/* Contact info */
.adr_same,
.eml,
.phn {
  color: #6c757d;
  /* Grey text */
  margin-bottom: 15px;
  /* padding-left: 25px; */
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.phn i {
  color: #007bff;
}

/* Phone icon blue */
.eml i {
  color: #ffcc00;
}

/* Email icon yellow */
.whatsapp i {
  color: #25d366;
}

/* Google Map Links */
.footer_lower_txt a {
  color: #007bff;
}

.footer_lower_txt a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Footer Layout */
.container101 {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  flex-wrap: wrap;
}

.footer_lower_txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.colorgsfp {
  color: white;
}

/* Bottom Bar */
.bottom_bar {
  padding: 15px 0;
  text-align: center;
  color: #fff;
  border-top: 1px solid #717171;
}

/* Responsive */
@media (max-width: 576px) {
  .trusted-logo {
    max-height: 35px;
    margin: 5px;
  }

  .flipkart-logo {
    max-height: 40px;
  }

  .footer_intro ul {
    justify-content: center;
  }
}
