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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #ddd;
    --hover-color: #2980b9;
    --success-color: #27ae60;
}

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

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

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

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

.logo-wrapper img {
    border-radius: 50%;
}

.logo-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

.primary-nav {
    display: flex;
    gap: 2rem;
}

.primary-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.primary-nav a:hover {
    color: var(--secondary-color);
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

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

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

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.features-section {
    background-color: var(--light-bg);
    padding: 4rem 20px;
}

.features-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.calculator-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem 20px;
}

.calculator-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.calculator-wrapper {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.calc-input-group {
    margin-bottom: 1.5rem;
}

.calc-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.calc-select,
.calc-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.calc-button {
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.calc-button:hover {
    background-color: var(--hover-color);
}

.calc-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 5px;
    text-align: center;
}

.result-text {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

#totalPrice {
    font-weight: bold;
    color: var(--accent-color);
}

.result-note {
    font-size: 0.9rem;
    color: #666;
}

.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.secondary-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.secondary-button:hover {
    background-color: var(--hover-color);
}

.lead-form-section {
    background-color: var(--light-bg);
    padding: 4rem 20px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.form-container h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-container > p {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #c0392b;
}

.testimonials-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
}

.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column p,
.footer-column a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

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

.registration-number {
    font-size: 0.9rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    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: 2rem;
}

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

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

.decline-btn {
    background-color: #555;
    color: var(--white);
}

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

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

.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: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

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

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 20px;
    text-align: center;
}

.page-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-story {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.story-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-section {
    background-color: var(--light-bg);
    padding: 4rem 20px;
}

.team-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.team-member img {
    width: 100%;
    height: auto;
    display: block;
}

.team-member h3 {
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
    padding: 0 1rem;
}

.member-role {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.team-member p:last-child {
    padding: 0 1rem 1.5rem;
    line-height: 1.6;
}

.values-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

.values-container h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
}

.value-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stats-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.blog-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

.blog-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-post-preview {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.post-content {
    padding: 2rem;
}

.post-content h2 {
    margin-bottom: 0.5rem;
}

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

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

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.read-more {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

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

.newsletter-section {
    background-color: var(--light-bg);
    padding: 4rem 20px;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-container h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.newsletter-container p {
    margin-bottom: 2rem;
    color: #666;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-button:hover {
    background-color: var(--hover-color);
}

.contact-main-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-block h2,
.contact-form-block h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.info-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.map-section {
    margin: 4rem 0;
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
}

.faq-section {
    background-color: var(--light-bg);
    padding: 4rem 20px;
}

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

.faq-container h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.post-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.post-header {
    margin-bottom: 2rem;
}

.post-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-metadata {
    color: #666;
    font-size: 0.95rem;
}

.post-featured-image {
    margin-bottom: 3rem;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.post-body h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.post-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.post-cta {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 3rem;
}

.post-cta h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.post-cta p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .primary-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-section,
    .about-preview,
    .about-container,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1,
    .page-hero-content h1 {
        font-size: 2rem;
    }

    .blog-post-preview {
        grid-template-columns: 1fr;
    }

    .post-image {
        height: 250px;
    }

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

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

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

    .post-header h1 {
        font-size: 1.8rem;
    }
}