
/* Hero Banner Styles */
.s_hero_banner {
    position: relative;
    min-height: 600px;
    padding: 0;
    overflow: hidden;
}

.s_hero_banner .container-fluid {
    position: relative;
    min-height: 700px;
}

/* Background Image */
.hero_banner_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    border-radius: 17px;
}

/* Dark overlay */
.s_hero_banner .container-fluid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.hero_banner_container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: inherit;
}

.hero_banner_content {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: auto;
    padding: 40px;
    gap: 18px;
}

.hero_banner_subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero_banner_btn {
    display: inline-block;
    padding: 16px 40px;
    background: #8B4513;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero_banner_btn:hover {
    background: #6d3410;
    transform: translateY(-2px);

    background: #6d3410;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

/* Tools Grid */
.hero_banner_tools {
    flex: 0 0 auto;
    max-width: 350px;
    width: 350px;
    height: 700px;
    overflow: hidden;
    position: relative;
}

.tools-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: scroll 30s linear infinite;
    padding: 25px 120px 25px 50px;
    background: linear-gradient(270.29deg, #f8f2f2 -1.13%, rgba(255,255,255,0) 102.4%);
}

.tools-wrapper:has(.tool-card:hover) {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.tool-card {
    background: #FFFFFF1A;
    border-radius: 10px;
    padding: 25px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    border: 1px solid #FFFFFF1A;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tool-icon {
    width: 64px;
    height: 64px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tool-name {
    font-family: "DM Sans", sans-serif !important;
    font-weight: 500;
    font-size: 13px;
    text-align: center;
    line-height: 100%;
    letter-spacing: 0;
    color: #2b2b2b;
}

/* Responsive */
@media (max-width: 992px) {
    .hero_banner_container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero_banner_content {
        max-width: 100%;
    }
    
    .hero_banner_title {
        font-size: 42px;
    }
    
    .hero_banner_tools {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero_banner_title {
        font-size: 32px;
    }
    
    .hero_banner_subtitle {
        font-size: 16px;
    }
    
    .hero_banner_tools {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .tool-card {
        padding: 16px;
    }
    
    .tool-icon {
        width: 48px;
        height: 48px;
    }
}
