.specialty-section {
    padding: 50px;
    background: #f4f4f4;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    /* Larger shadow */
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
    border-radius: 12px;
    max-width: 100%;
    margin: auto;
    background: #fff url('https://www.transparenttextures.com/patterns/gplay.png');
    /* Patterned background */
}

.specialty-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    animation: slideIn 1.2s ease-in-out;
}

.specialty-title::after {
    content: '';
    width: 150px;
    height: 4px;
    background-color: #ff6347;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}




/* Keyframes for animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
}

.product-box {
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 1.5s ease-out;
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.product-box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-box img {
    width: 100%;
    height: auto;
    animation: fadeIn 2s ease-out;
    display: block;
    cursor: pointer;
    border-radius: 8px;
}

.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

.product-box:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    .product-box {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 425px) {
    #Product_row {
        margin-right: -0.8rem;
    }
}

@media (max-width: 375px) {
    #Product_row {
        margin-right: -1.5rem;
    }
}

@media (max-width: 320px) {
    #Product_row {
        margin-right: -2.1rem;
    }
}

.product-box h1 {
    color: rgb(252, 166, 7);
}

/* Styling the buttons */
.product-box button {
    background-color: rgb(252, 166, 7);
    border: none;
    padding: 10px 20px;
    color: white;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.product-box button:hover {
    background-color: rgb(230, 140, 5);
    transform: scale(1.05);
}

/* Align buttons side by side */
.button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.product-row-1 {
    background-color: #f0f8ff;
    padding: 0px 0;
}

.product-row-2 {
    background-color: #faf0e6;
    padding: 20px 0;
}

.product-row-3 {
    background-color: #f0f8ff;
    padding: 20px 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    color: rgb(252, 166, 7);
    /* Change this to any color you prefer */
    font-weight: bold;
    /* Makes the text bold */
}

.highlight1 {
    color: rgb(72 6 246);
    /* Change this to any color you prefer */
    font-weight: bold;
    /* Makes the text bold */
}

.data-product-name {
    position: absolute;
    color: black;
    /* left: 75px; */
    /* text-align: center; */
    /* Change this to any color you prefer */
    font-weight: bold;
}