/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* Colors */
    --color-primary: #391561;
    --color-text-dark: #171717;
    --color-text-light: #5d666f;
    --color-white: #ffffff;
    --color-border: rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-regular: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 10px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 36px;
    --spacing-xl: 42px;
    
    /* Sizes */
    --circle-size: 52px;
    --icon-circle-size: 62px;
    --timeline-width: 2px;
    --timeline-left: 81px;
    --item-height: 110px;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.service-style-txt2{ font-size:26px; color:#391561; font-weight:600;}
.service-style-txt3{ font-size:18px; color:#5D666F; font-weight:500;}

/* ===================================
   MAIN CONTAINER
   =================================== */
.services-container {
    height: auto;
    background-color: var(--color-white);
    /*padding: 3rem 2rem;*/
}

.max-width-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

/* ===================================
   VERTICAL TIMELINE LINE
   =================================== */
/*.timeline-line2 {
    position: absolute;
    left: 98px;
    top: 68px;
    min-height: 554px;
    width: var(--timeline-width);
    background-color: var(--color-primary);
    z-index: 1;
}*/

.timeline-line2 {
    position: absolute;
    left: var(--timeline-left);
    top: 74px;
    height: 450px;
    width: var(--timeline-width);
    background-color: var(--color-primary);
    z-index: 1;
}

/* ===================================
   SERVICES LIST
   =================================== */
.services-list {
    position: relative;
    z-index: 2;
    padding-left: 133px;
}

/* ===================================
   SERVICE ITEM
   =================================== */
.service-item {
    position: relative;
    padding: var(--spacing-md) 0;
    min-height: var(--item-height);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 30px;
}

.service-item--last {
    border-bottom: none;
}

/* ===================================
   NUMBER CIRCLE
   =================================== */
.number-circle {
    position: absolute;
    left: -77px;
    top: 24px;
    width: var(--circle-size);
    height: var(--circle-size);
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.number {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    line-height: 26px;
}

/* ===================================
   SERVICE CONTENT
   =================================== */
.service-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

/* ===================================
   SERVICE INFO
   =================================== */
.service-info {
    flex: 0 0 auto;
    min-width: 380px;
}

.service-title {
    font-size: 22px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-dark);
    line-height: 26px;
    margin: 0 0 10px 0;
}

.service-description {
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    color: var(--color-text-light);
    line-height: 26px;
    margin: 0;
}

/* ===================================
   SERVICE FEATURES
   =================================== */
.service-features {
    flex: 0 0 auto;
    min-width: 220px;
}

.service-features ul {
    list-style: disc;
    padding-left: 21px;
    margin: 0;
}

.service-features li {
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    color: var(--color-text-light);
    line-height: 26px;
    margin-bottom: 0;
}

/* ===================================
   VERTICAL DIVIDER
   =================================== */
.vertical-divider {
    width: 1px;
    height: 57px;
    background-color: var(--color-border);
    flex-shrink: 0;
    align-self: center;
}

/* ===================================
   OUTCOME SECTION
   =================================== */
.outcome-section {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-left: 1rem;
	justify-content: flex-end;
}

.icon-circle {
    flex-shrink: 0;
    width: var(--icon-circle-size);
    height: var(--icon-circle-size);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    width: 36px;
    height: 36px;
}

.outcome-text {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    line-height: 26px;
    margin: 0;
    max-width: 286px;
}

/* ===================================
   ACCESSIBILITY
   =================================== */
.service-item:focus-within {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}




/* ===================================
   LARGE DESKTOP (1200px and below)
   =================================== */
@media screen and (max-width: 1200px) {
	
	.timeline-line2 {
    position: absolute;
    left: var(--timeline-left);
    top: 74px;
    height: 600px;
    width: var(--timeline-width);
    background-color: var(--color-primary);
    z-index: 1;
	}

    .service-content {
        gap: 1.5rem;
    }

    .service-info {
        min-width: 290px;
    }

    .service-features {
        min-width: 180px;
    }

    .outcome-section {
        gap: 1.5rem;
        padding-left: 0.5rem;
    }

    .outcome-text {
        font-size: 17px;
        max-width: 240px;
    }
}


@media screen and (min-width: 900px) and (max-width: 1024px) {
	
	.timeline-line2 {
    position: absolute;
    left: var(--timeline-left);
    top: 74px;
    height: 930px;
    width: var(--timeline-width);
    background-color: var(--color-primary);
    z-index: 1;
	}
}



/* ===================================
   TABLET LANDSCAPE (1024px and below)
   =================================== */
@media screen and (max-width: 1024px) {
    .service-content {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .service-info {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .service-features {
        flex: 0 0 auto;
        min-width: 200px;
    }

    .vertical-divider {
        display: none;
    }

    .outcome-section {
        flex: 0 0 100%;
        padding-left: 0;
        margin-top: 1rem;
        gap: 1.5rem;
		justify-content: flex-start;
    }

    .outcome-text {
        max-width: 100%;
        font-size: 17px;
    }
    
    /* Hide borders on tablet and below */
    .service-item {
        border-bottom: none !important;
    }
}

/* ===================================
   TABLET PORTRAIT (900px and below)
   =================================== */
@media screen and (max-width: 900px) {
		
	
    :root {
        --circle-size: 48px;
        --icon-circle-size: 58px;
        --timeline-left: 60px;
    }

    .services-container {
        padding: 2.5rem 1.75rem;
    }

    .services-list {
        padding-left: 100px;
    }

    .number-circle {
        left: -72px;
        top: 20px;
    }

    .timeline-line2 {
        left: var(--timeline-left);
        top: 68px;
        min-height: 812px;
    }

    .service-item {
        padding: 1.5rem 0;
        margin-bottom: 28px;
        border-bottom: none !important;
    }

    .service-title {
        font-size: 21px;
        line-height: 28px;
    }

    .service-description {
        font-size: 13px;
        line-height: 22px;
    }

    .service-features {
        min-width: 180px;
    }

    .service-features li {
        font-size: 13px;
        line-height: 22px;
    }

    .outcome-text {
        font-size: 16px;
        line-height: 24px;
    }

    .icon-circle {
        width: 58px;
        height: 58px;
    }

    .service-icon {
        width: 34px;
        height: 34px;
    }
}

/* ===================================
   SMALL TABLET (768px and below)
   =================================== */
@media screen and (max-width: 768px) {
    :root {
        --circle-size: 44px;
        --icon-circle-size: 56px;
        --timeline-left: 50px;
    }

    .services-container {
        padding: 2rem 1.5rem;
    }

    .services-list {
        padding-left: 95px;
    }

    .number-circle {
        left: -66px;
        top: 20px;
    }

    .timeline-line2 {
        left: var(--timeline-left);
        top: 64px;
        height: 540px;
    }

    .service-item {
        padding: 1.25rem 0;
        margin-bottom: 24px;
        border-bottom: none !important;
    }

    .number {
        font-size: 16px;
    }

    .service-title {
        font-size: 20px;
        line-height: 28px;
    }

    .service-description {
        font-size: 13px;
        line-height: 22px;
    }

    .service-features {
        min-width: 160px;
    }

    .service-features li {
        font-size: 13px;
        line-height: 22px;
    }

    .outcome-text {
        font-size: 16px;
        line-height: 24px;
    }

    .icon-circle {
        width: 56px;
        height: 56px;
    }

    .service-icon {
        width: 32px;
        height: 32px;
    }
}

/* ===================================
   MOBILE LANDSCAPE / SMALL TABLET (640px and below)
   =================================== */
@media screen and (max-width: 640px) {
    :root {
        --circle-size: 40px;
        --icon-circle-size: 52px;
        --timeline-left: 20px;
    }

    .services-container {
        padding: 1.5rem 1rem;
    }

    .services-list {
        padding-left: 0;
        padding-top: 0;
    }

    .service-item {
        padding: 1.5rem 0 1.5rem 60px;
        margin-bottom: 24px;
        min-height: auto;
        border-bottom: none !important;
    }

    .number-circle {
        left: 0;
        top: 24px;
    }

    .timeline-line2 {
        left: 20px;
        top: 64px;
        height: calc(100% - 80px);
    }

    .service-content {
        flex-direction: column;
        gap: 1.25rem;
    }

    .service-info {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .service-title {
        font-size: 19px;
        line-height: 26px;
        margin-bottom: 8px;
    }

    .service-description {
        font-size: 13px;
        line-height: 21px;
    }

    .service-features {
        min-width: auto;
        width: 100%;
        margin-top: 0.5rem;
    }

    .service-features ul {
        padding-left: 18px;
    }

    .service-features li {
        font-size: 13px;
        line-height: 21px;
        margin-bottom: 2px;
    }

    .outcome-section {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        margin-top: 1.25rem;
        padding-left: 0;
        padding-top: 1.25rem;
        border-top: none !important;
    }

    .icon-circle {
        width: 52px;
        height: 52px;
        flex-shrink: 0;
    }

    .service-icon {
        width: 30px;
        height: 30px;
    }

    .outcome-text {
        font-size: 15px;
        line-height: 21px;
        flex: 1;
    }
}

/* ===================================
   MOBILE (480px and below)
   =================================== */
@media screen and (max-width: 480px) {
    :root {
        --circle-size: 38px;
        --timeline-left: 19px;
    }

    .services-container {
        padding: 1.25rem 0.875rem;
    }

    .service-item {
        padding: 1.25rem 0 1.25rem 54px;
        margin-bottom: 20px;
        border-bottom: none !important;
    }

    .number-circle {
        width: 38px;
        height: 38px;
        left: 0;
        top: 20px;
    }

    .number {
        font-size: 14px;
    }

    .timeline-line2 {
        left: 19px;
        top: 58px;
    }

    .service-title {
        font-size: 17px;
        line-height: 24px;
    }

    .service-description {
        font-size: 12px;
        line-height: 19px;
    }

    .service-features li {
        font-size: 12px;
        line-height: 19px;
    }

    .outcome-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.875rem;
        border-top: none !important;
    }

    .icon-circle {
        width: 46px;
        height: 46px;
    }

    .service-icon {
        width: 26px;
        height: 26px;
    }

    .outcome-text {
        font-size: 14px;
        line-height: 20px;
    }
}

/* ===================================
   SMALL MOBILE (375px and below)
   =================================== */
@media screen and (max-width: 375px) {
    :root {
        --circle-size: 36px;
        --timeline-left: 18px;
    }

    .services-container {
        padding: 1rem 0.75rem;
    }

    .service-item {
        padding: 1rem 0 1rem 50px;
        margin-bottom: 18px;
        border-bottom: none !important;
    }

    .number-circle {
        width: 36px;
        height: 36px;
        left: 0;
    }

    .number {
        font-size: 13px;
    }

    .timeline-line2 {
        left: 18px;
        top: 54px;
    }

    .service-title {
        font-size: 16px;
        line-height: 22px;
    }

    .service-description {
        font-size: 11px;
        line-height: 18px;
    }

    .service-features ul {
        padding-left: 16px;
    }

    .service-features li {
        font-size: 11px;
        line-height: 18px;
    }

    .outcome-text {
        font-size: 13px;
        line-height: 19px;
    }

    .icon-circle {
        width: 42px;
        height: 42px;
    }

    .service-icon {
        width: 24px;
        height: 24px;
    }
}

/* ===================================
   EXTRA SMALL MOBILE (320px and below)
   =================================== */
@media screen and (max-width: 320px) {
    :root {
        --circle-size: 34px;
        --timeline-left: 17px;
    }

    .services-container {
        padding: 0.875rem 0.625rem;
    }

    .service-item {
        padding: 0.875rem 0 0.875rem 46px;
        margin-bottom: 16px;
    }

    .number-circle {
        width: 34px;
        height: 34px;
    }

    .number {
        font-size: 12px;
    }

    .service-title {
        font-size: 15px;
        line-height: 21px;
    }

    .service-description {
        font-size: 10px;
        line-height: 17px;
    }

    .service-features li {
        font-size: 10px;
        line-height: 17px;
    }

    .outcome-text {
        font-size: 12px;
        line-height: 18px;
    }

    .icon-circle {
        width: 40px;
        height: 40px;
    }

    .service-icon {
        width: 22px;
        height: 22px;
    }
}

/* ===================================
   LANDSCAPE MOBILE
   =================================== */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .services-container {
        padding: 1rem;
    }

    .service-item {
        padding: 0.75rem 0 0.75rem 60px;
        min-height: auto;
        border-bottom: none !important;
    }

    .timeline-line2 {
        height: calc(100% - 60px);
    }

    .service-title {
        font-size: 16px;
        line-height: 22px;
    }

    .service-description,
    .service-features li {
        font-size: 12px;
        line-height: 18px;
    }
}

/* ===================================
   LARGE DESKTOP (1400px and above)
   =================================== */
@media screen and (min-width: 1400px) {
    .max-width-wrapper {
        max-width: 1400px;
    }

    .service-title {
        font-size: 24px;
        line-height: 30px;
    }

    .service-description {
        font-size: 15px;
        line-height: 28px;
    }

    .service-features li {
        font-size: 15px;
        line-height: 28px;
    }

    .outcome-text {
        font-size: 19px;
        line-height: 28px;
    }

    .icon-circle {
        width: 68px;
        height: 68px;
    }

    .service-icon {
        width: 40px;
        height: 40px;
    }
}

/* ===================================
   VERY LARGE DESKTOP (1600px and above)
   =================================== */
@media screen and (min-width: 1600px) {
    .max-width-wrapper {
        max-width: 1500px;
    }

    .services-list {
        padding-left: 130px;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .services-container {
        padding: 0;
    }

    .service-item {
        page-break-inside: avoid;
        border-bottom: none !important;
    }

    .timeline-line2 {
        background-color: #000;
    }

    .number-circle {
        background-color: #000;
    }
}

/* ===================================
   HIGH CONTRAST MODE
   =================================== */
@media (prefers-contrast: high) {
    .service-item {
        border-bottom-width: 0 !important;
    }

    .timeline-line2 {
        width: 3px;
    }

    .number-circle,
    .icon-circle {
        border-width: 3px;
    }
}