@import url('https://fonts.googleapis.com/css2?family=Asimovian&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
/* ================= RESET ================= */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

.container,
.container-fluid {
    overflow: visible !important;
}
a{
    text-decoration: none;
}

/* ================= NAVBAR ================= */
.navbar {
    background: #ffffff;
    position: relative;
    transition: all 0.4s ease;
}

.navbar-brand img {
    max-height: 44px;
}

.nav-link {
    font-weight: 500;
    color: #426db4 !important;
    padding: 8px 12px;
    font-size: 17px;
    font-weight: 700;
    font-family: "Lato", sans-serif;
}

.nav-link:hover {
    color: #f36c21 !important;
}

/* Active Menu */
.nav-link.active {
    color: #f36c21 !important;
}

/* Change Only Last Letter Color */
/* .nav-link.active span {
    color: #f36c21;
} */

/* ================= MEGA MENU ================= */
.menus-dropdown {
    position: relative;
}

/* FULL WIDTH MENU */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: #f8f9fa;
    padding: 40px 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-top: 1px solid rgb(204, 203, 203);

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;

    z-index: 999;
}

/* SHOW ON HOVER */
.menus-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega-menu h5 i {
    opacity: 0;
}
/* TEXT STYLE */
.mega-menu h5 {
    color: #f36c21;
    font-weight: 600;
    font-family: "Lato", sans-serif;
    transition: all 0.3s ease;
}


.mega-menu a:hover h5 i {
    animation: iconSlide 0.4s forwards;
}

.mega-menu a:hover h5 {
    color: #426db4;
}

@keyframes iconSlide {
    0%   { opacity: 0; transform: translateX(0px); }
    25%  { opacity: 0.3; transform: translateX(1px); }
    50%  { opacity: 0.6; transform: translateX(3px); }
    100% { opacity: 1; transform: translateX(5px); }
}

.mega-menu p {
    font-size: 14px;
    color: #555;
}

/* RIGHT SIDE TEXT */
.cta-title {
    color: #426db4 ;
    font-weight: 700;
}



/* ROTATE ICON */
.menus-dropdown:hover i {
    transform: rotate(180deg);
}

.menus-dropdown i {
    transition: 0.3s;
}

/* ================= BUTTON ================= */
.btn-border {
    position: relative;
    padding: 8px 22px;
    border-radius: 50px;
    background: #f36c21;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    border: none;
    display: inline-block;
    transition: all 0.3 ease;
}

.btn-border::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    border: 3px solid #4eba6f;
    animation: borderRun 2s linear infinite;
}

@keyframes borderRun {
    0% { clip-path: inset(0 100% 0 0); }
    50% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(0 0 0 100%); }
}

.btn-border:hover {
    background: #426db4 ;
    color: #fff;
}

/* ================= STICKY ================= */
.navbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    animation: stickySlide 0.4s ease forwards;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

