html, body {
    overflow-x: hidden;
}

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

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #212529;
}

a{
    text-decoration: none;
}

.display-3 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.display-5 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.navbar-brand .site-title-mobile {
    font-size: clamp(1rem, 4vw, 1.5rem);
}

@media (max-width: 767.98px) {
    .navbar-brand .site-title-mobile {
        font-size: 1.25rem;
    }
}

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

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--bs-primary) !important;
}

.hero-section {
    min-height: 70vh;
    background-image: url('pictures/graphics/investment-cityscape_14.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.7), rgba(0, 200, 255, 0.7));
    z-index: 0;
}

.hero-section h1, .hero-section p, .hero-section .hero-statistic {
    z-index: 1;
    position: relative;
}

.hero-statistic {
    background-color: var(--bs-primary) !important;
    padding: 1rem 2rem !important;
    border-radius: 50px !important;
    font-size: 1.2rem;
}

.hero-statistic span {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.about-section .progress {
    background-color: #e9ecef;
    border-radius: 0.25rem;
}

.about-section .progress-bar {
    background-color: var(--bs-info) !important;
    transition: width 1s ease-out;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.service-card i {
    color: var(--bs-primary);
}

.accordion-button {
    font-weight: 600;
    color: var(--bs-primary) !important;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-white) !important;
    background-color: var(--bs-primary) !important;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.team-timeline {
    position: relative;
    padding-bottom: 20px;
}

.team-timeline::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #dee2e6;
}

.team-member {
    position: relative;
    padding-bottom: 30px;
    margin-bottom: 20px;
}

.team-member::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    border: 3px solid #fff;
    z-index: 1;
}

.team-member img {
    object-fit: cover;
    border-color: var(--bs-primary) !important;
}

.testimonial-card {
    border: none;
    border-radius: 1rem;
    background-color: #fff;
}

.testimonial-card img {
    object-fit: cover;
}

.contact-section {
    background-color: #f8f9fa;
}

.contact-form-container {
    background-image: linear-gradient(45deg, #ff007f, #cc00cc);
    color: white;
}

.contact-form-container .form-control {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid white;
    padding: 0.75rem 1rem;
}

.contact-form-container .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form-container .form-control:focus {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: white;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
    color: white;
}

.contact-form-container .form-label {
    font-weight: 500;
}

.contact-cta-button {
    background-color: #fff !important;
    color: #cc00cc !important;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    text-decoration: none !important;
}

.contact-cta-button:hover {
    background-color: #eee !important;
    color: #ff007f !important;
    transform: translateY(-2px);
}

.contact-cta-button i {
    transition: transform 0.3s ease;
}

.contact-cta-button:hover i {
    transform: translateX(5px);
}

.form-check-input.is-invalid ~ .form-check-label,
.was-validated .form-check-input:invalid ~ .form-check-label {
    color: #dc3545;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.footer-logo {
    filter: brightness(0) invert(1);
}

.footer-links a {
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--bs-primary) !important;
}

.cookie-banner {
    z-index: 1050;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner .btn {
    text-decoration: none;
}

.cookie-banner p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

#cookieSettingsModal .modal-content {
    border-radius: 0.5rem;
    z-index: 1060;
}

#cookieSettingsModal .modal-header {
    border-bottom: none;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

#cookieSettingsModal .modal-footer {
    border-top: none;
}

#cookieSettingsModal .form-check-label {
    font-weight: 500;
}

#cookieSettingsModal .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

#cookieSettingsModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

@media (max-width: 575.98px) {
    .cookie-banner .container {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-banner .d-flex.flex-column.flex-sm-row {
        width: 100%;
    }
    .cookie-banner .btn {
        width: 100%;
    }
    .cookie-banner .btn.me-sm-2 {
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
    }
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100%;
        width: 250px;
        background-color: #fff;
        transition: left 0.3s ease-in-out;
        z-index: 1040;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        padding-top: 60px;
    }
    .navbar-collapse.show {
        left: 0;
    }
    .navbar-toggler {
        display: block;
    }
    .navbar-nav {
        flex-direction: column;
        padding-left: 1rem;
    }
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 1200px) {
    .navbar-toggler {
        display: none;
    }
    .offcanvas-body {
        display: flex;
        justify-content: flex-end;
    }
    .offcanvas-end {
        transform: none;
        visibility: visible;
        position: static;
        background-color: transparent;
        border: none;
    }
    .offcanvas-header {
        display: none;
    }
}

/* Styles for the main content block container */
.legalDomeBlock {
    margin-top: 40px; /* Top margin for spacing above the block */
    padding-left: 20px; /* Left padding for content */
    padding-right: 20px; /* Right padding for content */
    /* You might want to add a max-width and margin: 0 auto; here for centering on larger screens,
       but it's not explicitly requested, so keeping it minimal. */
}

/* Heading 1 styles */
.legalDomeBlock h1 {
    font-size: 1.8em; /* Moderately sized heading 1 */
    line-height: 1.2; /* Tighter line height for headings */
    margin-top: 2em; /* Space above the heading */
    margin-bottom: 0.8em; /* Space below the heading */
    font-weight: bold; /* Ensure heading is bold */
}

/* Heading 2 styles */
.legalDomeBlock h2 {
    font-size: 1.6em; /* Moderately sized heading 2 */
    line-height: 1.25;
    margin-top: 1.8em;
    margin-bottom: 0.7em;
    font-weight: bold;
}

/* Heading 3 styles */
.legalDomeBlock h3 {
    font-size: 1.4em; /* Moderately sized heading 3 */
    line-height: 1.3;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    font-weight: bold;
}

/* Heading 4 styles */
.legalDomeBlock h4 {
    font-size: 1.2em; /* Moderately sized heading 4 */
    line-height: 1.35;
    margin-top: 1.4em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

/* Heading 5 styles */
.legalDomeBlock h5 {
    font-size: 1.1em; /* Moderately sized heading 5 */
    line-height: 1.4;
    margin-top: 1.2em;
    margin-bottom: 0.4em;
    font-weight: bold;
}

/* Paragraph styles */
.legalDomeBlock p {
    font-size: 1em; /* Base font size for paragraphs */
    line-height: 1.6; /* Comfortable line height for readability */
    margin-bottom: 1em; /* Space between paragraphs */
}

/* Unordered list styles */
.legalDomeBlock ul {
    list-style: disc; /* Default bullet style */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 1.5em; /* Indentation for list items */
}

/* List item styles */
.legalDomeBlock li {
    font-size: 1em; /* Base font size for list items */
    line-height: 1.5; /* Comfortable line height for list items */
    margin-bottom: 0.5em; /* Small space between list items */
}

/* Optional: Ordered list styles (good practice to include with ul/li) */
.legalDomeBlock ol {
    list-style: decimal; /* Default numbered style */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 1.5em; /* Indentation for list items */
}
