
/* Programmes Section */
.programme-main {
    margin-top: 28px;
    position: relative;
    padding-bottom: 32px;
    overflow: visible;
}

.programme-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.6)
    ),
    url('https://omacademy.net/assets/images/global/home-hero-section-1.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    object-fit: cover;
    z-index: 0;
}

.programme-main .col-b {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

.programme-main .col-b h2 {
    font-size: 24px;
    color: var(--white);
}

.programme-main .col-b p {
    font-size: 14px;
    font-style: "inter";
    color: var(--white);
    margin-bottom: 14.4px;
}

.programme-main .row-b {
      display: flex;
    flex-direction: column;

    gap: 20px;
    max-width: 100%;
}

.program-content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
.program-content span.icon {
    background-color: var(--yellowtext);
    border-radius: 50%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.program-content span svg {
    width: 25px;
    height: 25px;
}

.context h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}

.context p {
    font-size: 14px;
    color: var(--white);
    font-family: "inter";
}

@media (min-width: 768px) {
    .programme-main::before {
        background-image: linear-gradient(
            to left,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.1)
        ),
        url('https://omacademy.net/assets/images/global/home-hero-section-1.jpg');
    }
    
    .programme-main {
        margin-top: 45px;
        padding-top: 16px;
        padding-bottom: 48px;
    }
    
    .programme-main .col-b h2 {
        font-size: 31px;
    }

    .programme-main .col-b p {
        font-size: 15px;
    }
    
    .context h3 {
        font-size: 21px;
    }

    .context p {
        font-size: 15px;
    }
}

@media (min-width: 1024px) {
    .programme-main {
        margin-top: 112px;
        padding-top: 80px;
        padding-bottom: 112px;
    }
    
    .programme-main .col-b {
        padding: 32px;
    }
    
    .programme-main .col-b h2 {
        font-size: 39px;
    }

    .programme-main .col-b p {
        font-size: 16px;
    }
    
    .context h3 {
        font-size: 25px;
    }

    .context p {
        font-size: 16px;
    }
    
    /*.program-content span svg {
        width: 60px;
        height: 60px;
        padding: 12px;
    }*/

    .program-content span.icon {
        padding: 12px;
    }
    .program-content span svg {
        width: 28px;
        height: 28px;
    }
    
    .btn-dis {
        font-size: 16px;
        margin-top: 20px;
        align-self: flex-start; 
    }
}

/* Team Section */
.team-main {
    padding-bottom: 28px;
    background-color: #e3eaf3;
}

.team-main .row-t-a {
    max-width: 100%;
}

.team-main .col-t-a {
    box-sizing: border-box;
}

.team-main .col-t-b {
    box-sizing: border-box;
}

.team-1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
}

.team-1 h2 {
    font-size: 14px;
    color: var(--yellowtext);
}

.team-1 h3 {
    font-size: 24px;
    color: var(--darkblue);
}

.team-2 {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0px 28px 28px;
}

.team-2 p {
    font-size: 14px;
    font-family: "inter";
    line-height: 1.3;
    color: var(--contenttext);
    margin-bottom: 14px;
}

@media (min-width: 768px) {
    .team-main {
        padding-top: 15px;
        padding-bottom: 45px;
    }
    
    .team-1,
    .team-2 {
        padding: 30px;
    }
    
    .team-1 h2 {
        font-size: 15px;
    }
    
    .team-1 h3 {
        font-size: 31px;
    }
    
    .team-2 p {
        font-size: 15px;
    }
}

