*{
    padding: 0px;
    margin: 0px;

}

.container{
    background-color: #ffffff;
    
   
}
.align-items{
    display: flex;
    align-items: center;
    height: 800px;
    background-size: cover;
    background-position: 0 -60px;
   
    width: 100%;
    
}
.box{
    display: flex;
    height: 900px;
    border: 4px solid red;
    width: 100%;
    z-index: -999;
}

.card1 {
    background-color: #e1c97d;
    text-align: center;
    max-height: 340px;
    margin: 14px;
    padding: 10px;
    padding-top: 20px;
    margin-top: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: floatAnimation 3s infinite ease-in-out;
    /* margin-right: 80px; */
    max-width: 170px;
    margin-right: 0;
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.card1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-30deg);
    transition: left 0.5s ease-in-out;
}

.card1:hover::before {
    left: 100%;
}

.card1:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.card2 {
    background-color: #e1c97d;
    text-align: center;
    max-height: 240px;
    margin: 5px;
    padding: 10px;
    padding-top: 20px;
    margin-top: -300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: floatAnimation 3s infinite ease-in-out;
    max-width: 170px;

}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.card2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-30deg);
    transition: left 0.5s ease-in-out;
}

.card2:hover::before {
    left: 100%;
}

.card2:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.card3 {
    background-color: #e1c97d;
    text-align: center;
    max-height: 240px;
    margin: 5px;
    padding: 10px;
    padding-top: 20px;
    margin-top: 340px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: floatAnimation 3s infinite ease-in-out;
    margin-right: 50px;
    max-width: 170px;
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.card3::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-30deg);
    transition: left 0.5s ease-in-out;
}

.card3:hover::before {
    left: 100%;
}

.card3:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.card4 {
    background-color: #e1c97d;
    text-align: center;
    max-height: 240px;
    margin: 5px;
    padding: 10px;
    padding-top: 20px;
    margin-top: -200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: floatAnimation 3s infinite ease-in-out;
    max-width: 170px;

}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.card4::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-30deg);
    transition: left 0.5s ease-in-out;
}

.card4:hover::before {
    left: 100%;
}

.card4:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.card5 {
    background-color: #e1c97d;
    text-align: center;
    max-height: 240px;
    margin: 5px;
    padding: 10px;
    padding-top: 20px;
    margin-top: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: floatAnimation 3s infinite ease-in-out;
    max-width: 170px;
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.card5::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-30deg);
    transition: left 0.5s ease-in-out;
}

.card5:hover::before {
    left: 100%;
}

.card5:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.card6 {
    background-color: #e1c97d;
    text-align: center;
    max-height: 240px;
    margin: 5px;
    padding: 10px;
    padding-top: 20px;
    margin-top: -1200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: floatAnimation 3s infinite ease-in-out;
    margin-left: 900px;
    max-width: 170px;
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.card6::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-30deg);
    transition: left 0.5s ease-in-out;
}

.card6:hover::before {
    left: 100%;
}

.card6:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}


.card1 p{
    width: 150px;
    padding: 20px;
}
.card2 p{
    width: 150px;
    padding: 20px;
}
.card3 p{
    width: 150px;
    padding: 20px;
}
.card4 p{
    width: 150px;
    padding: 20px;
}
.card5 p{
    width: 150px;
    padding: 20px;
}
.card6 p{
    width: 150px;
    padding: 20px;
}

/* Responsive Styles for Roadmap */
@media screen and (max-width: 1200px) {
    .align-items {
        flex-direction: column;
        height: auto;
        background-position: center;
    }
    .box {
        flex-direction: column;
        align-items: center;
    }
    .card1, .card2, .card3, .card4, .card5, .card6 {
        margin-top: 20px;
        max-width: 90%;
        min-width: 70%;
    }
}

/* @media screen and (max-width: 768px) {
    
    .align-items {
        height: auto;
        padding: 20px;
        background-image: url(../images/roadmapfinal-vertical.png);
    }
    .card1, .card2, .card3, .card4, .card5, .card6 {
        max-width: 100%;
        margin: 10px auto;
    }
    .card1 p, .card2 p, .card3 p, .card4 p, .card5 p, .card6 p {
        width: auto;
        padding: 10px;
    }
} */

