/*==================================================
            IMAGE CONVERTER TOOL
==================================================*/

.converter-tool-section{

    position:relative;

    overflow:hidden;

    padding:100px 0;

    background:linear-gradient(
        180deg,
        #F8FBFF 0%,
        #FFFFFF 100%
    );

}

.converter-tool-section::before{

    content:"";

    position:absolute;

    top:-220px;

    left:-220px;

    width:420px;

    height:420px;

    border-radius:50%;

    background:radial-gradient(
        rgba(37,99,235,.06),
        transparent 72%
    );

}

.converter-tool-section::after{

    content:"";

    position:absolute;

    bottom:-220px;

    right:-220px;

    width:420px;

    height:420px;

    border-radius:50%;

    background:radial-gradient(
        rgba(255,122,26,.06),
        transparent 72%
    );

}

/*=========================================
        WRAPPER
=========================================*/

.converter-wrapper{

    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:1.3fr .7fr;

    gap:35px;

    margin-top:60px;

}

/*=========================================
        UPLOAD BOX
=========================================*/

.upload-box{

    background:#ffffff;

    border:3px dashed #C7D7F4;

    border-radius:28px;

    padding:70px 40px;

    text-align:center;

    transition:.35s;

    cursor:pointer;

    box-shadow:

        0 20px 60px rgba(15,23,42,.05);

}

.upload-box:hover{

    border-color:#2563EB;

    background:#F8FBFF;

    transform:translateY(-6px);

}

.upload-box.dragover{

    background:#EFF6FF;

    border-color:#2563EB;

    transform:scale(1.02);

}

/*=========================================
        ICON
=========================================*/

.upload-icon{

    width:100px;

    height:100px;

    margin:auto auto 25px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(
        135deg,
        #2563EB,
        #3B82F6
    );

    color:#ffffff;

    font-size:42px;

    box-shadow:

        0 25px 60px rgba(37,99,235,.30);

}

.upload-box h3{

    font-size:32px;

    font-weight:800;

    color:#081C3A;

    margin-bottom:15px;

}

.upload-box p{

    color:#64748B;

    font-size:16px;

    margin-bottom:30px;

}

.upload-box small{

    display:block;

    margin-top:20px;

    color:#94A3B8;

    font-size:14px;

}

/*=========================================
        SETTINGS
=========================================*/

.converter-settings{

    background:#ffffff;

    border-radius:28px;

    padding:35px;

    box-shadow:

        0 20px 60px rgba(15,23,42,.05);

    height:100%;

}

.converter-settings h4{

    font-size:28px;

    font-weight:700;

    color:#081C3A;

    margin-bottom:30px;

}

.setting-group{

    margin-bottom:28px;

}

.setting-group label{

    display:block;

    font-size:15px;

    font-weight:600;

    color:#334155;

    margin-bottom:12px;

}

/*=========================================
        RANGE
=========================================*/

.quality-wrapper{

    display:flex;

    align-items:center;

    gap:18px;

}

.quality-wrapper input{

    flex:1;

    accent-color:#2563EB;

}

#qualityValue{

    min-width:70px;

    text-align:center;

    padding:10px 15px;

    border-radius:12px;

    background:#EFF6FF;

    color:#2563EB;

    font-weight:700;

}

/*=========================================
        SELECT
=========================================*/

.setting-group select{

    width:100%;

    height:55px;

    border:1px solid #E2E8F0;

    border-radius:14px;

    padding:0 15px;

    font-size:15px;

    transition:.3s;

}

.setting-group select:focus{

    outline:none;

    border-color:#2563EB;

}

.setting-group input[type="checkbox"]{

    margin-right:10px;

    accent-color:#2563EB;

}

/*=========================================
        FILES
=========================================*/

.selected-files{

    margin-top:50px;

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));

    gap:25px;

}

.file-card{

    background:#ffffff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:

        0 18px 50px rgba(15,23,42,.06);

    transition:.35s;

}

