*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
#case-studies5 .section-1{
    width: 100%;
    /* border: 2px solid red; */
    background-color: #084c7f;
    /* height: 130px; */
    padding: 25px;
}
#case-studies5 .section-1 p{
    font-size: 1.2rem;
    width: 98%;
    /* border: 2px solid; */
    margin-left: 1%;
    line-height: 3.5vh;
    color: #fff;
    /* padding-left: 5%; */
}

/* ------------------------------------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------------------ */

#case-studies5 .challenges-section {
    width: 100%;
    /* margin: 50px auto; */
    padding: 20px;
    background-color: #f8f9fa;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
   
  }
  
  #case-studies5 .section-title {
    text-align: center;
    color:#2c3e50;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  }
  
  #case-studies5 .intro {
    font-size: 18px;
    text-align: center;
    color: #555;
    margin-bottom: 30px;
  }
  
  #case-studies5 .challenge {
    width: 90%;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #084c7f;
    transition: transform 0.3s;
    background-color: #fff;
    margin-left: 5%;
  }
  
  .challenge-title {
    font-size: 21px;
    color: #084c7f;
    margin-bottom: 10px;
  }
  
  #case-studies5 .challenge-desc {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
  }
  
  /* Add hover effect */
  #case-studies5 .challenge:hover {
    transform: translateX(10px);
    background-color: #f1faff;
  }
  @media (max-width: 768px){
     
  .challenge-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
  }
  }
/* ---------------------------------------------------------------------------------------------------- */
  #case-studies5 .section-3{
    text-align: center;
    height: 300px;
    width: 100%;
    /* border: 2px solid red; */
    background-image: url(https://img.freepik.com/premium-photo/blank-blue-cement-wall-texture-background_7190-199.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    /* background: linear-gradient(rgba(#220,#007bff,#f1faff,#333)); */
  }
#case-studies5 .section-3-heading{
    font-size: 1.5rem;
    width: 95%;
     padding-top: 3%;
     padding-left: 5%;
     color: #5bb949;
}
#case-studies5 .section-3-content{
    padding-left: 5%;
    width: 95%;
    font-size: 1.2rem;
    padding-top: 1%;
}

@media (max-width: 768px) {

    .section-3{
    height: 100%;
    width: 100%;
    /* border: 2px solid red; */
    background-color: #e5f3ff;
    /* background-image: url(https://img.freepik.com/premium-photo/blank-blue-cement-wall-texture-background_7190-199.jpg);
    background-repeat: no-repeat;
    background-position: center; */
    }
    .section-3-content{
        font-size: 1.1rem;
    }
}
/* ----------------------------------------------------------------------------------------------------------------- */

#case-studies5 .section-container {
    display: flex;
    width: 100%;
    /* max-width: 1300px; */
    background-color: #fff;
    /* border-radius: 10px; */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* border: 2px solid red; */
    /* margin-left: 2%; */
}
#case-studies5 .image-side {
    flex: 1;
    background: url('https://creativestudiosderby.co.uk/wp-content/uploads/2020/11/AdobeStock_362316663.jpg') no-repeat center center/cover;
    min-height: 100%;
}
#case-studies5 .accordion-side {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}
#case-studies5 .accordion-header {
    /* border: 1px solid; */
    font-size: 1.2em;
    color: #0073e6;
    background-color: #e6f2ff;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* border-radius: 5px; */
    display: flex;
    align-items: center;
}
#case-studies5 .accordion-header:hover {
    background-color: #b3d9ff;
}
#case-studies5 .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 15px;
    font-size: 1em;
    line-height: 1.6;
}
#case-studies5 .accordion-content.open {
    max-height: 300px;
    padding: 10px 15px;
    background-color: white;
    color: black;
    border: 1px solid gray;
    /* border-radius: 10px; */
}
#case-studies5 .benifit-section{
    height: 300px;
    border: 2px solid;
    width: 100%;

}

