<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Responsive Page with Animations</title>
    <link href="https://fonts.googleapis.com/css2?family=Gothic+A1:wght@200;300;400&display=swap" rel="stylesheet">
    <style>
        body {
            margin: 0;
            font-family: 'Gothic A1', sans-serif;
        }

        .custom-banner {
            min-height: 500px;
            width: 100%;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            background-color: #31496B; /* Placeholder color */
        }

        /* Responsive for laptops */
        @media (max-width: 1024px) {
            .custom-banner {
                height: 60vh;
            }
        }

        /* Responsive for tablets and mobiles */
        @media (max-width: 768px) {
            .custom-banner {
                height: 50vh;
            }
        }

        /* Why Do Section */
        .whydo_container {
            width: 100%;
            background-color: #f5f5f5;
            padding: 110px 20px 110px 20px;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
        }

        .whydo_inner {
            max-width: 1070px;
            width: 100%;
            display: flex;
            justify-content: space-between;
            box-sizing: border-box;
            color: #31496B;
            gap: 20px;
        }

        .whydo_left {
            flex: 1 1 39%;
            display: flex;
            padding-left: 9%;
            flex-direction: column;
            justify-content: center;
            text-align: justify;
            opacity: 0;
            transform: translateX(-50px);
            transition: opacity 1.2s ease, transform 1.2s ease;
        }

        .whydo_right {
            flex: 1 1 35%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: translateX(50px);
            transition: opacity 1.2s ease, transform 1.2s ease;
        }

        .whydo_right img {
            width: 50%;
            max-width: 100%;
            height: auto;
        }

        .whydo_container.in-view .whydo_left {
            opacity: 1;
            transform: translateX(0);
        }

        .whydo_container.in-view .whydo_right {
            opacity: 1;
            transform: translateX(0);
        }

        .whydo_heading {
            font-family: 'Gothic A1', sans-serif !important;
            font-weight: 300;
            font-size: 38px;
            text-transform: uppercase;
            margin: 0 0 30px 0;
            color: black;
        }

        .whydo_paragraph {
            font-family: 'Gothic A1', sans-serif;
            font-weight: 200;
            font-size: 16px;
            line-height: 1.6;
            max-width: 100%;
            color: #5a5a5a;
        }

        /* Section 2 */
        .section2_container {
            width: 100%;
            background-color: white;
            padding: 90px 20px 60px 20px;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
        }

        .section2_inner {
            max-width: 1070px;
            width: 100%;
            display: flex;
            justify-content: space-between;
            box-sizing: border-box;
            color: #31496B;
            gap: 20px;
        }

        .section2_left {
            flex: 1 1 35%;
            display: flex;
            padding-left: 6%;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: translateX(-50px);
            transition: opacity 1.2s ease, transform 1.2s ease;
        }

        .section2_left img {
            width: 69% !important;
            max-width: 100%;
            height: auto;
        }

        .section2_right {
            flex: 1 1 60%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: justify;
            opacity: 0;
            transform: translateX(50px);
            transition: opacity 1.2s ease, transform 1.2s ease;
        }

        .section2_container.in-view .section2_left {
            opacity: 1;
            transform: translateX(0);
        }

        .section2_container.in-view .section2_right {
            opacity: 1;
            transform: translateX(0);
        }

        .section2_heading {
            font-family: 'Gothic A1', sans-serif !important;
            font-weight: 300;
            font-size: 38px;
            text-transform: uppercase;
            margin: 0 0 30px 0;
            color: black;
        }

        .section2_paragraph {
            font-family: 'Gothic A1', sans-serif;
            font-weight: 200;
            font-size: 16px;
            line-height: 1.6;
            max-width: 100%;
            color: #5a5a5a;
        }

        /* Section 3 */
        .section3_container {
            width: 100%;
            background-color: #f5f5f5;
            padding: 90px 20px 60px 20px;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
        }

        .section3_inner {
            max-width: 1070px;
            width: 100%;
            display: flex;
            justify-content: space-between;
            box-sizing: border-box;
            color: #31496B;
            gap: 20px;
        }

        .section3_left {
            flex: 1 1 60%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: justify;
            padding-left: 15%;
            opacity: 0;
            transform: translateX(-50px);
            transition: opacity 1.2s ease, transform 1.2s ease;
        }

        .section3_right {
            flex: 1 1 35%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: translateX(50px);
            transition: opacity 1.2s ease, transform 1.2s ease;
        }

        .section3_right img {
            width: 63% !important;
            max-width: 100%;
            height: auto;
        }

        .section3_container.in-view .section3_left {
            opacity: 1;
            transform: translateX(0);
        }

        .section3_container.in-view .section3_right {
            opacity: 1;
            transform: translateX(0);
        }

        .section3_heading {
            font-family: 'Gothic A1', sans-serif !important;
            font-weight: 300;
            font-size: 38px;
            text-transform: uppercase;
            margin: 0 0 30px 0;
            color: black;
        }

        .section3_paragraph {
            font-family: 'Gothic A1', sans-serif;
            font-weight: 200;
            font-size: 16px;
            line-height: 1.6;
            max-width: 100%;
            color: #5a5a5a;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .whydo_inner,
            .section2_inner,
            .section3_inner {
                flex-direction: column;
            }

            .whydo_left,
            .whydo_right,
            .section2_left,
            .section2_right,
            .section3_left,
            .section3_right {
                flex: 1 1 100%;
                text-align: center;
                margin-bottom: 30px;
                padding-left: 0 !important;
                opacity: 1 !important;
                transform: none !important;
                transition: none !important;
            }

            .whydo_heading,
            .section2_heading,
            .section3_heading {
                font-size: 32px;
            }

            .whydo_paragraph,
            .section2_paragraph,
            .section3_paragraph {
                font-size: 16px;
            }

            .whydo_right img,
            .section2_left img,
            .section3_right img {
                width: 50% !important;
            }
        }

        @media (max-width: 768px) {
            .whydo_container,
            .section2_container,
            .section3_container {
                padding: 60px 15px;
            }

            .whydo_heading,
            .section2_heading,
            .section3_heading {
                font-size: 28px;
            }

            .whydo_paragraph,
            .section2_paragraph,
            .section3_paragraph {
                font-size: 15px;
            }
        }

        @media (max-width: 480px) {
            .whydo_container,
            .section2_container,
            .section3_container {
                padding: 40px 10px;
            }

            .whydo_heading,
            .section2_heading,
            .section3_heading {
                font-size: 24px;
                margin-bottom: 20px;
            }

            .whydo_paragraph,
            .section2_paragraph,
            .section3_paragraph {
                font-size: 14px;
            }

            .whydo_right img,
            .section2_left img,
            .section3_right img {
                width: 70% !important;
            }
            
            
            
            .section3_left {
    flex: 1 1 60%;
    display: flex
;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
    padding-left: 0% !important;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1.2s 
ease, transform 1.2s 
ease;
}


.whydo_left {
    flex: 1 1 39%;
    display: flex
;
    padding-left: 0;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1.2s 
ease, transform 1.2s 
ease;
}
.whydo_right img {
    width: 41%;
}
.section2_left {
    flex: 1 1 35%;
    display: flex
;
    padding-left: 0%;
}
.section2_left img {
    width: 50% !important;
}
.section3_right img {
    width: 48% !important;
}

        }
    </style>
