/* Premium Page Background with Parallax Effect */
body {
    background-image: url('../images/image/e805293ef62857a7dd55dc8d98af7268.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TRUST BADGES SECTION - TRIPADVISOR & SAFARIBOOKINGS
   ======================================== */

.trust-badges-section {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.95) 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.trust-badges-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 165, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.trust-badges-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Trust Badge Cards */
.trust-badge-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease backwards;
}

.trust-badge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.trust-badge-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #FFD700;
}

.trust-badge-card:hover::before {
    transform: scaleX(1);
}

.trust-badge-card:nth-child(1) { animation-delay: 0.1s; }
.trust-badge-card:nth-child(2) { animation-delay: 0.2s; }
.trust-stats { animation-delay: 0.3s; }

/* Badge Header */
.badge-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.badge-logo {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

.trust-badge-card:hover .badge-logo {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Badge Content */
.badge-content {
    text-align: center;
}

.rating-display {
    margin-bottom: 15px;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

/* TripAdvisor Circles */
.tripadvisor-badge .stars i {
    color: #00AF87;
    font-size: 20px;
    animation: starPulse 2s ease-in-out infinite;
}

.tripadvisor-badge .stars i:nth-child(1) { animation-delay: 0s; }
.tripadvisor-badge .stars i:nth-child(2) { animation-delay: 0.1s; }
.tripadvisor-badge .stars i:nth-child(3) { animation-delay: 0.2s; }
.tripadvisor-badge .stars i:nth-child(4) { animation-delay: 0.3s; }
.tripadvisor-badge .stars i:nth-child(5) { animation-delay: 0.4s; }

/* SafariBookings Stars */
.safari-stars i {
    color: #FF6B35;
    font-size: 22px;
    animation: starPulse 2s ease-in-out infinite;
}

.safari-stars i:nth-child(1) { animation-delay: 0s; }
.safari-stars i:nth-child(2) { animation-delay: 0.1s; }
.safari-stars i:nth-child(3) { animation-delay: 0.2s; }
.safari-stars i:nth-child(4) { animation-delay: 0.3s; }
.safari-stars i:nth-child(5) { animation-delay: 0.4s; }

@keyframes starPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.rating-text {
    font-size: 1.8em;
    font-weight: 800;
    color: #000;
    display: block;
    margin-bottom: 8px;
}

.review-count {
    color: #666;
    font-size: 0.95em;
    margin: 0 0 20px 0;
    font-weight: 500;
}

/* Badge Link */
.badge-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.badge-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
}

.badge-link i {
    font-size: 0.85em;
    transition: transform 0.3s ease;
}

.badge-link:hover i {
    transform: translateX(3px);
}

/* Trust Stats */
.trust-stats {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(255, 215, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease backwards;
}

.trust-stats:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #FFD700;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #fffef7 0%, #fff9e6 100%);
}

.stat-item i {
    font-size: 2.5em;
    color: #FFD700;
    min-width: 50px;
    text-align: center;
    animation: iconFloat 3s ease-in-out infinite;
}

.stat-item:nth-child(1) i { animation-delay: 0s; }
.stat-item:nth-child(2) i { animation-delay: 0.5s; }
.stat-item:nth-child(3) i { animation-delay: 1s; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.stat-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    font-weight: 700;
    color: #000;
}

.stat-info p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

/* Responsive Design */
@media (max-width: 992px) {
    .trust-badges-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-stats {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .trust-badges-section {
        padding: 120px 0 40px;
    }

    .trust-badges-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trust-badge-card {
        padding: 25px 20px;
    }

    .badge-logo {
        max-width: 150px;
    }

    .rating-text {
        font-size: 1.5em;
    }

    .trust-stats {
        flex-direction: column;
    }

    .stat-item {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .trust-badge-card {
        padding: 20px 15px;
    }

    .badge-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .stars {
        gap: 3px;
    }

    .tripadvisor-badge .stars i,
    .safari-stars i {
        font-size: 18px;
    }

    .rating-text {
        font-size: 1.3em;
    }

    .badge-link {
        padding: 10px 20px;
        font-size: 0.85em;
    }

    .stat-item {
        padding: 12px;
        gap: 15px;
    }

    .stat-item i {
        font-size: 2em;
        min-width: 40px;
    }

    .stat-info h4 {
        font-size: 1em;
    }

    .stat-info p {
        font-size: 0.85em;
    }
}

/* Sophisticated Multi-Layer Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%),
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 165, 0, 0.03) 0%, transparent 50%);
    z-index: -1;
    animation: overlayPulse 10s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

/* Booking Form Styles */
.booking-form {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    position: relative;
}

.booking-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 165, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.booking-form .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.booking-form h2 {
    text-align: center;
    color: #000;
    margin: 0 auto 50px;
    padding: 0 20px;
    font-size: 2.8em;
    font-weight: 800;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    width: 100%;
    max-width: 900px;
}

.booking-form h2::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    border-radius: 2px;
}

.booking-form h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #FFD700 50%, transparent 100%);
}

.form-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.95) 100%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.form-section:hover {
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.15);
    transform: translateY(-2px);
}

