/* Global Styles */
:root {
    --primary-color: #007bff; /* Bootstrap primary blue */
    --dark-blue: #0056b3;
    --light-blue: #e0f2ff;
    --text-color: #333;
    --light-text-color: #6c757d;
    --white: #fff;
    --black: #000;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-blue);
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Custom Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
    text-decoration: none;
}

.custom-btn {
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

/* Navbar */
.navbar {
    background-color: var(--white) !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-brand .company-name {
    font-size: 1.8rem;
    color: var(--dark-blue);
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

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

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

.offcanvas-title {
    color: var(--white);
}

.offcanvas-body .nav-link {
    color: var(--text-color);
    padding: 10px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.offcanvas-body .nav-link:hover {
    background-color: var(--light-blue);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: url('visuals/media/investment-cityscape-background_4.jpg') no-repeat center center/cover;
    color: var(--white);
    display: flex;
    align-items: center;
    padding-top: 150px !important; /* Adjust for fixed header */
    padding-bottom: 80px !important;
}

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

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

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--white);
}

.hero-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-image {
    max-height: 450px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.progress-item h5 {
    color: var(--text-color);
    font-weight: 500;
}

.progress {
    height: 10px;
    background-color: var(--light-blue);
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    background-color: var(--primary-color);
    transition: width 1.5s ease-out;
    font-size: 0.75rem;
    line-height: 10px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 5px;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.process-flow {
    position: relative;
    padding-top: 30px;
}

.process-step {
    position: relative;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.process-step .step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.process-step:hover .step-icon {
    color: var(--dark-blue);
}

.process-step h4 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.process-step p {
    color: var(--light-text-color);
}

/* Connecting lines for How It Works (desktop only, for visual effect) */


@keyframes drawLine {
    from { width: 0; opacity: 0; }
    to { width: 30%; opacity: 1; }
}

/* Industries Section */
.industries-section {
    padding: 80px 0;
    background-color: var(--white);
}

.industry-item {
    position: relative;
    background-color: var(--light-blue);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
}

.industry-item i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.industry-item:hover i {
    color: var(--white);
}

.industry-item .industry-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--dark-blue);
    transition: color 0.3s ease;
}

.industry-item:hover .industry-name {
    color: var(--white);
}

.industry-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.95); /* Darker overlay for details */
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 10px;
}

.industry-item:hover .industry-details {
    opacity: 1;
    visibility: visible;
}

.industry-details p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.horizontal-scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.timeline-wrapper {
    position: relative;
    padding: 20px 0;
    min-width: max-content; /* Ensures content doesn't wrap */
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: translateY(-50%);
    z-index: 0;
}

.team-member-card {
    position: relative;
    flex: 0 0 auto;
    width: 250px; /* Fixed width for cards */
    margin: 0 20px;
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.team-member-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 15px;
}

.team-member-card h5 {
    font-size: 1.2rem;
    color: var(--dark-blue);
}

.team-member-card p {
    font-size: 0.9rem;
    color: var(--light-text-color);
}

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

.testimonial-bubble {
    position: relative;
    background-color: var(--white);
    border: 1px solid var(--light-blue);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-bubble::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--white);
    z-index: 1;
}

.testimonial-bubble::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 29px;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid var(--light-blue);
    z-index: 0;
}

.testimonial-bubble p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 20px;
}

