.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--brand-white);
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out, opacity 1s ease-in-out;
    z-index: 1;
}

.hero-bg-slider.fade-out {
    opacity: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 41, 85, 0.70);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    min-height: 100px;
    white-space: pre-wrap;
    /* Ensures spaces are preserved */
}

.hero-content h1 .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: char-appear 0.5s forwards;
}

.hero-content h1 .char-space {
    /* Specific style for space characters if needed */
    min-width: 0.3em;
    /* Adjust as needed for space width */
}

@keyframes char-appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    min-height: 50px;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.hero-content .btn {
    animation: zoomIn 1s ease-out 0.6s;
    animation-fill-mode: both;
    padding: 14px 32px;
    font-size: 1.1rem;
}

.custom-shape-divider-bottom-1718624970 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 4;
}

.custom-shape-divider-bottom-1718624970 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.custom-shape-divider-bottom-1718624970 .shape-fill {
    fill: var(--bg-light);
}