/* @media screen and (max-width: 768px) {
    .align-items {
        height: auto;
        padding: 20px;
        background-image: url(../images/roadmapfinal-vertical.png);
    }
    .box {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px; 
    }
    .card1, .card2, .card3, .card4, .card5, .card6 {
        max-width: 90%;
        margin: 0 auto; 
        position: relative;
        animation: floatAnimation 3s infinite ease-in-out;
    }
} */
@media screen and (max-width: 768px) {
    .body{
        transform: scale(0.9); /* Scales everything to 90% */
        transform-origin: top;
    }
    .align-items {
        height: auto;
        padding: 20px;
       
        margin-top: 20px;
    }
    
    .box {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10spx; /* Adds space between cards */
        margin-top: -5px;
    }

    /* Alternate card positions */
    .box .card1, 
    .box .card3, 
    .box .card5 {
        align-self: flex-start;
        margin-left:100px;
        min-height: 120px;
        }
        .card1, .card2, .card3, .card4, .card5, .card6 {
            min-width: 10%;
            max-height:5%;
            animation: floatAnimation 3s infinite ease-in-out;
    }

    .box .card2, 
    .box .card4, 
    .box .card6 {
        align-self: flex-end; /* Aligns right */
        margin-right:100px;
        min-height:120px ;
    }

 
}




@media screen and (max-width: 480px) {
    .align-items {
        padding: 10px;
        
    }
    .card1, .card2, .card3, .card4, .card5, .card6 {
        padding: 15px;
    }
    .card1 h3, .card2 h3, .card3 h3, .card4 h3, .card5 h3, .card6 h3 {
        font-size: 18px;
    }
    .card1 p, .card2 p, .card3 p, .card4 p, .card5 p, .card6 p {
        font-size: 14px;
    }
        .card1, .card2, .card3, .card4, .card5, .card6 {
            max-width: 100%;
            padding: 15px;
            min-height: 150px;
        }
    
}

@media screen and (max-width: 900px) {
    .body{
        transform: scale(0.9); /* Scales everything to 90% */
        transform-origin: top;
    }
    .align-items {
        height: auto;
        padding: 20px;
        
        margin-top: 20px;
    }
    
    .box {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10spx; /* Adds space between cards */
        margin-top: -5px;
    }

    /* Alternate card positions */
    .box .card1, 
    .box .card3, 
    .box .card5 {
        align-self: flex-start;
        margin-left:100px;
        min-height: 120px;
        }
        .card1, .card2, .card3, .card4, .card5, .card6 {
            max-width: 90%;
            animation: floatAnimation 3s infinite ease-in-out;
    }

    .box .card2, 
    .box .card4, 
    .box .card6 {
        align-self: flex-end; /* Aligns right */
        margin-right:100px;
        min-height:120px ;
    }

 
}

@media screen and (max-width: 1200px) {
    .body{
        transform: scale(1); /* Scales everything to 90% */
        transform-origin: top;
    }
    .align-items {
        height: auto;
        padding: 20px;
        
        margin-top: 20px;
       
    }
    
    .box {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10spx; /* Adds space between cards */
        margin-top: -5px;
    }

    /* Alternate card positions */
    .box .card1, 
    .box .card3, 
    .box .card5 {
        align-self: flex-start;
        margin-left:100px;
        min-height: 120px;
        }
        .card1, .card2, .card3, .card4, .card5, .card6 {
            max-width: 90%;
            animation: floatAnimation 3s infinite ease-in-out;
    }

    .box .card2, 
    .box .card4, 
    .box .card6 {
        align-self: flex-end; /* Aligns right */
        margin-right:100px;
        min-height:120px ;
    }

 
}




@media screen and (max-width: 1200px) {
    body {
        transform: scale(1);
        transform-origin: top;
    }
}
.container {
    transform: scale(1.2); /* Shrinks everything to 85% */
    transform-origin: top center; /* Keeps scale centered from top */
}