#case-studies5 .benifit-content{
   font-size: 1.2rem;
   padding-top: 3%;
   padding-left:11% ;
}

  /* ---------------------------------------------------------------------------------------------------------------- */
 
    #case-studies5 .slider-container {
        width: 80%;
        margin: 50px auto;
        overflow: hidden;
        position: relative;
    }
    #case-studies5 .slider {
        display: flex;
        transition: transform 0.5s ease;
    }
    #case-studies5 .card {
        min-width: calc(100% / 3); /* Each card takes 1/3 of the container */
        margin: 0 10px;
        background: #f8f9fa;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 20px;
        text-align: center;
    }
    #case-studies5 .card h3 {
        margin-bottom: 10px;
        color: #084c7f;
    }
    #case-studies5 .card p {
        color: #363434;
    }
    #case-studies5 .nav-btn {
        height: 50px;
        width: 50px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #333;
        color: #fff;
        border: none;
        padding: 10px;
        cursor: pointer;
        border-radius: 50%;
        z-index: 10;
    }
    #case-studies5 .nav-btn.left {
        left: 10px;
    }
    #case-studies5 .nav-btn.right {
        right: 10px;
    }


    @media (max-width: 768px) {
        .slider {
            transform: translateX(0); /* Reset initial position */
        }
        .card {
            min-width: 100%; /* Full width on mobile for single card display */
        }
    }

    /* Mobile responsiveness for 340px to 480px screens */
@media (max-width: 480px) and (min-width: 340px) {

    /* Slider Container */
    #case-studies5 .slider-container {
        width: 90%; /* Increase width to use more of the screen */
        margin: 20px auto; /* Reduce margin to fit better on small screens */
        overflow: hidden;
    }

    /* Slider */
    #case-studies5 .slider {
        display: flex;
        transition: transform 0.5s ease;
    }

    /* Card */
    #case-studies5 .card {
        min-width: 100%; /* Each card will take full width on small screens */
        margin: 0 5px; /* Reduce margin for better fitting */
        padding: 15px; /* Reduce padding to fit the card content */
    }

    #case-studies5 .card h3 {
        margin-bottom: 8px; /* Reduced margin for tighter layout */
        font-size: 18px; /* Adjust heading size */
        color: #084c7f;
    }

    #case-studies5 .card p {
        font-size: 14px; /* Adjust paragraph font size */
        color: #363434;
    }

    /* Navigation Button */
    #case-studies5 .nav-btn {
        height: 40px; /* Reduce button size */
        width: 40px; /* Reduce button size */
        top: 50%;
        transform: translateY(-50%);
        background: #333;
        color: #fff;
        border: none;
        padding: 10px;
        cursor: pointer;
        border-radius: 50%;
        z-index: 10;
    }

    /* Left Navigation Button */
    #case-studies5 .nav-btn.left {
        left: 10px;
    }

    /* Right Navigation Button */
    #case-studies5 .nav-btn.right {
        right: 10px;
    }
}

    /* ------------------------------------------------------------------------------------------------ */

    #case-studies5 .results-section {
        width: 100%;
        margin: 50px auto;
        padding: 40px;
        background-color: #e5f3ff;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    #case-studies5 .results-section h2 {
        font-size: 28px;
        color: #2c3e50;
        text-align: center;
        margin-bottom: 30px;
    }
    #case-studies5 .results-item {
        /* border: 1px solid; */
        display: flex;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 20px;
        margin-left: 20%;
    }
    #case-studies5 .results-icon {
        font-size: 24px;
     
    }
    #case-studies5 .results-content {
        flex: 1;
    }
    #case-studies5 .results-content h3 {
        font-size: 20px;
        margin-bottom: 8px;
        color: #333;
    }
    #case-studies5 .results-content p {
        font-size: 16px;
        line-height: 1.6;
        color: #555;
    }
    
     /* ------------------------------------------------------------------------------------------------------------ */
    #case-studies5 .tools-timeline-section {
    /* border: 2px solid; */
        width: 100%;
        padding: 20px;
        background-color: #e5f3ff;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }
    #case-studies5 .tools-timeline-section h2 {
        font-size: 28px;
        color: #084c7f;
        text-align: center;
        margin-bottom: 40px;
    }
    #case-studies5 .timeline {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    #case-studies5 .timeline::before {
        content: '';
        position: absolute;
        bottom: 270px;
        left: 0;
        right: 0;
        height: 4px;
        background-color: #084c7f;
        z-index: 1;
    }
    #case-studies5 .timeline-item {
        position: relative;
        flex: 1 1 200px;
        text-align: center;
    }
    #case-studies5 .timeline-icon {
        font-size: 30px;
        color: #084c7f;
        background-color: #fff;
        border: 4px solid #084c7f;
        padding: 15px;
        border-radius: 50%;
        margin-bottom: 35px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    #case-studies5 .timeline-content {
        background-color: #fafbffc9;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        position: relative;
        top: -30px;
        min-width: 250px;
        max-width: 270px;
        height: 200px;
        border: 1px solid gray;
        margin-left: 13%;
        margin-top: 2%;
    }
    #case-studies5 .timeline-content h3 {
        font-size: 20px;
        color: #333;
        margin-bottom: 10px;
    }
    #case-studies5 .timeline-content p {
        font-size: 16px;
        color: #555;
        line-height: 1.5;
    }
    /* Mobile responsiveness for 340px to 480px screens */
