/* General Reset */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Helvetica', sans-serif; /* Google font Roboto with Helvetica fallback */
    margin: 0;
    padding: 0;
    color: #333;
    background-color: white;
}

header {
    padding: 20px 40px;
    background-color: white;
}

.header-content {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: flex-start; /* Align them to the left */
}

/* Subheading under 'is for Google' */
.google-subheading {
    color: #666; /* Gray color similar to 'Investor Relations' */
    margin: 0;
    font-size: 20px; /* Similar font size */
    font-weight: normal;
    margin-top: -10px; /* Reduce space between 'is for Google' and the subheading */
}

.alphabet-logo {
    color: #E02228; /* Red for 'Alphabet' */
    margin: 0;
    font-size: 36px; /* Larger size for desktop */
    font-weight: 500;
}

/* Style the 'is for Mukabout' heading */
.left-section h1 {
    font-size: 48px;  /* Keep the size for desktop */
    color: #DB4437; /* Red color for the rest of the text */
    margin-bottom: 20px;
}

.blue-m {
    color: #045096; /* Blue color for the 'M' */
}

.investor-relations {
    color: #666; /* Gray for 'Investor Relations' */
    margin: 0;
    font-size: 20px; /* Adjust font size */
    font-weight: normal;
    margin-top: 5px; /* Space between Alphabet and Investor Relations */
}

.divider {
    border: 0;
    height: 1px;
    background: #ddd;
    margin-top: 10px;
}

main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 50px;
    background-color: white; 
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;  /* Limits overall content width */
    width: 100%;
}

.left-section {
    flex: 1;
    max-width: 40%;  /* Slightly increased to give more space for text */
    padding-right: 50px;
}

.right-section {
    flex: 1;
    max-width: 60%;  /* Image section takes the remaining space */
    text-align: right;
}

/* Adjust the right-side image on desktop */
.blocks {
    max-width: 400px; /* Limit the image width on desktop */
    width: 100%;
    height: auto;
    max-height: 500px; /* Added to limit height on desktop */
    object-fit: contain; /* Ensure the image maintains its aspect ratio */
}

/* Increased logo size for desktop */
.g-block {
    width: 200px; /* Larger size for desktop */
    margin-bottom: 20px;
}

.left-section h1 {
    font-size: 48px;  /* Larger for desktop */
    color: #555;
    margin-bottom: 20px;
}

.description {
    font-size: 16px;
    color: #666;
}

.see-more {
    display: inline-block;
    color: red;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}

.signature {
    margin-top: 40px;
}

.signature-image {
    width: 200px;
}

.signature-name {
    font-size: 16px;
    margin-top: 10px;
    color: #333;
}

/* Contact Form Styles */
.contact-container {
    display: flex;
    justify-content: center;  /* Horizontally center the form */
    align-items: center;
    flex-direction: column;
    margin-top: 50px;
    padding: 20px;
    margin-bottom: 50px; /* Space above the footer */
}

form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

p {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #E02228; /* Google red */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Make sure the contact form is at the bottom of the page */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;  /* Ensure the body takes up at least the full viewport height */
}

main {
    flex: 1;  /* Ensures the main content takes up available space */
}

.contact-container {
    margin-top: auto;  /* Push the form to the bottom of the page */
}

/* Responsive Design for mobile and smaller screens */
@media (max-width: 768px) {
    .left-section {
        max-width: 75%;  /* Give the text more space on mobile */
    }

    .right-section {
        max-width: 25%;  /* Make the image section smaller on mobile */
        text-align: center;  /* Center the blocks image on smaller screens */
    }

    /* Adjust the right-side image on mobile */
    .blocks {
        max-width: 100px; /* Reduce image width significantly for mobile */
        max-height: none; /* Allow larger height on mobile */
    }

    /* Increased logo size for mobile */
    .g-block {
        width: 150px; /* Larger size for mobile */
    }

    .left-section h1 {
        font-size: 32px;  /* Scale down 'is for Google' on mobile */
    }

    .alphabet-logo {
        font-size: 24px;  /* Scale down Alphabet logo on mobile */
    }

    .investor-relations {
        font-size: 16px;  /* Scale down 'Investor Relations' on mobile */
    }

    .description {
        font-size: 16px;  /* Scale down the description text on mobile */
    }

    main {
        padding: 20px;  /* Reduce padding on mobile */
    }

    .right-section {
        text-align: center;  /* Center the blocks image on smaller screens */
    }

    .contact-container {
        margin-bottom: 30px;  /* Ensure some space from the bottom */
    }
}
