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

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

:root {
    --primary-purple: #5A189A;
    --light-purple: #8B5CF6;
    --white: #ffffff;
    --dark-grey: #333333;
    --accent-light: #E0BBE4; /* Softer purple for highlights */
    --text-on-dark: #f0f0f0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-purple);
    font-weight: 700;
}

p {
    color: var(--dark-grey);
}

.btn-primary {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #6A0DAD;
    border-color: #6A0DAD;
    color: var(--white);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    color: var(--white);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-brand {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 1.75rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.site-name {
    color: var(--primary-purple);
}

.navbar-nav .nav-link {
    color: var(--dark-grey);
    font-weight: 600;
    padding-left: 1rem;
    padding-right: 1rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('images/pics/abstract-purple-gradient_3.jpg') no-repeat center center/cover;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
}

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

.hero-section h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    color: var(--text-on-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
}

/* General Section Styling */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    color: var(--primary-purple);
}

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

.bg-primary-purple {
    background-color: var(--primary-purple);
}

.text-white p, .text-white li {
    color: var(--text-on-dark);
}

/* About Section (Timeline) */
.timeline-wrapper {
    position: relative;
    padding: 20px 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--accent-light);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    margin-bottom: 20px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 28px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-purple);
    border-radius: 50%;
    border: 2px solid var(--white);
    z-index: 1;
}

.timeline-item:nth-child(odd)::before {
    right: -5px;
}

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

.timeline-item .timeline-year {
    font-weight: 700;
    color: var(--light-purple);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.timeline-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-purple);
}

.timeline-item p {
    font-size: 0.95rem;
    color: var(--dark-grey);
}

@media (max-width: 768px) {
    .timeline-wrapper::before {
        left: 20px;
        transform: translateX(0);
    }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 60px;
        padding-right: 20px;
        text-align: left !important;
    }
    .timeline-item::before {
        left: 15px !important;
        right: auto !important;
    }
}

/* Services Section (Tabs) */
.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 0.5rem 0.5rem 0 0;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-on-dark);
    margin: 0 5px;
    padding: 10px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-tabs .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.nav-tabs .nav-link.active {
    background-color: var(--white);
    color: var(--primary-purple);
    font-weight: 600;
}

.tab-content {
    background-color: var(--primary-purple);
    padding: 30px;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.tab-content h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.tab-content p, .tab-content ul li {
    color: var(--text-on-dark);
}

.tab-content ul {
    list-style-type: '✓ ';
    padding-left: 20px;
}

.tab-content ul li {
    margin-bottom: 8px;
}

/* Features Section */
.feature-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    background-color: var(--accent-light);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: var(--light-purple);
}

.feature-card .feature-icon {
    font-size: 3rem;
    color: var(--light-purple);
}

.feature-card h4 {
    font-size: 1.5rem;
    color: var(--primary-purple);
}

/* Team Section */
.team-member-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.team-member-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--accent-light);
}

.team-member-card h4 {
    font-size: 1.6rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-purple);
}

.team-member-card .role {
    font-weight: 600;
    color: var(--light-purple);
    font-size: 0.95rem;
}

/* Industries Section */
.industry-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.industry-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}

.industry-card .industry-icon {
    font-size: 3rem;
    color: var(--white);
}

.industry-card h5 {
    font-size: 1.4rem;
    color: var(--white);
    margin-top: 1rem;
}

.industry-card p {
    color: var(--text-on-dark);
    font-size: 0.9rem;
}

/* Stats Section */
.stat-item {
    background-color: var(--white);
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-item .stat-icon {
    font-size: 3.5rem;
    color: var(--light-purple);
}

.stat-item .stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--dark-grey);
}

/* How It Works Section */
.process-step {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px; /* Adjust as needed */
    width: 40px;
    height: 2px;
    background-color: var(--text-on-dark);
    transform: translateY(-50%);
    z-index: 0;
}

@media (max-width: 768px) {
    .process-step:not(:last-child)::after {
        display: none;
    }
}

.process-step .process-icon {
    font-size: 3.5rem;
    color: var(--white);
}

.process-step h4 {
    font-size: 1.6rem;
    color: var(--white);
    margin-top: 1rem;
}

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

/* Contact Section (Form) */
.contact-section .form-label {
    font-weight: 600;
    color: var(--dark-grey);
}

