/* Hero Section */
.hero {
    background-image: url("/static/images/cape-town-background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.9;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    text-align: center;
    color: #fff;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h4,
.hero-content h5 {
    color: #ffffff;
    font-size: 70px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 10px;
    animation: fadeUp 1s ease-out forwards;
}


.hero-content h5 {
    animation-delay: 0.3s;
}

@media (max-width: 768px) {
    .hero {
        height: 40vh;
        padding: 20px;
        background-attachment: scroll;
    }

    .hero-content h4,
    .hero-content h5 {
        font-size: 36px;
        letter-spacing: 3px;
    }

    .focus-features {
        gap: 40px;
    }

    .custom-section-wrapper {
        flex-direction: column;
        padding: 40px 20px;
    }

    .custom-image img {
        max-width: 100%;
    }

    h1,
    .reports-section h3,
    .subheading,
    .reports-section h1,
    .reports-section span {
        font-size: 40px;
    }

    .integrated-left h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {

    .hero-content h4,
    .hero-content h5 {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .focus-icon {
        width: 120px;
        height: 120px;
    }

    .focus-icon img {
        width: 60px;
        height: 60px;
    }

    .report-box {
        flex: 0 0 80%;
    }

    h1,
    .reports-section h3,
    .subheading,
    .reports-section h1,
    .reports-section span {
        font-size: 30px;
        text-align: center;
    }

    .box {
        padding: 20px;
    }
}

.trusted-by-section {
    padding-top: 0px;
    background-color: #fff;

    font-family: 'Montserrat', sans-serif;
}

.trusted-heading {
    font-size: 70px;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
}

.trusted-heading span {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #347322;
    margin-left: -20px;
}

.trusted-subtext {
    color: #1e1e1e;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.trust-group {
    margin-bottom: 60px;
}

.trust-badge {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.trust-badge.dark {
    background-color: #1e1e1e;
}

.trust-badge.green {
    background: linear-gradient(to right, #7eba0a, #347322);
}

.trust-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 10px;
}

.trust-logos img {
    height: 240px;
    object-fit: contain;
}

.why-outsource-section {
    background-color: #ffffff;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.why-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: center;
}

.why-left-text {
    flex: 1 1 600px;
    font-size: 20px;
    margin: 0;
    color: #347322;
    text-align: left;

}

.why-left-text h2 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    color: #347322;
    margin: 0 0 20px 0;
}


.why-left-text h3 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    color: #464646;
    margin: 0 0 20px 0;
}

.why-left-text p {
    margin: 0 0 16px 0;
    line-height: 1.6;
    color: #333;
}

.why-right-image {
    flex: 1 1 400px;
    text-align: center;
    margin: 0;
}

.why-right-image img {
    max-width: 85%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .why-left-text {
        padding: 20px;
        text-align: center;
        flex: 1 1 100%;
    }

    .why-left-text h2 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .why-left-text h3 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .why-left-text p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
}




.trust-logos {
    background-color: #464646;
    padding: 40px 20px;
    border-radius: 0px;
}

.trust-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: -50px;

}

.trust-group {
    white-space: nowrap;
    overflow: hidden;
    padding: 1rem 0;
}

.trust-logos {
    width: max-content;
}

.trust-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: scroll 80s linear infinite;
}

.trust-right .trust-track {
    animation: scroll-reverse 80s linear infinite;
}

.trust-track img {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

/* Animations */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #eef9fb;
}

.payroll-section {
    position: relative;
    background-color: #464646;
    color: #fff;
    padding: 60px 20px;
    border-top-right-radius: 80px;
    overflow: hidden;
}

.faded-logo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 500px;
    height: 400px;
    background-image: url('/static/images/i-d-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    opacity: 0.15;
    pointer-events: none;
}

.content-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.left-column {
    flex: 1 1 300px;
}

.left-column h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    color: #ffffff;
}


.right-column {
    flex: 2 1 500px;
    text-align: left;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.payroll-section h2 {
    color: #347322;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 20px;
}

.checklist li {
    font-size: 1rem;
    line-height: 1.4;
    border-bottom: 1px solid #464646;
    padding-bottom: 12px;
}

.check {
    color: #30e3ca;
    margin-right: 10px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .left-column h1 {
        font-size: 2rem;

    }

    .faded-logo {
        width: 200px;
        height: 200px;
    }
}

.fa-whatsapp:before {
    content: "\f232"
}

.clients-section h4,
h5 {
    color: #464646;
    font-size: 70px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 10px;
    animation: fadeUp 1s ease-out forwards;
    text-align: center;
}

@media (max-width: 768px) {

    .clients-section h4,
    h5 {
        font-size: 36px;
        letter-spacing: 5px;
    }
}

.integrated-solutions-section {
    background: #eaf7f9;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.integrated-container {
    background: linear-gradient(to right, #7eba0a, #347322);
    border-radius: 80px 0 0 80px;
    padding: 40px 60px;
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.integrated-left h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #464646;
    margin: 0;
    line-height: 1.2;
}

.integrated-right {
    flex: 1;
    min-width: 300px;
}

.integrated-right p {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.6;
}

.integrated-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
}

.black-btn {
    background-color: #464646;
    color: #fff;
}

.black-btn:hover {
    background-color: #222;
}

.outline-btn {
    border: 1px solid #464646;
    color: #464646;
}

.outline-btn:hover {
    background-color: #464646;
    color: #fff;
}

@media (max-width: 768px) {
    .integrated-container {
        flex-direction: column;
        border-radius: 40px;
        text-align: center;
        padding: 30px 20px;
    }

    .integrated-buttons {
        justify-content: center;
    }

    .integrated-left h2 {
        font-size: 2rem;
    }
}