/* ---------- Wrapper ---------- */
.convert-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
}

/* Background image full width */
.background-img-1 {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}

/* Overlay content centered on top */
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 70%;
    height: 80%;
    color: #fff;
}

.overlay-content-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    height: 80%;
    color: #fff;
}

.overlay-content-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    height: 80%;
    color: #fff;
}

/* title text */

.xsl_pdf {
    /*  grid-2 title */
    color: #FFC261;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.xsl_pdf span {
    opacity: 0.8;
    font-weight: 400;
}

.avi_mp4 {
    /*  grid-2 title */
    color: #7FC091;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.avi_mp4 span {
    opacity: 0.8;
    font-weight: 400;
}

.folder_zip {
    /*  grid-2 title */
    color: #9BDA47;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.folder_zip span {
    opacity: 0.8;
    font-weight: 400;
}

.pdf_word {
    color: #F47286;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;

}

.pdf_word span {
    opacity: 0.8;
    font-weight: 400;
}

.csv_pdf {
    /*  grid-3 title */
    color: #95C9B1;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.csv_pdf span {
    opacity: 0.8;
    font-weight: 400;
}

.docx_pdf {
    /*  grid-3 title */
    color: #3B8CFF;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.docx_pdf span {
    opacity: 0.8;
    font-weight: 400;
}

.mp4_avi {
    color: #E26EFF;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.mp4_avi span {
    opacity: 0.8;
    font-weight: 400;
}

.overlay-content h3 {
    /*  grid-1 title */
    color: #FB7FF0;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.overlay-content h3 span {
    opacity: 0.8;
    font-weight: 400;
}

.overlay-content .pdf_xsl {
    color: #54B1CA;
}

.overlay-content .json_csv {
    color: #B74D4D
}

.overlay-content .xml_csv {
    color: #E05D7D
}

.pdf_csv {
    color: #95C9B1;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.pdf_csv span {
    opacity: 0.8;
    font-weight: 400;
}

/* title over */

/* Icons layout */
.icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.icons-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.icons-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.xsl_pdf-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.grid-3-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.xsl_pdf-icon img {
    width: 64px;
    height: 141px;
    object-fit: contain;
}

.grid-3-icon img {
    width: 61px;
    height: 131px;
    object-fit: contain;
}

.xsl_pdf-icon span {
    background: #FFC261;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.grid-3-icon span {
    background: #FFC261;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.convert-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.convert-icon img {
    width: 90px;
    height: 100px;
    object-fit: contain;
}

.convert-icon span {
    background: #e45bff;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.arrow-xsl-pdf {
    width: 44px;
}

.arrow-grid-3 {
    width: 37px;
}

/* Arrow icon */
.arrow {
    width: 70px;
}

/* Button styling */

.app-section .app-btn-23 {
    position: absolute;
    top: 71%;
    top: 73%;
    right: 86%;
    left: 12%;
    transform: translateX(-70%);
}

.app-section .app-btn-22 {
    position: absolute;

    top: 73%;
    right: 23%;
    left: 44%;
    /* bottom: 34%; */
    transform: translateX(-70%);
}

.app-section .app-btn-21 {
    position: absolute;
    top: 73%;
    right: 23%;
    left: 49%;
    /* bottom: 34%; */
    transform: translateX(-70%);
}

