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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --hover-color: #4f46e5;
    --success-color: #10b981;
    --danger-color: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

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

/* Header & Navigation */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-primary {
    padding: 1rem 0;
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

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

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

.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(--primary-color);
}

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

.hero-overlay {
    position: relative;
    z-index: 1;
}

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

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Intro Section */
.intro-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.letter-block,
.overview-block {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.letter-block h2,
.overview-block h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.letter-block p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 12px 0 12px 32px;
    position: relative;
    line-height: 1.6;
}

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

/* Featured Posts & Blog Grid */
.featured-posts,
.blog-content {
    padding: 80px 20px;
}

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

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

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

.post-content {
    padding: 24px;
}

.post-content h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

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

.post-content h3 a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

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

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

/* Services Overview */
.services-overview {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

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

.service-item {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.service-item svg {
    color: var(--primary-color);
    margin-bottom: 16px;
}

.service-item h3 {
    margin-bottom: 12px;
    color: var(--text-color);
}

.service-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Page Headers */
.page-header-blog,
.page-header-about,
.page-header-contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.page-header-blog h1,
.page-header-about h1,
.page-header-contact h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Blog Posts List */
.blog-posts-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-post-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.blog-post-item .post-image {
    flex: 0 0 500px;
}

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

.blog-post-item .post-details {
    flex: 1;
    padding: 32px;
}

.blog-post-item h2 {
    margin-bottom: 16px;
    font-size: 1.8rem;
}

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

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

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta svg {
    width: 16px;
    height: 16px;
}

.post-category {
    background-color: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.btn-read-more {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
}

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

/* About Page */
.about-mission {
    padding: 80px 20px;
}

.mission-content,
.mission-values {
    margin-bottom: 40px;
}

.mission-content h2,
.mission-values h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.mission-values ul {
    list-style: none;
    padding-left: 0;
}

.mission-values li {
    padding: 12px 0;
    line-height: 1.8;
}

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

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

.team-member {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

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

.team-member h3 {
    margin: 20px 0 8px;
    color: var(--text-color);
}

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

.member-bio {
    padding: 0 20px 24px;
    color: var(--text-light);
    line-height: 1.6;
}

.why-choose-us {
    padding: 80px 20px;
}

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

.reason-item {
    text-align: center;
    padding: 24px;
}

.reason-item svg {
    color: var(--primary-color);
    margin-bottom: 16px;
}

.reason-item h3 {
    margin-bottom: 12px;
    color: var(--text-color);
}

.reason-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Page */
.contact-content {
    padding: 80px 20px;
}

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

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

.contact-details {
    margin: 30px 0;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-detail-item h3 {
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.contact-detail-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.social-links-contact {
    margin-top: 40px;
}

.social-links-contact h3 {
    margin-bottom: 16px;
}

.social-links-contact .social-icons {
    display: flex;
    gap: 16px;
}

.social-links-contact .social-icons a {
    color: var(--primary-color);
    transition: color 0.3s;
}

.social-links-contact .social-icons a:hover {
    color: var(--hover-color);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.btn-submit {
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

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

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

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
}

.modal-icon {
    margin-bottom: 20px;
}

.modal-icon svg {
    color: var(--success-color);
}

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

.btn-close-modal {
    margin-top: 24px;
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* Single Post */
.post-single {
    padding-bottom: 80px;
}

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

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

.post-content-wrapper {
    max-width: 900px;
    margin: -100px auto 0;
    position: relative;
    background-color: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

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

.post-meta-info {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.95rem;
}

.post-body {
    line-height: 1.8;
    color: var(--text-color);
}

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

.post-body h3 {
    margin: 1.5rem 0 1rem;
    color: var(--text-color);
    font-size: 1.4rem;
}

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

.post-tags {
    margin: 3rem 0 2rem;
    padding: 1.5rem 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.post-tags span {
    font-weight: 600;
    margin-right: 12px;
}

.post-tags a {
    display: inline-block;
    margin: 4px;
    padding: 6px 12px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-back,
.btn-next {
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-back:hover,
.btn-next:hover {
    background-color: var(--hover-color);
}

/* Footer */
.site-footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 60px 20px 20px;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-icons a {
    color: #d1d5db;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 1500;
    padding: 30px;
}

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

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

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

.cookie-content p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--text-color);
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.cookie-buttons button {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

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

.btn-reject {
    background-color: var(--border-color);
    color: var(--text-color);
}

.btn-reject:hover {
    background-color: #d1d5db;
}

.btn-customize {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-item {
        flex-direction: column;
    }
    
    .blog-post-item .post-image {
        flex: 0 0 300px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .post-content-wrapper {
        margin-top: -50px;
        padding: 30px 20px;
    }
    
    .post-header-info h1 {
        font-size: 1.8rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 12px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .letter-block,
    .overview-block {
        padding: 24px;
    }
}