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

:root {
    --primary-green: #2E8B57;
    --secondary-brown: #8B4513;
    --accent-gold: #D4AF37;
    --dark-bg: #1A1A1A;
    --light-bg: #F8F8F8;
    --text-dark: #333333;
    --text-light: #F8F8F8;
    --light-brown: #A0522D;
    --light-green: #4CAF50;
}

.navbar {
        background-color: var(--dark-bg);

    transition: background-color 0.3s ease-in-out;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar.scrolled {
    background-color: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-brand .navbar-logo {
    height: 40px;
    transition: height 0.3s ease-in-out;
}

.navbar.scrolled .navbar-brand .navbar-logo {
    height: 30px;
}

.navbar-brand .site-name {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    transition: font-size 0.3s ease-in-out;
}
@media (max-width:575px) {
    .navbar-brand .site-name{
        font-size: 14px;
    }
}
.navbar.scrolled .navbar-brand .site-name {
    font-size: 1.2rem;
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-gold);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(visuals/pics/investment-hero-bg_3.jpg) no-repeat center center/cover;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.25rem;
}

.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-success:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    color: var(--secondary-brown);
}

h3 {
    font-size: 2rem;
    color: var(--primary-green);
}

.about-section img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.bg-light-brown {
    background-color: var(--light-brown);
    color: var(--text-light);
}

.bg-light-green {
    background-color: var(--light-green);
    color: var(--text-light);
}

.accordion-item {
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background-color: var(--primary-green);
    color: var(--text-light);
    font-size: 1.25rem;
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-gold);
    color: var(--dark-bg);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

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

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

.accordion-body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-icon {
    font-size: 1.5rem;
    vertical-align: middle;
}

.accordion-body ul li {
    margin-bottom: 8px;
}

.features-section .nav-tabs {
    border-bottom: 2px solid var(--primary-green);
}

.features-section .nav-tabs .nav-link {
    color: var(--secondary-brown);
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.features-section .nav-tabs .nav-link:hover {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.features-section .nav-tabs .nav-link.active {
    color: var(--text-light);
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    border-radius: 5px 5px 0 0;
}

.features-section .tab-content {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.features-section .tab-content h3 {
    color: var(--secondary-brown);
    margin-bottom: 1.5rem;
}

.pricing-section form {
    background-color: var(--dark-bg);
    color: var(--text-light);
    border-radius: 10px;
}

.pricing-section .form-label {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.pricing-section .form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.pricing-section .form-control {
    background-color: #333333;
    border: 1px solid #555555;
    color: var(--text-light);
}

.pricing-section .form-control::placeholder {
    color: #aaaaaa;
}

.pricing-section .form-control:focus {
    background-color: #444444;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.pricing-section .invalid-feedback {
    color: #ffcccc;
}

.team-section .team-member {
    background-color: var(--light-bg);
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.team-section .team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-section .team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--primary-green);
}

.team-section .team-member h4 {
    color: var(--secondary-brown);
    margin-top: 1rem;
}

.team-section .team-member p {
    color: #6c757d;
}

.stats-section {
    background: linear-gradient(rgba(139, 69, 19, 0.8), rgba(139, 69, 19, 0.8)), url(visuals/pics/stats-bg_4.jpg) no-repeat center center/cover;
    color: var(--text-light);
}

.stats-section h2 {
    color: var(--accent-gold);
}

.stats-section .stat-item {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    height: 100%;
}

.stats-section .stat-item h4 {
    color: var(--text-light);
}

.stats-section .progress {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.stats-section .progress-bar {
    background-color: var(--accent-gold);
    border-radius: 5px;
    transition: width 1.5s ease-out;
}

.reviews-section .review-card {
    background-color: var(--light-bg);
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.reviews-section .review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.reviews-section .review-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--primary-green);
}

.reviews-section .review-card h5 {
    color: var(--secondary-brown);
}

.footer-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-section .footer-brand .footer-logo {
    height: 35px;
}

.footer-section .footer-brand .site-name {
    font-weight: 700;
    font-size: 1.3rem;
}

.footer-section h5 {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.footer-section .newsletter-form .form-control {
    background-color: #333333;
    border: 1px solid #555555;
    color: var(--text-light);
}

.footer-section .newsletter-form .form-control::placeholder {
    color: #aaaaaa;
}

.footer-section .newsletter-form .btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    border-radius: 0 5px 5px 0;
    text-decoration: none;
}

.footer-section .newsletter-form .btn-primary:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.footer-section .invalid-feedback {
    color: #ffcccc;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--dark-bg);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }

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

    .hero-section p {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .features-section .tab-content .row {
        flex-direction: column-reverse;
    }

    .features-section .tab-content .col-md-6.order-md-2 {
        order: 1;
    }

    .features-section .tab-content .col-md-6.order-md-1 {
        order: 2;
    }
}

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

    .hero-section p {
        font-size: 0.9rem;
    }

    .btn-primary, .btn-success {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }

    .service-icon {
        font-size: 1.2rem;
    }

    .features-section .nav-tabs .nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .pricing-section .form-label {
        font-size: 1rem;
    }

    .team-section .team-member img {
        width: 100px;
        height: 100px;
    }

    .reviews-section .review-avatar {
        width: 50px;
        height: 50px;
    }
}
/* Base styling for the compliance core slot container */
.complianceCoreSlot {
    padding: 20px; /* Padding for internal content */
    margin-top: 20px; /* Top margin to separate from preceding content */
    /* You might want to add max-width and margin: 0 auto; here for better readability on wide screens,
       e.g., max-width: 960px; margin: 20px auto; */
}

/* Heading styles for H1 */
.complianceCoreSlot h1 {
    font-size: 1.8em; /* Slightly larger than base, but not overly large */
    font-weight: bold; /* Bold text for emphasis */
    margin-top: 1.5em; /* Space above the heading */
    margin-bottom: 0.8em; /* Space below the heading */
    line-height: 1.2; /* Tighter line height for headings */
}

/* Heading styles for H2 */
.complianceCoreSlot h2 {
    font-size: 1.5em; /* Moderate size for secondary headings */
    font-weight: bold;
    margin-top: 1.2em;
    margin-bottom: 0.7em;
    line-height: 1.3;
}

/* Heading styles for H3 */
.complianceCoreSlot h3 {
    font-size: 1.3em; /* Smaller, but still prominent */
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 0.6em;
    line-height: 1.4;
}

/* Heading styles for H4 */
.complianceCoreSlot h4 {
    font-size: 1.1em; /* Close to base font size, bold for distinction */
    font-weight: bold;
    margin-top: 0.8em;
    margin-bottom: 0.5em;
    line-height: 1.5;
}

/* Heading styles for H5 */
.complianceCoreSlot h5 {
    font-size: 1em; /* Same as base font size, relying on bold for distinction */
    font-weight: bold;
    margin-top: 0.7em;
    margin-bottom: 0.4em;
    line-height: 1.6;
}

/* Paragraph styles */
.complianceCoreSlot p {
    font-size: 1em; /* Base font size for paragraphs */
    line-height: 1.6; /* Improved readability with more line spacing */
    margin-bottom: 1em; /* Space between paragraphs */
}

/* Unordered list styles */
.complianceCoreSlot ul {
    list-style-type: disc; /* Default bullet points */
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 25px; /* Indentation for bullet points */
}

/* List item styles */
.complianceCoreSlot li {
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.5; /* Good line height for list items */
}
.animate__animated {
    visibility: hidden;
}

/* Плавное заполнение прогресс-бара */
.progress-bar {
    width: 0;
    transition: width 2s ease-in-out;
}