/* ==========================================================================
   Custom Hair Regrowth Section Styling
   ========================================================================== */

.hair-hero-section {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, rgb(176 174 174) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: flex-end;
    padding: 80px 20px 40px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.hair-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Area Heading Alignment */
.hair-hero-header {
    text-align: center;
    margin-bottom: 160px;
}

.hair-hero-title {
    font-size: 3rem;
    line-height: 1.15;
    color: #ffffff; /* Flipped to white to stay readable on your gradient background */
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hair-hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

/* Button & Action Link Implementations */
.btn-primary-custom {
    background-color: #ffffff;
    color: var(--primary-color);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.2s ease-in-out;
}

.btn-primary-custom:hover {
    opacity: 0.9;
}

.btn-secondary-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Grid System for Lower Boxes */
.hair-grid-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.hair-card-box {
    position: relative;
    min-height: 380px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Box Content Elements */
.hair-card-content {
    max-width: 85%;
}

.hair-card-title {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.25;
    color: #ffffff; /* White text for clear contrast against the darkened image layout */
    margin: 0 0 24px 0;
    font-weight: 600;
}

.btn-box-action {
    display: inline-block;
    background-color: #ffffff;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.hair-card-quote {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.4;
    color: #ffffff; /* White text for contrast */
    margin: 0;
    font-style: normal;
}

.hair-card-quote strong {
    font-weight: 700;
}

/* Responsive Breakpoint Layout adjustments */
@media (max-width: 768px) {
    .hair-grid-boxes {
        grid-template-columns: 1fr;
    }
    
    .hair-hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hair-card-box {
        min-height: 320px;
        padding: 24px;
    }
    
    .hair-card-content {
        max-width: 100%;
    }

    .hair-hero-header {
        margin-bottom: 60px;
    }

}
