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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray: #7f8c8d;
    --dark-gray: #2c3e50;
    --border-color: #dee2e6;
    --success-color: #27ae60;
    --hover-color: #2980b9;
}

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

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

.main-header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navigation-bar {
    padding: 0;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.site-name {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
}

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

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

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

.main-content {
    min-height: calc(100vh - 400px);
}

.hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('images/logo.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    width: 100%;
    padding: 20px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.services-section,
.why-choose-section,
.lead-form-section,
.facts-section,
.story-section,
.team-section,
.values-section,
.blog-posts-section,
.contact-info-section,
.map-section {
    padding: 80px 0;
}

.services-section {
    background-color: var(--white);
}

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

.services-grid,
.features-grid,
.facts-grid,
.team-grid,
.values-grid,
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card,
.feature-box,
.fact-card,
.team-card,
.value-item,
.post-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-image,
.post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-title,
.post-title {
    font-size: 1.5rem;
    margin: 20px;
    color: var(--primary-color);
}

.service-description,
.post-excerpt {
    margin: 0 20px 20px 20px;
    color: var(--gray);
    line-height: 1.8;
}

.why-choose-section {
    background-color: var(--light-bg);
}

.feature-box {
    padding: 40px 30px;
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-heading {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-text {
    color: var(--gray);
    line-height: 1.8;
}

.lead-form-section {
    background-color: var(--white);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-bg);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

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

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.submit-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
}

.facts-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.facts-section .section-title {
    color: var(--white);
}

.fact-card {
    background-color: rgba(255,255,255,0.1);
    padding: 40px 30px;
    text-align: center;
}

.fact-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.fact-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

.site-footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 50px 0 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-text {
    margin-bottom: 10px;
    color: #bdc3c7;
}

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

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

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 2000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-link {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

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

.decline-btn {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cookie-btn:hover {
    opacity: 0.9;
}

.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 60px 0;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-intro {
    font-size: 1.3rem;
    color: #bdc3c7;
}

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

.story-text {
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 1.1rem;
}

.team-section {
    background-color: var(--light-bg);
}

.team-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.team-name {
    font-size: 1.5rem;
    margin: 20px 20px 10px 20px;
    color: var(--primary-color);
}

.team-role {
    margin: 0 20px;
    color: var(--secondary-color);
    font-weight: 600;
}

.team-bio {
    margin: 15px 20px 20px 20px;
    color: var(--gray);
    line-height: 1.8;
}

.value-item {
    padding: 40px 30px;
}

.value-heading {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.value-description {
    color: var(--gray);
    line-height: 1.8;
}

.post-content {
    padding: 20px;
}

.post-meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--hover-color);
}

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

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

.contact-icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

.contact-label {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

.location-map {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

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

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    position: relative;
    text-align: center;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
}

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

.modal-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--success-color);
}

.modal-text {
    font-size: 1.1rem;
    color: var(--gray);
}

.blog-post {
    background-color: var(--white);
}

.post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

.post-header {
    margin-bottom: 30px;
}

.post-main-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.3;
}

.post-metadata {
    color: var(--gray);
    font-size: 1rem;
}

.post-date {
    font-style: italic;
}

.post-featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 40px;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
}

.post-body h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.post-body h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.post-body p {
    margin-bottom: 20px;
}

.post-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.back-to-blog {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-to-blog:hover {
    color: var(--hover-color);
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .services-grid,
    .features-grid,
    .facts-grid,
    .team-grid,
    .values-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .page-title {
        font-size: 2rem;
    }

    .post-main-title {
        font-size: 1.8rem;
    }

    .post-featured-image {
        height: 300px;
    }
}