html {
    box-sizing: border-box;
    font-size: 16px;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
}
ol, ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
}
header {
    padding: 0;
}
.main-section {
    color: white;
    position: relative;
    height: 600px;
}
.main-section .card {
    border: none;
}
.intro-box {
    padding-top: 50px;
}
.intro_inner {
    float: left;
    width: 56%;
}
.intro_title {
    font-family: 'Magistral-Bold';
    font-weight: 700;
    color: #000;
    line-height: 58.4px;
}
.intro_subtitle {
    font-family: 'Magistral-Book';
    font-size: 1.3rem;
    color: #000;
}
.intro_button_subtitle {
    font-family: 'Magistral-Book';
    font-size: 1.3rem;
    color: #000;
}
.consultation_form {
    margin-left: 56%;
}
.steps-section h2,
.news-section h2 {
    font-size: 36px;
    font-weight: bold;
}
.steps-section h3 {
    font-size: 36px;
    color: #000;
}
.navbar-nav {
    padding-right: 20px;
}
.nav-item .button-item {
    padding-left: 30px;
}
.navbar-light .navbar-nav .nav-link {
    color: #000;
}
.navbar-light .navbar-nav .nav-link:hover {
    color: #e00;
}
.navbar-brand img {
    height: 50px;
}
.btn-outline-primary {
    cursor: pointer;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    color: black;
    border:2px solid transparent;
    border-radius:10px;
    border-right-color:rgb(135, 13, 0);
    border-left-color:rgb(11, 5, 5);
    background:
      linear-gradient(to left,
        rgb(135, 13, 0) 0%, rgb(11, 5, 5) 70% ,
        rgb(135, 13, 0) 85%, rgb(11, 5, 5) 100%) top/100% 2px,
      linear-gradient(to top, rgb(135, 13, 0) 0%, rgb(11, 5, 5) 100%) bottom/100% 2px;
    background-repeat:no-repeat;
    margin: 0 20px;
}
.btn-outline-primary:hover {
    opacity: 0.5;
    color: white;
    background:
    linear-gradient(to left,
        rgb(135, 13, 0) 0%, rgb(11, 5, 5) 70% ,
        rgb(135, 13, 0) 85%, rgb(11, 5, 5) 100%) top/100% 2px,
      linear-gradient(to top, rgb(135, 13, 0) 0%, rgb(11, 5, 5) 100%) bottom/100% 2px;
}
.btn-danger {
    background-color: #e00;
    border: none;
}
.less-btn {
    display: none;
}
.simple-footer{
    width: 100%;
    height: 85px;
    display: flex;
    align-items: center;
    margin-top: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: space-between;
    padding-right: 9%;
    padding-left: 9%;
}
.simple-footer-icons a{
    margin-left: 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.simple-footer-icons :hover{
    opacity: 50%;
    filter: sepia(100%) hue-rotate(180deg) saturate(200%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0);
    color: #E41115;
}
@media screen and (min-width: 1201px) {
    .less-btn {
        display: none;
    }
}
@media screen and (max-width: 1200px) {
    .less-btn {
        display: flex;
    cursor: pointer;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    color: black;
    border:2px solid transparent;
    border-radius:10px;
    border-right-color:rgb(135, 13, 0);
    border-left-color:rgb(11, 5, 5);
    background:
      linear-gradient(to left,
        rgb(135, 13, 0) 0%, rgb(11, 5, 5) 70% ,
        rgb(135, 13, 0) 85%, rgb(11, 5, 5) 100%) top/100% 2px,
      linear-gradient(to top, rgb(135, 13, 0) 0%, rgb(11, 5, 5) 100%) bottom/100% 2px;
    background-repeat:no-repeat;
    }
    .less-btn:hover {
        opacity: 0.5;
        color: white;
        background:
        linear-gradient(to left,
            rgb(135, 13, 0) 0%, rgb(11, 5, 5) 70% ,
            rgb(135, 13, 0) 85%, rgb(11, 5, 5) 100%) top/100% 2px,
          linear-gradient(to top, rgb(135, 13, 0) 0%, rgb(11, 5, 5) 100%) bottom/100% 2px;
    }
   .navbar .btn-outline-primary {
        display: none;
    }
}
@font-face {
    font-family: 'Magistral-Medium';
    src: url("../fonts/Magistral-Medium.woff") format('woff');
}
@font-face {
    font-family: 'Magistral';
    src: url("../fonts/Magistral-Book.woff") format('woff');
}
@font-face {
    font-family: 'Magistral-Light';
    src: url("../fonts/Magistral-Light.woff") format('woff');
}
.stub-header{
    font-family: 'Magistral-Medium', sans-serif;
    font-weight: bold;
    color: black;
    text-align: center;
    height: 127px;
    line-height: 127px;
}
.title{
    font-family: 'Magistral-Medium', sans-serif;
    font-weight: 500;
    line-height: 54px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}
.container{
    width: 100%;
    background: url("../img/backgrounds/background-map.svg") no-repeat center center /cover;
    justify-content: center;
}
.cont-left-half{
    color: white;
}
.cont-right-half{
    display: table-cell;
    vertical-align: middle;
}
.footer{
    width: 100%;
    height: 85px;
    display: flex;
    align-items: center;
    margin-top: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: space-between;
    padding-right: 9%;
    padding-left: 9%;
}
.footer-icons a{
    margin-left: 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.footer-icons :hover{
    opacity: 50%;
    filter: sepia(100%) hue-rotate(180deg) saturate(200%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0);
    color: #E41115;
}
.block-title{
    padding: 10px 50px 10px 50px;
    border-radius: 5px;
    width: 915px;
    height: 155px;
    color: white;
    font-family: 'Magistral', sans-serif;
    font-size: 10px;
    font-weight: bold;
    line-height: 24px;
    text-align: left;
    content: "";
    background-color: black;
    z-index: 1;
    position: absolute;
    left: -50px;
    top: -42px;
}
.block-title h1{
    font-size: x-large;
}
.block-text{
    position: relative;
    content: "";
    background-color: #E1DFE0;
    z-index: 2;
    border-radius: 5px;
    padding: 15rem, 15rem;
}
.block-text h2{
    font-family: 'Magistral', sans-serif;
    font-size: 35px;
    font-weight: bold;
    line-height: 53px;
    text-align: left;
    text-transform: uppercase;
    padding-bottom: 10px;
    max-width: 796px;
}
.block-text p{
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
}
.block-container{
    position: relative;
}
.block-text{
    padding: 2rem 1rem; 
}
.block-substrate{
    border-radius: 5px;
    width: 141px;
    height: 176px;
    content: "";
    background: linear-gradient(to top, black, red);
    z-index: 1;
    position: absolute;
    top: 0;
}
.gradient-text {
    background: linear-gradient(to bottom, black, red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mission{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 40px;
}
#mission-container{
    position: relative;
    margin-left: 50px;
    margin-top: 42px;
}
#mission-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: max-content;
  border-radius: 5px;
  padding: 1rem;
}
.philosophy{
    display: flex;
    align-items: center;
    justify-content: center;
}
#philosophy-container{
    margin-top: 50px;
    margin-left: 50px;
}
#philosophy-text{
    display: block;
    text-align: center;
    max-width: 1470px;
    padding: 37px 15px 37px 15px;
    gap: 10px;
    border-radius: 5px 0px 0px 0px;
}
.goal{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
}
#goal-container{
    max-width: 990px;
    margin-right: 50px;
    margin-top: 42px;
}
#goal-text{
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 1rem;
}
#goal-text h2{
    font-size: 30px;
    line-height: 39px;
}
#goal-title{
    left: 75px;
    text-align: right;
}
#development-container{
    width: 100%;
}
#trust-container{
    display: flex;
    height: 100%;
    align-items: center;
    vertical-align: center;
}
#trust-text{
    height: 100%;
    justify-items: center;
    display: flex;
    align-items: center;
}
#trust-text p{
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 35px;
    text-align: left;
}
#expertise-container{
    padding-right: 35px;
    padding-top: 20px;
}
#expertise-substrate{
    right: 0;
}
#expertise-text{
    padding-bottom: 13px;
}
#readiness-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
    height: 100%;
}
.readiness{
    height: 100%;
}
#readiness-text{
    height: 100%;
    display: flex;
    justify-items: center;
    align-items: center;
}
#readiness-text p{
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    text-align: left;
}
.clarity{
    height: 100%;
}
#clarity-container{
    height: 100%;
    padding-left: 35px;
    padding-top: 20px;
    padding-right: 20px;
}
#clarity-text{
    height: 100%;
    display: flex;
    justify-items: center;
    align-items: center;
}
#clarity-substrate{
    left: 0;
    top: 0;
}
#values-title{
    padding: 0;
    text-align: center;
    width: 141px;
    height: 737px;
    left: auto;
    right: 0;
    top: -50px
}
#honesty-text{
    padding-bottom: 13px;
}
.company-policy-page{
    display: flex;
    justify-content: center;
    padding: 40px 200px;
}
.company-policy-container{
    width: 100%;
    max-width: 1520px;
}
.company-policy-main-blocks{
    padding-top: 50px;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 50px;
}
.re-cl-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    max-width: 401px;
}
.re-cl-container > div{
    height: 100%;
}
.ho-ex-de-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    box-sizing: border-box;
}
@media (max-width: 1700px){
    .company-policy-container > div:not(.goal){
        margin-bottom: 35px;
    }
    .block-text h2{
        font-size: 30px;
        line-height: 45px;
    }
    .ho-ex-de-container div{
        max-width: 387px;
    }
    #values-title{
        height: 965px;
    }
    #trust-container{
        max-width: 382px;
    }
    .re-cl-container{
        max-width: 339px;
    }
    #readiness-container{
        padding-right: 0;
    }
    #clarity-container{
        padding-right: 0;
        padding-bottom: 1rem;
    }
    .ho-ex-de-container{
        gap: 10px;
    }
}
@media (max-width: 1440px) {
    .company-policy-page{
        padding: 35px 120px;
    }
    #trust-text h2{
        text-align: center;
    }
}
@media (max-width: 1200px) {
    .company-policy-page{
        padding: 30px 80px;
    }
    .block-title{
        max-width: 560px;
        padding: 5px 30px 5px 30px;
        top: -30px;
        left: -30px;
    }
    .block-text h2{
        font-size: 25px;
        line-height: 38px;
    }
    #mission-container{
        margin-left: 30px;
        margin-top: 30px;
        max-width: 588px;
    }
    #mission-text{
        max-width: 558px;
    }
    #mission-text h2{
        max-width: 468px;
    }
    #goal-title{
        left: 59px;
    }
    #goal-text {
        max-width: 558px;
    }
    #goal-container{
        max-width: 588px;
        margin-top: 30px;
        margin-right: 30px;
    }
    #goal-text h2{
        font-size: 25px;
        line-height: 33px;
    }
    #philosophy-container{
        margin-left: 30px;
        margin-top: 30px;
    }
}
#development-media{
    display: none;
}
@media (max-width: 1100px) {
    .block-substrate {
        height: 130px;
    }
    .company-policy-container{
        max-width: 771px;
    }
    #trust-text p {
        line-height: 20px;
    }
    .company-policy-container > div:not(.goal) {
        margin-bottom: 35px;
        display: grid;
    }
    .goal{
        margin-bottom: unset;
        justify-content: center;
    }
    .company-policy-main-blocks {
        padding-top:0;
    }
    .ho-ex-de-container {
        gap: 20px;
        display: flex;
        height: inherit;
        flex-direction: inherit;
    }
    #develepment-ordinary{
        display: none;
    }
    #values-title {
        display: none;
    }
    .re-cl-container {
        display: flex;
        flex-direction: column;
        max-width: unset;
    }
    #development-media{
        display: flex;
        justify-content: center;
        margin-bottom: unset;
    }
    #honesty-container{
        padding-top: 1rem;
        height: 100%;
    }
    #honesty-text {
        padding-bottom: 13px;
        height: 100%;
    }
    #development-container{
        padding-bottom: 1rem;
    }
    #trust-container {
        max-width: unset
    }
    #trust-text{
        padding: 15px 20px;
    }
    #trust-text h2 {
        text-align: left;
    }
    .block-text{
        padding: 15px 20px;
    }
}
@media (max-width: 730px) {
    .block-title {
        max-width: 85%;
    }
}
#philosophy-mobile{
    display: none;
}
@media (max-width: 740px){
    #philosophy-mobile{
        display: block;
    }
    #philosophy-desktop{
        display: none;
    }
    .ho-ex-de-container, .re-cl-container{
        flex-direction: column;
        align-items: center;   
    }
    .mission, .company-policy-container > div:not(.goal) {
        margin-bottom: auto;
    }
    .block-text{
        padding: 1rem 1rem; 
    }
}
.block-text{
    padding: 2rem 1rem; 
}
@media (max-width: 350px){
    .company-policy-page {
        padding: 0;
    }
}
