* {
    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: #7f8c8d;
    --dark-overlay: rgba(0, 0, 0, 0.6);
    --transition: all 0.3s ease;
}

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

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

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.primary-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
}

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

.hero-parallax {
    height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-overlay {
    background: var(--dark-overlay);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.1rem;
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.intro-section h2,
.approach-section h2,
.latest-posts h2,
.why-choose h2,
.about-mission h2,
.our-story h2,
.team-section h2,
.values-section h2,
.blog-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro-section p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    color: var(--gray);
}

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

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

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

.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 5rem 0;
}

.section-overlay {
    background: var(--dark-overlay);
    padding: 3rem 0;
}

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

.approach-content {
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.approach-list {
    list-style: none;
    padding: 0;
}

.approach-list li {
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.approach-list li strong {
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

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

.post-card,
.blog-post-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.post-card:hover,
.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.post-card img,
.blog-post-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-content,
.post-details {
    padding: 1.5rem;
}

.post-content h3,
.post-details h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.post-content h3 a,
.post-details h3 a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

.post-content h3 a:hover,
.post-details h3 a:hover {
    color: var(--secondary-color);
}

.post-date {
    display: inline-block;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.post-summary ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.post-summary li {
    margin-bottom: 0.5rem;
}

.read-more,
.read-article-btn {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover,
.read-article-btn:hover {
    color: var(--accent-color);
}

.view-all-container {
    text-align: center;
    margin-top: 3rem;
}

.view-all-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

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

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

.benefit-item {
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
}

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

.page-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero h1 {
    font-size: 3rem;
    color: var(--white);
}

.page-hero p {
    font-size: 1.3rem;
    color: var(--white);
}

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

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

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

.team-member h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.5rem;
}

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

.member-bio {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
}

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

.value-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
}

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

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

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h2,
.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-block {
    margin: 2rem 0;
}

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

.info-note {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

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

.submit-btn {
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.article-hero {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.article-header {
    max-width: 900px;
    margin: 0 auto;
}

.article-header h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: var(--white);
    font-size: 1rem;
}

.read-time {
    color: var(--white);
}

.article-content {
    background: var(--white);
}

.article-content .content-wrapper {
    max-width: 800px;
}

.lead-paragraph {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: 300;
}

.article-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1rem;
}

.article-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.article-content h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

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

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

.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

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

.registration-info {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    padding: 2rem;
    z-index: 10000;
    display: none;
}

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

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

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

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

.privacy-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
}

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

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

.close-modal {
    color: var(--gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

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

.modal-btn {
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

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

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

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

    .hero-content p {
        font-size: 1.2rem;
    }

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

    .article-header h1 {
        font-size: 2rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .parallax-section,
    .hero-parallax {
        background-attachment: scroll;
    }
}