/* Hero Sections (homepage and product pages) */
.hero {
    display: flex;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

.hero .container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.hero .content {
    flex: 0 1 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-gap: 2.4rem;
    gap: 2.4rem;
}

.hero .badge {
    flex: 0;
    max-width: fit-content;
}

.badge p {
    font-size: 2rem;
}

.hero h1 {
    flex: 0 0 auto;
}

.hero p:not(.badge) {
    flex: 0 0 auto;
}

.hero .btn-link {
    flex: 0 0 auto;
    width: 172px;
}

.hero .image {
    flex: 0 0 600px;
    display: flex;
    justify-content: flex-end;
}


/* Benefits Content Area (image and text side by side)  */
.feature-descriptions {
  padding-top: 10.8rem;
  padding-bottom: 10.8rem;
}

.feature-descriptions .container > h2 {
  margin-bottom: 10rem;
}

.feature-description {
  display: flex;
  margin-bottom: 10rem;
  align-items: center;
  justify-content: space-between;
}

.feature-description:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-description:first-of-type {
  margin-top: 0;
}

.feature-description:last-of-type {
  margin-bottom: 0;
}

.feature-description .content {
  flex: 0 1 478px;
}

.feature-description:first-of-type .content span.no-break {
  display: block;
}

.feature-description .image {
  flex: 0 0 550px;
}

.feature-description .content h3 {
  line-height: 1.2;
  padding-right: 7rem;
}

.feature-description .content h3,
.feature-description .content p {
  margin-bottom: 1.6rem;
}

.feature-description:first-of-type .content h3 {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
}

.feature-description:first-of-type .content span {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
}


.feature-description .no-break img.personelle-logo {
  vertical-align: bottom;
}

.feature-description .content .title-logo {
  margin: 8px 8px 0;
}
  

/* Section with Icon and App Names with Learn More link */
.app-icon-content-blocks {
    padding-top: 10.8rem;
    padding-bottom: 10.8rem;
}

.app-icon-content-blocks .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-icon-content-blocks .h2 {
    margin-bottom: 8rem;
    max-width: 900px;
}

.apps-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    grid-gap: 7.8rem;
    gap: 7.8rem;
    justify-content: center;
}

.apps-info .app {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
}

.apps-info .app .icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
}



/* Section with Side by Side Image Cards (Hourly/Salary) */
.sidebyside-image-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 7.8rem;
    padding-bottom: 7.8rem;
}

.sidebyside-image-cards .cards {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    grid-gap: 7rem;
    gap: 7rem;
    justify-content: center;
}

.sidebyside-image-cards .section-title {
    margin-bottom: 7rem;
}

.sidebyside-image-cards .card {
    flex: 0 1 384px;
    padding: 3.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Cards with Title and Text Only */
.content-card-blocks {
    padding-top: 10.8rem;
    padding-bottom: 10.8rem;
}

.content-card-blocks h2,
.content-card-blocks h3 {
    max-width: 900px;
}

.content-card-blocks h3 {
    margin-bottom: 5.4rem;
    text-align: center;
}

.content-cards {
    display: flex;
    grid-gap: 3.5rem;
    gap: 3.5rem;
}

.content-cards .card {
    flex: 0 0 calc(33% - 7rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* free trial banner */
.banner {
    display: flex;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.banner .container {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 8px;
    grid-gap: 2.4rem;
    gap: 2.4rem;
}

.banner .content {
    flex: 0 0 540px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

#attendance-main .banner .content {
    flex: 0 0 520px;
}

#tor-main .banner .content {
    flex: 0 0 495px;
}

#timeclock-main .banner .content,
#scheduling-main .banner .content {
    flex: 0 0 465px;
}

.banner .image {
    flex: 0 1 600px;
    display: flex;
    justify-content: center;
    padding-top: 3.2rem;
}

.banner .h1 span {
    color: var(--purple-4);
}

.banner .btn-link {
    flex: 0 0 auto;
    width: 172px;
}

.banner.lt-purple-bg,
.banner.lt-purple-bg .h1 {
    color: var(--dark-purple-6);
}

.banner .dk-purple-bg,
.banner .dk-purple-bg .h1 {
    color: #fff;
}


/* free trail banner */
.banner .med-circle {
    position: absolute;
    top: -3.2rem;
    margin-left: 20rem;
}

.banner .lrg-circle {
    position: absolute;
    bottom: -4rem;
    left: -15rem;
}


/* contact banner */
.banner#contact {
    margin-bottom: 6.5rem;
}

.banner#contact .content {
    padding-left: 6rem;
}

.banner#contact .image {
    padding-right: 6rem;
}

.banner#contact p {
    margin-bottom: 3.2rem;
}


/* sections with numbered steps */
.numbered-content-blocks {
    padding-top: 7.8rem;
    padding-bottom: 7.8rem;
}

.steps {
    display: flex;
    justify-content: center;
    grid-gap: 0;
    gap: 0;
}

