/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Montserrat:wght@400;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    color: #1a3a63;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    margin-bottom: 2rem;
}

h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: #d4af37; /* Gold color */
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    padding: 2rem 0;
}

/* Header and Navigation */
section {
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Block 1: Offer section with contrasting background */
.offer {
    background: linear-gradient(135deg, #1a3a63 0%, #0f2440 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 0px 0px 8px 8px;
    position: relative;
    overflow: hidden;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.offer .container {
    position: relative;
    z-index: 1;
}

.offer h1, .offer h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.offer h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.offer h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.offer h2::after {
    background-color: #d4af37;
    left: 50%;
    transform: translateX(-50%);
}

.offer p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.button {
    display: inline-block;
    background-color: #d4af37;
    color: #1a3a63;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #d4af37;
    font-size: 1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.button:hover {
    background-color: transparent;
    color: #d4af37;
    transform: translateY(-3px);
}

/* Products Section */
.products {
    background-color: white;
    padding: 3rem 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product h3 {
    color: #1a3a63;
    margin-bottom: 0.5rem;
}

.product .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
    margin: 1rem 0;
}

/* Article Styling */
.article {
    background-color: #f0f8ff; /* Light blue background */
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid #1a3a63;
    margin-top: 3rem;
}

.article h2 {
    color: #1a3a63;
    font-size: 1.6rem;
}

/* Newsletter Form */
.newsletter {
    background-color: #1a3a63;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.newsletter h2, .newsletter h2::after {
    color: white;
}

.newsletter form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 1rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
}

.newsletter button {
    background-color: #d4af37;
    color: #1a3a63;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.newsletter button:hover {
    background-color: #c39c29;
    transform: translateY(-3px);
}

/* Specialists Section */
.specialists {
    background-color: #f9f9f9;
    padding: 3rem 2rem;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.specialist {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.specialist:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.specialist h3 {
    color: #1a3a63;
    margin-bottom: 0.5rem;
}

.specialist p:first-of-type {
    color: #d4af37;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Reviews Section */
.reviews {
    background-color: white;
    padding: 3rem 2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.review::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.2);
    font-family: serif;
    line-height: 1;
}

.review h3 {
    color: #1a3a63;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    background-color: #f9f9f9;
    padding: 3rem 2rem;
}

.contact address {
    font-style: normal;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.map {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

/* Footer */
.copyright {
    text-align: center;
    padding: 2rem;
    background-color: #1a3a63;
    color: white;
    border-radius: 8px;
    margin-top: 3rem;
}

.copyright p {
    margin-bottom: 0.5rem;
}

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

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .offer {
        padding: 3rem 1rem;
    }

    .offer h1 {
        font-size: 2.5rem;
    }

    .offer h2 {
        font-size: 1.4rem;
    }

    .products-grid,
    .specialists-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .newsletter form {
        flex-direction: column;
    }

    .newsletter input[type="email"],
    .newsletter button {
        width: 100%;
    }

    section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .offer h1 {
        font-size: 2rem;
    }

    .offer h2 {
        font-size: 1.2rem;
    }

    .button {
        padding: 10px 20px;
    }
}
