/* ------------------------------------- */
/* Global Variables and Theme Setup (Final Stable Fix) */
/* ------------------------------------- */
:root {
    --pluscare-dark-blue: #232D4C;    
    --box-bg-white: #FFFFFF;          
    --pluscare-accent-red: #D7263D;   
    --box-shadow-final: 0 10px 30px rgba(0, 0, 0, 0.3); 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--pluscare-dark-blue);
    min-height: 100vh;
    /* **Crucial Fix 1: Simplest Centering** */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Background styles (Animation is OFF) */
    background-image: 
        url('https://cdn-icons-png.flaticon.com/512/3135/3135760.png'),
        url('job_related_background.jpg'); 
    background-size: 80px, cover; 
    background-repeat: repeat, no-repeat;
    background-position: 0 0, center;
    background-attachment: fixed;
    
    /* Reset Filters/Animation */
    filter: none;
    animation: none;
    
    position: relative;
    overflow-x: hidden; 
}

/* Background Pattern Layer is now simple (No animation) */
.background-pattern {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    opacity: 0.2; 
    z-index: 1; 
    
    /* Ensure no background animation is running */
    animation: none; 
}

/* ------------------------------------- */
/* 3. Content Wrapper (Centering Fix) */
/* ------------------------------------- */
.content-wrapper {
    /* **Crucial Fix 2: Wrapper handles only size and basic centering** */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    
    /* **Positional values that cause issues are REMOVED** */
    position: static; 
    z-index: 10; 

    filter: none; 
    opacity: 1; 
}

.hero-content {
    /* Box Background: Pure White - Guaranteed */
    background: var(--box-bg-white) !important; 
    
    border-radius: 10px; 
    text-align: center;
    padding: 50px 40px; 
    max-width: 90%;
    width: 580px; 
    
    border: 2px solid var(--pluscare-dark-blue); 
    box-shadow: var(--box-shadow-final); 
    
    color: var(--pluscare-dark-blue); 
    
    /* Ensure Content is Solid and Visible */
    position: relative; /* Stays here for inner elements */
    z-index: 20;       /* Higher Z-index for Box itself */
    filter: none;
    opacity: 1;

    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: 1.8em; 
    margin-bottom: 10px;
    font-weight: 900;
    color: var(--pluscare-accent-red); /* Red Title */
    text-shadow: none; 
}

.hero-content p {
    font-size: 1em;
    margin-bottom: 40px;
    font-weight: 600;
    color: var(--pluscare-dark-blue); 
}

/* ------------------------------------- */
/* 4. CTA Button - Final Stable Button */
/* ------------------------------------- */
.cta-button {
    display: inline-block;
    background-color: var(--pluscare-accent-red); 
    color: white; 
    padding: 18px 45px;
    border-radius: 6px; 
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3em; 
    border: none;
    cursor: pointer;
    
    /* **FINAL BUTTON STABILITY FIX:** Simplest positioning */
    position: relative; 
    z-index: 100;
    
    box-shadow: 0 5px 15px rgba(215, 38, 61, 0.5); 
    transition: all 0.3s ease;
    
    /* Animation is OFF for max stability */
    animation: none; 
    filter: none;
    opacity: 1;
}

.cta-button:hover {
    background-color: #B21F33; 
    transform: scale(1.02); 
    box-shadow: 0 10px 20px rgba(215, 38, 61, 0.7); 
}

/* Mobile adjustment (No change) */
@media (max-width: 600px) {
    .hero-content { padding: 30px 20px; }
    .hero-content h1 { font-size: 1.6em; }
    .hero-content p { font-size: 1.1em; }
    .cta-button { padding: 15px 30px; font-size: 1.2em; }
}