html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
  font-family: 'Poppins', sans-serif;
}

/* Colors

#000000
#860207
#ca1f26
#f6f3ee
#f8f5f1
#ffffff

/* end Colors

/* Buttons */

.btn-primary {
    background-color: #ca1f26;
    border-color: #ca1f26;
    padding: 10px 25px;
}

.btn-primary:hover {
    background-color: #000;
    border-color: #fff;
}

.btn-danger {
    background-color: #ca1f26;
    border-color: #ca1f26;
    padding: 10px 25px;
}

.btn-danger:hover {
    background-color: #000;
    border-color: #fff;
}

.btn-dark {
    background-color: #000;
    border-color: #000;
    padding: 10px 25px;
}

.btn-dark:hover {
    background-color: #ca1f26;
    border-color: #fff;
}

.btn-success {
    background-color: #fff;
    border-color: #000;
    color: #000;
    padding: 10px 25px;
}

.btn-success:hover {
    background-color: #000;
    border-color: #ca1f26;
}

.btn-light {
    padding: 10px 25px;
}

.btn-light:hover {
    background-color: #000;
    border-color: #ca1f26;
    color: #fff;
}

.btn-warning {
    background-color: #ca1f26;
    border-color: #ca1f26;
    color: #fff;
    padding: 10px 25px;
}

.btn-warning:hover {
    background-color: #fff;
    border-color: #000;
    color: #ca1f26;
}

.img-thumbnail {
    margin-bottom: 50px
}

/* Header */

.header_top {
  background-color: #000000;
  color: #F8F5E4;
  padding: 15px 0px 15px 60px;
}

.header_bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0px 15px 60px;
    text-align: right;
}

/* Logo */

.logo {
    background-color: #ca1f26;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo::after {
    border-top-width: 145px;
    border-top-style: solid;
    border-top-color: #ca1f26;
    border-right-width: 60px;
    border-right-style: solid;
    border-right-color: transparent;
    content: "";
    display: inline-flex;
    position: absolute;
    left: 100%;
    z-index: 100;
    top: 0;
}

.logo img {
  width: 100%;
  max-height: 50px;
}

.contact_top i {
  color: #ca1f26;
  margin: 0px 5px
}

.social_media_top {
  text-align: right;
}

.social_media_top i {
  color: #fff;
  margin: 0px 3px
}

.social_media_top i:hover {
    color: #ca1f26;
  }

/* Team */

.team {
    transition: all 500ms ease;
    transition-duration: 4s;
    transition-delay: 2s;
}

