/********** Template CSS **********/
@font-face {
    font-family: "Roboto";
    src: url(../css/fonts/Roboto-Regular.ttf);
}

@font-face {
    font-family: "Roboto-Medium";
    src: url(../css/fonts/Roboto-Medium.ttf);
}

@font-face {
    font-family: "Roboto-Bold";
    src: url(../css/fonts/Roboto-Bold.ttf);
}

:root {
    --primary: #2e5f9a;
    --light: #f8f8f8;
    --dark: #252525;
    font-size: 14px;
}

* {
    font-family: "Roboto", Tahoma;
}

body {
    color: #2a2a2a;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

    #spinner.show {
        transition: opacity 0.5s ease-out, visibility 0s linear 0s;
        visibility: visible;
        opacity: 1;
    }

/*** Button ***/
.btn {
    font-weight: 500;
    transition: 0.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;
}

.btn-outline-body {
    color: #fbe331;
    border-color: #777777;
}

    .btn-outline-body:hover {
        color: #ffffff;
        background: var(--primary);
        border-color: var(--primary);
    }

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        color: var(--primary);
    }

.navbar.sticky-top {
    top: -100px;
    transition: 0.5s;
    box-shadow: 0px 0px 10px var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #eeeeee;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 80%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: 0.5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

.header-carousel .owl-carousel-item {
    min-height: 500px;
}
/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 200px;
    }

        .header-carousel .owl-carousel-item img {
            position: absolute;
            width: 100%;
            /*height: 100%;*/
            /*object-fit: cover;*/
        }

        .header-carousel .owl-carousel-item p {
            font-size: 16px !important;
        }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .header-carousel .owl-dots .owl-dot {
        position: relative;
        width: 45px;
        height: 45px;
        margin: 5px 0;
        background: var(--dark);
        transition: 0.5s;
    }

        .header-carousel .owl-dots .owl-dot.active {
            width: 60px;
            height: 60px;
        }

        .header-carousel .owl-dots .owl-dot img {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
            padding: 2px;
            transition: 0.5s;
            opacity: 0.3;
        }

        .header-carousel .owl-dots .owl-dot.active img {
            opacity: 1;
        }

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(/Images/page-header.png) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/*** Section Title ***/
.section-title {
    color: var(--primary);
    text-transform: uppercase;
    font-family: "Roboto-Bold";
}

.right-section-title {
    font-size: 18px;
    cursor: pointer;
    color: #fff !important;
    font-weight: 700;
    background: var(--primary);
    line-height: 45px;
    padding: 4px 20px;
    width: 100%;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

    .right-section-title:hover {
        background: #2a63a3;
    }

.right-section-list ul {
    padding-left: 0px;
}

.right-section-list-item {
    list-style: none;
}

    .right-section-list-item
    a {
        color: white;
    }

.right-section-block .right-section-list-item {
    background: #032774;
    border-bottom: 1px solid #336393;
}
/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 120px;
    transition: 0.5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: 0.5;
}

.fact-item:hover .fact-icon i {
    color: #ffffff;
}

/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

    .about-img img,
    .feature-img img {
        position: absolute;
        width: 60%;
        height: 80%;
        object-fit: cover;
    }

        .about-img img:last-child,
        .feature-img img:last-child {
            margin: 20% 0 0 40%;
        }

    .about-img::before,
    .feature-img::before {
        position: absolute;
        content: "";
        width: 60%;
        height: 80%;
        top: 10%;
        left: 20%;
        border: 5px solid var(--primary);
        z-index: -1;
    }

/*** Service ***/
.service-item .bg-img-wapper {
    width: 100%;
    height: 225px;
    overflow: hidden;
    background-position: center;
    background: var(--light);
}

    .service-item .bg-img-wapper .bg-img {
        width: 100%;
        height: 100%;
    }

.service-item:hover .bg-img-wapper .bg-img {
    transform: scale(1.2);
}

.service-item .service-text {
    transition: 0.5s;
    width: 100%;
    padding: 12px 0px;
}

.service-item .btn-read-more {
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px
}

.service-item .service-title {
    font-family: 'Roboto-Medium';
    font-size: 18px;
}

.service-item .service-desc {
    color: black;
    text-align: left;
}
/*.service-item:hover .service-text {
    background: rgba(0, 0, 0, 0.7);
}*/
.service-item * {
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

/*.service-item:hover * {
    color: #ffffff;
}*/

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    transition: 0.5s;
}

.service-item:hover .btn {
    width: 140px;
}

.home-service .service-item .bg-img-wapper {
    height: 212px !important;
    position: relative;
}

    .home-service .service-item .bg-img-wapper:after {
        content: '';
        width: 100%;
        height: 50%;
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        background: linear-gradient(0deg, black, transparent);
    }

.home-service .service-item {
    position: relative;
    overflow: hidden;
    display: block;
}

    .home-service .service-item .service-text .service-title {
        text-transform: uppercase;
    }


    .home-service .service-item .service-text .service-desc {
        height: 48px;
        overflow: hidden;
    }

    .home-service .service-item .service-text * {
    }
/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: 0.5s;
}

    .project .nav .nav-link.active {
        background: var(--primary);
    }

        .project .nav .nav-link.active h3 {
            color: #ffffff !important;
        }

