@media (max-width: 575.98px) {
    
    .fp__heading-3 {
        font-size: 4rem !important;
    }
    
    .header {
        height: auto;
        overflow-x: hidden;
    }
    
    .header__inner {
        margin-top: 50px;
        padding-bottom: 50px;
        width: 100%;
    }

    .header__image--front {
        margin-left: 55%;
        height: auto;
        max-width: 90%;
        transform: translateX(-50%);
    }
    
    .header__inner .btn {
        display: block;
    }
    
    .header__inner .btn:last-child {
        margin-top: 15px !important;
    }
    
}

@media (min-width: 576px) and (max-width: 767.98px) {
    
    fp__heading-3 {
        font-size: 4rem !important;
    }
    
    .header {
        height: auto;
        overflow-x: hidden;
    }
    
    .header__inner {
        margin-top: 50px;
        padding-bottom: 50px;
        width: 100%;
    }

    .header__image--front {
        margin-left: 55%;
        height: auto;
        max-width: 60%;
        transform: translateX(-50%);
    }
    
    .header__inner .btn:last-child {
        margin-left: 15px !important;
    }
    
}

@media (max-width: 767.98px) {
    
    .specializations__col:nth-child(odd) a .specializations__box {
        background-color: #ffffff;
    }

    .specializations__col:nth-child(even) a .specializations__box {
        background-color: #f1f1f1;
    }
    
    .news--padding, .about--padding {
        padding: 110px 0 70px 0;
    }
    
}

@media (min-width: 768px) {
    
    .specializations__col {
        margin: 0 !important;
        padding: 0 !important;
    }

    .news__box {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

}

@media (min-width: 768px) and (max-width: 991.98px) {
    
    .fp__heading-3 {
        font-size: 4.6rem !important;
    }
    
    .header {
        height: 550px;
        overflow: hidden;
    }
    
    .header__image--front {
        max-height: 97%;
        width: auto;
        position: absolute;
        right: -20px;
        bottom: 0;
    }
    
    .header__inner {
        width: 100%;
        position: absolute;
        top: 50%;
        left: 0;
        z-index: 99;
        transform: translateY(-50%);
    }
    
    .header__inner .btn {
        display: block;
    }
    
    .specializations__col:nth-child(4n + 1) a .specializations__box, .specializations__col:nth-child(4n + 4) a .specializations__box {
        background-color: #ffffff;
    }
    
    .specializations__col:nth-child(4n + 2) a .specializations__box, .specializations__col:nth-child(4n + 3) a .specializations__box {
        background-color: #f1f1f1;
    }
 
    .news--padding, .about--padding {
        padding: 110px 0 70px 0;
    }

}

@media (max-width: 991.98px) {
    
    .header {
        margin-top: 60px;
        overflow-y: hidden;
    }

    .about__inner--dark {
        padding: 40px;
    }
    
    .news__hp {
        width: 200%;
        bottom: -10px;
    }

}

@media (min-width: 992px) {
    
    .fp__heading-3 {
        font-size: 4.6rem !important;
    }
    
    .header__image--front {
        max-height: 97%;
        width: auto;
        right: -15%;
        bottom: 0;
    }
    
    .header__inner .btn:last-child {
        margin-left: 15px !important;
    }

    .about {
        margin-top: -120px;
    }
    
    .about__inner--transparent {
        padding: 110px 30px 40px 0;
    }
    
    .about__inner--dark {
        padding: 110px 40px 110px 60px;
    }
    
    .specializations__col:nth-child(odd) a .specializations__box {
        background-color: #ffffff;
    }

    .specializations__col:nth-child(even) a .specializations__box {
        background-color: #f1f1f1;
    }
    
    .news--padding, .about--padding {
        padding: 70px 0;
    }
    
    .news__hp {
        width: 105%;
        bottom: -20px;
    }

}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .header {
        height: 600px;
    }
    
    .header__image--front {
        max-height: 97%;
        width: auto;
        position: absolute;
        right: -20px;
        bottom: 0;
    }
    
    .header__inner {
        width: 100%;
        position: absolute;
        top: 50%;
        left: 0;
        z-index: 99;
        transform: translateY(-50%);
    }
    
}

@media (min-width: 1200px) {
        
    .header {
        height: 947px;
    }
    
    .header__image {
        max-height: 90%;
        width: auto;
    }

    .header__image--front {
        max-height: 90%;
        width: auto;
        position: absolute;
        right: 100px;
        bottom: 0;
    }
    
    .header__inner {
        width: 100%;
        position: absolute;
        top: 50%;
        left: 0;
        z-index: 99;
        transform: translateY(-50%);
    }

}

@media (min-width: 1400px) {
    
    .header__image--front {
        max-height: 90%;
        width: auto;
        position: absolute;
        right: 200px;
        bottom: 0;
    }
    
}

@media (min-width: 1600px) {
 
    .header__image--front {
        max-height: 90%;
        width: auto;
        position: absolute;
        right: 410px;
        bottom: 0;
    }
    
}

