<?php
require_once __DIR__ . '/header.php';
require_once __DIR__ . '/db_config.php';

// Index Page Contact Details
$whatsapp_number = "917428465992"; // Updated Mobile / WhatsApp Number
$contact_email    = "wingstourandtravels6@gmail.com"; // Updated Email ID

// Dynamic Variables & Data Setup
$page_title = "Do Dham Yatra Package By Helicopter | 3 Nights 4 Days";
$package_price = "₹ 1,50,000.00";
$package_price_unit = "Per Person";
$package_duration = "3 Nights / 4 Days";

// Form Submission Message Handler
$form_msg = "";
$error_msg = "";

if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['submit_enquiry'])) {
    
    $full_name   = isset($_POST['name']) ? trim($_POST['name']) : '';
    $email       = isset($_POST['email']) ? trim($_POST['email']) : '';
    $phone       = isset($_POST['phone']) ? trim($_POST['phone']) : '';
    $passengers  = isset($_POST['passengers']) ? (int)$_POST['passengers'] : 1;
    $travel_date = isset($_POST['travel_date']) ? trim($_POST['travel_date']) : '';
    $message     = isset($_POST['message']) ? trim($_POST['message']) : '';

    if (!empty($full_name) && !empty($phone)) {
        
        // Save to Database if connection exists
        if (isset($conn) && $conn && !$conn->connect_error) {
            $e_name    = $conn->real_escape_string($full_name);
            $e_email   = $conn->real_escape_string($email);
            $e_phone   = $conn->real_escape_string($phone);
            $e_date    = $conn->real_escape_string($travel_date);
            $e_msg     = $conn->real_escape_string($message);

            $sql = "INSERT INTO inquiries (full_name, email, phone, travel_date, passengers, message) 
                    VALUES ('$e_name', '$e_email', '$e_phone', '$e_date', $passengers, '$e_msg')";
            $conn->query($sql);
        }

        // Prepare WhatsApp Message Text
        $wa_text  = "Hello, New Enquiry Received for Do Dham Yatra:%0A";
        $wa_text .= "*Name:* " . urlencode($full_name) . "%0A";
        $wa_text .= "*Phone:* " . urlencode($phone) . "%0A";
        $wa_text .= "*Email:* " . urlencode($email) . "%0A";
        $wa_text .= "*Passengers:* " . $passengers . "%0A";
        $wa_text .= "*Travel Date:* " . urlencode($travel_date) . "%0A";
        if(!empty($message)) {
            $wa_text .= "*Message:* " . urlencode($message) . "%0A";
        }

        $whatsapp_url = "https://api.whatsapp.com/send?phone=" . $whatsapp_number . "&text=" . $wa_text;

        // Redirect directly to WhatsApp
        echo "<script>
            alert('Enquiry submitted successfully! Redirecting to WhatsApp...');
            window.location.href = '$whatsapp_url';
        </script>";
        exit;

    } else {
        $error_msg = "Please fill in all required fields.";
    }
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo $page_title; ?></title>
    <meta name="description" content="Book Do Dham Yatra by Helicopter (Kedarnath & Badrinath) within 3 Nights and 4 Days with VIP Darshan, Luxury Stay and Helipad Transfers.">
    
    <!-- External Dependencies -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">

    <!-- INTERNAL CSS -->
    <style>
        :root {
            --primary-color: #0b3c5d;
            --primary-hover: #072a42;
            --secondary-color: #d4a359;
            --secondary-hover: #b88a42;
            --dark-bg: #1d2731;
            --light-bg: #f8f9fa;
            --text-color: #333333;
            --text-muted: #666666;
            --border-color: #e2e8f0;
            --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }

        *, *::before, *::after { 
            box-sizing: border-box; 
            margin: 0; 
            padding: 0; 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
        }

        body { 
            color: var(--text-color); 
            background-color: #f4f6f9; 
            line-height: 1.6; 
            width: 100%;
            overflow-x: hidden;
        }

        .container { 
            width: min(1200px, calc(100% - 30px)); 
            margin: 0 auto; 
            padding: 20px 0; 
        }

        .layout-grid { 
            display: grid; 
            grid-template-columns: 2fr 1fr; 
            gap: 25px; 
            margin-top: 10px; 
        }

        .main-content {
            background: #ffffff;
            padding: clamp(15px, 3vw, 25px);
            border-radius: 12px;
            box-shadow: var(--card-shadow);
        }

        .hero-img { 
            width: 100%; 
            height: clamp(220px, 40vw, 400px); 
            object-fit: cover; 
            border-radius: 10px; 
        }
        
        .badge-rating { 
            color: #f39c12; 
            margin: 12px 0 5px; 
            font-size: 15px;
        }

        .price-tag { 
            font-size: clamp(24px, 4vw, 32px); 
            color: var(--primary-color); 
            font-weight: 800; 
            margin: 10px 0; 
        }
        .price-tag span { 
            font-size: 15px; 
            color: var(--text-muted); 
            font-weight: normal; 
        }

        .info-strip { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); 
            background: var(--light-bg); 
            border-radius: 10px; 
            padding: 15px; 
            margin: 25px 0; 
            gap: 15px; 
            border: 1px solid var(--border-color); 
        }
        .info-item { 
            display: flex; 
            align-items: center; 
            gap: 12px; 
        }
        .info-item i { 
            font-size: 24px; 
            color: var(--primary-color); 
            flex-shrink: 0;
        }
        .info-item h6 { 
            font-size: 11px; 
            text-transform: uppercase; 
            color: var(--text-muted); 
            letter-spacing: 0.5px;
        }
        .info-item p { 
            font-size: 13px; 
            font-weight: 700; 
            color: var(--text-color);
        }

        h2 {
            font-size: clamp(18px, 3vw, 22px);
            color: var(--primary-color);
            margin-bottom: 10px;
            border-left: 4px solid var(--secondary-color);
            padding-left: 10px;
        }

        .overview-text {
            color: #555;
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .tabs-nav { 
            display: flex; 
            border-bottom: 2px solid var(--border-color); 
            margin-top: 30px; 
            overflow-x: auto; 
            gap: 5px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
        }
        .tab-btn { 
            padding: 12px 18px; 
            background: none; 
            border: none; 
            font-size: 14px; 
            font-weight: 600; 
            cursor: pointer; 
            border-bottom: 3px solid transparent; 
            white-space: nowrap; 
            color: var(--text-muted);
            transition: var(--transition);
            flex-shrink: 0;
        }
        .tab-btn:hover {
            color: var(--primary-color);
        }
        .tab-btn.active { 
            border-bottom-color: var(--primary-color); 
            color: var(--primary-color); 
        }
        .tab-content { 
            display: none; 
            padding: 20px 0 10px; 
            animation: fadeIn 0.4s ease;
        }
        .tab-content.active { 
            display: block; 
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(5px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .timeline-item { 
            border-left: 3px solid var(--secondary-color); 
            padding-left: 18px; 
            position: relative; 
            margin-bottom: 25px; 
        }
        .timeline-item::before { 
            content: ''; 
            position: absolute; 
            left: -8px; 
            top: 2px; 
            width: 13px; 
            height: 13px; 
            background: var(--secondary-color); 
            border-radius: 50%; 
        }
        .timeline-item h4 { 
            font-size: 16px; 
            margin-bottom: 6px; 
            color: var(--primary-color); 
        }
        .timeline-item p {
            color: #555;
            font-size: 14px;
        }

        .custom-list { 
            list-style: none; 
            margin-top: 10px; 
        }
        .custom-list li { 
            position: relative; 
            padding-left: 25px; 
            margin-bottom: 12px; 
            font-size: 14px;
            color: #444;
        }
        .custom-list.inclusions li::before { 
            content: "\f00c"; 
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute; 
            left: 0; 
            color: #2e7d32; 
        }
        .custom-list.exclusions li::before { 
            content: "\f00d"; 
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute; 
            left: 0; 
            color: #c62828; 
        }

        .hotel-card {
            background: var(--light-bg);
            padding: 12px 18px;
            border-radius: 6px;
            margin-bottom: 10px;
            border: 1px solid var(--border-color);
            font-size: 14px;
        }

        .booking-card { 
            background: #fff; 
            border: 1px solid var(--border-color); 
            padding: clamp(18px, 3vw, 25px); 
            border-radius: 12px; 
            box-shadow: var(--card-shadow); 
            position: sticky; 
            top: 20px; 
        }
        .booking-card h3 { 
            font-size: 20px; 
            margin-bottom: 20px; 
            border-bottom: 2px solid var(--secondary-color); 
            padding-bottom: 8px; 
            color: var(--primary-color);
        }
        .form-group { 
            margin-bottom: 15px; 
        }
        .form-group input, 
        .form-group textarea { 
            width: 100%; 
            padding: 12px; 
            border: 1px solid var(--border-color); 
            border-radius: 6px; 
            font-size: 14px; 
            outline: none;
            transition: var(--transition);
            background: #fafafa;
        }
        .form-group input:focus, 
        .form-group textarea:focus {
            border-color: var(--primary-color);
            background: #fff;
            box-shadow: 0 0 0 3px rgba(11, 60, 93, 0.1);
        }

        .btn-submit { 
            width: 100%; 
            background: #25d366; 
            color: #fff; 
            padding: 14px; 
            border: none; 
            border-radius: 6px; 
            font-size: 16px; 
            font-weight: bold; 
            cursor: pointer; 
            transition: var(--transition); 
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .btn-submit:hover { 
            background: #128c7e; 
        }

        .alert-danger { 
            background: #f8d7da; 
            color: #721c24; 
            padding: 12px; 
            border-radius: 6px; 
            margin-bottom: 15px; 
            font-size: 14px;
            border: 1px solid #f5c6cb;
        }

        @media (max-width: 992px) { 
            .layout-grid { grid-template-columns: 1fr; } 
            .booking-card { position: static; }
        }

        /* Enhanced responsive layout and polished UI */
        html { scroll-behavior: smooth; }
        body { -webkit-font-smoothing: antialiased; }
        .container { padding: clamp(14px, 2.5vw, 28px) 0 36px; }
        .layout-grid {
            grid-template-columns: minmax(0, 1.85fr) minmax(300px, .85fr);
            align-items: start;
            gap: clamp(16px, 2.2vw, 28px);
        }
        .main-content, .booking-card {
            border: 1px solid rgba(226, 232, 240, .9);
            border-radius: 18px;
        }
        .main-content {
            padding: clamp(16px, 2.5vw, 30px);
            min-width: 0;
        }
        .hero-img {
            display: block;
            height: clamp(230px, 34vw, 410px);
            border-radius: 14px;
            box-shadow: 0 8px 24px rgba(11, 60, 93, .12);
        }
        .main-content h1 { line-height: 1.3; letter-spacing: -.35px; }
        .badge-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
        .price-tag { line-height: 1.25; }
        .info-strip {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            padding: clamp(12px, 2vw, 18px);
            gap: 16px 18px;
            background: linear-gradient(135deg, #f8fafc, #f1f5f9);
        }
        .info-item { min-width: 0; }
        .info-item i {
            display: grid;
            place-items: center;
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: rgba(11, 60, 93, .08);
            font-size: 19px;
        }
        .info-item p { overflow-wrap: anywhere; }
        h2 { margin-top: 24px; line-height: 1.35; }
        .overview-text { font-size: 14.5px; }
        .tabs-nav {
            gap: 4px;
            padding-bottom: 1px;
            border-bottom: 1px solid var(--border-color);
        }
        .tab-btn {
            padding: 12px 15px;
            border-radius: 9px 9px 0 0;
        }
        .tab-btn.active { background: rgba(11, 60, 93, .055); }
        .tab-content { min-width: 0; }
        .timeline-item { padding-bottom: 2px; }
        .hotel-card { border-radius: 10px; line-height: 1.6; }
        .booking-card {
            padding: clamp(18px, 2.3vw, 26px);
            box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
        }
        .booking-card h3 { line-height: 1.35; }
        .form-group input, .form-group textarea {
            min-height: 46px;
            border-radius: 10px;
            padding: 12px 13px;
            color: var(--text-color);
        }
        .form-group textarea { min-height: 92px; resize: vertical; }
        .btn-submit {
            min-height: 48px;
            border-radius: 10px;
            box-shadow: 0 5px 14px rgba(37, 211, 102, .2);
        }
        .btn-submit:focus-visible, .tab-btn:focus-visible,
        .form-group input:focus-visible, .form-group textarea:focus-visible {
            outline: 3px solid rgba(11, 60, 93, .22);
            outline-offset: 2px;
        }
        @media (max-width: 992px) {
            .layout-grid { grid-template-columns: minmax(0, 1fr); }
            .booking-card { position: static; }
            .sidebar { min-width: 0; }
        }
        @media (max-width: 600px) {
            .container { width: min(100% - 20px, 540px); padding: 10px 0 24px; }
            .layout-grid { gap: 14px; margin-top: 4px; }
            .main-content { padding: 13px; border-radius: 14px; }
            .hero-img { height: clamp(190px, 58vw, 280px); border-radius: 11px; }
            .main-content h1 { margin-top: 15px !important; font-size: 21px !important; }
            .badge-rating { margin-top: 9px; font-size: 13px; }
            .badge-rating span { font-size: 12px; }
            .price-tag { font-size: 25px; margin: 9px 0 14px; }
            .price-tag span { font-size: 12px; }
            .info-strip {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 12px 10px;
                margin: 16px 0 22px;
                padding: 12px 10px;
                border-radius: 11px;
            }
            .info-item { gap: 8px; align-items: center; }
            .info-item i { width: 34px; height: 34px; border-radius: 9px; font-size: 15px; }
            .info-item h6 { font-size: 9px; letter-spacing: .35px; }
            .info-item p { font-size: 11px; line-height: 1.35; }
            h2 { font-size: 19px; margin: 20px 0 8px; }
            .overview-text { font-size: 13.5px; line-height: 1.65; margin-bottom: 14px; }
            .tabs-nav { margin-top: 20px; gap: 2px; }
            .tab-btn { padding: 10px 12px; font-size: 12px; }
            .tab-content { padding: 16px 0 6px; }
            .timeline-item { padding-left: 14px; margin-bottom: 20px; }
            .timeline-item h4 { font-size: 14px; line-height: 1.45; }
            .timeline-item p, .custom-list li, .hotel-card, #tab-policies p { font-size: 13px; }
            .custom-list li { padding-left: 22px; }
            .booking-card { padding: 16px; border-radius: 14px; }
            .booking-card h3 { font-size: 19px; margin-bottom: 15px; }
            .form-group { margin-bottom: 11px; }
            .form-group input, .form-group textarea { font-size: 16px; }
            .btn-submit { font-size: 14px; padding: 12px 10px; }
        }
        @media (max-width: 360px) {
            .container { width: calc(100% - 16px); }
            .main-content { padding: 11px; }
            .info-strip { grid-template-columns: 1fr; }
            .info-item p { font-size: 12px; }
            .tab-btn { padding: 9px 10px; font-size: 11px; }
        }


        /* =========================================================
           FINAL MOBILE / RESPONSIVE UI OVERRIDE
           UI ONLY — PHP, database, form and JS logic unchanged
           ========================================================= */
        img, video, iframe { max-width: 100%; }
        button, input, textarea, select { font: inherit; }
        .layout-grid > *, .main-content, .sidebar, .booking-card,
        .tab-content, .info-item, .timeline-item { min-width: 0; }

        @media (max-width: 767px) {
            html { overflow-x: hidden; }
            body {
                width: 100%;
                overflow-x: hidden;
                font-size: 14px;
            }

            .container {
                width: calc(100% - 16px);
                max-width: 560px;
                padding: 8px 0 22px;
            }

            .layout-grid {
                display: flex;
                flex-direction: column;
                gap: 12px;
                margin-top: 2px;
            }

            .main-content,
            .booking-card {
                width: 100%;
                border-radius: 14px;
                box-shadow: 0 7px 22px rgba(15, 23, 42, .07);
            }

            .main-content {
                padding: 11px;
            }

            .hero-img {
                width: 100%;
                height: clamp(170px, 54vw, 245px);
                object-fit: cover;
                border-radius: 10px;
            }

            .main-content h1 {
                margin-top: 13px !important;
                font-size: clamp(18px, 5vw, 22px) !important;
                line-height: 1.28;
                letter-spacing: -.2px;
            }

            .badge-rating {
                margin: 8px 0 0;
                gap: 1px;
                font-size: 12px;
            }

            .badge-rating i {
                font-size: 12px;
            }

            .badge-rating span {
                margin-left: 6px !important;
                font-size: 11px !important;
            }

            .price-tag {
                margin: 8px 0 12px;
                font-size: clamp(22px, 7vw, 27px);
                line-height: 1.15;
            }

            .price-tag span {
                font-size: 11px;
            }

            .info-strip {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 8px;
                margin: 13px 0 18px;
                padding: 9px;
                border-radius: 10px;
            }

            .info-item {
                gap: 7px;
                padding: 3px 1px;
            }

            .info-item i {
                width: 31px;
                height: 31px;
                min-width: 31px;
                border-radius: 8px;
                font-size: 14px;
            }

            .info-item h6 {
                font-size: 8px;
                letter-spacing: .2px;
                line-height: 1.15;
            }

            .info-item p {
                font-size: 10px;
                line-height: 1.25;
                overflow-wrap: anywhere;
            }

            h2 {
                font-size: 18px;
                margin: 18px 0 7px;
                padding-left: 8px;
                border-left-width: 3px;
            }

            .overview-text {
                font-size: 13px;
                line-height: 1.62;
                margin-bottom: 10px;
            }

            .tabs-nav {
                margin-top: 16px;
                padding: 0 1px 2px;
                gap: 2px;
                overflow-x: auto;
                overflow-y: hidden;
                scrollbar-width: none;
                -webkit-overflow-scrolling: touch;
            }

            .tabs-nav::-webkit-scrollbar {
                display: none;
            }

            .tab-btn {
                flex: 0 0 auto;
                min-height: 42px;
                padding: 9px 11px;
                font-size: 11px;
                border-radius: 8px 8px 0 0;
                -webkit-tap-highlight-color: transparent;
            }

            .tab-content {
                padding: 13px 1px 3px;
            }

            .timeline-item {
                padding-left: 13px;
                margin-bottom: 17px;
                border-left-width: 2px;
            }

            .timeline-item::before {
                left: -6px;
                width: 10px;
                height: 10px;
            }

            .timeline-item h4 {
                font-size: 13px;
                line-height: 1.4;
                margin-bottom: 4px;
            }

            .timeline-item p,
            .custom-list li,
            .hotel-card,
            #tab-policies p {
                font-size: 12.5px;
                line-height: 1.55;
            }

            .custom-list li {
                padding-left: 21px;
                margin-bottom: 9px;
            }

            .hotel-card {
                padding: 10px 12px;
                margin-bottom: 8px;
                border-radius: 9px;
            }

            .booking-card {
                position: static !important;
                padding: 14px;
            }

            .booking-card h3 {
                font-size: 18px;
                margin-bottom: 13px;
                padding-bottom: 7px;
            }

            .form-group {
                margin-bottom: 9px;
            }

            .form-group input,
            .form-group textarea {
                width: 100%;
                min-height: 45px;
                padding: 11px 12px;
                border-radius: 9px;
                font-size: 16px; /* avoids iOS zoom */
            }

            .form-group textarea {
                min-height: 88px;
            }

            .btn-submit {
                min-height: 48px;
                padding: 11px 10px;
                border-radius: 9px;
                font-size: 13px;
                line-height: 1.25;
            }

            .btn-submit i {
                font-size: 18px !important;
                flex: 0 0 auto;
            }

            .alert-danger {
                padding: 10px;
                margin-bottom: 10px;
                font-size: 12px;
            }
        }

        @media (max-width: 380px) {
            .container {
                width: calc(100% - 12px);
                padding-top: 6px;
            }

            .main-content {
                padding: 9px;
                border-radius: 12px;
            }

            .hero-img {
                height: 175px;
                border-radius: 9px;
            }

            .main-content h1 {
                font-size: 18px !important;
            }

            .price-tag {
                font-size: 21px;
            }

            .info-strip {
                gap: 6px;
                padding: 8px;
            }

            .info-item {
                gap: 5px;
            }

            .info-item i {
                width: 28px;
                min-width: 28px;
                height: 28px;
                font-size: 12px;
            }

            .info-item h6 {
                font-size: 7.5px;
            }

            .info-item p {
                font-size: 9.5px;
            }

            .tab-btn {
                min-height: 40px;
                padding: 8px 9px;
                font-size: 10px;
            }

            .booking-card {
                padding: 12px;
            }

            .btn-submit {
                font-size: 12px;
            }
        }

        @media (min-width: 768px) and (max-width: 992px) {
            .container {
                width: calc(100% - 28px);
            }

            .layout-grid {
                grid-template-columns: 1fr;
            }

            .booking-card {
                position: static;
            }

            .hero-img {
                height: clamp(260px, 42vw, 340px);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            *, *::before, *::after {
                animation-duration: .01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: .01ms !important;
                scroll-behavior: auto !important;
            }
        }

    </style>
</head>
<body>

    <div class="container">
        <div class="layout-grid">
            <div class="main-content">
                <img src="assents/images/do-dham-3n-4d.jpg" alt="Do Dham Yatra" class="hero-img">
                
                <h1 style="margin-top:20px; font-size: clamp(20px, 4vw, 26px); color: var(--primary-color);"><?php echo $page_title; ?></h1>
                
                <div class="badge-rating">
                    <i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i>
                    <span style="color:#555; margin-left: 8px; font-weight:600;">5.0 (Pilgrim Reviews)</span>
                </div>

                <div class="price-tag">
                    <?php echo $package_price; ?> <span>/ <?php echo $package_price_unit; ?></span>
                </div>

                <div class="info-strip">
                    <div class="info-item">
                        <i class="fas fa-clock"></i>
                        <div>
                            <h6>Duration</h6>
                            <p><?php echo $package_duration; ?></p>
                        </div>
                    </div>
                    <div class="info-item">
                        <i class="fas fa-place-of-worship"></i>
                        <div>
                            <h6>Tour Type</h6>
                            <p>Pilgrimage</p>
                        </div>
                    </div>
                    <div class="info-item">
                        <i class="fas fa-language"></i>
                        <div>
                            <h6>Language</h6>
                            <p>Hindi / English</p>
                        </div>
                    </div>
                    <div class="info-item">
                        <i class="fas fa-users"></i>
                        <div>
                            <h6>Group Size</h6>
                            <p>6 - 12 Pax</p>
                        </div>
                    </div>
                </div>

                <h2>Overview</h2>
                <div class="overview-text">
                    <p>The religious sanctity of the divine trinity is unparalleled. Known as the holy abodes of Lord Shiva and Lord Vishnu, Kedarnath and Badrinath hold supreme importance in Hinduism. Our Do Dham Yatra by Helicopter from Dehradun offers a quick, luxurious, and comfortable pilgrimage for devotees on tight schedules.</p>
                </div>

                <div class="tabs-nav">
                    <button class="tab-btn active" onclick="switchTab(event, 'tab-itinerary')">Itinerary</button>
                    <button class="tab-btn" onclick="switchTab(event, 'tab-inclusions')">Inclusions</button>
                    <button class="tab-btn" onclick="switchTab(event, 'tab-exclusions')">Exclusions</button>
                    <button class="tab-btn" onclick="switchTab(event, 'tab-hotels')">Hotels</button>
                    <button class="tab-btn" onclick="switchTab(event, 'tab-policies')">Policies</button>
                </div>

                <div id="tab-itinerary" class="tab-content active">
                    <div class="timeline-item">
                        <h4>Day 01: Dehradun to Kedarnath & Stay at Guptkashi</h4>
                        <p>Fly from Sahastradhara Helipad (Dehradun) to Sersi Helipad. Take shuttle service to Kedarnath for VIP Darshan.</p>
                    </div>
                    <div class="timeline-item">
                        <h4>Day 02: Guptkashi / Sersi to Badrinath & Local Sightseeing</h4>
                        <p>Board helicopter for Badrinath. Enjoy lunch, visit Mana Village & Swarna Aarti in evening.</p>
                    </div>
                    <div class="timeline-item">
                        <h4>Day 03: Departure & Aerial Views of Panch Prayag</h4>
                        <p>Return flight to Sahastradhara, Dehradun with scenic aerial views.</p>
                    </div>
                </div>

                <div id="tab-inclusions" class="tab-content">
                    <ul class="custom-list inclusions">
                        <li>Exclusive charter helicopter flying services from Dehradun.</li>
                        <li>Kedarnath shuttle service tickets included.</li>
                        <li>Priority VIP Darshan passes at Kedarnath & Badrinath.</li>
                    </ul>
                </div>

                <div id="tab-exclusions" class="tab-content">
                    <ul class="custom-list exclusions">
                        <li>Personal expenses like laundry, phone calls, and tips.</li>
                        <li>Any special Palki, Pony, or Extra Porter charges.</li>
                    </ul>
                </div>

                <div id="tab-hotels" class="tab-content">
                    <div class="hotel-card"><b>Dehradun:</b> Fairfield by Marriott / Hotel Lemon Tree or Similar</div>
                    <div class="hotel-card"><b>Badrinath:</b> Hotel Snow Crest / Sarovar Portico or Similar</div>
                </div>

                <div id="tab-policies" class="tab-content">
                    <p>• Maximum weight limit per passenger is 75 kg.</p>
                </div>
            </div>

            <!-- Booking Sidebar Form -->
            <div class="sidebar">
                <div class="booking-card">
                    <h3>Book Your Journey</h3>

                    <?php if(!empty($error_msg)): ?>
                        <div class="alert-danger"><?php echo $error_msg; ?></div>
                    <?php endif; ?>

                    <form action="" method="POST">
                        <div class="form-group">
                            <input type="text" name="name" placeholder="Full Name *" required>
                        </div>
                        <div class="form-group">
                            <input type="email" name="email" placeholder="Email Address *" required>
                        </div>
                        <div class="form-group">
                            <input type="tel" name="phone" placeholder="Phone Number *" required>
                        </div>
                        <div class="form-group">
                            <input type="number" name="passengers" placeholder="No. of Passengers *" min="1" required>
                        </div>
                        <div class="form-group">
                            <input type="date" name="travel_date" required>
                        </div>
                        <div class="form-group">
                            <textarea name="message" rows="3" placeholder="Special requirements or questions..."></textarea>
                        </div>

                        <button type="submit" name="submit_enquiry" class="btn-submit">
                            <i class="fab fa-whatsapp" style="font-size:20px;"></i> Send Inquiry via WhatsApp
                        </button>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <script>
        function switchTab(evt, tabId) {
            let contents = document.getElementsByClassName("tab-content");
            for (let i = 0; i < contents.length; i++) {
                contents[i].classList.remove("active");
            }
            let buttons = document.getElementsByClassName("tab-btn");
            for (let i = 0; i < buttons.length; i++) {
                buttons[i].classList.remove("active");
            }
            document.getElementById(tabId).classList.add("active");
            evt.currentTarget.classList.add("active");
        }
    </script>
</body>
</html>
<?php
require_once __DIR__ . '/footer.php';
?>