/* Base Styles */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background-color: #ffffff;
    --background-alt: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --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);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

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

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

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

ul {
    list-style: none;
}

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

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

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

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

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

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

.center {
    text-align: center;
    margin: 30px 0;
}

/* Custom List Styles */
.custom-list {
    padding-left: 20px;
    margin-bottom: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.custom-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
}

/* Header Styles */
header {
    background-color: var(--background-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

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

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Posts Section */
.featured-posts {
    padding: 80px 0;
}

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

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

.post-card {
    background-color: var(--background-color);
    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-image {
    height: 200px;
    overflow: hidden;
}

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

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

.post-content {
    padding: 20px;
}

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

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

/* Why Us Section */
.why-us {
    background-color: var(--background-alt);
    padding: 80px 0;
}

.why-us h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

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

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

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

.icon {
    width: 60px;
    height: 60px;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.feature h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

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

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

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

.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;
    background-color: var(--accent-color);
}

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

/* Footer Styles */
footer {
    background-color: #1f2937;
    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: #d1d5db;
}

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

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

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

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #d1d5db;
}

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

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

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

.cookie-more-info {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
}

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

.blog-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-post {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-post .post-image {
    height: 100%;
}

.blog-post .post-content {
    padding: 30px;
}

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

.post-category {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 20px;
}

.post-date {
    display: flex;
    align-items: center;
}

.blog-sidebar {
    margin-top: 60px;
}

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

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

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post {
    display: flex;
    gap: 15px;
}

.popular-post img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.popular-post h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.popular-post span {
    font-size: 0.8rem;
    color: var(--text-light);
}

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

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

@media (min-width: 768px) {
    .blog-main .container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }
    
    .blog-sidebar {
        margin-top: 0;
    }
}

/* Single Post Styles */
.post-main {
    padding: 60px 0;
}

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

.post-header {
    text-align: center;
    padding: 40px 20px;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.post-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.post-featured-image {
    height: 400px;
}

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

.post-content {
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

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

.post-content h3 {
    font-size: 1.4rem;
    margin: 25px 0 15px;
}

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

.post-highlight {
    background-color: rgba(79, 70, 229, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-highlight p {
    margin-bottom: 0;
    font-style: italic;
}

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

.post-tags span {
    color: var(--text-light);
}

.post-tags a {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 0 40px;
}

.post-share span {
    color: var(--text-light);
}

.post-share a {
    background-color: #f3f4f6;
    color: var(--text-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
    padding: 20px 40px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.post-nav-prev, .post-nav-next {
    padding: 10px;
}

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

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

.post-navigation p {
    font-weight: 500;
}

.related-posts {
    padding: 40px;
}

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

/* Contact Page Styles */
.contact-section {
    padding: 60px 0;
}

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

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

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

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

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

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

.contact-item h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.social-contact {
    margin-top: 30px;
}

.social-contact h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

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

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 500;
}

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

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

.map-section {
    padding: 60px 0;
}

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

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

.map-image {
    width: 100%;
    height: 100%;
    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.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--background-color);
    padding: 30px;
    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: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.modal p {
    margin-bottom: 25px;
    color: var(--text-light);
}

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

.close-btn:hover {
    background-color: #0d9669;
}

/* About Page Styles */
.about-intro {
    padding: 60px 0;
}

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

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 3fr 2fr;
    }
}

.about-text {
    padding: 20px;
}

.about-text h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

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

.about-image {
    height: 100%;
    min-height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

.our-values {
    padding: 60px 0;
    background-color: var(--background-alt);
}

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

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

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

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

.value-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.team-section {
    padding: 60px 0;
}

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

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

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

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

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

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

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

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

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

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

.testimonials {
    padding: 60px 0;
    background-color: var(--background-alt);
}

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

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

.testimonial {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.testimonial p {
    margin-bottom: 20px;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .blog-post .post-image {
        height: 200px;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-nav-next {
        text-align: left;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
}

@media (max-width: 576px) {
    nav ul {
        gap: 15px;
    }
    
    .post-header h1 {
        font-size: 1.8rem;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-featured-image {
        height: 250px;
    }
}
