body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;

    /* Dark gradient matching your screenshot */
    background: linear-gradient(135deg, #0e1f33 0%, #0b0c18 60%, #2c0040 100%);
    color: #fff;

    /* Optional smooth transition for theme changes */
    transition: background 0.5s ease, color 0.5s ease;
}



.header {
    color: brown;
    font-size: 36px;
    text-align: center;
    margin-top: 100px;

    /* Animation */
    animation: fadeIn 2s ease-in-out forwards;
/* Keyframes for fade-in */
}@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* The whole scrollbar */
::-webkit-scrollbar {
    width: 12px;   /* width of vertical scrollbar */
    height: 12px;  /* height of horizontal scrollbar */
}/* The track (background)       background: #f1f1f1; */ 
::-webkit-scrollbar-track {
    border-radius: 10px;
}/* The draggable thumb */
::-webkit-scrollbar-thumb {
    background: #88403e; 
    border-radius: 10px;
}/* Hover effect on the thumb */
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

/*home*/
/* -------------------------------------------------------
   MAIN HOME SECTION
------------------------------------------------------- */
.ff-home {
    position: relative;
    padding: 120px 10%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0e0f18;
    color: white;
}

/* -------------------------------------------------------
   ANIMATED GRADIENT BLOBS (BEHIND CONTENT)
------------------------------------------------------- */
.ff-blob1,
.ff-blob2 {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.6;
    animation: blobMove 12s ease-in-out infinite alternate;
}

.ff-blob1 {
    background: #00f7ff;
    top: -100px;
    left: -150px;
}

.ff-blob2 {
    background: #ff47c6;
    bottom: -150px;
    right: -120px;
}

@keyframes blobMove {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.3) translate(60px, -50px); }
}

/* -------------------------------------------------------
   CONTAINER LAYOUT
------------------------------------------------------- */
.ff-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 3;
    gap: 60px;
}

