
:root {
    --first-color: #5d0c1d;
    --second-color: #ccb28d;
    --third-color: #fff;
}

h1, h2, h3 {
    text-transform: uppercase;
    text-align: center;
    color: var(--first-color);
    margin-bottom: 30px;
}

h1.custom, h2.custom, h3.custom {
    color: var(--third-color);
    margin-bottom: 20px;
    text-align: left;
}

section {
    padding: 100px 0;
}

/* ---------------- Menu ------------------- */

.first, .footer, .btn-secondary {
    background-color: var(--first-color);
}

nav#second {
    background-color: var(--third-color);
}

.second {
    background-color: var(--third-color);
}

.navbar-nav .nav-link.active:hover, 
.nav-link, .nav-link.active, 
.dropdown-item {
    color: var(--first-color);
    font-weight: normal;
    text-transform: uppercase;
}

.navbar-nav .nav-link.active, 
.nav-link:hover, 
.navbar-nav .nav-link.show, 
.dropdown-item:hover, 
.btn:hover {
    color: var(--second-color);
}

.dropdown-item.active, 
.dropdown-item:active {
    background: var(--first-color);
}

.navbar-nav .nav-item .nav-link {
    padding-left: 30px;
}

.navbar-nav .nav-item .nav-link:hover svg path {
    fill: var(--third-color);
}

.adr-nam {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}

.adr-nam li {
    margin-bottom: 10px;
}

.address, .number {
    text-decoration: none;
    text-align: center;
    color: var(--second-color);
    font-size: 25px;
}

.address svg, .number svg {
    margin-bottom: 7px;
}

.address {
    font-weight: normal;
    font-size: 20px;
}

.address:hover, .number:hover {
    color: var(--third-color);
}

.address:hover > svg.svg path, .number:hover > svg.svg path {
    fill: var(--third-color);
}

.btn:hover, .btn.show, .border {
    background-color: var(--first-color); 
}

.btn.show {
    color: var(--second-color);
}

.dropdown-item:focus,
.dropdown-item:active {
    background-color: var(--second-color) !important;
    color: var(--first-color) !important; 
    outline: none !important;
    box-shadow: none !important;
}

/* ---------------- Menu ------------------- */



/* ---------------- Video ------------------- */

.video-section {
    position: relative;
    width: 100%;
    /* max-height: 80vh; */
    overflow: hidden;
}

.video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
    color: var(--third-color);
    text-align: left;
    z-index: 1;
    padding: 2rem;
    max-width: 90%;
}

.video-overlay h1,
.video-overlay h2,
.video-overlay h3 {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Затемнение видео */
.video-section::after, .question::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.video-overlay-contacts {
    position: absolute;
    top: 70%;
    left: 25%;
    transform: translate(-50%, -50%);
    color:var(--third-color);
    text-align: left;
    z-index: 1;
    padding: 20px;
}

@supports (background-image: url("../access/media/preview.webp")) {
    .video-promo {
        background: url("../access/media/preview.webp") center center / cover no-repeat;
    }
}

@supports (background-image: url("../access/media/second_preview.webp")) {
    .video-promo-2 {
        background: url("../access/media/second_preview.webp") center center / cover no-repeat;
    }
}


.btn-primary {
    background-color: var(--first-color);
    border: none;
    width: 300px;
    height: 70px;
    text-transform: uppercase;
    align-content: center;
}

.btn:hover, .btn:active {
    background-color: var(--second-color);
    color: var(--first-color);
}

a.btn-primary:focus,
a.btn-primary:active,
a.btn-primary:focus:active {
    background-color: var(--first-color) !important;
    border-color: var(--first-color) !important;
    color: var(--third-color);
    box-shadow: none !important;
}

/* ---------------- Video ------------------- */

/* -----------------Choice------------------ */

.icon-custom, .choice,
.choice-h5, .choice-descr {
    color: var(--first-color);
}

.choice {
    background-color: var(--second-color);
}

 .choice-card {
    height: 100%;
    min-height: 100%;
}

.choice-card {
    transition: all 0.3s ease;
    /* background-color: var(--third-color); */
    color: var(--first-color);
}

.transparent-bg {
  background-color: rgba(93, 11, 28, 0.1);
}


.btn:hover, .btn.show, .border {
    border-color: var(--first-color) !important;
}

.choice-card:hover {
    background-color: var(--second-color);
    color: var(--third-color);
}

.choice-card:hover i {
    color: var(--first-color);
}

.choice-card i {
    transition: color 0.3s ease;
}

/* -----------------Choice------------------ */

/* -----------------Advanteges------------------ */

.advanteges .card {
    border-radius: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    background-color: var(--third-color);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.advanteges {
    background-color: var(--third-color);
    color: var(--first-color);
}

.advanteges img {
    width: 150px;
    height: auto;
    align-content: center;
    margin: auto;
}

/* -----------------Advanteges------------------ */

/* -----------------Carousel------------------ */

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.swiper-slide a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: 300px;
    max-width: 300px;
    background: #f2f2f2;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.swiper-slide img, .swiper-slide picture {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.swiper-slide img:hover, .swiper-slide picture:hover {
    transform: scale(1.05);
}

.swiper-pagination {
    margin-top: 30px;
    position: relative;
    bottom: auto;
}

.swiper-pagination-bullet {
    background: var(--second-color);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--first-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--first-color);
}

