/* Hero Section */

.hero-container {
    margin-right: 10%;
    padding: 0;
    margin-top: 5rem;
    position: relative;
}

.hero-background{
    position: absolute;
    margin-top: 56px;
    left: 0;
    width: 87%;
    height: 786px;
    background: url('../images/Orange%20Curve%20Shape2.svg') no-repeat left center;
    background-size: 49%;
    z-index: 0; /* Place it behind other content */
}
.hero {
    background-color: #f2f6fc;
    padding-top: 60px;
    height: 900px;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20%;
    margin-top: -5.4%;
    margin-left: 3%;
    overflow: hidden;
}

.hero-image img {
    position: static;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
    overflow: hidden;
}

.hero-content {
    position: relative; /* Ensure content is above the background */
    display: flex;
    align-items: flex-start;
}

.hero-text {
    flex: 1;
    text-align: center;
}

.hero-text h1 {
    color: #0F3664;
    font-size: 2.5rem;
}

.employer-benefits li{
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.employer-benefits p {
    font-size: 1.2rem;
}


.employer-box {
    flex-direction: column;
    align-items: center;
    background-color: #0F3664;
    border-radius: 8px;
    padding: 30px;
    color: white;
    height: 50%; /* Set height to half of the hero-content */
    margin-bottom: 30px;
}

.employer-box h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.employer-box .btn-orange {
    background-color: #F9A826;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    width: 100%;
}

.employer-box .btn-orange:hover {
    background-color: #d88a1e;
}

.employer-box, .talent-benefits {
    flex: none;
    width: 100%;
}

.employer-container {
    display: flex;
    flex-direction: column; /* Stack employer-box and talent-benefits */
}

.btn {
    display: block;
    padding: 12px 24px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.btn-full {
    width: 100%;
}

.btn-orange {
    background-color: #F9A826;
    color: white;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.talent-benefits {
    margin-top: 30px; /* Remove default margin */
    padding-top: 0;
}

.talent-benefits p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.talent-benefits ul {
    padding-left: 20px;
}

.talent-benefits li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Workforce Solutions Section */

.solutions-wrapper {
    position: relative; /* Create a positioning context for the orange strip */
    width: 100%; /* Full width of the viewport */
    padding: 30px;
}

.solutions-wrapper::before {
    content: '';
    position: absolute; /* Position relative to the .industry-content container */
    top: 50%; /* Center vertically within the .industry-content */
    right: 10%;
    width: 79.2%;
    height: 92%; /* Height of the strip */
    background-color: color(srgb 0.9764 0.698 0.2864); /* Orange color */
    transform: translateY(-50%); /* Center the strip relative to the div */
}


.workforce-solutions {
    padding: 60px 0;
    background-color: #fdddac;
}

.workforce-solutions h2 {
    color: #0F3664;
    margin-bottom: 40px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
}

.solution-card {
    border: 1px solid #f9f5ea;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f9f5ea;
    height: 327px;
}

.solution-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #0F3664;
    color: white;
    font-size: 0.7rem;
    padding: 5px 10px;
    font-weight: 600;
    border-radius: 30px;
}

.solution-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.solution-icon img {
    width: 80px;
    height: 80px;
}

.solution-card h3 {
    color: #0F3664;
    margin-bottom: 10px;
    text-align: center;
}

.solution-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Industries Section */
.industries {
    padding: 60px 0;
    background-color: #ffffff;
}

.industries h2 {
    color: #0F3664;
    margin-bottom: 40px;
}

.industry-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 30px;
}

.industry-tab {
    background-color: #fff;
    color: #0F3664;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.industry-tab:hover {
    background-color: #F9A826;
    color: white;
    border-color: #F9A826;
}

.industry-tab.active {
    background-color: #F9A826;
    color: white;
    border-color: #F9A826;
}

.industry-wrapper {
    position: relative; /* Create a positioning context for the orange strip */
    width: 100%; /* Full width of the viewport */
}

.industry-content {
    display: flex;
    background-color: color(srgb 0.9254 0.9412 0.9452);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 350px;
    position: relative;
    z-index: 1;
}

.industry-wrapper::before {
    content: '';
    position: absolute; /* Position relative to the .industry-content container */
    top: 50%;
    left: -20vw;
    width: 154%;
    height: 260px; /* Height of the strip */
    background-color: color(srgb 0.9764 0.698 0.2864); /* Orange color */
    transform: translateY(-50%); /* Center the strip relative to the div */
}

.industry-details {
    padding: 30px;
    flex: 1;
}

.industry-details h3 {
    color: #0F3664;
    margin-bottom: 15px;
    font-size: 1rem;
}

.industry-details p {
    color: #555;
    line-height: 1.6;
}

.industry-image {
    flex: 1;
}

.industry-image img {
    object-fit: cover;
}

/* Employment Verification Section */
.employment-verification {
    padding: 60px 0;
    background-color: #ffffff;
}

.employment-verification h2 {
    color: #0F3664;
    margin-bottom: 20px;
    margin-left: 30px;
}

.employment-verification p {
    margin-bottom: 20px;
    margin-left: 30px;
}

.employment-verification > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px 20px;
    color: #555;
    line-height: 1.6;
}

