/* =========================================================
   TORA TRAILS — PLAN MY TRIP
   Light Glassmorphism • Blue/Purple Gradients
   Desktop + Mobile Responsive
========================================================= */


/* =========================================================
   PAGE BASE
========================================================= */

.plan-hero {
    position: relative;
    min-height: 100vh;
    padding: 145px 0 110px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 8% 18%,
            rgba(79, 141, 255, 0.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 92% 78%,
            rgba(139, 92, 246, 0.15),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #eef5ff 48%,
            #f8f6ff 100%
        );
}


/* =========================================================
   AMBIENT BACKGROUND BLOBS
========================================================= */

.plan-hero::before,
.plan-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.plan-hero::before {
    width: 520px;
    height: 520px;

    top: -230px;
    left: -180px;

    background:
        radial-gradient(
            circle,
            rgba(79, 141, 255, 0.18),
            transparent 68%
        );

    animation: ambientFloat 12s ease-in-out infinite;
}

.plan-hero::after {
    width: 580px;
    height: 580px;

    right: -230px;
    bottom: -260px;

    background:
        radial-gradient(
            circle,
            rgba(139, 92, 246, 0.16),
            transparent 68%
        );

    animation: ambientFloatReverse 14s ease-in-out infinite;
}


.plan-bg-glow {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.glow-one {
    width: 300px;
    height: 300px;

    top: 20%;
    left: 38%;

    background: rgba(79, 141, 255, 0.08);

    animation: slowPulse 8s ease-in-out infinite;
}

.glow-two {
    width: 280px;
    height: 280px;

    top: 52%;
    right: 8%;

    background: rgba(139, 92, 246, 0.08);

    animation: slowPulse 10s ease-in-out infinite reverse;
}

.glow-three {
    width: 250px;
    height: 250px;

    bottom: 5%;
    left: 15%;

    background: rgba(94, 234, 212, 0.06);

    animation: slowPulse 9s ease-in-out infinite;
}


/* =========================================================
   MAIN CONTENT GRID
========================================================= */

.plan-hero-content {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(430px, 1.1fr);

    align-items: center;

    gap: 85px;
}


/* =========================================================
   LEFT SIDE CONTENT
========================================================= */

.plan-intro {
    position: relative;
}


.plan-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 25px;

    padding: 9px 15px;

    border-radius: 100px;

    background: rgba(255, 255, 255, 0.55);

    border: 1px solid rgba(79, 141, 255, 0.14);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: #5b7fc7;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;

    box-shadow:
        0 8px 25px rgba(80, 110, 160, 0.06);
}

.plan-eyebrow i {
    font-size: 12px;
}


/* =========================================================
   TITLE
========================================================= */

.plan-title {
    margin: 0 0 25px;

    color: #202a3b;

    font-size: clamp(3.5rem, 6vw, 6.6rem);

    font-weight: 700;

    line-height: 0.94;

    letter-spacing: -3px;
}


.title-line {
    display: block;
    overflow: hidden;
}


.plan-title .highlight {
    background:
        linear-gradient(
            90deg,
            #4f8dff,
            #7b6df6,
            #9a67e8
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.plan-description {
    max-width: 570px;
    margin: 0;

    color: #667085;

    font-size: 16px;

    line-height: 1.85;
}


/* =========================================================
   MINI INFORMATION CARDS
========================================================= */

.plan-mini-info {
    display: flex;
    flex-direction: column;
    gap: 14px;

    margin-top: 42px;
}


.mini-info-card {
    position: relative;

    display: flex;
    align-items: center;

    gap: 17px;

    width: 100%;
    max-width: 460px;

    padding: 18px 20px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.68),
            rgba(255, 255, 255, 0.34)
        );

    border:
        1px solid rgba(255, 255, 255, 0.72);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 12px 35px rgba(80, 100, 140, 0.08);

    transition:
        transform 0.45s cubic-bezier(.16, 1, .3, 1),
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}


.mini-info-card:hover {
    transform: translateX(10px);

    border-color: rgba(79, 141, 255, 0.30);

    box-shadow:
        0 18px 45px rgba(79, 141, 255, 0.13);
}


