:root {
    --primary: #1E60AA;
    --secondary: #FF4917;
    --light: #EDF1FC;
    --dark: #17224D;
}












































/* Carousel image height */
.header-carousel .owl-carousel-item img {
    height: 520px; /* Adjust height as needed */
    object-fit: cover; /* Keeps image proportional while filling area */
    width: 100%;
}

/* Dark overlay for Fact section */
.fact {
    position: relative;
    background: url('img/your-image.jpg') center center/cover no-repeat;
    z-index: 1;
}

.fact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Increase darkness here */
    z-index: -1;
}


/* Remove dark overlay */
.carousel-overlay {
    display: none !important;
}

/* Remove dark background layer */
.header-carousel .owl-carousel-item .position-absolute {
    background: transparent !important;
}

/* Remove any brightness/darkness filters */
.header-carousel .owl-carousel-item img {
    filter: none !important;
}
/* Make carousel image darker */
.header-carousel .owl-carousel-item img {
    filter: brightness(0.5) !important;
}


.footer {
    font-size: 14px;
    line-height: 1.6;
}









/* ========================= */
/* TM ENGINEERS SERVICES CSS */
/* ========================= */

.tmx-services-wrapper{
    width:100%;
    padding:80px 6%;
    background:#f8f9fa;
}

.tmx-service-box{
    background:#ffffff;
    border-radius:20px;
    padding:50px;
    margin-bottom:50px;
    box-shadow:0 10px 40px rgba(0,0,0,0.06);
    transition:0.3s ease;
}

.tmx-service-box:hover{
    transform:translateY(-5px);
}

.tmx-service-top{
    margin-bottom:35px;
}

.tmx-service-number{
    display:inline-block;
    background:#0d6efd;
    color:#fff;
    font-size:14px;
    font-weight:700;
    padding:8px 16px;
    border-radius:50px;
    margin-bottom:20px;
}

.tmx-service-top h2{
    font-size:38px;
    font-weight:700;
    color:#111;
    margin-bottom:10px;
}

.tmx-tagline{
    font-size:18px;
    color:#0d6efd;
    font-weight:600;
}

.tmx-service-content p{
    color:#555;
    line-height:1.9;
    font-size:16px;
}

.tmx-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
    margin-top:40px;
    margin-bottom:40px;
}

.tmx-card{
    background:#f4f7fb;
    padding:30px;
    border-radius:16px;
    transition:0.3s ease;
}

.tmx-card:hover{
    background:#eef4ff;
}

.tmx-card h4{
    font-size:22px;
    margin-bottom:15px;
    color:#111;
}

.tmx-card p{
    font-size:15px;
    color:#666;
}

.tmx-points-box{
    background:#111827;
    padding:35px;
    border-radius:18px;
    margin-top:20px;
}

.tmx-points-box h5{
    color:#fff;
    font-size:24px;
    margin-bottom:20px;
}

.tmx-points-box ul{
    margin:0;
    padding-left:20px;
}

.tmx-points-box li{
    color:#dbe4ff;
    margin-bottom:12px;
    line-height:1.7;
}

.tmx-btn{
    display:inline-block;
    margin-top:35px;
    background:#0d6efd;
    color:#fff;
    padding:16px 34px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s ease;
}

.tmx-btn:hover{
    background:#0b5ed7;
    color:#fff;
}

/* ================= */
/* MOBILE RESPONSIVE */
/* ================= */

@media(max-width:991px){

    .tmx-service-box{
        padding:35px;
    }

    .tmx-service-top h2{
        font-size:30px;
    }

    .tmx-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:600px){

    .tmx-services-wrapper{
        padding:60px 20px;
    }

    .tmx-service-box{
        padding:25px;
        border-radius:16px;
    }

    .tmx-service-top h2{
        font-size:24px;
    }

    .tmx-tagline{
        font-size:16px;
    }

    .tmx-card{
        padding:22px;
    }

    .tmx-points-box{
        padding:25px;
    }

    .tmx-btn{
        width:100%;
        text-align:center;
    }
}





/* ========================= */
/* TM ENGINEERS PART 2 STYLE */
/* ========================= */

.tmx-closing-box{
    background:#0f172a;
    padding:70px 50px;
    border-radius:24px;
    text-align:center;
    margin-top:60px;
}

.tmx-closing-box h2{
    color:#ffffff;
    font-size:42px;
    margin-bottom:25px;
    font-weight:700;
}

.tmx-closing-box p{
    color:#cbd5e1;
    font-size:17px;
    line-height:1.9;
    max-width:900px;
    margin:0 auto 20px auto;
}

