.banner {
    background-image: url("../assets/intenship-banner.png");
}

/* Hero Section */
.internship__hero {
    padding: 5rem 5.5rem;
    background-color: #f9f9f9;
}

.internship__hero__container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 100vw;
    overflow: hidden;
    margin: 0 auto;
}

.internship__hero__content {
    flex: 1;
}

.internship__hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #378a37;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* .internship__hero__subtitle {
     font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}  */

.internship__hero__text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.internship__hero__image {
    flex: 1;
    border-radius: 10px;
    /* overflow: hidden; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.internship__hero__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.internship__hero__image:hover img {
    transform: scale(1.05);
}

/* Details Section */
.internship__details {
    padding: 5rem 5.5rem;
    background-color: #fff;
}

.internship__details__container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 100vw;
    overflow: hidden;
    margin: 0 auto;
}

.internship__details__card {
    flex: 1;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.internship__details__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.internship__details__icon {
    width: 60px;
    height: 60px;
    background-color: #378a37;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.internship__details__card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.internship__details__card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

/* Courses Section */
.internship__courses {
    padding: 5rem 5.5rem;
    background-color: #f9f9f9;
}

.internship__courses__container {
    max-width: 100vw;
    overflow-y: hidden;
    margin: 0 auto;
}

.section__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section__title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #378a37;
}

.internship__courses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.internship__course__card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.internship__course__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.internship__course__icon {
    width: 70px;
    height: 70px;
    background-color: #f0f0f0;
    color: #378a37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.internship__course__card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.internship__courses__cta {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn__primary {
    background-color: #378a37;
    color: white;
    border: none;
}

.btn__primary:hover {
    background-color: #2a652a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.internship__testimonials {
    padding: 5rem 5.5rem;
    background-color: #fff;
}

.internship__testimonials__container {
    max-width: 100vw;
    /* overflow-x: hidden; */
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.internship__testimonials__grid {
    padding-top: 5rem;
    display: flex;
    justify-content: flex-start;

    /* gap: 2rem; */

    transition-duration: 300ms;
}
.internship__testimonial__card__outerlayer {
    padding: 2rem;
    width: 500px;
    /* background-color: red; */
}

.internship__testimonials__arrow__container {
    position: absolute;
    top: 5rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.internship__testimonials__left__arrow,
.internship__testimonials__right__arrow {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.internship__testimonials__left__arrow:hover,
.internship__testimonials__right__arrow:hover {
    background-color: #f0f0f0;
    transform: scale(1.1);
}

.internship__testimonials__left__arrow svg,
.internship__testimonials__right__arrow svg {
    width: 20px;
    height: 20px;
    fill: #378a37;
}

.internship__testimonial__card {
    /* width: 100%; */
    height: 100%;
    min-width: calc(500px - 2rem);
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.internship__testimonial__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.internship__testimonial__rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.internship__testimonial__card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.internship__testimonial__card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Companies Section */
.internship__companies {
    padding: 5rem 5.5rem;
    background-color: #f9f9f9;
}

.internship__companies__container {
    /* max-width: 1200px; */

    max-width: 100vw;
    overflow-y: hidden;
    overflow: hidden;
    margin: 0 auto;
}

.internship__companies__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.internship__company__logo {
    background-color: #fff;
    /* padding: 1.5rem; */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.internship__company__logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.internship__company__logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.internship__company__logo:hover img {
    filter: grayscale(0%);
}

/* 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 */

.internship__techcompany__container {
    overflow: hidden;
}
.internship__techcompany__logo__container__row__one,
.internship__techcompany__logo__container__row__two,
.internship__techcompany__logo__container__row__three {
    display: flex;
    gap: 50px;
    justify-content: center;
}

.internship__techcompany__logo__wraper {
    min-width: 100px;
}

.internship__techcompany__logo__wraper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.internship__techcompany__logo__container__row__one {
    animation: 10s logoSlider1 linear Infinite;
    /* margin-top: 3rem; */
}
.internship__techcompany__logo__container__row__two {
    margin: 3rem 0;
    animation: 20s logoSlider2 linear Infinite;
}
.internship__techcompany__logo__container__row__three {
    animation: 15s logoSlider1 linear Infinite;
    /* margin-top: 3rem; */
}

/* 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 */

/* Why Section */
.internship__why {
    padding: 5rem 5.5rem;
    background-color: #fff;
}

.internship__why__container {
    /* max-width: 1200px; */
    max-width: 100vw;
    overflow-y: hidden;
    margin: 0 auto;
}

.internship__why__grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); */
    gap: 2rem;
}

.internship__why__card {
    width: 250px;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.internship__why__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.internship__why__icon {
    width: 70px;
    height: 70px;
    background-color: #378a37;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.internship__why__card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

/* CTA Section */
.internship__cta {
    padding: 5rem 5.5rem;
    background-color: #f9f9f9;
}

.internship__cta__container {
    /* max-width: 1200px; */
    max-width: 100vw;
    overflow-y: hidden;
    margin: 0 auto;
    background-color: #378a37;
    padding: 3rem;
    border-radius: 10px;
    color: white;
    text-align: center;
}

.internship__cta__content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.internship__cta__content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 800px;
    overflow-y: hidden;
    margin-left: auto;
    margin-right: auto;
}

.internship__cta__content .btn {
    background-color: white;
    color: #378a37;
    margin-top: 1.5rem;
}

.internship__cta__content .btn:hover {
    background-color: #f0f0f0;
}

/* FAQ Section */
.internship__faq {
    padding: 5rem 5.5rem;
    background-color: #f9f9f9;
}

.internship__faq__container {
    /* max-width: 1200px; */
    max-width: 100vw;
    overflow-y: hidden;
    margin: 0 auto;
}

.internship__faq__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.internship__faq__title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #378a37;
}

.internship__faq__list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.internship__faq__item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.internship__faq__item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.internship__faq__question {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.internship__faq__question:hover {
    background-color: #f0f0f0;
}

.internship__faq__question::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #378a37;
    transition: transform 0.3s ease;
}

.internship__faq__item.active .internship__faq__question::after {
    transform: rotate(180deg);
}

.internship__faq__answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
    color: #666;
    line-height: 1.6;
}

.internship__faq__item.active .internship__faq__answer {
    padding: 1.5rem;
    max-height: 500px;
}

/* Get in Touch Section */
.internship__contact {
    padding: 5rem 5.5rem;
    background-color: #fff;
}

.internship__contact__container {
    /* max-width: 1200px; */
    max-width: 100vw;
    overflow-y: hidden;
    margin: 0 auto;
    text-align: center;
}

.internship__contact__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
}

.internship__contact__title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #378a37;
}

.internship__contact__subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #378a37;
    margin-bottom: 1.5rem;
}

