/*----------------------------------------*/
/* lottie-player animation css
/*----------------------------------------*/
/* Container for fixed positioning */
.lottie-container {
    position: fixed;
    bottom: -21px;
    left: -18px;
    z-index: 10000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
}

/* Style for the lottie-player element */
.lottie-player-style {
    /* display: block; */
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 0.2s ease-in-out;
}

/* Optional: Add hover effect */
.lottie-container:hover .lottie-player-style {
    transform: scale(1.1);
}


/* .portfolio-section {
    padding: 50px 0;
    } */

.portfolio-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.control {
    background: #000;
    color: #fff;
    padding: 6px 12px;
    border: 1px solid #343a40;
    border-radius: 3px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control:hover,
.mixitup-control-active {
    background: #343a40;
    color: #fff;
}

.portfolio-item {
    padding-top: 30px;
}

.pd {
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.pd img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s;
}



.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* stack vertically first */
    align-items: center;
    justify-content: center;
    visibility: hidden;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    text-align: center;
    border-radius: 10px;
}

.pd:hover .portfolio-overlay {
    visibility: visible;
    transform: scale(1);
    opacity: 1;
}

.portfolio-overlay .category {
    margin-bottom: 15px;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

/* Arrange icons in a row */
.portfolio-overlay .icon-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.magnify-icon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: #50977f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
}


.magnify-icon:hover {
    background: #000;
}

.magnify-icon i {
    font-size: 16px;
    color: #fff;

}

/* Show overlay on hover over the card */
.card:hover .portfolio-overlay {
    visibility: visible;
    transform: scale(1);
    opacity: 1;
    border-radius: 10px;
}

.card-body {
    position: relative;
    overflow: hidden;
}

/*******Responsive media query******/

/* Extra small devices (portrait phones, less than 576px)*/


/* custom-card */
.custom-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}



/* All Media  Query Css */

@media screen and (max-width:1024px) {
    .lottie-container {
        position: fixed;
        bottom: -30px;
        left: -31px;
        z-index: 10000;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 150px;
        height: 150px;
    }
}

@media screen and (max-width:375px) {
    .to_top.show {
        right: 1rem;
        opacity: 1;
    }

    .tc-footer-st1 .links-wrapper .contact-links a {
        font-size: 25px;
        font-weight: 500;
        margin: 5px 0;
    }
}




/* Social links container */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

/* Social icon styles */
.social-links a {
    color: #555;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 20%;
    background-color: #151515;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 4px rgb(0 0 0);
}

.social-links i {
    font-size: 22px;
}

.social-links a:hover {
    color: #fff;
    /* background-color: #007bff; */
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.social-links i.fa-facebook-f {
    color: #3b5998;
    /* Facebook blue */
}

.social-links i.fa-x-twitter {
    color: #1DA1F2;
    /* Twitter (X) blue */
}

.social-links i.fa-linkedin-in {
    color: #0077b5;
    /* LinkedIn blue */
}

.social-links i.fa-instagram {
    color: #E1306C;
    /* Instagram gradient pink */
}

.social-links i.fa-youtube {
    color: #FF0000;
    /* YouTube red */
}