.mini-info-card i {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    border-radius: 13px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #4f8dff,
            #8b5cf6
        );

    box-shadow:
        0 8px 20px rgba(79, 141, 255, 0.22);
}


.mini-info-card strong {
    display: block;

    margin-bottom: 3px;

    color: #273142;

    font-size: 14px;
}


.mini-info-card span {
    color: #7a8494;

    font-size: 12px;
}


/* =========================================================
   FORM WRAPPER
========================================================= */

.trip-form-wrapper {
    position: relative;

    padding: 48px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.76),
            rgba(255, 255, 255, 0.48)
        );

    border:
        1px solid rgba(255, 255, 255, 0.88);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    box-shadow:
        0 30px 80px rgba(74, 98, 145, 0.14);

    overflow: visible;
}


/* top shine */

.trip-form-wrapper::before {
    content: "";

    position: absolute;

    top: 0;
    left: 10%;
    right: 10%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(79, 141, 255, 0.40),
            rgba(139, 92, 246, 0.40),
            transparent
        );
}


/* =========================================================
   FORM HEADER
========================================================= */

.form-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 35px;
}


.form-small-title {
    display: block;

    margin-bottom: 9px;

    color: #6b7fb8;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.form-top h2 {
    margin: 0;

    color: #263247;

    font-size: 31px;
    font-weight: 700;

    line-height: 1.15;
}


.form-top h2 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #4f8dff,
            #8b5cf6
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


.form-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    flex-shrink: 0;

    border-radius: 17px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #4f8dff,
            #8b5cf6
        );

    box-shadow:
        0 10px 25px rgba(79, 141, 255, 0.20);

    transition:
        transform 0.5s cubic-bezier(.16, 1, .3, 1);
}


.trip-form-wrapper:hover .form-icon {
    transform: rotate(-7deg) scale(1.06);
}


/* =========================================================
   FORM GROUPS
========================================================= */

.form-group {
    margin-bottom: 20px;
}


.form-group label {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 9px;

    color: #475467;

    font-size: 13px;
    font-weight: 600;
}


.form-group label i {
    width: 15px;

    color: #6f7fe9;
}


.form-group label span {
    margin-left: auto;

    color: #98a2b3;

    font-size: 10px;
    font-weight: 500;
}


/* =========================================================
   INPUTS
========================================================= */

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.select-wrapper select {

    width: 100%;

    min-height: 54px;

    padding: 14px 17px;

    border-radius: 13px;

    outline: none;

    color: #344054;

    font-family: inherit;
    font-size: 14px;

    background:
        rgba(255, 255, 255, 0.62);

    border:
        1px solid rgba(80, 110, 160, 0.12);

    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.55);

    transition:
        transform 0.35s cubic-bezier(.16, 1, .3, 1),
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}


.form-group input::placeholder {
    color: #a0a8b5;
}


.form-group input:focus,
.select-wrapper select:focus {

    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.88);

    border-color: rgba(79, 141, 255, 0.60);

    box-shadow:
        0 0 0 4px rgba(79, 141, 255, 0.08),
        0 8px 20px rgba(79, 141, 255, 0.07);
}


/* =========================================================
   PACKAGE SELECT
========================================================= */

.select-wrapper {
    position: relative;
}


.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;

    padding-right: 48px;
}


.select-wrapper i {
    position: absolute;

    top: 50%;
    right: 18px;

    transform: translateY(-50%);

    pointer-events: none;

    color: #6f7fe9;

    font-size: 11px;
}


.select-wrapper option {
    background: #ffffff;
    color: #344054;
}


/* =========================================================
   BUDGET CARDS
========================================================= */

.budget-options {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;
}


.budget-card {
    position: relative;

    margin: 0 !important;

    cursor: pointer;
}


.budget-card input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.budget-card span {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 10px;

    border-radius: 13px;

    color: #667085;

    font-size: 12px;
    font-weight: 500;

    background:
        rgba(255, 255, 255, 0.55);

    border:
        1px solid rgba(80, 110, 160, 0.10);

    transition:
        transform 0.35s cubic-bezier(.16, 1, .3, 1),
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        color 0.35s ease;
}


