/* ================================================= */
/* Base Styles (Desktop/Large Screen Base) */
/* ================================================= */

.whistleblowing-hero {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 2rem; 
    padding: 3rem 2rem;
    background: #f9fafb;
    max-width: 1200px; /* Constrain desktop width */
    margin: 0 auto;
}


.hero-content {
    max-width: 50%; /* Content takes up half the space on desktop */
    flex-shrink: 0;
}

.hero-content h1 {
    font-size: 2.5rem; /* Base desktop size */
    color: #0f766e;
    margin-bottom: 1rem;
}

.hero-content p {
    color: #374151;
    font-size: 1.1rem; /* Base desktop size */
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #0f766e;
    color: white;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #0c5f58;
}

.hero-image {
    flex-grow: 1; /* Allows image container to use remaining space */
    display: flex; /* Centers image within its container */
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 400px; /* Max size of the image */
    width: 100%; /* Ensures it scales down below 400px */
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); 
}

/* ================================================= */
/* RESPONSIVE MEDIA QUERIES */
/* ================================================= */

/* Tablet and Smaller Desktop (max-width: 992px) */
@media (max-width: 992px) {
    .whistleblowing-hero {
        flex-direction: column; /* Stack vertically */
        text-align: center;
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
    }

    .hero-content {
        max-width: 100%; /* Take full width when stacked */
        order: 2; /* Put content below image */
    }
    
    .hero-image {
        order: 1; /* Put image at the top */
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
    
    /* Disable hover zoom effect on touch devices */
    .hero-image img:hover {
        transform: none; 
        box-shadow: none; 
    }
}

/* Mobile Devices (max-width: 600px) */
@media (max-width: 600px) {
    .whistleblowing-hero {
        padding: 2rem 1rem;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }

    .hero-image img {
        max-width: 300px; /* Constrain image size on small screens */
    }
}