.roadmap-bg-m{
    display: none;
}

#career{
	margin-top: 70px;
}

#career .intro{
    background-image: url("../img/career/mycareer.webp");
    background-size: cover;
    background-position: top center;
    padding: 100px 0 200px;
    color: white;
}

#career .intro .info{
    width: 80%;
    margin: 0 auto;
    
}

#career .intro .desc{
    padding-top: 100px;
    text-align: center;
}

#career .detail.flex-container{
	width: 90%;
}

#career .detail .flex-box{
	height: 300px;
}

#career .detail .flex-box .icon{
	width: 96px;
	display: inline-block;
	padding-bottom: 30px;
}

#career > h2{
	text-align: center;
	color: #222222;
	padding-top: 30px;
	
}

#career .roadmap .achievement{
    width: 90%;
    margin: 100px auto 150px;
    
}

#career .roadmap .achievement h2{
    margin: 0;
    padding-bottom: 50px;
}

.caption h2 {
    position: relative;
    /*font-size: 3.5rem;*/
    margin-bottom: 15px;
    background: linear-gradient(45deg, #00c9ff, #92fe9d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px auto;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
    background: linear-gradient(135deg, #1a2a6c, #2c3e50);
    cursor: pointer;
}

.achievement-card:nth-child(1) { animation-delay: 0.1s; }
.achievement-card:nth-child(2) { animation-delay: 0.2s; }
.achievement-card:nth-child(3) { animation-delay: 0.3s; }
.achievement-card:nth-child(4) { animation-delay: 0.4s; }

.achievement-card:hover {
    background: linear-gradient(135deg, rgba(26,42,108,0.8), rgba(44, 62, 80,0.8));
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: #00c9ff;
}

.card-icon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #00c9ff;
    border-radius: 2px;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.card-content {
    color: #ffffff;
    line-height: 1.6;
}

.highlight {
    color: #92fe9d;
    font-weight: 600;
}

.industries {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.industry-tag {
    background: rgba(0, 201, 255, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.roles {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.role-tag {
    background: rgba(146, 254, 157, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.certificate {
    margin-top: 15px;
    padding: 12px;
    background: rgba(86, 61, 124, 0.2);
    border-radius: 10px;
    border-left: 3px solid #9b59b6;
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 15px 0;
    color: #00c9ff;
}

.counter-animation {
    display: inline-block;
}

.header {
    background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%);
    color: white;
    padding: 25px 30px;
}

.subtitle {
    opacity: 0.9;
    font-weight: 300;
}

.milestone .detail{
    padding-bottom: 10px;
}

.milestone .skill-item:first-child {
    padding-bottom: 0;
}

.skills-container {
    padding: 30px;
}

.skill-item{
    padding: 20px 0;
    position: relative;
}

.skill-item:hover {
    transform: translateX(10px);
}

.skill-item img{
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    padding-right: 10px;
}

.skill-title {
    display: inline-block;
    vertical-align: middle;
    font-size: 18px;
    font-weight: 600;
}

.skill-details {
    line-height: 1.6;
}

.highlight {
    color: #0083cb;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.caption{
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -10%);
    text-align: center;
    color: white;
    width: 100%;
}

.work-2022{
    position: absolute;
    top: 23%;
    right: 0;
    width: 40%;
    color: white;
    opacity: 0;
}

.work-2022.active {
    animation: animatebottom2022 3s;
    opacity: 1;
}

.work-2019{
    position: absolute;
    top: 34%;
    left: 10%;
    color: white;
    opacity: 0;
}

.work-2019.active {
    animation: animatebottom2019 3s;
    opacity: 1;
}

.work-2016{
    position: absolute;
    top: 49%;
    right: 8%;
    color: white;
    opacity: 0;
}

.work-2016.active {
    animation: animatebottom2016 3s;
    opacity: 1;
}

.work-2015{
    position: absolute;
    top: 64%;
    left: 20%;
    color: white;
    opacity: 0;
}

.work-2015.active {
    animation: animatebottom2015 3s;
    opacity: 1;
}

.work-2014{
    position: absolute;
    bottom: 10%;
    left: 48%;
    color: white;
    opacity: 0;
}

.work-2014.active {
    animation: animatebottom2014 3s;
    opacity: 1;
}

.work-2022.active .skill-item, .work-2019.active .skill-item, .work-2016.active .skill-item, .work-2015.active .skill-item, .work-2014.active .skill-item{
    transition: transform 0.3s ease;
}

@media only screen and (max-width: 1440px) {
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    }
    
    .milestone h4{
        margin: 10px 0;
    }
    
    .milestone .skill-item {
        padding: 10px 0;
    }
    
    .skill-title {
        font-size: 16px;
    }
    
    .work-2022 {
        top: 20%;
    }
    
    .work-2022.active {
        animation: animatebottom2022-1440 2s;
        opacity: 1;
    }
    
    .work-2019 {
        top: 32%;
    }
    
    .work-2019.active {
        animation: animatebottom2019-1440 2s;
        opacity: 1;
    }
    
    .work-2015 {
        top: 62%;
    }
    
    .work-2015.active {
        animation: animatebottom2015-1440 2s;
        opacity: 1;
    }
    
    .work-2016.active {
        animation: animatebottom2016 2s;
        opacity: 1;
    }
    
    .work-2014.active {
        animation: animatebottom2014 2s;
        opacity: 1;
    }
}

@media only screen and (max-width: 1280px) {
    h1{
        font-size: 38px;
    }
    
    h2{
        font-size: 32px;
    }
    
    h3{
        font-size: 26px;
    }
    
    h4{
        font-size: 20px;
    }
    
    .caption {
        top: 5%;
        left: 50%;
        transform: translate(-50%, -5%);
    }
}

@media only screen and (max-width: 1024px) {
    #career .intro {
        padding: 50px 0 100px;
    }
    
    #career .intro .desc {
        padding-top: 50px;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    }
    
    .work-2016 {
        top: 51%;
    }
    
    .work-2016.active {
        animation: animatebottom2016-1024 2s;
        opacity: 1;
    }
}

@media only screen and (max-width: 960px) {
    .roadmap-bg-m{
        display: block;
    }
    
    .roadmap-bg{
        display: none;
    }
    
    .milestone{
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        padding: 0 20px;
        width: 75%;
    }
    
    .milestone h4 {
        margin: 20px 0;
    }
    
    .milestone .title{
        text-align: center;
    }
    
    .milestone .skill-item {
        padding: 15px 0;
    }
    
    .work-2022{
        top: 18%;
    }
    
    .work-2019 {
        top: 34%;
    }
    
    .work-2016 {
        top: 50%;
    }
    
    .work-2015 {
        top: 66%;
    }
    
    .work-2014 {
        top: 82%;
        bottom: unset;
    }
    
    .work-2022.active {
        animation: animatebottom2022-960 2s;
        opacity: 1;
    }
    
    .work-2019.active {
        animation: animatebottom2019-960 2s;
        opacity: 1;
    }
    
    .work-2016.active {
        animation: animatebottom2016-960 2s;
        opacity: 1;
    }
    
    .work-2015.active {
        animation: animatebottom2015-960 2s;
        opacity: 1;
    }
    
    .work-2014.active {
        animation: animatebottom2014-960 2s;
        opacity: 1;
    }
}

@media only screen and (max-width: 768px) {/*iPad screen*/
    h1{
        font-size: 36px;
    }
    
    h2{
        font-size: 30px;
    }
    
    h3{
        font-size: 24px;
    }
    
    h4{
        font-size: 18px;
    }
}
    
@media only screen and (max-width: 580px) {/*Ultra mobile screen*/
    h1{
        font-size: 24px;
    }
    
    h2{
        font-size: 20px;
    }
    
    h3{
        font-size: 16px;
    }
    
    h4{
        font-size: 14px;
    }
    
    #career .roadmap .achievement{
        margin: 50px auto 70px;
    }
    
    #career .roadmap .achievement h2{
        padding-bottom: 0;
    }
    
    .achievement-card{
        padding: 20px;
    }
    
    .milestone{
        width: 90%;
    }
    
    .milestone h4 {
        margin: 10px 0;
    }
        
    .milestone .skill-item{
        padding: 10px 0;
    }
    
    .milestone .skill-title{
        font-size: 12px;
    }
    
    .caption{
        top: 5%;
    }
    
    .caption h2 {
        font-size: 20px;
    }
}

@media only screen and (max-width: 480px){/*Common Max mobile screen*/
    h1{
        font-size: 22px;
    }
    
    h2{
        font-size: 18px;
    }
    
    h3{
        font-size: 14px;
    }
    
    h4{
        font-size: 12px;
    }
    
    .caption {
        top: 2%;
    }
    
    .work-2022{
        top: 15%;
    }
    
    .work-2019 {
        top: 31%;
    }
    
    .work-2016 {
        top: 47%;
    }
    
    .work-2015 {
        top: 63%;
    }
    
    .work-2014 {
        top: 79%;
        bottom: unset;
    }
    
    .work-2022.active {
        animation: animatebottom2022-480 2s;
        opacity: 1;
    }
    
    .work-2019.active {
        animation: animatebottom2019-480 2s;
        opacity: 1;
    }
    
    .work-2016.active {
        animation: animatebottom2016-480 2s;
        opacity: 1;
    }
    
    .work-2015.active {
        animation: animatebottom2015-480 2s;
        opacity: 1;
    }
    
    .work-2014.active {
        animation: animatebottom2014-480 2s;
        opacity: 1;
    }
    
    .milestone{
        padding: 0 10px;
        width: 95%;
    }
    
    .milestone .detail {
        padding-bottom: 5px;
    }
    
    .milestone .title h3{
        margin-bottom: 0;
    }
    
    .milestone h4 {
        margin: 10px 0 0;
    }
    
    .milestone .skill-item {
        padding: 5px 0;
    }
    
    .milestone .skill-item:first-child{
        padding-bottom: 0;
    }
    
    .skill-item img {
        width: 16px;
    }
    
    .milestone .skill-title {
        font-size: 10px;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animatebottom2022 {
    from {
        top: 25%;
        opacity: 0;
    }

    to {
        top: 23%;
        opacity: 1;
    }
}

@keyframes animatebottom2019 {
    from {
        top: 38%;
        opacity: 0;
    }

    to {
        top: 34%;
        opacity: 1;
    }
}

@keyframes animatebottom2016 {
    from {
        top: 53%;
        opacity: 0;
    }

    to {
        top: 49%;
        opacity: 1;
    }
}

@keyframes animatebottom2015 {
    from {
        top: 68%;
        opacity: 0;
    }

    to {
        top: 64%;
        opacity: 1;
    }
}

@keyframes animatebottom2014 {
    from {
        bottom: 6%;
        opacity: 0;
    }

    to {
        bottom: 10%;
        opacity: 1;
    }
}

@keyframes animatebottom2022-1440 {
    from {
        top: 23%;
        opacity: 0;
    }

    to {
        top: 20%;
        opacity: 1;
    }
}

@keyframes animatebottom2019-1440 {
    from {
        top: 35%;
        opacity: 0;
    }

    to {
        top: 32%;
        opacity: 1;
    }
}

@keyframes animatebottom2016-1440 {
    from {
        top: 53%;
        opacity: 0;
    }

    to {
        top: 49%;
        opacity: 1;
    }
}

@keyframes animatebottom2015-1440 {
    from {
        top: 65%;
        opacity: 0;
    }

    to {
        top: 62%;
        opacity: 1;
    }
}

@keyframes animatebottom2014-1440 {
    from {
        bottom: 6%;
        opacity: 0;
    }

    to {
        bottom: 10%;
        opacity: 1;
    }
}

@keyframes animatebottom2016-1024 {
    from {
        top: 54%;
        opacity: 0;
    }

    to {
        top: 51%;
        opacity: 1;
    }
}

@keyframes animatebottom2022-960 {
    from {
        top: 20%;
        opacity: 0;
    }

    to {
        top: 18%;
        opacity: 1;
    }
}

@keyframes animatebottom2019-960 {
    from {
        top: 36%;
        opacity: 0;
    }

    to {
        top: 34%;
        opacity: 1;
    }
}

@keyframes animatebottom2016-960 {
    from {
        top: 52%;
        opacity: 0;
    }

    to {
        top: 50%;
        opacity: 1;
    }
}

@keyframes animatebottom2015-960 {
    from {
        top: 68%;
        opacity: 0;
    }

    to {
        top: 66%;
        opacity: 1;
    }
}

@keyframes animatebottom2014-960 {
    from {
        top: 84%;
        opacity: 0;
    }

    to {
        top: 82%;
        opacity: 1;
    }
}

@keyframes animatebottom2022-480 {
    from {
        top: 18%;
        opacity: 0;
    }

    to {
        top: 15%;
        opacity: 1;
    }
}

@keyframes animatebottom2019-480 {
    from {
        top: 33%;
        opacity: 0;
    }

    to {
        top: 31%;
        opacity: 1;
    }
}

@keyframes animatebottom2016-480 {
    from {
        top: 49%;
        opacity: 0;
    }

    to {
        top: 47%;
        opacity: 1;
    }
}

@keyframes animatebottom2015-480 {
    from {
        top: 65%;
        opacity: 0;
    }

    to {
        top: 63%;
        opacity: 1;
    }
}

@keyframes animatebottom2014-480 {
    from {
        top: 81%;
        opacity: 0;
    }

    to {
        top: 79%;
        opacity: 1;
    }
}