* {
    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;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

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

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.95);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-notice.show {
    transform: translateY(0);
}

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

.cookie-text-block h4 {
    margin-bottom: 8px;
    font-size: 18px;
}

.cookie-text-block p {
    font-size: 14px;
    opacity: 0.9;
}

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

.btn-cookie-accept,
.btn-cookie-decline {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

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

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

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

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

.cookie-link {
    color: var(--white);
    text-decoration: underline;
    font-size: 14px;
}

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

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

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

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

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

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.welcome-intro {
    margin-bottom: 20px;
}

.intro-text {
    font-size: 18px;
    font-style: italic;
    opacity: 0.9;
}

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

.hero-subtext {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button-3d {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    transition: var(--transition);
    transform: translateY(0);
}

.cta-button-3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.5);
}

.services-overview,
.why-choose,
.testimonials-section,
.cta-section,
.our-story,
.team-section,
.our-values,
.blog-listing,
.contact-section {
    padding: 80px 0;
}

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

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

.service-card,
.benefit-item,
.value-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover,
.benefit-item:hover,
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.service-card p,
.benefit-item p,
.value-card p {
    font-size: 16px;
    line-height: 1.8;
}

.benefit-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

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

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

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.8;
}

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

.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

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

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

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

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

.footer-column p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

.registration-info {
    margin-top: 10px;
    font-weight: 600;
}

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

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

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

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

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

.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

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

.page-subtitle {
    font-size: 20px;
    opacity: 0.95;
}

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

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

.story-content p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 20px;
}

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

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

.team-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

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

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

.member-bio {
    font-size: 15px;
    line-height: 1.8;
}

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

.blog-post-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.blog-post-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

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

.post-content {
    padding: 30px;
}

.post-title a {
    font-size: 26px;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.post-meta {
    font-size: 14px;
    color: #777;
    margin: 10px 0 15px;
}

.post-excerpt {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

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

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

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

.info-item h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.info-item p {
    font-size: 16px;
    line-height: 1.8;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

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

.submit-btn-3d {
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    transition: var(--transition);
}

.submit-btn-3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.5);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

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

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

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

.modal-content p {
    font-size: 16px;
    margin-bottom: 30px;
}

.close-modal-btn {
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

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

.post-single {
    padding: 60px 0;
}

.post-header-section {
    max-width: 900px;
    margin: 0 auto 40px;
}

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

.post-date {
    font-size: 16px;
    color: #777;
    margin-bottom: 30px;
}

.post-featured-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 40px;
}

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

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

.post-body-content p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.post-footer-nav {
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.back-to-blog-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .cookie-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons-block {
        flex-direction: column;
        width: 100%;
    }

    .btn-cookie-accept,
    .btn-cookie-decline {
        width: 100%;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

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

    .hero-heading {
        font-size: 32px;
    }

    .hero-subtext {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .services-grid,
    .benefits-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

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

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

    .post-main-title {
        font-size: 28px;
    }

    .post-body-content h2 {
        font-size: 24px;
    }

    .post-body-content p {
        font-size: 16px;
    }
}