.header {
    background-image: url(../images/header.jpg);
    width: 100%;
    position: relative;
}

.header__heading-1 {
    margin-bottom: 20px;
    color: #404040;
}

.header span {
    margin-bottom: 0;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: #404040;
    letter-spacing: .3rem;
    line-height: 1.4rem;
    text-transform: uppercase;
    display: block;
}

.header p {
    font-size: 1.6rem;
    color: #404040;
}

.nc__image {
    width: auto;
    display: inline-block;
}

.about {
    position: relative;
    z-index: 2;
}

.about--padding {
    padding: 70px 0 0 0;
}

.about__inner--transparent .about__heading-2 {
    color: #404040;
}

.about__inner--dark .about__heading-2 {
    color: #f1f1f1;
}

.about p {
    font-size: 1.6rem;
    text-align: justify;
}

.about__inner--transparent p {
    color: #404040;
}

.about__inner--dark p {
    color: #f1f1f1;
}

.about__inner--dark {
    background-color: #404040;
}

.about__inner--transparent p a, .news p a {
    color: #404040;
}

.about__inner--dark p a, .news__heading-2 a:hover, .news p a:hover {
    color: #ffffff !important;
}

.about p a:hover, .news p a:hover {
    font-weight: 500;
}

.news {
    background-color: #f1f1f1;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.news .container {
    position: relative;
    z-index: 1;
}

.news__hp {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
}

.news__heading-2 {
    margin-bottom: 25px;
    font-size: 4rem;
    color: #404040;
    line-height: 3.2rem;
}

.news__heading-2 a:hover {
    color: #252525 !important;
}

.news p {
    font-size: 1.6rem;
    color: #404040;
}

.ni__image {
    height: auto;
    max-width: 100%;
    border: 1px solid #f8f8f8;
}

.news__image {
    position: relative;
}

.news__owl-dots .owl-dot {
    margin-right: 4px;
    padding: 0;
    background-color: transparent;
    border: 0;
    display: inline-block;
    zoom: 1;
    *display: inline-block;
}

.news__owl-dots .owl-dot span {
    margin: 4px;
    background-color: #ffffff;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity 200ms ease;
}

.news__owl-dots, .news__owl-dots .owl-dot:active, .news__owl-dots .owl-dot:focus {
    outline: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.news__owl-dots .owl-dot.active span, .news__owl-dots .owl-dot:hover span {
      background-color: #252525;
}

.specializations--padding {
    padding-top: 70px;
    padding-bottom: 70px;
}

.specializations__heading-2 {
    margin-bottom: 30px;
    color: #404040;
}

.specializations__heading-3 {
    font-size: 1.8rem;
    color: #404040;
}

.specializations p {
    font-size: 1.6rem;
    color: #404040;
}

.specializations__box {
    margin: 0 auto;
    padding: 100px 0;
    width: 100%;
    overflow: hidden;
    position: relative;
    top: 0;
    aspect-ratio: 1 / 0.5;
}

.specializations__col a .specializations__box, .specializations__col a:focus .specializations__box {
    display: block;
    transition: ease all .3s;
    border: 2px solid transparent;
}

.specializations__col a:hover .specializations__box {
    display: block;
    border: 2px solid #404040;
}

.specializations__col a:hover .specializations__box h3 {
    color: #404040;
    font-weight: 500;
    transition: ease all .3s;
}

.specializations__image {
    margin-bottom: 20px;
    height: 60px;
    width: auto;
}

.nb__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fancy-popup {
    width: 100%;
    max-width: 1198px;
    display: none;
}

.fp__heading-3 {
    font-family: 'Cormorant SC', serif;
}

.fancy-popup h2, .fancy-popup h3, .fancy-popup h4 {
    color: #040404 !important;
}

.fancy-popup h2 {
    margin-bottom: 15px;
}

.fancy-popup h3 {
    margin: 15px 0;
}

.fancy-popup h4 {
    margin: 10px 0;
}

.fancy-popup p {
    font-size: 1.6rem;
    color: #040404;
    text-align: justify;
}

.fancy-popup ol, .fancy-popup ul, .content ol, .content ul {
    margin: 16px 0;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 2.6rem;
}

.fancy-popup ol li, .content ol li {
    margin: 0 0 10px 17px;
    padding: 0 0 0 4px;
    font-size: 1.6rem;
    color: #040404;
    position: relative;
}

.fancy-popup ul li {
    margin: 0 0 3px 12px;
    padding: 0 0 0 8px;
    font-size: 1.6rem;
    color: #404040;
    list-style-type: none;
    position: relative;
}

.fancy-popup ul li:before {
    font-family: 'Font Awesome 5 Pro';
    font-size: 0.7rem;
    color: #252525;
    font-weight: bold;
    text-decoration: inherit;
    content: '\f111';
    position: absolute;
    top: 1px;
    left: -12px;
}