.elementor-38985 .elementor-element.elementor-element-54049c8{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:78px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-38985 .elementor-element.elementor-element-33e0791{width:100%;max-width:100%;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}/* Start custom CSS */.cus_our_customers p{ 
    margin-bottom: unset;
 }
 @media  ( max-width: 767px ) {
 .cus_content_pos{
     position:relative;
     margin:0px;
     min-height:80vh;
 }
 }
 
 
 .cus_hidden{
    display:none!important;
} 

/* 1. Timeline Container */
.timeline-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  
}

/* 2. The Horizontal Line and Flexbox Layout */
.timeline {
    display: flex;
    justify-content: space-between; /* Distributes items evenly */
    align-items: center;
    position: relative;
    padding-top: 20px; /* Space for the line */
}

/* Creating the main horizontal line using a pseudo-element */
.timeline::before {
    content: '';
    position: absolute;
    top: 14px; /* Vertical position of the line */
    left: 0;
    right: 0;
    height: 4px; /* Thickness of the line */
    background-color: #4CAF50; /* Green line color */
    z-index: 1;
  
    right: calc(100% / 16);
}




/* 3. Individual Timeline Item */
.timeline-item {

    position: relative;
    flex-shrink: 0; /* Prevents items from shrinking too much */
    z-index: 2; /* Ensures content is above the line */
    padding: 0px;
}

/* 4. The Milestone Marker (Green Dot) */
.timeline-item::before {
    content: '';
    position: absolute;
    top: -12px; /* Positions the dot on the horizontal line */
    left: 12%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background-color: #4CAF50; /* Green dot color */
    border: 3px solid #e8f5e9; /* Light border to cover the line segment */
    border-radius: 50%;
    z-index: 3;
}

/* 5. Date Styling */
.date {
    font-weight: bold;
    color: #388E3C; /* Darker green for text */
    padding-top: 15px; /* Space between dot and date */
    white-space: nowrap; /* Keeps date on a single line */
}

/* 6. Event Detail/Badge Styling (for 'Launched' text) */
.event-details {
    padding-top: 5px;
}

.badge {
    display: inline-block;
    background-color: #388E3C;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: normal;

}

.timeline-start {
text-align: left!important;
}

@media (max-width: 468px) {
    
    /* 1. Timeline Container (Essential for Scrolling) */
    .timeline {
        /* Enables horizontal scrolling */
        overflow-x: auto; 
        /* Prevents flex items from wrapping */
        flex-wrap: nowrap;
        /* Ensures items are aligned to the start (left) */
        justify-content: flex-start;
        /* Hide the vertical scrollbar */
        overflow-y: hidden;
    }
    
    /* 2. Timeline Item adjustments for horizontal flow */
    .timeline-item {
        /* Override display: none for items (assuming it was there) and ensure horizontal flow */
        display: inline-block !important; /* Use !important if needed to override previous hidden rule */
        /* CRITICAL: Set a fixed width for consistent spacing */
        width: 120px; /* Adjust this value (e.g., 100px, 150px) to comfortably fit your longest text/date */
        /* CRITICAL: Prevents the item from shrinking in the flex container */
        flex-shrink: 0; 
        padding: 10px 0;
        white-space: normal;
        text-align: center; /* Center the text within the fixed width */
        margin-right: 0; /* Remove margin since the fixed width handles spacing */
    }

    /* Override the rule that hides middle items to ensure they all appear */
    .timeline-item:not(.timeline-start) {
        display: inline-block !important;
        margin-right: 0; /* Remove margin-right since we use fixed width */
    }

    /* 3. Horizontal Line Adjustment */
    .timeline::before {
        top: 38px;
        height: 4px;
        /* Line must extend across all scrollable items */
        width: 100%; /* Keep a large width to cover all items */
      left: calc(100% / 106);
      width: 780px; /* Increase this value if you have many items */
        
        /* Keep these values as they are for the line to start correctly */
        left: calc(100% / 100); 
        
    }

    /* 4. Dot Positioning Fix (Resolving the 38px vs 13px Conflict) */
    /* The dot must be placed at 38px to align with the line's top: 38px position */
    .timeline-item::before {
        top: 12px; /* Corrected to align with the line */
        /* Ensures dot is centered over the fixed-width item */
        transform: translateX(-50%);
        margin-left: 0; 
    }
    
    /* 5. Date and Badge Styling */
    .date {
        margin-top: 15px; 
        white-space: normal;
        padding-left:5px;
        text-align: left;
    }
    
    .badge {
        white-space: normal;
        display: block; 
        text-align: center;
    }
}
/* Make all timeline items clickable/interactive */
.timeline-item {
    /* ... existing styles ... */
    cursor: pointer; /* Change cursor to a pointer hand */
}

/* Utility class to hide the event details */
.cus_hidden {
    display: none;
    opacity: 0;
    /* Optional: Add a smooth transition for toggling */
    transition: opacity 0.3s ease-out;
}

/* Make the currently active year's dot stand out (Optional) */
.timeline-item.active::before {
  /* 1. Remove the scaling/enlargement */
    transform: translateX(-50%) scale(1); 
    
   border: 3px solid #FF0000; /* Bright Red border */
    
    /* Ensure the dot remains solid green inside the red ring */
    background-color: #4CAF50;
    
    /* The transition is kept for a smooth change */
    transition: all 0.2s ease-out;
}




/* --- SLIDER ANIMATION STYLES --- mk*/
.year-content {
    /* Base positioning and size */
    position: absolute; 
    top: 0;         /* Corrected 'p' to 'top' */
    left: 0;        /* Corrected 'ft' to 'left' */
    width: 100%;    /* Corrected 'dth' to 'width' */
    
    /* Animation and initial hidden state */
    opacity: 0;     /* Corrected 'acity' to 'opacity' */
    transform: translateX(100%); /* Corrected 'ansform' to 'transform' (Starts off-screen to the right) */
    transition: transform 0.6s ease, opacity 0.6s ease; /* Corrected 'ansition' to 'transition' */
}

.year-content.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  z-index: 2;
}

.year-content.slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
}

.year-content.slide-out-right {
  transform: translateX(100%);
  opacity: 0;
}

.year-content.slide-in-left {
  transform: translateX(-100%);
}

.year-content.slide-in-right {
  transform: translateX(100%);
}

/* Keep your existing .cus_hidden for initial state */
.cus_hidden {
  display: none !important;
}

.event-details {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.event-details.show {
  visibility: visible;
  opacity: 1;
}/* End custom CSS */