/* =========================================================
   GK CONSULTANCY
   PAYROLL SERVICES PAGE
   BLUE PROFESSIONAL THEME
========================================================= */

:root {

    --primary-blue: #2563eb;
    --blue-dark: #0f172a;
    --blue-deep: #1e3a8a;
    --blue-light: #60a5fa;

    --light-bg: #f8fafc;
    --soft-blue: #eff6ff;
    --border-blue: #bfdbfe;

    --text-dark: #0f172a;
    --text: #334155;
    --text-muted: #64748b;

    --white: #ffffff;

    --shadow-sm:
        0 5px 20px rgba(15, 23, 42, .06);

    --shadow-md:
        0 15px 40px rgba(15, 23, 42, .10);

    --shadow-blue:
        0 15px 40px rgba(37, 99, 235, .15);
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;
    padding: 0;

    font-family: 'Lato', Arial, sans-serif;

    color: var(--text);

    background: var(--white);

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: 100%;

    max-width: 1200px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   COMMON SECTION
========================================================= */

.section-pad {

    padding: 90px 0;

    position: relative;
}

.text-center {
    text-align: center;
}

.text-blue {
    color: var(--primary-blue);
}

.bg-light {
    background: var(--light-bg);
}

.bg-dark-blue {

    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #172554 50%,
            #1e40af 100%
        );
}

.light {
    color: var(--white) !important;
}

.blue-light {
    color: #93c5fd !important;
}


/* =========================================================
   GRID SYSTEM
========================================================= */

.grid-2 {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 55px;

    align-items: center;
}

.grid-3 {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;

    margin-top: 45px;
}

.payroll-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 60px;

    align-items: center;
}


/* =========================================================
   SECTION LABEL
========================================================= */

