@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800&family=Montserrat:wght@400;500;600;700;800&display=swap');

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

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.4rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1;
    min-width: 180px;
}

.btn-primary {
    background: linear-gradient(135deg, #d52b1e, #ff4757);
    color: white;
    box-shadow: 0 4px 15px rgba(213, 43, 30, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(213, 43, 30, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Hero Section - Block 1 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-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: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Form Section - Block 2 */
.contact-form-section {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.subscription-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

.form-group {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.form-group input[type="email"] {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    background: white;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group input[type="email"]::placeholder {
    color: #666;
}

.form-group .btn {
    margin: 0;
    white-space: nowrap;
}

/* Products Section - Block 3 */
.products-section {
    background: #ffffff;
    color: #333;
    padding: 80px 0;
}

.products-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
}

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

.product-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #dee2e6;
    transition: transform 0.3s ease;
}

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

.product-card h3 {
    color: #d52b1e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.features {
    list-style: none;
    text-align: left;
}

.features li {
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
    position: relative;
    padding-left: 25px;
}

.features li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.features li:last-child {
    border-bottom: none;
}

/* Article Styling */
.article-section {
    margin-top: 4rem;
    padding: 40px;
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #d52b1e;
}

.article-section h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
}

.article-section article p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

/* Specialists Section - Block 4 */
.specialists-section {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: #2c3e50;
    padding: 80px 0;
}

.specialists-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.specialist-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.specialist-card h3 {
    color: #d52b1e;
    margin-bottom: 0.5rem;
}

.specialist-card .title {
    color: #2563eb;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.specialist-card .description {
    color: #666;
    line-height: 1.6;
}

/* Reviews Section - Block 5 */
.reviews-section {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #2c3e50;
    padding: 80px 0;
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.review-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stars {
    font-size: 1.2rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

.reviewer {
    font-weight: 600;
    color: #d52b1e;
    margin: 0;
}

/* Contact Section - Block 6 */
.contact-section {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 80px 0;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.address-info h3 {
    color: #74b9ff;
    margin-bottom: 1rem;
}

.address-info p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    border-radius: 10px;
}

/* Footer - Block 7 */
.footer {
    background: #1a1a1a;
    color: #cccccc;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

.domainName {
    color: #74b9ff;
    font-weight: 600;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .hero-section {
        min-height: 450px;
        text-align: center;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        min-width: 160px;
    }

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

    .product-card,
    .specialist-card,
    .review-card {
        padding: 20px;
    }

    .form-group {
        flex-direction: column;
        gap: 15px;
    }

    .form-group .btn {
        width: 100%;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .article-section {
        padding: 25px;
        margin-top: 3rem;
    }

    .article-section article p {
        font-size: 1rem;
        text-align: left;
    }

    .price {
        font-size: 1.5rem;
    }

    .hero-section,
    .contact-form-section,
    .products-section,
    .specialists-section,
    .reviews-section,
    .contact-section {
        padding: 60px 0;
    }
}

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

    h2 {
        font-size: 1.4rem;
    }

    .hero-section {
        min-height: 400px;
    }

    .hero-text {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
        min-width: 140px;
    }

    .article-section {
        padding: 20px;
    }

    .product-card,
    .specialist-card,
    .review-card {
        padding: 15px;
    }

    .price {
        font-size: 1.3rem;
    }
}
