html{
    scroll-behavior: smooth;
    overflow: auto; /* REMOVE THIS */
}
body{
    margin: 0 auto;
}
.header-fade {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.10) 85%, rgba(0, 0, 0, 0) 100%);
}

.highlight-text2  {
    text-align: center;
    font-family: sans-serif; /* Correct property */
    font-size: 2rem;
    color: #2E3867;
    font-weight: bold; 
}

.carousel-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
.carousel {
    display: flex;
    width: 300vw; /* Adjust dynamically based on images */
    transition: transform 1s ease-in-out;
}
.carousel img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}
.carousel::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%; /* Adjust height as needed */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 20%, white 80%);
    pointer-events: none; /* Ensures it doesn't interfere with interactions */
}
.overlay-text {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: white;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

/* Primary Text (Bold & XXL) */
.primary-text {
    font-size: 5rem;  /* Adjust for responsiveness */
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

/* Secondary Text (Smaller & Subtle) */
.secondary-text {
    font-size: 1rem;
    font-weight: bolder;
    color:#2E3867; /* Slightly faded for subtle effect */
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translate(-50%, -55%); }
    100% { opacity: 1; transform: translate(-50%, -50%); }
}

/* -----------------------------
   New: "Show Terms" button styles
   ----------------------------- */
.subscription-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: #2563eb;          /* blue-600 */
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;               /* rounded */
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
    transition: background-color 150ms ease, transform 120ms ease, box-shadow 150ms ease;
}

.subscription-button:hover {
    background-color: #1d4ed8;          /* blue-700 */
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(29, 78, 216, 0.28);
}

.subscription-button:active {
    background-color: #1e40af;          /* blue-800 */
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(30, 64, 175, 0.25);
}

.subscription-button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.subscription-button[disabled],
.subscription-button:disabled {
    background-color: #93c5fd;          /* light blue */
    color: #e5e7eb;                     /* gray-200 text */
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* If the button sits where the input group was, make it full width */
.subscription-input-group .subscription-button {
    width: 100%;
}

/* Optional dark mode */
.dark .subscription-button {
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}
/* ===== Terms Modal ===== */
.terms-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55); /* slate-900/55 */
  display: grid;
  place-items: center;
  z-index: 1000;
}

.terms-modal {
  width: min(900px, 92vw);
  max-height: 86vh;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.25);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  animation: tm-enter 160ms ease-out;
}

@keyframes tm-enter {
  from { transform: translateY(10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.terms-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #f8fafc; /* slate-50 */
  border-bottom: 1px solid #e2e8f0; /* gray-300 */
}

.terms-modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827; /* gray-900 */
}

.terms-close-btn {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #64748b; /* slate-500 */
  padding: 2px 6px;
  border-radius: 8px;
  cursor: pointer;
}
.terms-close-btn:hover { background: #e2e8f0; color: #1f2937; }

.terms-modal-body {
  padding: 18px;
  overflow: auto;
}

.terms-modal-body h4 {
  margin: 18px 0 8px;
  font-size: 1rem;
  color: #1f2937; /* gray-800 */
  font-weight: 700;
}

.terms-modal-body p,
.terms-modal-body li {
  color: #374151; /* gray-700 */
  line-height: 1.6;
}

.terms-modal-body ul {
  padding-left: 1.2rem;
  margin: 0.25rem 0 0.75rem;
}

.terms-modal-footer {
  padding: 14px 18px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.terms-ok-btn { min-width: 120px; }
