/* Modern Styles Override */
.header {
    display: table;
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../../api/media/backgrounds/bfh_homepage_202601.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Overlay for better text readability */
.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    z-index: 0;
}

.text-vertical-center {
    position: relative;
    z-index: 1;
    /* Ensure content is above overlay */
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    color: #fff;
}

.text-vertical-center h2 {
    font-size: 4.5em;
    font-weight: 600;
    /* Semibold */
    margin: 5px 0 10px;
    /* Gradient text effect (optional, keeping white for max contrast vs bg) */
    color: #ffffff;
    /* text-shadow removed as requested */
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: -1px;
}

.text-vertical-center .welcome-text {
    font-size: 1.5em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-vertical-center h6 {
    font-size: 1.6em;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-modern {
    padding: 18px 50px;
    font-size: 1.3em;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(135deg, #00FF8C 0%, #7426EB 100%);
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7426EB 0%, #00FF8C 100%);
    transition: opacity 0.4s ease;
    opacity: 0;
    z-index: -1;
}

.btn-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    color: #fff !important;
}

.btn-modern:hover::before {
    opacity: 1;
}

/* Logo glow & White Color */
.header img {
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .text-vertical-center h2 {
        font-size: 2.5em;
        /* Scale down for mobile */
        margin: 10px 0;
    }

    .text-vertical-center h6 {
        font-size: 1.2em;
        /* Smaller tagline */
        margin-bottom: 25px;
        padding: 0 15px;
        /* Add side padding for better text wrapping */
    }

    .header img {
        width: 120px !important;
        /* Smaller logo */
    }

    .btn-modern {
        padding: 12px 35px;
        /* Smaller button */
        font-size: 1.1em;
    }

    .text-vertical-center .welcome-text {
        font-size: 1.1em;
        /* Smaller welcome text */
        letter-spacing: 1px;
    }
}
