/*----------------------------- Inner Page -----------------------------*/
.top-bar {
    background-color: var(--secondary-color);
    height: 50px;
}
.top-info {
    color: var(--primary-color);

    span, i {
        color: var(--primary-color);
        font-size: .875rem;
    }
}

.header-wrap {
    background: transparent;
    position: absolute;
    top: 50;
    z-index: 999;
    padding-block: .875rem;
}
img.logo {
    max-width: 304px;
}

.hamburger {
    font-size: 2.25rem;
    cursor: pointer;
    color: var(--light-color);
}

/* Off Canvas Menu */
.offcanvas-logo {
    max-width: 304px;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #111;
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease-in-out;
    z-index: 1500;
}
.offcanvas-menu.active {
    right: 0;
}
.offcanvas-menu .close-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}
.offcanvas-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
}
.offcanvas-menu a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
}
.offcanvas-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
.offcanvas-menu a:hover,
.offcanvas-menu a.active {
    color: var(--primary-color);
}
.offcanvas-menu a:hover::after,
.offcanvas-menu a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}
.offcanvas-menu .has-submenu {
    position: relative;
    text-align: center;
}
.offcanvas-menu .has-submenu > a::after {
    content: '▼';
    font-size: 0.6em;
    margin-left: 0px;
}
.offcanvas-menu .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding: 0;
}
.offcanvas-menu .submenu.open {
    max-height: 500px;
    margin-top: 20px;
    padding-bottom: 5px;
}
.offcanvas-menu .submenu a {
    font-size: 1rem;
    color: var(--primary-color);
    text-transform: capitalize;
}
/* Off Canvas Menu Ends */

/*----------------------------- Inner Hero Serction -----------------------------*/
.hero-section {
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;

    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(25, 25, 25, 0.6);
    }
}
.hero-content {
    position: relative;
    z-index: 2;
    h1 {
        text-transform: uppercase;
    }
    h5 {
        color: var(--light-color);
    }
}

.top-space {
    margin-top: 5rem;
}
.bottom-space {
    margin-bottom: 5rem;
}

.space-padding {
    padding-block: 5rem;
}
.second-bg {
    background: var(--second-bg);
}

.common-btn {
    display: inline-block;
    text-decoration: none;
    color: var(--secondary-color);
    padding: 10px 30px;
    border: 1px solid var(--secondary-color);
    border-radius: 3px;
    font-size: .75rem;
    text-transform: uppercase;
}
.common-btn:hover {
    color: var(--light-color);
    background-color: var(--secondary-color);
}

img.inner-logo {
    height: 80px;
}

.about-content {
    p {
        color: var(--secondary-color);
        font-size: 18px;
    }

    h4 {
        font-weight: normal;
    }
    
    h5 {
        color: var(--primary-color);
        font-family: var(--text-ff);
        font-weight: normal;
        line-height: 1.5em;
    }
}

/* Cards */
.card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.title {
    color: var(--light-color);
    margin: 0;
    transform: translateY(90%);
    transition: transform 0.3s ease;
}

.description {
    color: var(--light-color);
    margin-top: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 80%;
}

.card:hover .title {
    transform: translateY(-10px);
}

.card:hover .description {
    opacity: 1;
    transform: translateY(0);
}

/* Quick Enquiry Form Style */
.quick-enquiry .form-control {
    border: 1px solid var(--secondary-color);
    border-radius: 2px;
    padding: 10px;
    background-color: transparent;
}
.quick-enquiry .form-control:focus {
    border-color: #181818;
    box-shadow: none;
    outline: none;
}
.quick-enquiry .form-check-label {
    font-size: .875rem;
}
.quick-enquiry .form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.quick-enquiry .form-control.is-valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}
.is-invalid ~ .invalid-feedback,
.is-invalid ~ .invalid-tooltip {
    display: block;
}

.submit-btn {
    border-radius: 2px;
    background: var(--secondary-color);
    border: none;
    padding: 8px 24px;
}
.submit-btn:hover {
    background: var(--primary-color);
}

/*----------------------------- Footer -----------------------------*/
footer {
    background: var(--secondary-color);
    padding-block: 3.125rem;
}
.footer-box {
    h6 {
        font: 400 14px var(--text-ff);
        color: var(--light-color);
        text-transform: uppercase;
    }
    p {
        color: var(--light-color);
        font-weight: 400;
    }
    .newsletter-form {
        color: var(--light-color);

        label {
            font-size: 14px;
            span {
                color: red;
            }
        }

        .form-control {
            border-radius: 0;
            border: 2px solid #aaa;
            background: transparent;
        }

        button {
            background: #aaa;
            border: none;
            font-size: 13px;
            text-transform: uppercase;
            font-weight: normal;
            border-radius: 3px;
            padding: 5px 25px;
        }
    }
    
    ul.footer-menu {
        padding-left: 0;
        list-style: none;

        a {
            color: var(--light-color);
            text-decoration: none;
            font-size: 14px;
            line-height: 30px;
        }

        a:hover {
            color: var(--primary-color);
        }
    }

    .social-icons i {
        color: var(--light-color);
        font-size: 1rem;

        &:hover {
            color: var(--primary-color);
        }
    }
}

