.daksha-hover-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0;
}

/* Background image */
.daksha-hover-box-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
    transform: scale(1);
}

/* Dark overlay */
.daksha-hover-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.4s ease;
    z-index: 1;
}

/* Content container */
.daksha-hover-box-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Title styling */
.daksha-hover-box-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 42px;
    font-weight: 400;
    text-align: center;
    margin: 0;
    padding: 0 20px;
    transition: transform 0.4s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    max-width: 90%;
    transform-origin: center center;
}

/* Highlight "smetics" part in yellow */
.daksha-hover-box-title {
    white-space: nowrap;
}

/* Button styling */
.daksha-hover-box-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 40px);
    padding: 15px 60px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    border: none;
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.4s ease, background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

/* Hover effects */
.daksha-hover-box:hover::before {
    background-color: rgba(0, 0, 0, 0.2);
}

.daksha-hover-box:hover .daksha-hover-box-background {
    transform: scale(1.1);
}

.daksha-hover-box:hover .daksha-hover-box-title {
    transform: translate(-50%, -50%) scale(1.05);
    transform-origin: center center;
}

.daksha-hover-box:hover .daksha-hover-box-button {
    opacity: 1;
}

.daksha-hover-box-button:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .daksha-hover-box-title {
        font-size: 28px;
    }
    
    .daksha-hover-box-button {
        padding: 12px 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .daksha-hover-box-title {
        font-size: 20px;
        white-space: normal;
    }
    
    .daksha-hover-box-button {
        padding: 10px 30px;
        font-size: 12px;
    }
}