.team:hover .card-body.team_member {
    padding-bottom: 40px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
.team_member img {
    width: 100%;
    object-fit: fill;
}

.team_member span {
    color: #F7C04A;
}

.card-body.team_member {
    background-color: #ca1f26;
    bottom: 0;
    color: #F8F5E4;
    position: absolute;
    width: 100%;
    height: 100px;
}

.social_team, .team_contact{
    visibility: hidden;
}

.team:hover .social_team{
    visibility: visible;
}

.team:hover .card-body.team_member {
    height: auto;
}

.team:hover .social_team{
    visibility: visible;
}

.team_contact {
    visibility: hidden;
}

.team_contact i {
    margin-right: 7px;
}

.team:hover .team_contact {
    visibility: visible;
}

.social_team a {
    color: #F7C04A;
    font-size: 1.2rem;
    margin: 0px 5px;
    text-decoration: none;
}

.social_team a:hover {
    color: #F8F5E4;
}

/* Profile image */

#showImage {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

/* Menu */

.container.menu {
  padding: 0;
}

.menu figure {
  margin: 0;
}

.navbar-brand {
  margin: 0;
}

a.nav-link {
  color: #000000;
  font-size: 1.15rem;
  font-weight: 500;
}

a.nav-link:hover {
  color: #ca1f26;
}

.navbar-nav.me-auto.mb-2.mb-lg-0 {
  margin-left: 50px;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-scroller .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
}

/* Offcanvas nav */

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    background-color: #000;
    bottom: 0;
    left: 100%;
    overflow-y: auto;
    padding: 25px 1rem;
    position: fixed;
    text-align: center;
    top: 0px; /* Height of navbar */
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    visibility: hidden;
    width: 100%;
    z-index: 9999;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-underline .nav-link:hover {
  color: #007bff;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

/* Account box */

.sign-box .btn{
  color: #539165;
}

.sign-box .btn:hover{
  background-color: #ca1f26;
  color: #F8F5E4;
}

.sign-box i {
  margin-right: 5px;
}

/* Slider */

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
}

.slider_content {
  margin-bottom: 20%;
}

.slider_content span {
  font-size: 3rem;
}

.slider_left {
  text-align: left;
}

.slider_center {
  text-align: center;
}

.slider_right {
  text-align: right;
}

/* Swipper */

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper .swiper-pagination {
    top: -45px;
    position: relative;
}

.swiper .swiper-button-next {
    color: #ca1f26;
}

.swiper .swiper-button-prev {
    color: #ca1f26;
}

/* Testimonials */

.testimonial {
    text-align: center;
}

.swiper-slide .testimonial img {
    border: 5px solid #F8F5E4;
    border-radius: 100%;
    margin: 0px auto 15px;
    max-width: 250px;
}

.testimonial h4 {
    color: #ca1f26;
    font-weight: 500;
}

.testimonial span {
    color: #F7C04A;
}

/* Clients */

.client_details {
    background-color: #F8F5E4;
    bottom: 0;
    color: #ca1f26;
    font-size: 0.8rem;
    padding: 10px 0px;
    position: absolute;
    visibility: hidden;
    width: 100%;
}

.clientSwiper .swiper-slide img {
    border: 1px solid #ca1f26;
}

.swiper-slide:hover .client_details {
    visibility: visible;
}

.client_details h4 {
    color: #539165;
    font-size: 1.4rem;
}

/* Faq */

.faq {
    background-color: #f6f3ee;
    padding: 80px 0;
}

.accordion-flush .accordion-item .accordion-button, .accordion-flush .accordion-item .accordion-button.collapsed {
    font-weight: 700;
    padding: 28px 20px;
}

.accordion-button:not(.collapsed) {
    background-color: #ca1f26;
    border: 0;
    color: #fff;
}

/* Video */

.video_play {
    cursor: pointer;
    margin-bottom: 30px;
}

/* Package */

.package {
    background-color: #F8F5E4;
    border: 2px solid #F8F5E4;
    margin-bottom: 35px;
    padding-bottom: 50px;
    text-align: center;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.package:hover {
    border: 2px solid #ca1f26;
    box-shadow: -1px 3px 10px 0 rgba(0, 0, 0, 0.08);
}

.package i {
    font-size: 2.4rem;
    color: #ca1f26;
    margin: 40px 0px;
    width: 100%;
}

.package h3 {
    color: #539165;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.package span {
    background-color: #539165;
    color: #F8F5E4;
    padding: 5px 15px
}

.package h4 {
    font-size: 2.5rem;
    font-weight: 799;
}

.package ul {
    display: block;
    margin: 0;
    padding: 0;
}

.package li {
    border-bottom: 1px solid #F7C04A;
    display: block;
    margin: 15px 10px;
    padding-bottom: 10px;
}

#label_price {
    background-color: #F7C04A;
    color: #111;
    max-width: 150px;
    font-size: 1rem;
    padding: 5px 15px;
    float: right;
}

/* Portfolio */

.portfolio {
    cursor: pointer;
    margin-bottom: 35px;
    position: relative;
}

.portfolio:hover .portfolio_short_content{
    visibility: visible;
}

.portfolio_short_content {
    background-color: #ca1f26;
    bottom: 0px;
    color: #F8F5E4;
    cursor: help;
    position: absolute;
    padding: 15px;
    visibility: hidden;
}

.portfolio_content, .portfolio_feedback, .portfolio_description {
    padding: 20px;
}

.portfolio_feedback .blockquote {
    font-size: 0.9rem;
    font-style: italic;
}

.portfolio_feedback .blockquote-footer {
    margin-top: 0;
}

.portfolio_details {
    background-color: #F8F5E4;
    padding: 20px;
}


/* Sections */

#welcome, #why_us, #articles {
    margin: 80px 0px;
}

#welcome h2 {
    color: #ca1f26;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.64px;
    margin-top: 0.75rem;
}

#welcome span {
    color: #000;
    font-size: 1.4rem;
}

#welcome .btn-primary i {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

#welcome .btn-primary:hover i {
    padding-left: 15px;
}

#services {
    background-color: #000;
    color: #fff;
    padding: 80px 0px;
}

#services h2 {
    color: #fff;
}

#services h2:after {
    background-color: #ca1f26;
    content: '';
    margin: 20px 0px 0px 10px;
    position: absolute;
    width: 45px;
    height: 2px;
}

#services span, #why_us span, #articles span {
    color: #ca1f26;
    font-size: 1.3rem;
}

#services .btn-warning i {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

#services .btn-warning:hover i {
    padding-left: 15px;
}

#why_us h4 {
    color: #000;
    font-size: 2.5rem;
}

#why_us .btn-primary i {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

#why_us .btn-primary:hover i {
    padding-left: 15px;
}

.why_us {
    margin-bottom: 5px;
}

.why_us i {
    color: #ca1f26;
    float: left;
    font-size: 2.5rem;
    margin: 10px 15px 30px 0;
    min-height: 60px;
}

