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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
}

body .article-header {
    padding: 160px 0 0px;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #359BC3 0%, #4FADCF 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: bold;
    text-transform: lowercase;
    cursor: pointer;
}


.logo-img {
    height: 110px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    cursor: pointer;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
/*--    background-image: url('https://foama.at/images/xfoama_logo.png.pagespeed.ic.MZv1XFRk4F.png'); --*/
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-arrow {
    display: none; /* Hide the CSS arrow since we're using the actual logo */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
    opacity: 0.8;
    text-decoration: underline;
}

.cta-button {
    background: #d9727a;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.cta-button:hover {
    background: #c65d66;
    transform: translateY(-2px);
}





/* Hamburger Menu Styles */ /* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #359BC3 0%, #4FADCF 100%);
    z-index: 999;
    padding-top: 100px;
}
.mobile-nav.active {
    display: block;
}
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 2rem;
}
.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: opacity 0.3s;
}
.mobile-nav-links a:hover, .mobile-nav-links a.active {
    opacity: 0.8;
}
.mobile-cta {
    margin-top: 2rem;
}

/* end of mobile hamburger menu */ /* end of mobile hamburger menu */




/* Main Content */
/*main {
    margin-top: 280px;
}*/

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #359BC3 0%, #4FADCF 100%);
    color: white;
    padding: 280px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite linear;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    z-index: 10;
    position: relative;
}

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

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

.primary-cta {
    background: #d9727a;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.primary-cta:hover {
    background: #c65d66;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.secondary-cta {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.secondary-cta:hover {
    background: white;
    color: #359BC3;
}

/* Stats Section */
.stats {
    background: #f7fafc;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #359BC3;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #718096;
    font-weight: 500;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f0fdf9 0%, #ecfdf5 100%);
    padding: 150px 0 40px;
    text-align: center;
    margin-top: 80px;
}

.page-title {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #008957;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background: #f7fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #008957;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Layouts */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #46c089;
    transition: transform 0.3s;
}

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

.feature-item h3 {
    color: #008957;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.problem-item {
    background: #fdd8d8;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #d9727a;
}

.problem-item h3 {
    color: #d9727a;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    background: #359BC3;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: #2d3748;
}

/* Results Cards */
.result-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.result-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.result-card h3 {
    color: #359BC3;
    margin-bottom: 1rem;
}