/* -----------------Carousel------------------ */

/* ----------------Footer------------------- */

.lead {
    margin-bottom: 0;
    font-weight:normal;
    color: var(--second-color);
    opacity: 0.5;
    text-transform: uppercase;
    text-align: left;
    padding-bottom: 20px;
    padding-left: 15px;
}

ul.footer > li {
    list-style-type:none;
    text-align: left;
    padding-bottom: 12px;
}

ul.footer > li > a {
    color:  var(--second-color);
    text-decoration: none;
    font-weight: lighter;
}

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

ul.footer > li > a:hover svg path.icon {
    fill: var(--third-color);
}

/* ----------------Footer------------------- */

/* ? */
.second-row {
    background-color: var(--third-color);
}

/* -------------------------About------------------------------ */

.promo {
    min-height: 60vh;
    position: relative;
    padding-top: 175px;
    padding-left: 50px;
    background: url(../access/media/about.jpg) 50% 18% / cover no-repeat;
}

@supports (background-image: url("../access/media/about.webp")) {
    .promo {
        background: url("../access/media/about.webp") 50% 18% / cover no-repeat;
    }
}

.promo::before, .mission::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.promo h1 {
    color: var(--first-color);
}

.description-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.card-descr {
    text-align: justify;
}

h4.card-text, h5.card-title {
    text-align: center;
}

.card-title {
    color: var(--first-color);
    text-align: left;
}

.card-title-2 {
    color: var(--second-color);
}

.license {
    background-color: var(--second-color);
    padding: 100px 0;
}

.conclusion {
    padding: 100px 0;
}

.license-descr, .conclusion-descr {
    color: var(--first-color);
}

.license-descr, .conclusion-descr {
    padding-left: 0;
    text-transform: uppercase;
}

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

.mission {
    position: relative;
    background: url(../access/media/target.jpg) center 70% / cover no-repeat;
}


@supports (background-image: url("../access/media/target.webp")) {
    .mission {
        background: url("../access/media/target.webp") center 70% / cover no-repeat;
    }
}

.mission-descr h2, .mission-descr h3 {
    position: relative;
    text-align: center;
    color: var(--third-color);
    z-index: 2;
}

/* -------------------------About------------------------------ */

/* -------------------Reviews----------------------------- */

.reviews-icon {
    padding-top: 20px;
    padding-left: 40px;
}

.reviews-icon svg {
    height: 50px;
}

/* -------------------Reviews----------------------------- */

/* -------------------Contacts----------------------------- */

.contacts, .video-contacts h1, 
.reviews, .video-reviews h1 {
    color: var(--first-color);
}

.contacts .row {
    border-radius: 10px;
}

.contacts h2 {
    margin-bottom: 50px;
}

.contacts .card i {
    font-size: 2.5rem;
}

.contacts .card-title {
    font-size: 1.1rem;
}

/* -------------------Contacts----------------------------- */

/* -------------------Services----------------------------- */

.tax-consulting, .audit-financial,
.support, .special-audit,
.accounting-policy, .agreed-procedures,
.consulting-services, .staff-selection,
.accounting-tax-services {
    padding: 100px 0;
}