@media (max-width: 480px) and (min-width: 340px) {

    /* Tools Timeline Section */
    #case-studies5 .tools-timeline-section {
        padding: 10px;
        background-color: #e5f3ff;
    }

    #case-studies5 .tools-timeline-section h2 {
        font-size: 24px; /* Adjust heading size */
        margin-bottom: 30px; /* Less space below the heading */
    }

    /* Timeline Wrapper */
    #case-studies5 .timeline {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center align items */
        justify-content: center; /* Center align items */
        position: relative;
    }

    /* Timeline line */
    #case-studies5 .timeline::before {
        content: '';
        position: absolute;
        bottom: 10px; /* Adjust line to fit better */
        left: 50%;
        transform: translateX(-50%); /* Center the line */
        height: 4px;
        background-color: #084c7f;
        z-index: 1;
        width: 100%; /* Make the line full width */
    }

    /* Timeline Item */
    #case-studies5 .timeline-item {
        position: relative;
        flex: 1 1 auto; /* Allow items to shrink and grow */
        text-align: center;
        margin-bottom: 40px; /* Space between items */
    }

    #case-studies5 .timeline-icon {
        font-size: 24px; /* Adjust icon size for mobile */
        padding: 10px;
        /* margin-bottom: 20px; Less space between icon and text */
        border-width: 3px; /* Thinner border */
        position: absolute;
        left: 0;
        /* bottom: 10px; */
        top: -25px;
    }

    #case-studies5 .timeline-content {
        width: 90%; /* Use most of the available width */
        max-width: none; /* Remove max-width restriction */
        padding: 15px; /* Reduce padding */
        margin-left: 0; /* Remove left margin */
        margin-top: 10px; /* Adjust margin-top */
        min-width: 0; /* Remove minimum width */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        position: relative;
        top: 0;
        height: 120px;
    }

    #case-studies5 .timeline-content h3 {
        font-size: 18px; /* Adjust heading size */
        margin-bottom: 8px; /* Less space between heading and text */
    }

    #case-studies5 .timeline-content p {
        font-size: 14px; /* Adjust paragraph font size */
        line-height: 1.4; /* Adjust line height */
    }
    /*  */
    #case-studies5 .section-3{
        min-height: 440px;
    }

}

    @media (max-width: 768px) {
        .result-section{
           background-color: #f8f9fa;
        }
        .timeline {
            display: block;
        }
        .timeline-item {
            width: 100%; /* Each item takes up the full width */
        }
        .timeline-content{
            margin-left: 10%;
            background-color: #fff;
        }
        
    }

    /* -------------------------------------conclusion---------------------------------- */
    #case-studies5 #conclusion5 {
        display: flex;
        background: linear-gradient(to right, #f0f0f0 50%, #d9edf7 50%);
        padding: 10px;
        /* border: 2px solid red; */
        text-align: center;
      }
      
      #case-studies5 .content {
        width: 100%;
        padding: 20px;
        animation: fadeIn 1.5s ease-in;
      }
      
      #case-studies5 #conclusion-heading{

        font-size: 2rem;
        color:#5bb949;
      }
      
      #case-studies5 .conclusion-content{
        font-size: 1.1rem;
        margin-top: 1.5%;
        line-height: 1.5;
        color: #252424;
      }
      
      #case-studies5 .question {
        font-weight: bold;
        color: #084c7f;
        margin-top:20px;
      }
      
      #case-studies5 .contact-trigger {
        display: inline-block;
        padding: 10px;
        /* background-color: #084c7f; */
        /* color: #fff; */
        cursor: pointer;
        /* margin-top: 50px; */
        transition: transform 0.2s, background-color 0.3s;
      }
      #case-studies5 .contact-trigger{
        color: #5bb949;
        font-weight: bold;
        font-size: 1.3rem;
      }
      
      #case-studies5 .contact-trigger:hover {
        background-color: #003366;
        transform: scale(1.05);
      }
      
      @keyframes fadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }
      