/* =========================================
   BOOKING WIZARD PAGE
   ========================================= */
.booking-wizard-section {
    padding-top: 150px;
    padding-bottom: 8rem;
    min-height: 100vh;
    background-color: var(--bg-color);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ambient-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 800px;
    background: radial-gradient(ellipse at top, rgba(217, 119, 6, 0.08) 0%, rgba(250, 249, 246, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.wizard-header {
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
    padding: 0 1.5rem;
    /* Add this: provides left and right spacing */
    width: 100%;
    /* Add this: ensures it spans the width */
    box-sizing: border-box;
    /* Add this: keeps padding inside the width */
}

.wizard-title {
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1.5px;
    margin-top: 1rem;
}

.serif-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent-color);
}

/* --- Wizard Container --- */
.wizard-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 300px 1fr;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* --- Sidebar Progress --- */
.wizard-sidebar {
    background: rgba(255, 255, 255, 0.5);
    padding: 4rem 3rem;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.step-indicator {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    opacity: 0.4;
    transition: var(--transition);
}

.step-indicator.active {
    opacity: 1;
}

.step-icon {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-top: 5px;
}

.step-text h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}

.step-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.step-line {
    width: 2px;
    height: 40px;
    background: rgba(217, 119, 6, 0.2);
    margin: 1rem 0 1rem 12px;
}

/* --- Wizard Content Area --- */
.wizard-content {
    padding: 4rem;
    position: relative;
    min-height: 500px;
}

.form-step {
    display: none;
    animation: slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-step.active {
    display: block;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.step-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* --- Visual Selectable Cards (Step 1) --- */
.service-selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.service-card input {
    display: none;
    /* Hide actual radio button */
}

.card-inner {
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.card-inner:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.08);
}

.s-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.s-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.05rem;
}

/* Active State for selected card */
.service-card input:checked+.card-inner {
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(217, 119, 6, 0.12);
}

.service-card input:checked+.card-inner .s-name {
    color: var(--accent-color);
}

/* --- Input Fields (Step 2 & 3) --- */
.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.input-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.full-width {
    grid-column: span 2;
}

.input-field label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

.input-field input,
.input-field textarea {
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.input-field input:focus,
.input-field textarea:focus {
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(217, 119, 6, 0.1);
}

/* --- Buttons & Navigation --- */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

/* --- Buttons & Navigation --- */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.btn-next {
    background: var(--text-main);
    color: #fff;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-next:hover {
    background: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Specific styling for the Final Submit Button to fix the black text issue */
.btn-submit {
    background: var(--accent-color);
    color: #ffffff !important;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-submit .btn-text {
    color: #ffffff;
    /* Forces text to remain white */
}

.btn-submit:hover {
    background: #c26905;
    /* Slightly darker saffron on hover */
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.3);
}

.btn-back {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-back:hover {
    color: var(--text-main);
}

/* --- Success Animation --- */
.success-state {
    display: none;
    text-align: center;
    padding-top: 2rem;
}

.success-state.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem auto;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 4;
    stroke: var(--accent-color);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--accent-color);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 4;
    stroke-miterlimit: 10;
    stroke: var(--accent-color);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

/* --- Loading Spinner --- */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .spinner {
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .wizard-container {
        grid-template-columns: 1fr;
    }

    .wizard-sidebar {
        display: none;
        /* Hide sidebar on mobile for cleaner UX */
    }

    .wizard-content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {

.wizard-header {
        padding: 0 1.5rem;
    }
    
    .wizard-title {
        font-size: 2.2rem; /* Reduces the massive font size on small screens */
        margin-top: 0.5rem;
    }

    /* Your existing mobile styles below */
    .service-selection-grid, .input-grid { grid-template-columns: 1fr; gap: 1rem; }
    .full-width { grid-column: span 1; }
    .step-actions { flex-direction: column-reverse; gap: 1rem; }
    .btn-next, .btn-submit, .btn-back { width: 100%; justify-content: center; }
}



/* =========================================
   SACRED MANTRA CLOSING SECTION
   ========================================= */
.sacred-mantra-section {
    padding: 2rem 2rem 6rem 2rem;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.mantra-container {
    max-width: 900px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: 40px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

/* Subtle glowing aura behind the text */
.mantra-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.om-mark {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    opacity: 0.9;
    line-height: 1;
}

.sanskrit-mantra {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.mantra-meaning {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
    font-family: 'Playfair Display', serif;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.mantra-divider {
    width: 60px;
    height: 2px;
    background: var(--accent-color);
    margin: 2.5rem auto;
    opacity: 0.4;
    position: relative;
    z-index: 1;
    border-radius: 2px;
}

.mantra-footer {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
}

/* Responsive adjustment for mantra section */
@media (max-width: 768px) {
    .mantra-container {
        padding: 3rem 1.5rem;
        border-radius: 30px;
    }
}