.verification-options {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.verification-card {
    background-color: #fdddac;
    border-radius: 8px;
    padding: 30px;
    flex: 1;
    max-width: 600px;
    text-align: center;
    position: relative;
}

.verification-card .btn-orange {
    background-color: #F9A826;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.verification-price {
    width: 200px; /* Fixed width */
    background-color: #0F3664; /* Background color */
    color: white; /* Text color */
    padding: 8px 16px; /* Padding for better appearance */
    border-radius: 8px; /* Rounded corners */
    font-size: 0.9rem; /* Font size */
    font-weight: 600; /* Bold text */
}

.verification-icon {
    margin-bottom: 15px;
}

.verification-icon img {
    width: 60px;
    height: 60px;
    margin-top: 45px;
}

.verification-card h3 {
    color: #0F3664;
    margin-bottom: 20px;
}

/* ePortal Access Section */
.eportal-access {
    padding: 60px 0;
    background-color: #0F3664;
    color: white;
    width: 64%;
    margin: 0 auto; /* Center horizontally */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center child elements horizontally */
    justify-content: center; /* Center child elements vertically */
    margin-top: 40px; /* Add margin to the top */
    margin-bottom: 90px; /* Add margin to the bottom */
    border-radius: 8px;
}

.eportal-access .btn-orange {
     background-color: #F9A826;
     color: white;
     border: none;
     padding: 12px 24px;
     border-radius: 4px;
     text-align: center;
     font-weight: 600;
     text-decoration: none;
     margin-bottom: 15px;
     transition: all 0.3s ease;
     width: 100%;
 }

.eportal-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
}

.eportal-text {
    flex: 1;
    padding: 0 30px;
}

.eportal-text h2 {
    margin-bottom: 15px;
}

.eportal-text p {
    line-height: 1.6;
    font-size: 0.95rem;
}

.eportal-icon {
    color: #F9A826;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1200px) {
    .hero  {
        overflow: hidden;
        height: 830px;
    }
    .hero-background {
        height: 716px;
    }
}

/* Responsive styles */
@media (max-width: 1100px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .industry-content {
        flex-direction: column;
    }

    .verification-options {
        flex-direction: column;
        align-items: center;
    }

    .eportal-content {
        flex-direction: column;
        text-align: center;
    }

    .eportal-text {
        margin: 20px 0;
    }

    .hero-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto 0 auto;
        height: auto;
    }

    .hero-image img {
        width: 100%;
        max-width: 350px;
        height: auto;
        margin: 0 auto;
    }

    .workforce-solutions {
        margin-top: 350px; /* Creates space below the employer-box */
    }
    .employer-box {
        margin-bottom: 30px; /* Ensures spacing below employer-box */
    }
}

.solution-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.solution-link:focus .solution-card,
.solution-link:hover .solution-card {
    box-shadow: 0 4px 16px rgba(34,50,74,0.10);
    transform: translateY(-2px);
    transition: box-shadow 0.2s, transform 0.2s;
}