.internship__contact__text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    overflow-y: hidden;
    margin: 0 auto 2rem;
}

.internship__contact__btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #378a37;
    color: white;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.internship__contact__btn:hover {
    background-color: #2a652a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Popup Form */
.popup__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup__overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup__form {
    background-color: #fff;
    border-radius: 10px;
    padding: 2.5rem;
    width: 90%;
    max-width: 600px;
    overflow-y: hidden;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.popup__overlay.active .popup__form {
    transform: translateY(0);
}

.popup__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup__close:hover {
    color: #333;
}

.popup__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.popup__form__group {
    margin-bottom: 1.5rem;
}

.popup__form__label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.popup__form__input,
.popup__form__select,
.popup__form__textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.popup__form__input:focus,
.popup__form__select:focus,
.popup__form__textarea:focus {
    border-color: #378a37;
    outline: none;
}

.popup__form__textarea {
    min-height: 100px;
    resize: vertical;
}

.popup__form__submit {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #378a37;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup__form__submit:hover {
    background-color: #2a652a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media only screen and (max-width: 1024px) {
    .internship__hero,
    .internship__details,
    .internship__courses,
    .internship__testimonials,
    .internship__companies,
    .internship__why,
    .internship__cta,
    .internship__faq,
    .internship__contact {
        padding: 4rem 3rem;
    }

    .internship__hero__container {
        flex-direction: column;
    }

    .internship__details__container {
        flex-wrap: wrap;
    }

    .internship__details__card {
        flex: 1 0 calc(50% - 1rem);
    }
}

@media only screen and (max-width: 768px) {
    .internship__hero,
    .internship__details,
    .internship__courses,
    .internship__testimonials,
    .internship__companies,
    .internship__why,
    .internship__cta,
    .internship__faq,
    .internship__contact {
        padding: 3rem 2rem;
    }

    .internship__hero__title {
        font-size: 2rem;
    }

    .internship__hero__subtitle {
        font-size: 1.5rem;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .internship__details__card {
        flex: 1 0 100%;
    }

    .internship__testimonials__left__arrow,
    .internship__testimonials__right__arrow {
        width: 35px;
        height: 35px;
    }

    .internship__testimonials__left__arrow svg,
    .internship__testimonials__right__arrow svg {
        width: 16px;
        height: 16px;
    }

    .internship__testimonial__card {
        min-width: 460px;
    }

    .popup__form {
        padding: 2rem;
    }
    .internship__testimonials__arrow__container {
        top: 6rem;
        right: 1rem;
    }

    .internship__techcompany__logo__container__row__one {
        animation-duration: 8s;
        /* margin-top: 3rem; */
    }
    .internship__techcompany__logo__container__row__two {
        animation-duration: 10s;
    }
    .internship__techcompany__logo__container__row__three {
        /* animation: 15s logoSlider1 linear Infinite; */
        animation-duration: 10s;
        /* margin-top: 3rem; */
    }
}

@media only screen and (max-width: 480px) {
    .internship__testimonial__card {
        min-width: 90vw;
    }
    .internship__hero,
    .internship__details,
    .internship__courses,
    .internship__testimonials,
    .internship__companies,
    .internship__why,
    .internship__cta,
    .internship__faq,
    .internship__contact {
        padding: 3rem 1.5rem;
    }

    .internship__hero__title {
        font-size: 1.8rem;
    }

    .internship__hero__subtitle {
        font-size: 1.3rem;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .internship__cta__content h2 {
        font-size: 1.8rem;
    }

    .popup__form {
        padding: 1.5rem;
    }

    .popup__title {
        font-size: 1.5rem;
    }

    .internship__testimonials__left__arrow,
    .internship__testimonials__right__arrow {
        width: 30px;
        height: 30px;
    }

    .internship__testimonials__left__arrow svg,
    .internship__testimonials__right__arrow svg {
        width: 14px;
        height: 14px;
    }

    .internship__testimonials__arrow__container {
        top: 6rem;
        right: 0.5rem;
    }
    .internship__testimonial__card__outerlayer {
        width: 90vw;
        /* background-color: red; */
    }

    .internship__testimonial__card {
        /* width: 100%; */
        min-width: calc(90vw - 2rem);
    }
}
@keyframes logoSlider1 {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-50%);
    }
}
@keyframes logoSlider2 {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0%);
    }
}