.tmx-action-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin-top:35px;
}

.tmx-btn-secondary{
    background:transparent;
    border:2px solid #0d6efd;
}

.tmx-btn-secondary:hover{
    background:#0d6efd;
}

/* ================= */
/* MOBILE RESPONSIVE */
/* ================= */

@media(max-width:768px){

    .tmx-closing-box{
        padding:45px 25px;
    }

    .tmx-closing-box h2{
        font-size:28px;
        line-height:1.4;
    }

    .tmx-closing-box p{
        font-size:15px;
    }

    .tmx-action-buttons{
        flex-direction:column;
    }

    .tmx-action-buttons .tmx-btn{
        width:100%;
    }
}









/* ========================= */
/* TMX MAIN SECTION HEADING  */
/* ========================= */

.tmx-main-heading{
    width:100%;
    text-align:center;
    padding:35px 20px 20px; /* reduced top & bottom spacing */
    max-width:1000px;
    margin:auto;
}

.tmx-heading-subtitle{
    display:inline-block;
    background:rgba(13, 110, 253, 0.1);
    color:#0d6efd;
    padding:8px 20px;
    border-radius:50px;
    font-size:14px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:15px; /* reduced */
}

.tmx-main-heading h1{
    font-size:56px;
    font-weight:800;
    line-height:1.2;
    color:#111827;
    margin-bottom:15px; /* reduced */
}

.tmx-main-heading p{
    font-size:18px;
    line-height:1.8;
    color:#6b7280;
    max-width:850px;
    margin:auto;
}

/* ================= */
/* TABLET RESPONSIVE */
/* ================= */

@media(max-width:991px){

    .tmx-main-heading{
        padding:30px 20px 15px;
    }

    .tmx-main-heading h1{
        font-size:42px;
    }

    .tmx-main-heading p{
        font-size:17px;
    }
}

/* ================= */
/* MOBILE RESPONSIVE */
/* ================= */

@media(max-width:600px){

    .tmx-main-heading{
        padding:25px 15px 10px;
    }

    .tmx-heading-subtitle{
        font-size:12px;
        padding:7px 16px;
        margin-bottom:12px;
    }

    .tmx-main-heading h1{
        font-size:30px;
        line-height:1.3;
        margin-bottom:12px;
    }

    .tmx-main-heading h1 br{
        display:none;
    }

    .tmx-main-heading p{
        font-size:15px;
        line-height:1.7;
    }
}





















































@media (max-width: 1000px) {
    .img-fluid {
        padding: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
}




.whatsapp-contact {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: rgb(79, 79, 243) !important; /* WhatsApp green */
    padding: 6px 14px !important;
    border-radius: 30px !important;
    transition: 0.3s ease !important;
}

/* ICON */
.whatsapp-contact i {
    color: #ffffff !important;
    font-size: 18px !important;
}

/* NUMBER TEXT */
.whatsapp-contact a {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 14px !important;
}

/* HOVER EFFECT */
.whatsapp-contact:hover {
    background: #1ebe5d !important;
    transform: translateY(-2px) !important;
}

/* OPTIONAL: CLICK FEEL */
.whatsapp-contact:active {
    transform: scale(0.97) !important;
}




.navbar-logo {
    height: 90px !important;
    width: auto !important;
    object-fit: contain !important;
}




.gallery-item {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.gallery-item img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    transition: 0.4s ease !important;
}

.gallery-item:hover img {
    transform: scale(1.08) !important;
}

/* OVERLAY */
.gallery-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(10, 31, 68, 0.6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: 0.3s ease !important;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1 !important;
}

/* TEXT */
.gallery-overlay h4 {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding: 10px !important;
}








/* ===== GALLERY ITEM BASE ===== */
.gallery-item {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

/* IMAGE */
.gallery-item img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    transition: 0.4s ease !important;
}

/* ZOOM EFFECT */
.gallery-item:hover img {
    transform: scale(1.08) !important;
}

/* DARK OVERLAY */
.gallery-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(10, 31, 68, 0.55) !important; /* dark blue shade */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: 0.3s ease !important;
}

/* SHOW ON HOVER */
.gallery-item:hover .gallery-overlay {
    opacity: 1 !important;
}

/* TEXT STYLE */
.gallery-overlay h4 {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-align: center !important;
}





/* ===== DARK OVERLAY FOR CAROUSEL IMAGE ===== */
.owl-carousel-item {
    position: relative !important;
}

/* DARK LAYER */
.carousel-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.55) !important; /* adjust darkness here */
    z-index: 1 !important;
}

