@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.navbar-brand img {
    max-height: 400px !important;
    padding: 20px 0;
}

.zoomOut {
    animation: zoomOut 15s ease-in-out forwards;
}

@keyframes zoomOut {
    0% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}

.carousel-header {
    z-index: 69;
}

.carousel-item {
    height: 100vh;
}

.carousel-item .display-3 {
    font-size: 90px;
    line-height:75px;
}

.carousel-caption-1-content,
.carousel-caption-2-content  {
    padding-right:  5%;
    padding-left:  5%;
    display: block;
    max-width: 70%;
}

.bc-contact {
    background: linear-gradient(rgba(0, 0, 0, 0.664)), url(../img/breadcrumb/bc-contact.jpg) no-repeat center center;
    background-size: cover;
    min-height: 400px;
}

.bc-mail-inserter {
    background: linear-gradient(rgba(0, 0, 0, 0.664)), url(../img/breadcrumb/bc-mail-inserter.jpg) no-repeat center center;
    background-size: cover;
    min-height: 400px;
}

.icon-box-light {
    position: relative;
    padding: 0px 0px 10px 10px;
    z-index: 1;
}

.icon-box-light::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    left: 0px;
    bottom: 0px;
    border-radius: 35px;
    transition: 0.5s;
    z-index: -1;
}

.icon-box-light::before {
    background: var(--bs-light);
}

.icon-box-light i {
    font-size: 60px;
    line-height: 0;
}

.logo-carousel .item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
}

.logo-carousel img {
    width: 100%;
    border: 1px solid rgb(221, 221, 221);
    background-color: rgb(255, 255, 255);
    transition: transform 0.3s;
}

.logo-carousel img:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    filter: drop-shadow(white 1px 0px 0px) drop-shadow(white -1px 0px 0px) drop-shadow(white 0px 1px 0px) drop-shadow(white 0px -1px 0px);
}

.footer .navbar-brand img {
    width: 250px;
    filter: drop-shadow(white 1px 0px 0px) drop-shadow(white -1px 0px 0px) drop-shadow(white 0px 1px 0px) drop-shadow(white 0px -1px 0px);
    margin-bottom: 20px;
}

.footer-item p {
    color: #ffffff;
    font-size: 16px;
    line-height: 20px !important;
}

/*** Footer ***/

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 43%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

.footer a{
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
    transition: .3s;
}
.footer a:hover {
    color: var(--bs-primary);
    letter-spacing: 0.3px;
    box-shadow: none;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    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;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 0.3px;
    box-shadow: none;
}


/* k-social bar icon */
.k-social {
    position: fixed;
    top: 30%;
    right: 0;
    /* z-index: 100; */
    z-index: 1;
}
.k-social ul {
    position: absolute;
    padding: 0px;
    right: -265px !important;
}
.k-social ul li {
    display: block;
    margin: 10px 20px;
    border: 1px solid red;
    width: 300px;
    text-align: left;
    padding: 10px;
    border-radius: 30px 0 0 30px;
    transition: all 1s;
    background: red;
}
.k-social ul li:hover {
    transform: translate(-110px, 0);
    background: white;
}
.k-social ul li:hover a {
    color: #000;
}
.k-social ul li:hover i {
    color: #fff;
    background: rgba(0, 0, 0, 0.36);
    transform: rotate(360deg);
    transition: all 1s;
}
.k-social ul li i {
    margin-right: 10px;
    color: #000;
    background: #fff;
    /* padding: 10px; */
    padding-top: 9px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    transform: rotate(0deg);
    border: 1px solid red;
}

.sc-social {
    margin-top: 24px;
}


/* ===== Filters & Sidebar ===== */
.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 200px;
}

.filters ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.filters ul li {
    font-size: 14px;
    text-transform: capitalize;
    padding: 5px 10px;
    font-weight: 500;
    color: var(--secondary-color);
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s, color 0.3s;
}

.filters ul li:hover {
    background-color: #f0f0f0;
}

.filters ul li.active-material,
.filters ul li.active-project {
    background-color: var(--secondary);
    color: #fff !important;
    border-color: var(--secondary);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* ===== Tabby Sidebar Box ===== */
.tabby {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-y: scroll;
    height: 550px;
}

.tabby h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 20px;
}

.tabby h5::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--secondary);
    margin-top: 0.5rem;
}

/* mobile tabby height fix */

/* Floating button */
.filter-toggle-btn {
    position: fixed;
    bottom: 90px;
    right: 8px;
    background: var(--secondary);
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    cursor: pointer;
    width: auto;
    display: none; /* shown only on mobile */
}

/* Filter panel (hidden by default) */
.filter-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    transition: bottom .35s ease;
    z-index: 9998;
    overflow-y: auto;
    padding: 20px;
}

/* Active state: slide up */
.filter-panel.active {
    bottom: 0;
}

/* Mobile only */
@media (max-width: 768px) {
    .filter-toggle-btn {
        display: block;
    }
    
    .tabby.sticky { 
        display: none !important;  /* hide desktop filter panel */
    }
}

/* ===== Projects Masonry Grid ===== */
.projects-content .row {
    margin-left: -15px;
    margin-right: -15px;
}

.projects-content .row .col-lg-4 {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
}

.projects-item {
    border: 1px solid #d1d1d1;
    border-radius: 20px;
    overflow: hidden;
    transition: all .3s ease-in-out;
    background: #fff;
}

.projects-item:hover {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.projects-item .thumb img {
    width: 100%;
    display: block;
}

.projects-item .down-content {
    padding: 20px;
}

.projects-item .down-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.projects-item .down-content p {
    color: var(--secondary-color);
    font-size: 14px;
    line-height: 21px;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #e3372f;
}
.accordion-button:focus {
    border-color: #e3372f;
    box-shadow: 0 0 0 0.25rem rgba(249, 0, 0, 0.25);
}

a {
    transition: all ease 0.2s;
}

.uwu-box-shadow {
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.uwu-img-fit {
    object-fit: cover;
}

.thumb img {
    object-fit: cover;
    object-position: center;
    height: 200px;
}

.reset-filters-btn {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: var(--bs-primary);
    cursor: pointer;
    font-weight: 600;
    transition: ease-in-out all .3s;
    color: white;
}

.reset-filters-btn:hover {
    background: #eaeaea;
    color: #8b8b8b;
}