.budget-card:hover span {
    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.85);

    border-color: rgba(79, 141, 255, 0.28);

    box-shadow:
        0 10px 22px rgba(79, 141, 255, 0.08);
}


.budget-card input:checked + span {

    color: #536ee8;

    font-weight: 600;

    background:
        linear-gradient(
            135deg,
            rgba(79, 141, 255, 0.12),
            rgba(139, 92, 246, 0.10)
        );

    border-color: rgba(110, 110, 235, 0.48);

    box-shadow:
        0 8px 22px rgba(100, 100, 230, 0.10);
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.submit-trip-btn {
    position: relative;

    width: 100%;
    min-height: 58px;

    margin-top: 8px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border: none;
    border-radius: 14px;

    cursor: pointer;

    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #4f8dff 0%,
            #6f72f5 48%,
            #8b5cf6 100%
        );

    box-shadow:
        0 14px 32px rgba(79, 141, 255, 0.24);

    transition:
        transform 0.4s cubic-bezier(.16, 1, .3, 1),
        box-shadow 0.4s ease;
}


.submit-trip-btn::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 65%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.32),
            transparent
        );

    transform: skewX(-22deg);

    transition: left 0.75s ease;
}


.submit-trip-btn:hover::before {
    left: 150%;
}


.submit-trip-btn:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 42px rgba(79, 141, 255, 0.32);
}


.submit-trip-btn i,
.submit-trip-btn span {
    position: relative;
    z-index: 2;
}


.submit-trip-btn i {
    transition: transform 0.35s ease;
}


.submit-trip-btn:hover i {
    transform: translateX(5px);
}


/* =========================================================
   FORM NOTE
========================================================= */

.form-note {
    margin: 17px 0 0;

    text-align: center;

    color: #98a2b3;

    font-size: 10px;
}


.form-note i {
    margin-right: 4px;

    color: #6f7fe9;
}


/* =========================================================
   TEXT ANIMATIONS
========================================================= */

.animate-left {
    opacity: 0;

    filter: blur(14px);

    transform: translateX(-60px);

    animation:
        cinematicSlideLeft
        0.9s
        cubic-bezier(.16, 1, .3, 1)
        forwards;
}


.title-reveal {
    opacity: 0;

    filter: blur(18px);

    transform:
        translateX(-85px)
        translateY(12px);

    animation:
        titleReveal
        1.05s
        cubic-bezier(.16, 1, .3, 1)
        forwards;
}


@keyframes cinematicSlideLeft {

    from {
        opacity: 0;
        filter: blur(14px);
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
    }

}


@keyframes titleReveal {

    0% {
        opacity: 0;

        filter: blur(18px);

        transform:
            translateX(-85px)
            translateY(12px);
    }

    75% {
        opacity: 1;

        filter: blur(0);

        transform:
            translateX(5px)
            translateY(0);
    }

    100% {
        opacity: 1;

        filter: blur(0);

        transform:
            translateX(0)
            translateY(0);
    }

}


.delay-one {
    animation-delay: 0.12s;
}

.delay-two {
    animation-delay: 0.28s;
}

.delay-three {
    animation-delay: 0.45s;
}

.delay-four {
    animation-delay: 0.65s;
}

.delay-five {
    animation-delay: 0.82s;
}


/* =========================================================
   MINI CARD POP ANIMATION
========================================================= */

.animate-pop {
    opacity: 0;

    filter: blur(12px);

    transform:
        translateY(30px)
        scale(0.97);

    animation:
        cinematicPop
        0.8s
        cubic-bezier(.16, 1, .3, 1)
        forwards;
}


@keyframes cinematicPop {

    from {
        opacity: 0;

        filter: blur(12px);

        transform:
            translateY(30px)
            scale(0.97);
    }

    to {
        opacity: 1;

        filter: blur(0);

        transform:
            translateY(0)
            scale(1);
    }

}


/* =========================================================
   FORM ENTRANCE
========================================================= */

.animate-form {
    opacity: 0;

    filter: blur(20px);

    transform:
        translateX(70px)
        scale(0.98);

    animation:
        formEntrance
        1.1s
        cubic-bezier(.16, 1, .3, 1)
        0.25s
        forwards;
}