.why_us span {
    font-weight: 600;
}

#statistics {
    background-color: #860207;
    color: #F8F5E4;
    font-size: 1.2rem;
    padding: 55px 0px;
    text-align: center;
}

#statistics i {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 30px;
}

span.counter {
    font-size: 2rem;
}

#articles h4 {
    color: #000;
    font-size: 2rem;
}

#articles h5 {
    font-size: 1.25rem;
    font-weight: 700;
}

#articles .btn-warning i {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

#articles .btn-warning:hover i {
    padding-left: 15px;
}

#articles .card {
    margin-bottom: 35px;
}

/* Breadcrumb */

.breadcrumb {
    background: url(../images/breadcrumb.webp);
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-attachment: scroll;
    background-size: auto auto;
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-attachment: scroll;
    background-size: auto auto;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #F8F5E4;
    margin-bottom: 0px;
    padding: 75px 0px;
    text-align: center;
}

.breadcrumb ol, li {
    display: inline-block;
}

.breadcrumb h1 {
    color: #fff;
    margin: 30px 0px
}

.breadcrumb a {
    color: #ca1f26;
    text-decoration: none;
}

/* Page content */

.page_content {
    margin-bottom: 50px;
    margin-top: 50px;
}

.page_content img {
    float: left;
    margin: 0px 15px 15px 0px;
    max-width: 450px;
    height: 100%;
    object-fit: cover;
}

.page_content .btn-warning i {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.page_content .btn-warning:hover i {
    padding-left: 15px;
}

.page_content a {
    text-decoration: none;
}

.page_content h4 {
    font-size: 1.35rem;
}

.page_content li {
    display: block;
    margin: 15px 0px;
}

h2.page_title {
    font-weight: 700;
    margin: 40px 0;
    text-align: center;
}

/* Contact */

.social_contact a {
    color: #ca1f26;
    text-decoration: none;
}

.social_contact a:hover {
    color: #000;
}

/* Contact form */

.contact_form h5 {
    font-size: 1.75rem;
    margin-bottom: 30px;
}

.contact_form input, textarea.form-control {
    background-color: #f5f5f5;
}

.contact_form .form-label {
    color: #ca1f26;
    font-weight: 600;
}

button.btn.btn-primary.btn-lg.send_email {
    background-color: #ca1f26;
    border-color: #ccb97e;
    color: #F8F5E4;
}

button.btn.btn-primary.btn-lg.send_email:hover {
    background-color: #ccb97e;
    color: #F8F5E4;
}

/* Required offer */

.cere_oferta h2 {
    color: #ca1f26;
    font-weight: 700;
    margin-bottom: 30px;
}

.cere_oferta .btn {
    margin-bottom: 30px;
}

/* Featured  */

#featured {
    background-color: #f6f3ee;
    padding: 100px 0px;
}

.featured {
    background-color: #fff;
    border: 2px solid #f8f5f1;
    text-align: center;
    padding: 55px 20px;
    margin: 0px 5px;
    width: 15%;
}

.featured:hover {
    background-color: #ca1f26;
    color: #000;
}

.featured span {
    font-size: 1.3rem;
    font-weight: 500;
}

.featured:hover span {
    color: #fff;
}

.featured:hover i {
    color: #fff;
}

.featured i{
  color: #ca1f26;
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.heading_home h1 {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.64px;
    margin-top: 0.75rem;
}

/* Titles  */

.title_block {
  text-align: center;
  margin-bottom: 70px;
}

.title_block h2:after {
    background-color: #ca1f26;
    content: '';
    margin: 20px 0px 0px 10px;
    position: absolute;
    width: 45px;
    height: 2px;
}


/* Card */

.card {
  margin-bottom: 35px;
}

.card:hover {
    box-shadow: -1px 3px 10px 0 rgba(0, 0, 0, 0.08);
}

.card-title a {
  color: #000;
  text-decoration: none;
}

.card-title h3 {
    font-size: 1.55rem;
}

.card-date {
    background-color: #000;
    color: #fff;
    font-size: 1.2rem;
    padding: 10px;
    position: absolute;
}

/* Call to action */

#cta {
  background: url(../images/cta.webp);
  background-position-x: 0%;
  background-position-y: 0%;
  background-repeat: repeat;
  background-attachment: scroll;
  background-size: auto auto;
  background-position-x: 0%;
  background-position-y: 0%;
  background-repeat: repeat;
  background-attachment: scroll;
  background-size: auto auto;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #F8F5E4;
  min-height: 350px;
  padding: 90px 0px 0px 0px;
  text-align: center;
}

#cta h4 {
    color: #fff;
    font-size: 2.5rem;
}

/* Back to top */