.section-label {

    display: inline-block;

    margin-bottom: 12px;

    color: var(--primary-blue);

    font-family: 'Cinzel', serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .14em;

    text-transform: uppercase;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title {

    margin: 0;

    color: var(--blue-dark);

    font-family: 'Playfair Display', serif;

    font-size: 38px;

    line-height: 1.2;

    font-weight: 700;
}

.section-subtitle {

    margin: 20px 0 0;

    color: var(--text-muted);

    font-size: 16px;

    line-height: 1.8;

    max-width: 700px;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   DIVIDER
========================================================= */

.gold-divider,
.blue-divider {

    width: 65px;

    height: 3px;

    margin: 20px 0 28px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #60a5fa
        );
}

.gold-divider.center,
.blue-divider.center {

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   FLEX
========================================================= */

.flex-gap {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 14px;
}



/* =========================================================
   COMMON SERVICE HERO
   SAME DESIGN FOR ALL SERVICE PAGES
========================================================= */
/* 

.service-hero {

    position: relative;

    min-height: 92vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    padding-top: 150px;

    padding-bottom: 45px;

}


=========================================================
   BACKGROUND IMAGE
=========================================================

.service-hero .hero-bg {

    position: absolute;

    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1600&q=80");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    z-index: 0;

}


=========================================================
   BLUE OVERLAY
=========================================================

.service-hero .hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            120deg,
            rgba(3, 25, 54, 0.97) 0%,
            rgba(6, 37, 84, 0.91) 48%,
            rgba(11, 58, 130, 0.80) 100%
        );

    z-index: 1;

}


=========================================================
   DIAGONAL PATTERN
=========================================================

.service-hero .hero-pattern {

    position: absolute;

    inset: 0;

    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(111, 177, 255, 0.035) 0px,
            rgba(111, 177, 255, 0.035) 1px,
            transparent 1px,
            transparent 40px
        );

    z-index: 2;

    pointer-events: none;

}


=========================================================
   HERO CONTENT
=========================================================

.service-hero .hero-content {

    position: relative;

    z-index: 3;

    max-width: 800px;

}


=========================================================
   BADGE
=========================================================

.service-hero .hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 20px;

    margin-bottom: 28px;

    border-radius: 30px;

    background:
        rgba(47, 128, 237, 0.15);

    border:
        1px solid rgba(111, 177, 255, 0.45);

    color: #93C5FD;

    font-family: 'Cinzel', serif;

    font-size: 0.72rem;

    font-weight: 500;

    letter-spacing: 0.15em;

    white-space: nowrap;

    backdrop-filter: blur(8px);

}


.service-hero .hero-badge i {

    font-size: 15px;

}


=========================================================
   HERO HEADING
=========================================================

.service-hero h1 {

    margin: 0 0 25px 0;

    color: #ffffff;

    font-family: 'Playfair Display', serif;

    font-size:
        clamp(2.5rem, 5vw, 4rem);

    font-weight: 700;

    line-height: 1.15;

    letter-spacing: -0.02em;

}


.service-hero h1 span {

    display: inline;

    color: #60A5FA;

}


=========================================================
   DESCRIPTION
=========================================================

.service-hero .hero-desc {

    max-width: 650px;

    margin: 0 0 35px 0;

    color:
        rgba(255, 255, 255, 0.84);

    font-family: 'Poppins', sans-serif;

    font-size: 1.05rem;

    line-height: 1.8;

}


=========================================================
   BUTTON WRAPPER
=========================================================

.service-hero .flex-gap {

    display: flex;

    align-items: center;

    gap: 18px;

    flex-wrap: wrap;

}


=========================================================
   PRIMARY BUTTON
=========================================================

.service-hero .btn-primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 62px;

    padding: 0 38px;

    background:
        linear-gradient(
            135deg,
            #2F80ED,
            #1557B0
        );

    color: #ffffff;

    border: 1px solid rgba(96, 165, 250, 0.25);

    border-radius: 5px;

    text-decoration: none;

    font-family: 'Cinzel', serif;

    font-size: 0.78rem;

    font-weight: 600;

    letter-spacing: 0.10em;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;

}


.service-hero .btn-primary:hover {

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(37, 99, 235, 0.30);

}


=========================================================
   OUTLINE BUTTON
=========================================================

.service-hero .btn-outline {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 62px;

    padding: 0 38px;

    background:
        rgba(10, 40, 85, 0.30);

    color: #60A5FA;

    border:
        2px solid #2F80ED;

    border-radius: 5px;

    text-decoration: none;

    font-family: 'Cinzel', serif;

    font-size: 0.78rem;

    font-weight: 600;

    letter-spacing: 0.10em;

    backdrop-filter: blur(5px);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;

}


.service-hero .btn-outline:hover {

    background: #2563EB;

    color: #ffffff;

    transform: translateY(-3px);

}


=========================================================
   HERO STATS
=========================================================

.service-hero .hero-stats {

    display: flex;

    align-items: flex-start;

    gap: 60px;

    flex-wrap: wrap;

    margin-top: 68px;

    padding-top: 32px;

    border-top:
        1px solid rgba(111, 177, 255, 0.25);

}


.service-hero .hero-stat {

    min-width: 120px;

}


.service-hero .hero-stat-num {

    color: #60A5FA;

    font-family: 'Playfair Display', serif;

    font-size: 2.35rem;

    font-weight: 700;

    line-height: 1;

}


.service-hero .hero-stat-label {

    margin-top: 7px;

    color:
        rgba(255, 255, 255, 0.68);

    font-family: 'Poppins', sans-serif;

    font-size: 0.78rem;

    line-height: 1.4;

    letter-spacing: 0.04em;

}


=========================================================
   TABLET
=========================================================

@media (max-width: 900px) {

    .service-hero {

        min-height: auto;

        padding-top: 130px;

        padding-bottom: 65px;

    }


    .service-hero .hero-content {

        max-width: 100%;

    }


    .service-hero .hero-stats {

        gap: 35px;

        margin-top: 55px;

    }

}


=========================================================
   MOBILE
=========================================================

@media (max-width: 600px) {

    .service-hero {

        padding-top: 110px;

        padding-bottom: 50px;

    }


    .service-hero .hero-badge {

        max-width: 100%;

        white-space: normal;

        line-height: 1.5;

        font-size: 0.62rem;

        padding: 7px 15px;

    }


    .service-hero h1 {

        font-size: 2.25rem;

        line-height: 1.15;

    }


    .service-hero .hero-desc {

        font-size: 0.94rem;

        line-height: 1.75;

    }


    .service-hero .flex-gap {

        flex-direction: column;

        align-items: stretch;

        width: 100%;

    }


    .service-hero .btn-primary,
    .service-hero .btn-outline {

        width: 100%;

        min-height: 56px;

        padding: 0 20px;

    }


    .service-hero .hero-stats {

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 28px 20px;

        margin-top: 45px;

        padding-top: 25px;

    }


    .service-hero .hero-stat {

        min-width: 0;

    }


    .service-hero .hero-stat-num {

        font-size: 1.9rem;

    }


    .service-hero .hero-stat-label {

        font-size: 0.72rem;

    }

}
=========================================================
   SERVICE INTRO BAND
   Common for ALL Service Pages
   =========================================================

.service-intro-band {

    width: 100%;

    background:
        linear-gradient(
            90deg,
            #062654 0%,
            #0F3F87 50%,
            #174C9C 100%
        );

    padding: 27px 0;

    position: relative;

    z-index: 5;

    overflow: hidden;
}


=========================================================
   INNER CONTAINER
   =========================================================

.service-intro-inner {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: nowrap;

    min-height: 34px;

}


=========================================================
   EACH SERVICE ITEM
   =========================================================

.service-intro-item {

    display: flex;

    align-items: center;

    gap: 11px;

    color: rgba(255,255,255,0.92);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.88rem;

    font-weight: 500;

    line-height: 1.2;

    padding: 0 25px;

    min-height: 30px;

    border-right:
        1px solid rgba(111,177,255,0.30);

    white-space: nowrap;

}


Remove border from last item

.service-intro-item:last-child {

    border-right: none;

}


=========================================================
   BLUE DOT
   =========================================================

.service-intro-dot {

    width: 9px;

    height: 9px;

    min-width: 9px;

    border-radius: 50%;

    background: #6FB1FF;

    display: inline-block;

    box-shadow:
        0 0 8px rgba(111,177,255,0.35);

}


=========================================================
   HOVER
   =========================================================

.service-intro-item {

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


.service-intro-item:hover {

    color: #ffffff;

    transform: translateY(-1px);

}


.service-intro-item:hover .service-intro-dot {

    box-shadow:
        0 0 12px rgba(111,177,255,0.65);

}


=========================================================
   LARGE TABLET
   =========================================================

@media (max-width: 1100px) {

    .service-intro-item {

        padding: 0 17px;

        font-size: 0.82rem;

    }

}


=========================================================
   TABLET
   =========================================================

@media (max-width: 900px) {

    .service-intro-band {

        padding: 22px 0;

    }


    .service-intro-inner {

        flex-wrap: wrap;

        row-gap: 18px;

    }


    .service-intro-item {

        padding: 0 18px;

    }


    .service-intro-item:nth-child(3) {

        border-right: none;

    }

}


=========================================================
   MOBILE
   =========================================================

@media (max-width: 600px) {

    .service-intro-band {

        padding: 20px 0;

    }


    .service-intro-inner {

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 0;

        width: 100%;

    }


    .service-intro-item {

        width: 100%;

        min-height: 42px;

        padding: 8px 12px;

        font-size: 0.78rem;

        white-space: normal;

        border-right:
            1px solid rgba(111,177,255,0.25);

    }


    .service-intro-item:nth-child(2n) {

        border-right: none;

    }


    .service-intro-dot {

        width: 7px;

        height: 7px;

        min-width: 7px;

    }

}


=========================================================
   SMALL MOBILE
   ========================================================= -----------

@media (max-width: 400px) {

    .service-intro-item {

        padding: 8px 8px;

        gap: 7px;

        font-size: 0.72rem;

    }

} */

/* =========================================================
   BADGES
========================================================= */

.badge {

    display: inline-flex;

    align-items: center;

    padding: 9px 13px;

    border:
        1px solid #bfdbfe;

    border-radius: 30px;

    color: #1e40af;

    background: #eff6ff;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   IMAGE
========================================================= */

.img-rounded {

    width: 100%;

    height: auto;

    min-height: 300px;

    object-fit: cover;

    border-radius: 14px;

    box-shadow:
        0 20px 50px rgba(15,23,42,.12);
}

.payroll-image {

    height: 540px;

    object-fit: cover;
}


/* =========================================================
   CARD
========================================================= */

.card {

    background: var(--white);

    padding: 30px;

    border:
        1px solid #e2e8f0;

    border-radius: 14px;

    box-shadow: var(--shadow-sm);
}

.card:hover {

    border-color: #bfdbfe;

    box-shadow: var(--shadow-blue);

    transform: translateY(-4px);
}


/* =========================================================
   SERVICES
========================================================= */

.service-card {

    min-height: 255px;

    transition: .3s ease;
}

.icon-box {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 13px;

    color: var(--primary-blue);

    background: #eff6ff;

    font-size: 22px;
}

.service-card h3 {

    margin: 0 0 12px;

    color: #0f172a;

    font-family: 'Playfair Display', serif;

    font-size: 21px;
}

.service-card p {

    margin: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   BENEFITS
========================================================= */

.benefit-list {
    margin-top: 30px;
}

.benefit-item {

    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 20px 0;

    border-bottom:
        1px solid #e2e8f0;
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-num {

    width: 46px;
    height: 46px;

    min-width: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: white;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #60a5fa
        );

    font-size: 13px;

    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(37,99,235,.18);
}

.benefit-item h4 {

    margin: 0 0 8px;

    color: #0f172a;

    font-family: 'Playfair Display', serif;

    font-size: 17px;
}

.benefit-item p {

    margin: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   DARK REPORT SECTION
========================================================= */

.bg-dark-blue .grid-2 {
    align-items: stretch;
}

.dark-card {

    height: 100%;

    padding: 32px;

    background:
        rgba(255,255,255,.07);

    border:
        1px solid rgba(147,197,253,.18);

    border-radius: 15px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.15);
}

.dark-card h3 {

    display: flex;

    align-items: center;

    gap: 10px;

    margin: 0 0 25px;

    color: #60a5fa;

    font-family: 'Playfair Display', serif;

    font-size: 21px;
}

.dark-card h3 i {
    color: #93c5fd;
}


/* =========================================================
   REPORT LIST
========================================================= */

.report-list {

    display: flex;

    flex-direction: column;

    gap: 12px;
}

.report-list > div {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    min-height: 50px;

    padding: 12px 15px;

    color: rgba(255,255,255,.90);

    background:
        rgba(255,255,255,.055);

    border-left:
        3px solid #2563eb;

    border-radius: 5px;

    font-size: 13px;

    transition: .25s ease;
}

.report-list > div:hover {

    background:
        rgba(37,99,235,.15);

    transform: translateX(4px);
}

.report-list span {

    flex-shrink: 0;

    padding: 5px 10px;

    border-radius: 20px;

    color: #bfdbfe;

    background:
        rgba(37,99,235,.22);

    font-size: 10px;

    font-weight: 700;
}


/* =========================================================
   WORKFLOW
========================================================= */

.workflow {

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #172554,
            #1e40af
        );
}

.light-text {

    color:
        rgba(255,255,255,.72);

    line-height: 1.8;
}

.workflow .grid-2 {
    align-items: start;
}

.step-item {

    display: flex;

    align-items: flex-start;

    gap: 18px;

    margin-top: 30px;
}

.step-num {

    width: 45px;
    height: 45px;

    min-width: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: white;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #60a5fa
        );

    font-size: 12px;

    font-weight: 800;
}

.step-item h4 {

    margin: 0 0 7px;

    color: white;

    font-family: 'Playfair Display', serif;

    font-size: 17px;
}

.step-item h4 i {

    margin-right: 8px;

    color: #60a5fa;
}

.step-item p {

    margin: 0;

    color:
        rgba(255,255,255,.65);

    font-size: 13px;

    line-height: 1.65;
}

.workflow-img {

    width: 100%;

    height: 520px;

    object-fit: cover;
}

.trust-box {

    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 20px;

    padding: 22px;

    border:
        1px solid rgba(96,165,250,.30);

    border-radius: 12px;

    background:
        rgba(37,99,235,.14);
}

.trust-box > i {

    flex-shrink: 0;

    color: #60a5fa;

    font-size: 36px;
}

.trust-box h4 {

    margin: 0 0 5px;

    color: #60a5fa;

    font-family: 'Playfair Display', serif;
}

.trust-box p {

    margin: 0;

    color:
        rgba(255,255,255,.65);

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   WHY US
========================================================= */

#why-us {

    background: #f8fafc;
}

.why-list {
    margin: 30px 0;
}

.why-item {

    display: flex;

    align-items: flex-start;

    gap: 17px;

    padding: 20px;

    margin-bottom: 14px;

    background: white;

    border:
        1px solid #e2e8f0;

    border-radius: 12px;

    transition: .3s ease;
}

.why-item:hover {

    transform: translateY(-4px);

    border-color: #bfdbfe;

    box-shadow:
        0 12px 30px rgba(37,99,235,.12);
}

.why-icon {

    width: 50px;
    height: 50px;

    min-width: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: var(--primary-blue);

    background: #eff6ff;

    font-size: 19px;
}

.why-item h4 {

    margin: 0 0 7px;

    color: #0f172a;

    font-family: 'Playfair Display', serif;

    font-size: 16px;
}

.why-item p {

    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.65;
}

.why-image {

    width: 100%;

    height: 560px;

    object-fit: cover;
}


/* =========================================================
   TIMELINE
========================================================= */

.timeline-bg {

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #172554,
            #1e40af
        );
}

.timeline-container {

    width: 100%;

    max-width: 800px;

    margin: 55px auto 0;
}

.timeline-month {

    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 22px;

    margin-bottom: 35px;
}

.timeline-month:last-child {
    margin-bottom: 0;
}

.timeline-dot {

    width: 58px;
    height: 58px;

    min-width: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: white;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #60a5fa
        );

    font-size: 12px;

    font-weight: 800;

    box-shadow:
        0 8px 25px rgba(37,99,235,.30);
}

