.home_textBlock {
    text-align: center;
    padding-top: 40vh;
    padding-bottom: 100px;
    padding-left: 20px; /* Add horizontal padding */
    padding-right: 20px;
}

.hgrouptext {
    /* Semi-transparent white background just behind the hero text */
    background-color: rgba(255, 255, 255, 0.82);
    display: inline-block;
    padding: 18px 28px;
    margin-bottom: 16px;
    max-width: 100%; /* Respect parent width */
    box-sizing: border-box;
}

.home_textBlock h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.home_textBlock h1:first-child {
    font-size: clamp(42px, 60vw, 70px);
    margin-bottom: 4px;
}

.home_textBlock h1.extra {
    font-size: clamp(24px, 2vw, 16px);
    letter-spacing: 0.30em;
    font-weight: 800;
    color: #333;
}


.dr_button.home {
    display: inline-block;
    color: #fff;
    background-color: rgba(0, 0, 0, .8);
    text-decoration: none;

    padding: 12px 28px;
    font-size: 14px;

    letter-spacing: 0.10em;
    font-weight: 700;
    transition: all 0.25s ease;
    font-family: 'Raleway', sans-serif;
}

.dr_button.home:hover {
    background-color: #348dcc;
    border-color: #348dcc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 141, 204, 0.3);
}


/* Dual-purpose layout styles */
.subtitle {
    font-size: 14px;
    font-weight: 700;
    color: #666;
    margin: 15px 0 0 0;
    font-style: italic;
    letter-spacing: 1px;
}

.dual-purpose {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 16px;
}

.dr_button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #999;
    position: relative;
}

/* Tooltip - keep this from previous code */
.dr_button.disabled[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
}

.dr_button.disabled:hover::after {
    opacity: 1;
}


@media (max-width: 640px) {
    .home_textBlock {
        padding-top: 30vh;
        padding-bottom: 60px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hgrouptext {
        padding: 12px 18px;
    }
    
.home_textBlock h1:first-child {
    font-size: clamp(32px, 10vw, 70px);
    margin-bottom: 4px;
}

.home_textBlock h1.extra {
    font-size: clamp(16px, 4vw, 24px); /* Fixed: min should be smaller than max */
    letter-spacing: 0.30em;
    font-weight: 800;
    color: #333;
}
    
    .dual-purpose {
        flex-direction: column;
        gap: 16px;
    }
    
    .dr_button.home {
        padding: 10px 24px;
        font-size: 13px;
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .home_textBlock {
        padding-top: 25vh;
    }
    
    .hgrouptext {
        padding: 10px 14px;
    }
    
    .home_textBlock h1.extra {
        letter-spacing: 0.15em;
    }
}