.file-card:hover{

    transform:translateY(-8px);

}

.file-preview{

    height:180px;

    background:#F8FBFF;

    display:flex;

    align-items:center;

    justify-content:center;

}

.file-preview img{

    max-width:100%;

    max-height:100%;

    object-fit:contain;

}

.file-info{

    padding:22px;

}

.file-info h5{

    font-size:18px;

    color:#081C3A;

    margin-bottom:8px;

    word-break:break-word;

}

.file-info p{

    color:#64748B;

    font-size:14px;

    margin:0;

}

/*=========================================
        RESULTS
=========================================*/

.conversion-results{

    margin-top:60px;

}

.result-card{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    padding:22px;

    margin-bottom:20px;

    background:#ffffff;

    border-radius:20px;

    box-shadow:

        0 15px 40px rgba(15,23,42,.05);

}

.result-info{

    flex:1;

}

.result-info h5{

    margin-bottom:10px;

    color:#081C3A;

}

.result-meta{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

    color:#64748B;

    font-size:14px;

}

.saved-space{

    color:#10B981;

    font-weight:700;

}

/*=========================================
        BUTTON
=========================================*/

#convertImages{

    margin-top:15px;

    width:100%;

}

#convertImages:disabled{

    opacity:.6;

    cursor:not-allowed;

}

/*=========================================
        RESPONSIVE
=========================================*/

@media(max-width:991px){

.converter-wrapper{

grid-template-columns:1fr;

}

.converter-settings{

margin-top:10px;

}

}

@media(max-width:767px){

.converter-tool-section{

padding:70px 0;

}

.upload-box{

padding:50px 25px;

}

.upload-icon{

width:80px;

height:80px;

font-size:34px;

}

.upload-box h3{

font-size:24px;

}

.converter-settings{

padding:25px;

}

.converter-settings h4{

font-size:22px;

}

.result-card{

flex-direction:column;

align-items:flex-start;

}

}/*==================================================
            GLOBAL SECTION TITLE
==================================================*/

.section-title{

    position:relative;

    max-width:900px;

    margin:0 auto 70px;

    z-index:2;

}

.section-title.text-center{

    text-align:center;

}

.section-title.text-left{

    text-align:left;

    margin-left:0;

}

.section-title.text-left .section-divider{

    margin-left:0;

}

/*=========================================
        BADGE
=========================================*/

.section-badge{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:10px 22px;

    margin-bottom:22px;

    border-radius:60px;

    background:linear-gradient(
        135deg,
        rgba(37,99,235,.08),
        rgba(59,130,246,.12)
    );

    border:1px solid rgba(37,99,235,.12);

    color:#2563EB;

    font-size:14px;

    font-weight:700;

    letter-spacing:.5px;

    text-transform:uppercase;

    box-shadow:

        0 12px 35px rgba(37,99,235,.08);

}

.section-badge i{

    width:34px;

    height:34px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        #2563EB,
        #3B82F6
    );

    color:#ffffff;

    font-size:14px;

}

/*=========================================
        HEADING
=========================================*/

.section-title h2{

    margin:0 0 22px;

    font-size:52px;

    font-weight:800;

    line-height:1.2;

    color:#081C3A;

    letter-spacing:-1px;

}

.section-title h2 span{

    position:relative;

    color:#2563EB;

}

.section-title h2 span::after{

    content:"";

    position:absolute;

    left:0;

    bottom:4px;

    width:100%;

    height:12px;

    border-radius:20px;

    background:rgba(37,99,235,.12);

    z-index:-1;

}

/*=========================================
        DESCRIPTION
=========================================*/

.section-title p{

    max-width:760px;

    margin:0 auto;

    color:#64748B;

    font-size:17px;

    line-height:1.9;

}

.section-title.text-left p{

    margin-left:0;

}

.section-title p strong{

    color:#081C3A;

    font-weight:700;

}

/*=========================================
        DIVIDER
=========================================*/

