body {
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f2f2f2; /* Light gray for better contrast */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
}

.services {
    position: relative; /* Ensure it follows normal flow */
    margin: 40px auto; /* Add margin to separate from other sections */
    width: 90%; /* Responsive width */
    display: flex;
    justify-content: space-between; /* Space between columns */
    background-color: #f2f2f2; /* Ensure it has a background color */
    padding: 20px 0; /* Add padding for spacing */z-index: 1; /* Ensure it appears above other content */
}

.service {
    text-align: center;
    width: 30%;
    background-color: #ebdfddcc;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-sizing: border-box; /* Include padding in width */
}

.service img {
    max-width: 100px; /* Slightly smaller for better fit */
    margin-bottom: 15px;
}

.service h2 {
    font-size: 40px; /* Enhanced readability */
    margin-bottom: 10px;
}

.service p {
    font-size: 35px;
}

.intro {
    text-align: center;
    padding: 20px 20px;
    background-color: #f2f2f2;
    margin-top: 40px; /* Ensure space below services */
}

.intro h1 {
    font-size: 42px; /* Increased for emphasis */
    line-height: 1.5; /* Improve readability */
}

.highlights {
    padding: 40px;
    background-color: #f2f2f2;
}

.highlight {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.highlight-left {
    justify-content: flex-start;
}

.highlight-right {
    justify-content: flex-end;
}

.highlight-item {
    display: flex;
    align-items: center;
}

.highlight-left .highlight-text,
.highlight-right .highlight-text {
    margin: 20px;
    background-color: #ebdfdd;
    padding: 20px;
    max-width: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 48px;
}

.highlight img {
    max-width: 550%;
    height: auto;
}

.brands {
    text-align: center;
    padding: 40px;
    background-color: #f2f2f2;
}

.brands-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.brands-logos img {
    max-width: 250px; /* Larger size for default screens */
    height: auto;
    transition: transform 0.3s; /* Smooth scaling effect */
}

.brands-logos img:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.contact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px;
    background-color: #ebdfddcc;
}

.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f2f2f2; /* Match the background color of the rest of the website */
    padding: 40px;
    box-sizing: border-box;
}

.contact-form {
    background-color: #ebdfddcc;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form label {
    display: block;
    font-size: 20px;
    margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 18px;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 200px;
    resize: vertical;
}

.submit-btn {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 18px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 6px;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #555;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.social-btn {
    text-decoration: none;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 18px;
    margin: 10px;
    text-align: center;
}

.facebook-btn {
    background-color: #3b5998;
}

.facebook-btn:hover {
    background-color: #2d4373;
}

.instagram-btn {
    background-color: #e1306c;
}

.instagram-btn:hover {
    background-color: #c13584;
}

/* Media Queries */

/* Tablets and smaller desktops */
@media (max-width: 1024px) {
    .services {
        display: flex;
        flex-direction: column;
        align-items: center;
        bottom: -20px; /* Adjust to avoid overlap */
        margin-top: 80px; /* Add margin-top to ensure space between sections */
    }

    .service {
        width: 80%;
        margin-bottom: 20px;
    }


    .highlight-left .highlight-text,
    .highlight-right .highlight-text {
        max-width: 80%;
    }

    .brands-logos img {
        max-width: 100px; /* Increased size for tablets and smaller desktops */
    }
}

/* Tablets and mobile devices */
@media (max-width: 768px) {
    .services {
        flex-direction: column;
        position: relative;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        padding: 20px; /* Adjusted padding */
    }

    .service {
        width: 100%;
        margin: 10px auto; /* Adjusted margin */
    }

    .highlight {
        flex-direction: column;
        align-items: center;
    }

    .highlight-item {
        flex-direction: column;
        text-align: center;
    }

    .highlight-text {
        margin: 20px 0; /* Margin above and below text */
        max-width: 100%;
    }

    .contact {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .contact-info {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
        text-align: center;
    }

    form {
        width: 100%;
    }

    .brands-logos {
        flex-wrap: wrap;
        justify-content: center;
    }

    .brands-logos img {
        max-width: 100px; /* Larger size for smaller screens */
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    /* General Body Styling */
    body {
        font-size: 12px; /* Further reduced base font size */
        line-height: 1.4; /* Improve readability */
    }

    /* Banner */
    .banner {
        padding: 5px 0;
    }

    .banner img {
        width: 100%;
        height: auto;
    }

    /* Services */
    .services {
        display: block; /* Stack services vertically */
        padding: 10px;
        margin-top: 10px;
    }

    .service {
        margin-bottom: 15px; /* Space between services */
        text-align: center; /* Center text and images */
    }

    .service img {
        max-width: 50px; /* Smaller icons */
        margin-bottom: 5px; /* Space below icons */
    }

    .service h2 {
        font-size: 18px; /* Smaller headings */
        margin: 5px 0; /* Space above and below headings */
    }

    .service p {
        font-size: 12px; /* Adjust text size */
    }

    /* Intro */
    .intro {
        padding: 10px;
        margin-top: 10px;
        text-align: center; /* Center align text */
    }

    .intro h1 {
        font-size: 16px; /* Smaller font size */
        line-height: 1.3; /* Better line spacing */
    }

    /* Highlights */
    .highlights {
        padding: 10px;
    }

    .highlight {
        flex-direction: column; /* Stack content vertically */
        align-items: center;
        margin-bottom: 15px; /* Space between highlights */
    }

    .highlight img {
        max-width: 100%; /* Full width images */
        height: auto;
        margin-bottom: 5px; /* Space below images */
    }

    .highlight-text {
        font-size: 10px !important; /* Reduced text size with !important */
        padding: 10px;
        max-width: 90%; /* Adjust width for mobile */
        text-align: center; /* Center text */
        line-height: 1.4; /* Improve readability */
    }

    /* Brands */
    .brands {
        padding: 10px;
        text-align: center; /* Center align logos */
    }

    .brands-logos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px; /* Space between logos */
    }

    .brands-logos img {
        width: 50px; /* Smaller logos */
        height: auto;
    }

    /* Contact Form */
    .contact-section {
        padding: 10px;
        background-color: #f9f9f9; /* Light background for contact form */
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 10px; /* Space between form elements */
    }

    .contact-form h2 {
        font-size: 18px; /* Smaller heading size */
        text-align: center;
        margin-bottom: 10px; /* Space below heading */
    }

    .contact-form label {
        font-size: 12px; /* Smaller label font size */
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        width: 100%;
        padding: 8px;
        font-size: 12px; /* Adjust font size for inputs */
    }

    .contact-form textarea {
        height: 100px; /* Adjust height for text area */
        resize: vertical; /* Allow vertical resize */
    }

    .contact-form button {
        background-color: #333;
        color: #fff;
        border: none;
        cursor: pointer;
        padding: 10px;
        font-size: 12px; /* Adjust button font size */
        border-radius: 5px; /* Rounded corners */
    }

    .contact-form button:hover {
        background-color: #555;
    }

    /* Social Buttons */
    .social-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px; /* Space between social buttons */
    }

    .social-btn {
        font-size: 12px; /* Smaller font size */
        color: #333;
        text-decoration: none;
        padding: 8px;
        border-radius: 5px;
        background-color: #f1f1f1; /* Background color for buttons */
    }

    .social-btn:hover {
        background-color: #ddd; /* Hover effect */
    }
}