/* Outsourced Shared Services Page Styles */

/* OSS Hero Section */
.oss-hero {
    padding-top: 5rem;
    padding-bottom: 3rem;
    background: linear-gradient(135deg, var(--color-navy) 0%, #0a2d5f 100%);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .oss-hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }
}

@media (min-width: 1024px) {
    .oss-hero {
        padding-top: 7rem;
        padding-bottom: 4rem;
    }
}

.oss-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 145, 68, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .oss-hero::before {
        width: 450px;
        height: 450px;
    }
}

@media (min-width: 1024px) {
    .oss-hero::before {
        width: 600px;
        height: 600px;
    }
}

.oss-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(251, 215, 113, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .oss-hero::after {
        width: 375px;
        height: 375px;
    }
}

@media (min-width: 1024px) {
    .oss-hero::after {
        width: 500px;
        height: 500px;
    }
}

.oss-hero-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .oss-hero-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.oss-hero-content {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.oss-hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 145, 68, 0.2);
    border: 1px solid rgba(0, 145, 68, 0.3);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 640px) {
    .oss-hero-badge {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
}

.oss-hero-title {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .oss-hero-title {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .oss-hero-title {
        font-size: 2.75rem;
    }
}

@media (min-width: 1024px) {
    .oss-hero-title {
        font-size: 3.5rem;
    }
}

.oss-hero-accent {
    color: var(--color-secondary);
    position: relative;
    display: inline-block;
}

.oss-hero-accent::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0.4;
    z-index: -1;
}

.oss-hero-subtitle {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .oss-hero-subtitle {
        font-size: 1.0625rem;
        padding: 0;
        line-height: 1.7;
    }
}

@media (min-width: 768px) {
    .oss-hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.75;
    }
}

@media (min-width: 1024px) {
    .oss-hero-subtitle {
        font-size: 1.25rem;
    }
}

/* What We Offer Section */
.oss-offer-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--color-light) 100%);
}

@media (min-width: 640px) {
    .oss-offer-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .oss-offer-section {
        padding: 5rem 0;
    }
}

.oss-offer-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .oss-offer-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.oss-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .oss-section-header {
        margin-bottom: 3rem;
    }
}

@media (min-width: 1024px) {
    .oss-section-header {
        margin-bottom: 4rem;
    }
}

.oss-section-title {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .oss-section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 768px) {
    .oss-section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .oss-section-title {
        font-size: 2.5rem;
    }
}

.oss-section-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.5rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .oss-section-subtitle {
        font-size: 1rem;
        padding: 0;
        line-height: 1.7;
    }
}

@media (min-width: 768px) {
    .oss-section-subtitle {
        font-size: 1.0625rem;
    }
}

@media (min-width: 1024px) {
    .oss-section-subtitle {
        font-size: 1.125rem;
        line-height: 1.75;
    }
}

.oss-offer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .oss-offer-grid {
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .oss-offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .oss-offer-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.oss-offer-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-light) 100%);
    border: 2px solid rgba(0, 145, 68, 0.1);
    border-radius: 1.25rem;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .oss-offer-card {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .oss-offer-card {
        padding: 2.5rem;
    }
}

.oss-offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .oss-offer-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        border-color: var(--color-primary);
    }

    .oss-offer-card:hover::before {
        transform: scaleX(1);
    }

    .oss-offer-card:hover .oss-icon-wrapper {
        transform: scale(1.1) rotate(5deg);
    }
}

.oss-offer-icon {
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .oss-offer-icon {
        margin-bottom: 1.5rem;
    }
}

.oss-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
    .oss-icon-wrapper {
        width: 4.5rem;
        height: 4.5rem;
        border-radius: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .oss-icon-wrapper {
        width: 5rem;
        height: 5rem;
        border-radius: 1.25rem;
    }
}

.oss-icon-1 {
    background: linear-gradient(135deg, rgba(0, 145, 68, 0.15) 0%, rgba(0, 145, 68, 0.05) 100%);
    border: 2px solid rgba(0, 145, 68, 0.2);
    color: var(--color-primary);
}

.oss-icon-2 {
    background: linear-gradient(135deg, rgba(251, 215, 113, 0.2) 0%, rgba(251, 215, 113, 0.1) 100%);
    border: 2px solid rgba(251, 215, 113, 0.3);
    color: #d97706;
}

.oss-icon-3 {
    background: linear-gradient(135deg, rgba(4, 30, 66, 0.15) 0%, rgba(4, 30, 66, 0.05) 100%);
    border: 2px solid rgba(4, 30, 66, 0.2);
    color: var(--color-navy);
}

.oss-icon-4 {
    background: linear-gradient(135deg, rgba(0, 145, 68, 0.15) 0%, rgba(251, 215, 113, 0.1) 100%);
    border: 2px solid rgba(0, 145, 68, 0.2);
    color: var(--color-primary);
}

.oss-offer-title {
    font-size: 1.125rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .oss-offer-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1024px) {
    .oss-offer-title {
        font-size: 1.5rem;
    }
}

.oss-offer-description {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .oss-offer-description {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
}

@media (min-width: 1024px) {
    .oss-offer-description {
        line-height: 1.75;
    }
}

/* Why Subraps Section */
.oss-why-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, #020a1a 100%);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .oss-why-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .oss-why-section {
        padding: 5rem 0;
    }
}

.oss-why-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 145, 68, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .oss-why-section::before {
        width: 450px;
        height: 450px;
    }
}

