:root {
    --bg-color: #f1f1f1;
    --bg-secondary-color: #0b2b43;
    --primary-color: #7fc6a4;
    --secondary-color: #6c757d;
}

.bg-cus-primary {
    background: var(--primary-color);
}

.bg-cus-secondary {
    background: var(--bg-secondary-color);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.navbar-logo {
    width: 30px;
    height: 30px;
}

.nav-shadow {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.menu {
    span {
        margin: 0 10px;
        font-weight: 600;
    }

    span:last-child {
        margin-right: 0;
    }

    a {
        text-decoration: none;
        color: var(--secondary-color);
    }

    a:hover {
        color: var(--primary-color);
        transition: all 0.4s ease-in-out;
    }

    /* Remove dropdown arrow */
    #aboutDropdown.dropdown-toggle::after {
        display: none;
    }

    /* Show dropdown on hover */
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease-in-out;
    }

    /* Fade-in animation */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Prevent click to toggle dropdown */
    .nav-item.dropdown > .dropdown-toggle {
        pointer-events: none;
    }
}

.bootstrap-select .dropdown-menu li a {
    padding: unset;
}

.heroBanner {
    animation: 50s ease 0s normal none infinite running zoomEffect;
    -webkit-animation: 50s ease 0s normal none infinite running zoomEffect;
    -o-animation: 50s ease 0s normal none infinite running zoomEffect;
    -moz--o-animation: 50s ease 0s normal none infinite running zoomEffect;
}

@keyframes zoomEffect {
    from {
        transform: scale(1, 1);
    }
    to {
        transform: scale(3, 3);
    }
}

.owl-carousel .owl-item {
    overflow: hidden;
    img {
        height: 52vh;
        object-fit: cover;
    }   
}

.owl-text {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);

    h1 {
        font-size: 52px;
        font-weight: 800;
    }
}

.owl-text-left {
    left: 25rem;
}

.owl-text-right {
    right: -9rem;
    direction: rtl;
}

.owl-dots button.owl-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    display: inline-block;
    background: #ccc;
    margin: 0 3px;
}

.separator-wrapper {
    height: 5px;
    background: var(--primary-color);
    opacity: 1;
    border-top: none;
}

.width-100 {
    width: 100px;
}

.width-250 {
    width: 250px;
}

.highlighted-text {
    color: var(--primary-color);
}

.highlighted-text-alt {
    color: var(--bg-secondary-color);
}

.hero-highlights {
    position: relative;
    z-index: 2;
    margin-top: -2rem;
}

.float-box-slider {
    color: var(--bg-color);
    padding: 10%;
    bottom: 50%;
    z-index: 2;
}

.about {
    padding: 5rem 0;

    .about-img {
        position: relative;
        text-align: end;

        .about-img-bg {
            height: 73vh;
            width: 70%; /* Limit background image width */
            position: relative;
            display: block;
            margin-left: auto; /* Align the image to the right */
        }

        .about-img-fg {
            position: absolute;
            top: 12%;
            left: 0;
            height: 55vh;
            width: 55%;
            max-width: 100%; /* Prevent overflow */
            border: 10px solid white;
        }
    }

    .desc {
        margin-left: 2.5rem;
    }

    .about-check-list {
        li {
            padding-bottom: 5px;
            display: flex;
            align-items: center;

            i {
                color: var(--primary-color);
                font-size: 1.2rem;
                margin-right: 10px;
            }
        }
    }
}

.person-round-img {
    height: 80px;
    width: 80px;
    background-color: #f8f9fa;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.service {
    padding: 5rem 0;
    background-color: #ebf7ff;

    .service-intro {
        margin-right: 2rem;
    }

    .service-details {
        padding: 0 2rem;

        .service-img {
            img {
                width: 100%;
            }
        }

        .service-desc {
            background-color: white;
            padding: 1rem;
        }
    }

    .service-list {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        margin-left: 2rem;

        .list-item {
            flex: 1;
            display: flex;
            /* justify-content: flex-end; */
            align-items: center;
            text-align: center;
            padding: 10px;

            h3 {
                margin-left: 1rem;
            }
        }
    }
}

.project-item {
    position: relative;
    overflow: hidden;
}

