/* General Reset */
body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #1f2f45;
    line-height: 1.6;
    overflow-x: hidden;
}
.hero {
    display: flex;
    align-items: center;
    min-height: 340px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, #f9d084, #fbd493);
}

.hero-image {
    margin-bottom: -1px;
}

.hero-container{
    width: 144%;
    height: 900px;
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, #f9b24a, #ffcf99); /* Add gradient */
    right: 0; /* Align to the right */
    z-index: 0; /* Ensure it appears behind the text */
}

.hero-text {
    flex: 1;
    max-width: 500px;
    z-index: 2; /* Ensure it appears above the background */
    position: relative; /* Position relative to the hero section */
    color: #0F3664;
    padding-top: 150px; /* Add padding to expand the container */
    padding-left: 80px;
}

.hero-text p {
    color: #333;
    line-height: 1.6;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-image img {
    max-width: 191%;
    position: relative;
    left: -155%;
    max-height: 900px;
}

.hero-text h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 100;
}

.client {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    color: #0f2c54;
}

.case-study {
    margin-top: 0.5rem;
    background: #fdc971;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

/* Content Blocks */
.content-block {
    padding: 4rem;

}

.block-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-right: 100px;
    margin-left: 100px;
}

.block-inner.reverse {
    flex-direction: row-reverse;
}

.img-wrapper img {
    max-width: 350px;
    max-height: 350px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.text-wrapper {
    max-width: 500px;
    color: #0D2C54;
    margin-left: 100px;
}

.text-wrapper h3 {
    font-size: 1.5rem;
    color: #0D2C54;
    margin-bottom: 1rem;
    font-weight: 150;
}

.text-wrapper p {
    font-size: 1rem;
    color: #333333;
    line-height: 1.5;
}

.elite-candidate-pool .img-wrapper {
    position: relative;
    z-index: 1; /* Ensure it appears above the background */
}

.elite-candidate-pool .text-wrapper{
    margin-right: 500px;
}

.elite-candidate-pool .img-wrapper::after {
    content: '';
    position: absolute;
    top: -320px;
    left: -202px;
    width: 950px;
    height: 950px;
    background: url('../images/Orange Curve Shape 2.svg') no-repeat center center;
    background-size: contain;
    z-index: -1;
    transform: scaleX(-1);

}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .hero-content, .block-inner, .explore-grid {
        flex-direction: column;
        text-align: center;
    }
    .hero-image img, .img-wrapper img {
        margin: 0 auto;
    }
    .explore-grid {
        gap: 1rem;
    }
}
