/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Poppins:wght@400;600&display=swap');

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Block Styles */
section, footer {
    padding: 40px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}

/* Block 1: Offer */
#offer {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%); /* Google blue to green */
    color: #fff;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#offer h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8em;
    margin-bottom: 20px;
}

#offer p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

#offer .button {
    display: inline-block;
    padding: 15px 35px;
    background-color: #fff;
    color: #4285f4;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 30px;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

#offer .button:hover {
    background-color: #fbbc05; /* Google yellow */
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Block 2: Form */
#subscribe {
    background-color: #f1f3f4; /* Google light gray */
}

#subscribe h2 {
    font-family: 'Poppins', sans-serif;
    color: #ea4335; /* Google red */
    margin-bottom: 20px;
}

#subscribe form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

#subscribe input[type="email"] {
    padding: 12px;
    font-size: 1em;
    border: 2px solid #4285f4;
    border-radius: 8px;
    width: 280px;
    transition: border-color 0.3s;
}

#subscribe input[type="email"]:focus {
    border-color: #34a853;
    outline: none;
}

#subscribe button {
    padding: 12px 25px;
    background-color: #4285f4;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

#subscribe button:hover {
    background-color: #34a853;
}

/* Block 3: Products and Article */
#products {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#products h2, #products h3 {
    font-family: 'Poppins', sans-serif;
    color: #4285f4;
    margin-bottom: 20px;
}

#products ul {
    list-style: none;
    margin-bottom: 30px;
}

#products li {
    margin: 15px 0;
    font-size: 1.1em;
}

#products article {
    background-color: #f8f9fa;
    padding: 25px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Block 4: Specialists */
#specialists {
    background-color: #fef7e0; /* Google yellow light */
}

#specialists h2 {
    font-family: 'Poppins', sans-serif;
    color: #fbbc05;
    margin-bottom: 20px;
}

#specialists ul {
    list-style: none;
}

#specialists li {
    margin: 12px 0;
}

/* Block 5: Reviews */
#reviews {
    background-color: #e8f0fe; /* Google blue light */
}

#reviews h2 {
    font-family: 'Poppins', sans-serif;
    color: #4285f4;
    margin-bottom: 20px;
}

#reviews ul {
    list-style: none;
}

#reviews li {
    margin: 12px 0;
    font-style: italic;
    color: #5f6368; /* Google gray */
}

/* Block 6: Contact */
#contact {
    background-color: #fff;
}

#contact h2 {
    font-family: 'Poppins', sans-serif;
    color: #34a853;
    margin-bottom: 20px;
}

#contact iframe {
    max-width: 100%;
    border-radius: 8px;
}

/* Block 7: Footer */
#footer {
    background-color: #4285f4;
    color: #fff;
    text-align: center;
}

/* Mobile Version */
@media (max-width: 768px) {
    body {
        padding: 0 15px;
    }

    #offer {
        min-height: 350px;
        padding: 30px 15px;
    }

    #offer h1 {
        font-size: 2em;
    }

    #offer p {
        font-size: 1.1em;
    }

    #offer .button {
        padding: 12px 25px;
    }

    #subscribe form {
        flex-direction: column;
        align-items: center;
    }

    #subscribe input[type="email"] {
        width: 100%;
    }

    section, footer {
        padding: 30px 15px;
    }

    h2 {
        font-size: 1.6em;
    }
}

@media (max-width: 480px) {
    #offer h1 {
        font-size: 1.6em;
    }

    #offer p {
        font-size: 1em;
    }

    #products article {
        padding: 15px;
    }
}