@keyframes formEntrance {

    from {
        opacity: 0;

        filter: blur(20px);

        transform:
            translateX(70px)
            scale(0.98);
    }

    to {
        opacity: 1;

        filter: blur(0);

        transform:
            translateX(0)
            scale(1);
    }

}


/* =========================================================
   FORM FIELD STAGGER
========================================================= */

.form-reveal {
    opacity: 0;

    filter: blur(10px);

    transform: translateY(25px);

    animation:
        fieldReveal
        0.7s
        cubic-bezier(.16, 1, .3, 1)
        forwards;
}


@keyframes fieldReveal {

    from {
        opacity: 0;

        filter: blur(10px);

        transform: translateY(25px);
    }

    to {
        opacity: 1;

        filter: blur(0);

        transform: translateY(0);
    }

}


.delay-form-one {
    animation-delay: 0.85s;
}

.delay-form-two {
    animation-delay: 0.98s;
}

.delay-form-three {
    animation-delay: 1.11s;
}

.delay-form-four {
    animation-delay: 1.24s;
}

.delay-form-five {
    animation-delay: 1.37s;
}

.delay-form-six {
    animation-delay: 1.50s;
}


/* =========================================================
   BACKGROUND ANIMATIONS
========================================================= */

@keyframes ambientFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(55px, 35px);
    }

}


@keyframes ambientFloatReverse {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-45px, -35px);
    }

}


@keyframes slowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.18);
        opacity: 1;
    }

}


/* =========================================================
   SUCCESS POPUP
========================================================= */

.success-popup {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}


.success-popup.show {
    display: flex;
}


.popup-overlay {
    position: absolute;

    inset: 0;

    background: rgba(55, 65, 85, 0.30);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    animation: popupOverlayIn 0.4s ease forwards;
}


@keyframes popupOverlayIn {

    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(12px);
    }

}


.popup-card {
    position: relative;
    z-index: 2;

    width: min(100%, 450px);

    padding: 48px 36px;

    text-align: center;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.94),
            rgba(245, 248, 255, 0.88)
        );

    border:
        1px solid rgba(255, 255, 255, 0.90);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    box-shadow:
        0 35px 100px rgba(65, 80, 120, 0.20);

    animation:
        premiumPopup
        0.7s
        cubic-bezier(.16, 1, .3, 1)
        forwards;
}


@keyframes premiumPopup {

    from {
        opacity: 0;

        filter: blur(18px);

        transform:
            translateY(45px)
            scale(0.93);
    }

    to {
        opacity: 1;

        filter: blur(0);

        transform:
            translateY(0)
            scale(1);
    }

}


.success-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    margin: 0 auto 23px;

    border-radius: 50%;

    color: #ffffff;

    font-size: 27px;

    background:
        linear-gradient(
            135deg,
            #4f8dff,
            #8b5cf6
        );

    box-shadow:
        0 15px 35px rgba(79, 141, 255, 0.24);

    animation:
        iconPop
        0.8s
        cubic-bezier(.16, 1, .3, 1)
        0.2s
        both;
}


@keyframes iconPop {

    from {
        opacity: 0;

        transform:
            scale(0)
            rotate(-25deg);
    }

    to {
        opacity: 1;

        transform:
            scale(1)
            rotate(0);
    }

}


.popup-card h2 {
    margin: 0 0 12px;

    color: #263247;

    font-size: 27px;
}


.popup-card p {
    margin: 0;

    color: #667085;

    line-height: 1.75;

    font-size: 14px;
}


.popup-card button {
    margin-top: 28px;

    padding: 13px 26px;

    border: none;
    border-radius: 12px;

    cursor: pointer;

    color: #ffffff;

    font-family: inherit;
    font-weight: 600;

    background:
        linear-gradient(
            135deg,
            #4f8dff,
            #8b5cf6
        );

    box-shadow:
        0 10px 24px rgba(79, 141, 255, 0.18);

    transition:
        transform 0.35s cubic-bezier(.16, 1, .3, 1),
        box-shadow 0.35s ease;
}