.step {
    flex: 1 1 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step .number {
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-4);
    border-radius: 100%;
    width: 50px;
    height: 50px;
    margin-bottom: 1.6rem;
    position: relative;
    z-index: 1;
}

.step:not(:last-of-type):after {
    content: '';
    position: absolute;
    top: 22px;
    left: calc(50%);
    height: 3px;
    width: 100%;
    background-color: var(--border-color);
    z-index: 0;
}

.step .number span {
    align-self: center;
    font-size: 2.4rem;
    font-weight: 500;
    color: #fff;
}

.steps .h5 {
    margin: 1rem 0;
    padding: 0 37.5px;
}

.steps h5,
.steps p {
    padding: 0 37.5px;
}

/* Breakpoints */

@media (max-width: 1200px) {
    /* numbered steps section */
    .numbered-content-blocks .steps {
        flex-direction: column;
        grid-gap: 4.8rem;
        gap: 4.8rem;
    }

    .numbered-content-blocks .step:not(:last-of-type):after {
        content: none;
    }
}


@media (max-width: 1160px) {
    .apps-info {
        grid-gap: 5rem;
        gap: 5rem;
    }

    .banner .content {
        flex: 0 0 450px;
    }

    #attendance-main .banner .content {
        flex: 0 0 435px;
    }

    #tor-main .banner .content {
        flex: 0 0 410px;
    }

    #timeclock-main .banner .content,
    #scheduling-main .banner .content  {
        flex: 0 0 385px;
    }

    .banner .h1 {
        font-size: 4rem;
    }
 
}



@media (max-width: 1100px) {
    .hero .container {
        flex-direction: column;
        align-items: center;
    }

    .hero .content {
        flex: 0 0 auto;
        text-align: center;
        align-items: center;
        grid-gap: 1.6rem;
        gap: 1.6rem;
    }

    #tor-main .hero .content {
        flex: 0 1 auto;
    }

    .hero .image {
        flex: 0 0 auto;
        margin-top: 3.6rem;
    }

    .feature-description {
        flex-direction: column;
        margin-bottom: 10rem;
        grid-gap: 3.2rem;
        gap: 3.2rem;
    }

    .feature-description:nth-child(even) {
        flex-direction: column;
    }
    
    .feature-description .content {
        flex: 1 1 auto;
        order: 1;
    }


    .feature-description .content h3 {
        padding: 0;
    }


    .feature-description .content span {
        margin: 0 8px;
    }

    .feature-description:first-of-type .content span.no-break {
        display: inline;
        align-items: center;
        margin-left: 0;
    }

    .feature-description .content .title-logo {
        margin: 8px 8px 0 0;
    }

    .feature-description .image {
        flex: 0 1 auto;
        order: 2;
    }

    .no-max-width {
        max-width: unset;
    }

    .sidebyside-image-cards .cards {
        grid-gap: 3.2rem;
        gap: 3.2rem;
    }


}

@media (max-width: 960px) {
    .sidebyside-image-cards .cards {
        flex-wrap: wrap;
    }

    .content-cards {
        flex-wrap: wrap;
    }

    .content-cards .card {
        flex: 1 1 auto;
    }

    .apps-info {
        grid-gap: 6.8rem;
        gap: 6.8rem;
        padding: 0 11rem;
    }

    .apps-info .app {
        align-items: center;
    }

    /* banners */
    .banner {
        display: flex;
        flex-direction: row;
        padding-top: 8.4rem;
    }

    .banner .container {
        flex-wrap: wrap-reverse;
        justify-content: center;
        grid-gap:0;
        gap: 0;
    }

    .banner .content {
        order: 1;
        text-align: center;
        align-items: center;
        flex: 0 0 595px;
        margin-bottom: 4.8rem;
    }

    .banner .med-circle {
        right: -130px;
        transform: rotate(0.25turn);
        margin-top: 7.5rem;
    }

    .banner .lrg-circle {
        left: -185px;
        transform: rotate(95deg);
        margin-bottom: 45rem;
    }

    .banner#contact .container {
        justify-content: center;
    }

    .banner#contact .content {
        padding-left: 0;
        margin-top: 4rem;
        flex: 1 1 auto;
        padding-left: 3.2rem;
        padding-right: 3.2rem;
    }

    .banner .h1 {
        font-size: 4.8rem;
    }

    .banner#contact .image {
        padding-right: 0;
        flex: 1 1 auto;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.2rem;
        line-height: 1.5;
    }

    .apps-info {
        grid-gap: 0;
        gap: 0;
    }

    .apps-info .app {
        align-items: center;
        flex: 0 0 100%;
        margin-bottom: 6.8rem;
    }

    .apps-info .app:last-of-type {
        margin-bottom: 0rem;
    }


    .apps-info .app p {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .banner .h1 {
        font-size: 3.2rem;
    }

    .banner#free-trial .image {
        flex: 0 1 600px;
    }

    .banner .content {
        flex: 0 1 415px;
    }
}