.tax-consulting h2, .audit-financial h2,
.support h2, .special-audit h2,
.accounting-policy h2, .agreed-procedures h2,
.consulting-services h2, .staff-selection h2,
.accounting-tax-services h2 {
    font-weight: bold;
    text-transform: uppercase;
    color: var(--first-color);
}

.tax-consulting h5, .audit-financial h5,
.support h5, .special-audit h5,
.accounting-policy h5, .agreed-procedures h5,
.consulting-services h5, .staff-selection h5,
.accounting-tax-services h5 {
    margin-top: 2rem;
    color: var(--first-color);
}

.tax-consulting ul li, .audit-financial ul li,
.support ul li, .special-audit ul li,
.accounting-policy ul li, .agreed-procedures ul li,
.consulting-services ul li, .staff-selection ul li,
.accounting-tax-services ul li {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.6;
}

.audit-services h5, .consulting-services h5 {
    color: var(--first-color);
}

.faq-section {
    padding-bottom: 100px;
}

.faq-section .accordion-button {
  background-color: var(--third-color);
  color: var(--first-color);
}

.faq-section .accordion-button:not(.collapsed) {
  background-color: var(--first-color);
  color: var(--third-color);
}

.faq-section .accordion-button:focus {
  box-shadow: none !important;
}

/* -------------------Services----------------------------- */


/* -------------------Media----------------------------- */

@media only screen and (max-width: 991px) {

    section {
        padding: 70px 0;
    }

    .address {
        font-size: 14px;
    }

    .number {
        font-size: 20px;
    }

    .svg {
        height: 17px;
    }

    .navbar-nav .nav-item .nav-link {
        padding-left: 15px;
    }

    .lead {
        font-size: 17px;
    }

    ul.footer > li > a {
        font-size: 15px;
    }

    .video-overlay h1 {
        font-size: 2rem;
    }

    .video-overlay h2,
    .video-overlay h3 {
        font-size: 1.2rem;
    }

    .video-overlay h2 {
        font-size: 1.5rem;
    }

    .video-overlay {
        padding: 1.5rem;
    }

    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .reviews-icon svg {
        height: 40px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
  .description .col-md-8,
  .description .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .description-img {
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 767.98px) {

    h1, h2, h3 {
        margin-bottom: 20px;
    }

    section {
        padding: 50px 0;
    }

    .video-overlay h1 {
        font-size: 1.5rem;
    }

    .video-overlay h2,
    .video-overlay h3 {
        font-size: 1rem;
    }

    .video-overlay h2 {
        font-size: 1.2rem;
    }

    .video-overlay {
        padding: 1rem;
    }

    .btn-lg {
        width: 200px;
        height: 50px;
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .copy h3 {
        font-size: 0.7rem;
    }

    .reviews-icon svg {
        height: 50px;
    }
}

@media (max-width: 576px) {
    
    .description-img {
        height: 50vh;
    }

    .card-descr {
        overflow: hidden;
    }

    .card-body {
        padding: 2rem;
    }
}

@media (max-width: 480px) {

    .video-overlay h1 {
        font-size: 1rem;
    }

    .video-overlay h2,
    .video-overlay h3 {
        font-size: 0.8rem;
    }

    .video-overlay h2 {
        font-size: 0.8rem;
    }

    .video-overlay {
        padding: 0.7rem;
    }

    .btn-lg {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
        width: 90%;
        max-width: 150px;
    }
    
    .copy h3 {
        font-size: 0.5rem;
    }
}

@media (max-width: 320px) {

    h1.custom, h2.custom, h3.custom {
        margin-bottom: 10px;
    }

    .video-overlay h1 {
        font-size: 0,7rem;
    }

    .video-overlay h2,
    .video-overlay h3 {
        font-size: 0.6rem;
    }

    .video-overlay h2 {
        font-size: 0.7rem;
    }

    .video-overlay {
        padding: 0.5rem;
    }

    .btn-lg {
        font-size: 0.5rem;
        padding: 0.4rem 0.8rem;
        height: 35px;
        width: 60%;
        max-width: 220px;
    }

    .promo h1 {
        font-size: 1.5rem;
    }
}

/* -------------------Media----------------------------- */