/********** Site CSS **********/
:root {
    --primary: #1E60AA;
    --secondary: #FF4917;
    --light: #EDF1FC;
    --dark: #17224D;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 28px;
    bottom: 98px;
    z-index: 99;
}

.floating-call-cta {
    position: fixed;
    right: 28px;
    bottom: 26px;
    min-width: 148px;
    height: 56px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #FFFFFF;
    background: var(--secondary);
    box-shadow: 0 14px 28px rgba(255, 73, 23, .34);
    z-index: 100;
    animation: callPulse 2.2s ease-in-out infinite;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.floating-call-cta:hover {
    color: #FFFFFF;
    background: #D93408;
}

.floating-call-cta i {
    font-size: 18px;
}

.floating-call-cta span {
    line-height: 1;
}

@keyframes callPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 73, 23, .42), 0 14px 28px rgba(255, 73, 23, .34);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(255, 73, 23, 0), 0 14px 28px rgba(255, 73, 23, .30);
        transform: scale(1.04);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 73, 23, 0), 0 14px 28px rgba(255, 73, 23, .34);
        transform: scale(1);
    }
}

@media (max-width: 575.98px) {
    .back-to-top {
        right: 18px;
        bottom: 84px;
    }

    .floating-call-cta {
        right: 18px;
        bottom: 18px;
        min-width: 136px;
        height: 52px;
        padding: 0 18px;
    }
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.top-bar {
    height: 75px;
    padding: 0 4rem;
}

.site-logo {
    display: block;
    object-fit: cover;
    object-position: center;
}

.site-logo-lg {
    width: 220px;
    max-width: 100%;
    height: 58px;
}

.site-logo-sm {
    width: 190px;
    max-width: 62vw;
    height: 56px;
}

.nav-bar {
    position: relative;
    padding: 0 4.75rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #EEEEEE;
    }

    .site-logo-sm {
        height: 72px;
        width: 240px;
        max-width: 72vw;
        margin-left: -18px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel {
    background: #071326;
}

.header-carousel .owl-carousel-item {
    overflow: hidden;
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: calc(100vw * 9 / 16);
    min-height: 560px;
    max-height: 820px;
    object-fit: cover;
    object-position: center;
}

.header-carousel .hero-overlay {
    background:
        linear-gradient(90deg, rgba(7, 19, 38, .78) 0%, rgba(7, 19, 38, .52) 42%, rgba(7, 19, 38, .16) 74%),
        linear-gradient(180deg, rgba(7, 19, 38, .08) 0%, rgba(7, 19, 38, .30) 100%);
}

.header-carousel .container {
    border-left: 0;
    padding: 0 24px;
}

.header-carousel .hero-content::before {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: var(--secondary);
}

.header-carousel .hero-title {
    max-width: 820px;
    font-size: 72px;
    line-height: 1.02;
    font-weight: 700;
    text-shadow: 0 18px 36px rgba(0, 0, 0, .32);
}

.header-carousel .hero-title-detail {
    display: block;
    margin-top: 18px;
    font-size: .48em;
    line-height: 1.2;
    font-weight: 600;
}

.header-carousel .hero-actions {
    align-items: center;
}

.header-carousel .hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 15px 30px;
    border-radius: 0;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .24);
}

.header-carousel .hero-btn.btn-primary {
    background: var(--secondary);
    border-color: var(--secondary);
}

.header-carousel .hero-btn.btn-primary:hover {
    background: #D93408;
    border-color: #D93408;
}

.header-carousel .hero-btn.btn-secondary {
    color: #FFFFFF;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .45);
    backdrop-filter: blur(8px);
}

.header-carousel .hero-btn.btn-secondary:hover {
    color: var(--dark);
    background: #FFFFFF;
    border-color: #FFFFFF;
}

.header-carousel .hero-btn-whatsapp {
    color: #FFFFFF;
    background: #25D366;
    border-color: #25D366;
}

.header-carousel .hero-btn-whatsapp:hover {
    color: #FFFFFF;
    background: #1DA851;
    border-color: #1DA851;
}

.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid #FFFFFF;
}

.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: #FFFFFF;
}

.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 560px;
    }

    .header-carousel .hero-overlay {
        background:
            linear-gradient(180deg, rgba(7, 19, 38, .46) 0%, rgba(7, 19, 38, .72) 100%),
            linear-gradient(90deg, rgba(7, 19, 38, .64) 0%, rgba(7, 19, 38, .22) 100%);
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: none;
        object-fit: cover;
    }

    .header-carousel .container {
        padding: 0 26px;
    }

    .header-carousel .row {
        justify-content: center !important;
    }

    .header-carousel .hero-content::before {
        width: 52px;
        margin-bottom: 18px;
    }

    .header-carousel .hero-title {
        font-size: 40px;
        line-height: 1.08;
    }

    .header-carousel .hero-title-detail {
        margin-top: 14px;
        font-size: .56em;
    }

    .header-carousel .hero-btn {
        min-height: 50px;
        padding: 13px 22px;
    }
}

