/*!
 * Styles
 * Version - 1.1.1
 * Copyright (c) 2024 ALEF Educ
*/

.overlay::before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.297);
}

/** 
========================================================
==================== 1. TYPOGRAPHY =====================
========================================================
 **/

p {
    font-weight: 400 !important;
    font-size: 16px !important;
    color: var(--dark) !important;
}

h2 {
    font-size: 2.3rem !important;
    font-weight: 700 !important;
    color: var(--dark) !important;
}

h3 {
    font-size: 30px !important;
    font-weight: 500 !important;
    color: var(--dark);
}

/* Section home */
#home .barner {
    background-color: #fae053;
    height: 420px;
}

.title {
    color: #04327a !important;
    font-size: 25px !important;
    /* font-size: 1.9rem !important; */
    font-weight: 800 !important;
    line-height: 1.2;
}

/* Section faq */
.accordion .accordion-item {
    border: none !important;
    border-bottom: 1px solid #e4e4e4 !important;
}

.accordion .accordion-title {
    color: var(--black) !important;
    font-weight: 600;
}

.accordion .accordion-item button[aria-expanded=true] {
    border-bottom: 1px solid #d4d4d4;
}

.accordion button {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 1em 0;
    color: var(--black) !important;
    font-size: 1.15rem;
    font-weight: 400;
    border: none;
    background: none;
    outline: none;
}

.accordion button:hover,
.accordion button:focus {
    cursor: pointer;
    color: #03b5d2;
}

.accordion button:hover::after,
.accordion button:focus::after {
    cursor: pointer;
    color: #03b5d2;
    border: 1px solid #03b5d2;
}

.accordion button .accordion-title {
    padding: 1em 1.5em 1em 0;
}

.accordion button .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 20px;
    right: 0;
    width: 30px;
    height: 30px;
    border: 1px solid var(--secondary);
    border-radius: 30px;
}

.accordion button[aria-expanded=true]+.accordion-content {
    opacity: 1;
    min-height: 4em;
    max-height: 15em;
    transition: all 200ms linear;
    will-change: opacity, min-height;
}

.accordion .accordion-content {
    opacity: 0;
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, min-height 200ms linear;
    will-change: opacity, min-height;
}

.accordion .accordion-content p {
    font-size: 1rem;
    font-weight: 300;
    margin: 1em 0;
}


.text-gradient {
    background: -webkit-linear-gradient(45deg, #0086ff, #f8d448 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    #home .slide {
        background-color: #e6f4fb;
        height: 420px;
    }

    #home .slide.item-1 {
        background-image: url('../../images/home/slide-1.png');
    }

    #home .slide.item-2 {
        background-image: url('../../images/home/slide-2.png');
    }

    #home .slide.item-3 {
        background-image: url('../../images/home/slide-3.png');
    }

    /* modal */
    .bg-popup {
        background-image: url('../../images/popup.png');
        background-repeat: no-repeat;
        background-size: cover;
    }

    .popup {
        height: 550px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 600px) {

    /* Slide */
    #home .slide {
        background-color: #e6f4fb;
        height: 310px;
    }

    #home .slide.item-1 {
        background-image: url('../../images/home/mobile/slide-1.png');
    }

    #home .slide.item-2 {
        background-image: url('../../images/home/mobile/slide-2.png');
    }

    #home .slide.item-3 {
        background-image: url('../../images/home/mobile/slide-3.png');
    }

    .carousel-item .slide {
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }

    .bg-popup {
        background-color: none;
    }

    .popup {
        height: 650px;
    }
}