/*================ INTERNSHIP SECTION ================*/

.internship {
    min-height: 100svh;

    display: flex;
    align-items: center;

    padding: 45px 0;

    background: linear-gradient(180deg,
            #ffffff 0%,
            #fffaf4 100%);

    overflow: hidden;
}

/*================ CONTAINER ================*/

.internship-container {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap:clamp(24px,3vw,45px);
}

/*================ CONTENT ================*/

.internship-content {

    flex: 1;

    max-width:560px;
}

.internship-content h2 {

   font-size:clamp(2rem,3vw,2.6rem);

    line-height: 1.1;

    letter-spacing: -1px;

   margin:12px 0 16px;

    color: #222;
}

.internship-content h2 span {

    color: #ef902d;
}

.internship-content p {

    max-width: 560px;

    color: #666;

    font-size: clamp(.95rem, 1vw, 1rem);

   line-height:1.65;

    margin-bottom: 20px;
}

/*================ FEATURES ================*/

.internship-features {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin-bottom: 20px;
}

.internship-item {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 12px 16px;

    background: #fff;

    border-radius: 16px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .05);

    transition: .35s ease;
}

.internship-item:hover {

    transform: translateY(-5px);

    box-shadow: 0 16px 35px rgba(239, 144, 45, .18);
}

.internship-item i {

    color: #ef902d;

    font-size: 16px;

    flex-shrink: 0;
}

.internship-item span {

    font-size: 15px;

    font-weight: 600;

    color: #222;
}

/*================ IMAGE ================*/

.internship-image {

    flex: 1;

    display: flex;

    justify-content: center;

    align-items: center;
}

.internship-image-wrapper {

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;
}

.internship-image img {

   width:min(100%,400px);

    height: auto;

    border-radius: 22px;

    position: relative;

    z-index: 2;

    transition: .45s ease;

    box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
}

.internship-image:hover img {

    transform: translateY(-8px);
}

/*================ FLOATING CARDS ================*/

.intern-card {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 14px;

    background: rgba(255, 255, 255, .95);

    backdrop-filter: blur(12px);

    border-radius: 18px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);

    transition: .35s ease;

    z-index: 3;
}

.intern-card:hover {

    transform: translateY(-5px);
}

.intern-card i {

    width: 42px;

    aspect-ratio: 1;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: #ef902d;

    color: #fff;

    font-size: 17px;

    flex-shrink: 0;
}

.intern-card h3,
.intern-card-content h3 {

    margin: 0;

    font-size:16px;

    color: #222;
}

.intern-card p,
.intern-card-content p {

    margin: 4px 0 0;

    color: #666;

    font-size:12px;
}

.card-a {

    top: 10%;

    left: -20px;
}

.card-b {

    bottom: 10%;

    right: -20px;
}

/*================ BUTTON ================*/

.btn-fill {
    margin-top: 10px;
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 12px 24px;

    font-size: 15px;
}

.btn-fill i {

    transition: .3s ease;
}

.btn-fill:hover i {

    transform: translateX(5px);
}

/*================ TABLET ================*/

@media (max-width:991px) {

    .internship {

        min-height: auto;

        padding: 45px 0;
    }

    .internship-container {

        flex-direction: column;

        text-align: center;

        gap: 35px;
    }

    .internship-content {

        max-width: 700px;

        display: flex;

        flex-direction: column;

        align-items: center;
    }

    .internship-features {

        width: 100%;
    }

    .card-a {

        left: 0;
    }

    .card-b {

        right: 0;
    }
}

/*================ MOBILE ================*/

@media (max-width:576px) {

    .internship {

        padding: 35px 0;
    }

    .internship-features {

        grid-template-columns: 1fr;
    }

    .internship-content h2 {

        font-size: 2rem;
    }

    .internship-content p {

        font-size: 15px;

        line-height: 1.7;
    }

    .internship-image img {

        max-width: 280px;
    }

    .intern-card {

        position: static;

        margin-top: 16px;

        width: 100%;
    }

    .internship-image-wrapper {

        flex-direction: column;

        gap: 12px;
    }
}