﻿/* =====================================================
   HRMS HERO
===================================================== */

.hrms-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 480px;

    margin-top: 75px;



    padding: 115px 0 60px;
    overflow: hidden;
    color: #ffffff;
    background-image: linear-gradient( 90deg, rgba(5,18,45,.35) 0%, rgba(5,18,45,.15) 30%, rgba(5,18,45,0) 55% ), url("/images/products/hrms/hrms-hero.webp");
    /* background-image: linear-gradient( 90deg, rgba(5, 18, 45, 0.88) 0%, rgba(5, 18, 45, 0.72) 45%, rgba(5, 18, 45, 0.25) 75%, rgba(5, 18, 45, 0.05) 100% ), url("/images/products/hrms/hrms-hero.webp");*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    /* Hero content image ke upar rahe */
    .hrms-hero .container {
        position: relative;
        z-index: 2;
    }

/* Text area */
.hrms-hero-content {
    max-width: 720px;
}

/* Small top label */
.hrms-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 9px 18px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 40px;
    backdrop-filter: blur(8px);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

/* Main heading */
.hrms-hero h1 {
    max-width: 760px;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -2px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.42);
}

    .hrms-hero h1 span {
        display: block;
        color: #93c5fd;
    }

/* Description */
.hrms-hero p {
    max-width: 660px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.96);
    font-size: 1.02rem;
    line-height: 1.75;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Buttons */
.hrms-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hrms-primary-btn,
.hrms-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hrms-primary-btn {
    color: #1d4ed8;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

    .hrms-primary-btn:hover {
        color: #1d4ed8;
        transform: translateY(-3px);
    }

.hrms-secondary-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(8px);
}

    .hrms-secondary-btn:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.18);
        transform: translateY(-3px);
    }

/* =====================================================
   COMMON SECTIONS
===================================================== */

.hrms-overview,
.hrms-features,
.hrms-benefits,
.hrms-cta-section {
    padding: 50px 0;
}

.hrms-overview,
.hrms-benefits {
    background: #ffffff;
}

.hrms-features {
    background: #f8fafc;
}

.hrms-overview h2,
.hrms-benefits h2,
.section-heading h2 {
    margin-bottom: 18px;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
}

.hrms-overview p,
.hrms-benefits p,
.section-heading p {
    color: #64748b;
    line-height: 1.75;
}

.hrms-check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
    margin-top: 25px;
}

    .hrms-check-list div {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #334155;
        font-weight: 700;
    }

    .hrms-check-list i {
        color: #16a34a;
    }

/* =====================================================
   PROCESS CARD
===================================================== */

.hrms-process-card {
    padding: 28px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
}

.hrms-process-item {
    display: flex;
    gap: 17px;
    padding: 18px 0;
    border-bottom: 1px solid #e2e8f0;
}

    .hrms-process-item:last-child {
        border-bottom: 0;
    }

    .hrms-process-item > span {
        color: #2563eb;
        font-size: 1.1rem;
        font-weight: 900;
    }

    .hrms-process-item h3 {
        margin-bottom: 6px;
        color: #0f172a;
        font-size: 1.02rem;
        font-weight: 800;
    }

    .hrms-process-item p {
        margin: 0;
        font-size: 0.88rem;
    }

/* =====================================================
   FEATURES
===================================================== */

.section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
}

.hrms-feature-card {
    height: 100%;
    min-height: 195px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
}
    .hrms-feature-card:hover {
        border-color: rgba(37, 99, 235, 0.3);
        box-shadow: 0 22px 48px rgba(37, 99, 235, 0.12);
        transform: translateY(-6px);
    }

    .hrms-feature-card i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 54px;
        height: 54px;
        margin-bottom: 18px;
        color: #ffffff;
        background: linear-gradient(135deg, #2563eb, #4f46e5);
        border-radius: 15px;
        font-size: 1.25rem;
    }

    .hrms-feature-card h3 {
        margin-bottom: 10px;
        color: #0f172a;
        font-size: 1.15rem;
        font-weight: 800;
    }

    .hrms-feature-card p {
        margin: 0;
        color: #64748b;
        font-size: 0.9rem;
        line-height: 1.7;
    }

/* =====================================================
   BENEFITS
===================================================== */

.hrms-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.hrms-benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 82px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

    .hrms-benefit-item strong {
        color: #2563eb;
        font-size: 1.15rem;
    }

    .hrms-benefit-item span {
        color: #334155;
        font-size: 0.9rem;
        font-weight: 750;
    }

/* =====================================================
   CTA
===================================================== */

.hrms-cta-section {
    background: #f8fafc;
}

.hrms-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 45px;
    color: #ffffff;
    background: linear-gradient(135deg, #102d68, #284dc1);
    border-radius: 28px;
}

    .hrms-cta-box > div {
        max-width: 760px;
    }

        .hrms-cta-box > div > span {
            display: inline-block;
            margin-bottom: 11px;
            color: #bfdbfe;
            font-size: 0.78rem;
            font-weight: 850;
            letter-spacing: 1.2px;
            text-transform: uppercase;
        }

    .hrms-cta-box h2 {
        margin-bottom: 13px;
        color: #ffffff;
        font-size: clamp(1.9rem, 4vw, 2.8rem);
        font-weight: 850;
    }

    .hrms-cta-box p {
        margin: 0;
        color: rgba(255, 255, 255, 0.78);
        line-height: 1.7;
    }

.hrms-cta-btn {
    flex-shrink: 0;
    color: #1d4ed8;
    background: #ffffff;
}

    .hrms-cta-btn:hover {
        color: #1d4ed8;
        transform: translateY(-3px);
    }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 991.98px) {
    .hrms-hero {
        min-height: 440px;
        padding: 110px 0 55px;
        background-position: center;
    }

    .hrms-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .hrms-hero {
        min-height: 400px;
        padding: 105px 0 50px;
        text-align: center;
        background-image: linear-gradient( 90deg, rgba(8, 20, 45, 0.30) 0%, rgba(8, 20, 45, 0.15) 35%, rgba(8, 20, 45, 0) 60% ), url("/images/products/hrms/hrms-hero.webp");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hrms-hero-content {
        max-width: 100%;
    }

    .hrms-hero h1 {
        font-size: 2.7rem;
        letter-spacing: -1.3px;
    }

    .hrms-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hrms-hero-actions {
        justify-content: center;
    }

    .hrms-check-list,
    .hrms-benefit-grid {
        grid-template-columns: 1fr;
    }

    .hrms-overview,
    .hrms-features,
    .hrms-benefits,
    .hrms-cta-section {
        padding: 55px 0;
    }

    .hrms-cta-box {
        padding: 32px 24px;
    }
}

@media (max-width: 575.98px) {
    .hrms-hero {
        min-height: 380px;
        padding: 100px 0 48px;
        background-position: center;
    }

        .hrms-hero h1 {
            font-size: 2.25rem;
        }

        .hrms-hero p {
            font-size: 0.94rem;
            line-height: 1.65;
        }

    .hrms-summary-grid {
        grid-template-columns: 1fr;
    }

    .hrms-primary-btn,
    .hrms-secondary-btn,
    .hrms-cta-btn {
        width: 100%;
    }
}
