/* Base Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #ff6b6b;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --transition: all 0.3s ease;
}

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

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

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

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

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

a:hover {
    color: #0056b3;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: #0056b3;
    color: white;
}

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

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

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

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

.logo img {
    height: 40px;
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

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

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

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

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

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

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

.font-size-control {
    margin-top: 20px;
}

.font-size-control button {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.font-size-control button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    padding: 30px;
    transition: var(--transition);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

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

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

/* Facts Section */
.facts {
    background-color: var(--light-color);
    padding: 80px 0;
}

.facts h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.facts-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.facts-container h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.facts-container ul {
    padding-left: 20px;
}

.facts-container ul li {
    margin-bottom: 15px;
}

/* Blog Preview Section */
.blog-preview {
    padding: 80px 0;
}

.blog-preview h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.blog-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    overflow: hidden;
    transition: var(--transition);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

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

.blog-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.5rem;
}

.blog-card p {
    padding: 0 20px 20px;
}

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

.center {
    text-align: center;
}

/* Blog List Page */
.blog-list {
    padding: 80px 0;
}

.blog-list h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.blog-list-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Blog Post Page */
.blog-post {
    padding: 80px 0;
}

.blog-post h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.blog-post .meta {
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.blog-post .featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.blog-post-content {
    line-height: 1.8;
}

.blog-post-content p,
.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 20px;
}

.blog-post-content h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
}

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

/* About Page */
.about {
    padding: 80px 0;
}

.about h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.team-section {
    margin-top: 80px;
}

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

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    overflow: hidden;
    transition: var(--transition);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

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

.team-card h3 {
    padding: 20px 20px 5px;
    font-size: 1.5rem;
}

.team-card p {
    padding: 0 20px 20px;
}

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

.contact h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-detail .icon {
    margin-right: 15px;
    margin-top: 5px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

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

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Privacy and Terms Pages */
.privacy,
.terms {
    padding: 80px 0;
}

.privacy h1,
.terms h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.privacy-content,
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.privacy-content h2,
.terms-content h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
}

.privacy-content p,
.terms-content p,
.privacy-content ul,
.terms-content ul {
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

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

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

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

.footer-links ul {
    list-style: none;
}

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

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

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

.footer-contact {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

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

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

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

.footer-social {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

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

.social-icons {
    display: flex;
}

.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%;
    margin-right: 10px;
    color: white;
    transition: var(--transition);
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: white;
    padding: 15px 0;
    z-index: 1001;
    display: none;
}

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

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

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

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

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

.btn-reject {
    background-color: transparent;
    border: 1px solid white;
}

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

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

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

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

.modal .btn {
    margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .feature-card,
    .blog-card,
    .team-card {
        min-width: calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px var(--shadow-color);
        padding: 20px;
        display: none;
        z-index: 1000;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0 0 15px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .feature-card,
    .blog-card,
    .team-card {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .features h2,
    .facts h2,
    .blog-preview h2,
    .about h1,
    .contact h1,
    .privacy h1,
    .terms h1 {
        font-size: 2rem;
    }

    .cookie-content {
        flex-direction: column;
    }
}
