/* Hero Section Styles - Fullwidth Background with Centered Content */
.hero-section {
    position: relative;
    background-color: #f7f9fc;
    padding: 0;
    overflow: hidden;
    /* Sử dụng hình ảnh làm ảnh nền bao phủ tràn toàn bộ phần bên phải và phông nền */
    background-image: url('../images/hero_screws_banner.png');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Hiệu ứng chuyển sắc làm sáng/mờ dần phông nền từ trái qua phải để giữ độ tương phản tốt cho nội dung chữ bên trái */
    background: linear-gradient(to right, rgba(247, 249, 252, 1) 0%, rgba(247, 249, 252, 0.95) 35%, rgba(247, 249, 252, 0.8) 50%, rgba(247, 249, 252, 0) 100%);
    z-index: 1;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 65%;
    padding-right: 20px;
}

.hero-tagline {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Features Grid in Hero */
.hero-features-list {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: nowrap;
}

.hero-feature-item {
    display: flex;
    align-items: flex-start;
}

.hero-feature-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-feature-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.hero-feature-info {
    display: flex;
    flex-direction: column;
}

.hero-feature-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3px;
    line-height: 1.2;
}

.hero-feature-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Hero CTA Buttons */
.hero-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: var(--bg-white) !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 75, 145, 0.25);
    transition: var(--transition-normal);
    border: 1px solid var(--primary-color);
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 75, 145, 0.35);
}

.btn-primary-custom svg {
    margin-left: 8px;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--primary-color) !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--primary-color);
    transition: var(--transition-normal);
}

.btn-outline-custom:hover {
    background-color: rgba(0, 75, 145, 0.05);
    transform: translateY(-2px);
}

.btn-outline-custom svg {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Right Column (Placeholder for layout flow, background image handles the visual) */
.hero-media {
    flex: 1;
    max-width: 35%;
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-main-image {
    display: none; /* Ẩn đi vì đã dùng background-image cho toàn bộ section tràn viền */
}

/* Floating Stats Column on the Far Right */
.hero-stats-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 3;
    padding-right: 20px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    min-width: 230px;
    border: 1px solid var(--border-color-light);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(0, 75, 145, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.3;
}