@keyframes stickySlide {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

body.has-sticky-nav {
    padding-top: 70px;
}


/* ================= OFFCANVAS (MOBILE MENU) ================= */
.offcanvas {
    max-width: 75%;
}

.offcanvas-header img {
    height: 35px;
}

.offcanvas-body .nav-link {
    font-size: 16px;
    padding: 10px 0;
}

.offcanvas .nav-link i {
    transition: 0.3s;
}

.offcanvas .nav-link[aria-expanded="true"] i {
    transform: rotate(180deg);
}
/* ================= RESPONSIVE ================= */
@media (max-width: 767px) {

    /* Hide top bar */
    .top-bar {
        display: none;
    }

    /* Center menu items in mobile */
    .navbar-nav {
        text-align: left;
    }

    /* Button spacing in mobile menu */
    .navbar .btn-border {
        margin-top: 10px;
    }
}



/* ======================= PDF SECTION =========== */

.tools-section{
    background:#f7f8fc;
    padding:80px 0;
}

/* TITLE */

.section-title h2{
    font-size:48px;
    font-weight:800;
    color:#111827;
    margin-bottom:15px;
}

.section-title p{
    color:#6b7280;
    font-size:17px;
    margin:0;
}

/* FILTER BUTTONS */

.top-filter{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
    margin-bottom:45px;
}

.filter-btn{
    border:none;
    background:#fff;
    padding:12px 24px;
    border-radius:14px;
    font-size:16px;
    font-weight:600;
    color:#374151;
    transition:.3s;
    box-shadow:0 4px 12px rgba(0,0,0,0.05);
}

.filter-btn:hover{
    transform:translateY(-2px);
}

.filter-btn.active{
    background:#111827;
    color:#fff;
}

/* CARD */

.tool-card{
    background:#fff;
    border:1px solid #edf0f7;
    border-radius:22px;
    padding:30px 25px;
    display:block;
    text-decoration:none;
    height:100%;
    transition:.35s;
}

.tool-card:hover{
    border-color:#4f46e5;
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(0,0,0,0.06);
}

/* ICON */

.tool-icon{
    width:50px;
    height:50px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:22px;
    transition:.3s;
}

.tool-card:hover .tool-icon{
    transform:scale(1.08);
}

.tool-icon i{
    font-size:20px;
}

/* ICON COLORS */

/* 1 */

.tool-item:nth-child(1) .tool-icon{
    background:#e0f2fe;
}
.tool-item:nth-child(1) .tool-icon i{
    color:#0284c7;
}

/* 2 */

.tool-item:nth-child(2) .tool-icon{
    background:#f3e8ff;
}
.tool-item:nth-child(2) .tool-icon i{
    color:#9333ea;
}

/* 3 */

.tool-item:nth-child(3) .tool-icon{
    background:#fee2e2;
}
.tool-item:nth-child(3) .tool-icon i{
    color:#dc2626;
}

/* 4 */

.tool-item:nth-child(4) .tool-icon{
    background:#dcfce7;
}
.tool-item:nth-child(4) .tool-icon i{
    color:#16a34a;
}

/* 5 */

.tool-item:nth-child(5) .tool-icon{
    background:#fef3c7;
}
.tool-item:nth-child(5) .tool-icon i{
    color:#d97706;
}

/* 6 */

.tool-item:nth-child(6) .tool-icon{
    background:#ede9fe;
}
.tool-item:nth-child(6) .tool-icon i{
    color:#7c3aed;
}

/* 7 */

.tool-item:nth-child(7) .tool-icon{
    background:#cffafe;
}
.tool-item:nth-child(7) .tool-icon i{
    color:#0891b2;
}

/* 8 */

.tool-item:nth-child(8) .tool-icon{
    background:#fce7f3;
}
.tool-item:nth-child(8) .tool-icon i{
    color:#db2777;
}

/* 9 */

.tool-item:nth-child(9) .tool-icon{
    background:#ecfccb;
}
.tool-item:nth-child(9) .tool-icon i{
    color:#65a30d;
}

/* 10 */

.tool-item:nth-child(10) .tool-icon{
    background:#fee2e2;
}
.tool-item:nth-child(10) .tool-icon i{
    color:#ef4444;
}

/* 11 */

.tool-item:nth-child(11) .tool-icon{
    background:#dbeafe;
}
.tool-item:nth-child(11) .tool-icon i{
    color:#2563eb;
}

/* 12 */

.tool-item:nth-child(12) .tool-icon{
    background:#fae8ff;
}
.tool-item:nth-child(12) .tool-icon i{
    color:#c026d3;
}

/* HEADING */

.tool-card h3{
    font-size:22px;
    font-weight:700;
    color:#111827;
    margin:0;
    line-height:1.4;
    transition:.3s;
}

.tool-card:hover h3{
    color:#4f46e5;
}

/* FILTER HIDE */

.tool-item{
    transition:.3s;
}

.tool-item.hide{
    display:none;
}

/* RESPONSIVE */

@media(max-width:991px){

    .section-title h2{
        font-size:40px;
    }

    .tool-card{
        padding:25px 22px;
    }

    .tool-card h3{
        font-size:20px;
    }
}

@media(max-width:767px){

    .tools-section{
        padding:60px 0;
    }

    .section-title h2{
        font-size:32px;
    }

    .section-title p{
        font-size:15px;
    }

    .top-filter{
        gap:10px;
    }

    .filter-btn{
        flex:1 1 calc(50% - 10px);
        text-align:center;
        padding:12px 10px;
        font-size:14px;
    }

    .tool-card{
        padding:22px 20px;
        border-radius:18px;
    }

    .tool-icon{
        width:48px;
        height:48px;
        margin-bottom:18px;
    }

    .tool-icon i{
        font-size:18px;
    }

    .tool-card h3{
        font-size:18px;
    }
}



/* ================= FOOTER ================= */


.main-footer {
    background: linear-gradient(135deg, #0f2043, #1f3a5f);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}


.main-footer::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 300%;
    pointer-events: none;
    z-index: 0;

    background-image: 
        radial-gradient(2px 18px at 10% 10%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 20px at 20% 30%, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 16px at 30% 50%, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 22px at 40% 20%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 18px at 50% 60%, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 20px at 60% 40%, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 17px at 70% 70%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 19px at 80% 30%, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 21px at 90% 80%, rgba(255,255,255,0.8), transparent);
        

    animation: rainFall 1.8s linear infinite;
    opacity: 0.5;
}

@keyframes rainFall {
    from { transform: translateY(0); }
    to { transform: translateY(100%); }
}

.main-footer .container,
.footer-bottom {
    position: relative;
    z-index: 2;
}



.footer-logo {
    margin-bottom: 20px;
    max-width: 200px;
}

.footer-text {
    font-size: 13px !important;
    line-height: 1.7;
    opacity: 0.9;
}

/* Titles */
.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
}

.footer-title::after {
    content: "";
    width: 35px;
    height: 2px;
    background: #f48323;
    display: block;
    margin-top: 6px;
}

/* Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    position: relative;
    padding-left: 15px;
    transition: all 0.3s ease;
}

.footer-menu a::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #f36c21;
    transition: transform 0.3s ease;
}

.footer-menu a:hover {
    color: #f36c21;
    opacity: 1;
}

.footer-menu a:hover::before {
    transform: translateX(4px);
}

/* Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact i {
    color: #f36c21;
    margin-top: 4px;
}

/* ================================
   FOOTER BOTTOM
================================ */

.footer-bottom {
    background: linear-gradient(135deg, #233b6b, #233b6b);
    padding: 15px 0;
    position: relative;
    z-index: 2;
    border-top: 1px solid #426db4;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Copyright */
.copyright-text {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

.copyright-text span {
    color: #f48323;
    font-weight: 600;
}

/* ================================
   SOCIAL ICONS
================================ */

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #f48323;
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.35s ease;
    z-index: 0;
}

.social-icon i {
    position: relative;
    z-index: 1;
    font-size: 14px;
}

.social-icon:hover::after {
    transform: scale(1);
}

.social-icon:hover {
    transform: translateY(-4px) rotate(6deg);
    color: #ffffff;
}



@media (max-width: 768px) {

    .main-footer {
        padding-left: 40px;
    }

 

    .footer-bottom-inner {
        justify-content: center;
        gap: 12px;
    }
}




/* details file css  */

.jpeg-convert-section{
    background:#f3f4f6;
    min-height:100vh;
}

/* LEFT */

.convert-box{
    text-align:center;
}

/* TITLE */

.convert-heading{
    margin-bottom:30px;
}

.convert-heading h1{
    font-size:30px;
    font-weight:800;
    color:#111827;
    margin-bottom:12px;
}

.convert-heading p{
    font-size:18px;
    color:#6b7280;
}

/* MAIN BOX */

.image-convert-box{
    border:4px dashed #5b5fc7;
    border-radius:14px;
    background:#f8f9fb;
    min-height:150px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 20px;
    max-width:850px;
    margin:auto;
    transition: all 0.3s ease;
}



/* CENTER */

.upload-center{
    text-align:center;
}

.upload-center h3{
    font-size:20px;
    color:#374151;
    margin-bottom:28px;
    font-weight:500;
}

/* BUTTON */

.select-image-btn{
    border:none;
    background:#0f766e;
    color:#fff;
    font-size:18px;
    font-weight:700;
    padding:10px 25px;
    border-radius:8px;
    transition:.3s;
}

.select-image-btn:hover{
    background:#115e59;
}

/* CONVERT */

.convert-btn-area{
    margin-top:32px;
}

.convert-btn{
    border:none;
    background:#5b5fc7;
    color:#fff;
    padding:7px 20px;
    border-radius:8px;
    font-size:18px;
    font-weight:700;
    transition:.3s;
}

.convert-btn:hover{
    background:#4b50b9;
}

/* NOTE */

.bottom-note{
    margin-top:24px;
    font-size:19px;
    color:#5b5fc7;
    font-weight:700;
}

/* RIGHT */

.sidebar-sticky{
    position:sticky;
    top:100px;
}

/* SIDEBAR */

.sidebar-tools{
    margin-bottom:18px;
}

.tool-link{
    background:#fff;
    border:1px solid #e5e7eb;
    padding:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    text-decoration:none;
    color:#334155;
    font-size:22px;
    font-weight:700;
    margin-bottom:10px;
    transition:.3s;
}

.tool-link:hover{
    color:#4f46e5;
    border-color:#4f46e5;
}

.small-link{
    font-size:15px;
    text-align:center;
}

.tool-link.active{
    color:#4f46e5;
}

/* DOT */

.dot{
    width:12px;
    height:12px;
    background:#ff5f5f;
    border-radius:50%;
}

/* ADS */

.ads-wrapper{
    background:#fff;
    border:1px solid #e5e7eb;
    padding:12px;
}

.ads-text{
    text-align:right;
    color:#6b7280;
    font-size:15px;
    margin-bottom:10px;
}

/* RESPONSIVE */

@media(max-width:1399px){

    .convert-heading h1{
        font-size:25px;
    }

}

@media(max-width:1199px){

    .upload-center h3{
        font-size:20px;
    }

}

@media(max-width:991px){

    /* HIDE RIGHT SIDE */

    .sidebar-sticky{
        display:none;
    }

    .convert-heading h1{
        font-size:20px;
    }

}

@media(max-width:767px){

    .jpeg-convert-section{
        padding-top:20px;
    }

    .convert-heading h1{
        font-size:18px;
    }

    .convert-heading p{
        font-size:16px;
    }

    .image-convert-box{
        min-height:150px;
        padding:30px 15px;
        border-width:3px;
    }

    .upload-center h3{
        font-size:18px;
        margin-bottom:22px;
    }

    .select-image-btn{
        width:100%;
        font-size:16px;
        padding:10px 20px;
    }

    .convert-btn{
        width:100%;
        font-size:18px;
        padding:12px 25px;
    }

    .bottom-note{
        font-size:15px;
    }

}

.preview-area{
    display:none;
    position:relative;
    width:100%;
    text-align:center;
}

.preview-area img{
    max-width:100%;
    max-height:150px;
    border-radius:10px;
}

.remove-image{
    position:absolute;
    top:-10px;
    right:-10px;
    width:35px;
    height:35px;
    border:none;
    border-radius:50%;
    background:red;
    color:#fff;
    font-size:18px;
    cursor:pointer;
    z-index:10;
}

.upload-trigger{
    cursor:pointer;
    display:inline-block;
}

.image-convert-box.dragover{
    border:4px solid #0f766e;
    background:#eefcf9;
}

#previewImage{
    max-height: 150px;
}


.loader-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.7);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.loader-box{
    width:450px;
    max-width:90%;
    background:#fff;
    padding:30px;
    border-radius:12px;
}

.progress{
    height:12px;
    background:#eee;
    border-radius:50px;
    overflow:hidden;
    margin-top:15px;
}

.progress-bar{
    width:0%;
    height:100%;
    background:#5b5fc7;
    transition:.3s;
}