
.confirmation-message {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff; /* Green background */
  color: #000000;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1000; /* Makes sure the message is on top of other elements */
}

.confirmation-message h3 {
  margin: 0;
  font-size: 22px;
}

.confirmation-message p {
  color: #000000;
  margin: 10px 0 0;
  font-size: 16px;
}

html {
  scroll-behavior: smooth;
}

.modal button:hover {
  background: #ffffff;
}

html.modal-open,
body.modal-open {
  overflow: hidden;
  padding-right: 17px; /* Prevent layout shift when scrollbar disappears */
}

body.page-enter,
body.page-exit {
  transition: opacity 1.5s ease, transform 1.5s ease;
}

body.page-enter {
  opacity: 0;
  transform: translateY(30px);
}

body.page-visible {
  opacity: 1;
  transform: translateY(0);
}

body.page-exit {
  opacity: 0;
  transform: scale(0.95);
}

/* NAVIGATION Z-INDEX PRIORITY */
.nav-toggle {
  z-index: 1002;
}

.nav-overlay {
  z-index: 1001;
}

.navbar {
  z-index: 1000;
}

.modal-overlay {
  z-index: 999;
}

.modal {
  z-index: 1000;
}
.stop-padding{
  padding-top: 5px;
}
.number-preview {
  background-color: #090050;
  color: white;
  padding: 2rem;
  text-align: center;
  border-radius: 12px;
  max-width: 350px;
  margin: 3rem auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tagline {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.phone-carousel {
  position: relative;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.carousel-item {
  position: absolute;
  font-size: 2.5rem;
  font-weight: 700;
  background-color: white;
  color: #090050;
  padding: 1rem 2rem;
  border-radius: 12px;
  transition: opacity 1s ease, transform 1s ease;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  z-index: 1;
}

.carousel-item.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  z-index: 2;
}



/* FIX MODAL CLOSE VISIBILITY */
.modal-close {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  cursor: pointer;
  font-weight: 600;
}

/* CLARIFY SELECTORS FOR MOBILE */
@media (max-width: 768px) {
  .navbar > ul.desktop {
    display: none !important;
  }

  .nav-toggle {
    display: flex;
  }

  .navbar {
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }
}

/* FIX BODY TRANSITION CONFLICTS */
html, body {
  will-change: transform, opacity;
}



@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}



/* Keyframes for typing effect */
@keyframes typing {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

/* Optional: For Headings (h1, h2) */
h1, h2 {
  display: inline-block;
  opacity: 0;
  transform: translateX(30px);
  animation: slideIn 1s forwards;
}

/* Optional: For Paragraphs (p) */
p {
  display: inline-block;
  opacity: 0;
  transform: translateX(30px);
  animation: slideIn 1s forwards;
}

/* Simple Fade-In effect with a slight upward movement */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 1s ease-out forwards;
}

/* This can be applied to elements that you want to fade in as they appear on scroll */

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #f9f9f9 ;
  color: #090050;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
}

/* Hero Section */
.hero {
  background-color: #090050;
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  padding-top: 15px;
}

.hero h1 {
  font-family: 'Bernoru SemiCondensed', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.subheadline {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: white;
  color: #090050;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #eee;
}

/* Info Section */
.how-it-works {
  background-color: #f9f9f9;
  color: #090050;
  padding: 4rem 2rem;
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.modal-content h3 {
  margin-bottom: 1rem;
  color: #090050;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.modal-content textarea {
  min-height: 100px;
  resize: vertical;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #090050;
}
