:root {
  --white: #fff;
  --black: #000;
}

body {
  padding-top: 80px;
}

body::-webkit-scrollbar{
  width: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  color: var(--black);
}

.links {
  color: var(--black);
  text-decoration: none;
}

.links:hover {
  text-decoration: underline;
}

.btn-black {
  background-color: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
}

.btn-black:hover {
  background-color: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.btn-outline-black {
  background-color: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.btn-outline-black:hover {
  background-color: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
}

/* ================= NAVBAR GLASS EFFECT ================= */

.navbar-glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* When Scrolled */
.navbar-glass.scrolled {
  background: linear-gradient(
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.75)
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid #eee;
}

.dropdown-toggle {
  cursor: pointer;
}
.dropdown-item:active {
  background-color: var(--black);
}

/* ================= MOBILE MENU ================= */
.menu-toggle {
  border: none;
  background: transparent;
  font-size: 22px;
  color: #111;
  padding: 6px 10px;
  border-radius: 8px;
  transition: 0.2s ease;
}

.menu-toggle:hover {
  background: #f5f5f5;
}

.menu-toggle i {
  transition: 0.3s ease;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 9999;
  padding: 20px;
  transition: 0.35s ease;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

/* 🔝 TOPBAR */
.mobile-topbar {
  background: #000;
  color: #fff;
  font-size: 14px;
  padding: 10px 15px;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.close-btn {
  border: none;
  background: none;
  font-size: 20px;
}

.mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.mobile-nav li {
  margin-bottom: 14px;
}

.mobile-nav a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.menu-title {
  font-size: 12px;
  text-transform: uppercase;
  color: #888;
  margin-top: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.mobile-auth {
  margin-top: auto;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 991px) {
  #mainNav {
    display: none !important;
  }
}

.program-card:hover {
  transform: translateY(-5px);
  transition: 0.3s ease;
}

input[type="date"] {
  cursor: pointer;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* Optional smooth effect */
.dropdown-menu {
  transition: all 0.2s ease;
}

.nav-item.dropdown .dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-link {
  color: var(--black);
  padding: 6px 12px;
  border-radius: 8px;
  transition: 0.2s ease;
}

.nav-link:hover {
  background: #f5f5f5;
  color: var(--black);
}

/* Home page */
.hero-content {
  padding: 100px;
}

@media (max-width: 991px) {
  .hero-content {
    padding: 60px 20px;
  }
}

.my-card {
  background: #fff;
  border: 1px solid var(--black);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  align-items: center;
}

.my-card p {
  margin: 0;
  color: var(--black);
}

/* Hover Effect */
.my-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

footer a {
  color: var(--black);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.faq-section {
  padding: 80px 20px;
}

.faq-container {
  max-width: 800px;
  margin: auto;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 15px;
  border: none;
  outline: none;
  background: none;
  font-size: 16px;
  /* font-weight: 600; */
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: #f1f1f1;
}

.icon {
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.faq-answer p {
  padding: 15px 0;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .icon {
  transform: rotate(180deg);
}

/* POPUP BACKGROUND */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px; /* prevents cutoff on small screens */
  z-index: 9999;
  overflow-y: auto;
}

/* POPUP BOX */
.popup-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  position: relative;
  animation: popupFade 0.3s ease;

  /* RESPONSIVE HEIGHT */
  max-height: 90vh;
  overflow-y: auto;
}

.popup-box::-webkit-scrollbar {
  width: 0;
}

/* ANIMATION */
@keyframes popupFade {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}

/* FORM INPUTS */
.popup-box input,
.popup-box textarea,
.popup-box select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* BUTTON */
.submit-btn {
  width: 100%;
  padding: 12px;
  border: none;
  background: #0d6efd;
  color: white;
  border-radius: 6px;
  font-weight: 600;
}

/* MOBILE FIX */
@media (max-width: 576px) {
  .popup-box {
    padding: 20px;
    border-radius: 10px;
  }
}

.policy-content {
  max-width: 900px;
  margin: auto;
  line-height: 1.8;
  font-size: 16px;
}

.policy-content h4 {
  margin-top: 32px;
  font-weight: 700;
}

.policy-content ul {
  padding-left: 18px;
}

.policy-content li {
  margin-bottom: 6px;
}

.main-form .form-control,
.main-form .form-select {
  height: 45px !important;
  min-height: 45px !important;
  padding: 0.6rem 0.75rem;
}

/* .form-floating > label {
  padding: 0.6rem 0.75rem !important;
  margin: 2px !important;
} */

/* Popup box */
.popup-box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Close button */
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
}

/* Inputs smaller */
.main-form .form-control,
.main-form .form-select {
  height: 42px;
  font-size: 14px;
}

/* Disclaimer */
.form-disclaimer {
  font-size: 11px;
  color: #666;
  line-height: 1.4;
  text-align: center;
}

.form-disclaimer a {
  color: #000;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .popup-box {
    padding: 18px;
    border-radius: 10px;
  }

  .popup-box h3 {
    font-size: 20px;
  }

  .main-form .form-control,
  .main-form .form-select {
    height: 40px;
    font-size: 13px;
  }

  .btn-black {
    padding: 8px;
  }

  .form-disclaimer {
    font-size: 10px;
  }
}

.signup-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  max-width: 520px;
  margin: auto;
}

.form-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.form-subtitle {
  color: #6c757d;
  margin-bottom: 25px;
}

/* input style */
.custom-input {
  border-radius: 10px;
  border: 1px solid #e4e4e4;
  padding: 14px;
  transition: all 0.25s ease;
}

/* focus effect */
.custom-input:focus {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

input[name="coupon_code"] {
  text-transform: uppercase;
}

/* FLOATING PHONE BUTTON */
.floating-phone {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 55px;
  height: 55px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 9999;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
  text-decoration: none;
}

/* HOVER */
.floating-phone:hover {
  transform: scale(1.1);
  background: #111;
  color: #fff;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 576px) {
  .floating-phone {
    width: 50px;
    height: 50px;
    font-size: 18px;
    bottom: 15px;
    left: 15px;
  }
}

.floating-phone::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  animation: pulse 1.5s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
