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

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

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

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

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a73e8;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #202124;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #202124;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #5f6368;
}

/* Hero Section - Block 1 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image:
        radial-gradient(circle at 25% 25%, #ffffff15 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, #ffffff10 0%, transparent 50%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    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-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255,255,255,0.1) 35px,
            rgba(255,255,255,0.1) 70px
        );
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}

.hero-section h1 {
    color: #ffffff;
    font-size: 2.8rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.2rem;
    color: #f1f3f4;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-offer {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.cta-section h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: #fbbc04;
    color: #202124;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(251, 188, 4, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: #f9ab00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 188, 4, 0.4);
}

/* Reviews Section - Block 5 */
.reviews-section {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.review-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-left: 4px solid #34a853;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.review-item h3 {
    color: #1a73e8;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

/* Services Section - Block 3 */
.services-section {
    background: #ffffff;
    padding: 80px 0;
}

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

.service-item {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #1a73e8;
}

.service-item.featured {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: #ffffff;
    transform: scale(1.05);
}

.service-item.featured h3,
.service-item.featured .price {
    color: #ffffff;
}

.service-item h3 {
    color: #202124;
    margin-bottom: 20px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #34a853;
    margin-bottom: 30px;
}

.service-item ul {
    list-style: none;
    text-align: left;
}

.service-item li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.service-item li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #34a853;
    font-weight: bold;
}

.service-item.featured li::before {
    color: #ffffff;
}

/* Article Section Highlight */
.article-section {
    background: linear-gradient(135deg, #ea4335 0%, #fbbc04 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(234, 67, 53, 0.2);
}

.article-section h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.article-section p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.7;
}

/* Specialists Section - Block 4 */
.specialists-section {
    background: #e8f0fe;
    padding: 80px 0;
}

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

.specialist-item {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border-top: 4px solid #1a73e8;
}

.specialist-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.specialist-title {
    color: #ea4335;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
}

/* Subscribe Section - Block 2 */
.subscribe-section {
    background: #202124;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.subscribe-section h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.subscribe-section p {
    color: #9aa0a6;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.subscribe-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #f1f3f4;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #5f6368;
    border-radius: 12px;
    font-size: 1rem;
    background: #303134;
    color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.subscribe-button {
    background: linear-gradient(135deg, #34a853 0%, #137333 100%);
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    border-radius: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.3);
}

.subscribe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 168, 83, 0.4);
}

/* Contact Section - Block 6 */
.contact-section {
    background: #f1f3f4;
    padding: 80px 0;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
}

.address {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.address h3 {
    color: #1a73e8;
    margin-bottom: 20px;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Footer - Block 7 */
.footer {
    background: #202124;
    color: #9aa0a6;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    color: #9aa0a6;
    margin: 0;
}

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

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

    .hero-section h1 {
        font-size: 2.2rem;
    }

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

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

    .service-item.featured {
        transform: none;
    }

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

    .cta-button,
    .subscribe-button {
        width: 100%;
        padding: 18px 20px;
        font-size: 1rem;
    }

    .article-section {
        padding: 30px 20px;
    }

    .price {
        font-size: 2rem;
    }

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

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

    h2 {
        font-size: 1.5rem;
    }

    .hero-section h1 {
        font-size: 1.9rem;
    }

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

    .hero-section .container,
    .services-section,
    .reviews-section,
    .specialists-section,
    .subscribe-section,
    .contact-section {
        padding: 50px 0;
    }

    .service-item,
    .review-item,
    .specialist-item {
        padding: 25px 20px;
    }

    .article-section {
        padding: 25px 15px;
    }

    .article-section h3 {
        font-size: 1.5rem;
    }
}
