/* ===== Hero / Banner ===== */
.hrms-hero__title-wrapper {
    min-height: 116px;
}

.hrms-hero__title {
    display: none;
    text-align: left
}

/* shown via JS later */
.hrms-hero__lead {
    margin-bottom: 1rem;
    text-align: left;
    color: #e5e7eb;
}

.hrms-hero__btn-container {
    margin-bottom: 1rem;
    text-align: left;
}

.hrms-hero__stats {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    text-align: left;
    color: #9ca3af;
}

.hrms-hero__image img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    border-radius: 0.5rem;
}

/* ===== Clients strip ===== */
.clients {
    padding: 2rem 0;
}

.logos-strip {
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 16px;
    overflow-x: auto;
}
@media (max-width:768px) {
    .logos-strip {
        justify-content: flex-start;
    }
}

.logos-strip img {
    height: 2rem;
    width: auto;
    filter: grayscale(100%);
}

.logos-strip img:hover {
    filter: grayscale(0%);
}

.logos-strip::-webkit-scrollbar {
    display: none;
}

/* ===== Features grid ===== */
.features {
    padding: 4rem 0;
}

.feature-card {
    background: #fff;
    border: 1px solid rgba(46, 110, 164, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
}

.feature-card img {
    height: 64px;
    width: 64px;
}

.feature-card h3 {
    margin-top: 0.75rem;
    font-size: 1.125rem;
    color: #1f2937;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.875rem !important;
    line-height: 1.25rem;
    color: #4b5563;
    margin-bottom: 0;
}

/* ===== Mobile app section ===== */
.mobile-app {
    padding: 2rem 0;
}

.mobile-app__title a {
    text-decoration: none;
}

.mobile-app__carousel .item {
    width: 300px;
    height: 400px;
    position: relative;
}

.mobile-app__copy p {
    margin-bottom: 1rem;
}

.mobile-app__copy hr {
    margin-left: 0;
    margin-right: 0;
}

.mobile-app__features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.mobile-app__features-list li {
    font-size: 1rem;
    line-height: 1.75rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.75rem;
}

.mobile-app__features-list li span {
    font-size: 1rem;
    line-height: 1.75rem;
}

.mobile-app__features-icon {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

/* ===== Awards ===== */
.awards {
    padding: 2rem 0;
}

.awards__grid {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.awards__item {
    text-align: center;
    height: 100px;
    width: 150px;
    margin: 0 1rem;
    padding: 1rem 0;
}
@media (max-width:768px) {
    .awards__item {
        width: 70px;
        margin: 0;
        padding: 0;
    }
    .awards__item img {
        max-height: 100%;
        width: auto;
        max-width: 100%;
    }
}

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

/* ===== Slick controls (keep your look) ===== */
.slick-arrow {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin-top: -25px;
    border: none;
    border-radius: 20px;
    background: #f5f5f5;
    color: #2e6da4;
    font-family: monospace;
    font-size: 1.5rem;
    z-index: 300;
    outline: none;
    padding: 2px;
}

.slick-prev {
    left: 40px;
    text-align: left;
}

.slick-next {
    right: 40px;
    text-align: right;
}

/* Center-scale effect for the mobile slider (optional: kept from your inline) */
.mobile-app__carousel .item.slick-slide {
    transform: scale(0.7) translate(640px);
    transition: transform 0.4s;
}

.mobile-app__carousel .item.slick-slide.slick-active {
    transform: scale(0.8) translate(250px);
}

.mobile-app__carousel .item.slick-slide.slick-center {
    transform: scale(1);
    z-index: 30;
}

.mobile-app__carousel .item.slick-slide.slick-center+.slick-slide {
    transform: scale(0.8) translate(-250px);
    z-index: 10;
}

.mobile-app__carousel .item.slick-slide.slick-center+.slick-slide+.item.slick-slide {
    transform: scale(0.7) translate(-640px);
    z-index: 5;
}

/* ===== Small helpers ===== */
.btn-xl {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
}

/* keep your larger CTA size */
.mt-32 {
    margin-top: 2rem;
}

/* replaces style="margin-top:32px" */


/* ===== Testimonials ===== */
@keyframes borderGlow{0%{filter:hue-rotate(0deg)}100%{filter:hue-rotate(360deg)}}

section.testimonial {
    padding-top: 2rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

section.testimonial .testimonials-wrap {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

section.testimonial .testimonials-wrap .testimonial-item {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    height: 300px;
}

section.testimonial .testimonials-wrap .testimonial-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, #19b75b, #0b6fb8, #9c6bff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
/* reusable class to restart border animation */
.border-animate::before {
    animation: borderGlow 1.2s linear forwards; /* one cycle */
}


section.testimonial .slide-item {
    position: absolute;
    inset: 0;
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .6s cubic-bezier(.2, .9, .2, 1), transform .6s cubic-bezier(.2, .9, .2, 1);
}

section.testimonial .slide-item.active {
    opacity: 1;
    transform: translateY(0);
}

section.testimonial .left-col {
    flex: 0 0 300px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    align-items: flex-start;
}

section.testimonial .left-col .person {
    display: flex;
    align-items: center;
    margin-top: 12px;
}

section.testimonial .avatar {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-right: 16px;
    border-radius: 16px;
}

section.testimonial .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

section.testimonial .company-logo {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: cover;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    opacity: 1;
    padding: 2px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

section.testimonial .quote {
    font-size: 23px;
    line-height: 1.6;
    color: #1a2b3d;
    font-weight: 500;
}

section.testimonial .meta {
    color: #374b5c;
    font-size: 14px;
    line-height: 1.25;
}

section.testimonial .person-name {
    color: #0b2030;
    font-weight: 700;
    font-size: 20px;
}

section.testimonial .rating-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 10px;
}

section.testimonial .rating-line {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 1;
    color: rgb(234 179 8 / 1);
    letter-spacing: 0.05em;
    font-size: 1.125rem;
    line-height: 1.75rem;
}
section.testimonial .rating-text{
    color:#475569;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
}

.slide-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
    margin-top: 2rem;
}
.slide-nav .dots{
    display: flex;
    gap: 12px;
    align-items: center;
}
.slide-nav .dots .dot {
    padding: 0 !important;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.35);
    display: inline-grid;
    place-items: center;
    transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
    border: none;
}

.slide-nav .dots .dot.active {
    background: linear-gradient(90deg, #19b75b, #0b6fb8);
    box-shadow: 0 6px 18px rgba(11, 111, 184, 0.18);
    transform: scale(1.2)
}
.slide-nav button {
    padding: 8px 16px;
    color: #fff;
    border: none;
    border-radius:0.375rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    cursor: pointer;
    transition: background-color .3s ease;
}
.slide-nav button.prev {
    background-color: #334155;
}
.slide-nav button.prev:hover {
    background-color: #1e293b;
}
.slide-nav button.next {
    background-color: #10b981;
}
.slide-nav button.next:hover {
    background-color: #059669;
}

/* small tweak so the company line wraps nicely and sits on its own line */
.person-info .company-line {
    margin-top: 6px;
    color: #52606d;
    font-weight: 600;
    font-size: 13px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width:768px) {
    section.testimonial .testimonials-wrap {
        padding: 10px;
    }
    section.testimonial .testimonial-item {
        min-height: 500px;
    }
    section.testimonial .slide-item {
        height: auto;
    }

    section.testimonial .slide-item {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 10px;
    }

    section.testimonial .left-col {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        gap: 14px;
        align-items: center;
    }

    section.testimonial .quote {
        font-size: 20px;
    }

    section.testimonial .meta {
        font-size: 15px;
    }
    section.testimonial .slide-nav .dots {
        display: none;
    }
}