/********** Template CSS **********/
:root {
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #02245B;
}
.body {
    font-family: 'Roboto', sans-serif;
}


.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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: #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;
}


.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}


/*** Navbar Styling ***/
:root {
    --primary: #007BFF; /* Primary color */
    --dark: #343A40; /* Dark text color */
    --light: #F8F9FA; /* Light background color */
    --mobile-bg: #FFA500; /* Orange background for smaller screens */
}

.navbar.sticky-top {
    top: 0;
    transition: .5s;
    z-index: 1000;
}

.navbar {
    background: var(--primary); /* Unified background for navbar */
    padding: 0 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.navbar .navbar-brand {
    padding: 0;
    height: 75px;
    display: flex;
    align-items: center;
    background: none;
    font-size: 14px;
    font-weight: 400;
}

.navbar .navbar-brand img {
    max-height: 50px;
    width: auto;
}

.navbar .navbar-nav {
    display: flex;
    align-items: center;
}

.navbar .navbar-nav .nav-item {
    margin: 0 10px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 10px;
    padding: 15px 10px;
    color: white; /* Text color */
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
    transition: color 0.3s ease-in-out;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #FFD700; /* Highlight effect on hover or active */
}

.navbar-toggler {
    border: none;
    color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.collapse:not(.show) {
    display: none;
}

@media (max-width: 991.98px) {
    .navbar {
        background: var(--bs-primary); /* Orange background for smaller screens */
    }

    .navbar .navbar-nav {
        flex-direction: column;
        text-align: center;
        background: var(--bs-primary);
        border-top: 1px solid rgba(255, 255, 255, 0.2); /* Divider for mobile links */
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        top: 100%;
        transition: opacity 0.3s ease-in-out;
    }
}


/* Optional: Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}



.carousel-inner {
    position: relative;
}

.carousel-item {
    position: relative;
    height: 100vh; /* Full height for larger screens */
    overflow: hidden; /* Ensures content doesn't overflow */
}

.carousel-item img,
.carousel-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the content fills the carousel while maintaining the aspect ratio */
    object-position: center center; /* Centers the content */
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1; /* Ensures captions stay on top of content */
    background: rgba(0, 0, 0, 0.5); /* Optional: adds a semi-transparent overlay for readability */
}

/* Small devices (phones, 576px and below) */
@media (max-width: 576px) {
    .carousel-item {
        height: 300px; /* Adjust height for extra-small screens */
    }

    .carousel-item img,
    .carousel-item video {
        object-fit: fill; /* Stretch to fit container on smaller screens */
    }
}

/* Medium devices (tablets, 768px and below) */
@media (max-width: 768px) {
    .carousel-item {
        height: 350px; /* Adjust height for small to medium screens */
    }

    .carousel-item img,
    .carousel-item video {
        object-fit: fill; /* Stretch content to fill container */
    }
}

/* Large devices (desktops, 992px and below) */
@media (max-width: 992px) {
    .carousel-item {
        height: 450px; /* Adjust height for larger tablets */
    }

    .carousel-item img,
    .carousel-item video {
        object-fit: fill; /* Maintain aspect ratio while filling */
    }
}

/* Extra-large devices (large desktops, 1200px and below) */
@media (max-width: 1200px) {
    .carousel-item {
        height: 550px; /* Adjust height for smaller desktops */
    }

    .carousel-item img,
    .carousel-item video {
        object-fit: fill; /* Maintain aspect ratio while filling */
    }
}

/* Ultra-large devices (1440px and above) */
@media (min-width: 1440px) {
    .carousel-item {
        height: 100vh; /* Full viewport height for large screens */
    }

    .carousel-item img,
    .carousel-item video {
        object-fit: fill; /* Maintain aspect ratio while filling */
    }
}




/* Page Header Styles */
.page-header {
    background: url('../img/99.png') no-repeat;
    background-size: cover;
    margin-top: auto;
    width: auto;
    height: auto;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 20px;
    color: var(--light);
}



/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--primary); /* Set background to primary color */
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}

.facts .text-black {
    color: white !important; /* Fix color conflict */
}


/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    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: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px 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;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .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;
}


/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/* Project Section */
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
    margin-bottom: 10px; /* Reduced bottom margin for compactness */
}

.project-item img, 
.project-item video {
    transition: .5s;
    width: 100%; /* Ensure it fills the container */
    max-width: 300px; /* Set a max width for medium size */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto; /* Center the items */
}

/* Optional: If you want to add hover effects for images and videos */
.project-item:hover img, 
.project-item:hover video {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Ensure the container and layout are responsive */
.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

/* Navigation Controls for Carousel */
.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project-item img, 
    .project-item video {
        max-width: 100%; /* Full width for smaller screens */
    }
}


/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    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 {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}
/* Apply styles to the form inputs 
.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container input[type="tel"],
.contact-form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none; 
    border-bottom: 1px solid #cbd5e0; 
    background-color: transparent;
    transition: border-color 0.3s;
    box-shadow: none; 
    outline: none;
.contact-form-container input[type="text"]:focus,
.contact-form-container input[type="email"]:focus,
.contact-form-container input[type="tel"]:focus,
.contact-form-container textarea:focus {
    border-color: #4a90e2; 
}


.contact-form-container button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #e53e3e; 
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}


.contact-form-container button[type="submit"]:hover {
    background-color: #c53030; /* Darker red background color 
}
*/

/*** 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;
    border-top: 1px solid rgba(255, 255, 255, .1);
}