/********** Template CSS **********/
.form-status:empty { display: none; }

:root {
    --primary: #4761FF;
    --secondary: #555555;
    --light: #F1F3FA;
    --dark: #1C2035;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}

.navbar .brand-link {
    transform: translateX(12px);
    flex: 0 0 auto;
    margin-right: 32px;
    padding: 12px 0;
}

.brand-window {
    position: relative;
    display: block;
    width: 230px;
    height: 70px;
    overflow: hidden;
    border-radius: 8px;
}

.brand-window .brand-logo {
    position: absolute;
    display: block;
    /* Enlarge the original frame so the artwork fills the header. */
    width: 128%;
    max-width: none;
    height: auto;
    left: -14%;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar .brand-link { margin-right: 20px; }
    .brand-window { width: 200px; height: 62px; }
}

@media (max-width: 575.98px) {
    .navbar .brand-link { margin-right: 12px; padding: 6px 0; }
    .brand-window { width: 190px; height: 60px; }
}


/*** 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 {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.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 ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@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;
    }
}


@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 20px;
        font-size: 16px;
    }
}

/* Equal outer columns keep the menu centered in the full header. */
.site-header {
    padding-left: 0;
    padding-right: 0;
}

.header-container {
    padding: 0 clamp(16px, 3vw, 56px);
}

@media (min-width: 992px) {
    .site-header .navbar {
        display: grid;
        grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
        align-items: center;
        column-gap: 16px;
    }

    .site-header .brand-link {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        margin-right: 0;
    }

    .site-header .navbar-collapse {
        display: contents !important;
    }

    .site-header .navbar-nav {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        align-items: center;
        gap: 16px;
    }

    .site-header .navbar-nav .nav-link {
        margin-right: 0;
        white-space: nowrap;
    }

    .site-header .header-action {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }
}

@media (min-width: 1200px) {
    .site-header .navbar {
        grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
        column-gap: 24px;
    }

    .site-header .navbar-nav { gap: 32px; }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}

/*** Why choose us ***/
.why-choose-us {
    background: #f5f8fc;
    color: #48566c;
}

.why-choose-us .container {
    max-width: 1320px;
}

.why-card {
    height: 100%;
    min-height: 205px;
    padding: 24px 22px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 38px rgba(28, 32, 53, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(28, 32, 53, .13);
}

.why-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    object-fit: contain;
}

.why-card h3 {
    margin-bottom: 10px;
    color: #102344;
    font-family: 'Roboto', sans-serif;
    font-size: 16px !important;
    line-height: 1.25;
    font-weight: 700;
}

.why-card p {
    margin: 0;
    color: #48566c;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px !important;
    line-height: 1.6;
}


/*** About ***/
.about {
    background: url(../img/about-workspace.jpg?v=20261014) left center no-repeat;
    background-size: cover;
    background-image:image-set(url('../img/optimized/about-workspace-1774.e74e2952dd2d.webp') type('image/webp'), url('../img/about-workspace.jpg?v=20261014') type('image/jpeg'));
}

@media (max-width: 991.98px) {
    .about {
        background-size: auto 300px;
        background-position: left top;
    }
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}


/*** Service ***/
.service-item .service-text {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
    transition: .5s;
    z-index: 2;
}

.service-item:hover .service-text {
    top: -1.5rem;
}

.service-item .service-text h5 {
    transition: .5s;
}

.service-item:hover .service-text h5 {
    color: var(--primary);
}

.service-item .service-btn {
    position: absolute;
    width: 80%;
    height: 3rem;
    left: 10%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-btn {
    bottom: -1.5rem;
}


/*** Project ***/
.project-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-social {
    position: absolute;
    padding: 0;
    top: 15px;
    left: 0;
    overflow: hidden;
}

.team-item .team-social li {
    list-style-type: none;
    margin-bottom: 10px;
    margin-left: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social li {
    margin-left: 15px;
    opacity: 1;
}

.team-item .team-social li .btn {
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 40px;
    transition: .5s;
}

.team-item .team-social li .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item .team-social li:nth-child(1) {
    transition-delay: .1s;
}

.team-item .team-social li:nth-child(2) {
    transition-delay: .2s;
}

.team-item .team-social li:nth-child(3) {
    transition-delay: .3s;
}

.team-item .team-social li:nth-child(4) {
    transition-delay: .4s;
}

.team-item .team-social li:nth-child(5) {
    transition-delay: .5s;
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    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 {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
}

.copyright {
    background: #111111;
}

.copyright a:hover {
    color: var(--primary) !important;
}

.phone-input-group {
    flex-wrap: nowrap;
}

.phone-input-group > .form-floating {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
}

.phone-input-group > .form-floating > .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.phone-input-group > .phone-country-code {
    flex: 0 0 82px;
    width: 82px;
    height: 58px;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    font-size: 18px;
    text-decoration: none;
    transition: transform .3s;
}

.footer-social a img {
    display: block;
    width: 24px;
    height: 24px;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    background: transparent;
    transform: translateY(-3px);
}

.footer-social a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}
