/* Services Page Specific Styles */

/* Force light theme for services page content */
body.services-page { background: #fff !important; color: #333 !important; font-family: 'Poppins', sans-serif; overflow-x: hidden; }

/* Timeline Styles */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

/* The vertical line */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #333;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: 1;
}

/* Base class for rows that have dots on the timeline */
.timeline-point {
    position: relative;
}

/* The dots on the timeline */
.timeline-point::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #333;
    border: 2px solid #fff;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 10;
}

/* Title Bar Styles */
.service-title-row {
    width: 50%;
    margin-bottom: 40px;
}
.service-title-row.left-side {
    padding-right: 40px;
    text-align: right;
}
.service-title-row.right-side {
    left: 50%;
    padding-left: 40px;
    text-align: left;
}

.service-title-row.left-side::after {
    right: -6px;
}
.service-title-row.right-side::after {
    left: -6px;
}

.service-title-bar {
    background: #999;
    color: #fff;
    padding: 12px 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    width: 100%;
}
.left-side .service-title-bar { border-radius: 4px 0 0 4px; }
.right-side .service-title-bar { border-radius: 0 4px 4px 0; }

/* Content Row Styles */
.content-row {
    margin-bottom: 80px;
    position: relative;
}

.content-col {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
}

/* Image Side */
.image-side {
    justify-content: center;
}
.image-side::after {
    /* Dot for image side */
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #333;
    border: 2px solid #fff;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 10;
}
.left-side.image-side::after { right: -6px; }
.right-side.image-side::after { left: -6px; }

.dotted-line {
    position: absolute;
    top: 50%;
    height: 2px;
    border-top: 2px dotted #ccc;
    width: 120px;
    z-index: 1;
}
.left-side.image-side .dotted-line { right: 0; }
.right-side.image-side .dotted-line { left: 0; }

.circle-img-wrap {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #f8f8f8;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s;
}
.circle-img-wrap:hover { transform: scale(1.05); }

.circles-group {
    display: flex;
    gap: -40px;
    position: relative;
}
.left-side.image-side .circles-group { justify-content: flex-end; }
.right-side.image-side .circles-group { justify-content: flex-start; }

.circle-img-wrap:nth-child(2) {
    margin-left: -40px;
    margin-top: 40px;
    z-index: 1;
}
.circle-img-wrap img {
    width: 90%;
    height: auto;
}

/* Text Side */
.text-side {
    padding: 0 !important;
}
.text-box {
    background: #999;
    color: #fff;
    padding: 25px 30px;
    font-size: 14px;
    line-height: 1.8;
    width: 100%;
    position: relative;
    z-index: 2;
}
.text-box h4 {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}
.text-box p {
    margin: 0;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
}

/* Floating Sidebar Menu */
.floating-menu {
    position: fixed;
    left: 0;
    top: 200px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    width: 160px;
}
.floating-menu a {
    background: #999;
    color: #fff;
    padding: 12px 15px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 2px;
    transition: all 0.3s;
    text-transform: uppercase;
    line-height: 1.3;
    border-left: 0 solid var(--hover-color, #2ec1e1);
}
.floating-menu a:hover {
    background: #333;
    padding-left: 20px;
    border-left: 5px solid var(--hover-color, #2ec1e1);
}

@media (max-width: 768px) {
    .timeline-container::after { left: 30px; }
    .service-title-row { width: 100% !important; left: 0 !important; padding-left: 60px !important; padding-right: 20px !important; text-align: left !important; }
    .service-title-row::after { left: 24px !important; right: auto !important; }
    .service-title-bar { border-radius: 4px !important; }
    
    .content-row .col-md-6 { width: 100%; padding-left: 60px !important; padding-right: 20px !important; margin-bottom: 30px; }
    .image-side { order: 1; justify-content: flex-start; }
    .text-side { order: 2; }
    
    .image-side::after { left: 24px !important; right: auto !important; }
    .dotted-line { left: 30px; width: 30px; }
    .circle-img-wrap { width: 150px; height: 150px; }
    
    .floating-menu { display: none; }
}
