/********** Template CSS **********/
:root {
    --primary: #68c3c6;
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #ffffff;
    --blue: #1d2857;
    --grey: #ececec;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
/*h2,*/
.h1,
/*.h2,*/
.fw-bold {
    font-weight: 700 !important;
    font-family: 'Lato';
    color: var(--primary);

}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
    font-family: 'Lato';
    color: var(--blue);

}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
    font-family: 'Lato';
    font-style: italic;
    color: var(--primary);

}


/*** 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 ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    /*background: var(--primary);*/
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    /*right: -25px;*/
    transform: skewX(-30deg);
    background-color: var(--primary);
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Lato';

    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #01a0ad;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    /*font-family: "Font Awesome 5 Free";*/
    font-family: 'Lato';
    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 {
        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 ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    /*background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%);*/
    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;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

@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(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), url(../img/carousel-2.jpg) center center no-repeat;*/
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--dark);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    font-family: 'Lato';

    color: var(--dark);
}


/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}


/*** 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;
    background: var(--primary);
}

@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;
    font-family: 'Lato';

    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 ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: .5s;
}

.project-item:hover img,
/*.project-carousel .owl-item.center img {*/
/*    margin-top: -60px;*/
/*}*/

/*.project-item .project-title {*/
/*    position: absolute;*/
/*    padding: 0 15px;*/
/*    width: 100%;*/
/*    height: 80px;*/
/*    bottom: -210px;*/
/*    left: 0;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    text-align: center;*/
/*    background: var(--dark);*/
/*    transition: .5s;*/
/*}*/

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    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;
    font-family: 'Lato';

    transition: .5s;
}


/*** 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;
    font-family: 'Lato';

    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: 400px;
    height: 150px;
}

.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);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    font-family: 'Lato';

    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: 'Lato';
    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);
}
.custom-background-section1 {
    background-image: url('/img/divider_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
}
.custom-background-section2 {
    background-image: url('/img/divider_2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* 50% of the viewport height */
    width: 100%;
    /*padding: 50px 0; !* Optional padding *!*/
}
.custom-background-section2 .container-xxl{
    display: flex;
    flex-wrap: inherit;
    align-items: start;
    justify-content: space-between
}
.custom-background-section3 {
    background-image: url('/img/divider_3.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    /*object-position: center top;*/
    max-height: 800px;
    /*max-height: 900px;*/
    /*height: 100vh;*/
    /*transform: translateY(40%);*/
    /*padding-top: 150px; !* Optional padding *!*/
}

.custom-bullets {
    font-family: 'Lato';
    font-size: 26px;
    font-weight: 100;
    list-style-type: none; /* Remove default bullet points */
    padding: 0;
    max-width: 1080px;
    transform: translateY(-40%);
}

.custom-bullets li {
    display: flex;
    align-items: start;
    margin-bottom: 50px; /* Adds space between rows */
}

.custom-bullets li img {
    width: 30px; /* Adjust image size for bullet point */
    height: auto;
    margin-right: 15px; /* Space between image and text */
}

@media (max-width: 768px) {
    .custom-bullets{
        transform: translateY(-10%);
    }
    .custom-bullets li {
       font-size: 20px;
    }
    #story .col-md-8 {
        padding-bottom: 20px; /* Adds space between text and bubble on smaller screens */
    }
    .custom-background-section3 {
        padding-top: 5%;
        padding-bottom: 5%;
    }

    .custom-background-section3 p {
        font-size: 16px; /* Reduce font size for better readability on mobile */
    }

    .custom-background-section3 img {
        max-width: 80%; /* Scale down the image slightly on smaller screens */
    }
    .highlight{
        font-size: 13px;
    }
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns for larger screens */
    gap: 20px; /* Space between the items */
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr; /* Switch to a single column on smaller screens */
    }
}

.team-member {
    padding: 15px;
    border-radius: 5px;
}

.team-member h4 {
    color: var(--primary);
    margin: 5px 0;
}

.team-member p,
.team-member ul {
    line-height: 1.6;
}

.team-member ul {
    padding-left: 20px;
}



/* General Section Styling */

/* General Section Styling */
.intro-section {
    position: relative;
    background-color: #fff;
    height: 100vh; /* Full viewport height */
    width: 100%;
    text-align: left; /* Left-align the text for larger screens */
    overflow: visible; /* Allow the section-break to overflow */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Text content styling (left-aligned for larger screens) */
.intro-section .content {
    z-index: 10;
    position: relative;
    max-width: 700px;
    margin-left: 450px;
    text-align: left; /* Left-align the text */
}

/* Styling for text */
.intro-section h1 {
    font-size: 4.5em; /* Increase the size */
    font-family: 'Lato';
    color: var(--primary);
    margin-bottom: 20px;
}

.intro-section h2 {
    font-size: 2.5em; /* Size of the h2 */
    color: var(--blue); /* Your chosen color */
    margin-bottom: 20px;
    font-weight: 50; /* Thin text */
}

.intro-section h2 strong {
    font-weight: 1000;
    color: var(--blue);
}

.intro-section p {
    max-width: 500px;
    font-size: 1.6em; /* Increase the size */
    font-family: 'Lato';
    color: var(--blue);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 50;
}

.intro-section .highlight {
    color: var(--primary);
    font-weight: bold;
    font-family: 'Lato';
}
.highlight {
    color: var(--primary);
    font-weight: 100;
    font-family: 'Lato';
    font-size: larger;
}

/* Graphic image on the right (scalable with full height, not full width) */
.intro-section .graphic {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    height: 100%; /* Full height to fit the section */
    width: auto; /* Auto width based on aspect ratio */
    display: flex;
    align-items: flex-end;
}

.intro-section .graphic img {
    height: 100%; /* Make the image fit the height */
    width: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure it scales without distortion */
    display: block;
}

/* Section Break Styling (at the bottom of the screen) */
.intro-section .section-break {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Full height of the section */
    background: url('/img/divider_1.png') no-repeat center center;
    background-size: cover;
    z-index: 0;
    transform: translateY(60%);
}
@media (max-width: 1300px) {
    .intro-section .content {

        margin-left: 120px;

    }

}

/* Responsive Adjustments for medium screens (up to 1100px) */
@media (max-width: 950px) {
    .intro-section .content {
        margin-left: 0; /* Remove left margin */
        text-align: center; /* Center the text */
        max-width: 100%; /* Full width */
    }

    /* Scale the text */
    .intro-section h1 {
        font-size: 3em; /* Smaller size */
    }

    .intro-section h2 {
        font-size: 2em; /* Smaller size */
    }

    .intro-section p {
        font-size: 1.4em;
    }

    /* Hide the graphic when screen width is below 1100px */
    .intro-section .graphic {
        display: none; /* Remove the graphic */
    }

    /* Center the entire section content when the graphic is removed */
    .intro-section {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Further scaling for smaller screens (up to 768px) */
@media (max-width: 768px) {
    .intro-section h1 {
        font-size: 2.5em;
    }

    .intro-section h2 {
        font-size: 1.8em;
    }

    .intro-section p {
        font-size: 1.2em;
    }
}

/* Center the arrow */
.scroll-arrow {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    text-align: center;
    z-index: 1000;
}

.scroll-arrow img {
    transition: transform 0.3s ease;
}

.scroll-arrow:hover img {
    transform: translateY(5px); /* Slight movement on hover */
}

.framed-image {
    display: block;
    width: 100%; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2); /* Shadow on all sides */
    border-right: 10px solid white; /* White frame on right */
    border-bottom: 10px solid white; /* White frame on bottom */
}