.back-to-top {
    color: #e7e5e6;
    cursor: pointer;
    background-color: #221f1e;
    border-radius: 50%;
    bottom: 20px;
    display: none;
    line-height: 40px;
    position: fixed;
    right: 20px;
    text-align: center;
    width: 40px;
    height: 40px;
    z-index: 9999;
}

.back-to-top:hover {
    background-color: #ca1f26;
    color: #fff;
}

.back-to-top i {
    color: #fff;
}

.back-to-top.show {
    display: block;
}

/* Cookies */

.cookie-consent-bar {
    background-color: #ca1f26;
    bottom: 0;
    color: #F8F5E4;
    display: block;
    left: 0;
    padding: 20px 0px 0px 0px;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.cookie-consent-bar a {
    color: #fff;
}

button.btn.btn-primary.send {
    background-color: #fff;
    border-color: #fff;
    color: #ca1f26;
}

/* Bara de scroll */
::-webkit-scrollbar {
    width: 10px;
    /* Lățimea barei de scroll */
}

/* Fundalul barei de scroll */
::-webkit-scrollbar-track {
    background-color: #000000;
}

/* Stilul manerului (thumb) barei de scroll */
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover {
    background-color: #ca1f26;
}

/* Photo gallery */

.filter-button {
    background-color: #ca1f26;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
}

.filter-button.active{
    background-color: #000000;
}

.filter-button:hover{
    background-color: #000000;
}

.gallery-item {
    display: none;
    transition: opacity 0.3s ease;
}

.show {
    display: block;
}

.gallery_home {
    margin-top: 0px;
}

/* Footer */

footer {
    background-color: #860207;
    color: #F8F5E4;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #000;
}

summary {
    display: list-item;
    cursor: pointer;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

summary::marker {
    color: #fff;
}

#footer {
    padding: 80px 0px;
}

.logo_footer img {
    max-width: 150px;
    height: auto;
}

#footer h6 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 25px;
}

#footer h6::after {
    background-color: #fff;
    content: "";
    display: block;
    margin: 10px 0;
    position: relative;
    width: 20%;
    height: 1px;
}

.social_media_footer a {
    color: #fff;
    text-decoration: none;
}

.social_media_footer a:hover i{
    color: #000;
}

.social_media_footer i {
    color: #fff;
}

.copyright {
    background-color: #ffffff;
    color: #000;
    padding: 30px 0px 20px;
}

.development {
    text-align: right;
}

/* Media Query */

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        min-width: 400px;
    }
    .tel_header {
        display: none;
    }
    #slider img {
        max-height: 680px;
        height: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .logo::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .header_top, .social_media_top, .page_content, .slider_content, #featured, #footer, .card, #welcome, #why_us, #articles, .copyright, .development {
        text-align: center;
    }
    .navbar-nav.me-auto.mb-2.mb-lg-0 {
        margin-left: 0px;
    }
    .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
        color: #ffffff;
    }
    .nav-link:focus, .nav-link:hover {
        color: #fff;
    }
    .navbar-nav .dropdown-menu {
        background-color: #ca1f26;
        text-align: center;
    }
    .offcanvas-collapse a {
        color: #F8F5E4;
    }
    .header_top, .header_bottom {
        padding: 15px 0px;
    }
    .header_bottom {
        text-align: right;
    }
    .logo {
        padding: 30px 0px;
    }
    .social_media_top, .development {
        margin: 15px 0px;
    }
    #slider img {
        max-height: 500px;
        object-fit: cover;
    }
    .slider_content {
        margin-bottom: 10%;
    }
    #slider p {
        font-size: 15px;
    }
    .slider_content span {
        color: #fff;
        font-size: 1.6rem;
    }
    #slider .btn {
        margin: 5px 0;
    }
    .btn-primary {
        padding: 10px;
    }
    #featured, #welcome, #why_us, #articles {
        margin: 10px 0px;
        padding: 20px 0px;
    }
    .featured {
        margin: 7px 5px;
        width: 97%;
    }
    .card-img, .card-img-bottom, .card-img-top {
        object-fit: cover;
        margin-bottom: 30px;
    }
    #welcome h1, #articles h4 {
        margin-top: 20px;
    }
    .page_content img {
        float: none;
        max-width: 100%;
    }
    .why_us i {
        float: none;
    }
    #why_us img {
        margin-top: 30px;
    }
    .row.mt-3.gallery {
        margin: 0;
    }
    #cta {
        padding: 90px 0px;
    }
    .social_media_top, .logo::after {
        display: none;
    }
    #footer h6::after {
        margin: 15px auto 0px auto;
    }
    .filter-button {
        font-size: 0.8rem;
    }
    #statistics i, .gallery_home {
        margin-top: 30px;
    }
    button.btn.btn-primary.send {
        margin-bottom: 20px;
    }
}