/* -------------------------------------------------------
   LEFT CONTENT AREA
------------------------------------------------------- */
.ff-content {
    max-width: 580px;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* TITLE */
.ff-title {
    font-size: 3.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, #00eaff, #b97dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

/* DESCRIPTION */
.ff-desc {
    font-size: 1.2rem;
    color: #d8d8d8;
    line-height: 1.6;
    margin-bottom: 30px;
}

.ff-desc span {
    color: #00eaff;
    font-weight: 600;
}

/* -------------------------------------------------------
   BUTTONS
------------------------------------------------------- */
.ff-buttons {
    display: flex;
    gap: 20px;
}

.ff-btn {
    padding: 14px 34px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .5px;
    transition: .35s ease;
    font-size: 1rem;
}

/* Primary Button */
.ff-primary {
    background: linear-gradient(90deg, #00f7ff, #47ff8a);
    color: #000;
    box-shadow: 0 0 20px rgba(0,255,247,0.4);
}

.ff-primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(0,255,247,0.6);
}

/* Outline Button */
.ff-outline {
    border: 2px solid #00f7ff;
    color: #00f7ff;
}

.ff-outline:hover {
    background: #00f7ff;
    color: #000;
    transform: translateY(-6px);
}

/* -------------------------------------------------------
   RIGHT SIDE VISUAL – GLASS 3D CARD
------------------------------------------------------- */
.ff-visual {
    animation: floatIn 1.3s ease forwards;
    opacity: 0;
}

@keyframes floatIn {
    from { opacity: 0; transform: translateX(60px) scale(.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

/* Glass Card */
.ff-glass-card {
    padding: 40px;
    border-radius: 25px;
    backdrop-filter: blur(18px);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
    transition: 0.4s ease;
}

/* Hover 3D Lift */
.ff-glass-card:hover {
    transform: translateY(-15px) scale(1.06);
    box-shadow: 0 25px 50px rgba(0,255,255,0.35);
}

/* Icon Float Animation */
.ff-glass-card img {
    width: 180px;
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-13px); }
}

/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */
@media(max-width: 900px) {
    .ff-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .ff-title { font-size: 3rem; }

    .ff-glass-card img { width: 140px; }
}
/*home end*/




/**/
/* ======== MAIN HEADER ========== */
.pro-header {
    position: fixed;
    top: 0;
    width: 95%;
    padding: 18px 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(18px);
    background: rgba(255,255,255,0.1);
    border-bottom: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    z-index: 999;
    animation: slideDown 1s ease forwards;
    transition: 0.35s ease;
    overflow: hidden;
}

/* Slide down */
@keyframes slideDown {
    from {
        transform: translateY(-80px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Shrink on scroll */
.pro-header.shrink {
    padding: 10px 60px;
    background: rgba(255,255,255,0.25);
}

/* ======== LOGO EFFECT ======== */

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #00b7ff;
    position: relative;
    animation: glowIn 1.2s ease forwards;
}

/* Glow animation */
@keyframes glowIn {
    0% { opacity: 0; letter-spacing: 10px; }
    100% { opacity: 1; letter-spacing: 2px; }
}

/* Floating neon outline */
.logo::after {
    content: "";
    position: absolute;
    left: -6px;
    right: -6px;
    top: -6px;
    bottom: -6px;
    border-radius: 10px;
    background: linear-gradient(45deg, #00eaff, #009dff, #00ffd1);
    opacity: 0.3;
    filter: blur(20px);
    animation: neonFloat 6s ease-in-out infinite alternate;
}

@keyframes neonFloat {
    from { transform: translate(0px,0px); }
    to { transform: translate(10px, -10px); }
}

/* ======== NAVIGATION ======== */

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    font-size: 17px;
    color: #111010;
    position: relative;
    transition: 0.3s;
}

/* Underline animation */
nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 3px;
    background: #00eaff;
    border-radius: 5px;
    transition: 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Magnetic hover effect */
nav ul li a:hover {
    transform: scale(1.12) translateY(-2px);
    color: #00eaff;
}

/* ======== BUTTON ======== */

.theme-btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(45deg, #00ccff, #0099ff);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0,204,255,0.5);
}

.theme-btn:hover {
    transform: scale(1.07);
    box-shadow: 0 0 25px rgba(0,204,255,0.8);
}

/* ======== PARTICLES (floating dots) ======== */
.pro-header::before,
.pro-header::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0,200,255,0.4), transparent 70%);
    border-radius: 50%;
    animation: floatParticle 7s ease-in-out infinite alternate;
    filter: blur(22px);
}

.pro-header::before {
    top: -30px;
    left: 20%;
}
.pro-header::after {
    top: 10px;
    right: 15%;
    animation-delay: 1.5s;
}

@keyframes floatParticle {
    from { transform: translate(0,0); }
    to { transform: translate(20px, -25px); }
}



/**/










/* Container for the whole image-to-PDF section */
.imgtopdf {
    display: flex;
    flex-direction: column;       /* Stack elements vertically */
    align-items: center;          /* Horizontal centering */
    justify-content: center;      /* Vertical centering */
    gap: 15px;                    /* Space between elements */
    padding: 30px;
    background-color: rgb(208, 202, 202);    /* Professional purple */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 500px;
    margin: 50px auto;            /* Center on page */
    color: white;                 /* Text color */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
}.imgtopdfheader,.wordtopdfdheader,.summeryheader,.imgtotxtheader,.mergepdfheader, .splitpdfheader {
    font-size: 32px;
    font-weight: bold;
    color: #88403e;
    white-space: nowrap;         /* Prevent wrapping */
    overflow: hidden;            /* Hide overflowing text */
    border-right: 2px solid #88403e; /* Cursor effect */
    width: 0;                    /* Start with 0 width */
    animation: typing 7s steps(40, end) forwards, blink 0.75s step-end infinite;
    text-align: center;
}/* Typing effect */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}/* Cursor blinking */
@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: #f5f5f5; }
}
.hder{
    font-size: 22px;
    font-weight: bold;
    color: #88403e;
    white-space: nowrap;         /* Prevent wrapping */
    overflow: hidden;            /* Hide overflowing text */
    border-right: 2px solid #88403e; /* Cursor effect */
    width: 0;                    /* Start with 0 width */
    animation: typing 5s steps(40, end) forwards, blink 0.75s step-end infinite;
    text-align: center;
}/* Typing effect */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}/* Cursor blinking */
@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: rgb(208, 202, 202); }
}



/* File name display */
#fileName {
    display: inline-block;
    font-size: 16px;
    color: #fff;
    margin-left: 10px;
}

/* Download PDF button */
.imgpdfdwnload,.wrdpdfdwnload,.summerzebtn, .imgtotxtbtn, .mergeBtn, .splitpdfbtn {
    background-color: #88403e;
    color: white;
    font-size: 16px;
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.imgpdfdwnload:hover {
    background-color: #a0504a;
}

/* Image preview */
#showImg {
    max-width: 90%;
    height: auto;
    border: 2px solid #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Button alignment in one row (optional) */
.buttons-row {
    display: flex;
    align-items: center;
    gap: 10px;
}




.wordtopdf,.summery,.imgttxt,.mergepdfs,.splitpdf{
     display: flex;
    flex-direction: column;       /* Stack elements vertically */
    align-items: center;          /* Horizontal centering */
    justify-content: center;      /* Vertical centering */
    gap: 15px;                    /* Space between elements */
    padding: 30px;
    background-color: rgb(208, 202, 202);    /* Professional purple */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 500px;
    margin: 50px auto;            /* Center on page */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     color: #000;       /* ensure text is visible */
     font-size: 18px;   /* optional, make text readable */
     text-align: center;
}

.footer{
    background-color: #555;
    color: #0e0302;
    font-size: large;
    text-align: center;
}










