/* Base Styles */
:root {
    --primary-color: #1e56a0;
    --secondary-color: #163172;
    --accent-color: #f6b93b;
    --text-color: #333;
    --text-light: #777;
    --bg-color: #ffffff;
    --bg-alt-color: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --content-width: 1200px;
    --header-height: 80px;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --primary-color: #3471eb;
    --secondary-color: #2857b9;
    --text-color: #e0e0e0;
    --text-light: #b0b0b0;
    --bg-color: #121212;
    --bg-alt-color: #1e1e1e;
    --border-color: #333;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

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

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

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

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

button, .button {
    cursor: pointer;
    border: none;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 500;
    transition: background-color var(--transition-fast);
}

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

/* Container */
.container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

/* Theme Toggle Switch */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition-normal);
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition-normal);
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
    margin-bottom: 60px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--text-color);
}

/* Main Content */
main {
    padding: 20px 40px 60px;
}

/* Featured Posts Section */
.featured-posts {
    margin-bottom: 60px;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.featured-posts h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

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

.post-card {
    background-color: var(--bg-alt-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    font-weight: 600;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform var(--transition-fast);
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Future Quote Section */
.future-quote {
    background-color: var(--bg-alt-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    margin: 60px 0;
    position: relative;
}

.future-quote blockquote {
    position: relative;
    padding: 20px 40px;
    font-style: italic;
}

.future-quote h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.future-quote p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.future-quote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    text-align: right;
    color: var(--text-light);
}

.future-quote::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    position: absolute;
    top: 20px;
    left: 20px;
    color: rgba(var(--primary-color-rgb), 0.1);
    z-index: 0;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 1rem;
}

.newsletter-form button {
    background-color: var(--accent-color);
    color: var(--text-color);
    font-weight: 600;
    padding: 0 25px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.newsletter-form button:hover {
    background-color: #e0a82e;
}

/* Page Header */
.page-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/2.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Blog Page Styles */
.blog-main {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-filters {
    margin-bottom: 40px;
}

.search-container {
    display: flex;
    max-width: 500px;
    margin: 0 auto 30px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 1rem;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.search-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.blog-card {
    background-color: var(--bg-alt-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-content h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.read-more-btn {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 10px;
    position: relative;
}

.read-more-btn::after {
    content: '→';
    margin-left: 5px;
    transition: transform var(--transition-fast);
}

.read-more-btn:hover::after {
    transform: translateX(5px);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-alt-color);
    color: var(--text-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

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

.pagination-btn:hover:not(.active) {
    background-color: var(--border-color);
}

.pagination-btn.next {
    width: auto;
    padding: 0 15px;
}

/* Individual Blog Post Styles */
.post-container {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post {
    background-color: var(--bg-alt-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.post-header {
    margin-bottom: 30px;
}

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

.post-category {
    color: var(--primary-color);
    font-weight: 600;
}

.post-header h1 {
    font-size: 2.5rem;
    line-height: 1.3;
}

.post-feature-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul, .post-content ol {
    margin-bottom: 25px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    background-color: var(--bg-color);
    margin: 30px 0;
    font-style: italic;
}

.post-content blockquote p {
    margin-bottom: 10px;
}

.post-content blockquote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--text-light);
}

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

.tag-label {
    font-weight: 600;
    color: var(--text-light);
}

.tag {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

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

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

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

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: transform var(--transition-fast);
}

.share-btn:hover {
    transform: translateY(-3px);
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.linkedin {
    background-color: #0077b5;
}

.email {
    background-color: #ea4335;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 60px;
}

.nav-box {
    background-color: var(--bg-alt-color);
    padding: 20px;
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast);
}

.nav-box:hover {
    transform: translateY(-3px);
}

.nav-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.nav-box a {
    font-weight: 600;
}

.nav-box.prev {
    text-align: left;
}

.nav-box.next {
    text-align: right;
}

.related-posts {
    margin-bottom: 60px;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.related-posts h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    background-color: var(--bg-alt-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-fast);
}

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

.related-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-card h3 {
    padding: 15px;
    font-size: 1.1rem;
}

/* About Page Styles */
.about-main {
    max-width: 1200px;
    margin: 0 auto;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

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

.rounded-image {
    border-radius: var(--radius-lg);
}

.about-text h2 {
    margin-bottom: 25px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-box {
    background-color: var(--bg-alt-color);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.our-values {
    margin-bottom: 60px;
}

.our-values h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.our-values h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

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

.value-card {
    background-color: var(--bg-alt-color);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform var(--transition-fast);
}

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

.value-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.team-section {
    margin-bottom: 60px;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.team-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

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

.team-card {
    background-color: var(--bg-alt-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    transition: transform var(--transition-fast);
}

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

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

.team-card h3 {
    margin-top: 20px;
    margin-bottom: 5px;
    padding: 0 20px;
}

.team-card p {
    padding: 0 20px 20px;
    margin-bottom: 0;
}

.team-card p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.partnerships {
    margin-bottom: 60px;
    text-align: center;
}

.partnerships h2 {
    margin-bottom: 15px;
}

.partnerships p {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.partner-logo {
    background-color: var(--bg-alt-color);
    padding: 30px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.partner-logo:hover {
    transform: scale(1.05);
}

.about-future-quote {
    background-color: var(--primary-color);
    color: white;
}

.about-future-quote h2 {
    color: white;
}

.join-us {
    text-align: center;
    margin-bottom: 60px;
}

.join-us h2 {
    margin-bottom: 15px;
}

.join-us p {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Contact Page Styles */
.contact-main {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info h2, .contact-form-container h2 {
    margin-bottom: 30px;
    position: relative;
}

.contact-info h2::after, .contact-form-container h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    margin-top: 10px;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
}

.info-text {
    flex: 1;
}

.info-text h3 {
    margin-bottom: 5px;
}

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

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

.social-icons-large {
    display: flex;
    gap: 15px;
}

.social-icons-large a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--bg-alt-color);
    color: var(--primary-color);
    border-radius: 50%;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.social-icons-large a:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: white;
}

.contact-form-container {
    background-color: var(--bg-alt-color);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form {
    display: grid;
    gap: 20px;
}

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

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    transition: background-color var(--transition-fast);
}

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

.map-section {
    margin-bottom: 60px;
    text-align: center;
}

.map-section h2 {
    margin-bottom: 30px;
}

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

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
}

.map-overlay p {
    margin-bottom: 10px;
}

.faq-section {
    margin-bottom: 60px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.faq-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--bg-alt-color);
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 600;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

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

.popup.show {
    display: flex;
}

.popup-content {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.popup-icon {
    color: var(--success-color);
    margin-bottom: 20px;
}

.popup h2 {
    margin-bottom: 15px;
}

.popup-btn {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
}

/* Footer Styles */
footer {
    background-color: var(--bg-alt-color);
    padding: 60px 40px 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: var(--content-width);
    margin: 0 auto 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    margin: 0;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: var(--text-color);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--bg-color);
    color: var(--primary-color);
    border-radius: 50%;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: bottom var(--transition-normal);
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-content p {
    max-width: 800px;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: background-color var(--transition-fast);
}

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

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

.cookie-btn.customize {
    background-color: var(--bg-alt-color);
    color: var(--text-color);
}

.cookie-btn.customize:hover {
    background-color: var(--border-color);
}

.cookie-btn.reject {
    background-color: var(--error-color);
    color: white;
}

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

.cookie-policy {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 0 20px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links li {
        margin: 0 8px;
    }
    
    main {
        padding: 20px 20px 40px;
    }
    
    .post-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--radius-sm);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: var(--radius-sm);
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .blog-post {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .category-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .post-header h1 {
        font-size: 1.8rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .post-share {
        flex-direction: column;
        align-items: flex-start;
    }
}