.form-section h3 {
    color: #000;
    margin-bottom: 25px;
    font-size: 1.6em;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.form-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    font-size: 0.95em;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1em;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    color: #333;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #FFD700;
    background: #fffef7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #FFD700;
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
    background: #fff;
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFD700' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Premium Number of Travelers Label */
.form-group > label:has(+ .travelers-group),
.form-group label[for]:not([for=""]) {
    font-size: 1.1em;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    display: block;
    position: relative;
}

.form-group > label:has(+ .travelers-group)::before {
    content: '👥';
    margin-right: 10px;
    font-size: 1.2em;
}

.travelers-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.travelers-group > div {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 16px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.travelers-group > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.travelers-group > div:hover {
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.travelers-group > div:hover::before {
    opacity: 1;
}

.travelers-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.travelers-group label::before {
    content: '👤';
    font-size: 1.2em;
}

.travelers-group input {
    width: 100%;
    text-align: center;
    font-size: 1.3em;
    font-weight: 700;
    color: #000;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

/* Premium Submit Button Styles */
.form-actions {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
}

.submit-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    padding: 18px 60px;
    border: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
}

.submit-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.submit-btn .btn-text {
    position: relative;
    z-index: 1;
}

.submit-btn i {
    transition: transform 0.3s ease;
    font-size: 1.1em;
}

.submit-btn:hover i {
    transform: translateX(8px);
    animation: arrowBounce 0.6s ease infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(8px); }
    50% { transform: translateX(12px); }
}

/* Premium Payment Method Cards */
.payment-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
}

.payment-section h3 {
    color: #000 !important;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6em !important;
    margin-bottom: 10px !important;
}

.payment-section h3 i {
    color: #FFD700;
    font-size: 1.2em;
}

.section-description {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 25px;
    font-style: italic;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.payment-method-card {
    position: relative;
}

.payment-method-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-method-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.payment-method-card label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.payment-method-card:hover label {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.payment-method-card input[type="radio"]:checked + label {
    border-color: #FFD700;
    background: linear-gradient(135deg, #fffef7 0%, #fff9e6 100%);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
}

.payment-method-card input[type="radio"]:checked + label::before {
    transform: scaleX(1);
}

.payment-icon {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #f8f9fa;
    padding: 8px;
    transition: all 0.3s ease;
}

.payment-method-card:hover .payment-icon {
    background: #fff;
    transform: scale(1.05);
}

.payment-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.payment-name {
    font-weight: 600;
    font-size: 0.95em;
    color: #000;
    margin-bottom: 4px;
    text-align: center;
}

.payment-desc {
    font-size: 0.8em;
    color: #666;
    text-align: center;
}

.payment-method-card input[type="radio"]:checked + label .payment-name {
    color: #FFD700;
}

.payment-method-card input[type="radio"]:checked + label .payment-icon {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Tour Package Select Styles */
#tourPackage {
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    font-size: 1em;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

#tourPackage:hover {
    border-color: #FFD700;
}

#tourPackage:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    outline: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .booking-form {
        padding: 50px 0;
    }

    .booking-form h2 {
        font-size: 2em;
        margin-bottom: 35px;
    }

    .form-section {
        padding: 25px 20px;
    }

    .form-section h3 {
        font-size: 1.3em;
    }

    .travelers-group {
        grid-template-columns: 1fr;
    }

    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .payment-method-card label {
        padding: 15px 10px;
    }

    .payment-icon {
        width: 60px;
        height: 45px;
    }

    .submit-btn {
        width: 100%;
        padding: 16px 40px;
        font-size: 1.1em;
    }
}

@media (max-width: 576px) {
    .booking-form {
        padding: 40px 0;
    }

    .booking-form h2 {
        font-size: 1.6em;
        letter-spacing: 1px;
    }

    .form-section {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .payment-method-card label {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        padding: 15px;
    }

    .payment-icon {
        width: 50px;
        height: 40px;
        margin-bottom: 0;
    }

    .payment-name,
    .payment-desc {
        text-align: left;
    }

    .submit-btn {
        padding: 14px 30px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .booking-form .form-section .form-group .payment-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Premium Validation States */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.form-group input:valid:not(:placeholder-shown)::after,
.form-group select:valid:not(:placeholder-shown)::after {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #10b981;
    font-weight: bold;
}

/* Premium Focus Ring */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: none;
    border-color: #FFD700;
    box-shadow: 
        0 0 0 4px rgba(255, 215, 0, 0.1),
        0 4px 12px rgba(255, 215, 0, 0.15);
}

/* Disabled State */
.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Checkbox and Radio Custom Styling */
input[type="checkbox"],
input[type="radio"] {
    width: 1.2em;
    height: 1.2em;
    margin: 0;
}

/* Button Hover Effect */
.book-btn {
    background: var(--primary-gold);
    color: var(--black);
    padding: 0.6rem 1.8rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.book-btn:hover {
    background: var(--secondary-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.book-btn:hover::before {
    left: 100%;
}

.book-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Booking Page Responsive Styles */
.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.booking-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.booking-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.summary-total {
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 20px;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .booking-container {
        padding: 15px;
    }
    
    .booking-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .booking-container {
        padding: 10px;
    }
    
    .booking-form {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-control {
        padding: 10px;
    }
    
    .booking-summary {
        margin-top: 20px;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .booking-container {
        padding: 5px;
    }
    
    .booking-form {
        padding: 15px;
        border-radius: 8px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-control {
        font-size: 14px;
    }
    
    .summary-item {
        font-size: 14px;
    }
    
    .summary-total {
        font-size: 1.1em;
    }
}

/* Premium Loading State */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
    position: relative;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success State Animation */
.submit-btn.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    pointer-events: none;
}

.submit-btn.success::before {
    content: '✓';
    position: absolute;
    font-size: 1.5em;
    color: #fff;
    animation: checkmark 0.5s ease;
}

@keyframes checkmark {
    0% { transform: scale(0) rotate(-45deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(0deg); }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* Form Fade-in Animation */
.form-section {
    animation: fadeInUp 0.6s ease backwards;
}

.form-section:nth-child(1) { animation-delay: 0.1s; }
.form-section:nth-child(2) { animation-delay: 0.2s; }
.form-section:nth-child(3) { animation-delay: 0.3s; }
.form-section:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Progress Indicator */
.booking-form::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

/* Touch Device Optimizations */
@media (hover: none) {
    .form-control:focus {
        box-shadow: none;
    }
    
    .btn {
        padding: 12px 20px;
    }
    
    .form-section:hover {
        transform: none;
    }
}

/* TripAdvisor Widget: reduce size by ~30% */
.tripadvisor-widget {
    transform: scale(0.7);
    transform-origin: top center;
}

/* Keep layout tidy when scaled */
.tripadvisor-widget .badge-header { margin-bottom: 12px; padding-bottom: 12px; }
.tripadvisor-widget .badge-link { padding: 10px 18px; font-size: 0.85em; }
.tripadvisor-widget .badge-content img { max-width: 120px; height: auto; }

/* Live Traffic Feed Widget Size Reduction */
#LTF_live_website_traffic_widget {
    transform: scale(0.4);
    transform-origin: top center;
    margin: -10px 0 -20px; /* Compensate for extra space from scaling */
    display: inline-block; /* Ensure transform works properly */
}

/* Adjust the service card to handle the scaled widget */
#LTF_live_website_traffic_widget + .service-card {
    margin-top: -15px;
}

/* Mobile: slightly larger for readability */
@media (max-width: 768px) {
    .tripadvisor-widget { transform: scale(0.85); }
    #LTF_live_website_traffic_widget {
        transform: scale(0.5);
        margin: -5px 0 -15px;
    }
}