/* --------------------- Main Body --------------------- */ 
body {
  font-family: 'Raleway', sans-serif;
/*     font-family: 'ArchitypeTschicholdW90', cursive; */
    background: #37474F;
    margin: 0;
    padding: 0;
}

main.page-content {
    padding-top: 70px; /* ensures content is not hidden behind fixed nav */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px);
}


.step-section {
    margin-bottom: 2px;
    text-align: left;
}

.step-section h3 {
    color: #36454F;
    font-size: 20px;
    margin-bottom: 2px;
}

.step-section ul {
    padding-left: 20px;
    margin-top: 10px;
}

.step-section ul li {
    margin-bottom: 2px;
}




/* ---------------------Main Container --------------------- */
.container {
    background: #333;
    color: #D3D3D3;
    padding: 25px;
    max-width: 450px;
    width: 90%;
    border-radius: 15px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}



/* --------------------- Form Box ---------------------  */
form {
    display: flex;
    flex-direction: column;
}

input, select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 2px solid #4a6333; /* Army Green Border */
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
    padding-left: 14px;
    padding-right: 14px;
}

input:focus, select:focus {
    outline: none;
    border-color: #7ea04d;
    box-shadow: 0px 0px 5px rgba(126, 160, 77, 0.8);
}




/* --------------------- Step Indicators ---------------------*/
.step {
    display: none;
}

.step.active {
    display: block;
}

/* 🌟 Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 🌟 Mobile Optimization */
@media screen and (max-width: 600px) {
    .container {
        max-width: 95%;
        padding: 20px;
    }
}

/* --------------------- HOMEPAGE STYLES --------------------- */
.home-container {
    max-width: 1200px;
    width: 90%;
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Left Column - About Section */
.home-about {
    flex: 1;
    padding: 30px;
    color: white;
    text-align: left;
}

/* Right Column - How It Works */
.home-how-it-works {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}
.home-logo{ 
    width: 38%;
}
/* CTA Button on Homepage */
.cta-button {
    background: #38b6ff;
    color: white;
    border: none;
    padding: 15px 25px;
  font-family: 'ArchitypeTschicholdW90', cursive;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
margin-right: 10px;
  font-weight: bold;
   /* display: inline-block;*/
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.cta-button:hover {
    background: #38b6ff;
}

.intro-text {
 font-family: "BioRhyme", serif;
}
/* --------------------- MOBILE LAYOUT --------------------- */
@media screen and (max-width: 768px) {
    .home-container {
        flex-direction: column;
    }

    .home-about, .home-how-it-works {
        width: 100%;
        text-align: center;
        margin-bottom: 2px;
    }
}

.range-container {
    position: relative;
    margin-top: 20px;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
    font-size: 12px;
    margin-top: 5px;
}

.range-labels span {
    text-align: center;
    flex: 1;
}
.info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    color: #D3D3D3;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    transform: perspective(600px) translateZ(0);
    will-change: transform;
    cursor: default;
}

.card:hover {
    transform: translateY(-8px) scale(1.15);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
}

.card h2 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #36454F;
}

.card p {
    margin: 0;
    font-size: 14px;
    color: #444;
}

.animated {
    animation: floatIn 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (min-width: 600px) {
    .info-cards {
        grid-template-columns: 1fr 1fr;
    }
}

/* ------------------ Stripe Checkout Page Styling ------------------ */

.checkout-title {
    color: #00ccff;
    font-size: 24px;
    margin-bottom: 2px;
}

#payment-section {
    margin-top: 20px;
    text-align: left;
}

#card-element {
    padding: 12px;
    background: #2f2f2f;
    border: 2px solid #38b6ff; /* Army green for consistency */
    border-radius: 8px;
    margin-bottom: 2px;
}

#card-errors {
    color: #ff6b6b;
    font-size: 0.9em;
    margin-top: 6px;
}

#pay-now {
    background: #38b6ff;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: background 0.3s ease-in-out;
}

#pay-now:hover {
    background: #38b6ff;
}

#error-message {
    margin-top: 15px;
    color: #ff6b6b;
    text-align: center;
    font-size: 0.95em;
}



/* === Friendly Button Enhancements (only overrides button styles) === */
button,
.cta-button {
  background: linear-gradient(135deg, #38b6ff 0%, #38b6ff 100%);
  border: none;
  border-radius: 30px;
  color: #ffffff;
  padding: 14px 24px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.25s ease-in-out;
}

button:hover,
.cta-button:hover {
  background: linear-gradient(135deg, #33c5ff 0%, #1da0ff 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

button:active,
.cta-button:active {
  transform: translateY(0) scale(0.97);
}




button img,
.cta-button img {
  width: 80px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 2px; /* space between icon and label */
  pointer-events: none; /* ensures icon itself isn't clickable separately */
}


/* --- Unified Button Style --- */
button,
.cta-button {
  background: linear-gradient(135deg, #38b6ff 0%, #38b6ff 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease-in-out;
  display: inline-block;
  text-align: center;
  width: auto;
  height: auto;
}

button:hover,
.cta-button:hover {
  background: linear-gradient(135deg, #33c5ff 0%, #1da0ff 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

button:active,
.cta-button:active {
  transform: translateY(0) scale(0.97);
}