@media (min-width: 1024px) {
    .oss-why-section::before {
        width: 600px;
        height: 600px;
    }
}

.oss-why-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .oss-why-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.oss-why-section .oss-section-title {
    color: #ffffff;
}

.oss-why-section .oss-section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.oss-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .oss-why-grid {
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .oss-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.oss-benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .oss-benefit-card {
        padding: 2rem;
        border-radius: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .oss-benefit-card {
        padding: 2.5rem;
    }
}

.oss-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .oss-benefit-card:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: var(--color-primary);
        transform: translateY(-8px);
    }

    .oss-benefit-card:hover::before {
        transform: scaleX(1);
    }

    .oss-benefit-card:hover .oss-benefit-icon-wrapper {
        transform: scale(1.1) rotate(5deg);
    }
}

.oss-benefit-icon {
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .oss-benefit-icon {
        margin-bottom: 1.5rem;
    }
}

.oss-benefit-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
    .oss-benefit-icon-wrapper {
        width: 4.5rem;
        height: 4.5rem;
        border-radius: 1.125rem;
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .oss-benefit-icon-wrapper {
        width: 5rem;
        height: 5rem;
        border-radius: 1.25rem;
        font-size: 2rem;
    }
}

.oss-benefit-icon-1 {
    background: linear-gradient(135deg, rgba(0, 145, 68, 0.2) 0%, rgba(0, 145, 68, 0.1) 100%);
    border: 2px solid rgba(0, 145, 68, 0.3);
}

.oss-benefit-icon-2 {
    background: linear-gradient(135deg, rgba(251, 215, 113, 0.25) 0%, rgba(251, 215, 113, 0.15) 100%);
    border: 2px solid rgba(251, 215, 113, 0.35);
}

.oss-benefit-icon-3 {
    background: linear-gradient(135deg, rgba(0, 145, 68, 0.2) 0%, rgba(251, 215, 113, 0.15) 100%);
    border: 2px solid rgba(0, 145, 68, 0.3);
}

.oss-benefit-icon-4 {
    background: linear-gradient(135deg, rgba(4, 30, 66, 0.3) 0%, rgba(4, 30, 66, 0.15) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.oss-benefit-title {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .oss-benefit-title {
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1024px) {
    .oss-benefit-title {
        font-size: 1.5rem;
    }
}

.oss-benefit-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

@media (min-width: 640px) {
    .oss-benefit-description {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
}

@media (min-width: 1024px) {
    .oss-benefit-description {
        line-height: 1.75;
    }
}

/* Service Areas Section */
.oss-services-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--color-light) 0%, #ffffff 100%);
}

@media (min-width: 640px) {
    .oss-services-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .oss-services-section {
        padding: 5rem 0;
    }
}

.oss-services-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .oss-services-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.oss-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .oss-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .oss-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.oss-service-item {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-light) 100%);
    border: 2px solid rgba(0, 145, 68, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .oss-service-item {
        padding: 1.75rem;
        border-radius: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .oss-service-item {
        padding: 2rem;
    }
}

.oss-service-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .oss-service-item:hover {
        transform: translateX(8px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        border-color: var(--color-primary);
    }

    .oss-service-item:hover::before {
        transform: scaleY(1);
    }

    .oss-service-item:hover .oss-service-icon {
        transform: scale(1.1) rotate(5deg);
    }
}

.oss-service-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

@media (min-width: 640px) {
    .oss-service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1024px) {
    .oss-service-icon {
        font-size: 3rem;
    }
}

.oss-service-title {
    font-size: 1.125rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .oss-service-title {
        font-size: 1.1875rem;
        margin-bottom: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .oss-service-title {
        font-size: 1.25rem;
    }
}

.oss-service-description {
    font-size: 0.8125rem;
    color: #4b5563;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .oss-service-description {
        font-size: 0.875rem;
        line-height: 1.625;
    }
}

/* CTA Section */
.oss-cta-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #007a3a 100%);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .oss-cta-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .oss-cta-section {
        padding: 5rem 0;
    }
}

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

@media (min-width: 768px) {
    .oss-cta-section::before {
        width: 450px;
        height: 450px;
    }
}

@media (min-width: 1024px) {
    .oss-cta-section::before {
        width: 600px;
        height: 600px;
    }
}

.oss-cta-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .oss-cta-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.oss-cta-content {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.oss-cta-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .oss-cta-title {
        font-size: 1.875rem;
        margin-bottom: 1rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .oss-cta-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .oss-cta-title {
        font-size: 3rem;
    }
}

.oss-cta-subtitle {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    .oss-cta-subtitle {
        font-size: 1rem;
        margin-bottom: 2.25rem;
        padding: 0;
        line-height: 1.7;
    }
}

@media (min-width: 768px) {
    .oss-cta-subtitle {
        font-size: 1.0625rem;
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .oss-cta-subtitle {
        font-size: 1.125rem;
        line-height: 1.75;
    }
}

.oss-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    width: 100%;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .oss-cta-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        max-width: none;
        width: auto;
    }
}

.oss-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    width: 100%;
    text-align: center;
}

@media (min-width: 640px) {
    .oss-cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: auto;
        min-width: 180px;
    }
}

@media (min-width: 768px) {
    .oss-cta-btn {
        padding: 1rem 2.5rem;
        min-width: 200px;
    }
}

.oss-cta-btn-primary {
    background: #ffffff;
    color: var(--color-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.oss-cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    background: var(--color-secondary);
    color: var(--color-navy);
}

.oss-cta-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.oss-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}