.testimonial-bubble img {
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.testimonial-bubble h6 {
    color: var(--dark-blue);
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 50px;
    padding: 5px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pricing-toggle .form-check-input {
    width: 45px;
    height: 25px;
    margin: 0 10px;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pricing-toggle .form-check-input:checked {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.pricing-toggle .form-check-label {
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
}

.pricing-card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border: 1px solid var(--light-blue);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.pricing-card.border-primary {
    border: 2px solid var(--primary-color) !important;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}

.pricing-card .card-title {
    font-size: 1.8rem;
    color: var(--dark-blue);
}

.pricing-card .card-text .price-value {
    color: var(--primary-color);
}

.pricing-card ul li {
    font-size: 1rem;
    color: var(--text-color);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.accordion-item {
    border: 1px solid var(--light-blue);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--light-blue);
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 20px;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

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

.accordion-button .accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(45deg);
}

.accordion-body {
    background-color: var(--white);
    color: var(--text-color);
    padding: 20px;
    border-top: 1px solid var(--light-blue);
}

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

.contact-section form {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-section .form-label {
    font-weight: 500;
    color: var(--dark-blue);
}

.contact-section .form-control, .contact-section .form-select {
    border-radius: 8px;
    border-color: var(--light-blue);
    padding: 10px 15px;
}

.contact-section .form-control:focus, .contact-section .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-color);
}

.contact-info a {
    color: var(--dark-blue);
}

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

.email-break-all {
    word-break: break-all;
}

/* Footer */
.footer {
    background-color: #212529 !important;
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0;
}

.footer .navbar-brand .company-name {
    color: var(--white);
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer ul {
    padding-left: 0;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--primary-color);
}

.footer .text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Responsive Typography */
@media (max-width: 1199.98px) {
    .navbar-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .navbar-nav::-webkit-scrollbar {
        display: none;
    }
    .navbar-nav .nav-item {
        flex: 0 0 auto;
    }
}

@media (max-width: 991.98px) {
   
    .hero-section .text-content, .hero-section .illustration-content {
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .hero-image {
        max-height: 300px;
        margin-top: 40px;
    }
    .section-title {
        font-size: 2rem;
    }
    .navbar-brand .company-name {
        font-size: 1.5rem;
    }
 
    .process-flow .process-step {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .timeline-wrapper::before {
        display: none;
    }
    .team-member-card {
        width: 200px;
        margin: 0 10px;
    }
    .pricing-toggle .form-check-label {
        font-size: 0.9rem;
    }
    .pricing-card .card-title {
        font-size: 1.5rem;
    }
    .pricing-card .card-text .price-value {
        font-size: 2.5rem;
    }
    .pricing-card ul li {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 0.9rem;
    }
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .navbar-brand .company-name {
        font-size: 1.25rem;
    }
    .process-step h4 {
        font-size: 1.2rem;
    }
    .industry-item i {
        font-size: 2.5rem;
    }
    .industry-item .industry-name {
        font-size: 1rem;
    }
    .testimonial-bubble p {
        font-size: 0.9rem;
    }
    .accordion-button {
        font-size: 1rem;
        padding: 12px 15px;
    }
    .contact-section form {
        padding: 25px;
    }
    .contact-info p {
        font-size: 1rem;
    }
    .offcanvas-body .navbar-nav {
        display: block;
    }
    .offcanvas-body .nav-link {
        width: 100%;
    }
    .horizontal-scroll-container {
        padding-bottom: 20px;
    }
    .team-member-card {
        width: 180px;
    }
}
/* Styles for the main content block container */
.infoGuardBlock {
    padding-top: 2rem; /* Top padding for the block */
    padding-bottom: 2rem; /* Bottom padding for the block */
    padding-left: 1.5rem; /* Left padding for the block */
    padding-right: 1.5rem; /* Right padding for the block */
    /* You might want to add max-width and margin: 0 auto; here for better content readability on large screens,
       but it's not explicitly requested for "отступов вверх и побокам". */
}

/* Heading styles */
.infoGuardBlock h1 {
    font-size: 2rem; /* Moderate size for H1 */
    margin-top: 2.5rem; /* Top margin for H1 */
    margin-bottom: 1rem; /* Bottom margin for H1 */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Line height for readability */
}

.infoGuardBlock h2 {
    font-size: 1.75rem; /* Moderate size for H2 */
    margin-top: 2rem; /* Top margin for H2 */
    margin-bottom: 0.8rem; /* Bottom margin for H2 */
    font-weight: 600; /* Semi-bold font weight */
    line-height: 1.3; /* Line height for readability */
}

.infoGuardBlock h3 {
    font-size: 1.5rem; /* Moderate size for H3 */
    margin-top: 1.8rem; /* Top margin for H3 */
    margin-bottom: 0.7rem; /* Bottom margin for H3 */
    font-weight: 600; /* Semi-bold font weight */
    line-height: 1.4; /* Line height for readability */
}

.infoGuardBlock h4 {
    font-size: 1.25rem; /* Moderate size for H4 */
    margin-top: 1.5rem; /* Top margin for H4 */
    margin-bottom: 0.6rem; /* Bottom margin for H4 */
    font-weight: 500; /* Medium font weight */
    line-height: 1.5; /* Line height for readability */
}

.infoGuardBlock h5 {
    font-size: 1.1rem; /* Moderate size for H5 */
    margin-top: 1.2rem; /* Top margin for H5 */
    margin-bottom: 0.5rem; /* Bottom margin for H5 */
    font-weight: 500; /* Medium font weight */
    line-height: 1.6; /* Line height for readability */
}

/* Paragraph styles */
.infoGuardBlock p {
    font-size: 1rem; /* Standard body text size */
    margin-bottom: 1rem; /* Space between paragraphs */
    line-height: 1.6; /* Line height for readability */
}

/* Unordered list styles */
.infoGuardBlock ul {
    margin-top: 1rem; /* Top margin for the list */
    margin-bottom: 1rem; /* Bottom margin for the list */
    padding-left: 1.5rem; /* Padding for bullet points */
    list-style: disc; /* Default bullet style */
}

/* List item styles */
.infoGuardBlock li {
    margin-bottom: 0.5rem; /* Space between list items */
    line-height: 1.5; /* Line height for readability within list items */
}


.process-step { margin: 20px; }

.team-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 28px rgba(0,0,0,0.12);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

main{
    overflow: hidden !important;
}