/* Base & Reset */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --accent-color: #8b5cf6;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --gray-light: #e2e8f0;
    --gray-dark: #334155;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --success-color: #10b981;
    --border-radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

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

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

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

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

ul {
    list-style: none;
}

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

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--light-color);
}

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

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

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

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

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

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

nav ul {
    display: flex;
}

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

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

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

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--light-color);
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    color: var(--light-color);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-card .icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Blog Posts Section */
.featured-posts, .blog-posts {
    padding: 5rem 0;
    background-color: var(--gray-light);
}

.featured-posts h2, .blog-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.post-grid.full-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.post-grid.small-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.post-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.post-card .post-content {
    padding: 1.5rem;
}

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

.post-card h3, .post-card h4 {
    margin-bottom: 0.5rem;
}

.post-card p {
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 500;
    color: var(--primary-color);
}

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

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

/* Page Header */
.page-header {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--light-color);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.25rem;
    margin-bottom: 0;
}

/* Blog Post */
.blog-post {
    padding: 3rem 0;
}

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

.post-meta {
    display: flex;
    gap: 1rem;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

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

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

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

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

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-share a {
    color: var(--gray-dark);
    transition: var(--transition);
}

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

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

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

/* About Page */
.about-intro {
    padding: 5rem 0;
}

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

.about-text h2 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.values-list li {
    margin-bottom: 1rem;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.team-member {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--primary-color);
}

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

.team-member p {
    color: var(--gray-color);
}

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

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

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

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

.methodology {
    padding: 5rem 0;
}

.methodology h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.methodology-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.methodology-text ol {
    padding-left: 1.5rem;
}

.methodology-text li {
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-info {
    padding: 5rem 0;
}

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

.contact-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.contact-card .icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

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

.contact-card p {
    margin-bottom: 0.5rem;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.contact-form-section {
    padding: 5rem 0;
    background-color: var(--gray-light);
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

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

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

.map-section {
    padding: 5rem 0;
}

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

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

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

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

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h3::after,
.footer-legal h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 0.75rem;
}

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

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

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-contact .social-icons {
    margin-top: 1.5rem;
    justify-content: flex-start;
}

.footer-contact .social-icons a {
    background-color: var(--gray-dark);
    color: var(--light-color);
}

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

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-dark);
}

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

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

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

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

.cookie-more-info {
    font-size: 0.875rem;
    margin-bottom: 0;
}

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

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    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(--gray-dark);
}

.modal-btn {
    margin-top: 1rem;
}

/* Checklist Section */
.checklist-section {
    padding: 3rem 0;
    background-color: white;
}

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

.checklist {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.checklist-item:last-child {
    margin-bottom: 0;
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.25rem;
}

.checklist-item label {
    font-size: 1.1rem;
}

.spell-check {
    margin-top: 2rem;
    text-align: center;
}

/* Icons */
.icon-location, .icon-phone, .icon-email {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
}

.icon-location::before {
    content: "📍";
}

.icon-phone::before {
    content: "📞";
}

.icon-email::before {
    content: "✉️";
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-content, .methodology-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image, .methodology-image {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