@media (min-width: 1024px) {
    .team-main {
        padding-top: 80px;
        padding-bottom: 112px;
    }
    
    .team-main .row-t-a {
        max-width: 95%;
    }
    
    .team-1 {
        padding: 48px 80px 48px 16px;
    }
    
    .team-2 {
        padding: 32px;
    }
    
    .team-1 h2 {
        font-size: 16px;
    }
    
    .team-1 h3 {
        font-size: 39px;
    }
    
    .team-2 p {
        font-size: 16px;
    }
    
    .btn-team {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .team-main .row-t-a {
        max-width: 85%;
    }
}

.team-main .row-t-b {
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.team-content-container h4 {
    font-size: 16px;
    color: var(--darkblue);
    margin-top: 10px;
}

.team-content-container p {
    font-size: 14px;
    color: var(--yellowtext);
    font-family: "inter";
    margin-bottom: 20px;
}

.team-content-container {
    margin: 10px;
    justify-self: center;
}

.t-i-container {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    max-width: 315px;
    box-sizing: border-box;
}

.t-i-container img {
    display: block;
    max-width: 315px;
    border-radius: 28px;
    box-sizing: border-box;
    border-bottom: 14px solid var(--border-color);
    border-right: 24px solid var(--border-color);
    overflow: hidden;
}

@media (min-width: 768px) {
    .team-content-container h4 {
        font-size: 18px;
    }
    
    .team-content-container p {
        font-size: 15px;
    }
}

@media (min-width: 1024px) {
    .t-i-container img {
        border-right: 0;
        border-left: 14px solid var(--border-color);
    }
    
    .team-content-container h4 {
        font-size: 20px;
    }
    
    .team-content-container p {
        font-size: 16px;
    }
}

.t-i-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(39, 60, 93, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease;
    transform: translateY(100%);
    will-change: transform;
    backface-visibility: hidden;
}

.t-i-container:hover .t-i-overlay {
    transform: translateY(0);
}

/* Testimonial Section */
.testimonial-main {
    background-color: #e3eaf3;
    padding-top: 28px;
    position: relative;
}

.test-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 80%;
    justify-self: center;
}

.test-content .quote svg {
    max-width: 55px;
}

.test-content .quote svg path {
    fill: var(--yellowtext);
}

.test-content h2 {
    font-size: 24px;
}

.test-content p {
    font-size: 14px;
    line-height: 1.4;
    font-family: "inter";
    color: var(--contenttext);
    margin-bottom: 40px;
}

.test-card,
.testimonial-1-card {
    width: 95%;
    padding: 28px;
    border-radius: 28px;
    background-color: var(--white);
    box-sizing: border-box;
    justify-self: center;
}

.test-card p,
.testimonial-1-card p {
    font-size: 14px;
    font-family: "inter";
    font-weight: 500;
    color: var(--contenttext);
}

.author-info {
    margin-top: 28px;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.other-info {
    justify-content: end;
    margin-right: 20px;
    flex-direction: row-reverse;
}

.author-image img {
    max-width: 50px;
    height: auto;
    border-radius: 50%;
}

.auth-inf {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.other-info .auth-inf {
    align-items: end;
}

.auth-inf .s1,
.auth-inf .s2 {
    font-size: 14px;
    color: var(--contenttext);
    font-family: "inter";
}

.auth-inf .s1 {
    font-weight: 800;
}

.test-carousel-wrapper,
.testimonial-1-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 25px;
}

.test-cards,
.testimonial-1-cards {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 1s ease-in-out;
}

.test-cards .slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.test-cards .slide,
.testimonial-1-cards .testimonial-1-slide {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.test-img-cont {
    border-radius: 28px;
}

@media (min-width: 768px) {
    .test-content h2 {
        font-size: 31px;
    }
    
    .test-content p {
        font-size: 15px;
    }
    
    .test-card p,
    .testimonial-1-card p {
        font-size: 15px;
    }
    
    .test-card .testimonial-1-card {
        padding: 30px;
    }
}

@media (min-width: 1024px) {
    .test-content h2 {
        font-size: 39px;
    }
    
    .test-content p {
        font-size: 16px;
    }
    
    .test-card p,
    .testimonial-1-card p {
        font-size: 16px;
    }
    
    .test-card,
    .testimonial-1-card {
        padding: 32px;
    }
}

.test-img-cont {
    overflow: visible;
}

.test-img-cont picture {
    display: block;
}

.test-img-cont img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
    margin-bottom: -40px;
}