@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');


:root {
    --main-color: #424242;
    --dark-blue-color: #445677;
    --pink-color: #ee6e73;
    --white-color: #ffffff;
    --light-grey-color: #eeeeee;
    --box-shadow: 0 8px 24px rgba(44, 43, 55, .1);
}

body {
    font-size: 18px;
    color: var(--main-color);
    font-family: "Source Sans 3", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.mb0 {
    margin-bottom: 0;
}


h2,h3,h4 {
    font-family: "Merriweather", serif;
    font-weight: 700;
    font-size: 2rem;
    font-style: normal;
}

.content {
    h2,h3,h4 {
        font-family: "Merriweather", serif;
        font-weight: 700;
        font-size: 2rem;
        font-style: normal;
    }
    
    img {
        border-radius: 8px;
    }
}

.mb0 {
    margin-bottom: 0;
}

.pt0 {
    padding-top: 0 ;
}

.container {
    width: 96%;
    max-width: 1280px;
}

nav {
    height: 80px;
}

nav a {
    color: #5f5e60;
}

nav .sidenav-trigger {
    height: 80px;
    line-height: 80px;
}

nav .brand-logo {
    height: 80px;
    display: flex;
    align-items: center;
}

nav .brand-logo img {
    height: 60px;
}

nav ul a {
    line-height: 80px;
    color: var(--main-color);
    font-weight: 700;
}

nav.breadcrumbs {
    background-color: #f5f5f5;
    color: var(--main-color);
    font-size: 1rem;
    height: 64px;
    box-shadow: none;
}

nav.breadcrumbs a {
    color: var(--main-color);
    font-size: 1rem;
}

nav.breadcrumbs .breadcrumb:last-child {
    color: var(--pink-color);
}

nav.breadcrumbs .breadcrumb:before {
    content: none;
}


.button {
    background-color: var(--pink-color);
    display: inline-block;
    padding: 16px 32px;
    color: white;
    border-radius: 50px; 
    font-weight: 400;
    transition: 0.5s;
}

.button i {
    opacity: 0.7;
    font-size: 1.4rem;
}

.button:hover {
    background-color: var(--main-color);
}

.index .section {
    padding: 80px 0;
}

.section {
    padding: 60px 0;
    &.grey-section {
        background: #fafafa;
    }
}

.pagetitle {
    font-family: "Merriweather", serif;
    font-weight: 700;
    font-size: 3rem;
    margin-top: 0;
    text-transform: uppercase;
}

.section-title {
    font-weight: 900;
    text-align: center;
    font-size: 3rem;
}


.content {
    blockquote {
        border-color: var(--pink-color);
        font-style: italic;
        font-weight: 500;
    }

    a {
        color: var(--pink-color);
    }
    
    ul {
        li {
            position: relative;
            padding: 0 20px;
            list-style-type: none;
            
            &:before {
                content: "\f002";
                font-family: "Font Awesome 6 Free";
                font-weight: 900;
                font-size: 0.6rem;
                color: var(--pink-color);
                display: block;
                position: absolute;
                left: 5px;
                top: 5px;
            }
        }
        
        &.contacts-lists {
            li {
                padding: 10px 20px;
                border-bottom: 1px dashed #d5d5d5;
                
                &:before {
                    top: 16px;
                }
            }
        }
    }
}



.first-bg-section {
    height: 600px;
    background-image: url(/assets/img/calculator.jpg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;

    .position-relative {
        position: relative;
        height: 600px;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
        color: #ffffffd2;

        h1 {
            font-family: "Merriweather", serif;
            font-size: 4rem;
            font-weight: 700;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            text-transform: uppercase;
            padding: 0;
            margin: 0;
        }

        p {
            font-size: 1.4rem;
            z-index: 3;
            padding: 0;
            margin: 0;
            font-weight: 500;
            margin-left: 10px;
            margin-top: 20px;
            line-height: 1.2;
        }

        .button {
            margin-top: 40px;
        }
    }
}

.border-left {
    border-left: 4px #bc9746 solid;
    padding-left: 40px !important;
}

.service-item-block {
    box-shadow: none;
    height: 560px;
    overflow: hidden;
    border-radius: 10px;
    
    .card-panel-header {
        display: flex;
        align-items: center;
        padding: 20px 0;
        
        i {
            color: var(--gold-color);
            font-size: 2rem;
        }
        
        .hline {
            height: 2rem;
            width: 4px;
            background-color: #bc9746;
            margin: 0 10px;
        }
        
        h5 {
            font-size: 1.4rem;
            font-family: "Philosopher", sans-serif;
            font-weight: 700;
            line-height: 1;
        }
    }
    
    ul li {
        position: relative;
        padding: 0 20px;
        
        &::before {
            content: "";
            display: block;
            position: absolute;
            left: 0;
            top: 8px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            border-left: 1px solid #bc9746;
            border-top: 1px solid #bc9746;
            border-bottom: 1px solid #bc9746;
        }
        
        a {
            color: var(--main-color);
            font-size: 1rem;
            font-weight: 500;
            padding-bottom: 3px;
            border-bottom: 1px dashed transparent;
            
            &:hover {
                border-color: var(--gold-color);
            }
        }
    }
    
    &.serices-item {
        padding: 40px;
        height: 400px;
        
        i {
            font-size: 3rem;
        }
        
        h5 {
            font-size: 1.8rem;
        }
    }

}

.skills-section  .card-panel .card-panel-icon {
    position: absolute;
    height: 100px;
    width: 100px;
    top: -50px;
    left: 50%;
    margin-left: -50px;
    border-radius: 50%;
    border: 10px solid var(--white-color);
    background: var(--dark-blue-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--white-color);
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.flex-wrap .card-panel {
    flex: 1 0 0%;
    padding: 10px;
    border: none;
    position: relative;
    box-shadow: none;
    min-width: 300px;
}

.skills-section  .card-panel {
    position: relative;
    margin-top: 50px;
}

.skills-section  .card-panel .card-panel-text {
    height: 200px;
    overflow: hidden;
    font-weight: 700;
    padding: 10px;
    padding-top: 60px;
    text-align: center;
    border: 2px solid var(--light-grey-color);
    border-radius: 10px;
    background-color: var(--light-grey-color);
}

.gold-text {
    color: #bc9746;
}

.reviews-section .card-panel {
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.reviews-section .card-panel .card-panel-title {
    display: flex;
    font-weight: 600;
    align-items: center;
}

.reviews-section .card-panel .card-panel-title .card-icon {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 6px solid #F1F1F1;
    background: white;
    flex-shrink: 0;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue-color);
    font-size: 1.2em;
}

.reviews-section .card-panel .card-panel-body {
    padding: 20px;
}

.reviews-section .card-panel .card-panel-title {
    font-size: 1.2em;
    font-weight: 600;
}

.reviews-section .card-panel .card-panel-blockquote {
    font-weight: 400;
    font-size: 1rem;
    border: none;
    padding-left: 0;
    height: 240px;
    overflow: hidden;
    transition: 0.3s;
}

.reviews-section .card-panel:hover .card-panel-blockquote {
    min-height: 240px;
    overflow: visible;
}


.reviews-section .card-panel .card-panel-blockquote::before {
    content: "\f100";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--dark-blue-color);
    display: inline;
    padding-right: 10px;
}

.reviews-section .card-panel .card-panel-blockquote::after {
    content: "\f101";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--dark-blue-color);
    display: inline;
    padding-left: 10px;
}

.owl-carousel .owl-dots {
    width: 100%;
    text-align: center;
}

.owl-carousel button.owl-dot {
    height: 8px;
    width: 8px;
    border: 2px solid var(--pink-color);
    display: inline-block;
    margin: 5px;
    border-radius: 50%;
}

.owl-carousel button.owl-dot.active {
    background: var(--pink-color);
}

iframe {
    display: block;
    width: 100%;
    height: 500px;
}

.page-footer {
    background-color: var(--dark-blue-color);
    .contacts {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        font-size: 1.6rem;

        li {
            display: flex;
            align-items: center;

            a {
                color: var(--light-grey-color);
                font-size: 1rem;
            }

            .icon {
                margin-right: 10px;
                font-size: 1rem;
                opacity: 0.3;
                width: 40px;
                height: 40px;
                display: flex;
                justify-content: center;
                align-items: center;
                border: 2px solid var(--white-color);
                border-radius: 50%;
            
            }
        }
    }

    .footer-copyright {
        font-size: 14px;
        color: var(--light-grey-color);
        height: auto;
        padding: 0;
        white-space: nowrap;
    }
}

.copy-pt {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.owl-carousel.owl-carousel .owl-nav button {
    position: absolute;
    font-size: 60px;
    color: var(--pink-color);
    transition: .5s;
}
.owl-carousel.owl-carousel .owl-nav button:hover {
    color: var(--main-color);
    cursor: pointer;
}

.owl-carousel .owl-nav {
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    top: 50%;
    margin-top: -60px;
}

.owl-carousel .owl-nav .owl-prev {
    left: -20px;
}

.owl-carousel .owl-nav .owl-next {
    right: -20px;
}

.arbitrage-card {
   box-shadow: none; 
   border-radius: 10px;
   
   .card-content {
        color: var(--main-color);
        height: 210px;
        overflow: hidden;
        
        h4 {
            font-size: 1.6rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-weight: 700;
            padding-bottom: 20px;
            margin-bottom: 20px;
            border-bottom: 4px solid var(--gold-color);
            height: 83px;
        }
        
        p {
            line-height: 1.2;
            font-size: 1rem;
        }
    }
   
}

.post-card {
   box-shadow: none; 
   border-radius: 10px;
   background: white;
   overflow: hidden;
   margin-bottom: 20px;
   
   .post-card__image {
       width: 100%;
       aspect-ratio: 16 / 9;
       background-size: cover;
       background-position: center;
       border-radius: 10px;
   }
   
   .post-card__content {
        color: var(--main-color);
        height: 210px;
        overflow: hidden;
        padding: 24px;
        
        h4 {
            font-size: 1.6rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-weight: 700;
            padding-bottom: 20px;
            margin-bottom: 20px;
            border-bottom: 4px solid var(--gold-color);
            height: 83px;
        }
        
        p {
            line-height: 1.2;
            font-size: 1rem;
        }
    }
    
    .post-card__action {
        padding: 16px 24px;
    }
   
}

.card-item {
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    
    .card-content {
        color: var(--main-color);
        
        h4 {
            font-size: 1.4rem;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-weight: 700;
            padding-bottom: 20px;
            margin-bottom: 20px;
            height: 98px;
            transition: .5s;
            color: var(--main-color);
        }
    }
    
    &:hover {
        h4 {
            color: var(--pink-color);
        }
    }
}

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

    nav .brand-logo img {
        height: 50px;
    }

    .first-bg-section {
        height: 450px;
    }

    .first-bg-section .position-relative {
        height: 450px;
        display: flex;
    }
    

    .first-bg-section .position-relative h1 {
        font-size: 3rem;
        position: relative;
        z-index: 1;
        margin-top: 160px;
        color: white;
        text-shadow: 2px 2px 2px #4c4c4c7a;
    }
    .first-bg-section .position-relative h2 {
        font-size: 1.2rem;
        position: relative;
        z-index: 1;
        color: white;
        text-shadow: 2px 2px 2px #4c4c4c7a;
    }

    .first-bg-section .position-relative img {
        right: 50%;
        margin-right: -150px;
        max-width: 300px;
        z-index: 0;
        opacity: 0.5;
    }

    .first-bg-section .position-relative .button {
        margin-top: 40px;
        position: relative;
        z-index: 1;
    }
    
    .service-item-block {
        &.serices-item {
            padding: 20px;
            height: auto;
        }
    }
    
    .page-footer {
        .contacts {
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            font-size: 1.6rem;
        }
    }

    .copy-pt {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
    }

    .copy-pt span {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 992px) {
    .service-item-block {
        &.serices-item {
            height: auto;
        }
    }
    
    .pagetitle {
        font-size: 1.8rem;
    }
    
    .content {
        padding: 10px;
    }
}
