/* General Styles */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --accent-color: #FF5722;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --text-color: #212529;
    --link-color: #0056b3;
    --border-radius: 4px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

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

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

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.section-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

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

.btn-primary:hover {
    background-color: #3d8b3f;
    color: white;
}

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

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

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

.header.scrolled {
    padding: 10px 0;
}

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

.logo {
    max-width: 180px;
}

.logo img {
    max-height: 40px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

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

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

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

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

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

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background-color: var(--light-color);
}

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

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #ffffff;
}

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

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

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

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

.service-card p {
    color: var(--gray-color);
}

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

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

.about-content {
    flex: 1;
    padding-right: 50px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: #ffffff;
}

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

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

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

.team-member-image {
    height: 220px;
    overflow: hidden;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-image img, 
.team-member-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.team-member p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

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

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin: 0 -15px;
    padding-bottom: 30px;
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 20px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 20px;
}

.testimonial {
    scroll-snap-align: start;
    min-width: calc(50% - 30px);
    margin: 0 15px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
}

.testimonial-image {
    min-width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-image img,
.testimonial-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-content h4 {
    margin-bottom: 5px;
}

.company {
    color: var(--gray-color);
    font-size: 0.9rem;
}

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

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

.blog-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
    background-color: var(--light-gray);
}

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

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

.blog-content {
    padding: 20px;
}

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

.blog-content p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.blog-cta {
    text-align: center;
    margin-top: 30px;
}

/* Blog Meta */
.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--gray-color);
}

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

.contact .container {
    display: flex;
    justify-content: space-between;
}

.contact-content {
    flex: 1;
    padding-right: 50px;
}

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

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

.contact-detail svg {
    margin-right: 15px;
    min-width: 24px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--dark-color);
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.contact-form {
    flex: 1;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.contact-image {
    max-width: 100%;
    margin-bottom: 20px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

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

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

.checkbox label {
    font-weight: normal;
    font-size: 0.9rem;
}

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

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

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

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

.footer-logo img {
    max-height: 40px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
}

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

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

.footer-col ul li a:hover,
.footer-col ul li a.active {
    color: var(--primary-color);
    padding-left: 5px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(33, 33, 33, 0.95);
    color: #ffffff;
    z-index: 1001;
    padding: 20px;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
}

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

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

.cookie-content p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

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

.cookie-settings-panel {
    max-width: 1200px;
    margin: 15px auto 0;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: var(--border-radius);
}

.cookie-setting {
    margin-bottom: 15px;
}

.cookie-setting:last-child {
    margin-bottom: 20px;
}

.cookie-setting label {
    font-weight: 600;
    margin-left: 10px;
}

.cookie-setting p {
    margin: 5px 0 0 25px;
    font-size: 0.9rem;
}

.hidden {
    display: none;
}

/* Thank You Page */
.thank-you {
    padding: 140px 0 80px;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 20px;
}

.thank-you-icon svg {
    width: 100px;
    height: 100px;
}

.thank-you-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

/* Blog Page */
.blog-header {
    padding: 140px 0 60px;
    background-color: var(--light-color);
    text-align: center;
}

.blog-articles {
    padding: 60px 0;
}

.blog-articles .blog-card {
    display: flex;
    flex-direction: column;
}

.blog-articles .blog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-articles .blog-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Subscribe Section */
.subscribe {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #ffffff;
}

.subscribe-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.subscribe-content h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.subscribe-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.subscribe-content .btn {
    background-color: #ffffff;
    color: var(--primary-color);
}

.subscribe-content .btn:hover {
    background-color: var(--dark-color);
    color: #ffffff;
}

.subscribe-content .form-group input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.subscribe-content .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.subscribe-content .form-group input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.subscribe-content .checkbox label {
    color: rgba(255, 255, 255, 0.8);
}

.subscribe-content .checkbox a {
    color: #ffffff;
    text-decoration: underline;
}

/* Article Page */
.article {
    padding: 140px 0 60px;
}

.article-header {
    margin-bottom: 30px;
}

.back-to-blog {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--gray-color);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.article-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--light-gray);
}

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

.article-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

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

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

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

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

.article-quote {
    background-color: var(--light-color);
    padding: 20px 30px;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.article-quote blockquote {
    margin: 0;
}

.article-quote p {
    font-style: italic;
    font-size: 1.1rem;
}

.article-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    color: var(--gray-color);
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-share span {
    color: var(--gray-color);
}

.article-share a {
    color: var(--gray-color);
    transition: var(--transition);
}

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

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.article-tags span {
    color: var(--gray-color);
}

.article-tags a {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--light-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gray-color);
    transition: var(--transition);
}

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

.related-articles {
    padding: 60px 0;
    background-color: var(--light-color);
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Legal Pages */
.legal-content {
    padding: 140px 0 80px;
}

.legal-content h1 {
    margin-bottom: 10px;
}

.last-updated {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.legal-toc {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

.legal-toc ol {
    margin-left: 20px;
}

.legal-toc li {
    margin-bottom: 10px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    margin-top: 2rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.legal-section h3 {
    margin-top: 1.5rem;
}

.address-block {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookie-table th, 
.cookie-table td {
    border: 1px solid var(--light-gray);
    padding: 10px;
    text-align: left;
}

.cookie-table th {
    background-color: var(--light-color);
    font-weight: 600;
}

.cookie-table tr:nth-child(even) {
    background-color: var(--light-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container,
    .about .container,
    .contact .container {
        flex-direction: column;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .testimonial {
        min-width: calc(100% - 30px);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        height: 0;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.open {
        height: auto;
        padding: 20px 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    .thank-you-buttons {
        flex-direction: column;
    }
}