@font-face {
    font-family: "FontAwesome";
    src: url("../fonts/FontAwesome.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

.fontAwesome {
    /* pick up the font you just defined */
    font-family: "FontAwesome" !important;
    /* prevent browsers from trying to ligature or substitute characters */
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* better smoothing for WebKit and Firefox */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon {
    font-size: 120px;
}

/* Mobile Styles for Employer Page */

/* General Mobile Adjustments */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.6rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    p, li {
        font-size: 1rem !important;
    }

    .icon {
        font-size: 80px;
    }

    .container {
        padding: 0 15px;
    }

    .hero-container {
        margin-right: 0;
    }
}

/* Smaller devices (phones) */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        height: auto;
        padding-bottom: 50px;
    }

    .hero-text {
        width: 100%;
        padding: 15px 15px;
    }

    .hero-background {
        width: 100%;
        height: 100%;
        background-size: 100%;
        background-position: top left;
    }

    .hero-container {
        margin-right: 0;
        margin-top: 2rem;
    }

    .hero-image {
        max-width: 250px;
        margin-bottom: 0;
    }

    .hero-image img {
        max-width: 250px;
    }

    .employer-benefits {
        padding: 0 15px;
    }

    /* Workforce Solutions */
    .workforce-solutions {
        padding: 40px 0;
        margin-top: 0;
    }

    .solutions-grid {
        gap: 20px;
    }

    .solution-card {
        height: auto;
        padding: 20px;
    }

    .solutions-wrapper::before {
        width: 90%;
        right: 5%;
    }

    /* Industries Section */
    .industry-tabs {
        gap: 10px;
        justify-content: center;
    }

    .industry-tab {
        margin-bottom: 10px;
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .industry-content {
        height: auto;
    }

    .industry-wrapper::before {
        width: 100%;
        left: 0;
        height: 150px;
    }

    .industry-details {
        padding: 20px;
    }

    /* Employment Verification */
    .verification-options {
        gap: 20px;
    }

    .verification-card {
        padding: 20px;
    }

    .verification-price {
        width: auto;
        font-size: 0.8rem;
        margin: 0 auto 15px;
    }

    /* ePortal Access */
    .eportal-access {
        width: 90%;
        padding: 30px 15px;
    }

    .eportal-content {
        flex-direction: column;
    }

    .eportal-text {
        padding: 20px 0;
        text-align: center;
    }
}

/* Extra Small devices */
@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.8rem !important;
    }

    .hero-image {
        height: 250px;
        overflow: visible;
        margin-bottom: 65px;
    }

    .hero-image img {
        max-width: 250px;
        padding-top: 146px;
    }

    .hero-background {
        margin-top: 82px;
    }

    .employer-container {
        padding-top: 85px;
    }

    .employer-box {
        padding: 20px;
    }

    .employer-box .btn-orange {
        padding: 10px 15px;
    }

    .industry-tabs {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .industry-tab {
        width: 80%;
        text-align: center;
    }

    .verification-card .btn-orange {
        padding: 10px 15px;
        width: 100%;
    }

    .solutions-wrapper {
        padding: 15px;
    }

    .icon {
        font-size: 60px;
        padding-top: 0;
    }
}

/* Fix image URL with correct encoding */
.hero-background {
    background: url('../images/Orange Curve Shape2.svg') no-repeat left center;
}

/* Prevent layout squishing on desktop */
@media (min-width: 993px) {
    body {
        overflow-x: hidden !important;
    }
}
@media (max-width: 450px) {
    .icon {
        padding-top: 0px;
    }
}

@media (max-width: 400px) {

    .icon {
        padding-top: 40px;
    }
}

@media (max-width: 350px) {

    .hero-container {
        margin-top: -1rem;
    }
    .hero-image {
        margin-bottom: 85px;
    }

    .hero-background {
        margin-top: 95px;
    }

    .hero-image img {
        padding-top: 188px;
    }

}