* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f7f3ed; /* Light cream background */
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scroll from absolute positioning */
}

/* Custom Animated Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #f7f3ed;
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 6px;
    border: 3px solid #f7f3ed;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Variables */
:root {
    --primary: #0b4a8b; /* Logo Blue */
    --secondary: #117835; /* Logo Green */
    --gold: #b38b4d;
    --cream: #fbf9f6;
    --border: #e8dbcd;
}

/* Banner Area */
.banner-area {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 600px;
    background-image: url('4d756ea9-ba76-4237-bea4-f350e51fd31f.jpg');
    background-size: cover;
    background-position: center 35%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
}

.banner-area::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(247, 243, 237, 1) 0%, rgba(247, 243, 237, 0) 100%);
    z-index: 3;
    pointer-events: none;
}

.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

/* Logo Tag */
.logo-tag {
    position: absolute;
    top: -40px;
    right: 0; /* Flush to the right corner */
    width: 130px;
    height: 160px;
    background: linear-gradient(45deg, var(--gold), #ffe5b4, var(--gold), #d4af37);
    background-size: 300% 300%;
    animation: goldBorderAnim 3s ease infinite;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 25px), 50% 100%, 0 calc(100% - 25px));
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

@keyframes goldBorderAnim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Move logo tag to the far right corner ONLY on desktop screens */
@media (min-width: 1024px) {
    .logo-tag {
        right: calc(-50vw + 400px + 20px); /* Pushes tag exactly 20px from screen right edge */
    }
}

.logo-tag-inner {
    position: absolute;
    top: 0;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 2px);
    background: linear-gradient(135deg, rgba(11, 74, 139, 0.85), rgba(17, 120, 53, 0.85));
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 50% 100%, 0 calc(100% - 24px));
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 12px; /* Offset the bottom point */
}

/* Logo */
.logo-container {
    width: 110px;
    height: 110px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    overflow: hidden;
}

.logo {
    width: 90%;
    height: auto;
    object-fit: contain;
}

/* Text */
.main-title {
    font-size: 5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 5px;
    margin-top: 420px; /* Pushed down to avoid overlap */
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 4;
    position: relative;
}

.title-divider {
    width: 200px;
    height: 2px;
    background-color: var(--gold);
    margin: 15px auto 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 4;
    position: relative;
}

.subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 5px;
    z-index: 4;
    position: relative;
}

.sub-subtitle {
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 1px;
    margin-bottom: 30px;
    z-index: 4;
    position: relative;
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-pill {
    background-color: transparent;
    border: 1px solid rgba(179, 139, 77, 0.6);
    color: var(--cream);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    background-color: rgba(11, 74, 139, 0.5);
}

/* Steps */
.steps-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
}

.steps-container .line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 1px;
    background-color: var(--gold);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    width: 35px;
    height: 35px;
    background-color: rgba(0,0,0,0.5);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.step.active {
    background-color: transparent;
    border: 2px solid var(--gold);
}

/* Form Container */
@keyframes mainFormGlow {
    0% { box-shadow: 0 10px 30px rgba(0,0,0,0.1), 0 0 0 0 rgba(226, 175, 77, 0.4); border-color: transparent; }
    50% { box-shadow: 0 10px 30px rgba(0,0,0,0.1), 0 0 15px 2px rgba(226, 175, 77, 0.8); border-color: var(--gold); }
    100% { box-shadow: 0 10px 30px rgba(0,0,0,0.1), 0 0 0 0 rgba(226, 175, 77, 0.4); border-color: transparent; }
}

.form-container {
    position: relative;
    z-index: 10;
    background-color: #fff;
    max-width: 900px;
    margin: -100px auto 50px;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    animation: mainFormGlow 3s infinite;
}

/* Floating Guide Animation */
.guide-wrapper {
    position: fixed;
    top: auto; 
    bottom: 30px; /* Moved back to bottom */
    left: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 20px;
    gap: 15px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 10px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold);
    overflow: hidden; /* Fixes the square image cutting the rounded corners */
    animation: floatBox 3s ease-in-out infinite alternate, pulseShadow 2s infinite;
}

