﻿@media only screen and (min-device-width: 300px) and (max-device-width: 850px) {
    .hero-section {
        padding-bottom: 10%;
    }

    .intro-first-sec {
        padding-top: 5%;
        height: auto !important;
    }

    .section-2 {
        height: auto !important;
        margin-top: -25% !important;
        padding-top: 20% !important;
        padding-bottom: 10% !important;
    }

    .sections-3 {
        height: auto !important;
        padding-top: 10% !important;
        padding-bottom: 20% !important;
    }

    .section-4 {
        height: auto !important;
        padding-top: 10% !important;
        padding-bottom: 20% !important;
    }

    .bottomsec {
        margin-top: -35%;
    }
}


.section-2 {
    background-image: url(/images/section2bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
}

.intro-first-sec {
    background-image: url(/images/introsec.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    margin-bottom: -12%;
}

.bottomsec {
    background-image: url(/images/bottomsec.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 3%;
    margin-top: -16%;
}

.section-3 {
    background-image: url(/images/section3bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
}

.section-4 {
    background-image: url(/images/section4bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    padding-bottom: 6%;
}

b, strong {
    font-weight: 700;
    font-family: 'Abhaya Libre';
    font-size: 40px;
}

.medium-text {
    font-family: 'Abhaya Libre';
    font-size: 28px;
}

.int-buttons {
    background: #2A7C88;
    padding: 17px;
    color: white;
    font-size: 19px;
    border-radius: 25px;
    font-family: 'Abhaya Libre';
}

@media (max-width: 575px) {
    .page-header {
        background-image: url('/images/woman_on_couch_with_laptop_actex_learning.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: auto 70%;
        height: 25vh;
    }

    .choose-exam-btn {
        position: absolute;
        bottom: 40px;
        right: 20%;
    }
}

@media (min-width: 576px) {
    .page-header {
        background-image: url('/images/woman_on_couch_with_laptop_actex_learning.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: auto 70%;
        height: 35vh;
    }

    .choose-exam-btn {
        position: absolute;
        bottom: 40px;
        right: 20%;
    }
}

@media (min-width: 768px) {
    .page-header {
        background-image: url('/images/woman_on_couch_with_laptop_actex_learning.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: auto 75%;
        height: 40vh;
    }
}

@media (min-width: 992px) {
    .page-header {
        background-image: url('/images/woman_on_couch_with_laptop_actex_learning.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: auto 75%;
        height: 30vh;
    }
}


@media (min-width: 1200px) {
    .choose-exam-btn {
        position: absolute;
        bottom: 40px;
        right: 25%;
    }
}


@media (min-width: 1400px) {
    .choose-exam-btn {
        position: absolute;
        bottom: 40px;
        right: 25%;
    }
}

@media (min-width: 1800px) {
    .choose-exam-btn {
        position: absolute;
        bottom: 40px;
        right: 30%;
    }
}

@media (min-width: 2400px) {
    .choose-exam-btn {
        position: absolute;
        bottom: 40px;
        right: 35%;
    }
}

/* ---------------------------Text Caroussel - Static Pages template----------------------------------------- */
.text-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}

.carousel-text {
    display: none;
    transition: opacity 0.5s ease;
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #ffffff; 
    margin-bottom: 1.5rem;
}

.carousel-text.active {
    display: block;
}