.popup-card button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 30px rgba(79, 141, 255, 0.28);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .plan-hero-content {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .plan-intro {
        max-width: 750px;
    }

    .plan-mini-info {
        flex-direction: row;
    }

    .mini-info-card {
        max-width: none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .plan-hero {
        min-height: auto;

        padding:
            125px 0
            75px;
    }


    .plan-hero::before {
        width: 400px;
        height: 400px;

        top: -170px;
        left: -230px;
    }


    .plan-hero::after {
        width: 400px;
        height: 400px;

        right: -220px;
        bottom: -180px;
    }


    .plan-hero-content {
        gap: 48px;
    }


    .plan-title {
        font-size:
            clamp(3.2rem, 15vw, 5rem);

        letter-spacing: -2px;
    }


    .plan-description {
        font-size: 14px;
        line-height: 1.8;
    }


    .plan-mini-info {
        flex-direction: column;
        margin-top: 32px;
    }


    .mini-info-card {
        max-width: 100%;

        padding: 16px 17px;
    }


    .trip-form-wrapper {
        padding: 30px 20px;

        border-radius: 24px;
    }


    .form-top {
        margin-bottom: 28px;
    }


    .form-top h2 {
        font-size: 25px;
    }


    .form-icon {
        width: 48px;
        height: 48px;

        border-radius: 15px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .plan-eyebrow {
        font-size: 8px;
        letter-spacing: 1.6px;

        padding: 8px 12px;
    }


    .plan-title {
        font-size: 3.15rem;
    }


    .budget-options {
        gap: 9px;
    }


    .budget-card span {
        min-height: 48px;

        padding: 8px;

        font-size: 10px;
    }


    .trip-form-wrapper {
        padding: 27px 15px;
    }


    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="email"],
    .form-group input[type="date"],
    .select-wrapper select {
        min-height: 52px;

        font-size: 13px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}
/* =========================================================
   CUSTOM PACKAGE SELECTOR
========================================================= */

.custom-package-select {
    position: relative;
    width: 100%;
}


/* MAIN BUTTON */

.package-select-trigger {
    width: 100%;
    min-height: 54px;

    padding: 14px 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 13px;

    border: 1px solid rgba(80, 110, 160, 0.12);

    background: rgba(255, 255, 255, 0.62);

    color: #344054;

    font-family: inherit;
    font-size: 14px;

    cursor: pointer;

    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.55);

    transition:
        transform 0.35s cubic-bezier(.16, 1, .3, 1),
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}


.package-select-trigger:hover,
.custom-package-select.open .package-select-trigger {

    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.90);

    border-color: rgba(79, 141, 255, 0.55);

    box-shadow:
        0 0 0 4px rgba(79, 141, 255, 0.07),
        0 10px 22px rgba(79, 141, 255, 0.08);
}


/* ARROW */

.package-arrow {
    color: #6f7fe9;

    font-size: 12px;

    transition:
        transform 0.4s cubic-bezier(.16, 1, .3, 1);
}


.custom-package-select.open .package-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   DROPDOWN
========================================================= */

.package-dropdown {

    position: absolute;

    top: calc(100% + 10px);
    left: 0;

    width: 100%;

    z-index: 100;

    padding: 12px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 1),
            rgba(245, 248, 255, 1)
        );

    border:
        1px solid rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    box-shadow:
        0 22px 55px rgba(65, 80, 120, 0.18);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateY(-12px)
        scale(0.97);

    filter: blur(8px);

    transform-origin: top center;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.45s cubic-bezier(.16, 1, .3, 1),
        filter 0.35s ease;
}


/* OPEN ANIMATION */

.custom-package-select.open .package-dropdown {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateY(0)
        scale(1);

    filter: blur(0);
}


/* =========================================================
   SEARCH BAR
========================================================= */

.package-search {

    position: relative;

    display: flex;
    align-items: center;

    margin-bottom: 10px;
}


.package-search i {

    position: absolute;

    left: 15px;

    color: #6f7fe9;

    font-size: 12px;

    pointer-events: none;
}


