.reservation-form-section {
    padding: 120px 20px 80px 20px;
    background-color: #000000;
    /* Pure black background fallback */
    background-image: url('../../images/Reservation/Reservation_Background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    position: relative;
    min-height: 100vh;
    align-items: center;
}

.reservation-layout {
    display: flex;
    width: 100%;
    max-width: 1300px;
    gap: 80px;
    justify-content: space-between;
    align-items: flex-start;
}

/* Left Side - Typography */
.reservation-content-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 550px;
    position: -webkit-sticky;
    position: sticky;
    top: 140px;
    align-self: flex-start;
    z-index: 10;
}

.reserve-badge {
    border: none;
    color: #ffffff;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    padding: 0;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.reservation-main-title {
    font-family: "Syncopate", 'Poppins', sans-serif;
    font-size: 8rem;
    font-weight: 900;
    line-height: 0.85;
    margin: 0 0 30px 0;
    letter-spacing: -2px;
}

.reservation-main-title .text-white {
    color: #ffffff;
    display: inline-block;
}

.reservation-main-title .text-glow {
    color: #ffffff;
    display: inline-block;
}

.reservation-content-left .text-glow:last-child {
    margin-bottom: 20px;
}

.reservation-desc {
    color: rgb(255, 255, 255);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 450px;
}

.reservation-divider {
    height: 1px;
    background: rgb(255, 255, 255);
    width: 60%;
}

/* Right Side - Form Container */
.reservation-form-container {
    flex: 1.2;
    background-color: rgba(0, 0, 0, 0.6);
    /* Semi-transparent black */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: flex;
    gap: 25px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.required {
    color: #ff4d4d;
}

/* Updated input styling based on image (dark inputs, faint borders, no massive capsules) */
.form-group input,
.form-group select {
    background-color: #f7f9fa;
    /* Very light gray/white background, matching image */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px !important;
    /* Pill shape */
    padding: 16px 20px;
    color: #000000;
    /* Dark text on white background */
    font-size: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Keeping textarea dark to match the image, but updating its border */
.form-group textarea {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px !important;
    /* Rounded for textarea */
    padding: 20px;
    color: #ffffff !important;
    font-size: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-height: 120px;
}

.form-group input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-group textarea::placeholder {
    color: rgb(255, 255, 255);
}

.form-group select {
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.form-group input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: #f7f9fa;
    color: #000000 !important;
}

.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff !important;
}

.form-group select option {
    background-color: #121417;
    color: #ffffff;
}

.form-submit {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-submit .hero-btn {
    background-color: #ffffff;
    color: #0b0d10;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 18px 42px;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: 0px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.form-submit .hero-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* Cancellation Policy Notice Styling */
.cancellation-policy-notice {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid #ff4e6e;
    /* Curated vibrant pinkish-red accent instead of standard red */
    border-radius: 12px;
    padding: 24px;
    margin: 15px 0 25px 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
}

/* Subtle gradient accent flare in background */
.cancellation-policy-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 78, 110, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.cancellation-policy-notice .policy-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Dot indicator */
.cancellation-policy-notice .policy-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #ff4e6e;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff4e6e;
}

.cancellation-policy-notice .policy-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgb(255, 255, 255);
    margin: 0 0 10px 0;
}

.cancellation-policy-notice .policy-text:last-child {
    margin-bottom: 0;
}

.cancellation-policy-notice .policy-text.emphasis {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    position: relative;
    padding-left: 12px;
}

.cancellation-policy-notice .policy-text.emphasis::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff4e6e;
}

/* =========================
   TABS SWITCHING SYSTEM
========================= */

