/* Base Styles */
:root {
    --primary-color: #3a86ff;
    --secondary-color: #4361ee;
    --accent-color: #ef476f;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --grey-color: #6c757d;
    --light-grey: #e9ecef;
    --success-color: #06d6a0;
    --warning-color: #ffd166;
    --danger-color: #ef476f;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
    --border-radius: 5px;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
}

.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;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
    border: none;
    font-size: 16px;
}

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

.primary-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

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

nav ul {
    display: flex;
}

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

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 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);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.typewriter {
    overflow: hidden;
    border-right: 0.15em solid var(--primary-color);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.15em;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--grey-color);
}

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

.features h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

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

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

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

.feature-card .icon svg {
    width: 50px;
    height: 50px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Latest Posts Section */
.latest-posts h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

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

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

.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.1);
}

.post-content {
    padding: 20px;
}

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

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

.read-more span {
    display: inline-block;
    transition: var(--transition);
}

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

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

/* Newsletter Section */
.newsletter {
    background-color: var(--light-color);
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 700px;
    margin: 0 auto 30px;
}

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

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--light-grey);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 16px;
}

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

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 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: 20px;
}

.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: var(--light-grey);
}

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

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.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(-5px);
}

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

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cookie-buttons .btn {
    padding: 8px 15px;
    font-size: 14px;
}

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

.customize-btn {
    background-color: var(--light-grey);
    color: var(--dark-color);
}

.reject-btn {
    background-color: var(--light-grey);
    color: var(--dark-color);
}

/* Blog Page Styles */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
}

.blog-content {
    padding: 80px 0;
}

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

.blog-post {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.blog-post .post-image {
    height: 300px;
}

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

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

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

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

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

.mission-values {
    padding-top: 50px;
}

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

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

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

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

.team {
    background-color: var(--light-color);
}

.team h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

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

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

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

.team-member h3 {
    margin: 20px 0 5px;
}

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

.team-member p:nth-child(3) {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-member .social-icons {
    justify-content: center;
    margin: 0 0 20px;
}

.cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.cta h2,
.cta p {
    color: white;
}

.cta .btn {
    background-color: white;
    color: var(--primary-color);
    margin-top: 20px;
}

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

/* Contact Page Styles */
.contact-content {
    padding: 80px 0;
}

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

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

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

.info-item .icon {
    margin-right: 20px;
    color: var(--primary-color);
}

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

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

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

.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 15px;
    border: 1px solid var(--light-grey);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

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

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

.checkbox-container input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.contact-form button {
    width: 100%;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: var(--border-radius);
    max-width: 500px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-body {
    text-align: center;
    padding: 30px 20px;
}

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

.modal-body h2 {
    margin-bottom: 15px;
}

.modal-body .btn {
    margin-top: 20px;
}

/* Summary Section */
.summary {
    background-color: var(--light-color);
    padding: 50px 0;
    text-align: center;
}

.summary h2 {
    margin-bottom: 20px;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 130px 0 60px;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-text {
        order: 2;
    }
}

@media (max-width: 768px) {
    header nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: white;
        padding: 20px;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }
    
    header nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .feature-grid,
    .post-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .feature-card,
    .post-card,
    .value-card,
    .team-member {
        padding: 20px;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-item .icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
