/* Hero Banner */
.payroll-hero {
    background: linear-gradient(135deg, rgba(112, 31, 219, 0.9) 0%, rgba(59, 7, 100, 0.9) 100%),
        url('../images/banner/payroll_banner.png') no-repeat center center;
    background-size: cover;
    padding: 150px 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.payroll-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/dot-pattern.png') repeat;
    opacity: 0.1;
    z-index: 0;
}

.payroll-hero h1 {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.payroll-hero p.lead {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0 50px;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.benefits-header {
    background: url('assets/images/banner/payroll-benefits.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 0 150px;
    margin-bottom: -80px;
    position: relative;
}

.benefits-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 24, 100, 0.8);
}

.benefits-header .title-head {
    color: #fff;
    position: relative;
    z-index: 1;
}

.benefits-header p {
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(23, 37, 84, 0.1);
}

.benefit-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, rgba(112, 31, 219, 0.9) 0%, rgba(59, 7, 100, 0.9) 100%);
}

.benefit-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(59, 7, 100, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(112, 31, 219, 0.9) 0%, rgba(59, 7, 100, 0.9) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(23, 37, 84, 0.2);
    transition: all 0.3s ease;
}

.benefit-icon .icon-img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #EFBB20 0%, #F7B205 100%);
}

.benefit-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.benefit-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, rgba(112, 31, 219, 0.9) 0%, rgba(59, 7, 100, 0.9) 100%);
    border-radius: 3px;
}

/* New Process Section */
.process-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
}

.process-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.process-section .section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.process-section .section-title p {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, rgba(112, 31, 219, 0.9) 0%, rgba(59, 7, 100, 0.9) 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.process-step {
    display: flex;
    position: relative;
    z-index: 2;
}

.process-step:nth-child(odd) {
    flex-direction: row;
    margin-right: auto;
    padding-right: 50%;
    text-align: right;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
    margin-left: auto;
    padding-left: 50%;
    text-align: left;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(112, 31, 219, 0.9) 0%, rgba(59, 7, 100, 0.9) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(112, 31, 219, 0.3);
    flex-shrink: 0;
    margin: 0 20px;
    position: relative;
    z-index: 3;
}

.process-step:nth-child(odd) .step-number {
    right: -30px;
}

.process-step:nth-child(even) .step-number {
    left: -30px;
}

.step-content {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
    transition: all 0.3s ease;
}

.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-content h3 {
    color: #4c1864;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-content p {
    color: #7f8c8d;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .process-steps:before {
        left: 30px;
    }
    
    .process-step {
        flex-direction: row !important;
        padding-left: 80px !important;
        padding-right: 0 !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .process-step .step-number {
        position: absolute;
        left: 0;
        right: auto;
        margin: 0;
    }
}

/* Service Cards Section */
.service-cards-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #dddddd 0%, #ffffff 100%);
    color: #333;
    position: relative;
    overflow: hidden;
}

.service-cards-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/wave-pattern.jpg') repeat;
    opacity: 0.1;
    z-index: 0;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(23, 37, 84, 0.1);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(112, 31, 219, 0.9) 0%, rgba(59, 7, 100, 0.9) 100%);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(112, 31, 219, 0.9) 0%, rgba(59, 7, 100, 0.9) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-icon-img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #EFBB20 0%, #F7B205 100%);
    transform: scale(1.1);
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card ul {
    list-style-type: none;
    padding-left: 0;
}

.service-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.service-card ul li:before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    color: #4c1864;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.pricing-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/wave-pattern-light.png') repeat;
    opacity: 0.03;
    z-index: 0;
}

.pricing-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    margin: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card.featured {
    border: 2px solid #4c1864;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(76, 24, 100, 0.15);
}

.pricing-card.featured .pricing-header {
    background: linear-gradient(135deg, rgba(112, 31, 219, 0.9) 0%, rgba(59, 7, 100, 0.9) 100%);
    color: #fff;
    border-radius: 15px 15px 0 0;
    margin: -40px -30px 20px;
    padding: 40px 30px;
}

.pricing-card.featured .price-circle {
    background: #fff;
    border: 5px solid rgba(112, 31, 219, 0.2);
}

.pricing-card.featured .pricing-button {
    background: linear-gradient(135deg, #EFBB20 0%, #F7B205 100%);
    color: #2c3e50;
    font-weight: 600;
}

.pricing-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(112, 31, 219, 0.9) 0%, rgba(59, 7, 100, 0.9) 100%);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-header {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.price-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(112, 31, 219, 0.1) 0%, rgba(59, 7, 100, 0.1) 100%);
    margin: 0 auto 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4c1864;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: #7f8c8d;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features ul {
    list-style-type: none;
    padding-left: 0;
}

.pricing-features ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.pricing-features ul li i {
    margin-right: 10px;
    color: #4c1864;
}

.pricing-button {
    display: block;
    text-align: center;
    padding: 12px 0;
    background: linear-gradient(135deg, rgba(112, 31, 219, 0.9) 0%, rgba(59, 7, 100, 0.9) 100%);
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.pricing-button:hover {
    background: linear-gradient(135deg, rgba(112, 31, 219, 0.9) 0%, rgba(59, 7, 100, 1) 100%);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(112, 31, 219, 0.3);
}

.popular-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #EFBB20;
    color: #2c3e50;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .payroll-hero h1 {
        font-size: 2.5rem;
    }

    .payroll-hero p.lead {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1.02);
    }
}

@media (max-width: 767px) {
    .payroll-hero {
        padding: 100px 0;
    }

    .payroll-hero h1 {
        font-size: 2rem;
    }

    .benefit-card {
        padding: 30px 20px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}