.package-search input {

    width: 100%;
    height: 46px;

    padding: 0 15px 0 40px;

    border-radius: 12px;

    outline: none;

    border:
        1px solid rgba(79, 141, 255, 0.10);

    background:
        rgba(255, 255, 255, 0.70);

    color: #344054;

    font-family: inherit;
    font-size: 13px;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.package-search input:focus {

    background: #ffffff;

    border-color:
        rgba(79, 141, 255, 0.55);

    box-shadow:
        0 0 0 3px rgba(79, 141, 255, 0.07);
}


/* =========================================================
   PACKAGE OPTIONS SCROLL AREA
========================================================= */

.package-options {

    max-height: 310px;

    overflow-y: auto;

    padding-right: 4px;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(79, 141, 255, 0.45)
        transparent;
}


/* CUSTOM SCROLLBAR */

/* =========================================================
   PREMIUM PACKAGE DROPDOWN SCROLLBAR
========================================================= */

.package-options {
    max-height: 310px;
    overflow-y: auto;

    padding-right: 8px;

    scrollbar-width: auto;
    scrollbar-color: #7b8cff rgba(79, 141, 255, 0.08);
}


/* WIDTH */

.package-options::-webkit-scrollbar {
    width: 10px;
}


/* OUTER TRACK */

.package-options::-webkit-scrollbar-track {
    margin: 6px 0;

    background:
        rgba(79, 141, 255, 0.07);

    border-radius: 20px;

    border: 2px solid transparent;

    background-clip: padding-box;
}


/* SCROLL THUMB */

.package-options::-webkit-scrollbar-thumb {

    min-height: 45px;

    border-radius: 20px;

    border: 2px solid transparent;

    background:
        linear-gradient(
            180deg,
            #4f8dff 0%,
            #6f72f5 50%,
            #8b5cf6 100%
        );

    background-clip: padding-box;

    box-shadow:
        0 4px 12px
        rgba(79, 141, 255, 0.25);
}


/* HOVER */

.package-options::-webkit-scrollbar-thumb:hover {

    background:
        linear-gradient(
            180deg,
            #3d7ff5,
            #6468ef,
            #7b4ee8
        );

    background-clip: padding-box;
}


/* MOBILE */

@media (max-width: 700px) {

    .package-options {
        max-height: 270px;
        padding-right: 6px;
    }

    .package-options::-webkit-scrollbar {
        width: 8px;
    }

}


.package-options::-webkit-scrollbar-thumb:hover {

    background:
        linear-gradient(
            #3d7ff5,
            #7950e8
        );
}


/* =========================================================
   INDIVIDUAL PACKAGE OPTION
========================================================= */

.package-option {

    width: 100%;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 12px;

    margin-bottom: 5px;

    border: none;

    border-radius: 13px;

    background: transparent;

    color: #344054;

    font-family: inherit;

    text-align: left;

    cursor: pointer;

    transition:
        transform 0.3s cubic-bezier(.16, 1, .3, 1),
        background 0.3s ease,
        box-shadow 0.3s ease;
}


.package-option:hover {

    transform: translateX(4px);

    background:
        linear-gradient(
            135deg,
            rgba(79, 141, 255, 0.09),
            rgba(139, 92, 246, 0.08)
        );

    box-shadow:
        0 6px 18px rgba(79, 141, 255, 0.06);
}


/* SELECTED PACKAGE */

.package-option.selected {

    background:
        linear-gradient(
            135deg,
            rgba(79, 141, 255, 0.14),
            rgba(139, 92, 246, 0.12)
        );
}


.package-option-icon {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    border-radius: 11px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #4f8dff,
            #8b5cf6
        );

    box-shadow:
        0 6px 15px rgba(79, 141, 255, 0.15);
}


.package-option strong {

    display: block;

    margin-bottom: 3px;

    color: #344054;

    font-size: 13px;

    font-weight: 650;
}


.package-option small {

    display: block;

    color: #98a2b3;

    font-size: 10px;
}


/* =========================================================
   NO PACKAGE FOUND
========================================================= */

.no-package-found {

    display: none;

    flex-direction: column;

    align-items: center;

    gap: 9px;

    padding: 30px 10px;

    color: #98a2b3;

    font-size: 12px;
}


