/* Custom Hero Widget Styles */
.xtrain-hero-widget {
    position: relative;
    width: 100%;
    height: 600px; /* Default height, can be adjusted or made dynamic */
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

.xtrain-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11,17,32,0.9) 0%, rgba(11,17,32,0.4) 100%);
    z-index: 1;
}

/* RTL Gradient Flip */
body.rtl .xtrain-hero-overlay {
    background: linear-gradient(270deg, rgba(11,17,32,0.9) 0%, rgba(11,17,32,0.4) 100%);
}

.xtrain-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 30px; /* Increase padding visually slightly */
    color: #fff;
}

.xtrain-hero-subtitle {
    display: block;
    font-size: 14px;
    color: #a0aec0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.xtrain-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 600px;
}

.xtrain-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 30px;
    max-width: 500px;
}

.xtrain-hero-btn {
    display: inline-block;
    background-color: #fff;
    color: #0b1120;
    padding: 12px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.xtrain-hero-btn:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .xtrain-hero-widget {
        height: 500px;
    }
    .xtrain-hero-title {
        font-size: 32px;
    }
}