@keyframes pulseShadow {
    0% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), 0 10px 20px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.7), 0 10px 20px rgba(0,0,0,0.1); }
    100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), 0 10px 20px rgba(0,0,0,0.1); }
}

@keyframes floatBox {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

/* Close Popup Button */
.close-guide {
    position: absolute;
    top: 8px;
    right: 12px;
    background-color: #e74c3c;
    color: white;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.5);
    transition: all 0.3s ease;
    animation: pulseRed 2s infinite;
    z-index: 10;
}

.close-guide:hover {
    background-color: #c0392b;
    transform: scale(1.1);
    animation: none;
}

@keyframes pulseRed {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

.guide-kids-inline {
    width: 130px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply; /* Blends white background into cloudy popup */
}

.guide-bubble-inline {
    background-color: transparent;
    color: var(--primary);
    padding: 0;
    border: none;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 180px;
}

.guide-bubble-inline strong {
    font-size: 1.1rem;
    color: var(--gold);
    display: block;
    margin-bottom: 5px;
}

@media (max-width: 1100px) {
    .guide-wrapper {
        top: auto;
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 10px;
        flex-direction: row;
        text-align: left;
    }
    
    .guide-kids-inline {
        width: 100px;
        height: auto;
        object-fit: contain;
    }
}

.section {
    margin-bottom: 40px;
}

.section-title {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding-left: 10px;
    border-left: 4px solid var(--primary);
}

/* Dynamic Traveller Details Cards */
.traveller-details-card {
    background-color: #fafafa;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 25px;
}

.animated-border-card {
    background-color: #fff;
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    background-clip: padding-box;
    /* Create an animated gradient border using pseudo-element */
}

.animated-border-card::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--gold), var(--primary));
    background-size: 300% 300%;
    z-index: -1;
    border-radius: 17px;
    animation: goldBorderAnim 4s ease infinite;
}

