* {
    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;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #27ae60;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

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

.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-primary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

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

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

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

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

.hero-banner {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
}

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

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

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

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

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

.features-section,
.services-preview,
.recent-posts,
.about-story,
.mission-values,
.team-section,
.stats-section,
.services-detailed,
.process-section,
.faq-section,
.testimonials-section,
.blog-listing,
.newsletter-section,
.contact-section,
.map-section,
.cta-section {
    padding: 80px 20px;
}

.features-section h2,
.services-preview h2,
.recent-posts h2,
.about-story h2,
.mission-values h2,
.team-section h2,
.stats-section h2,
.services-detailed h2,
.process-section h2,
.faq-section h2,
.testimonials-section h2,
.newsletter-section h2,
.contact-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

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

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

.service-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

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

.service-item h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.service-item p {
    padding: 0 20px 20px;
    color: var(--gray);
}

.service-link {
    display: inline-block;
    margin: 0 20px 20px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.service-link:hover {
    color: var(--primary-color);
}

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

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 3px 20px var(--shadow);
}

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

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

.consultation-form .form-row {
    margin-bottom: 20px;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

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

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

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

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

.post-preview {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
}

.post-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-preview h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.post-preview p {
    padding: 0 20px 15px;
    color: var(--gray);
}

.read-more {
    display: inline-block;
    margin: 0 20px 20px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

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

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

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

.footer-column ul {
    list-style: none;
}

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

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

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

.company-reg {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.8;
}

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

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

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

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

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.cookie-content a {
    color: var(--secondary-color);
}

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

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

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

.cookie-btn.decline {
    background-color: var(--gray);
    color: var(--white);
}

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

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

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

.modal-close {
    margin-top: 25px;
    padding: 10px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.modal-close:hover {
    background-color: #2980b9;
}

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

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

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-content h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.story-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.story-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 20px var(--shadow);
}

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

.value-item {
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.value-item h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

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

.team-member img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

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

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

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-box {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
}

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

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

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

.service-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 20px var(--shadow);
}

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

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

.service-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.pricing-info {
    margin: 25px 0;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 5px;
}

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

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

.process-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
}

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

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

.faq-item {
    margin-bottom: 25px;
    padding: 25px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

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

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

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

.testimonial-card p {
    margin-bottom: 15px;
    line-height: 1.7;
}

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

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

.blog-post-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 15px var(--shadow);
}

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

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

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

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

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray);
}

.post-category {
    color: var(--secondary-color);
    font-weight: 600;
}

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

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

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

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

.contact-info {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
}

.info-block {
    margin-bottom: 30px;
}

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

.info-detail {
    font-size: 14px;
    color: var(--gray);
    margin-top: 5px;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 3px 15px var(--shadow);
}

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

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

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

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

.map-placeholder {
    background-color: var(--light-bg);
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.cta-btn {
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.cta-btn.primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.cta-btn.secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

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

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

.post-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.post-header h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-metadata {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--gray);
    font-size: 14px;
}

.post-image-featured {
    max-width: 1000px;
    margin: 0 auto 40px;
}

.post-image-featured img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 20px var(--shadow);
}

.article-overview {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

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

.overview-list {
    list-style: none;
    margin-bottom: 20px;
}

.overview-list li {
    padding: 8px 0 8px 25px;
    position: relative;
}

.overview-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.spell-check-btn {
    padding: 10px 25px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.spell-check-btn:hover {
    background-color: #2980b9;
}

.post-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 18px;
}

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

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

.post-footer {
    max-width: 800px;
    margin: 40px auto;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
}

.post-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 15px;
    background-color: var(--light-bg);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.related-posts {
    max-width: 800px;
    margin: 60px auto 0;
}

.related-posts h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.related-card {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
    transition: transform 0.3s;
}

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

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

.related-card h3 {
    padding: 20px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .features-grid,
    .services-wrapper,
    .posts-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-story,
    .service-detail-block,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .blog-post-card {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .process-timeline {
        flex-direction: column;
    }
}