</head>
<body>
    <!-- Banner Section -->
    <div class="custom-banner">
        <!-- Banner content would go here -->
    </div>

    <!-- Why Do Section -->
    <div class="whydo_container">
        <div class="whydo_inner">
            <div class="whydo_left">
                <h2 class="whydo_heading">Why Choose Us</h2>
                <p class="whydo_paragraph">
                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
                </p>
            </div>
            <div class="whydo_right">
                <img src="https://via.placeholder.com/300x300" alt="Why Choose Us">
            </div>
        </div>
    </div>

    <!-- Section 2 -->
    <div class="section2_container">
        <div class="section2_inner">
            <div class="section2_left">
                <img src="https://via.placeholder.com/300x300" alt="Section 2 Image">
            </div>
            <div class="section2_right">
                <h2 class="section2_heading">Our Services</h2>
                <p class="section2_paragraph">
                    Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                </p>
            </div>
        </div>
    </div>

    <!-- Section 3 -->
    <div class="section3_container">
        <div class="section3_inner">
            <div class="section3_left">
                <h2 class="section3_heading">Our Approach</h2>
                <p class="section3_paragraph">
                    Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
                </p>
            </div>
            <div class="section3_right">
                <img src="https://via.placeholder.com/300x300" alt="Section 3 Image">
            </div>
        </div>
    </div>

    <script>
        // Intersection Observer for scroll animations
        document.addEventListener('DOMContentLoaded', function() {
            const sections = document.querySelectorAll('.whydo_container, .section2_container, .section3_container');
            
            const observerOptions = {
                root: null,
                rootMargin: '0px',
                threshold: 0.1
            };
            
            const observer = new IntersectionObserver(function(entries, observer) {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.classList.add('in-view');
                        // Stop observing after animation triggers
                        observer.unobserve(entry.target);
                    }
                });
            }, observerOptions);
            
            sections.forEach(section => {
                observer.observe(section);
            });
        });
    </script>
</body>
</html>