/* payroll.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.payroll-page-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(42, 52, 62, 0.75) 100%),
                url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 50px 0 60px;
    position: relative;
    overflow: hidden;
}

.payroll-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(20px); }
}

.payroll-header-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.payroll-page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.payroll-page-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.payroll-breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.payroll-breadcrumb-nav a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.payroll-breadcrumb-nav a:hover {
    color: #667eea;
}

.payroll-breadcrumb-nav span:last-child {
    color: rgba(255, 255, 255, 0.7);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Section */
.payroll-main-section {
    padding: 80px 0;
    background: #f5f7fa;
}

/* Introduction Section */
.payroll-intro-section {
    margin-bottom: 80px;
}

.intro-content {
    padding-right: 30px;
}

.intro-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.intro-icon i {
    font-size: 40px;
    color: white;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 25px;
    line-height: 1.3;
}

.intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    color: white;
}

.intro-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.intro-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.intro-image-wrapper:hover .intro-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.3) 0%, rgba(102, 126, 234, 0.3) 100%);
    pointer-events: none;
}

/* Outsource Benefits Section */
.outsource-benefits-section {
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-center {
    font-size: 36px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.benefits-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.benefits-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.benefits-image:hover img {
    transform: scale(1.05);
}

.benefits-content {
    padding-left: 30px;
}

.content-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 20px;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.technology-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    border-left: 5px solid #667eea;
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-icon i {
    font-size: 40px;
    color: white;
}

.tech-content h3 {
    font-size: 24px;
    color: #1e3c72;
    margin-bottom: 15px;
}

.tech-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* Services Offer Section */
.services-offer-section {
    margin-bottom: 80px;
}

.main-services-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.service-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 20px;
    color: white;
}

.benefit-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 8px;
}

.benefit-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Services Sidebar */
.services-sidebar {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
    border-top: 4px solid #667eea;
}

.sidebar-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.service-list-item:hover {
    background: #f8f9ff;
    border-left-color: #667eea;
    transform: translateX(5px);
}

.service-list-item i {
    color: #667eea;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.service-list-item span {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Additional Services Section */
.additional-services-section {
    margin-bottom: 80px;
}

.additional-service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.additional-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.service-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    text-align: center;
    
}

.service-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-card-icon i {
    font-size: 35px;
    color: white;
}

.service-card-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.service-card-body {
    padding: 30px;
}

.service-card-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.feature-tag {
    background: #f8f9ff;
    color: #667eea;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #667eea;
}

/* Management Accounts Box */
.management-accounts-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px;
    border-radius: 20px;
    margin-bottom: 80px;
    color: white;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.accounts-icon-box {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.accounts-icon-box i {
    font-size: 60px;
    color: white;
}

.management-accounts-box h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.management-accounts-box p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
}

.accounts-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.accounts-services span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: white;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.accounts-services span i {
    color: #FFD700;
    font-size: 16px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f8f9ff;
    color: #667eea;
}

.cta-button i {
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .payroll-page-title {
        font-size: 36px;
    }

    .payroll-page-subtitle {
        font-size: 18px;
    }

    .section-title,
    .section-title-center {
        font-size: 30px;
    }

    .intro-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .benefits-content {
        padding-left: 0;
        margin-top: 30px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .services-sidebar {
        position: relative;
        top: 0;
        margin-top: 30px;
    }

    .accounts-services {
        grid-template-columns: 1fr;
    }

    .technology-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .payroll-page-header {
        padding: 60px 0 40px;
    }

    .payroll-page-title {
        font-size: 28px;
    }

    .payroll-page-subtitle {
        font-size: 16px;
    }

    .payroll-main-section {
        padding: 50px 0;
    }

    .section-title,
    .section-title-center {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .benefits-image img {
        height: 300px;
    }

    .main-services-content,
    .services-sidebar,
    .additional-service-card,
    .management-accounts-box {
        padding: 25px;
    }

    .cta-section {
        padding: 40px 25px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .payroll-page-title {
        font-size: 24px;
    }

    .payroll-page-subtitle {
        font-size: 14px;
    }

    .intro-icon {
        width: 60px;
        height: 60px;
    }

    .intro-icon i {
        font-size: 30px;
    }

    .benefit-item {
        padding: 15px;
    }

    .benefit-icon {
        width: 35px;
        height: 35px;
    }

    .benefit-icon i {
        font-size: 18px;
    }

    .accounts-icon-box {
        width: 100px;
        height: 100px;
    }

    .accounts-icon-box i {
        font-size: 50px;
    }

    .service-card-icon {
        width: 60px;
        height: 60px;
    }

    .service-card-icon i {
        font-size: 30px;
    }
}

/* Print Styles */
@media print {
    .payroll-page-header,
    .cta-section {
        background: white;
        color: black;
    }

    .additional-service-card,
    .main-services-content,
    .services-sidebar {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}