.no-package-found i {

    color: #6f7fe9;

    font-size: 18px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .package-dropdown {

        padding: 10px;

        border-radius: 16px;
    }


    .package-options {

        max-height: 270px;
    }


    .package-option {

        padding: 11px 10px;
    }


    .package-option-icon {

        width: 36px;
        height: 36px;
    }

}
/* =========================================================
   FINAL PACKAGE DROPDOWN STACKING FIX
========================================================= */


/* Your actual form wrapper had overflow: hidden.
   This was clipping the custom dropdown. */

.trip-form-wrapper {
    overflow: visible;
}


/* Form itself must allow the dropdown to escape normally */

#tripForm {
    position: relative;
    overflow: visible;
}


/* Every form group gets its own base layer */

.form-group {
    position: relative;
    z-index: 1;
}


/* ---------------------------------------------------------
   WHEN PACKAGE DROPDOWN IS OPEN
   Put its COMPLETE FORM GROUP above everything else.
--------------------------------------------------------- */

.form-group:has(.custom-package-select.open) {
    z-index: 1000;
}


/* Package selector */

.custom-package-select {
    position: relative;
    z-index: 1;
}


/* Dropdown itself */

.package-dropdown {
    position: absolute;

    top: calc(100% + 10px);
    left: 0;
    right: 0;

    width: auto;

    z-index: 1001;
}


/* Keep all other sections underneath */

.budget-options,
.budget-card,
.submit-btn,
.plan-submit-btn,
button[type="submit"] {
    position: relative;
    z-index: 1;
}


/* =========================================================
   MOBILE PACKAGE DROPDOWN
========================================================= */

@media (max-width: 700px) {

    .package-dropdown {

        max-height: 340px;

        padding: 10px;

        border-radius: 16px;
    }


    .package-options {

        max-height: 250px;

        overflow-y: auto;
    }

}
/* =========================================================
   PLAN MY TRIP - NAVBAR ONLY
   Completely isolated from all other pages
========================================================= */


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