/* KEEP TEXT ABOVE OVERLAY */
.owl-carousel-item .container,
.owl-carousel-item .carousel-caption,
.owl-carousel-item h1,
.owl-carousel-item p {
    position: relative !important;
    z-index: 2 !important;
}


/* ===== TESTIMONIAL IMAGE FIX ===== */
.testimonial-item img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;   /* prevents stretching */
    border-radius: 50% !important;  /* keeps perfect circle */
}

/* OPTIONAL: ensures consistent spacing & alignment */
.testimonial-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* OPTIONAL: cleaner star alignment */
.testimonial-item .mb-2 {
    display: flex !important;
    gap: 3px !important;
    justify-content: center !important;
}



/* FORCE ALL SERVICE IMAGES TO SAME SIZE */
.service-item-top .overflow-hidden {
    height: 250px !important;   /* fixed uniform height */
    width: 100% !important;
}

/* IMAGE FIT CONTROL */
.service-item-top .overflow-hidden img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* key for equal cropping */
    transition: transform 0.4s ease !important;
}

/* OPTIONAL: NICE HOVER ZOOM */
.service-item-top:hover img {
    transform: scale(1.08) !important;
}








/* DEFAULT NAV LINKS (INACTIVE) */
.navbar-nav .nav-link {
    color: #0d6efd !important; /* blue */
    font-weight: 500 !important;
    position: relative !important;
    transition: 0.3s !important;
    text-decoration: none !important;
}

/* HOVER EFFECT */
.navbar-nav .nav-link:hover {
    color: #0a1f44 !important; /* dark blue */
}

/* ACTIVE LINK */
.navbar-nav .nav-link.active {
    color: #000000 !important; /* black */
    font-weight: 600 !important;
}

/* UNDERLINE ACTIVE LINK */
.navbar-nav .nav-link.active::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -4px !important;
    width: 100% !important;
    height: 2px !important;
    /* background: #000000 !important; black underline */
}




/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: #ffffff;
    padding: 80px 20px;
    font-family: Arial, sans-serif;
}

/* CONTAINER */
.gallery-container {
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header h6 {
    color: #0d6efd;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 10px;
}

.gallery-header h1 {
    color: #0a1f44;
    font-size: 36px;
    font-weight: 700;
}

/* GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* IMAGE CARD */
.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

/* IMAGE */
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s ease;
}

/* HOVER EFFECT */
.gallery-item:hover img {
    transform: scale(1.08);
}

/* DARK OVERLAY */
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 68, 0.15);
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* FOOTER LINK */
.gallery-footer {
    text-align: center;
    margin-top: 40px;
}

.gallery-footer a {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.gallery-footer a:hover {
    color: #0a1f44;
    letter-spacing: 1px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}












/* ===== SERVICES SECTION ===== */
.services-section {
    background: #ffffff;
    padding: 80px 20px;
    font-family: Arial, sans-serif;
}

/* CONTAINER */
.services-container {
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-header h6 {
    color: #0d6efd;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 10px;
}

.services-header h1 {
    color: #0a1f44;
    font-size: 36px;
    font-weight: 700;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARD */
.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    position: relative;
}

/* HOVER EFFECT */
.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* ICON */
.icon-box {
    width: 65px;
    height: 65px;
    background: #eef4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box i {
    color: #0d6efd;
    font-size: 24px;
}

/* TITLE */
.service-card h4 {
    color: #0a1f44;
    margin-bottom: 15px;
}

/* TEXT */
.service-card p {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

/* LIST */
.service-card ul {
    padding-left: 18px;
    margin: 15px 0;
}

.service-card ul li {
    margin-bottom: 5px;
    color: #0a1f44;
}

/* LINK */
.service-card a {
    display: inline-block;
    margin-top: 10px;
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.service-card a:hover {
    letter-spacing: 1px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}














.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** 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;
}

.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;
    }
}

@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 .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid #FFFFFF;
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: #FFFFFF;
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.WEBP) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.WEBP) center center no-repeat;
    background-size: cover;
}


/*** Service ***/
.service-item-top img {
    transition: .5s;
}

.service-item-top:hover img {
    transform: scale(1.1);
}

.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);
}


/*** Booking ***/
.video {
    position: relative;
    padding: 8rem 0 12rem 0;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/carousel-4.WEBP) center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video .btn-play {
    position: relative;
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
    margin-bottom: 4rem;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--primary);
    border-top: 22px solid transparent;
    border-bottom: 22px 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(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.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);
}


/*** Team ***/
.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)
}


/*** Testimonial ***/
.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-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.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);
}