/* Base Styles */
:root {
    --primary-color: #0a5ca2;
    --secondary-color: #e74c3c;
    --accent-color: #2ecc71;
    --text-color: #333333;
    --light-text: #666666;
    --lighter-text: #888888;
    --bg-color: #ffffff;
    --light-bg: #f5f5f5;
    --border-color: #dddddd;
    --dark-bg: #1a1a1a;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #c0392b;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

button, .button, .cta-button, input[type="submit"] {
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    margin-bottom: 0;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/7.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 6rem 2rem;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.page-banner p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Editor's Note */
.editor-note {
    background-color: #f8f9fa;
    border-left: 5px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
}

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

.editor-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

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

.editor-content div {
    flex: 1;
}

.editor-content p {
    margin-bottom: 0.5rem;
}

.editor-content p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: var(--light-text);
}

/* Main Content Layout */
main {
    padding: 3rem 0;
}

main.container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2.5rem;
}

.post-container {
    padding-top: 2rem;
}

/* Posts Grid */
.posts {
    margin-bottom: 3rem;
}

.post-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

.post-image {
    overflow: hidden;
}

.post-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

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

.read-more {
    display: inline-block;
    font-weight: 600;
    margin-top: 0.5rem;
    color: var(--primary-color);
}

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

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.widget {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
}

.widget h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.widget ul {
    list-style: none;
    margin-bottom: 0;
}

.widget ul li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget ul li a {
    display: block;
    color: var(--text-color);
}

.widget ul li a:hover, .widget ul li a.active {
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem;
    border-radius: 4px;
    font-weight: 600;
}

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

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--text-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Glossary */
.glossary {
    background-color: var(--light-bg);
    padding: 3rem 0;
}

.glossary h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.glossary-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.glossary-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.glossary-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

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

.footer-column h3 {
    color: #fff;
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
}

.footer-column p {
    color: #ccc;
    margin-bottom: 1rem;
}

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

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

.footer-column ul li a {
    color: #ccc;
}

.footer-column ul li a:hover {
    color: #fff;
}

.company-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer .social-links a {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.footer .social-links a:hover {
    background-color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
}

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

.cookie-buttons button {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
}

#acceptCookies {
    background-color: var(--success-color);
    color: white;
}

#customizeCookies {
    background-color: var(--warning-color);
    color: white;
}

#rejectCookies {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.cookie-content a {
    color: #fff;
    text-decoration: underline;
}

/* Individual Post Page */
.post {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    padding: 2rem;
}

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

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-header .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.8rem;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.post-content ul, .post-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.post-image-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.image-caption {
    font-size: 0.9rem;
    color: var(--light-text);
    text-align: center;
    padding: 0.75rem;
    background-color: var(--light-bg);
    margin-bottom: 0;
}

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

.post-tags span {
    font-weight: 600;
    margin-right: 0.5rem;
}

.post-tags a {
    display: inline-block;
    background-color: var(--light-bg);
    color: var(--light-text);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

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

.post-share {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.post-share span {
    font-weight: 600;
}

.related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.related-posts h3 {
    margin-bottom: 1.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-post {
    background: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.related-post h4 {
    padding: 1rem;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/8.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    padding: 4rem 0;
    color: white;
}

.cta-section h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Financing Table */
.financing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.financing-table th, .financing-table td {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    text-align: left;
}

.financing-table th {
    background-color: var(--light-bg);
    font-weight: 600;
}

.financing-table tr:nth-child(even) {
    background-color: var(--light-bg);
}

/* About Page */
.about-intro {
    margin-bottom: 3rem;
}

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

.about-image {
    border-radius: 8px;
    overflow: hidden;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission, .vision {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.team-section {
    margin-bottom: 3rem;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

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

.team-member {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

.team-member img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.team-member h3, .team-member p {
    padding: 0 1.5rem;
}

.team-member h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member .social-links {
    padding: 0 1.5rem 1.5rem;
}

.values-section {
    margin-bottom: 3rem;
}

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

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

.value-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

/* Contact Page */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info h2, .contact-form h2 {
    margin-bottom: 2rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-card p, .info-card a {
    margin-bottom: 0;
    color: var(--light-text);
}

.social-contact {
    margin-top: 2rem;
}

.social-contact h3 {
    margin-bottom: 1rem;
}

.contact-form form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    width: 100%;
    font-size: 1.1rem;
}

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

.map-section {
    margin-bottom: 3rem;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.faq-item p {
    margin-bottom: 0;
}

/* Thank You Modal */
.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-text);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.close-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 1.5rem;
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 991px) {
    main.container {
        grid-template-columns: 1fr;
    }
    
    .post-card {
        grid-template-columns: 1fr;
    }
    
    .post-image img {
        height: 300px;
    }
    
    .sidebar {
        position: static;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin-left: 0;
        margin-right: 1rem;
    }
    
    .hero {
        padding: 5rem 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-header .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .editor-content {
        flex-direction: column;
        text-align: center;
    }
    
    .editor-content img {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.95rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .post {
        padding: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .team-grid, .values-grid, .glossary-grid {
        grid-template-columns: 1fr;
    }
}
