#casestudy{
	margin-top: 70px;
}

#casestudy > .intro{
    background-image: url("../img/casestudy/casestudy.webp");
    background-size: cover;
    background-position: top center;
    padding: 80px 0 150px;
    color: white;
}

#casestudy .intro .info{
    width: 80%;
    margin: 0 auto;
    
}

#casestudy .intro .desc{
    padding: 100px 0;
    text-align: center;
}

#casestudy .tab.container{
    margin: 50px 0;
}

#casestudy .tab .tab-header{
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    border-bottom: 1px solid grey;
}

#casestudy .tab .tab-header .tab-indicator{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #4da6ff, #006bb3);
    border-radius: 4px 4px 0 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
}

#casestudy .tab .flexbox{
    flex: 0 1 25%;
    text-align: center;
    cursor: pointer;
    height: 100px;
    line-height: 100px;
}

#casestudy .tab.container .case{
    display: none;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

#casestudy .tab.container .case.active{
    display: block;
}

#casestudy .tab.container .tech-area{
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: start;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#casestudy .tab.container .tech-area .banner{
    flex: 0 1 50%;
}

#casestudy .tab.container .tech-area .intro{
    flex: 0 1 50%;
    text-align: left;
    padding: 25px 0 25px 25px;
}

#casestudy .tab.container .tech-area .left-cover{
    position: absolute;
    background-color: aliceblue;
    width: 50%;
    height: 100%;
    left: 0;
    z-index: -1;
}

#casestudy .tab.container .tech-area .right-cover{
    position: absolute;
    background-color: aliceblue;
    width: 50%;
    height: 100%;
    right: 0;
    z-index: -1;
}

#casestudy .tab.container .tech-area:nth-child(2) .intro{
    padding-top: 0;
}

#casestudy .tab.container .tech-area .intro h3{
    margin: 15px 0;
}

#casestudy .tab.container .tech-area .intro .feature{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    row-gap: 10px;
}

#casestudy .tab.container .tech-area .intro .feature span{
    flex: 0 1 30%;
    font-style: italic;
    font-weight: 400;
}

#casestudy .tab.container .tech-area .intro .feature span i{
    width: 32px;
    padding-right: 10px;
}

#casestudy .tab.container .tech-area .intro .card{
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 20px 0 0 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    margin: 40px 0 20px;
    width: 95%;
    cursor: pointer;
}

#casestudy .tab.container .tech-area .intro .card:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

#casestudy .tab.container .tech-area .intro .card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

#casestudy .tab.container .tech-area .intro .card.core::before{
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

#casestudy .tab.container .tech-area .intro .card.challenges::before{
    background: linear-gradient(90deg, #e74c3c, #f39c12);
}

#casestudy .tab.container .tech-area .intro .card.approach::before{
    background: linear-gradient(90deg, #9b59b6, #1abc9c);
}

#casestudy .tab.container .tech-area .intro .card .card-header{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#casestudy .tab.container .tech-area .intro .card .card-header > span{
    font-weight: bold;
    font-style: italic;
}

#casestudy .tab.container .tech-area .intro .card .card-header .icon{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 16px;
}

#casestudy .tab.container .tech-area .intro .card .core .icon{
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
}

#casestudy .tab.container .tech-area .intro .card .challenges .icon{
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

#casestudy .tab.container .tech-area .intro .card .approach .icon{
    background: rgba(155, 89, 182, 0.15);
    color: #9b59b6;
}

#casestudy .tab.container .tech-area .intro .card h2{
    color: #2c3e50;
}

#casestudy .tab.container .tech-area .intro .card .items{
    margin: 0;
    padding: 0 10px;
    list-style-type: none;
}

#casestudy .tab.container .tech-area .intro .card .items .item{
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
}

#casestudy .tab.container .tech-area .intro .card .items .item:last-child{
    border-bottom: none;
}

#casestudy .tab.container .tech-area .intro .card .items .item i{
    color: #3498db;
    margin-right: 12px;
    min-width: 20px;
}

/*.benefits{
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 30px;
    margin-top: 20px;
}

.benefits h2{
    text-align: center;
    margin-bottom: 25px;
    color: #2c3e50;
}

.benefit-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.benefit{
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: rgba(52, 152, 219, 0.07);
    transition: all 0.3s;
}

.benefit:hover{
    background: rgba(52, 152, 219, 0.15);
    transform: scale(1.03);
}

.benefit i{
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
}

.benefit h3{
    margin-bottom: 10px;
    color: #2c3e50;
}*/


#casestudy .case > h2{
    margin: 0;
    padding: 50px 0;
}

#casestudy .category{
    display: block;
    width: 80px;
    text-align: center;
    border-radius: 15px;
    font-size: 14px;
    padding: 4px 10px;
    cursor: default;
}

