.section2 {
            width: 100%;
            padding: 50px;
            position: relative;
            background: url('img10.jpg') no-repeat center center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            
        

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
        }

        .content-container {
            position: relative;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: 100%;
            max-width: 1200px;
            padding: 20px;
            box-sizing: border-box;
        }
        
        .text-box {
            background-color: var(--secondary-color); /* A color close to the image */
            color: #fff;
            padding: 40px;
            position: relative;
            width: 50%;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            box-sizing: border-box;
        }

        .text-box::before {
            content: '';
            position: absolute;
            bottom: -20px;
            left: 20px;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 20px 20px 0 0;
            border-color: var(--secondary-color) transparent transparent transparent;
        }

        .text-box h1 {
            font-size: 40px;
            font-weight: 700;
            line-height: 1.2;
            margin: 0 0 20px 0;
        }
        
        .text-box p {
            font-size: 16px;
            line-height: 1.6;
            margin: 0;
            
            color: #fff;
        }

        .car-image {
            display: none; /* The car is part of the background image, this is for mobile */
        }
        
        /* Responsive design */
        @media (max-width: 992px) {
            .hero-section {
                background-position: 70% center;
            }

            .content-container {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .text-box {
                width: 80%;
                padding: 30px;
                margin-top: 50px;
            }
        }
        
        @media (max-width: 768px) {
            .hero-section {
                height: 80vh;
                background-position: 75% center;
            }

            .text-box {
                width: 90%;
            }
            
            .text-box h1 {
                font-size: 32px;
            }
            
            .text-box p {
                font-size: 14px;
            }
        }
        
        @media (max-width: 576px) {
            .hero-section {
                height: 70vh;
                background-position: 80% center;
            }
            
            .text-box {
                width: 100%;
                padding: 20px;
                background-color: var(--secondary-color); /* Add opacity for better readability on small screens */
            }
            
            .text-box::before {
                bottom: -15px;
                border-width: 15px 15px 0 0;
            }
            
            .text-box h1 {
                font-size: 24px;
            }
            
            .text-box p {
                font-size: 12px;
            }
        }

        }