/* Base Styles */
:root {
    --primary-color: #4a90e2;
    --primary-dark: #3a7bc8;
    --secondary-color: #34c759;
    --accent-color: #ff9500;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-secondary: #666;
    --gray-color: #e9ecef;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --error-color: #dc3545;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Dark Mode Variables */
    --dark-bg: #1a1a2e;
    --dark-card-bg: #16213e;
    --dark-text: #e6e6e6;
    --dark-border: #30334a;
    --dark-accent: #0f3460;
}

* {
    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(--light-color);
    transition: var(--transition);
}

/* Dark Mode */
body.dark-mode {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

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

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

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

ul {
    list-style: none;
}

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

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

body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5, 
body.dark-mode h6 {
    color: var(--dark-text);
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 60px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

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

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

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

body.dark-mode .btn.primary {
    background-color: #3a7bc8;
}

body.dark-mode .btn.secondary {
    background-color: #455a64;
}

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

body.dark-mode header {
    background-color: var(--dark-card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

body.dark-mode nav ul li a {
    color: var(--dark-text);
}

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

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

.theme-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 20px;
    position: relative;
    width: 50px;
    height: 26px;
    background-color: #ccc;
    border-radius: 13px;
    transition: var(--transition);
}

.theme-toggle span {
    position: absolute;
    font-size: 18px;
    transition: var(--transition);
}

.theme-toggle span:first-child {
    left: 5px;
}

.theme-toggle span:last-child {
    right: 5px;
}

body.dark-mode .theme-toggle {
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4a90e2 0%, #34c759 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/pattern.png');
    opacity: 0.1;
}

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

.hero h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #4a90e2 0%, #34c759 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/pattern.png');
    opacity: 0.1;
}

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

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

/* Featured Posts Section */
.featured-posts {
    padding: 80px 0;
    background-color: var(--light-color);
}

body.dark-mode .featured-posts {
    background-color: var(--dark-bg);
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

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

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

body.dark-mode .post-card {
    background-color: var(--dark-card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.post-image {
    height: 200px;
    overflow: hidden;
}

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

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

.post-content {
    padding: 20px;
}

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

.post-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

body.dark-mode .post-content p {
    color: #b0b0b0;
}

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

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

.read-more:hover::after {
    margin-left: 10px;
}

.view-all {
    text-align: center;
    margin-top: 20px;
}

/* Services Section */
.services {
    background-color: white;
    padding: 80px 0;
}

body.dark-mode .services {
    background-color: var(--dark-card-bg);
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

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

.service-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

body.dark-mode .service-card {
    background-color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.service-card .icon {
    margin-bottom: 20px;
}

.service-card .icon svg {
    width: 60px;
    height: 60px;
    fill: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-secondary);
}

body.dark-mode .service-card p {
    color: #b0b0b0;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

body.dark-mode .newsletter {
    background-color: var(--dark-accent);
}

.newsletter h2 {
    color: white;
    margin-bottom: 15px;
}

.newsletter p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.8);
}

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

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 15px 30px;
    border: none;
    border-radius: 0 5px 5px 0;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

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

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

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

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

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p .icon {
    margin-right: 10px;
}

.footer-social {
    text-align: center;
    margin-bottom: 30px;
}

.footer-social h3 {
    color: white;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

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

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

.social-icons svg {
    fill: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Blog Page Styles */
.blog-content {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.blog-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

body.dark-mode .blog-card {
    background-color: var(--dark-card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 100%;
    overflow: hidden;
}

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

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

.blog-details {
    padding: 30px;
}

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

body.dark-mode .blog-meta {
    color: #b0b0b0;
}

.blog-details h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.blog-details p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

body.dark-mode .blog-details p {
    color: #b0b0b0;
}

/* About Page Styles */
.about-mission {
    padding: 80px 0;
    background-color: white;
}

body.dark-mode .about-mission {
    background-color: var(--dark-card-bg);
}

.mission-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.mission-text h2 {
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.mission-text p {
    margin-bottom: 20px;
}

.mission-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-values {
    padding: 80px 0;
    background-color: var(--light-color);
}

body.dark-mode .about-values {
    background-color: var(--dark-bg);
}

.about-values h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

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

.value-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

body.dark-mode .value-card {
    background-color: var(--dark-card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.value-card .icon {
    margin-bottom: 20px;
}

.value-card .icon svg {
    width: 60px;
    height: 60px;
    fill: var(--primary-color);
}

.value-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.value-card p {
    color: var(--text-secondary);
}

body.dark-mode .value-card p {
    color: #b0b0b0;
}

.team-section {
    padding: 80px 0;
    background-color: white;
}

body.dark-mode .team-section {
    background-color: var(--dark-card-bg);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
}

body.dark-mode .team-intro {
    color: #b0b0b0;
}

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

.team-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

body.dark-mode .team-card {
    background-color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body.dark-mode .team-card img {
    border-color: var(--dark-card-bg);
}

.team-card h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

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

.team-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

body.dark-mode .team-card p {
    color: #b0b0b0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

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

body.dark-mode .social-links a {
    background-color: var(--dark-accent);
}

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

.social-links svg {
    fill: var(--dark-color);
}

body.dark-mode .social-links svg {
    fill: white;
}

.social-links a:hover svg {
    fill: white;
}

.testimonials {
    padding: 80px 0;
    background-color: var(--light-color);
}

body.dark-mode .testimonials {
    background-color: var(--dark-bg);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    padding: 30px;
    border-radius: 10px;
    background-color: white;
    box-shadow: var(--box-shadow);
    position: relative;
}

body.dark-mode .testimonial {
    background-color: var(--dark-card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: var(--gray-color);
    font-family: Georgia, serif;
    line-height: 1;
}

body.dark-mode .testimonial::before {
    color: var(--dark-accent);
}

.quote {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.author {
    text-align: right;
    font-style: italic;
    color: var(--text-secondary);
}

body.dark-mode .author {
    color: #b0b0b0;
}

/* Contact Page Styles */
.contact-content {
    padding: 60px 0;
    background-color: white;
}

body.dark-mode .contact-content {
    background-color: var(--dark-card-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact-info > p {
    margin-bottom: 30px;
}

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

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

.info-item .icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.info-content h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.info-content p {
    color: var(--text-secondary);
}

body.dark-mode .info-content p {
    color: #b0b0b0;
}

.contact-form-container {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

body.dark-mode .contact-form-container {
    background-color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-form-container h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background-color: var(--dark-card-bg);
    color: var(--dark-text);
    border-color: var(--dark-border);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

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

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}

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

body.dark-mode .map-section {
    background-color: var(--dark-bg);
}

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

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

.faq-section {
    padding: 60px 0;
    background-color: white;
}

body.dark-mode .faq-section {
    background-color: var(--dark-card-bg);
}

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

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

.faq-item {
    padding: 25px;
    border-radius: 10px;
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
}

body.dark-mode .faq-item {
    background-color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.faq-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.faq-item p {
    color: var(--text-secondary);
}

body.dark-mode .faq-item p {
    color: #b0b0b0;
}

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

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

body.dark-mode .modal-content {
    background-color: var(--dark-card-bg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-secondary);
}

.thank-you-message {
    text-align: center;
}

.thank-you-message .success-icon {
    width: 80px;
    height: 80px;
    stroke: var(--success-color);
    margin-bottom: 20px;
}

.thank-you-message h2 {
    margin-bottom: 15px;
}

.thank-you-message p {
    margin-bottom: 25px;
}

/* Blog Post Styles */
.post-content {
    padding: 60px 0;
    background-color: var(--light-color);
}

body.dark-mode .post-content {
    background-color: var(--dark-bg);
}

.blog-post {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

body.dark-mode .blog-post {
    background-color: var(--dark-card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.post-meta {
    display: flex;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

body.dark-mode .post-meta {
    color: #b0b0b0;
}

.featured-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

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

.post-body {
    line-height: 1.8;
}

.post-body h2 {
    font-size: 1.8rem;
    margin: 35px 0 20px;
}

.post-body h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.post-body h4 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
}

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

.post-body ul, 
.post-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-body ul li, 
.post-body ol li {
    margin-bottom: 10px;
}

.post-body ul {
    list-style-type: disc;
}

.post-body ol {
    list-style-type: decimal;
}

.post-tags {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.tags-title {
    margin-right: 15px;
    font-weight: 600;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--gray-color);
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition);
}

body.dark-mode .tag {
    background-color: var(--dark-accent);
    color: var(--dark-text);
}

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

.author-box {
    display: flex;
    align-items: center;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 10px;
    margin-bottom: 40px;
}

body.dark-mode .author-box {
    background-color: var(--dark-bg);
}

.author-avatar {
    margin-right: 20px;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    margin-bottom: 10px;
}

.author-info p {
    color: var(--text-secondary);
}

body.dark-mode .author-info p {
    color: #b0b0b0;
}

.share-post {
    margin-bottom: 40px;
}

.share-post h3 {
    margin-bottom: 15px;
}

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

.share-btn {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

.share-btn svg {
    margin-right: 10px;
    fill: white;
}

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

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

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

.share-btn:hover {
    opacity: 0.9;
    color: white;
}

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

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

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

body.dark-mode .related-post {
    background-color: var(--dark-card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.related-post h3 {
    padding: 15px 20px 5px;
    font-size: 1.3rem;
}

.related-post p {
    padding: 0 20px 20px;
    color: var(--text-secondary);
}

body.dark-mode .related-post p {
    color: #b0b0b0;
}

.disclaimer-box {
    background-color: rgba(255, 149, 0, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

body.dark-mode .disclaimer-box {
    background-color: rgba(255, 149, 0, 0.05);
}

.disclaimer-box h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.disclaimer-box p {
    margin-bottom: 0;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

body.dark-mode .cookie-consent {
    background-color: var(--dark-card-bg);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.cookie-content p {
    flex: 1;
    margin-right: 20px;
    margin-bottom: 10px;
}

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

.cookie-policy {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Timer */
.timer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

body.dark-mode .timer-container {
    background-color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.timer-container p {
    margin-bottom: 10px;
    font-weight: 600;
}

#countdown-timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

#countdown-timer span {
    display: inline-block;
    padding: 5px;
    margin: 0 2px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    min-width: 40px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.7rem;
    }
    
    .blog-card {
        grid-template-columns: 1fr;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 5px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .social-share {
        flex-direction: column;
    }
}
