/* Base Styles */
:root {
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --accent-color: #ff006e;
    --dark-color: #14213d;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #6c757d;
    --success-color: #06d6a0;
    --warning-color: #ffbe0b;
    --danger-color: #ff5a5f;
    --border-color: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --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: #fafafa;
}

.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(--secondary-color);
}

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

ul {
    list-style: none;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.15rem;
    font-weight: 300;
}

.text-center {
    text-align: center;
}

.center {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

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

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

.btn-primary:hover {
    background-color: #2979ff;
    color: white;
}

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

.btn-secondary:hover {
    background-color: #722be0;
    color: white;
}

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

.btn-outline:hover {
    background-color: var(--border-color);
    color: var(--text-color);
}

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

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

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
}

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

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

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

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

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

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

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

/* Slider */
.slider-section {
    padding: 4rem 0;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    box-shadow: var(--shadow);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.slide-content h3 {
    margin-bottom: 0.5rem;
    color: white;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

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

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

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

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

/* Terminology Section */
.terminology {
    padding: 4rem 0;
}

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

.term {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.term h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Recent Posts Section */
.recent-posts {
    padding: 4rem 0;
    background-color: var(--light-color);
}

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

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

.post-card:hover {
    transform: translateY(-10px);
}

.post-image {
    height: 200px;
}

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    margin-bottom: 0.5rem;
}

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

/* Blog Section */
.blog-section {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

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

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

.blog-image {
    height: 100%;
}

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

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    margin-bottom: 1rem;
}

.blog-meta span {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-right: 1.5rem;
}

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

/* Blog Post */
.page-header {
    background: linear-gradient(to right, var(--dark-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    text-align: center;
}

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

.blog-post {
    padding: 4rem 0;
}

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

.post-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.post-meta span {
    margin-right: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

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

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

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

.post-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

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

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

.post-tags {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.post-tags span {
    margin-right: 1rem;
    font-weight: 600;
}

.post-tags a {
    background-color: var(--light-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

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

.post-share {
    margin-top: 2rem;
    display: flex;
    align-items: center;
}

.post-share span {
    margin-right: 1rem;
    font-weight: 600;
}

.post-share a {
    background-color: var(--light-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.5rem;
}

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

.related-posts {
    margin-top: 4rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

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

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

.related-card h4 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.1rem;
}

.related-card a {
    display: inline-block;
    padding: 0 1rem 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

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

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

.values-list {
    margin-top: 2rem;
}

.values-list li {
    display: flex;
    margin-bottom: 1.5rem;
}

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

.value-content h3 {
    margin-bottom: 0.5rem;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

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

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

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

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

.team-card h3 {
    margin: 1.5rem 0 0.5rem;
}

.team-card p {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

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

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

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

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

/* Testimonials */
.testimonials {
    padding: 4rem 0;
}

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

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

.testimonial-quote {
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-card p {
    margin: 1.5rem 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-buttons .btn-secondary {
    background-color: white;
    color: var(--primary-color);
}

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

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

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

.info-content h3 {
    margin-bottom: 0.5rem;
}

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

.social-contact {
    margin-top: 2rem;
}

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

.social-icons {
    display: flex;
    gap: 1rem;
}

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

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

.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

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

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

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

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

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

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
}

.faq-container {
    margin-top: 2rem;
}

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

.faq-question {
    padding: 1.5rem;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

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

.faq-toggle {
    transition: var(--transition);
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 1000px;
}

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

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

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

.modal-icon {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-content p {
    margin-bottom: 2rem;
}

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

.cookie-content {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.cookie-more {
    color: var(--text-light);
    text-decoration: underline;
}

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

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

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

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

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

.footer-links ul li a,
.footer-legal ul li a {
    color: #ccc;
}

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

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

.footer-contact p svg {
    margin-right: 0.75rem;
}

.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: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #ccc;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .slide img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .blog-card {
        grid-template-columns: 1fr;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 300px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .slide img {
        height: 350px;
    }
}

@media (max-width: 576px) {
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        z-index: 1001;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 2rem;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .overlay.active {
        display: block;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .slide img {
        height: 250px;
    }
    
    .slide-content {
        padding: 1rem;
    }
    
    .slide-content h3 {
        font-size: 1.2rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}
