@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    --primary-color: #0a74bd;
    --secondary-color: #032338;
    --black: #01121d;
    --text-primary: #5f5f5f;
    --soft-primary: #0a75bd42;
    --shadow: #a0a0a069;
    --duration: 30s;
    --duration2: 20s;
    --total: 4;
    --total2: 3;
}

body {
    color: var(--black);
    background-color: white;
}

section {
    height: auto;
    width: 100%;
    padding: 0 100px;
}

.hero,
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
}

.hero .container h2 {
    font-size: 55px;
}

.hero .container p {
    text-align: center;
    font-weight: 400;
    color: var(--text-primary);
}

.container .buttons {
    display: flex;
    align-items: center;
    margin-top: 20px;
    justify-content: space-around;
    width: 300px;
    padding: 10px;
}

.applyBtn {
    text-decoration: none;
    color: white;
    background-color: var(--primary-color);
    padding: 10px 20px;
    font-weight: 600;
    font-size: 13px;
    border-radius: 30px;
    transition: background-color 0.5s ease;
    margin-right: 10px;
}

.applyBtn:hover {
    background-color: #032338;
}

.exploreBtn,
.card a {
    text-decoration: none;
    color: var(--primary-color);
    background-color: transparent;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    transition: background-color 0.5s ease;
    margin-left: 10px;
}

.exploreBtn:hover,
.card a:hover {
    background-color: var(--primary-color);
    color: white;
}

.about-intern h1 {
    font-size: 50px;
    margin-bottom: 20px;
    text-align: center;
}

.about-intern {
    padding: 20px 150px;
}

.detailed .title h2 {
    font-size: 25px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 10px;
}

.detailed .title p {
    color: var(--text-primary);
    line-height: 25px;
    margin-bottom: 30px;
}

.detailed {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
    background-color: #eeeeee;
    padding: 10px;
    border-radius: 10px;
}

.img-box {
    height: 400px;
    width: 500px;
    border-radius: 10px;
    background-color: var(--primary-color);
    overflow: hidden;
}
.img-box img{
    width: 100%;
    height: 100%;
}

.title {
    width: 600px;
    padding-top: 80px;
    padding-left: 30px;
}

.btn {
    text-decoration: none;
    color: white;
    background-color: var(--primary-color);
    padding: 10px 20px;
    font-weight: 600;
    font-size: 13px;
    border-radius: 30px;
    transition: background-color 0.5s ease;
    display: inline-block;
}

.btn:hover {
    background-color: #032338;
}

.courses-sec h1 {
    font-size: 50px;
    font-weight: 400;
}

.courses-sec .headp {
    color: var(--text-primary);
    font-size: 13px;
    text-align: center;
}

.courses-sec {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;
    width: 100%;
}

.course-list {
    width: 80%;
    height: 580px;
    display: flex;
    justify-content: space-evenly;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to top, transparent, black 10% 90%, transparent);
}

.course-list .course p {
    text-align: center;
}

.col1,
.col2,
.col3 {
    width: 180px;
}

.course-list .course p {
    color: white;
    font-weight: 600;
}

.course-list .course {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 250px;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--black) !important;
    margin-bottom: 5px;
}


.course-list .col1 .course,
.course-list .col3 .course {
    position: absolute;
    bottom: 100%;
    animation: scrollminusY var(--duration2) linear infinite;
    animation-delay: calc(var(--duration2)/var(--total2)*(var(--total2) - var(--i)) * -1) !important;
    transition: 0.3s ease;
}

.course-list .col2 .course {
    position: absolute;
    top: 100%;
    animation: scrollY var(--duration2) linear infinite;
    animation-delay: calc(var(--duration2)/var(--total2)*(var(--total2) - var(--i)) * -1) !important;
    transition: 0.3s ease;
}

.col1:hover .course {
    opacity: 0.2;
    animation-play-state: paused;
}

.col1 .course:hover {
    opacity: 1;
}

