
/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: #f8fbff;
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

/* FAQ Item */
.faq-item {
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

/* Question */
.faq-question {
    width: 100%;
    border: none;
    background: #0264c0;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
}

/* Hover */
.faq-question:hover {
    background: #d88403;
}

/* Plus Icon */
.faq-icon {
    font-size: 25px;
    font-weight: 400;
    color: #fffefd;
    transition: transform 0.3s ease;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

/* Active FAQ */
.faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 5px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}


/* Mobile */
@media (max-width: 576px) {

    .faq-section {
        padding: 40px 0;
    }

    .faq-question {
        padding: 17px 18px;
        font-size: 15px;
    }

    .faq-answer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .faq-answer p {
        font-size: 14px;
    }
}


/* ================= GALLERY ================= */

.my-gallery {
    padding: 60px 0;
}

.my-gallery-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.my-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.my-gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.my-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.4s ease;
}

.my-gallery-item:hover img {
    transform: scale(1.08);
}


/* ================= POPUP ================= */

.my-gallery-popup {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;

    background: rgba(0, 0, 0, 0.90);

    display: none;

    align-items: center;
    justify-content: center;

    z-index: 999999 !important;
}

.my-gallery-popup.show {
    display: flex !important;
}


/* Popup Image */

.my-gallery-popup-img {
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 5px;
}


/* Close */

.my-gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;

    background: none;
    border: 0;

    color: #fff;
    font-size: 45px;

    cursor: pointer;

    z-index: 9999999;
}


/* Previous */

.my-gallery-prev,
.my-gallery-next {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    border: none;
    border-radius: 50%;

    background: #fff;
    color: #27477d;

    font-size: 25px;

    cursor: pointer;

    z-index: 9999999;
}

.my-gallery-prev {
    left: 30px;
}

.my-gallery-next {
    right: 30px;
}


/* Hover */

.my-gallery-prev:hover,
.my-gallery-next:hover {
    background: #27477d;
    color: #fff;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {

    .my-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 767px) {

    .my-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .my-gallery-item {
        height: 200px;
    }

    .my-gallery-prev {
        left: 10px;
    }

    .my-gallery-next {
        right: 10px;
    }

}

@media (max-width: 480px) {

    .my-gallery-grid {
        grid-template-columns: 1fr;
    }

    .my-gallery-item {
        height: 250px;
    }

}