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

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

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

.container {
    width: 90%;
    margin: 0 auto;
    padding: 40px 0;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    border-bottom: 3px solid #e74c3c;
    display: inline-block;
    padding-bottom: 5px;
}

p {
    margin-bottom: 15px;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Section (Offer) */
.hero-section {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: #fff;
    height: 430px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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.1'%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");
    opacity: 0.2;
}

.hero-section h2 {
    color: #fff;
    border-bottom: 3px solid #e74c3c;
    margin-bottom: 30px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 80%;
}

.hero-section .btn {
    font-size: 1.2rem;
    padding: 15px 40px;
    margin-top: 20px;
    background-color: #e74c3c;
    border: 2px solid #fff;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    position: relative;
    z-index: 10; /* Ensure button is above background elements */
    text-decoration: none;
}

.hero-section .btn:hover {
    background-color: #c0392b;
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.hero-section .btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Products Section */
.products-section {
    background-color: #ecf0f1;
    padding: 60px 0;
}

.products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
}

.product {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 280px;
    transition: transform 0.3s ease;
}

.product:hover {
    transform: translateY(-10px);
}

.product h3 {
    color: #2c3e50;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e74c3c;
    margin: 20px 0;
}

.product .btn {
    width: 100%;
    text-align: center;
}

/* Article Styling */
.topic-article {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #3498db;
    margin-top: 50px;
}

.topic-article h3 {
    color: #3498db;
    font-size: 1.8rem;
}

.topic-article p:last-child {
    margin-bottom: 0;
}

/* Reviews Section */
.reviews-section {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0;
}

.reviews-section h2 {
    color: #fff;
    border-bottom-color: #e74c3c;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.review {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    flex: 1;
    min-width: 280px;
}

.review h3 {
    color: #e74c3c;
}

.rating {
    color: #f1c40f;
    font-size: 1.5rem;
    margin-top: 15px;
}

/* Form Section */
.form-section {
    background-color: #3498db;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.form-section h2 {
    color: #fff;
    border-bottom-color: #fff;
}

.form-section form {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-section input[type="email"] {
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
}

.form-section .btn {
    background-color: #e74c3c;
    border: 2px solid #fff;
    padding: 15px;
    font-size: 1.1rem;
}

/* Specialists Section */
.specialists-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.specialists-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.specialist {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 280px;
    border-top: 5px solid #e74c3c;
}

.specialist h3 {
    color: #e74c3c;
}

/* Contact Section */
.contact-section {
    background-color: #34495e;
    color: #fff;
    padding: 60px 0;
}

.contact-section h2 {
    color: #fff;
    border-bottom-color: #e74c3c;
}

address {
    margin-bottom: 30px;
    font-style: normal;
    font-size: 1.1rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer-section {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .container {
        width: 95%;
        padding: 30px 0;
    }

    .hero-section {
        height: auto;
        min-height: 430px;
        padding: 40px 0;
    }

    .hero-section p {
        max-width: 100%;
    }

    .products-container,
    .reviews-container,
    .specialists-container {
        flex-direction: column;
    }

    .product,
    .review,
    .specialist {
        min-width: 100%;
    }

    .hero-section .btn {
        padding: 12px 25px;
        font-size: 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }

    .form-section form {
        width: 100%;
    }
}