#casestudy .category.finance{
    background-color: #1938a1;
    color: white;
}

#casestudy .category.sales{
    background-color: #136749;
    color: white;
}

#casestudy .category.management{
    width: 120px;
    background-color: #186472;
    color: white;
}

#casestudy .category.hr{
    background-color: #ff7e75;
    color: white;
}

#casestudy .category.hotel{
    background-color: #e0af38;
    color: white;
}

#casestudy .category.ecosystem{
    width: 120px;
    background-color: #143136;
    color: white;
}

#casestudy .category.medical{
    background-color: #d14032;
    color: white;
}

#casestudy .category.manufacturer{
    width: 120px;
    background-color: #484a54;
    color: white;
}

@media only screen and (max-width: 1440px){
    #casestudy .tab.container .tech-area .intro .feature span{
        flex: 0 1 50%;
    }
    
    #casestudy .tab.container .tech-area .intro .card .card-header > span, #casestudy .tab.container .tech-area .intro .card .item span{
        font-size: 14px;
    }
    
    #casestudy .tab.container .tech-area .intro .card{
        margin-top: 30px;
        padding-top: 10px;
    }
}

@media only screen and (max-width: 1280px){
    h1{
        font-size: 38px !important;
    }
    
    h2{
        font-size: 32px !important;
    }
    
    h3{
        font-size: 26px !important;
    }
    
    h4{
        font-size: 20px !important;
    }
    
    #casestudy .tab.container .tech-area .intro{
        flex: 0 1 50%;
        text-align: left;
        padding-bottom: 0;
    }
    
    #casestudy .tab.container .tech-area .intro h3{
        margin: 15px 0;
    }
}

@media only screen and (max-width: 1024px){
    #casestudy .intro{
        padding: 50px 0 100px;
    }
    
    #casestudy .intro .desc{
        padding: 50px 0 0;
    }
    
    #casestudy .tab.container .tech-area{
        box-shadow: unset;
    }
    
    #casestudy .tab.container .tech-area .intro .feature span{
        flex: 0 1 100%;
    }
    
    #casestudy .tab.container .tech-area .left-cover, #casestudy .tab.container .tech-area .right-cover{
        display: none;
    }
    
    #casestudy .tab.container .tech-area:nth-child(odd){
        flex-direction: column-reverse;
    }
    
    #casestudy .tab.container .tech-area .banner, #casestudy .tab.container .tech-area .intro{
        flex: 0 1 100%;
        width: 100%;
    }
    
    #casestudy .tab.container .tech-area .banner, #casestudy .tab.container .tech-area .intro{
        padding: 0;
    }
    
    #casestudy .tab.container .tech-area:nth-child(n+3) .intro{
        padding: 15px 0 0;
    }
}

@media only screen and (max-width: 768px){/*iPad screen*/
    h1{
        font-size: 36px !important;
    }
    
    h2{
        font-size: 30px !important;
    }
    
    h3{
        font-size: 24px !important;
    }
    
    h4{
        font-size: 18px !important;
    }
}

@media only screen and (max-width: 580px){/*Ultra mobile screen*/
    h1{
        font-size: 24px !important;
    }
    
    h2{
        font-size: 20px !important;
    }
    
    h3{
        font-size: 16px !important;
    }
    
    h4{
        font-size: 14px !important;
    }
    
    #casestudy .tab .tab-header{
        width: 90%;
        padding: 20px 0;
    }
    
    #casestudy .tab.container .tech-area .intro .card {
        margin-top: 20px;
    }
    
    #casestudy .tab.container .tech-area .intro .card .card-header{
        margin-bottom: 0;
    }
    
    #casestudy .tab.container .tech-area .intro .card .card-header .icon {
        width: 24px;
        height: 24px;
        margin-right: 10px;
        font-size: 12px;
    }
    
    #casestudy .tab.container .tech-area .intro .card .items {
        padding: 0;
    }
    
    #casestudy .tab.container .tech-area .intro .card .items .item{
        padding: 10px 0;
    }
    
    #casestudy .tab.container .tech-area .intro .feature span, #casestudy .tab.container .tech-area .intro .card .card-header > span, #casestudy .tab.container .tech-area .intro .card .item span{
        font-size: 12px;
    }
    
    #casestudy .case > h2{
        padding: 30px 0;
    }
}

@media only screen and (max-width: 480px){/*Common Max mobile screen*/
    h1{
        font-size: 22px !important;
    }
    
    h2{
        font-size: 18px !important;
    }
    
    h3{
        font-size: 14px !important;
    }
    
    h4{
        font-size: 12px !important;
    }
}