﻿.alswin-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e2230 0%, #111827 100%);
    padding: 100px 0 80px;
    border-bottom: 4px solid #d50000;
    color: #fff;
}

    .alswin-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url('/images/Dinxperlo.png');
        background-size: cover;
        background-position: center;
        opacity: 0.14;
        filter: blur(4px) grayscale(35%);
        z-index: 1;
        pointer-events: none;
    }

    .alswin-hero .container {
        position: relative;
        z-index: 5;
    }

.alswin-hero-row {
    min-height: 420px;
}

.alswin-hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    color: #fff !important;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

.alswin-hero-sub {
    font-size: 1.45rem;
    color: #b7bccb;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}

.alswin-hero-text {
    color: rgba(255,255,255,0.90) !important;
    font-size: 1.12rem;
    line-height: 1.8;
    max-width: 90%;
}

.alswin-hero-illustration {
    position: relative;
    background: #fff;
    border-radius: 24px;
    height: 380px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.30);
}

.alswin-card-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    z-index: 1;
}

    .alswin-card-bg-layer.active {
        opacity: 0.50;
    }

    .alswin-card-bg-layer::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(90,90,95,0.26);
    }

.alswin-board-scene {
    position: absolute;
    inset: 0 0 56px 0;
    width: 100%;
    z-index: 2;
}

#alswin-brand-mark {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 30px;
    max-width: 80%;
    transform-origin: top left;
    transition: transform 0.12s ease-out, filter 0.12s ease-out;
    z-index: 5;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,0.28));
}

.alswin-hero-card-text {
    position: absolute;
    inset: 0 0 56px 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.92);
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 18px rgba(0,0,0,0.55);
    pointer-events: none;
}

.alswin-slider-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 22px;
    background: rgba(255,255,255,0.92);
    z-index: 10;
    border-top: 1px solid rgba(0,0,0,0.05);
}

#brand-slider {
    width: 100%;
    margin: 0;
    cursor: pointer;
    accent-color: #d50000;
}

.alswin-hero .btn-primary {
    background-color: #2f2a45;
    border-color: #2f2a45;
}

    .alswin-hero .btn-primary:hover {
        background-color: #40395f;
        border-color: #40395f;
    }

.alswin-hero .btn-outline-light:hover {
    color: #111827;
}

.alswin-section-tabs {
    background: #f7f8fb;
    padding: 2rem 0 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.alswin-section-tabs-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.alswin-section-tab {
    position: relative;
    display: flex;
    min-height: 86px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    background: #fff;
    color: #2f2a45;
    border-radius: 1.1rem;
    box-shadow: 0 10px 28px rgba(20,24,40,0.08);
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

    .alswin-section-tab:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 38px rgba(20,24,40,0.14);
        color: #2f2a45;
    }

.alswin-tab-arrow {
    width: 0;
    height: 0;
    margin-top: 0.7rem;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 13px solid #d50000;
}

.alswin-home-section {
    scroll-margin-top: 115px;
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}