.card-heading {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sub-section-title {
    color: var(--secondary);
    font-size: 1rem;
    font-weight: 600;
    margin: 20px 0 15px;
    padding-left: 10px;
    border-left: 3px solid var(--secondary);
}

/* Traveller Cards Count */
.traveller-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.traveller-card {
    border: 2px solid var(--primary);
    border-radius: 30px; /* Made completely oval as requested */
    padding: 20px;
    text-align: center;
    background-color: #fff;
    transition: all 0.3s;
    animation: borderGlow 3s infinite alternate;
}

@keyframes borderAnimation {
    0% { border-color: var(--primary); box-shadow: 0 0 10px rgba(11, 74, 139, 0.3); }
    50% { border-color: var(--secondary); box-shadow: 0 0 10px rgba(17, 120, 53, 0.3); }
    100% { border-color: var(--primary); box-shadow: 0 0 10px rgba(11, 74, 139, 0.3); }
}

.traveller-card h3 {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.counter button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}

.counter button:hover {
    background: var(--border);
}

.counter input {
    width: 40px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    border: none;
    outline: none;
    background: transparent;
}

/* Grid layout for inputs */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Inputs */
input[type="text"], input[type="date"], input[type="email"], select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

@keyframes inputHoverGlow {
    0% { box-shadow: 0 0 0 0 rgba(226, 175, 77, 0.4); }
    50% { box-shadow: 0 0 10px 0 rgba(226, 175, 77, 0.8); }
    100% { box-shadow: 0 0 0 0 rgba(226, 175, 77, 0.4); }
}

input[type="text"]:focus, input[type="date"]:focus, input[type="email"]:focus, select:focus {
    outline: none;
    border-color: var(--gold);
    background-color: #fff;
}

input[type="text"]:hover, input[type="date"]:hover, input[type="email"]:hover, select:hover {
    border-color: var(--gold);
    animation: inputHoverGlow 1.5s infinite;
}

/* File Upload */
.file-upload-group {
    margin-bottom: 20px;
}

.file-label {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.file-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px dashed var(--border);
    padding: 10px;
    border-radius: 6px;
    background-color: var(--cream);
}

.file-input {
    display: none;
}

.custom-file-button {
    background-color: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 15px;
    transition: background-color 0.3s;
}

.custom-file-button:hover {
    background-color: #083666;
}

.file-name {
    color: #888;
    font-size: 0.9rem;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background-color: var(--primary);
    color: #fff;
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #083666;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    animation: pulseWA 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    animation: none;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: #FFF;
}

@keyframes pulseWA {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Interactive Tour Guide */
.tour-guide-container {
    position: absolute;
    z-index: 9999;
    pointer-events: none; /* Let clicks pass through */
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    display: none;
}

.tour-cursor {
    width: 35px;
    height: 35px;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
    animation: cursorBounce 1.5s infinite alternate;
}

.cursor-svg {
    width: 100%;
    height: 100%;
}

.tour-bubble {
    position: absolute;
    top: 40px;
    left: 20px;
    background-color: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid var(--gold);
    animation: fadeIn 0.5s;
}

.tour-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 15px;
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent var(--gold) transparent;
}

@keyframes cursorBounce {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-10px, -10px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tour-highlight {
    position: relative;
    z-index: 11;
    animation: highlightPulse 2s infinite;
    border-radius: inherit;
}

@keyframes highlightPulse {
    0% { box-shadow: 0 0 0 0 rgba(226, 175, 77, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(226, 175, 77, 0); }
    100% { box-shadow: 0 0 0 0 rgba(226, 175, 77, 0); }
}

/* Responsive */
@media (max-width: 768px) {
    .main-title { font-size: 3rem; }
    .features { flex-direction: column; align-items: center; }
    .traveller-cards { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .form-container { margin: -50px 20px 50px; padding: 30px; }
    
    /* Cloudy blurry fade out for mobile poster - Reduced opacity/blur to reveal background */
    .overlay {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}

/* --- Premium Animated Selects (Choices.js) --- */
.choices {
    margin-bottom: 0 !important;
}
.choices__inner {
    background-color: #fcfcfc !important;
    border: 1px solid var(--border) !important;
    border-radius: 5px !important;
    padding: 13.5px 15px !important;
    min-height: auto !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
}
.choices[data-type*="select-one"] .choices__inner {
    padding-bottom: 13.5px !important;
}
.choices__inner:hover {
    border-color: var(--gold) !important;
    animation: inputHoverGlow 1.5s infinite !important;
}
.choices.is-focused .choices__inner {
    border-color: var(--gold) !important;
    background-color: #fff !important;
    box-shadow: 0 0 10px rgba(226, 175, 77, 0.4) !important;
}
.choices__list--dropdown {
    border-color: var(--gold) !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    animation: slideUpFade 0.3s ease-out !important;
    z-index: 100 !important;
}
.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: var(--gold) !important;
    color: white !important;
}


/* --- Premium Custom Calendar --- */
.custom-cal-popup {
    position: absolute;
    width: 300px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18), 0 0 0 2px var(--gold);
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.custom-cal-popup.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}
.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary);
    padding: 14px 16px;
}
.cal-month-year {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}
.cal-month-year .cal-month-label {
    color: #fff;
    margin-right: 6px;
}
.cal-month-year .cal-year-label {
    color: var(--gold);
}
.cal-nav {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
}
.cal-nav:hover {
    background: rgba(255,255,255,0.3);
}
.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--primary);
    padding: 6px 8px;
}
.cal-weekdays span {
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 0;
}
.cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px 8px 14px;
    gap: 2px;
}
.cal-day {
    text-align: center;
    padding: 8px 4px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    color: #333;
    transition: all 0.15s ease;
}
.cal-day:hover {
    background: #f0e9de;
    color: var(--primary);
    font-weight: 700;
}
.cal-day.today {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
}
.cal-day.selected {
    background: var(--gold);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(226, 175, 77, 0.45);
}
.cal-day.other-month {
    color: #ccc;
    cursor: default;
}
.cal-day.other-month:hover {
    background: transparent;
    color: #ccc;
}

