/* -------------- Awal Section Faq -------------- */

.faq {
    background-image: url('/img/bgfaq.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.top-faq {
    display: flex;
    justify-content: center;
    padding: 5%;
}

.top-faq h1 {
    font-size: 70px;
    background: linear-gradient(-45deg, rgba(7, 2, 118, 1), rgba(4, 54, 220, 1), rgba(7, 2, 118, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    padding: 40px;
    margin-right: -5%;
}

.top-faq img {
    width: 200px;
}

.mid-faq {
    margin-bottom: 10%;
}

.faq-container {
    max-width: 85%;
    margin: 0 auto;
}

.faq-item {
    background-color: #d0d0d0;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .arrow-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: #e0e0e0;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.card-info {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #c0c0c0;
    border-radius: 30px;
    background: linear-gradient(-45deg, #070276, #8800FF, #0D04DC);
    padding: 30px;
    gap: 20px;
}

.left-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
  
.left-info h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}
  
.left-info p {
    margin-bottom: 40px;
    color: #fff;
}

.full-info {
    flex: 1;
    text-align: left;
}

.full-info h1 {
    font-size: 42px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 20px;
}

.full-info p {
    color: #fff;
    margin-bottom: 40px;
}
  
.btn-contact-info {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #9089fc, #6366f1);
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: 0.3s;
    width: fit-content;
}
  
.btn-contact-info:hover {
    background: linear-gradient(135deg, #6366f1, #9089fc);
    transform: scale(1.05);
}

.right-info {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
  
.right-info img {
    width: 80%;
    max-width: 300px;
    height: auto;
    border-radius: 30px;
    object-fit: cover;
}
  
.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}
  
.slide {
    display: none;
    animation-duration: 1s;
    width: 100%;
}
  
.slide.active {
    display: flex;
}
  
.slide-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}
  
.slide-dots {
    display: flex;
    justify-content: center;
}
  
.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}
  
.dot.active {
    background-color: #6366f1;
}
  
@keyframes fadeIn {
    from {opacity: 0.4}
    to {opacity: 1}
}
  
@keyframes fadeOut {
    from {opacity: 1}
    to {opacity: 0}
}
  
.fade-in {
    animation-name: fadeIn;
}
  
.fade-out {
    animation-name: fadeOut;
}

/* -------------- Akhir Section Faq -------------- */

@media screen and (max-width: 480px) {
    /* -------------- Awal Section Faq -------------- */

    .faq {
        padding: 20px;
    }

    .top-faq {
        padding: 70% 0 30% 0;
    }

    .top-faq h1 {
        font-size: 40px;
        padding: 0;
        margin: 2% 2% 0 0;
    }

    .top-faq img {
        display: none;
    }

    .faq-container {
        max-width: 100%;
        margin: 0 auto;
    }

    .faq-question {
        font-size: 18px;
    }

    .faq-answer {
        font-size: 14px;
    }

    .faq-item.active .faq-answer {
        max-height: 500px;
        padding: 20px;
    }

    .card-info {
        margin-top: 50px;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }
    
    .left-info {
        flex: none;
        order: 2;
    }
    
    .left-info h1 {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 15px;
        color: #fff;
    }
    
    .left-info p {
        font-size: 14px;
        margin-bottom: 20px;
        color: #fff;
        line-height: 1.4;
    }

    .full-info {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }

    .full-info h1 {
        font-size: 22px;
        line-height: 1.2;
        color: #fff;
        margin-bottom: 15px;
    }

    .full-info p {
        font-size: 14px;
        color: #fff;
        margin-bottom: 20px;
    }
    
    .btn-contact-info {
        font-size: 14px;
        padding: 8px 16px;
        margin: 0 auto;
    }
    
    .right-info {
        flex: none;
        order: 1;
        width: 100%;
    }
    
    .right-info img {
        display: block;
        width: 100%;
        max-width: 250px;
        height: auto;
        margin: 0 auto;
        border-radius: 30px;
    }
    
    .slide {
        display: none;
        animation-duration: 1s;
        width: 100%;
    }
    
    .slide.active {
        display: flex;
        flex-direction: column;
    }
    
    .slide-navigation {
        font-size: 14px;
        margin-bottom: 30px;
        margin-top: 15px;
    }
    
    .dot {
        height: 10px;
        width: 10px;
        margin: 0 3px;
    }

    /* -------------- Akhir Section Faq -------------- */
}

@media (min-width: 481px) and (max-width: 768px) {
    /* -------------- Awal Section Faq -------------- */

    .faq {
        padding: 20px;
    }

    .top-faq {
        padding: 50% 0 20% 0;
    }

    .top-faq h1 {
        font-size: 50px;
        padding: 20px;
        margin: 0;
    }

    .top-faq img {
        display: none;
    }

    .faq-container {
        max-width: 90%;
    }

    .faq-question {
        font-size: 16px;
        padding: 15px;
    }

    .faq-answer {
        font-size: 14px;
    }

    .faq-item.active .faq-answer {
        padding: 15px;
    }

    .card-info {
        padding: 20px;
        margin-top: 40px;
    }
    
    .left-info h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .left-info p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .full-info h1 {
        font-size: 28px;
        line-height: 1.3;
        color: #fff;
        margin-bottom: 25px;
    }

    .full-info p {
        font-size: 16px;
        color: #fff;
        margin-bottom: 25px;
    }
    
    .slide-navigation {
        margin-top: 10px;
        margin-bottom: 20px;
    }
    
    .dot {
        height: 10px;
        width: 10px;
        margin: 0 3px;
    }

    /* -------------- Akhir Section Faq -------------- */
}


@media (min-width: 769px) and (max-width: 1024px) {
    /* -------------- Awal Section Faq -------------- */

    .faq {
        padding: 30px;
    }

    .top-faq {
        padding: 20% 0 25% 0;
    }

    .top-faq h1 {
        font-size: 55px;
        padding: 30px;
        margin-right: -2%;
    }

    .top-faq img {
        width: 130px;
        height: 130px;
    }

    .mid-faq {
        margin-bottom: 8%;
    }

    .faq-container {
        max-width: 90%;
    }

    .faq-question {
        font-size: 17px;
        padding: 18px;
    }

    .faq-answer {
        font-size: 15px;
    }

    .faq-item.active .faq-answer {
        padding: 18px;
    }

    .card-info {
        padding: 25px;
        margin-top: 40px;
        flex-direction: row;
        gap: 15px;
    }
    
    .left-info {
        width: 60%;
    }
    
    .left-info h1 {
        font-size: 32px;
        margin-bottom: 18px;
    }
    
    .left-info p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .full-info h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .full-info p {
        font-size: 15px;
        color: #fff;
        margin-bottom: 30px;
    }
    
    .right-info {
        width: 40%;
    }

    .right-info img {
        width: 100%;
    }
    
    .slide-navigation {
        margin-top: 15px;
        margin-bottom: 25px;
    }
    
    .dot {
        height: 10px;
        width: 10px;
        margin: 0 4px;
    }

    /* -------------- Akhir Section Faq -------------- */
}