/*** Team ***/
.team-items {
    margin: -0.75rem;
}

.team-item {
    padding: 0.75rem;
}

    .team-item::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0;
        top: 0;
        left: 0;
        background: #ffffff;
        transition: 0.5s;
        z-index: -1;
    }

    .team-item:hover::after {
        height: 100%;
        background: var(--primary);
    }

    .team-item .team-social {
        position: absolute;
        width: 100%;
        bottom: -20px;
        left: 0;
    }

        .team-item .team-social .btn {
            display: inline-flex;
            margin: 0 2px;
            color: var(--primary);
            background: var(--light);
        }

            .team-item .team-social .btn:hover {
                color: #ffffff;
                background: var(--primary);
            }

/*** Appointment ***/
.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);
}

/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

    .testimonial-carousel .owl-dots {
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
    }

        .testimonial-carousel .owl-dots .owl-dot {
            position: relative;
            width: 60px;
            height: 60px;
            margin: 0 5px;
            transition: 0.5s;
        }

            .testimonial-carousel .owl-dots .owl-dot.active {
                width: 100px;
                height: 100px;
            }

            .testimonial-carousel .owl-dots .owl-dot::after {
                position: absolute;
                width: 40px;
                height: 40px;
                bottom: -20px;
                left: 50%;
                transform: translateX(-50%);
                display: flex;
                align-items: center;
                justify-content: center;
                content: "\f10d";
                font-family: "Font Awesome 5 Free";
                font-weight: 900;
                color: var(--primary);
                background: #ffffff;
                border-radius: 40px;
                transition: 0.5s;
                opacity: 0;
            }

            .testimonial-carousel .owl-dots .owl-dot.active::after {
                opacity: 1;
            }

            .testimonial-carousel .owl-dots .owl-dot img {
                opacity: 0.4;
                transition: 0.5s;
            }

            .testimonial-carousel .owl-dots .owl-dot.active img {
                opacity: 1;
            }

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
}

.f-header {
    font-family: "Roboto-Bold";
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    /*letter-spacing: 1px;*/
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
    background: #91C8E4;
    width: 100%;
}

    .footer .copyright a {
        color: black;
    }

        .footer .copyright a:hover {
            color: var(--primary);
        }

#navbarCollapse .nav-item:last-child {
    margin-right: 0px;
}

#navbarCollapse .dropdown-menu {
    padding: 0 !important;
}
/* Submenu style */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu:hover .dropdown-sub {
        display: block !important;
    }

.dropdown-menu.dropdown-sub {
    position: absolute;
    top: 0px !important;
    left: 99%;
    display: none !important;
}

#navbarCollapse .dropdown-menu .dropdown-item {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid #a4b2f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(236, 240, 241);
}

#navbarCollapse .dropdown-submenu:last-child a {
    border: none !important;
}

#navbarCollapse .dropdown-menu .dropdown-item:hover {
    background-color: #2e5f9a;
    color: white;
}

#navbarCollapse .navbar-nav {
    align-items: center;
}
/*
.text-body {
    color: #fbe331 !important;
}*/

#navbarCollapse a {
    font-family: "Roboto-Medium";
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 1rem;
}

.partner-logo-wrapper {
    flex: 0 0 calc(100% / 2 - 1rem); /* Default: 2 per row (mobile) */
    max-width: calc(100% / 2 - 1rem);
}

@media (min-width: 768px) {
    .partner-logo-wrapper {
        flex: 0 0 calc(100% / 6 - 1rem);
        max-width: calc(100% / 6 - 1rem);
    }
}

.partner-logo {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    padding: 0.5rem;
    border-color: red !important;
    height: 80px;
    object-fit: contain;
}

.about-blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 1rem;
    margin-top: 3rem;
    padding-bottom: 40px;
}

.about-block-wrapper {
    width: 100%;
}

.about-wrapper {
    flex: 0 0 calc(100% / 2 - 1rem); /* Default: 2 per row (mobile) */
    max-width: calc(100% / 2 - 1rem);
}

@media (min-width: 768px) {
    .about-block-wrapper {
        flex: 0 0 calc(100% / 4 - 1rem);
        max-width: calc(100% / 4 - 1rem);
    }
}

.about-block h2 {
    font-size: 1.3rem;
    text-align: center;
}

.about-block {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    padding: 1rem;
    height: 350px;
    box-shadow: 0px 0px 8px;
}

table.recruitment {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    table.recruitment thead {
        background-color: #007bff; /* Bootstrap primary blue */
        color: white;
    }

    table.recruitment th,
    table.recruitment td {
        border: 1px solid #dee2e6;
        padding: 12px;
        text-align: center;
        vertical-align: middle;
    }

    table.recruitment tbody tr:nth-child(even) {
        background-color: #f8f9fa; /* light gray */
    }

    table.recruitment tbody tr:hover {
        background-color: #e9ecef; /* slightly darker gray on hover */
    }

    table.recruitment td {
        color: #212529;
    }

        table.recruitment td:empty::before {
            content: "-";
            color: #adb5bd; /* gray for placeholder dash */
        }

.wrap-main {
    overflow: auto;
}

.b_thumb {
    text-align: center;
}

.top-nav {
    background: #2e5f9a;
    color: white;
}
