html,
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.logo-nav {
    height: 70px !important;
}

/* Logo sizes */
.main-logo {
    height: 50px !important;
    object-fit: contain !important;
}

.small-logo {
    height: 40px !important;
    object-fit: contain !important;
}



Two Image Layout .two-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    height: 400px;
}

.container {
    display: flex;
    justify-content: center;
    /* horizontal centering */
    align-items: center;
    /* vertical centering */
    min-height: 90vh;
    flex-wrap: wrap;
    /* allows wrapping on smaller screens */
    padding: 0 15px;
    /* prevent horizontal overflow */
    box-sizing: border-box;
}


.two-images a {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;

}

.two-images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;

}

.two-images img:hover {
    transform: scale(1.05);

}

body {
    background-color: #322B2B;
}

.carousel-inner {
    height: 400px;
    /* Your fixed frame height */
    background: #322B2B;
    /* black bars */
    /* justify-content: center;
    align-items: center; */
    overflow: hidden;
    border-radius: 10px
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Left arrow position */

/* Arrow shape */
.arrow span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 5px solid white;
    border-right: 5px solid white;
    transform: rotate(45deg);
    margin: -6px;
    animation: animate 1.5s infinite;
}

.blackfade {
    position: relative;
    border-radius: 22px;
}

.content {
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    position: absolute;
    background: rgba(243, 231, 231, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: 0.6s;
    color: rgb(125, 70, 48);
}

.content:hover {
    opacity: 1;
    border-radius: 10px;
}

.arrow span:nth-child(2) {
    animation-delay: -0.15s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.3s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}




/* Mobile (up to 480px) */
@media (min-width: 120px) and (max-width: 767px) {

    /* Small devices only */

    .small-logo {
        height: 20px;
    }

    .container {
        width: 100%;
        padding: 0px !important;
    }

    /* Fix carousel height on desktop */


    /* Prevent image shifting */
    .carousel-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 10px !important;
        display: block;
    }

    .blackfade {
        position: static;
        /* or just remove this whole rule */

    }

    .content {
        position: static;
        opacity: 1;
        display: block;
        height: auto;
        background: rgba(243, 231, 231, 0.6);
        padding: 15px;
        text-align: center;
        border-radius: 0px 0px 10px 10px;
    }

    .two-images img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 10px 10px 0px 0px;
        transition: transform 0.3s ease;

    }

    .two-images a {
        text-decoration: none;
    }


    .customPadding {
        padding-bottom: 15px;
    }

    .carousel-inner {
        height: 200px;
        overflow: hidden;
        border-radius: 10px;
        padding-bottom: 10px;
    }


}
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .col-md-7, .col-md-5 {
        padding: 10px;
    }

    /* Carousel */
    .carousel-inner {
        height: 230px;
        overflow: hidden;
        border-radius: 10px;
        background: #322B2B;
    }

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px !important;
    }

    /* Images overlay */
    .two-images {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .blackfade {
        position: relative;
        margin: 0;
    }

    .content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(243, 231, 231, 0.6);
        text-align: center;
        padding: 10px;
        border-radius: 10px 10px 10px 10px;
        pointer-events: auto;
        opacity: 1;
    }

    .two-images img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 10px 10px 10px 10px;
        opacity: 0.5;
    }
}
@media (min-width: 1024px) and (max-width: 5279px) {
    .flexcustom {
        display: flex;
    }

    .two-images {
        height: auto;
    }

}