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

:root {
    --primary-color: #2c5f8d;
    --secondary-color: #4a90c9;
    --accent-color: #f39c12;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

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

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

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

.main-header .container-wrap {
    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;
}

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

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

.primary-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

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

.hero-banner {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 60px 20px;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    padding-right: 40px;
}

.hero-banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.cta-button, .cta-button-secondary {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent-color);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover, .cta-button-secondary:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.intro-section, .services-overview, .values-section, .team-section, .cta-section, .cta-about {
    padding: 80px 0;
}

.intro-section {
    background-color: var(--bg-light);
    text-align: center;
}

.intro-section h2, .services-overview h2, .values-section h2, .team-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.intro-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
}

.features-grid {
    padding: 80px 0;
}

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

.feature-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

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

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

.service-image, .story-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.services-list {
    list-style: none;
    margin-top: 20px;
}

.services-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

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

.testimonials-section {
    background-color: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}

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

.testimonial-box {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.testimonial-box p {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text-light);
}

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

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

.cta-section h2 {
    color: var(--bg-white);
}

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

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

.about-story {
    padding: 80px 0;
}

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

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

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

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

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

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

.team-member {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

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

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

.member-role {
    padding: 0 20px;
    color: var(--accent-color);
    font-weight: 600;
}

.team-member p {
    padding: 10px 20px 20px;
    color: var(--text-light);
}

.blog-listing {
    padding: 80px 0;
}

.blog-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

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

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

.blog-content {
    padding: 30px;
}

.blog-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.blog-content h2 a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.blog-content h2 a:hover {
    color: var(--primary-color);
}

.blog-meta {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 14px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}

.contact-section {
    padding: 80px 0;
}

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

.info-block {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 32px;
}

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

.info-block a {
    color: var(--text-dark);
    text-decoration: none;
}

.registration-info {
    margin-top: 30px;
    color: var(--text-light);
    font-size: 14px;
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

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

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

.form-group textarea {
    resize: vertical;
}

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

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

.map-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.map-placeholder {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.map-image {
    width: 100%;
    display: block;
}

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

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

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

.modal-btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

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

.post-header-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 0 40px;
}

.post-header-section h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.post-metadata {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0.9;
}

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

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

.post-content-wrapper {
    padding: 60px 0;
}

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

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

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

.post-body ul {
    margin: 20px 0 20px 40px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-navigation {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.post-navigation a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.site-footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 60px 0 20px;
}

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

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--bg-white);
}

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

.registration-number {
    font-size: 14px;
    margin-top: 10px;
    opacity: 0.7;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.7;
}

.page-number {
    font-size: 14px;
}

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

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

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

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

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

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

.customize {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

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

.cookie-policy-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
}

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

    .primary-nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-banner {
        min-height: 400px;
    }

    .hero-banner h1 {
        font-size: 32px;
    }

    .hero-image {
        display: none;
    }

    .services-content,
    .story-content,
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    .blog-image {
        height: 250px;
    }

    .post-header-section h1 {
        font-size: 28px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}