.section-divider{

    width:110px;

    height:6px;

    margin:30px auto 0;

    border-radius:20px;

    background:linear-gradient(
        90deg,
        #2563EB,
        #3B82F6,
        #FF7A1A
    );

    position:relative;

}

.section-divider::before{

    content:"";

    position:absolute;

    left:50%;

    top:50%;

    transform:translate(-50%,-50%);

    width:18px;

    height:18px;

    border-radius:50%;

    background:#ffffff;

    border:4px solid #2563EB;

}

/*=========================================
        RESPONSIVE
=========================================*/

@media(max-width:1199px){

.section-title h2{

font-size:44px;

}

}

@media(max-width:991px){

.section-title{

margin-bottom:55px;

}

.section-title h2{

font-size:38px;

}

.section-title p{

font-size:16px;

}

}

@media(max-width:767px){

.section-title{

margin-bottom:45px;

}

.section-badge{

font-size:12px;

padding:8px 18px;

}

.section-badge i{

width:30px;

height:30px;

font-size:12px;

}

.section-title h2{

font-size:30px;

line-height:1.35;

}

.section-title p{

font-size:15px;

}

.section-divider{

width:90px;

}

}/*==================================================
            CONVERTER BUTTONS
==================================================*/

.converter-btn{

    position:relative;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:14px;

    width:100%;

    min-height:62px;

    padding:18px 28px;

    border:none;

    border-radius:18px;

    cursor:pointer;

    overflow:hidden;

    text-decoration:none;

    font-size:17px;

    font-weight:700;

    transition:.35s;

}

/*=========================================
        CHOOSE IMAGE
=========================================*/

#browseBtn{

    margin-top:15px;

    background:#ffffff;

    color:#2563EB;

    border:2px solid #2563EB;

    box-shadow:

        0 18px 45px rgba(15,23,42,.06);

}

#browseBtn:hover{

    background:#2563EB;

    color:#ffffff;

    transform:translateY(-5px);

    box-shadow:

        0 30px 70px rgba(37,99,235,.22);

}

#browseBtn i{

    font-size:20px;

    transition:.35s;

}

#browseBtn:hover i{

    transform:rotate(-12deg) scale(1.15);

}

/*=========================================
        CONVERT BUTTON
=========================================*/

.primary-btn{

    margin-top:10px;

    background:linear-gradient(

        135deg,

        #2563EB,

        #3B82F6

    );

    color:#ffffff;

    box-shadow:

        0 20px 55px rgba(37,99,235,.30);

}

.primary-btn:hover{

    transform:translateY(-5px);

    box-shadow:

        0 35px 80px rgba(37,99,235,.35);

}

.primary-btn i{

    font-size:20px;

    transition:.35s;

}

.primary-btn:hover i{

    transform:rotate(180deg);

}

/*=========================================
        SHINE EFFECT
=========================================*/

.converter-btn::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:60%;

    height:100%;

    background:linear-gradient(

        90deg,

        transparent,

        rgba(255,255,255,.35),

        transparent

    );

    transform:skewX(-20deg);

    transition:.7s;

}

.converter-btn:hover::before{

    left:150%;

}

/*=========================================
        DISABLED
=========================================*/

.primary-btn:disabled{

    background:#CBD5E1;

    color:#ffffff;

    cursor:not-allowed;

    box-shadow:none;

    transform:none;

}

.primary-btn:disabled:hover{

    transform:none;

}

.primary-btn:disabled::before{

    display:none;

}

/*=========================================
        LOADING
=========================================*/

.converter-btn.loading{

    pointer-events:none;

}

.converter-btn.loading i{

    animation:rotateIcon 1s linear infinite;

}

@keyframes rotateIcon{

    from{

        transform:rotate(0);

    }

    to{

        transform:rotate(360deg);

    }

}

/*=========================================
        RESPONSIVE
=========================================*/

@media(max-width:767px){

.converter-btn{

font-size:15px;

min-height:56px;

padding:16px 22px;

}

.converter-btn i{

font-size:18px;

}

}