@media (max-width: 575.98px) {
    .header-carousel .owl-carousel-item {
        min-height: 540px;
    }

    .header-carousel .hero-title {
        font-size: 32px;
    }

    .header-carousel .hero-title-detail {
        font-size: .58em;
    }

    .header-carousel .hero-actions {
        width: 100%;
        justify-content: center;
    }

    .header-carousel .hero-btn {
        width: 280px;
        max-width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1199.98px) {
    .header-carousel .hero-title {
        font-size: 56px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    font-size: 14px;
    backdrop-filter: blur(8px);
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        bottom: 18px;
    }

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)), url(../img/hero-page-lock.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)), url(../img/hero-page-lock.jpg) center center no-repeat;
    background-size: cover;
}


/*** Service ***/
.service-item-top {
    height: 100%;
}

.service-item-top .overflow-hidden {
    aspect-ratio: 5 / 3;
}

.service-item-top img {
    object-fit: cover;
    transition: .5s;
}

.service-item-top:hover img {
    transform: scale(1.1);
}

.service-card-body {
    min-height: 216px;
}

.service-card-body p {
    font-size: 15px;
    line-height: 1.65;
}

.service-card-note {
    color: var(--primary);
    font-weight: 600;
}


/*** Google Reviews ***/
.google-reviews-section {
    background: #F7F9FC;
}

.google-reviews-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    background: #FFFFFF;
    border: 1px solid #E4E7EC;
    box-shadow: 0 10px 26px rgba(23, 34, 77, .08);
}

.google-word {
    font-family: Arial, sans-serif;
    font-size: 23px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0;
}

.google-blue {
    color: #4285F4;
}

.google-red {
    color: #EA4335;
}

.google-yellow {
    color: #FBBC05;
}

.google-green {
    color: #34A853;
}

.google-reviews-label {
    color: #5F6368;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}

.google-reviews-note {
    display: inline-flex;
    align-items: center;
    color: #3C4043;
    font-size: 15px;
    font-weight: 600;
}

.google-reviews-note::before {
    content: "\f00c";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    color: #FFFFFF;
    background: #34A853;
    border-radius: 50%;
    font-family: "Font Awesome 5 Free";
    font-size: 11px;
    font-weight: 900;
}

.google-review-card {
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid #E5E8EF;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(23, 34, 77, .08);
    transition: .35s;
}

.google-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(23, 34, 77, .12);
}

.google-review-header {
    display: grid;
    grid-template-columns: 48px 1fr 34px;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.google-review-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #4285F4;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
}

.google-review-avatar-alt {
    background: #34A853;
}

.google-review-avatar-warm {
    background: #EA4335;
}

.google-review-author h5 {
    color: #202124;
    font-size: 17px;
    line-height: 1.25;
}

.google-review-author span {
    color: #70757A;
    font-size: 13px;
}

.google-review-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E8EAED;
    border-radius: 50%;
    background: #FFFFFF;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.google-review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
    color: #FBBC04;
    font-size: 15px;
}

.google-review-card p {
    color: #3C4043;
    font-size: 15px;
    line-height: 1.65;
}

@media (max-width: 575.98px) {
    .google-reviews-brand {
        width: 100%;
    }

    .google-review-card {
        padding: 22px;
    }
}

.service-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.service-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    transition: .5s;
}

.service-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Programare ***/
.video {
    position: relative;
    padding: 8rem 0 12rem 0;
    background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)), url(../img/hero-emergency-locksmith.jpg) center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.call-cta-card {
    background: #FFFFFF;
    border: 1px solid #E5E8EF;
    border-left: 6px solid var(--secondary);
    box-shadow: 0 18px 42px rgba(23, 34, 77, .14);
}

.call-cta-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--secondary);
    border-radius: 50%;
    font-size: 26px;
}

.call-cta-text {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    color: #3C4043;
    font-size: 17px;
    line-height: 1.65;
}

.call-cta-button {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 30px;
    color: #FFFFFF;
    border-radius: 0;
    font-weight: 700;
    white-space: nowrap;
}

.call-cta-button-primary {
    background: var(--secondary);
    border-color: var(--secondary);
}

.call-cta-button-primary:hover {
    color: #FFFFFF;
    background: #D93408;
    border-color: #D93408;
}

.call-cta-button-whatsapp {
    background: #25D366;
    border-color: #25D366;
}

.call-cta-button-whatsapp:hover {
    color: #FFFFFF;
    background: #1DA851;
    border-color: #1DA851;
}

.call-cta-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    color: var(--primary);
    font-weight: 600;
}

.call-cta-points span {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 575.98px) {
    .call-cta-card {
        padding: 32px 22px !important;
    }

    .call-cta-button {
        width: 100%;
        min-height: 54px;
        padding: 15px 18px;
        font-size: 15px;
    }

    .call-cta-points {
        align-items: flex-start;
        flex-direction: column;
        text-align: left;
    }
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Intervenții ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-text {
    height: 90px;
    overflow: hidden;
}

.team-item .team-text .bg-light,
.team-item .team-text .bg-primary {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .5s;
}

.team-item .team-text .bg-primary {
    flex-direction: row;
}

.team-item:hover .team-text .bg-light {
    margin-top: -90px;
}

.team-item .team-text .bg-primary .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-text .bg-primary .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}


/*** Informații ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item .testimonial-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    border: 15px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;

}

.testimonial-carousel .owl-item.center .testimonial-text::after {
    border-color: var(--primary) transparent transparent transparent;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    font-size: 30px;
    color: var(--primary);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}
