
:root {
    --primary: #bc3030;
    --secondary: #e63946;
    --accent: #9d2e2a;
    --light: #faf8f8;
    --dark: #212529;
    --gray: #7d6c6c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}



.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container p {
    margin: 20px auto;
}

/* Hero Section */

/* Section Styles */
section {
    padding: 30px 0;
}

section p {
    font-size: 16px;
}

section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary);
    font-size: 2.2rem;
    position: relative;
}

section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: flex;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    align-items: center;
    justify-content: center;
}

.about-image i {
    font-size: 16px;
    color: var(--primary);
    opacity: 0.2;
}

.mission-block {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: 40px;
    border-left: 4px solid var(--accent);
}

.mission-block h3 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    height: 150px;
    background: linear-gradient(135deg, var(--primary) 0%, #bc3030 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-icon i {
    font-size: 2.5rem;
}

.service-content {
    padding: 25px;

}
.service-content p {
    font-size: 16px;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.service-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.service-link:hover {
}

/* Cases Section */
.cases-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.case-tab {
    background-color: white;
    border: 1px solid #bc3030;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.case-tab.active, .case-tab:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.case-content {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.case-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.case-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.case-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.case-title i {
    color: var(--accent);
    font-size: 16px;
}

.case-title h3 {
    color: var(--primary);
}

.case-task, .case-solution, .case-result {
    margin-bottom: 20px;
    padding-left: 40px;
}

.case-task h4, .case-solution h4, .case-result h4 {
    margin-bottom: 10px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-result {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

/* Facts Section */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
    gap: 20px;
}

.fact-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.fact-card p {
    font-size: 18px;
}

.fact-card:hover {
    transform: translateY(-5px);
}

.fact-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.fact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}
/* Team Grid Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.employee-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.employee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.employee-photo {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, #652a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder {
    width: 150px;
    height: 150px;
    background-color: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.3);
}

.photo-placeholder i {
    font-size: 4rem;
    color: rgba(255,255,255,0.7);
}

.employee-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.employee-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.employee-info p {
    color: var(--gray);
    font-weight: 500;
}
/* Timeline Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

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

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

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    top: calc(50% - 10px);
    transform: rotate(45deg);
    z-index: -1;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
    right: auto;
}

.timeline-year {
    position: absolute;
    top: 22px;
    z-index: 1;
    background-color: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 600;
}

.timeline-item:nth-child(odd) .timeline-year {
    right: -70px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: -70px;
}

/* Reviews Section */
.reviews-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.review-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.review-author {
    color: var(--primary);
    font-weight: 600;
}

/* Offices Section */
.offices-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.office-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 300px;
}

.office-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-info {
    margin-bottom: 20px;
}

.office-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Steps Section */
.steps-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}

.step-card {
    background-color: white;
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card p {
    font-size: 19px;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        left: 0;
        right: auto;
    }

    .timeline-content::after {
        left: -10px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {

    section {
        padding: 30px 0;
    }

    section h2 {
        font-size: 1.8rem;
    }
}
.about-text p {
    font-size: 16px;
}
.case-task, .case-solution, .case-result {
    margin-bottom: 20px;
    padding-left: 10px;
}
.case-content {
    background-color: white;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.about-image  {
    display: flex;

}
.list-buh {
    font-size: 20px;
    font-family: "roboto light";
    color: #000;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.5;
}
.footer-inn {
    text-align: center;
    padding-top: 26px;
    color: #fff;
    font-size: 14px;
    font-family: "roboto regular";
}