.contact-section form {
    background-color: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-section .form-control:focus {
    border-color: var(--light-purple);
    box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.25);
}

/* Footer */
.footer-section {
    background-color: var(--primary-purple);
    color: var(--text-on-dark);
    font-size: 0.9rem;
}

.footer-brand {
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;

    .site-name{
        color: #fff;
    }

    img{
        filter: invert(1);
    }
}

.footer-logo {
    height: 30px;
    width: auto;
}

.footer-links {
    padding: 0;
    margin: 0;
}

.footer-links li {
    display: inline-block;
    margin: 0 10px;
}

.footer-links a {
    color: var(--text-on-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* Utility for equal height cards in grids */
.row.g-4 {
    display: flex;
    flex-wrap: wrap;
}

.row.g-4 > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.row.g-4 > [class*='col-'] > div {
    flex-grow: 1;
}

/* Modal */
.modal-content {
    border-radius: 0.75rem;
}

.modal-header {
    background-color: var(--primary-purple);
    color: var(--white);
    border-bottom: none;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.modal-header .btn-close {
    filter: invert(1);
}

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

.modal-body {
    color: var(--dark-grey);
}

.modal-footer {
    border-top: none;
}
/* Parent container for policy content */
.policyScopeWrap {
    max-width: 800px; /* Max width for readability on large screens */
    margin: 40px auto; /* Top/bottom margin, horizontally centered */
    padding: 0 24px; /* Inner padding on sides for smaller screens */
}

/* Heading 1 styles */
.policyScopeWrap h1 {
    font-size: 1.8rem; /* Modest size for main heading */
    font-weight: 600; /* Semi-bold */
    margin-top: 2.5rem; /* Space above heading */
    margin-bottom: 1.2rem; /* Space below heading */
    line-height: 1.2; /* Tighter line height for headings */
    color: #333; /* Dark grey color for better contrast */
}

/* Heading 2 styles */
.policyScopeWrap h2 {
    font-size: 1.5rem; /* Sub-heading size */
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #333;
}

/* Heading 3 styles */
.policyScopeWrap h3 {
    font-size: 1.3rem; /* Further sub-heading */
    font-weight: 600;
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
    line-height: 1.4;
    color: #333;
}

/* Heading 4 styles */
.policyScopeWrap h4 {
    font-size: 1.1rem; /* Smaller heading */
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #333;
}

/* Heading 5 styles */
.policyScopeWrap h5 {
    font-size: 1rem; /* Smallest heading, similar to bold paragraph */
    font-weight: 600;
    margin-top: 1.2rem;
    margin-bottom: 0.7rem;
    color: #333;
}

/* Paragraph styles */
.policyScopeWrap p {
    font-size: 1rem; /* Base font size */
    line-height: 1.6; /* Good readability */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: #444; /* Slightly lighter text color for body */
}

/* Unordered list styles */
.policyScopeWrap ul {
    list-style-type: disc; /* Default bullet points */
    margin-left: 20px; /* Indent for bullet points */
    margin-bottom: 1rem; /* Space after the list */
    padding-left: 0; /* Reset default padding if any, margin-left is preferred for indent */
    color: #444;
}

/* Ordered list styles */
.policyScopeWrap ol {
    list-style-type: decimal; /* Numbered list */
    margin-left: 20px;
    margin-bottom: 1rem;
    padding-left: 0;
    color: #444;
}

/* List item styles */
.policyScopeWrap li {
    font-size: 1rem; /* Inherit or set explicitly */
    line-height: 1.6;
    margin-bottom: 0.5rem; /* Space between list items */
    padding-left: 5px; /* Small padding to align text better with bullet/number */
    color: #444;
}

/* Remove bottom margin from the last paragraph or list item in the wrap */
.policyScopeWrap p:last-child,
.policyScopeWrap ul:last-child,
.policyScopeWrap ol:last-child {
    margin-bottom: 0;
}
#serviceTabs .nav-item{cursor: pointer;}

#industries{
    h2{
        color: #fff;
    }
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* занимает всё доступное пространство между навбаром и футером */
}

.policyScopeWrap{
    padding: 50px 0;
}

@media (max-width: 767px){
    #serviceTabs{
        align-items: center;
        justify-content: center;
        gap: 5px
    }
}