/* Global Styles */
:root {
    --primary-color: #ff4c29;
    --primary-hover: #ff6b47;
    --secondary-color: #2c2c4c;
    --dark-color: #1c1c2e;
    --light-color: #f9f9f9;
    --text-color: #333;
    --text-light: #777;
    --border-color: #eaeaea;
    --card-bg: #ffffff;
    --footer-color: #212130;
    --header-height: 80px;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    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: #f5f5f7;
    text-align: center;
}

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

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

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

ul {
    list-style: none;
}

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

.btn:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(255, 76, 41, 0.3);
}

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

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

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

/* Header Styles */
header {
    background-color: var(--secondary-color);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: var(--header-height);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

nav ul {
    display: flex;
}

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

nav ul li a {
    color: white;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

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

/* Main Content Styles */
main {
    margin-top: var(--header-height);
    padding: 50px 5%;
}

/* Hero Section */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--secondary-color);
    color: white;
}

.hero-content {
    flex: 1;
    padding: 50px;
    min-width: 300px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    overflow: hidden;
}

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

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

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

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

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

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

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

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

.post-card h3 {
    margin: 20px 20px 10px;
    font-size: 1.4rem;
    line-height: 1.4;
}

.post-card p {
    margin: 0 20px 20px;
    color: var(--text-light);
}

.post-card .btn {
    margin: 0 20px 20px;
}

.post-card.small img {
    height: 150px;
}

.post-card.small h4 {
    font-size: 1.2rem;
    margin: 15px 15px 10px;
}

.post-card.large {
    display: flex;
    flex-direction: column;
}

.post-content {
    padding: 20px;
}

.post-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

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

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

.newsletter p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Blog Page Styles */
.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.blog-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.blog-posts {
    margin-bottom: 50px;
}

.blog-sidebar {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.sidebar-widget {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

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

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

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

.sidebar-form input {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

/* About Page Styles */
.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.about-mission {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.mission-content {
    flex: 1;
    min-width: 300px;
}

.mission-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

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

.mission-image {
    flex: 1;
    min-width: 300px;
}

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

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

.team-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

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

.team-member {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.team-member h3 {
    margin: 20px 0 5px;
    font-size: 1.5rem;
}

.team-member p {
    padding: 0 20px;
    margin-bottom: 15px;
    color: var(--text-light);
}

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

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

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

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

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

.values-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

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

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

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.value-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Contact Page Styles */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

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

.contact-info {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

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

.info-icon {
    margin-right: 15px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

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

.social-connect h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-form-container {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

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

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

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

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
}

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

.map-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

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

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

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

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

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

.modal-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 30px;
}

.close-btn {
    min-width: 120px;
}

/* Blog Post Styles */
.post-content {
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

.post-meta span {
    margin: 0 10px;
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

.post-body {
    margin-bottom: 40px;
    text-align: left;
}

.post-body p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

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

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

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

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

.post-image {
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

.post-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.post-tags span {
    font-weight: 600;
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    margin: 5px;
    padding: 5px 12px;
    background-color: #f0f0f0;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

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

.related-posts h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.post-comments {
    margin-bottom: 50px;
}

.post-comments h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.comment-form {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.comment-form h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* Footer Styles */
footer {
    background-color: var(--footer-color);
    color: white;
    padding: 60px 5% 30px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 1.4rem;
    font-weight: 600;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links ul li a {
    color: #bbb;
    transition: var(--transition);
}

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

.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-social h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #bbb;
    margin-bottom: 10px;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

.cookie-policy {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cookie-policy a {
    color: white;
    text-decoration: underline;
}

.cookie-policy a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 20px 5%;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    nav ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    main {
        margin-top: 150px;
        padding: 30px 5%;
    }
    
    .hero-content {
        padding: 30px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .newsletter {
        padding: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        margin-bottom: 15px;
        border-radius: var(--border-radius);
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .team-grid, .values-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .post-header h2 {
        font-size: 1.8rem;
    }
    
    .about-header h2, .contact-header h2 {
        font-size: 2rem;
    }
    
    .featured-posts h2 {
        font-size: 1.8rem;
    }
    
    .post-card h3 {
        font-size: 1.2rem;
    }
}

/* Button Hover Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn:hover::after {
    transform: translateX(0);
}
