﻿
:root {
    --bg-1: #0f172a; /* deep cinematic navy */
    --accent-1: #00AEEF; /* electric cyan */
    --accent-2: #0077B6; /* ocean blue */
    --accent-3: #ff6b6b; /* cinematic red accent */
    --glass: rgba(255,255,255,0.08);
    --muted: #94a3b8;
    --radius: 5px;
    --ease: cubic-bezier(.25,.95,.35,1);
    --card-w: clamp(640px, 38vw, 560px);
    --gap: 32px;
}

/* Landing Section */
.landing {
    text-align: center;
    padding: 80px 24px;
    background: radial-gradient(circle at top, #1e293b, var(--bg-1));
    color: #f8fafc;
    max-height: 75vh;
    overflow: hidden;
    position: relative;
}

    .landing::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 40% 20%, rgba(0,174,239,0.25), transparent 70%);
        animation: cinematicGlow 12s infinite alternate;
    }

/* Hero Title */
.h1ba {
    font-size: 3.6rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowText 4s infinite alternate;
    letter-spacing: 2px;
}

/* Divider */
.hrmy {
    border: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent-3), var(--accent-2), var(--accent-1));
    width: 70%;
    margin: 30px auto;
    animation: expandLine 2.5s ease forwards;
    border-radius: 50px;
}

/* Modal Overlay */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(12px) saturate(180%);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.8s ease;
}

/* Modal Container */
.modal {
    background: var(--glass);
    border: 1px solid rgba(0,174,239,0.4);
    border-radius: var(--radius);
    padding: var(--gap);
    width: 90%;
    max-width: var(--card-w);
    color: #f1f5f9;
    backdrop-filter: blur(18px) saturate(200%);
    box-shadow: 0 0 45px rgba(0,174,239,0.4), 0 0 90px rgba(255,107,107,0.25);
    animation: slideUp 1s var(--ease);
    position: relative;
    height: 72vh;
    max-height: 72vh;
    overflow-y: auto;
}

/* Close Button */
.close {
    position:relative;
    right: 10px;
    font-size: 3rem;
    font-weight:900;
    cursor: pointer;
    color: var(--accent-1);
    transition: 0.3s;
 
}

    .close:hover {
        transform: scale(1.25) rotate(18deg);
    }

/* Step Progress Bar */
.stepbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--gap);
}

    .stepbar div {
        flex: 1;
        height: 5px;
        background: var(--muted);
        margin: 0 20px;
        border-radius: 3px;
        transition: 0.4s;
    }

        .stepbar div.active {
            background: var(--accent-3);
            box-shadow: 0 0 12px var(--accent-3);
        }

/* Floating Labels */
.floating-field {
    position: relative;
    margin: 24px 0;
}

    .floating-field input,
    .floating-field select,
    .floating-field textarea {
        width: 100%;
        padding: 10px 14px 10px 54px;
        border: 1px solid rgba(0,174,239,0.25);
        border-radius: var(--radius);
        background: rgba(255,255,255,0.9);
        color: #1a1a1a;
        font-size: 1rem;
        transition: border-color 0.3s, box-shadow 0.3s;
        box-sizing: border-box;
    }

        .floating-field input:focus,
        .floating-field select:focus,
        .floating-field textarea:focus {
            border-color: var(--accent-1);
            box-shadow: 0 0 10px rgba(0,174,239,0.3);
            outline: none;
        }

    .floating-field label {
        position: absolute;
        left: 42px;
        top: 50%;
        transform:translate(-50%);
        transform: translateY(-50%);
        color: var(--muted);
        pointer-events: none;
        transition: 0.3s ease;
        background: var(--glass);
        padding: 0 8px;
    }

/*    .floating-field input:focus + label,
    .floating-field input:not(:placeholder-shown) + label,
    .floating-field select:focus + label,
    .floating-field select:not([value=""]) + label {
        top: -10px;
        font-size: 0.8rem;
        color: var(--accent-1);
    }*/
    .floating-field input:focus ~ label,
    .floating-field input:not(:placeholder-shown) ~ label,
    .floating-field textarea:focus ~ label,
    .floating-field textarea:not(:placeholder-shown) ~ label,
    .floating-field select:focus ~ label,
    .floating-field select:valid ~ label {
        top: -10px;
        font-size: 0.9rem;
        color: var(--accent-1);
    }

    /* Input Icons */
    .floating-field .icon {
        position: absolute;
        left: 14px;
        top: 45%;
        transform: translateY(-50%);
        color: var(--accent-2);
        font-size: 1.3rem;
    }

