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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.specialist-name {
    font-size: 1.3rem;
    margin-top: 20px;
    font-weight: 500;
    opacity: 0.95;
}

.content {
    padding: 50px 40px;
}

.section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    color: #1e3c72;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    flex: 0 1 280px;
    max-width: 280px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.3rem;
    color: #1e3c72;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-description {
    color: #666;
    font-size: 0.95rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 600px;
    margin: 40px auto;
}

.contact-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2rem;
    margin-right: 20px;
    min-width: 50px;
    text-align: center;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 1.3rem;
    color: #1e3c72;
    font-weight: 600;
}

.contact-value a {
    color: #1e3c72;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: #667eea;
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 40px;
    border-radius: 15px;
    margin-top: 30px;
}

.cta-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.footer {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    color: #666;
    font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1e3c72;
    text-decoration: underline;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    font-size: 1.8rem;
    color: #1e3c72;
    margin-bottom: 25px;
}

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

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-message.active {
    display: block;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-title {
    font-size: 1.8rem;
    color: #1e3c72;
    margin-bottom: 15px;
    font-weight: 600;
}

.success-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.seo-section {
    background: #f8f9fa;
    padding: 60px 40px;
    margin-top: 50px;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-title {
    font-size: 2rem;
    color: #1e3c72;
    margin-bottom: 25px;
    text-align: center;
}

.seo-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.seo-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.seo-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
    color: #444;
}

.seo-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

.seo-highlight {
    color: #1e3c72;
    font-weight: 600;
}

@media (max-width: 768px) {
    .header {
        padding: 40px 20px;
    }

    .logo {
        font-size: 2rem;
    }

    .content {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

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

    .cta-title {
        font-size: 1.5rem;
    }

    .modal-content {
        padding: 30px 20px;
    }
}