.metric {
    background: #f0fdfa;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    font-weight: 600;
    color: #008957;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

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

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, #359BC3 0%, #4FADCF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This will crop landscape images nicely */
    object-position: center;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-title {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.blog-excerpt {
    color: #4a5568;
    margin-bottom: 1rem;
}

.read-more {
    color: #359BC3;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* CTA Section */
.final-cta {
    background: linear-gradient(135deg, #359BC3 0%, #4FADCF 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    padding: 40px 0;
    text-align: center;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #4FADCF;
}

.footer-section a {
    color: #a0aec0;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: white;
}

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

.modal-content {
    background-color: white;
    margin: 10% auto;   /* Hier Absatnd vom Top regulieren! */
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 85vh; /* Don't exceed 85% of viewport height */
    overflow-y: auto; /* Enable vertical scrolling */
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #a0aec0;
}

.close:hover {
    color: #2d3748;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #359BC3;
}

/* Responsive GENERAL */
@media (max-width: 768px) {
    
    .logo-img {
        height: 60px;
        max-width: 120px;
    }
    
    .nav-links {
        display: none;
    }
    
    .cta-button {
        display: none;
    }
    
     .hamburger {
        display: flex;
    }
    
    body .article-header {
    padding: 120px 0 0px;
    }
    
    .hero {
        padding: 150px 0px 30px !important;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .secondary-cta {
        display: block;
        width: 280px;
        margin: 0.5rem auto;
        text-align: center;
    }
    
    .section-title, .page-title {
        font-size: 2rem;
    }
    
    .feature-grid,
    .stats-grid,
    .steps,
    .result-cards,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
    padding: 60px 0 40px;
    }
    
    .modal-content {
        margin: 5% auto;
        padding: 1.5rem;
        max-height: 90vh;
        max-width: 95%;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .form-group {
        margin-bottom: 0.75rem;
    }
}





.hero .container,
.hero h1,
.hero p,
.hero-cta,
.hero-cta a {
    position: relative;
    z-index: 1;
}


/* ===== TIMELINE STYLES ===== */
/* Timeline styles with foama colors */

.timeline {
    position: relative;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

/* Main timeline line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #359BC3, #4FADCF);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(53, 155, 195, 0.3);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin-bottom: 60px;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
    margin-left: 50%;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 450px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #4FADCF;
}

/* Timeline dots */
.timeline-item::before {
    content: '';
    position: absolute;
    left: auto;
    right: -8px;
    top: 25px;
    width: 16px;
    height: 16px;
    background: #359BC3;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(53, 155, 195, 0.5);
    z-index: 10;
}

.timeline-item:nth-child(even)::before {
    left: -8px;
    right: auto;
}

/* Week number badges */
.week-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #359BC3 0%, #4FADCF 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(53, 155, 195, 0.3);
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748; /* Using your existing text color */
    margin-bottom: 15px;
    line-height: 1.3;
}

.timeline-content p {
    color: #4a5568; /* Using your existing secondary text color */
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Badge container for proper spacing */
.badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.survey-badge {
    display: inline-block;
    background: linear-gradient(135deg, #46c089 0%, #008957 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(70, 192, 137, 0.3);
}

.results-badge {
    display: inline-block;
    background: linear-gradient(135deg, #d9727a 0%, #b85c63 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(217, 114, 122, 0.3);
}

/* Responsive design for timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
        justify-content: flex-start;
        margin-left: 0;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 80px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-item::before {
        left: 22px;
        right: auto;
    }

    .timeline-item:nth-child(even)::before {
        left: 22px;
        right: auto;
    }

    .timeline-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .timeline-content {
        padding: 20px;
    }

    .badges {
        gap: 5px;
    }
}

/* Timeline animation */
.timeline-item {
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== END OF TIMELINE STYLES ===== */






/* Blog Article Specific Styles */ ---------/* Blog Article Specific Styles */ 
.article-header {
    background: linear-gradient(135deg, #359BC3 0%, #4FADCF 100%);
    color: white;
    padding: 120px 0 60px !important;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite linear;
    z-index: 0;
    pointer-events: none;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.article-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.article-date, .article-read-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.article-excerpt {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.article-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 2rem 0;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #2d3748;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

.article-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.5rem;
    color: #359BC3;
}

.article-content h4 {
    font-size: 1.25rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

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

.article-content blockquote {
    background: #f0fdfa;
    border-left: 5px solid #46c089;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

.article-content code {
    background: #f7fafc;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    color: #d9727a;
}

.article-content pre {
    background: #2d3748;
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: white;
}

.article-content img:not(.author-avatar) {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.article-content a {
    color: #359BC3;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.article-content a:hover {
    border-bottom-color: #359BC3;
}

.highlight-box {
    background: linear-gradient(135deg, #f0fdf9 0%, #ecfdf5 100%);
    border: 1px solid #46c089;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-box h3 {
    color: #008957;
    margin-top: 0;
}

.warning-box {
    background: #fdd8d8;
    border: 1px solid #d9727a;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.warning-box h3 {
    color: #d9727a;
    margin-top: 0;
}

.info-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #359BC3;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.info-box h3 {
    color: #359BC3;
    margin-top: 0;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.tag {
    background: #f7fafc;
    color: #4a5568;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.tag:hover {
    background: #359BC3;
    color: white;
    border-color: #359BC3;
}

.article-author {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50% !important;
    object-fit: cover;
    background: linear-gradient(135deg, #359BC3 0%, #4FADCF 100%);
}

.author-details h4 {
    margin: 0 0 0.5rem;
    color: #2d3748;
}

.author-details p {
    margin: 0;
    color: #718096;
    font-size: 0.95rem;
}

.related-articles {
    background: #f7fafc;
    padding: 3rem 0;
    margin-top: 4rem;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2d3748;
}

.breadcrumb {
    padding: 70px 0;
    background: #f7fafc;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.breadcrumb-nav a {
    color: #359BC3;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav span {
    color: #718096;
}

.table-of-contents {
    background: #f7fafc;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 5px solid #359BC3;
}

.table-of-contents h3 {
    margin-top: 0;
    color: #359BC3;
}

.table-of-contents ul {
    list-style: none;
    padding-left: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #4a5568;
    text-decoration: none;
    padding: 0.25rem 0;
    display: block;
    border-radius: 5px;
    transition: all 0.3s;
}

.table-of-contents a:hover {
    color: #359BC3;
    padding-left: 0.5rem;
}

/* Mobile Responsive for Blog Articles */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-excerpt {
        font-size: 1.1rem;
    }
    
    .article-content {
        padding: 0rem 0px; 
        font-size: 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .article-image {
        height: 250px;
        margin: 1rem 0;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
    }
    
    
    
    .breadcrumb-nav {
        flex-wrap: wrap;
    }
}

/* Cookie Consent Banner Styles - Add to your styles.css */

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-text a {
    color: #4FADCF;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
}

.cookie-btn-accept {
    background: #46c089;
    color: white;
}

.cookie-btn-accept:hover {
    background: #008957;
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background: #d9727a;
    color: white;
}

.cookie-btn-decline:hover {
    background: #c65d66;
    transform: translateY(-2px);
}

.cookie-btn-settings {
    background: transparent;
    color: white;
    border: 2px solid #4FADCF;
}

.cookie-btn-settings:hover {
    background: #4FADCF;
    color: white;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
}

.cookie-settings-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-settings-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #718096;
}

.cookie-settings-close:hover {
    color: #2d3748;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.cookie-category h3 {
    margin: 0 0 10px 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.cookie-category p {
    margin: 0 0 15px 0;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: #e2e8f0;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s;
    border: 2px solid #cbd5e0;
    flex-shrink: 0;
}

.toggle-switch.active {
    background: #359BC3;
    border-color: #359BC3;
}

.toggle-switch.disabled {
    background: #46c089;
    border-color: #46c089;
    cursor: not-allowed;
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(30px);
}

.toggle-switch.disabled .toggle-slider {
    transform: translateX(30px);
}

.cookie-settings-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* Responsive Design for Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-btn {
        min-width: 120px;
    }

    .cookie-settings-content {
        margin: 2% auto;
        padding: 20px;
        width: 95%;
    }
}





/* Testimonial Section */
.testimonial-section {
    background: white;
    padding: 80px 0;
}

.testimonial-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-photo {
    flex-shrink: 0;
}

.testimonial-avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(53, 155, 195, 0.25);
    border: 8px solid white;
    transition: transform 0.3s ease;
}

.testimonial-avatar:hover {
    transform: scale(1.02);
}

.testimonial-text {
    flex: 1;
    text-align: left;
}

.testimonial-quote {
    font-size: 2.25rem;
    font-style: italic;
    color: #2d3748;
    margin: 0 0 2rem 0;
    line-height: 1.3;
    position: relative;
    padding-left: 3rem;
    border: none;
    background: none;
    font-weight: 500;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 5rem;
    color: #359BC3;
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    color: #4a5568;
    font-size: 1.2rem;
    padding-left: 3rem;
}

.testimonial-author strong {
    color: #2d3748;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

/* Mobile Responsive for Testimonial */
@media (max-width: 968px) {
    .testimonial-content {
        gap: 3rem;
    }
    
    .testimonial-avatar {
        width: 250px;
        height: 250px;
    }
    
    .testimonial-quote {
        font-size: 1.75rem;
    }
    
    .testimonial-quote::before {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 60px 0;
    }
    
    .testimonial-content {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    
    .testimonial-text {
        text-align: center;
    }
    
    .testimonial-avatar {
        width: 220px;
        height: 220px;
        border-width: 6px;
    }
    
    .testimonial-quote {
        font-size: 1.5rem;
        padding-left: 0;
        text-align: center;
    }
    
    .testimonial-quote::before {
        font-size: 3.5rem;
        top: -15px;
        left: 0;
    }
    
    .testimonial-author {
        padding-left: 0;
    }
}




/* ============================================
   LANGUAGE DROPDOWN
   ============================================ */

.language-dropdown {
    padding: 0.75rem 2rem 0.75rem 1rem;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    background-color: transparent;
    color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 10px;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s;
    min-width: 70px;
}

.language-dropdown:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.language-dropdown:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Style the dropdown options */
.language-dropdown option {
    background: #2d3748;
    color: white;
    padding: 10px;
    font-weight: 600;
}

.language-dropdown option:hover {
    background: #359BC3;
}

/* Desktop nav layout - group language + CTA together on right */
nav.container {
    gap: 1.5rem;
}

/* Create a right-side group for language + CTA button */
nav.container .nav-links {
    margin-right: auto; /* This pushes everything after it to the right */
}

/* Mobile: Adjust positioning */
@media (max-width: 768px) {
    /* Override any space-between and ensure proper flex behavior */
    nav.container {
        justify-content: flex-start; /* Start from left */
    }
    
    /* Logo stays on left, pushes everything else right */
    nav.container .header-logo {
        margin-right: auto;
    }
    
    /* Remove desktop margin rule */
    nav.container .nav-links {
        margin-right: 0;
    }
    
    /* Language dropdown - no extra margins, just small gap to hamburger */
    .language-dropdown {
        margin-left: 0;
        margin-right: 0.5rem;
        min-width: 60px;
        padding: 0.5rem 1.75rem 0.5rem 0.75rem;
    }
    
    /* Hamburger - ensure it's last */
    .hamburger {
        margin-left: 0;
    }
}