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

:root {
    --primary-color: #1a5490;
    --secondary-color: #2c7dbb;
    --accent-color: #ff6b35;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

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

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

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

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

.logo-section img {
    border-radius: 8px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
}

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

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

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

.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

.cta-button {
    display: inline-block;
    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;
}

.cta-button:hover {
    background-color: #e55a2b;
}

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

.story-intro {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.story-intro h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.story-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.story-box p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.calculator-section {
    padding: 4rem 0;
}

.calculator-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.calculator-section > .content-wrapper > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.calculator-box {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.calc-input-group {
    margin-bottom: 1.5rem;
}

.calc-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.calc-input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.calc-button {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.calc-result {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 5px;
    display: none;
}

.calc-result.show {
    display: block;
}

.features-grid {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.features-grid h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

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

.feature-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.recent-posts {
    padding: 4rem 0;
}

.recent-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.post-preview-card {
    background-color: var(--background-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.post-preview-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.post-preview-card p {
    padding: 0 1.5rem;
    color: var(--text-light);
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1.5rem 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.view-all-btn {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

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

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

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.blog-content {
    padding: 4rem 0;
}

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

.blog-post-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

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

.post-content {
    padding: 1.5rem;
}

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

.post-content h2 {
    margin-bottom: 1rem;
}

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

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

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

.about-intro {
    padding: 4rem 0;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.team-section {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

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

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

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

.team-member-card h3 {
    padding: 1.5rem 1rem 0.5rem;
    color: var(--primary-color);
}

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

.member-bio {
    padding: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.values-section {
    padding: 4rem 0;
}

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

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

.value-box {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

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

.contact-section {
    padding: 4rem 0;
}

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

.contact-info-box {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 8px;
}

.contact-info-box h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

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

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

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

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

.map-section {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.map-placeholder {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    color: var(--text-light);
}

.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;
    justify-content: center;
    align-items: center;
}

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

.modal-content {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    max-width: 500px;
    text-align: center;
}

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

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

.post-article {
    margin-bottom: 3rem;
}

.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: 0 auto;
    padding: 3rem 20px;
}

.post-header {
    margin-bottom: 3rem;
}

.post-header .post-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.post-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

.post-body h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.post-navigation a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

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

.site-footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

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

.footer-column p,
.footer-column a {
    color: #b0b0b0;
    line-height: 1.8;
}

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #444;
    color: #b0b0b0;
}

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

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

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

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

.cookie-content p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

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

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

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

.cookie-customize {
    background-color: var(--text-light);
    color: var(--white);
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .primary-nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .about-content-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}