/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #14213d;
  line-height: 1.7;
}

/* ================= HERO ================= */
.hero-wrapper {
  min-height: 380px;
  position: relative;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  overflow: hidden;
}

.hero-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 24, 56, 0.9) 0%,
    rgba(7, 24, 56, 0.5) 50%,
    rgba(7, 24, 56, 0.28) 100%
  );
  z-index: 0;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 20px;
}

.hero-text {
  max-width: 700px;
  padding: 30px 34px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.hero-text h1 {
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 10px;
}

.hero-text p {
  color: #f2f6ff;
  font-size: 16px;
}
.bg-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.bg-slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.bg-slider img.active {
  opacity: 1;
}
.bg-slider img {
  transform: scale(1.1);
}

.bg-slider img.active {
  transform: scale(1);
  transition:
    opacity 1s ease,
    transform 5s ease;
}

/* ================= ABOUT SECTION ================= */
.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 60px 20px;
  max-width: 1180px;
  margin: auto;
}

/* REVERSE */
.about-section.reverse {
  flex-direction: row-reverse;
}

/* IMAGE */
.about-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-img img {
  width: 100%;
  max-width: 430px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(7, 24, 56, 0.14);
  transition: 0.3s;
}

.about-img img:hover {
  transform: scale(1.03);
}

/* TEXT */
.about-content {
  flex: 1;
  max-width: 500px;
}

.about-content h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0b2c5f;
}

.about-content h2::after {
  content: "";
  width: 62px;
  height: 3px;
  background: linear-gradient(90deg, #0b2c5f, #5b8cff);
  display: block;
  margin-top: 10px;
  border-radius: 999px;
}

.about-content p {
  color: #56627a;
  font-size: 16px;
}

/* ================= NUMBERS ================= */
.about-numbers {
  background: linear-gradient(135deg, #0b2c5f 0%, #15386f 55%, #1e4f97 100%);
  text-align: center;
  padding: 80px 20px;
  margin: 30px 20px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(11, 44, 95, 0.18);
}

.about-numbers h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 44px;
}

/* GRID */
.numbers-grid {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
  gap: 20px;
  flex-wrap: wrap;
}

/* CARD */
.number-card {
  background: linear-gradient(145deg, #ffffff, #f7fbff);
  padding: 22px;
  width: 260px;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.number-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.number-card img {
  width: 170px;
  margin-bottom: 15px;
  border-radius: 16px;
  object-fit: cover;
}

.number-card h3 {
  font-size: 18px;
  color: #0b2c5f;
  margin-bottom: 10px;
}

.number-btn {
  margin-top: 10px;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b2c5f, #3a6fd8);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.number-card a {
  display: inline-block;
  margin-top: 10px;
  color: #0b2c5f;
  text-decoration: none;
}

/* SUBSCRIBE FOOTER */
.subscribe {
  padding: 30px 20px 40px;
}

.subscribe-box {
  background: linear-gradient(135deg, #0b2c5f 0%, #173c7b 100%);
  color: #fff;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(11, 44, 95, 0.18);
}

.subscribe-box h2 {
  font-size: 24px;
  max-width: 420px;
}

.subscribe-input {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe-input input {
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  min-width: 250px;
}

.subscribe-input button {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #f4b942, #ffd36a);
  color: #071a38;
  font-weight: 700;
  cursor: pointer;
}

.footer-bottom {
  margin-top: 24px;
  padding: 0 4px;
}

.footer-links a,
.footer-policy a {
  color: #42506b;
  text-decoration: none;
  margin-right: 14px;
  font-weight: 600;
}

.social-icons i {
  color: #0b2c5f;
  margin-right: 12px;
  font-size: 18px;
}

/* OVERLAY BACKGROUND */
#subscribePopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.5);

  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

/* POPUP BOX */
#subscribePopup .popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 320px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: popupFade 0.3s ease;
}

/* TEXT */
#subscribePopup h3 {
  margin-bottom: 10px;
  color: #0a7b6c;
}

#subscribePopup p {
  font-size: 14px;
  color: #555;
}

/* BUTTON */
#subscribePopup button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #0a7b6c;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.social-icons a {
  color: inherit;
  text-decoration: none;
}

.social-icons a:hover i {
  transform: scale(1.2);
  color: #0b2c5f;
}

/* ANIMATION */
@keyframes popupFade {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 40px 15px;
  }

  .about-section.reverse {
    flex-direction: column;
  }

  .about-content h2::after {
    margin: 10px auto;
  }

  .about-img img {
    max-width: 90%;
    margin: 0 auto;
  }

  .about-content {
    max-width: 100%;
  }

  .about-content h2 {
    font-size: 26px;
  }

  .about-content p {
    font-size: 15px;
  }

  .about-numbers {
    padding: 40px 15px;
  }

  .about-numbers h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .numbers-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .number-card {
    width: 100%;
    max-width: 300px;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* NUMBER POPUP */
#numberPopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#numberPopup .popup-content {
  background: #1e293b;
  color: #f1f5f9;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 300px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: popupFade 0.3s ease;
}

#numberPopup button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #4a7dff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* ANIMATION */
@keyframes popupFade {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* NUMBER CARD POPUP STYLING */
#numberCardPopup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#numberCardPopup .modal-content {
  background: linear-gradient(145deg, #1f2937, #111827);
  color: #f1f5f9;
  padding: 25px;
  width: 400px;
  max-width: 90%;
  border-radius: 15px;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: popupFade 0.3s ease;
}

#numberCardPopup .modal-content h3 {
  margin-top: 15px;
  font-size: 24px;
  font-weight: 600;
}

#numberCardPopup .modal-content p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #cbd5e1;
}

#numberCardPopup .modal-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* CLOSE BUTTON */
#numberCardPopup .close-modal {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #f1f5f9;
  transition: 0.3s;
}

#numberCardPopup .close-modal:hover {
  color: #4a7dff;
}

/* ANIMATION */
@keyframes popupFade {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
