body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.site-title {
    font-size: clamp(1.25rem, 5vw, 1.8rem);
    color: #343a40;
}

.navbar {
    z-index: 1030;
}

.navbar-brand img {
    max-height: 40px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #555;
    transition: color 0s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007bff;
}

.offcanvas-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.offcanvas-body {
    background-color: #fff;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-image: url('pictures/media/hero-background-image.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 5rem 0;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .btn {
    background-color: #007bff;
    border-color: #007bff;
    font-weight: 600;
    padding: 0.8rem 2rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.hero-section .btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Blog Section Headings */
.blog-section-heading {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #343a40;
    margin-bottom: 3rem;
}

.blog-heading {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #343a40;
}

.blog-subheading {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.featured-article-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.featured-article-card img {
    max-height: 450px;
    object-fit: cover;
    width: 100%;
}

.blog-quote-text {
    color: #555;
    font-style: italic;
}

.blog-quote-author {
    color: #777;
}

.blog-list-item,
.blog-benefit-card,
.blog-social-proof-card,
.blog-comparison-table,
.post-card,
.latest-news-item,
.review-card,
.faq-item,
.contact-form-block {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border-radius: 0.5rem;
    overflow: hidden;
}

.blog-benefit-card .card-title,
.blog-social-proof-card .card-title {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.blog-cta-text {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

.blog-cta-button {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 600;
    padding: 0.8rem 2rem;
}

/* Latest Posts Tabs */
.nav-tabs .nav-link {
    color: #6c757d;
    font-weight: 600;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1.25rem;
    transition: all 0s ease;
}

.nav-tabs .nav-link:hover {
    color: #007bff;
    border-bottom-color: #007bff;
}

.nav-tabs .nav-link.active {
    color: #007bff;
    background-color: transparent;
    border-color: #007bff;
    border-bottom: 2px solid #007bff;
}

.post-card {
    display: flex;
    flex-direction: column;
}

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

.post-title {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    color: #343a40;
}

.post-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Popular Posts Slider */
.popular-posts-slider-wrapper {
    overflow: hidden;
}

.popular-posts-slider {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.popular-posts-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.popular-posts-slider .post-card {
    width: 280px;
    flex-shrink: 0;
}

.slider-nav-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0s ease, box-shadow 0s ease;
}

.slider-nav-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.slider-prev-btn {
    left: 0;
}

.slider-next-btn {
    right: 0;
}

/* Latest News */
.latest-news-item {
    border-bottom: 1px solid #e9ecef;
}

.latest-news-item:last-child {
    border-bottom: none;
}

.news-title {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    color: #343a40;
}

.news-date {
    font-size: 0.9rem;
    color: #6c757d;
}

/* About Us */
.about-us-block {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Reviews */
.review-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.review-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #007bff;
}

.review-name {
    font-weight: 600;
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
}

.review-text {
    font-style: italic;
    color: #555;
}

/* FAQ */
.faq-item {
    margin-bottom: 1rem;
}

.accordion-button {
    font-weight: 600;
    color: #343a40;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.accordion-button:not(.collapsed) {
    color: #007bff;
    background-color: #e7f1ff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-body {
    background-color: #fff;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0 0 0.5rem 0.5rem;
    padding: 1.25rem;
}

/* Contact Form */
.contact-form-block {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-label {
    font-weight: 600;
    color: #495057;
}

.form-control {
    border-radius: 0.3rem;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #555;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #212529 !important;
    color: #f8f9fa;
}

.footer-heading {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    color: #f8f9fa;
}

.footer-link {
    color: #ced4da;
    transition: color 0s ease;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    display: inline-block;
}

.footer-link:hover {
    color: #007bff;
}

.footer-text,
.footer-copyright {
    color: #adb5bd;
    font-size: 0.9rem;
}

.footer .list-unstyled {
    padding-left: 0;
    list-style: none;
}

/* Cookie Consent Modal */
#cookieConsentModal .modal-content {
    border-radius: 0.8rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#cookieConsentModal .modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.5rem;
}

#cookieConsentModal .modal-title {
    font-weight: 600;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

#cookieConsentModal .modal-body {
    padding: 0.5rem 1.5rem 1.5rem;
}

#cookieConsentModal .modal-footer {
    border-top: none;
    padding: 0.5rem 1.5rem 1.5rem;
    justify-content: flex-end;
    gap: 0.5rem;
}

#cookieConsentModal .form-check-label span {
    font-size: 0.85rem;
}

@media (max-width: 1199.98px) {
    .navbar-nav {
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .navbar-nav::-webkit-scrollbar {
        display: none;
    }
    .navbar-toggler {
        display: block;
    }
    .navbar-nav.justify-content-end {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-collapse {
        display: none;
    }
    .offcanvas-body .navbar-nav {
        overflow-x: hidden;
    }
}

@media (max-width: 767.98px) {
    .site-title {
        font-size: 1.25rem;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .blog-section-heading {
        font-size: 1.8rem;
    }
    .blog-heading {
        font-size: 1.8rem;
    }
    .blog-subheading {
        font-size: 1.5rem;
    }
    .blog-quote-text {
        font-size: 1.25rem;
    }
    .blog-benefit-card .card-title,
    .blog-social-proof-card .card-title {
        font-size: 1.1rem;
    }
    .blog-cta-text {
        font-size: 1.1rem;
    }
    .blog-cta-button {
        font-size: 1rem;
    }
    .post-title {
        font-size: 1.1rem;
    }
    .news-title {
        font-size: 1.1rem;
    }
    .review-name {
        font-size: 1.1rem;
    }
    .accordion-button {
        font-size: 1rem;
    }
    .footer-heading .bi {
        display: inline-block;
        transition: transform 0s ease;
    }
    .footer-heading[aria-expanded="true"] .bi {
        transform: rotate(180deg);
    }
    .footer .collapse:not(.show) {
        display: none;
    }
    .footer .collapse.show {
        display: block;
    }
    .footer .list-unstyled {
        padding-left: 1rem;
    }
    .footer .col-6,
    .footer .col-md-4 {
        width: 100%;
    }
    .footer .row > div:not(:last-child) {
        margin-bottom: 1.5rem;
    }
    .popular-posts-slider .post-card {
        width: 250px;
    }
    .slider-nav-btn {
        width: 35px;
        height: 35px;
    }
    .slider-prev-btn {
        left: 5px;
    }
    .slider-next-btn {
        right: 5px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .site-title {
        font-size: 1.5rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .blog-section-heading {
        font-size: 2rem;
    }
    .blog-heading {
        font-size: 2rem;
    }
    .blog-subheading {
        font-size: 1.8rem;
    }
    .blog-quote-text {
        font-size: 1.3rem;
    }
    .blog-benefit-card .card-title,
    .blog-social-proof-card .card-title {
        font-size: 1.2rem;
    }
    .blog-cta-text {
        font-size: 1.2rem;
    }
    .blog-cta-button {
        font-size: 1.1rem;
    }
    .post-title {
        font-size: 1.15rem;
    }
    .news-title {
        font-size: 1.15rem;
    }
    .review-name {
        font-size: 1.15rem;
    }
    .accordion-button {
        font-size: 1.05rem;
    }
    .footer-heading .bi {
        display: none;
    }
    .popular-posts-slider .post-card {
        width: 300px;
    }
}
/* Parent block styling */
.legalDomeBlock {
    margin-top: 60px; /* Top margin for the main block */
    margin-inline: 40px; /* Left and right margins for the main block */
    /* You might want to add a max-width and center it for better readability on large screens */
    /* max-width: 1000px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Heading styles */
.legalDomeBlock h1 {
    font-size: 2.25rem; /* Approximately 36px, not too large */
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: bold;
}

.legalDomeBlock h2 {
    font-size: 1.75rem; /* Approximately 28px */
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: bold;
}

.legalDomeBlock h3 {
    font-size: 1.5rem; /* Approximately 24px */
    line-height: 1.4;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: bold;
}

.legalDomeBlock h4 {
    font-size: 1.25rem; /* Approximately 20px */
    line-height: 1.5;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: bold;
}

.legalDomeBlock h5 {
    font-size: 1.125rem; /* Approximately 18px */
    line-height: 1.6;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: bold;
}

/* Paragraph style */
.legalDomeBlock p {
    font-size: 1rem; /* Base font size, typically 16px */
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 1em; /* Space between paragraphs */
}

/* Unordered list styles */
.legalDomeBlock ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 20px; /* Indent for bullet points */
}

/* List item styles */
.legalDomeBlock li {
    font-size: 1rem; /* Inherit or explicitly set to base font size */
    line-height: 1.6;
    margin-bottom: 0.5em; /* Space between list items */
}

footer .site-title{
    color: #fff !important;
}