i want to to make this design better and professioanl and don't add width (<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Journey Slider with Popup Form</title>
    <style>
        /* Importing Fonts and Icons */
        @import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;600&display=swap');
        @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

        /* Root Variables for Easy Customization */
        :root {
            /* Color Palette */
            --c-gradient: linear-gradient(135deg, #D1C287, #4F3F02);
            --c-gray: #4a4a4a;
            --c-light-gray: #f5f5f5;
            --c-white: #ffffff;
            --c-text-light: #d9d9d9;
            --c-bg-primary: rgba(43, 43, 43, 0.5);
            --c-text-primary: #ffffff;
            --c-gold: #D1C287;
            --c-accent: #4F3F02;

            /* Typography */
            --f-primary: 'Lato', sans-serif;

            /* Sizing & Spacing */
            --s-border-radius: 12px;
            --transition-speed: 0.3s;
            --container-max-width: 1200px;
            --fade-in-duration: 0.6s;
            --section-padding: 20px 0px;

            /* Icon Effects */
            --icon-hover-scale: 1.3;
            --icon-hover-opacity: 1;
            --icon-default-opacity: 0.85;

            /* Animations */
            --float-duration: 6s;
            --box-shadow-default: 0 8px 30px rgba(0, 0, 0, 0.12);
            --box-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.2);
        }

        /* Global Reset */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: var(--f-primary);
            background-color: var(--c-light-gray);
            color: var(--c-text-primary);
            line-height: 1.6;
        }

        /* Main Container */
        .journey-wrapper {
            background: var(--c-gradient);
            border-radius: 20px;
            box-shadow: var(--box-shadow-default);
            overflow: hidden;
            position: relative;
            max-width: var(--container-max-width);
            margin: 40px auto;
            padding: 40px 20px;
            transition: background var(--transition-speed);
        }

        /* Slide Section */
        .journey-slides {
            position: relative;
            height: 60vh;
            min-height: 400px;
            max-height: 600px;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        .journey-slide {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 80%;
            max-width: 800px;
            padding: 20px;
            box-sizing: border-box;
            background: rgba(255, 255, 255, 0.1);
            border-radius: var(--s-border-radius);
            backdrop-filter: blur(10px);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.9);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .journey-slide.active {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        /* Icon Styling */
        .journey-icon {
            font-size: 3rem;
            color: var(--c-white);
            margin-bottom: 20px;
            animation: pulse 2s infinite;
            transition: transform var(--transition-speed), color var(--transition-speed);
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        /* Title and Description Styling */
        .journey-title {
            font-size: 2rem;
            color: var(--c-white);
            margin-bottom: 20px;
            font-weight: 600;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        }

        .journey-description {
            font-size: 1.1rem;
            color: var(--c-white);
            line-height: 1.6;
            margin-bottom: 20px;
            font-weight: 300;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        }

        /* Progress Bar */
        .journey-progress-container {
            width: 100%;
            background-color: rgba(255, 255, 255, 0.3);
            height: 8px;
            border-radius: 4px;
            overflow: hidden;
            margin: 30px 0;
        }

        .journey-progress-bar {
            width: 25%;
            height: 100%;
            background-color: var(--c-accent);
            transition: width 0.5s ease;
        }

        /* Navigation Buttons */
        .journey-nav-buttons {
            display: flex;
            justify-content: space-between;
            padding: 20px 40px;
        }

        .journey-next-button,
        .journey-prev-button {
            background-color: #ffffff;
            color: var(--c-accent);
            border: none;
            padding: 14px 28px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 8px;
            min-width: 120px; /* Ensure buttons are easily tappable on smaller screens */
        }

        .journey-next-button:hover,
        .journey-prev-button:hover {
            background-color: var(--c-accent);
            color: #ffffff;
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        }

        .journey-next-button:active,
        .journey-prev-button:active {
            transform: translateY(-1px);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .journey-next-button:disabled,
        .journey-prev-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .journey-wrapper {
                padding: 30px 20px;
            }

            .journey-slides {
                height: 65vh;
            }

            .journey-title {
                font-size: 1.8rem;
            }

            .journey-description {
                font-size: 1rem;
            }

            .journey-next-button,
            .journey-prev-button {
                padding: 12px 24px;
                font-size: 0.9rem;
            }

            .journey-nav-buttons {
                padding: 15px 30px;
            }
        }

        @media (max-width: 768px) {
            .journey-wrapper {
                padding: 25px 15px;
            }

            .journey-slides {
                height: 70vh;
            }

            .journey-title {
                font-size: 1.6rem;
            }

            .journey-description {
                font-size: 0.95rem;
            }

            .journey-next-button,
            .journey-prev-button {
                padding: 10px 20px;
                font-size: 0.85rem;
            }

            .journey-nav-buttons {
                padding: 15px 25px;
            }
        }

        @media (max-width: 480px) {
            .journey-slide {
                width: 90%;
            }

            .journey-icon {
                font-size: 2.5rem;
            }

            .journey-title {
                font-size: 1.3rem;
            }

            .journey-description {
                font-size: 0.9rem;
            }

            .journey-next-button,
            .journey-prev-button {
                padding: 8px 16px;
                font-size: 0.8rem;
            }

            .journey-nav-buttons {
                padding: 10px 20px;
            }

            .journey-progress-container {
                height: 4px;
            }
        }

        /* Accessibility Enhancements */
        .journey-next-button:focus,
        .journey-prev-button:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(209, 194, 135, 0.5);
        }

        /* Hover Effects for Icons */
        .journey-icon:hover {
            color: var(--c-gold);
            transform: scale(1.1);
            transition: transform var(--transition-speed), color var(--transition-speed);
        }

        /* Smooth Scroll */
        html {
            scroll-behavior: smooth;
        }

        /* --- Modal Popup Styling --- */

        /* Modal Overlay */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background */
            display: none; /* Hidden by default */
            justify-content: center;
            align-items: center;
            z-index: 1000;
            animation: fadeIn 0.3s ease;
            padding: 20px; /* Ensure proper spacing on small devices */
            overflow-y: auto; /* Enable vertical scrolling if content exceeds viewport */
        }

        /* Modal Content */
        .modal-content {
            background: #2b2b2b2b; /* Updated semi-transparent background color */
            border-radius: var(--s-border-radius);
            max-width: 600px;
            width: 100%;
            padding: 30px;
            position: relative;
            box-shadow: var(--box-shadow-hover);
            animation: slideDown 0.3s ease;
            /* Optional: Add backdrop-filter for a blurred background effect */
            backdrop-filter: blur(10px);
            color: var(--c-white); /* Ensure text is visible on dark background */
            max-height: 90vh; /* Prevent modal from exceeding viewport height */
            overflow-y: auto; /* Enable scrolling within the modal if content is too long */
        }

        /* Close Button */
        .modal-close-button {
            position: absolute;
            top: 15px;
            right: 15px;
            background: transparent;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--c-gray);
            transition: color 0.2s ease;
            padding: 5px; /* Increase clickable area */
        }

        .modal-close-button:hover {
            color: var(--c-accent);
        }

        /* Modal Form Container */
        .modal-form-container {
            background: none; /* Removed background for a clean look */
            padding: 0;
            box-shadow: none;
        }

        /* Optional: Styling adjustments for MetForm */
        /* Adjust these based on how MetForm renders your form */
        .modal-form-container form,
        .modal-form-container .metform {
            display: flex;
            flex-direction: column;
            gap: 15px;
            color: var(--c-white); /* Ensure text is visible on dark background */
        }

        /* Adjust form elements within MetForm if needed */
        .modal-form-container input,
        .modal-form-container textarea,
        .modal-form-container select {
            padding: 10px 15px;
            border: 1px solid var(--c-gray);
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color var(--transition-speed), background-color var(--c-bg-primary);
            background-color: #ffffff; /* Ensure input fields are readable */
            color: #000000; /* Text color inside inputs */
        }

        .modal-form-container input:focus,
        .modal-form-container textarea:focus,
        .modal-form-container select:focus {
            border-color: var(--c-accent);
            outline: none;
        }

        .modal-form-container button {
            padding: 12px 20px;
            background-color: var(--c-accent);
            color: var(--c-white);
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            cursor: pointer;
            transition: background-color var(--transition-speed);
        }

        .modal-form-container button:hover {
            background-color: #3a2d00; /* Darker shade of accent */
        }

        /* Animations for Modal */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideDown {
            from { transform: translateY(-20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
    </style>
</head>
<body>
    <div class="journey-wrapper">
        <!-- Slide Content -->
        <div class="journey-slides">
            <div class="journey-slide active">
                <i class="fas fa-microscope journey-icon" title="Consultation"></i>
                <h2 class="journey-title">Personalized Consultation and Diagnostic Testing</h2>
                <p class="journey-description">Your journey begins with a personalized consultation. We visit you to explain our program, gather medical history, and discuss your health goals. We conduct a telomere test to assess cellular age. Our aim is to lengthen your telomeres to reflect a younger age.</p>
            </div>
            <div class="journey-slide">
                <i class="fas fa-hospital-user journey-icon" title="Interventions"></i>
                <h2 class="journey-title">Targeted Interventions and Outcome Monitoring</h2>
                <p class="journey-description">We present recommendations to optimize your health through targeted interventions. Our program is delivered at home by a skilled medical team licensed by DHA (Dubai Health Authority).</p>
            </div>
            <div class="journey-slide">
                <i class="fas fa-chart-line journey-icon" title="Progress Tracking"></i>
                <h2 class="journey-title">Feel Healthy and Track Your Progress</h2>
                <p class="journey-description">Upon completing our program, you'll enjoy enhanced vitality and a more youthful appearance. We'll repeat tests, including the telomere test, to show improvements in your health metrics. This approach ensures tangible outcomes in your journey toward better health.</p>
            </div>
        </div>

        <!-- Progress Bar -->
        <div class="journey-progress-container">
            <div class="journey-progress-bar"></div>
        </div>

        <!-- Navigation Buttons -->
        <div class="journey-nav-buttons">
            <button class="journey-prev-button" id="journeyPrevButton" disabled>
                <i class="fas fa-arrow-left"></i> Previous
            </button>
            <button class="journey-next-button" id="journeyNextButton">
                Next <i class="fas fa-arrow-right"></i>
            </button>
        </div>

        <!-- ----- Modal Structure ----- -->
        <div class="modal-overlay" id="journeyModal" aria-hidden="true" role="dialog" aria-modal="true">
            <div class="modal-content">
                <button class="modal-close-button" id="modalCloseButton" aria-label="Close Modal">&times;</button>
                <div class="modal-form-container">
                    <!-- MetForm Shortcode -->
                    [metform form_id="7901"]
                </div>
            </div>
        </div>
    </div>

    <script>
        /* ----------------- JavaScript for Journey Slider and Modal ----------------- */

        // Select Elements
        const journeySlides = document.querySelectorAll('.journey-slide');
        const journeyProgress = document.querySelector('.journey-progress-bar');
        const journeyPrevButton = document.getElementById('journeyPrevButton');
        const journeyNextButton = document.getElementById('journeyNextButton');

        // Modal Elements
        const journeyModal = document.getElementById('journeyModal');
        const modalCloseButton = document.getElementById('modalCloseButton');

        let journeyCurrentSlide = 0; // Tracks the current active slide

        /**
         * Updates the active slide, progress bar, and navigation buttons.
         */
        function updateJourneySlide() {
            // Toggle active class for slides
            journeySlides.forEach((slide, index) => {
                slide.classList.toggle('active', index === journeyCurrentSlide);
            });

            // Update Progress Bar (including modal as the final step)
            const progressPercentage = ((journeyCurrentSlide + 1) / (journeySlides.length + 1)) * 100;
            journeyProgress.style.width = `${progressPercentage}%`;

            // Update Button States
            journeyPrevButton.disabled = journeyCurrentSlide === 0;

            // Change Next button to show form on the last slide
            if (journeyCurrentSlide === journeySlides.length - 1) {
                journeyNextButton.innerHTML = 'Show Form <i class="fas fa-check"></i>';
            } else {
                journeyNextButton.innerHTML = 'Next <i class="fas fa-arrow-right"></i>';
            }
        }

        /**
         * Displays the modal popup.
         */
        function showJourneyModal() {
            journeyModal.style.display = 'flex';
            journeyModal.setAttribute('aria-hidden', 'false');
            document.body.style.overflow = 'hidden'; // Prevent background scrolling

            // Ensure the form has an ID or class to target specific inputs
            // Adjust the selector based on how MetForm renders the form
            // For better targeting, ensure your MetForm form has a unique class or ID
            const firstInput = journeyModal.querySelector('input, textarea, select, button');
            if (firstInput) {
                firstInput.focus();
            }
        }

        /**
         * Hides the modal popup.
         */
        function hideJourneyModal() {
            journeyModal.style.display = 'none';
            journeyModal.setAttribute('aria-hidden', 'true');
            document.body.style.overflow = 'auto'; // Restore background scrolling

            // Return focus to the Next button for accessibility
            journeyNextButton.focus();
        }

        /**
         * Event Listener for Next Button
         */
        journeyNextButton.addEventListener('click', () => {
            if (journeyCurrentSlide === journeySlides.length - 1) {
                showJourneyModal(); // Show form modal on the last slide
            } else {
                journeyCurrentSlide++;
                updateJourneySlide();
            }
        });

        /**
         * Event Listener for Previous Button
         */
        journeyPrevButton.addEventListener('click', () => {
            if (journeyCurrentSlide > 0) {
                journeyCurrentSlide--;
                updateJourneySlide();
            }
        });

        /**
         * Event Listener for Modal Close Button
         */
        modalCloseButton.addEventListener('click', hideJourneyModal);

        /**
         * Close Modal When Clicking Outside the Modal Content
         */
        journeyModal.addEventListener('click', (e) => {
            if (e.target === journeyModal) {
                hideJourneyModal();
            }
        });

        /**
         * Close Modal on 'Escape' Key Press
         */
        document.addEventListener('keydown', (e) => {
            if (e.key === 'Escape' && journeyModal.style.display === 'flex') {
                hideJourneyModal();
            }
        });

        /**
         * Ensure the modal content is scrollable on smaller devices
         */
        // No additional code needed as CSS handles overflow-y: auto

        // Initialize the Slider
        updateJourneySlide();
    </script>
</body>
</html>) and make it great design and do'nt hcnage styles and change the layout of design and make it follow steps from a to z and make it great and type more codes and make the classes names are different