body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #fff;
    color: #22324A;
    margin: 0;
    padding: 0;
}

.payrolling-hero {
    display: flex;
    align-items: center;
    min-height: 340px;
    position: relative;
    overflow: hidden;
    max-height: 900px;
}

.hero-container {
    position: absolute; /* Allows overlapping */
    top: 50%; /* Adjusts vertical position */
    left: 37%; /* Adjusts horizontal position */
    transform: translateY(-50%); /* Centers vertically */
    z-index: 2; /* Ensures it appears above the .hero-image */
    width: 63%;
    height: 1155px;
    border-radius: 600px 0 0 600px;
    background: linear-gradient(to right, #f9b24a, #ffcf99);
    padding: 20px;
}

.hero-text {
    flex: 1;
    max-width: 900px;
    z-index: 2;
    position: relative;
    color: #22324A;
    padding: 395px 190px;
}

.hero-text h1 {
    font-size: 4rem;
    padding-bottom: 1rem;
}

.hero-text p {
    font-size: 2rem;
    line-height: 1.4;
    margin: 0;
}

.hero-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.payroll-benefits {
    max-width: 1100px;
    margin: 60px auto 0 auto;
    padding: 0 20px;
}

.payroll-benefits h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.benefit-card {
    display: flex;
    background: #F5F7FA;
    border-radius: 8px;
    margin-bottom: 28px;
    padding: 28px 24px;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(34,50,74,0.04);
}

.benefit-icon {
    position: relative; /* Establish a positioning context */

    background: #163A5F;
    color: #F9A826;
    border-radius: 8px;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-right: 32px;
    flex-shrink: 0; /* Prevent shrinking */
    box-sizing: border-box; /* Include padding and border in size */
    overflow: hidden; /* Prevent content overflow */
    text-align: center; /* Center text */
}

.benefit-label {
    position: absolute; /* Position relative to the .benefit-icon */
    top: 8px; /* Distance from the top */
    left: 8px; /* Distance from the left */
    background: #F9A826;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 2px 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefit-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
}

.benefit-info p {
    margin: 0;
    font-size: 1rem;
}

.benefit-info ul {
    margin: 8px 0 0 18px;
    padding: 0;
    font-size: 1rem;
}


@media (max-width: 900px) {
    .payrolling-hero {
        flex-direction: column;
    }
    .payrolling-hero .hero-img,
    .payrolling-hero .hero-content {
        width: 100%;
        border-radius: 0;
        min-height: 220px;
    }
    .solutions-list {
        flex-direction: column;
        gap: 18px;
    }
}

/* Icon placeholders (replace with SVGs or icon font as needed) */
.icon-dollar::before { content: "$"; font-size: 5.5rem; }
.icon-watch::before { content: "⌚"; font-size: 5.5rem; }
.icon-check::before { content: "✔"; font-size: 5.5rem; }
.icon-alert::before { content: "⚠"; font-size: 5.5rem; }


/* Mobile styles *//* General styles for responsiveness */
@media (max-width: 900px) {
    .payrolling-hero {
        flex-direction: column; /* Stack the hero image and text */
        text-align: center;
    }

    .hero-container {
        width: 100%;
        height: auto;
        border-radius: 0;
        padding: 20px;
    }

    .hero-text {
        padding: 20px;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
    }

    .payroll-benefits {
        padding: 20px;
    }

    .benefit-card {
        flex-direction: column; /* Stack icon and text */
        align-items: center;
        text-align: center;
    }

    .benefit-icon {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .benefit-info h3 {
        font-size: 1.1rem;
    }

    .benefit-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .payrolling-hero {
        padding: 20px;
    }

    .hero-text h1 {
        font-size: 4rem;
        padding-right: 1rem;
    }

    .hero-text p {
        font-size: 2rem;
    }

    .benefit-icon {
        width: 200px;
        height: 200px;
        font-size: 2rem;
    }

    .benefit-info h3 {
        font-size: 1rem;
    }

    .benefit-info p {
        font-size: 0.85rem;
    }
}

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

.fa-da {
    /* 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-size-pr {
    font-size: 5.5rem;
    color: color(srgb 0.9765 0.6588 0.1492);
}