/********** Template CSS **********/

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

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

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}





/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

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

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

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
/* Logo */
.top-logo{
    height:90px;
    width:auto;
}

.mobile-logo{
    height:55px;
    width:auto;
}

/* Navbar */
.navbar{
    min-height:70px;
}

.navbar .nav-link{
    font-size:16px;
    font-weight:600;
    color:#111;
    padding:25px 18px !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active{
    color:#0a193d !important;
}

/* Social */
.btn-sm-square{
    width:35px;
    height:35px;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* Mobile */
@media(max-width:991px){

    .mobile-logo{
        height:50px;
    }

    .navbar-nav{
        padding:10px 0;
    }

    .navbar .nav-link{
        padding:12px 0 !important;
    }
}


/*** Header ***/
.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, .7);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
}

.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 40px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel .carousel-item {
        position: relative;
        min-height: 200px;
    }
    
    .carousel .carousel-item img {
    width: 100%;
    height: 200px; /* 700px asel tar kami kara */
    object-fit: cover;
}

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }

    .carousel .carousel-caption {
        padding-left: 10rem;
    }
}

@media (max-width: 768px) {
    .carousel .carousel-item {
        min-height: 500px;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }

    .carousel .carousel-caption {
        padding-left: 9rem;
    }
}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 7rem;
    }
}

/* ==========================
   PAGE HEADER
========================== */


.breadcrumb {
    background: rgba(0, 0, 0, 0.55);
    display: inline-flex;
    padding: 12px 25px;
    border-radius: 50px;
    margin: 0;
}

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

.breadcrumb-item.active {
    color: #d69b2d;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #ffffff;
}

/* Tablet */
@media (max-width: 991px) {

    .page-header {
        height: 400px;
    }

    .page-title {
        font-size: 50px;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .page-header {
        height: 300px;
    }

    .page-title {
        font-size: 36px;
    }

    .breadcrumb {
        padding: 10px 18px;
        font-size: 14px;
    }
}
.page-header{
    position: relative;
    height: 350px !important;
    width: 100%;

    background: linear-gradient(
        rgba(0,0,0,.6),
        rgba(0,0,0,.6)
    ),
    url('../img/eb.png') center center no-repeat !important;

    background-size: cover !important;

    display: flex;
    align-items: center;
    justify-content: center;
}

.page-overlay{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.page-header-content{
    position:relative;
    z-index:2;
}

.page-title{
    color:#fff;
    font-size:60px;
    font-weight:700;
}





/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: #0c164b;
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: #0c164b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: #0c164b;
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}




/*** Newsletter ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    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;
    color: #0c164b;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #0c164b;
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: #0c164b;
}


/* ==========================
   MOBILE RESPONSIVE FIXES
========================== */

@media (max-width: 991px) {

    /* Navbar */
    .navbar .navbar-nav {
        padding: 10px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 12px 0;
        font-size: 15px;
    }

    .navbar .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 15px;
    }

    /* Header */
    .carousel .carousel-caption {
        padding: 30px;
        padding-left: 30px;
        text-align: center;
        align-items: center;
    }

    .carousel .carousel-indicators {
        display: none;
    }

    .carousel .carousel-item {
        min-height: 450px;
    }

    .carousel .carousel-item img {
        height: 100%;
        object-fit: cover;
    }

    /* Page Header */
    .page-header {
        height: 250px !important;
    }

    .page-title {
        font-size: 40px;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 767px) {

    body {
        overflow-x: hidden;
    }

    .container,
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Navbar */
    .navbar-brand h1 {
        font-size: 24px;
    }

    /* Carousel */
    .carousel .carousel-item {
        min-height: 350px;
    }

    .carousel .carousel-caption {
        padding: 20px;
    }

    .carousel .carousel-caption h1,
    .carousel .carousel-caption .display-1 {
        font-size: 32px !important;
        line-height: 1.2;
    }

    .carousel .carousel-caption p {
        font-size: 14px;
    }

    /* Buttons */
    .btn-lg,
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Page Header */
    .page-header {
        height: 220px !important;
    }

    .page-title {
        font-size: 30px;
    }

    .breadcrumb {
        font-size: 13px;
        padding: 8px 15px;
    }

    /* Services */
    .service .service-item img {
        padding-left: 0;
        width: 100%;
    }

    /* Team */
    .team .team-item img {
        width: 100%;
        height: auto;
    }

    /* Testimonial */
    .testimonial-img {
        min-height: 250px;
    }

    .testimonial-img div {
        width: 70px;
        height: 70px;
    }

    /* Footer */
    .footer {
        text-align: center;
    }

    .footer .btn.btn-link {
        text-align: center;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {

    .page-title {
        font-size: 26px;
    }

    .carousel .carousel-caption h1,
    .carousel .carousel-caption .display-1 {
        font-size: 26px !important;
    }

    .carousel .carousel-item {
        min-height: 300px;
    }

    .btn {
        font-size: 13px;
        padding: 8px 16px;
    }
}