@media (min-width: 769px) {

    .plan-trip-page .navbar {
        display: block;
    }

    .plan-trip-page .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .plan-trip-page .nav-links {
        display: flex !important;
        align-items: center;
        justify-content: center;

        flex-direction: row !important;

        gap: 32px;

        margin: 0;
        padding: 0;

        list-style: none;

        position: static !important;

        width: auto !important;
        height: auto !important;

        transform: none !important;
        opacity: 1 !important;
        filter: none !important;

        pointer-events: auto !important;

        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }


    .plan-trip-page .nav-links li {
        width: auto !important;

        opacity: 1 !important;
        transform: none !important;
    }


    .plan-trip-page .nav-links li a {
        display: block;

        width: auto !important;

        padding: 8px 0 !important;

        opacity: 1 !important;
        transform: none !important;

        color: inherit;
    }


    /* Hide hamburger on desktop */

    .plan-trip-page .menu-btn {
        display: none !important;
    }

}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 768px) {


    /* -----------------------------
       NAVBAR
    ----------------------------- */

    .plan-trip-page .navbar {
        position: fixed;
        top: 12px;
        left: 0;

        width: 100%;

        height: auto;

        padding: 0 !important;

        z-index: 9999;

        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }


    /* -----------------------------
       GLASS NAVBAR CONTAINER
    ----------------------------- */

    .plan-trip-page .nav-container {
        width: 92% !important;

        min-height: 68px;

        margin: 0 auto;

        padding: 0 18px;

        display: flex !important;
        align-items: center;
        justify-content: space-between;

        border-radius: 50px;

        background: rgba(255, 255, 255, 0.18);

        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);

        border: 1px solid rgba(255, 255, 255, 0.45);

        box-shadow:
            0 10px 35px rgba(60, 80, 120, 0.08);

        position: relative;

        z-index: 10001;
    }


    /* -----------------------------
       LOGO
    ----------------------------- */

    .plan-trip-page .logo {
        display: flex;
        align-items: center;

        flex-shrink: 1;
        min-width: 0;
    }


    .plan-trip-page .logo img {
        width: 42px;
        height: 42px;

        flex-shrink: 0;
    }


    .plan-trip-page .logo span {
        font-size: 18px;

        white-space: nowrap;
    }


    /* -----------------------------
       ORIGINAL HAMBURGER BUTTON
    ----------------------------- */

    .plan-trip-page .menu-btn {
        display: flex !important;

        align-items: center;
        justify-content: center;

        position: relative !important;

        top: auto !important;
        right: auto !important;
        left: auto !important;

        width: 48px;
        height: 48px;

        margin-left: auto;

        flex-shrink: 0;

        z-index: 10005;

        opacity: 1 !important;
        visibility: visible !important;

        cursor: pointer;
    }


    /* Keep original icon */

    .plan-trip-page .menu-btn i {
        display: block !important;

        opacity: 1 !important;
        visibility: visible !important;
    }


    /* -----------------------------
       MOBILE MENU PANEL
       Opens BELOW navbar

       This keeps the original
       hamburger always visible.
    ----------------------------- */

    .plan-trip-page .nav-links {
        position: fixed !important;

        top: 92px !important;
        right: 4% !important;
        left: auto !important;
        bottom: auto !important;

        width: min(360px, 92vw) !important;

        height: auto !important;
        max-height: calc(100dvh - 110px);

        overflow-y: auto;

        display: flex !important;
        flex-direction: column !important;

        align-items: stretch;
        justify-content: flex-start;

        gap: 8px;

        margin: 0 !important;

        padding: 22px !important;

        list-style: none;

        border-radius: 28px !important;

        background: rgba(18, 30, 52, 0.96) !important;

        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);

        border: 1px solid rgba(255, 255, 255, 0.12);

        box-shadow:
            0 20px 60px rgba(20, 30, 55, 0.25);

        z-index: 10000;


        /* CLOSED */

        transform:
            translateY(-15px)
            scale(0.97) !important;

        transform-origin: top right;

        opacity: 0 !important;

        visibility: hidden;

        pointer-events: none;

        filter: blur(8px);

        transition:
            opacity 0.3s ease,
            transform 0.35s cubic-bezier(.2,.8,.2,1),
            filter 0.3s ease,
            visibility 0.3s ease;
    }


    /* -----------------------------
       OPEN MENU
    ----------------------------- */

    .plan-trip-page .nav-links.show {
        top: 92px !important;
        right: 4% !important;

        transform:
            translateY(0)
            scale(1) !important;

        opacity: 1 !important;

        visibility: visible;

        pointer-events: auto;

        filter: blur(0);
    }


    /* -----------------------------
       MENU ITEMS
    ----------------------------- */

    .plan-trip-page .nav-links li {
        width: 100%;

        opacity: 0;

        transform: translateY(-8px);

        transition:
            opacity 0.3s ease,
            transform 0.35s ease;
    }


    .plan-trip-page .nav-links.show li {
        opacity: 1;

        transform: translateY(0);
    }


    /* Stagger */

    .plan-trip-page .nav-links.show li:nth-child(1) {
        transition-delay: 0.05s;
    }

    .plan-trip-page .nav-links.show li:nth-child(2) {
        transition-delay: 0.10s;
    }

    .plan-trip-page .nav-links.show li:nth-child(3) {
        transition-delay: 0.15s;
    }

    .plan-trip-page .nav-links.show li:nth-child(4) {
        transition-delay: 0.20s;
    }

    .plan-trip-page .nav-links.show li:nth-child(5) {
        transition-delay: 0.25s;
    }


    /* -----------------------------
       LINKS
    ----------------------------- */

    .plan-trip-page .nav-links li a {
        display: flex !important;

        align-items: center;

        width: 100% !important;

        padding: 15px 18px !important;

        border-radius: 16px;

        color: #ffffff !important;

        font-size: 17px;
        font-weight: 600;

        text-decoration: none;

        opacity: 1 !important;

        transition:
            background 0.25s ease,
            transform 0.25s ease;
    }


    .plan-trip-page .nav-links li a:hover,
    .plan-trip-page .nav-links li a:active {

        background: rgba(255, 255, 255, 0.08);

        transform: translateX(5px);
    }

}