/* Custom font, if needed. Otherwise, can be removed. */
.custom-font-math {
    font-family: math;
}

/* 1. Custom background color for the banner */
.bg-custom-dark {
    background-color: #293130;
}

/* 2. Custom button color */
.btn-custom-red {
    background-color: #E21E26;
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-custom-red:hover {
    background-color: #b8171e;
    color: white;
}

/* 3. Product card hover effects */
.product-card {
    height: 25rem; /* Fixed height */
    overflow: hidden;
    cursor: pointer;
}

.product-card .card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img {
    transform: scale(1.1);
}

.product-card .product-overlay {
    background-color: rgba(60, 60, 60, 0.7);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

/* 4. "About Us" small image custom positioning */
.about-images .img-small {
    width: 50%;
    bottom: -40px;
    left: -40px;
    border: 5px solid white; /* Adds separation from the background image */
}
/* Responsive adjustment for the small image */
@media (max-width: 992px) {
    .about-images .img-small {
        position: static !important;
        width: 60%;
        margin-top: 20px;
    }
}


/* 5. Social icon hover animation */
.social-icons li a {
    width: 70px;
    height: 70px;
    background-color: #f1f1f1;
    text-align: center;
    line-height: 70px;
    font-size: 30px;
    display: block;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 3px solid #f1f1f1;
    z-index: 1;
}

.social-icons li a .icon {
    position: relative;
    color: #262626;
    transition: .5s;
    z-index: 3;
}

.social-icons li a:hover .icon {
    color: #fff;
    transform: rotateY(360deg);
}

.social-icons li a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s;
    z-index: 2;
}

.social-icons li a:hover:before {
    top: 0;
}

.social-icons li:nth-child(1) a:before { background: #3b5999; /* Facebook */ }
.social-icons li:nth-child(2) a:before { background: #55acee; /* Twitter */ }
.social-icons li:nth-child(3) a:before { background: #0077b5; /* LinkedIn */ }
.social-icons li:nth-child(4) a:before { background: #e4405f; /* Instagram */ }
