/* ==============================
   GLOBAL RESET
============================== */

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

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background: #ffffff;
  color: #0b0a24;
  font-family: "Helvetica", "Arial", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

/* ================= STATS SECTION ================= */
.stats-section {
  background: url("images/backg.png") center center / cover no-repeat;
  padding: 80px 60px;
}

.stats-container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  flex: 1;
}

.stat-box {
  text-align: center;
  transition: 0.4s;
}

.stat-box i {
  font-size: 44px;
  color: #ff5e00;
  margin-bottom: 15px;
}

.stat-box h2 {
  font-size: 48px;
  color: #0b0a24;
  margin-bottom: 10px;
  font-family: "Helvetica", "Arial", sans-serif;
}

.stat-box p {
  color: #0b0a24;
  letter-spacing: 1px;
  font-family: "Helvetica", "Arial", sans-serif;
}

.stat-box:hover {
  transform: translateY(-10px);
}

/* Right Content */
.stats-content {
  flex: 1;
}

.stats-content h2 {
  font-size: 45px;
  margin-bottom: 20px;
  color: #0b0a24;
  letter-spacing: 3px;
  font-family: "Helvetica", "Arial", sans-serif;
}

.stats-content p {
  margin-bottom: 20px;
  color: #0b0a24;
  font-size: 25px;
  line-height: 1.6;
  font-family: "Helvetica", "Arial", sans-serif;
}
/* ================= SAFE MOBILE FIX (STATS ONLY) ================= */
@media (max-width: 768px) {
  .stats-section {
    padding: 50px 20px;
  }

  .stats-container {
    flex-direction: column;
    align-items: center;
    gap: 35px;
  }

  /* IMPORTANT: prevents cutting */
  .stats-grid {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* prevent overflow */
  .stat-box {
    width: 100%;
    padding: 10px;
  }

  .stat-box h2 {
    font-size: 32px;
  }

  .stat-box i {
    font-size: 36px;
  }

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

  .stats-content h2 {
    font-size: 28px;
  }

  .stats-content p {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* ================= image section  ================= */

.multi-slider {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #fbfbfd, #f8f9fb);
  margin-top: 150px; /* pushes slider below fixed navbar */
  padding: 20px 0;
}

.slider-wrapper {
  width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.9s ease-in-out;
}

.slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 0 5%;
}

.img-box {
  position: relative;
  flex: 1;
  height: 380px;
  overflow: hidden;
  border-radius: 12px;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #ffffff;
  z-index: 2;
}

.img-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* Dots */
.slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.slides {
  display: flex;
  transition: transform 0.9s ease-in-out;
  width: 100%;
}

.slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 0 5%;
}

.slider-dots {
  text-align: center;
  margin-top: 25px;
}

.slider-dots span {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 6px;
  background: #ff5e00;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.slider-dots span.active {
  background: #1b1b56;
  transform: scale(1.2);
}

@media (max-width: 992px) {
  .slide {
    flex-direction: column;
    gap: 15px;
    padding: 0 10px;
  }

  .img-box {
    height: 200px;
  }

  .slider-dots {
    margin-top: 10px;
  }
}

.reading-section {
  position: relative;
  width: 100%;
  padding: 100px 5%;
  overflow: hidden;
  background: #fbfbfd;
  color: #0b0a24;
}

/* Background Animation */
.bg-animation {
  position: absolute;
  width: 150%;
  height: 150%;
  top: -20%;
  left: -20%;
  z-index: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(207, 207, 206, 0.18),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 60%,
      rgba(208, 207, 206, 0.15),
      transparent 45%
    );
  animation: floatBg 18s ease-in-out infinite;
}

@keyframes floatBg {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-40px, -20px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* Container */
.reading-container {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  max-width: 1300px;
  margin: auto;
}

/* Each Box */
.reading-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.943);
  padding: 40px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
  transition: 0.4s ease;
  border-top: 3px solid transparent;
}

.reading-box:hover {
  border-top: 8px solid #ff5e00;
  transform: translateY(-6px);
}

.reading-box h3 {
  color: #ff5e00;
  margin-bottom: 20px;
  font-size: 16px;
}

.reading-box p {
  font-size: 18px;
  line-height: 1.9;

  margin-bottom: 18px;
  color: #0b0a24;
}

/* Responsive */
@media (max-width: 992px) {
  .reading-container {
    flex-direction: column;
  }
}

@media (max-width: 992px) {
  .reading-container {
    flex-direction: column;
    gap: 20px;
  }

  .reading-box {
    padding: 20px;
    font-size: 14px;
  }
}
/* ================= FIX FOR ADDITIONAL CARDS (DESKTOP) ================= */
.reading-container {
  flex-wrap: wrap; /* allows new cards to go next row */
}

/* Each card sizing control */
.reading-box {
  flex: 1 1 45%; /* 2 cards per row on desktop */
  min-width: 300px; /* prevents merging */
}

/* 3+ cards handling stability */
@media (max-width: 1200px) {
  .reading-box {
    flex: 1 1 100%;
  }
}

/* View Gallery Button */

.gallery-btn-container {
  text-align: center;
  margin-top: 1px;
}

.view-gallery-btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #14114e;
  border-radius: 30px;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 992px) {
  .view-gallery-btn {
    margin: 20px auto;
  }
}

/* Hover Animation */

.view-gallery-btn:hover {
  background: #ff8c00;
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Shine Effect */

.view-gallery-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-30deg);
  transition: 0.6s;
}

.view-gallery-btn:hover::before {
  left: 120%;
}
