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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --gradient-primary: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
}

.main-nav a:hover,
.main-nav a.active-link {
    color: var(--secondary-color);
}

.hero-section {
    background: url('images/1.jpg') center/cover no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    background: rgba(44, 62, 80, 0.8);
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 800px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #c0392b;
}

.page-hero {
    background: var(--gradient-primary);
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.intro-section,
.services-preview,
.history-section,
.poll-section,
.lead-form-section,
.blog-preview,
.about-intro,
.team-section,
.values-section,
.services-detailed,
.pricing-section,
.faq-section,
.blog-listing,
.contact-section,
.map-section,
.faq-contact {
    padding: 80px 20px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.intro-text p {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.services-grid,
.blog-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card,
.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover,
.value-card:hover {
    transform: translateY(-5px);
}

.service-icon,
.value-icon {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3,
.value-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p,
.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.history-section {
    background: var(--background-light);
}

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

.history-item {
    background: var(--white);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.history-date {
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 10px;
}

.poll-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.poll-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.poll-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.poll-option:hover {
    border-color: var(--secondary-color);
    background: var(--background-light);
}

.poll-option input[type="radio"] {
    width: 20px;
    height: 20px;
}

.poll-submit {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.poll-submit:hover {
    background: #2980b9;
}

.poll-results {
    text-align: center;
}

.poll-results h3 {
    color: var(--success-color);
    margin-bottom: 15px;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-wrapper h2 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.form-intro {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
}

.consultation-form,
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #c0392b;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
}

.blog-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 12px;
}

.blog-cta {
    text-align: center;
    margin-top: 50px;
}

.secondary-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.secondary-button:hover {
    background: #1a252f;
}

.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-column p {
    line-height: 1.8;
    opacity: 0.9;
}

.registration-info {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    line-height: 1.6;
}

.contact-info i {
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    padding: 30px 20px;
    z-index: 2000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cookie-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.accept-btn {
    background: var(--success-color);
    color: var(--white);
}

.accept-btn:hover {
    background: #229954;
}

.reject-btn {
    background: var(--border-color);
    color: var(--text-dark);
}

.reject-btn:hover {
    background: #d0d0d0;
}

.cookie-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    background: var(--white);
    margin: 10% auto;
    padding: 0;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
}

.close-modal:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 50px 40px;
    text-align: center;
}

.modal-icon {
    font-size: 64px;
    color: var(--success-color);
    margin-bottom: 20px;
}

.modal-body h2 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.modal-body p {
    color: var(--text-light);
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.7;
}

.cta-section {
    background: var(--gradient-primary);
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.service-detail-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail-block.reverse {
    direction: rtl;
}

.service-detail-block.reverse > * {
    direction: ltr;
}

.service-large-icon {
    font-size: 64px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-detail-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-detail-content h3 {
    font-size: 24px;
    margin: 25px 0 15px;
    color: var(--primary-color);
}

.service-detail-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: var(--success-color);
}

.service-detail-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.process-step {
    background: var(--background-light);
    padding: 20px;
    border-radius: 8px;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.process-step h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.pricing-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 18px;
}

.pricing-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

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

.pricing-card.featured {
    border: 3px solid var(--secondary-color);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.package-description {
    color: var(--text-light);
    margin-bottom: 25px;
}

.package-features {
    list-style: none;
    text-align: left;
    margin: 25px 0;
}

.package-features li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.package-features i {
    color: var(--success-color);
    margin-top: 3px;
}

.package-btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.3s;
}

.package-btn:hover {
    background: #2980b9;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-question {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.8;
}

.blog-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    color: var(--text-light);
    line-height: 1.8;
}

.blog-posts-grid {
    display: grid;
    gap: 40px;
}

.blog-post-card {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 30px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 30px 30px 30px 0;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
}

.post-category,
.post-date {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-content h2 {
    margin-bottom: 15px;
}

.post-content h2 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.post-content h2 a:hover {
    color: var(--secondary-color);
}

.read-more-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.read-more-link:hover {
    gap: 12px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 3px;
}

.contact-text h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-text p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-hours,
.contact-note {
    font-size: 14px;
    margin-top: 8px;
    opacity: 0.8;
}

.contact-form-block {
    background: var(--background-light);
    padding: 40px;
    border-radius: 10px;
}

.map-placeholder {
    background: var(--background-light);
    padding: 80px 20px;
    border-radius: 10px;
    text-align: center;
}

.map-icon {
    font-size: 64px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.blog-post .post-header {
    background: var(--background-light);
    padding: 60px 20px;
}

.post-meta-top {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.blog-post h1 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.post-excerpt {
    text-align: center;
    font-size: 20px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.post-featured-image {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post .post-content {
    padding: 80px 20px;
}

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

.content-wrapper h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.content-wrapper h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.content-wrapper p {
    margin-bottom: 20px;
    line-height: 1.9;
    color: var(--text-light);
}

.post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
}

.back-to-blog:hover {
    gap: 15px;
}

.related-posts {
    background: var(--background-light);
    padding: 80px 20px;
}

@media (max-width: 1024px) {
    .intro-grid,
    .service-detail-block,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-post-card {
        grid-template-columns: 1fr;
    }
    
    .post-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .container-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .services-grid,
    .blog-grid,
    .team-grid,
    .pricing-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1,
    .blog-post h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}