/* Buttons */
.button01, .button02 {
    background: linear-gradient(135deg, var(--accent-3), var(--accent-2), var(--accent-1));
    border: none;
    padding: 16px 32px;
    border-radius: 60px;
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: 0.4s ease;
    box-shadow: 0 0 20px rgba(0,174,239,0.6), 0 0 40px rgba(255,107,107,0.4);
    z-index: 999;
}

    .button01:hover, .button02:hover {
        transform: scale(1.1);
        box-shadow: 0 0 35px rgba(0,174,239,0.9), 0 0 60px rgba(255,107,107,0.6);
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(60px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes glowText {
    from {
        text-shadow: 0 0 12px var(--accent-1);
    }

    to {
        text-shadow: 0 0 24px var(--accent-1), 0 0 40px var(--accent-2), 0 0 60px var(--accent-3);
    }
}

@keyframes expandLine {
    from {
        width: 0;
    }

    to {
        width: 70%;
    }
}

@keyframes cinematicGlow {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 0.8;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .h1ba {
        font-size: 2.4rem;
    }



    .floating-field input, .floating-field select, .floating-field textarea {
        padding: 12px 42px;
        font-size: 1rem;
    }

    .button01, .button02 {
        padding: 14px 26px;
        font-size: 1.05rem;
    }
}
@media (max-width: 480px) {
    .floating-field input,
    .floating-field select,
    .floating-field textarea {
        /*padding: 5px 12px 5px 40px;*/ /* reduce left padding */
        font-size: 0.95rem; /* optional: smaller text for better fit */
    }
    .modal{
        width:100% !important ;
    }
    .floating-field label {
        left: 36px; /* align label with smaller padding */
    }

    .floating-field .icon {
        left: 12px; /* align icon properly */
    }
}
.date-time-row {
    display: flex;
    gap: 8px;
}

    .date-time-row input {
        flex: 1;
        min-width: 0; /* crucial for flex items to shrink properly */
    }
.contact-c-b {
    display:flex;
}

@media (max-width:600px) {
    .contact-c-b {
        display:block;
    }
}
    /*//////////////////////////////////////////
    book error mesage*/
    .field-error-msg {
        color: #dc3545;
        font-size: 0.85em;
        font-weight: bold;
        margin-top: 2px;
        display: none; /* hidden by default; JS will set display:block!important */
    }

    #error_message {
        display: none; /* hidden by default */
        position: fixed;
        top:0;
        left: 0;
        text-align: center;
        width: 100%;
        color: #fff;
        background: #c0392b;
        padding: 12px 16px;
        box-sizing: border-box;
        z-index: 99999 !important;
    }
    /* Container to center the bar */
    .step-container {
        width: 100%;
        margin: 20px auto 30px;
        text-align: center;
        position: relative;
    }

    /* Remove default list styles */
    .progressbar {
        counter-reset: step;
        padding: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        position: relative;
        z-index: 1;
    }

        .progressbar li {
            list-style-type: none;
            width: 50%;
            float: left;
            font-size: 14px;
            position: relative;
            text-align: center;
            text-transform: uppercase;
            color: #7d7d7d;
            font-weight: 600;
        }

            /* The Circle */
            .progressbar li:before {
                width: 40px;
                height: 40px;
                content: counter(step);
                counter-increment: step;
                line-height: 40px;
                border: 2px solid #7d7d7d;
                display: block;
                text-align: center;
                margin: 0 auto 10px auto;
                border-radius: 50%;
                background-color: white;
                color: #7d7d7d;
                font-weight: bold;
                transition: all 0.3s ease;
            }

            /* The Connecting Line */
            .progressbar li:after {
                content: '';
                position: absolute;
                width: 100%;
                height: 2px;
                background-color: #7d7d7d;
                top: 20px; /* Half of circle height */
                left: -50%;
                z-index: -1; /* Put behind the circle */
                transition: all 0.3s ease;
            }

            /* Hide line before the first step */
            .progressbar li:first-child:after {
                content: none;
            }

            /* Active State (Current Step) */
            .progressbar li.active {
                color: #27ae60; /* Green text */
            }

                .progressbar li.active:before {
                    border-color: #27ae60;
                    background-color: #27ae60;
                    color: white;
                }

                /* Completed Line (When moving to step 2) */
                .progressbar li.active + li:after {
                    background-color: #27ae60;
                }
    /* Red border for invalid fields */
    .input-error {
        border: 2px solid #c0392b !important;
        background-color: #fff6f6; /* Optional: light red background */
    }

    /* Optional: Transition for smooth color change */
    input, select, textarea {
        transition: border-color 0.3s ease, background-color 0.3s ease;
    }

    .no-scroll {
        overflow: hidden;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