.col2:hover .course {
    opacity: 0.2;
    animation-play-state: paused;
}

.col2 .course:hover {
    opacity: 1;
}

.col3:hover .course {
    opacity: 0.2;
    animation-play-state: paused;
}

.col3 .course:hover {
    opacity: 1;
}

@keyframes scrollY {
    from {
        top: -250px;
    }
}

@keyframes scrollminusY {
    from {
        bottom: -250px;
    }
}

.technologies {
    margin-bottom: 100px;
}

.technologies h1 {
    font-size: 50px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 10px;
}

.technologies .headp {
    color: var(--text-primary);
    font-size: 13px;
    text-align: center;
}

.techs-list {
    margin-top: 100px;
    background-color: #eeeeee;
    border-radius: 20px;
    padding: 20px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.techs-list .techs {
    height: auto;
    width: auto;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: 0.5s;
}

.techs-list .techs:hover {
    box-shadow: 3px 3px 7px var(--shadow);
}

.techs-list .techs p {
    margin-top: 10px;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 13px;
}

span {
    font-size: 13px;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
}


.techs-list .techs:nth-child(1) span {
    color: orangered;
    background-color: #ff440040;
    font-weight: 600;

}

.techs-list .techs:nth-child(2) span {
    color: #0044ff;
    background-color: #0044ff40;
    font-weight: 600;
}

.techs-list .techs:nth-child(3) span {
    color: #cece00;
    background-color: #cece0040;
    font-weight: 600;
}

.techs-list .techs:nth-child(4) span {
    color: blue;
    background-color: #0000ff40;
    font-weight: 600;
}

.techs-list .techs:nth-child(5) span {
    color: #9cabaf;
    background-color: #87a4ac40;
    font-weight: 600;
}

.techs-list .techs:nth-child(6) span {
    color: darkgreen;
    background-color: #00640040;
    font-weight: 600;
}

.techs-list .techs:nth-child(7) span {
    color: darksalmon;
    background-color: #e9967a40;
    font-weight: 600;
}

.techs-list .techs:nth-child(8) span {
    color: #78007c;
    background-color: #78007c40;
    font-weight: 600;
}
.techs-list .techs:nth-child(9) span {
    color: orangered;
    background-color: #ff440040;
    font-weight: 600;

}

.techs-list .techs:nth-child(10) span {
    color: #0044ff;
    background-color: #0044ff40;
    font-weight: 600;
}

.techs-list .techs:nth-child(11) span {
    color: #cece00;
    background-color: #cece0040;
    font-weight: 600;
}

.techs-list .techs:nth-child(12) span {
    color: blue;
    background-color: #0000ff40;
    font-weight: 600;
}

.editions {
    background-color: var(--black);
    height: auto;
    padding-bottom: 50px;
    margin-bottom: 200px;
}

.cards {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card {
    margin-top: 50px;
    height: 600px;
    width: 380px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.card .img {
    height: 300px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}
.card .img img{
    height: 100%;
}

.card .desc h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.card .desc p {
    color: var(--text-primary);
    font-weight: 400;
    font-size: 13px;
}

.card a {
    margin-top: 40px;
}
.testimonials {
    padding: 0 200px;
    margin-bottom: 100px;
}

.testimonials h1 {
    font-size: 50px;
    margin: 50px 0;
    text-align: center;
}

.testimonials .stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 200px;
}

.testimonials .stats h2 {
    font-size: 45px;
    font-weight: 300;
}

.stud,
.proj,
.sati {
    background: linear-gradient(0deg, var(--black) 20%, var(--primary-color) 60%);
    border-radius: 10px;
    padding: 50px;
    height: 300px;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    transition: scale 0.5s ease;
}

.stud:hover,
.proj:hover,
.sati:hover {
    scale: 1.05;
}

.testimo {
    position: relative;
    display: flex;
    align-items: center;
    height: 250px;
    width: 100%;
    margin-top: 50px;
    padding: 20px;
    overflow: hidden;
    gap: 10px;
    mask-image: linear-gradient(to left, transparent, black 10% 90%, transparent);
}



.testimo .test {
    border: 1px solid var(--secondary-color);
    padding: 20px;
    border-radius: 5px;
    position: absolute;
    background-color: white;
    height: inherit;
    width: 380px;
    right: 100%;
    animation: scrollX var(--duration) linear infinite;
    animation-delay: calc(var(--duration)/var(--total)*(var(--total) - var(--i)) * -1) !important;
    overflow: hidden;
}

.testimo:hover .test {
    animation-play-state: paused;
}

@keyframes scrollX {
    from {
        right: -400px;
    }
}

.test .person {
    display: flex;
    margin-bottom: 20px;
}

.test .person .pic {
    height: 50px;
    width: 50px;
    border: 3px solid var(--primary-color);
    border-radius: 50px;
    margin-right: 20px;
}

.test p {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-primary);
}

.test .person .details h4 {
    font-weight: 500;
}

h1 {
    color: var(--primary-color);
}

p {
    font-size: 14px;
    font-weight: 500;
}

.test .person .details p {
    color: var(--text-primary);
    font-size: 12px;
}

h1,
h2,
h4 {
    font-weight: 400 !important;
}

@media (max-width: 1024px) {
    .hero .container h2 {
        font-size: 50px;
    }

    .hero p {
        font-size: 13px !important;
        line-height: 23px;
    }

    .about-intern {
        padding: 10px;
    }

    .detailed:nth-child(1) .title {
        width: 580px;
        margin-right: 20px;
    }

    .courstech {
        padding: 0 20px;
    }

    .techs-list {
        grid-template-columns: repeat(2, 300px);
        width: fit-content;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .editions {
        margin-bottom: 50px;
        padding: 50px 50px;
    }

    .editions .cards {
        gap: 20px;
        flex-wrap: wrap;
        flex-grow: 1;
        flex-basis: 200;
    }

    .card {
        width: 100%;
    }

    .stud,
    .proj,
    .sati {
        scale: 0.8;
    }

    .stud:hover,
    .proj:hover,
    .sati:hover {
        scale: 0.9;
    }

    .testimonials {
        padding: 0 10px;
    }

    .testimo .test {
        scale: 0.8;
    }
}

@media (max-width: 720px) {
    .hero .container h2 {
        font-size: 45px;
    }

    .hero p {
        font-size: 13px !important;
        line-height: 23px;
    }

    .about-intern {
        padding: 10px;
    }

    .detailed {
        display: flex;
        flex-direction: column;
    }

    .img-box,
    .title {
        width: 100%;
    }

    .detailed:nth-child(1) .title {
        width: 100%;
    }

    .detailed:nth-child(1) .img-box {
        margin-top: 20px;
    }

    .about-intern h1 {
        font-size: 35px;
    }

    .courses-sec h1 {
        font-size: 40px;
    }

    .course-list {
        width: 100%;
        height: 580px;
        display: flex;
        gap: 10;
    }

    .courstech {
        padding: 0 10px;
    }

    .courstech .course {
        scale: 0.7;
        position: absolute;
        width: 160px;
    }

    .techs-list {
        grid-template-columns: repeat(1, 300px);
        width: fit-content;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .editions {
        margin-bottom: 10px;
        padding: 20px 10px;
    }

    .editions .cards {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .testimonials {
        padding: 0 10px;
    }

    .testimonials .stats {
        justify-content: space-between;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
        scale: 0.8;
    }

    .stud,
    .proj,
    .sati {
        width: 100%;
    }

    .customers {
        padding: 40px;
    }

    .testimonials h1 {
        font-size: 30px;
    }

    .testimo {
        gap: 10px;
    }

    .testimo .test {
        scale: 0.95;
    }

    .testimo .test:nth-of-type(even) {
        display: none;
    }
    .col1,.col2,.col3{
        width: 120px;
        position: relative;
        transform: translateX(-20px);
    }
}