.reservation-tabs-container {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 6px;
    position: relative;
    margin: 0 auto 35px auto;
    width: 100%;
    max-width: 400px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.reservation-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: rgb(255, 255, 255);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 20px;
    cursor: pointer;
    border-radius: 999px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.reservation-tab-btn:hover {
    color: #ffffff;
}

.reservation-tab-btn.active {
    color: #000000;
}

/* Explicitly disable browser and parent theme click/active/focus overlays */
.reservation-tab-btn:focus,
.reservation-tab-btn:active,
.reservation-tab-btn:focus-visible {
    outline: none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.reservation-tabs-slider {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    width: calc(50% - 6px);
    background: #ffffff;
    border-radius: 999px;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.reservation-tabs-container.switch-active .reservation-tabs-slider {
    transform: translateX(100%);
}

.tab-btn-icon svg {
    transition: transform 0.3s ease, stroke 0.3s ease;
    stroke: rgba(255, 255, 255, 0.6);
}

.reservation-tab-btn:hover .tab-btn-icon svg {
    stroke: #ffffff;
}

.reservation-tab-btn.active .tab-btn-icon svg {
    stroke: #000000;
    transform: scale(1.1);
}

/* =========================
   TAB TRANSITIONS ANIMATIONS
========================= */

.reservation-tab-content-wrapper {
    position: relative;
    width: 100%;
}

.reservation-tab-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.reservation-tab-panel.fade-out {
    opacity: 0;
    transform: translateY(-15px) scale(0.98);
}

.reservation-tab-panel.fade-in {
    opacity: 0;
    transform: translateY(15px) scale(0.98);
}

/* =========================
   CLASS DETAILS VIEW
========================= */

.class-details-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
}

.class-details-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
}

.details-section-title {
    font-family: 'Syncopate', 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.details-section-subtitle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.class-styles-catalog {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.class-style-item {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.class-style-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.style-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.class-style-item:hover .style-icon-wrapper {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 15px rgb(255, 255, 255);
}

.glow-icon {
    width: 22px;
    height: 22px;
}

.style-item-info {
    flex: 1;
}

.style-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.style-item-name {
    font-family: 'Syncopate', 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.style-item-badge {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 4px 10px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.class-style-item:hover .style-item-badge {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.style-item-desc {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgb(255, 255, 255);
    margin: 0;
}

.class-schedule-banner {
    display: flex;
    gap: 20px;
    align-items: center;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.class-schedule-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #d63e5a, #ff4e6e);
}

.schedule-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4e6e;
}

.schedule-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 6px;
    flex-wrap: wrap;
    gap: 10px;
}

.schedule-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.schedule-label {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.schedule-value {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.schedule-value.highlight-gold {
    color: #ff4e6e;
    text-shadow: 0 0 10px rgba(255, 223, 0, 0.3);
}

.details-subsection-title {
    font-family: 'Syncopate', 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 30px 0 20px 0;
    border-left: 2px solid #ffffff;
    padding-left: 12px;
}

.pricing-section-wrapper,
.styles-section-wrapper {
    width: 100%;
}

.pricing-passes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 10px;
}

.price-pass-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.price-pass-card:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.price-pass-card.featured {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.02);
}

.price-pass-card.featured::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

.pass-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #000000;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 99px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

.pass-card-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pass-name {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.pass-count {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pass-card-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #ffffff;
}

.pass-card-price .currency {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 2px;
}

.pass-card-price .amount {
    font-family: 'Syncopate', 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.pass-card-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
    width: 100%;
    text-align: center;
}

.detail-rate {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.detail-expiry {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.late-attendance-warning {
    display: flex;
    gap: 20px;
    background: rgba(255, 176, 32, 0.015);
    border: 1px solid rgba(255, 176, 32, 0.06);
    border-left: 3px solid #ff4e6e;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
    align-items: flex-start;
}

.late-attendance-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 176, 32, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.warning-icon-wrapper {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: rgba(255, 176, 32, 0.06);
    border: 1px solid rgba(255, 176, 32, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.warning-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ff4e6e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 2px 0;
}

.warning-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.warning-text strong {
    color: #ffffff;
    font-weight: 700;
}

.warning-text.emphasis {
    color: #ffffff;
    font-weight: 600;
    margin-top: 4px;
}

.back-to-booking-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.back-to-booking-btn {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    color: rgb(255, 255, 255);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 16px 30px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-to-booking-btn:hover {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.back-to-booking-btn .arrow-icon {
    transition: transform 0.3s ease;
}

.back-to-booking-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* =========================
   SCROLL REVEAL ANIMATIONS
========================= */

/* Initial hidden states */
.reservation-form-section.reveal-on-scroll .reserve-badge,
.reservation-form-section.reveal-on-scroll .reservation-main-title,
.reservation-form-section.reveal-on-scroll .reservation-desc,
.reservation-form-section.reveal-on-scroll .reservation-divider,
.reservation-form-section.reveal-on-scroll .reservation-tabs-container,
.reservation-form-section.reveal-on-scroll .reservation-form>div {
    opacity: 0;
    position: relative;
    top: 30px;
}

/* Left side cascade */
.reservation-form-section.reveal-on-scroll.is-visible .reserve-badge {
    animation: reservation-slide-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}

.reservation-form-section.reveal-on-scroll.is-visible .reservation-main-title {
    animation: reservation-slide-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.reservation-form-section.reveal-on-scroll.is-visible .reservation-desc {
    animation: reservation-slide-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

.reservation-form-section.reveal-on-scroll.is-visible .reservation-divider {
    animation: reservation-slide-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.7s;
}

/* Tabs slide in */
.reservation-form-section.reveal-on-scroll.is-visible .reservation-tabs-container {
    animation: reservation-slide-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.15s;
}

/* Right side form fields cascade */
.reservation-form-section.reveal-on-scroll.is-visible .reservation-form>div:nth-child(1) {
    animation: reservation-slide-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.reservation-form-section.reveal-on-scroll.is-visible .reservation-form>div:nth-child(2) {
    animation: reservation-slide-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.reservation-form-section.reveal-on-scroll.is-visible .reservation-form>div:nth-child(3) {
    animation: reservation-slide-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

.reservation-form-section.reveal-on-scroll.is-visible .reservation-form>div:nth-child(4) {
    animation: reservation-slide-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

.reservation-form-section.reveal-on-scroll.is-visible .reservation-form>div:nth-child(5) {
    animation: reservation-slide-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
}

.reservation-form-section.reveal-on-scroll.is-visible .reservation-form>div:nth-child(6) {
    animation: reservation-slide-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.7s;
}

.reservation-form-section.reveal-on-scroll.is-visible .reservation-form>div:nth-child(7) {
    animation: reservation-slide-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}

.reservation-form-section.reveal-on-scroll.is-visible .reservation-form>div:nth-child(8) {
    animation: reservation-slide-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.9s;
}

@keyframes reservation-slide-up {
    0% {
        opacity: 0;
        top: 30px;
    }

    100% {
        opacity: 1;
        top: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .reservation-layout {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .reservation-content-left {
        position: relative;
        top: 0;
        max-width: 100%;
        text-align: center;
    }

    .reserve-badge {
        align-self: center;
    }

    .reservation-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .reservation-divider {
        margin: 0 auto;
    }

    .reservation-form-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .reservation-form-section {
        padding: 100px 15px 60px 15px;
    }

    .reservation-main-title {
        font-size: 5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 25px;
    }

    .reservation-form-container {
        padding: 25px;
    }

    .cancellation-policy-notice {
        padding: 18px;
        margin: 10px 0 20px 0;
    }

    .form-submit .hero-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: auto;
    }

    .pricing-passes-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .class-schedule-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .class-schedule-banner::before {
        width: 100%;
        height: 4px;
    }

    .schedule-icon {
        width: 40px;
        height: 40px;
    }

    .late-attendance-warning {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .class-style-item {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .style-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Form Status Messages */
.form-status {
    padding: 16px 24px;
    border-radius: 30px;
    margin-top: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
}

.form-status.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.form-status.success {
    background-color: rgba(46, 213, 115, 0.15);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
    text-align: center;
}

.form-status.error {
    background-color: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
    text-align: center;
}

/* Submit Button Loading state */
.hero-btn.loading {
    background-color: #cccccc !important;
    color: #555555 !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 480px) {
    .reservation-main-title {
        font-size: 3.5rem;
    }

    .reserve-badge {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .reservation-desc {
        font-size: 1rem;
    }
}