.partners-logos {
    list-style: none;
    padding-left: 0;
}
.partners-logos li {
    display: inline;
}
.partners-logos li img {
    max-height: 30px;
    margin-right: 24px;
}

/*----------------------------- Timeline -----------------------------*/
.timeline {
    position: relative;
    max-width: 1000px;
    margin: auto;
    padding: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-step {
    padding: 0px 40px;
    position: relative;
    width: 50%;
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: 0px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-color);
    z-index: 1;
}

.timeline-step.left {
    left: 0;
    text-align: right;
}

.timeline-step.left::before {
    right: -10px;
}

.timeline-step.right {
    left: 50%;
    text-align: left;
}

.timeline-step.right::before {
    left: -10px;
}

.timeline-content {
    background: rgba(255, 255, 255, .2);
    padding: 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* Responsive */
@media screen and (max-width: 768px) {
    .timeline-step,
    .timeline-step.right,
    .timeline-step.left {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline::before {
        left: 0px;
    }
    .timeline-step::before {
        left: -10px;
        top: 15px;
    }
}

/*----------------------------- Our Projects -----------------------------*/
.gal-cat {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.gal-cat img {
    transition: all .5s ease;
}
.gal-cat:hover img {
    -webkit-filter: brightness(70%);
    filter: brightness(70%);
    transform: scale(1.1);
}
.content {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(15, 15, 15, .2);
    transition: all .5s ease;
    transform: scale(1.15);
    opacity: 1;
}
.gal-cat:hover .content {
    opacity: 1;
}
.gal-cat-title {
    width: 300px;
    position: absolute;
    bottom: 20px;
    left: 20px;
    transition: all .5s ease;
}
.gal-cat-title h4 {
    color: var(--light-color);
    text-transform: uppercase;
}
.gal-cat-title h4 {
    margin-bottom: 0;
}

/* Gallery */
.gallery {
    columns: 350px;
}
.gallery img {
    max-width: 100%;
    margin-bottom: 1rem;
}

/* Living Gallery */
.living-gallery {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.living-gallery-item {
    position: relative;
    overflow: hidden;
    width: 636px;
    cursor: pointer;
}
.living-gallery-item img {
    width: 100%;
    transition: transform 0.4s ease;
    display: block;
    -webkit-filter: brightness(70%);
    filter: brightness(70%);
}
.living-gallery-item:hover img {
    transform: scale(1.05);
}
.overlay-text {
    width: auto;
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    text-transform: uppercase;
}
.overlay-text h4 {
    margin-bottom: 0;
}

/* Downloads */
.downloads p {
    font-size: 24px;
    color: var(--light-color);
}
.downloads a {
    color: var(--light-color);
    text-decoration: none;
    border: 1px solid var(--light-color);
    padding: 10px 30px;
}
.downloads a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.downloads-binova {
    background: url(../images/downloads-binova.webp) no-repeat center center;
    background-size: cover;
    padding: 75px;
}
.downloads-binova img {
    height: 50px;
}
.downloads-miton {
    background: url(../images/downloads-miton.webp) no-repeat center center;
    background-size: cover;
    padding: 75px;
}
.downloads-miton img {
    max-height: 80px;
}
.downloads-kico {
    background: url(../images/downloads-kico.webp) no-repeat center center;
    background-size: cover;
    padding: 75px;
}
.downloads-kico img {
    max-height: 70px;
}
.downloads-wardrobe {
    background: url(../images/downloads-wardrobe.webp) no-repeat center center;
    background-size: cover;
    padding: 75px;
}
.downloads-our-projects {
    background: url(../images/our-projects-bg.webp) no-repeat center center;
    background-size: cover;
    padding: 75px;
}

/* Copyright */
.copyright {
    border-top: 1px solid var(--text-color);
    margin-top: 2rem;
}
.copyright p {
    padding-top: 2rem;
    margin-bottom: 0;
}
.copyright a {
    color: inherit;
    text-decoration: none;
}

/* Logo Slider */
.slide-track {
    width: 100%;
    display: flex;
    gap: 24px;
    overflow: hidden;
}
.slider {
    padding: 0px;
}
.slide img {
    max-width: 150px;
    height: auto;
    animation: scroll 20s linear infinite;
    border: 1px solid var(--text-color);
}
@keyframes scroll {
    0% {transform: translateX(0);}
    100% {transform: translatex(-1000%)}
}