/* Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --gray-color: #6b7280;
    --light-gray: #e5e7eb;
    --lighter-gray: #f3f4f6;
    --white-color: #ffffff;
    --danger-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', 'Segoe UI', sans-serif;
    --font-secondary: 'Roboto', 'Arial', sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--lighter-gray);
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

.text-right {
    text-align: right;
}

/* Header */
header {
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

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

.navbar {
    display: flex;
    gap: 20px;
}

.navbar li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.navbar li a:hover, 
.navbar li a.active {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

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

.post {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .post {
        flex-direction: row;
    }
}

.post-image {
    position: relative;
    flex: 0 0 100%;
}

@media (min-width: 768px) {
    .post-image {
        flex: 0 0 40%;
    }
}

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

.new-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 0.25rem 0.75rem;
    font-weight: bold;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
}

.post-content {
    padding: 1.5rem;
}

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

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

.read-more:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Single Post */
.single-post {
    margin: 3rem auto;
}

.post-content {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

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

.post-category {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--white-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--gray-color);
    font-size: 0.95rem;
}

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-body h2 {
    margin-top: 2rem;
}

.post-body h3 {
    margin-top: 1.5rem;
}

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

.post-body ul li, 
.post-body ol li {
    margin-bottom: 0.5rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2rem 0;
}

.tag {
    background-color: var(--light-gray);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.post-share {
    border-top: 1px solid var(--light-gray);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.post-share h4 {
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.share-buttons a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    color: var(--white-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

.twitter-share {
    background-color: #1DA1F2;
}

.facebook-share {
    background-color: #4267B2;
}

.linkedin-share {
    background-color: #0e76a8;
}

.share-buttons a:hover {
    opacity: 0.9;
}

.related-posts {
    margin-top: 3rem;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

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

.related-posts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.related-post {
    flex: 1 0 45%;
    min-width: 250px;
}

.related-post img {
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
}

.related-post h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.related-post .post-date {
    color: var(--gray-color);
    font-size: 0.85rem;
}

/* Call to Action */
.cta {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.cta h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 3D Button */
.btn-3d {
    background-color: var(--accent-color);
    color: var(--white-color);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: transform 0.1s ease;
    box-shadow: 0 6px 0 var(--warning-color);
    position: relative;
    top: 0;
}

.btn-3d:hover {
    background-color: #e79609;
    transform: translateY(2px);
    box-shadow: 0 4px 0 var(--warning-color);
}

.btn-3d:active,
.btn-3d.active {
    transform: translateY(6px);
    box-shadow: 0 0 0 var(--warning-color);
}

/* Contact Page */
.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    color: var(--primary-color);
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

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

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

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

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

.contact-form-container {
    flex: 2;
    min-width: 300px;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

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

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

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

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

.contact-form .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form .checkbox input {
    width: auto;
}

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

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
}

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

/* About Page */
.about-section {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 3rem;
}

.mission-list {
    margin-bottom: 2rem;
}

.mission-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.check-icon {
    color: var(--success-color);
    font-weight: bold;
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 2rem;
}

.value-card {
    flex: 1 0 45%;
    min-width: 250px;
    background-color: var(--lighter-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
}

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

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

.team-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.team-card {
    flex: 0 0 calc(33.33% - 20px);
    min-width: 280px;
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    text-align: center;
}

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

.team-card h3 {
    margin: 1rem 0 0.25rem;
}

.team-card > p {
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

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

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.partners-section {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-around;
    align-items: center;
}

.partner {
    text-align: center;
}

.partner-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 3rem;
}

.footer-info,
.footer-contact,
.footer-links,
.footer-social {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

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

.footer-links ul li a,
.footer-social a {
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-social a:hover {
    color: var(--white-color);
}

.footer-social .social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
}

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

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

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
    display: none;
}

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

.cookie-content p {
    margin-bottom: 1rem;
}

.cookie-content a {
    text-decoration: underline;
    display: block;
    margin-top: 0.75rem;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

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

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

.modal-content {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 90%;
    max-width: 500px;
    margin: 10% auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.thank-you-container {
    padding: 3rem 2rem;
    text-align: center;
}

.check-icon {
    width: 60px;
    height: 60px;
    color: var(--success-color);
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-container h1 {
        font-size: 1.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .post {
        flex-direction: column;
    }
    
    .post-image {
        flex: 0 0 100%;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .navbar {
        gap: 5px;
    }
    
    .navbar li a {
        padding: 0.5rem;
    }
    
    .cta {
        padding: 2rem 1rem;
    }
    
    .footer-content > div {
        flex: 0 0 100%;
    }
}