.btn-generate {
    /* background: #FB7FF1 !important; */
    color: #fff !important;
    border: none;
    padding: 1rem 5rem;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.app-section .app-btn .btn-generate {
    /* background: #FB7FF1 !important; */
    color: #fff !important;
    border: none;
    /* padding: 1.4rem 8rem; */
    border-radius: 40px;
    /* font-size: 18px; */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.7rem 1rem;
    font-weight: 600;
    width: 206px !important;
    height: 5% !important;
    font-size: 108%;
}

.btn-generate-2 {
    /* background: #FB7FF1 !important; */
    color: #fff !important;
    border: none;
    padding: 0.6rem 4rem;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-generate-3 {
    /* background: #FB7FF1 !important; */
    color: #fff !important;
    border: none;
    padding: 0.8rem 4rem;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}


/* .img-pdf {
    background: #FB7FF1 !important;
} */

.xls-pdf {
    background: #FFC261 !important;
}

.csv-pdf {
    background: #95C9B1 !important;
}

.pdf-csv {
    background: #D5DD75 !important;
}

.pdf-xsl {
    background: #54B1CA !important;
}

.pdf-word {
    background: #F47286 !important;
}

.mp4-avi {
    background: #E26EFF !important;
}

.avi-mp4 {
    background: #7FC091 !important;
}

.json-csv {
    background: #B74D4D !important;
}

.xml-csv {
    background: #E05D7D !important;
}

.docx-pdf {
    background: #3B8CFF !important;
}

.folder-zip {
    background: #9BDA47 !important;
}

/* ---------- Responsive ---------- */

/* Large screens (above 1200px) */
@media (min-width: 1200px) {
    .overlay-content h3 {
        font-size: 2.4rem;
    }
}



/* Between 1201px and 1400px */
@media (min-width: 1201px) and (max-width: 1400px) {
    .convert-wrapper {
        max-width: 1000px;
        margin: 0 auto;
    }

    .overlay-content {
        width: 70%;
    }

    .overlay-content h3 {
        font-size: 2.2rem;
        margin-bottom: 1.8rem;
    }

    .convert-icon img {
        width: 85px;
        height: 95px;
    }

    .arrow {
        width: 65px;
    }

    .btn-generate {
        font-size: 17px;
        padding: 0.9rem 4.5rem;
    }
}

@media (max-width:1024px) {
    .app-section .app-btn-23 {
        top: 13px;
        right: 11px;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    /* .convert-wrapper {
        max-width: 900px;
        margin: 0 auto;
    } */

    .overlay-content {
        width: 75%;
    }

    .overlay-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .convert-icon img {
        width: 72px;
        height: 149px;
    }

    .arrow {
        width: 45px;
    }

    .btn-generate {
        font-size: 14px;
        padding: 0.8rem 5rem;
    }

    .app-section .app-btn-23 {
        top: 73%;
        right: 23%;
        left: 13%;
        /* bottom: 34%; */
        transform: translateX(-0%);
    }

    .app-section .app-btn-22 {
        top: 73%;
        right: 23%;
        left: 42%;
        /* bottom: 34%; */
        transform: translateX(-70%);
    }

    .app-section .app-btn-21 {
        top: 73%;
        right: 23%;
        left: 47%;
        /* bottom: 34%; */
        transform: translateX(-70%);
    }

    .app-section .app-btn .btn-generate {
        /* background: #FB7FF1 !important; */
        padding: 0.7rem 1rem;
        font-weight: 600;
        width: 168px !important;
        height: 5% !important;
        font-size: 108%;
    }
}

/* Tablets and small laptops (max-width: 992px) */
@media (max-width: 992px) {
    .convert-wrapper {
        max-width: 700px;
        margin: 0 auto;
    }

    .overlay-content {
        width: 80%;
    }

    .overlay-content h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .convert-icon img {
        width: 48px;
        height: 48px;
    }

    .arrow {
        width: 33px;
    }

    .btn-generate {
        font-size: 16px;
        padding: 0.4rem 3rem;
    }

    .overlay-content-2 {
        width: 88%;

    }

    .xsl_pdf {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .xsl_pdf-icon img {
        width: 48px;
        height: 48px;
    }

    .arrow-xsl-pdf {
        width: 33px;
    }

    .btn-generate-2 {
        font-size: 13px;
        padding: 0.5rem 3rem;
    }

    .icons-2 {

        gap: 1rem;

    }

    .overlay-content-3 {
        width: 88%;

    }

    .csv_pdf {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .grid-3-icon img {
        width: 48px;
        height: 48px;
    }

    .arrow-grid-3 {
        width: 33px;
    }

    .btn-generate-3 {
        font-size: 12px;
        padding: 0.6rem 3rem;
    }

    .icons-3 {
        gap: 1rem;
    }

    .app-section .app-btn-23 {
        top: 73%;
        right: 26%;
        left: 11%;
            transform: translateX(-3%);

    }
    .app-section .app-btn-22 {
        top: 73%;
        right: 26%;
        left: 11%;
            transform: translateX(-3%);

    }
    .app-section .app-btn-21 {
        top: 73%;
        right: 26%;
        left: 11%;
            transform: translateX(15%);

    }

    .app-section .app-btn .btn-generate {
        /* background: #FB7FF1 !important; */
        padding: 0.5rem 0rem;
        font-weight: 600;
        width: 157px !important;
        height: 5% !important;
        font-size: 108%;
    }
}

/* Tablets and phablets (max-width: 768px) */
@media (max-width: 767px) {
    .convert-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .overlay-content {
        width: 85%;
        height: 85%;
    }

    .overlay-content h3 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .icons {
        gap: 1.2rem;
        flex-wrap: wrap;
    }

    .convert-icon img {
        width: 95px;
        height: 95px;
    }

    .arrow {
        width: 70px;
    }

    .arrow-xsl-pdf {
        width: 70px;
    }

    .btn-generate {
        font-size: 14px;
        padding: 1rem 6.5rem;
    }

    .overlay-content-2 {
        width: 85%;
        height: 85%
    }

    .xsl_pdf {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .xsl_pdf-icon img {
        width: 95px;
        height: 95px;
    }

    .arrow-xsl-pdf {
        width: 33px;
    }

    .btn-generate-2 {
        font-size: 14px;
        padding: 1rem 6.5rem;
    }

    .icons-2 {
        gap: 1.2rem;
        flex-wrap: wrap;
    }

    .overlay-content-3 {
        width: 85%;
        height: 85%
    }

    .csv_pdf {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .grid-3-icon img {
        width: 95px;
        height: 95px;
    }

    .arrow-grid-3 {
        width: 33px;
    }

    .btn-generate-3 {
        font-size: 14px;
        padding: 1rem 6.5rem;
    }

    .icons-3 {
        gap: 1.2rem;
        flex-wrap: wrap;
    }

    .app-section .app-btn-23,
     .app-section .app-btn-22,
     .app-section .app-btn-21{
        top: 263px;
        left: 55px;
        transform: translateX(14%);
    }

    .app-section .app-btn .btn-generate {
        /* background: #FB7FF1 !important; */
        padding: 1rem 5rem;
        font-weight: 600;
        width: 88% !important;
        height: 10% !important;
    }
}


/* Very small devices (max-width: 400px) */
@media (max-width: 400px) {

    .overlay-content,
    .overlay-content-2,
    .overlay-content-3 {
        width: 88%;
        height: auto;
    }

    .overlay-content h3,
    .xsl_pdf,
    .csv_pdf {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .icons,
    .icons-2,
    .icons-3 {
        gap: 1rem;
    }

    .convert-icon,
    .xsl_pdf-icon,
    .grid-3-icon {
        width: 35px;
        height: 40px;
        /* max-height: 250px; */
        /* min-height: 250px; */
    }

    .box-3.grid-3.app-box .arrow,
    .box-2.grid-2.app-box .arrow-xsl-pdf,
    .box-1.grid-1.app-box .arrow-grid-3 {
        max-height: 50%;
        min-height: 50%;
        width: 40px;

    }

    .arrow {
        width: 40px;
    }


    .btn-generate,
    .btn-generate-2,
    .btn-generate-3 {
        font-size: 11px;
        padding: 0.5rem 3rem;
    }



    .box-3.grid-3.app-box,
    .box-2.grid-2.app-box,
    .box-1.grid-1.app-box {
        max-height: 100%;
        min-height: 100%;
    }

    .box-3.grid-3.app-box img,
    .box-2.grid-2.app-box img,
    .box-1.grid-1.app-box img {
        max-height: 100%;
        min-height: 100%;
    }

    .app-section .app-btn-23,
    .app-section .app-btn-22,
    .app-section .app-btn-21 {
        top: 235px;
        right: 33%;
        transform: translateX(-3%);
    }

    .app-section .app-btn .btn-generate {
        /* background: #FB7FF1 !important; */
        padding: 1rem 5rem;
        font-weight: 600;
        width: 142% !important;
        height: 10% !important;
    }
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-box {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    max-width: 400px;
    width: 90%;
}

.popup-box p {
    font-size: 16px;
    color: #333;
    margin-bottom: 1.5rem;
}

.popup-box button {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.popup-box button:hover {
    background: #2980b9;
}