.project-item img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.project-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(11, 43, 67, 0.7);
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
}

.project-item:hover .overlay {
    height: 100%;
}

.project-item .overlay h3,
.project-item .overlay p {
    visibility: hidden;
    transition: visibility 0.3s ease;
}

.project-item:hover .overlay h3,
.project-item:hover .overlay p {
    visibility: visible;
}

.arrow-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: #fff;
    padding: 5px;
}

.project-item:hover .arrow-indicator {
    display: none; /* Hide arrow on hover */
}

.client {
    text-align: center;
    background-color: #ebf7ff;
}

.client .title {
    margin-bottom: 2rem; /* Space below the title */
}

.client .title h3 {
    color: var(--bg-secondary-color); /* Updated to use CSS variable */
    font-size: 25px;
}

.client .title i {
    display: inline-block; /* Ensures the icon respects width and height */
    width: 5rem; /* Set explicit width */
    height: 5rem; /* Set explicit height */
    line-height: 5rem; /* Centers the icon vertically */
    border-radius: 50%; /* Makes it fully round */
    padding: 0; /* Remove extra padding */
    font-size: 2.5rem; /* Font size of the icon */
    color: white; /* Icon color */
    background-color: var(--primary-color); /* Background color */
    text-align: center; /* Centers the icon horizontally */
}

.client .owl-carousel .items h3 {
    font-weight: 300;
    font-style: italic;
    color: var(--bg-secondary-color); /* Updated to use CSS variable */
    line-height: 28px;
}

.client .owl-carousel .items .profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client .owl-carousel .items .profile img {
    height: 100px;
    width: 100px;
    border: 3px solid var(--primary-color); /* Optional: add a border for visual effect */
}

.client .owl-carousel .items h4 {
    color: var(--bg-secondary-color); /* Updated to use CSS variable */
}

.contact {
    padding: 8rem 0;
    background-image: url("../img/contact-bg.jpg");
    background-size: cover;
}

circle-progress::part(base) {
    width: 180px;
    height: auto;
}

circle-progress::part(value) {
    stroke: var(--primary-color);
    stroke-width: 6;
}

circle-progress::part(circle) {
    stroke: #f5f5f5;
    stroke-width: 6;
}

circle-progress::part(text) {
    font-size: 0.85rem;
    font-weight: bold;
    font-family: var(--bs-body-font-family);
    fill: var(--bg-secondary-color);
}

.footer {
    padding-top: 3rem;
}

.footer-logo {
    width: 8rem; /* Optimized for better responsiveness */
}

.footer a {
    text-decoration: none;
    color: var(--secondary-color);
}

.footer a:hover {
    color: var(--primary-color);
    transition: color 0.4s ease-in-out;
}

.footer ul {
    padding: 0;
}

.footer ul li {
    padding-top: 0.5rem;
}

.footer .text-secondary {
    color: var(--secondary-color);
}

.footer .contact-card .ms-3 {
    margin-left: 1rem;
}

.highlight-section {
    display: inline-flex; /* Shrinks to fit content */
    background-color: rgba(
        var(--bs-primary-rgb),
        0.2
    ); /* Semi-transparent background */
    padding: 0.5rem 1rem; /* Adjust padding to fit content neatly */
    border-radius: 0.5rem; /* Optional: rounded corners */
}

.about-us-img {
    height: 50vh;
    width: 100%;
    object-fit: cover;
    padding-right: 8%;
}

.client-brands-logo {
    height: 18vh;
}

@media screen and (max-width: 1200px) {
    .owl-carousel .owl-item img {
        height: 42vh;
    }

    .owl-text {
        h1 {
            font-size: 42px;
        }
    }

    .owl-text-left {
        left: 20rem;
    }
}

@media screen and (max-width: 992px) {
    .owl-carousel .owl-item img {
        height: 32vh;
    }

    .owl-text {
        h1 {
            font-size: 32px;
        }
    }

    .owl-text-left {
        left: 13rem;
    }

    .hero-highlights {
        margin-top: unset;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .hero-highlights {
        .col-lg-6.col-sm-12.d-flex {
            display: block !important;
        }
    }

    .owl-text {
        h1 {
            font-size: 28px;
        }
    }
}