.timeline-month h4 {

    margin: 5px 0 7px;

    color: white;

    font-family: 'Playfair Display', serif;

    font-size: 18px;
}

.timeline-month p {

    margin: 0;

    color:
        rgba(255,255,255,.67);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   SCHEDULE
========================================================= */

.schedule-box {

    padding: 30px;

    background: white;

    border:
        1px solid #e2e8f0;

    border-radius: 15px;

    box-shadow:
        0 15px 40px rgba(15,23,42,.08);
}

.schedule-box h3 {

    display: flex;

    align-items: center;

    gap: 9px;

    margin: 0 0 24px;

    color: #2563eb;

    font-family: 'Playfair Display', serif;

    font-size: 21px;
}

.schedule-item {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    min-height: 52px;

    padding: 13px 15px;

    margin-bottom: 12px;

    background: #f8fafc;

    border-left:
        4px solid #2563eb;

    border-radius: 6px;

    color: #334155;

    font-size: 13px;

    transition: .25s ease;
}

.schedule-item:last-child {
    margin-bottom: 0;
}

.schedule-item:hover {

    background: #eff6ff;

    transform: translateX(4px);
}

.schedule-item span {

    flex-shrink: 0;

    color: #2563eb;

    font-size: 11px;

    font-weight: 800;
}


/* =========================================================
   CLIENTS
========================================================= */

.clients-section {

    padding: 80px 0;

    background: white;

    overflow: hidden;
}

.client-slider {

    width: 100%;

    overflow: hidden;

    margin-top: 40px;
}

.client-track {

    display: flex;

    align-items: center;

    gap: 20px;

    width: max-content;

    animation:
        slideClients 25s linear infinite;
}

.client-track:hover {
    animation-play-state: paused;
}

.client-item {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding: 13px 25px;

    border:
        1px solid #bfdbfe;

    border-radius: 30px;

    color: #1e40af;

    background: #eff6ff;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;
}

@keyframes slideClients {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   BLOG
========================================================= */

.blog-section {

    background: #f8fafc;
}

.blog-grid {
    margin-top: 45px;
}

.blog-card {

    display: flex;

    flex-direction: column;

    overflow: hidden;

    background: white;

    border:
        1px solid #e2e8f0;

    border-radius: 14px;

    box-shadow:
        0 10px 30px rgba(15,23,42,.07);

    transition: .3s ease;
}

.blog-card:hover {

    transform: translateY(-7px);

    border-color: #bfdbfe;

    box-shadow:
        0 18px 40px rgba(37,99,235,.13);
}

.blog-img {

    width: 100%;

    height: 210px;

    object-fit: cover;
}

.blog-body {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 25px;
}

.blog-tag {

    align-self: flex-start;

    padding: 5px 11px;

    border-radius: 20px;

    color: #2563eb;

    background: #eff6ff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .05em;
}

.blog-body h4 {

    margin: 15px 0 10px;

    color: #0f172a;

    font-family: 'Playfair Display', serif;

    font-size: 17px;

    line-height: 1.45;
}

.blog-body p {

    margin: 0 0 17px;

    color: #64748b;

    font-size: 13px;

    line-height: 1.7;
}

.blog-body a {

    margin-top: auto;

    color: #2563eb;

    font-family: 'Cinzel', serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .08em;
}

.blog-body a:hover {
    color: #1d4ed8;
}


/* =========================================================
   ANIMATION
========================================================= */

.fade-up {

    animation:
        payrollFadeUp .8s ease both;
}

@keyframes payrollFadeUp {

    from {

        opacity: 0;

        transform:
            translateY(25px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 1000px) {

    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .section-pad {
        padding: 75px 0;
    }

    .grid-2,
    .payroll-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .grid-3 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .hero-content {
        max-width: 760px;
    }

    .hero-stats {
        grid-template-columns:
            repeat(4, 1fr);
    }

    .why-image {
        height: 450px;
    }

    .workflow-img {
        height: 450px;
    }
}


/* =========================================================
   MOBILE <= 768
========================================================= */

@media screen and (max-width: 768px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .section-pad {
        padding: 60px 0;
    }

    .section-title {
        font-size: 31px;
    }

    .section-subtitle {
        font-size: 14px;
    }


    /* HERO */

    #hero {
        min-height: auto;
    }

    .hero-content {
        padding: 90px 0 60px;
    }

    .hero-badge {
        font-size: 11px;

        padding: 8px 12px;
    }

    #hero h1 {
        font-size: 42px;
    }

    .hero-desc {
        font-size: 14px;

        line-height: 1.7;
    }

    .flex-gap {
        align-items: stretch;
    }

    .hero-content > .flex-gap {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-content > .flex-gap a {
        width: 100%;
    }

    .hero-stats {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 20px;

        margin-top: 40px;
    }

    .hero-stat {

        padding: 0 12px;

        border-right: none;
    }

    .hero-stat:nth-child(odd) {
        padding-left: 0;
    }

    .hero-stat-num {
        font-size: 25px;
    }


    /* INTRO */

    .intro-band-inner {

        grid-template-columns:
            repeat(2, 1fr);

        padding-top: 10px;
        padding-bottom: 10px;
    }

    .intro-band-item {

        min-height: 45px;

        border-right: none;

        font-size: 11px;
    }


    /* SERVICES */

    .grid-3 {

        grid-template-columns: 1fr;

        gap: 18px;
    }


    /* BENEFITS */

    .benefit-item {
        gap: 13px;
    }

    .benefit-num {

        width: 40px;
        height: 40px;

        min-width: 40px;
    }


    /* DARK CARDS */

    .dark-card {
        padding: 23px;
    }

    .report-list > div {

        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }


    /* WORKFLOW */

    .workflow-img,
    .why-image {

        height: 360px;
    }


    /* TIMELINE */

    .timeline-month {

        gap: 15px;

        margin-bottom: 28px;
    }

    .timeline-dot {

        width: 50px;
        height: 50px;

        min-width: 50px;
    }


    /* SCHEDULE */

    .schedule-box {
        padding: 22px;
    }


    /* BLOG */

    .blog-grid {
        gap: 20px;
    }

    .blog-img {
        height: 190px;
    }
}


/* =========================================================
   SMALL MOBILE <= 576
========================================================= */

@media screen and (max-width: 576px) {

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-pad {
        padding: 52px 0;
    }

    .section-title {
        font-size: 27px;
    }

    .section-label {
        font-size: 10px;
    }

    .blue-divider,
    .gold-divider {
        margin-top: 16px;
        margin-bottom: 22px;
    }


    /* HERO */

    .hero-content {
        padding: 80px 0 50px;
    }

    #hero h1 {
        font-size: 34px;

        line-height: 1.12;
    }

    .hero-desc {
        font-size: 13px;

        margin-top: 20px;
    }

    .hero-badge {
        max-width: 100%;

        font-size: 10px;
    }

    .hero-stats {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 18px;

        padding-top: 23px;
    }

    .hero-stat-label {
        font-size: 10px;
    }


    /* INTRO */

    .intro-band-inner {
        grid-template-columns: 1fr 1fr;
    }

    .intro-band-item {
        font-size: 10px;
        text-align: center;
    }


    /* CARD */

    .card {
        padding: 22px;
    }


    /* BENEFIT */

    .benefit-item {

        padding: 17px 0;

        gap: 12px;
    }

    .benefit-item h4 {
        font-size: 15px;
    }

    .benefit-item p {
        font-size: 12px;
    }


    /* DARK CARD */

    .dark-card {
        padding: 20px;
    }

    .dark-card h3 {
        font-size: 18px;
    }


    /* WORKFLOW */

    .step-item {
        gap: 12px;
    }

    .step-num {
        width: 39px;
        height: 39px;

        min-width: 39px;

        font-size: 10px;
    }

    .step-item h4 {
        font-size: 15px;
    }

    .step-item p {
        font-size: 12px;
    }

    .workflow-img,
    .why-image {
        height: 300px;
    }


    /* TRUST */

    .trust-box {
        padding: 18px;

        align-items: flex-start;
    }

    .trust-box > i {
        font-size: 28px;
    }


    /* WHY */

    .why-item {
        padding: 16px;

        gap: 12px;
    }

    .why-icon {
        width: 42px;
        height: 42px;

        min-width: 42px;

        font-size: 16px;
    }

    .why-item h4 {
        font-size: 14px;
    }

    .why-item p {
        font-size: 12px;
    }


    /* TIMELINE */

    .timeline-container {
        margin-top: 35px;
    }

    .timeline-dot {

        width: 45px;
        height: 45px;

        min-width: 45px;

        font-size: 10px;
    }

    .timeline-month h4 {
        font-size: 15px;
    }

    .timeline-month p {
        font-size: 12px;
    }


    /* SCHEDULE */

    .schedule-box {
        padding: 18px;
    }

    .schedule-item {

        flex-direction: column;

        align-items: flex-start;

        gap: 5px;

        font-size: 12px;
    }


    /* CLIENTS */

    .clients-section {
        padding: 55px 0;
    }

    .client-item {
        padding: 11px 18px;

        font-size: 11px;
    }


    /* BLOG */

    .blog-img {
        height: 175px;
    }

    .blog-body {
        padding: 20px;
    }

    .blog-body h4 {
        font-size: 15px;
    }

    .blog-body p {
        font-size: 12px;
    }
}


/* =========================================================
   VERY SMALL MOBILE <= 380
========================================================= */

@media screen and (max-width: 380px) {

    #hero h1 {
        font-size: 30px;
    }

    .hero-desc {
        font-size: 12px;
    }

    .section-title {
        font-size: 25px;
    }

    .hero-stats {
        gap: 13px;
    }

    .hero-stat-num {
        font-size: 22px;
    }

    .hero-stat-label {
        font-size: 9px;
    }

    .intro-band-item {
        font-size: 9px;
    }
}


/* =========================================================
   SAFETY FIXES
   Prevent header/footer CSS from affecting page
========================================================= */

#hero h1,
#hero p,
.section-pad h2,
.section-pad h3,
.section-pad h4,
.section-pad p,
#intro-band p {

    max-width: none;
}

.section-pad img {
    max-width: 100%;
}

.section-pad a.btn-primary {
    text-decoration: none;
}

.section-pad a.btn-outline {
    text-decoration: none;
}


/* =========================================================
   PREVENT HORIZONTAL OVERFLOW
========================================================= */

#hero,
.section-pad,
.clients-section,
.blog-section,
.workflow,
.timeline-bg,
.bg-dark-blue {

    width: 100%;

    overflow: hidden;
}


/* =========================================================
   ACCESSIBILITY / TOUCH
========================================================= */

@media (hover: none) {

    .card:hover,
    .blog-card:hover,
    .why-item:hover,
    .service-card:hover {

        transform: none;
    }
}