
        
        :root {
            --primary: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: rgba(67, 97, 238, 0.1);
    --secondary: #7209b7;
    --secondary-light: rgba(114, 9, 183, 0.1);
    --accent: #f72585;
    --accent-light: rgba(247, 37, 133, 0.1);
    --success: #4cc9f0;
    --success-light: rgba(76, 201, 240, 0.1);
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-large: 0 25px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--secondary));
    --gradient-dark: linear-gradient(135deg, var(--dark), #000);
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: #f5f8ff;
            color: var(--dark);
            line-height: 1.6;
            padding: 0;
            margin: 0;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 40px;
        }

      
       /* Enhanced Header with Glass Effect */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    color: var(--dark);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
      height: 40px;   /* logo size */
      width: auto;
    }




    
/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    position: relative;
    display: inline-block;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 80%;
    
}

nav a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: lch(64.13% 50.09 25.12 / 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(67, 97, 238, 0.4);
}

.mobile-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    background: var(--primary-light);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu:hover {
    background: var(--primary);
    color: white;
}

        /* Main Content Styles */

        .ad-container {
            background-color: #f8f9fa;
            padding: 15px;
            margin: 20px auto;
            border-radius: var(--border-radius);
            text-align: center;
            min-height: 90px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px dashed #ccc;
        }

        .ad-container p {
            color: var(--gray);
            margin: 0;
        }

        .tool-container {
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            padding: 30px;
            margin: 30px auto;
            max-width: 900px;
        }

        .tool-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .tool-header h1 {
            font-size: 2.2rem;
            margin-bottom: 10px;
            color: var(--dark);
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .tool-header p {
            color: var(--gray);
            max-width: 600px;
            margin: 0 auto;
        }

        .tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            border-bottom: 2px solid var(--light-gray);
            padding-bottom: 15px;
        }

        .tab-btn {
            padding: 10px 25px;
            border: none;
            background: none;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            color: var(--gray);
            position: relative;
            transition: var(--transition);
        }

        .tab-btn.active {
            color: var(--primary);
        }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -17px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--primary);
            border-radius: 3px;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .upload-area {
            border: 2px dashed var(--gray);
            border-radius: var(--border-radius);
            padding: 40px 20px;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            background-color: var(--light);
            margin-bottom: 25px;
            position: relative;
        }

        .upload-area:hover {
            border-color: var(--primary);
            background-color: rgba(74, 107, 255, 0.05);
        }

        .upload-area.active {
            border-color: var(--accent);
            background-color: rgba(93, 138, 255, 0.05);
        }

        .upload-icon {
            font-size: 3.5rem;
            color: var(--primary);
            margin-bottom: 15px;
        }

        #fileInput, #splitFileInput {
            display: none;
        }

        .pdf-list {
            margin: 25px 0;
        }

        .pdf-item {
            display: flex;
            align-items: center;
            padding: 15px;
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            margin-bottom: 15px;
            transition: var(--transition);
            cursor: move;
            border-left: 4px solid var(--primary);
        }

        .pdf-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        .pdf-item.dragging {
            opacity: 0.5;
            background-color: var(--light);
        }

        .pdf-icon {
            font-size: 1.8rem;
            color: var(--primary);
            margin-right: 15px;
            min-width: 40px;
            text-align: center;
        }

        .pdf-info {
            flex: 1;
            overflow: hidden;
        }

        .pdf-info h4 {
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .pdf-info p {
            color: var(--gray);
            font-size: 0.9rem;
        }

        .pdf-actions {
            display: flex;
            gap: 10px;
        }

        .action-btn {
            background: none;
            border: none;
            font-size: 1.1rem;
            cursor: pointer;
            transition: var(--transition);
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .delete-btn {
            color: var(--danger);
        }

        .delete-btn:hover {
            background-color: rgba(255, 71, 87, 0.1);
        }

        .preview-btn {
            color: var(--primary);
        }

        .preview-btn:hover {
            background-color: rgba(74, 107, 255, 0.1);
        }

        .action-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 12px 28px;
            border: none;
            border-radius: var(--border-radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 1rem;
        }

        /* .btn-primary {
            background-color: var(--primary);
            color: white;
            box-shadow: 0 4px 15px rgba(74, 107, 255, 0.3);
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(74, 107, 255, 0.4);
        } */

        .btn-secondary {
            background-color: var(--light);
            color: var(--dark);
        }

        .btn-secondary:hover {
            background-color: #e2e6ea;
        }

        .btn-warning {
            background-color: var(--warning);
            color: white;
        }

        .btn-warning:hover {
            background-color: #e69500;
        }

        .results {
            display: none;
            text-align: center;
            margin-top: 30px;
            padding: 25px;
            background-color: var(--light);
            border-radius: var(--border-radius);
            animation: fadeIn 0.5s ease;
        }

        .results-icon {
            font-size: 3.5rem;
            color: var(--success);
            margin-bottom: 15px;
        }

        .spinner {
            display: none;
            width: 50px;
            height: 50px;
            margin: 30px auto;
            border: 5px solid rgba(74, 107, 255, 0.1);
            border-radius: 50%;
            border-top: 5px solid var(--primary);
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .empty-state {
            text-align: center;
            padding: 30px;
            color: var(--gray);
        }

        .split-controls {
            display: none;
            margin-top: 20px;
            padding: 20px;
            background-color: var(--light);
            border-radius: var(--border-radius);
        }

        .range-input {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
            margin-bottom: 20px;
        }

        .range-input input {
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            width: 150px;
        }

        .page-preview {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 15px;
            margin-top: 20px;
            max-height: 400px;
            overflow-y: auto;
            padding: 10px;
        }

        .page-item {
            background-color: white;
            border-radius: 5px;
            padding: 10px;
            text-align: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            cursor: pointer;
            transition: var(--transition);
        }

        .page-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .page-item.selected {
            border: 2px solid var(--primary);
            background-color: rgba(74, 107, 255, 0.05);
        }

        .page-number {
            font-size: 0.9rem;
            color: var(--gray);
        }

        /*02-10-2025  Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-column h3 {
            color: white;
            margin-bottom: 1.5rem;
            font-size: 1.2rem;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 3px;
            background: var(--primary);
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 0.8rem;
        }

        .footer-column a {
            color: #adb5bd;
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-column a:hover {
            color: white;
            padding-left: 5px;
        }

        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid #495057;
            color: #adb5bd;
            font-size: 0.9rem;
        }

          /* sumit 02-10-2025 Dark Mode Toggle */
        /* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-large);
    z-index: 100;
    transition: var(--transition);
    border: none;
    font-size: 1.5rem;
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(30deg);
    box-shadow: 0 15px 35px rgba(67, 97, 238, 0.4);
}
       /* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

/* Containers & cards */
body.dark-mode .tool-container,
body.dark-mode .upload-area,
body.dark-mode .pdf-item,
body.dark-mode .split-controls,
body.dark-mode .results,
body.dark-mode .ad-container {
    background: #1e1e1e;
    color: #e0e0e0;
    border-color: #333;
}

/* Headings */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
    color: #ffffff;
}

/* Paragraphs, small text */
body.dark-mode p,
body.dark-mode span,
body.dark-mode .pdf-info p,
body.dark-mode .page-number {
    color: #b0b0b0;
}

/* Tabs */
body.dark-mode .tabs {
    border-bottom-color: #333;
}

body.dark-mode .tab-btn {
    color: #bbb;
}

body.dark-mode .tab-btn.active {
    color: #4cc9f0; /* accent color */
}

body.dark-mode .tab-btn.active::after {
    background-color: #4cc9f0;
}

/* Buttons */
body.dark-mode .btn-primary {
    background-color: #4cc9f0;
    border-color: #4cc9f0;
    color: #ffffff;
}

body.dark-mode .btn-primary:hover {
    background-color: #3aa9cc;
    color: #fff;
}

body.dark-mode .btn-secondary {
    background-color: #2d2d2d;
    color: #e0e0e0;
}

body.dark-mode .btn-secondary:hover {
    background-color: #444;
}

/* Nav */
/* body.dark-mode header {
    background: linear-gradient(135deg, #222, #333);
} */

body.dark-mode nav a {
    color: var(--primary);
}

body.dark-mode nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
body.dark-mode footer {
    background: #1a1a1a;
    color: #ccc;
}

body.dark-mode .footer-column a {
    color: #bbb;
}

body.dark-mode .footer-column a:hover {
    color: #fff;
}

/* Upload area hover */
body.dark-mode .upload-area:hover {
    background-color: rgba(74, 107, 255, 0.05);
    border-color: #4cc9f0;
}

/* Spinner */
body.dark-mode .spinner {
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid #4cc9f0;
}

/* Page preview */
body.dark-mode .page-item {
    background-color: #2d2d2d;
    color: #e0e0e0;
}

body.dark-mode .page-item.selected {
    border-color: #4cc9f0;
    background-color: rgba(76, 201, 240, 0.1);
}

        /*=====================================*02-10-2025  Responsive Design============================================================ */
       @media (max-width: 992px) {
    .header-content {
        flex-wrap: nowrap;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .auth-buttons {
        margin-left: 10px;
    }
    
    .converter-container {
        flex-direction: column;
    }
    
    .upload-area, .options-area {
        min-width: 100%;
    }
}
    /* Mobile logo size fix */
@media (max-width: 768px){
      
    .logo img {
      height: 40px;   /* logo size */
      width: auto;
      padding-right: 50px;
    }

     
    .mobile-menu {
        display: flex;
        position: center;
        top: 1.2rem;
        right: 20px;
    }
     nav ul {
        display: none;
    }
    .auth-buttons {
        display: none;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 20px;
        text-align: center;
        border-radius: var(--border-radius);
    }
    
    .nav-menu a:hover {
        background-color: rgba(129, 50, 50, 0.377);
    }
    
    .auth-buttons.mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 20px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .auth-buttons.mobile .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .preview-container {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    nav ul {
        display: none;
    }
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        height: 30px;
    }
    
    .tool-section {
        padding: 15px;
        margin: 15px 0;
    }
    
    .ad-container {
        margin: 10px auto;
        min-height: 75px;
    }
    
    .upload-box {
        padding: 20px 15px;
    }
    
    .preview-item {
        width: 100px;
    }
    
    .preview-img {
        height: 120px;
    }
    
    .dark-mode-toggle {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .file-icon {
        margin-right: 0;
    }
    
    .file-name {
        width: 100%;
    }
    

/* Utility Classes */
.hidden-mobile {
    display: none;
}

@media (min-width: 769px) {
    .hidden-desktop {
        display: none;
    }
    .hidden-mobile {
        display: flex;
    }
}
    /*02-10-2025  Footer Social Icons */
    
    .social-icons {
        display: flex;
        gap: 18px;
        margin-top: 10px;
        justify-content: flex-start;
    }
    .social-icon {
        font-size: 2rem;
        color: #adb5bd;
        transition: transform 0.3s, color 0.3s;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        background: transparent;
    }
    .social-icon:hover {
        transform: scale(1.25) rotate(-12deg);
        color: var(--primary);
        background: rgba(67, 97, 238, 0.15);
    }
    .social-icon.facebook:hover { color: #3b5998; }
    .social-icon.instagram:hover { color: #e4405f; }
    .social-icon.linkedin:hover { color: #0e76a8; }
    .social-icon.twitter:hover { color: #1da1f2; }
    .social-icon.youtube:hover { color: #ff0000; }

}
/*=============page contant css===================*/
/* ================================
   Content Section – Base Styles
================================ */

.content-section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    color: #1f2937;
    line-height: 1.75;
}

/* Headings */

.content-section h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

.content-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 48px 0 16px;
    color: #111827;
}

.content-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 32px 0 12px;
}

/* Paragraphs */

.content-section p {
    font-size: 1.05rem;
    margin-bottom: 18px;
    color: #374151;
}

/* Lists */

.content-section ul,
.content-section ol {
    padding-left: 22px;
    margin: 20px 0 28px;
}

.content-section li {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #374151;
}

/* Strong text */

.content-section strong {
    color: #111827;
    font-weight: 600;
}

/* ================================
   Tablet Responsive (≤1024px)
================================ */

@media (max-width: 1024px) {
    .content-section {
        max-width: 900px;
        margin: 64px auto;
        padding: 0 20px;
    }

    .content-section h1 {
        font-size: 2.2rem;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .content-section p,
    .content-section li {
        font-size: 1rem;
    }
}

/* ================================
   Mobile Responsive (≤768px)
================================ */

@media (max-width: 768px) {
    .content-section {
        margin: 48px auto;
        padding: 0 16px;
    }

    .content-section h1 {
        font-size: 1.9rem;
        line-height: 1.3;
    }

    .content-section h2 {
        font-size: 1.35rem;
    }

    .content-section h3 {
        font-size: 1.15rem;
    }

    .content-section p,
    .content-section li {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .content-section ul,
    .content-section ol {
        padding-left: 18px;
    }
}

/* ================================
   Small Mobile (≤480px)
================================ */

@media (max-width: 480px) {
    .content-section h1 {
        font-size: 1.7rem;
    }

    .content-section h2 {
        font-size: 1.25rem;
    }

    .content-section p,
    .content-section li {
        font-size: 0.92rem;
    }
}


/* ================================
   FAQ Section – Modern Layout
================================ */

.faq-section {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 24px;
}

.faq-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #111827;
}

/* FAQ Card */

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 16px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

/* Question */

.faq-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111827;
}

/* Answer */

.faq-item p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #374151;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-section {
        margin: 56px auto;
        padding: 0 16px;
    }

    .faq-section h2 {
        font-size: 1.6rem;
        margin-bottom: 28px;
    }

    .faq-item {
        padding: 18px 18px;
    }

    .faq-item h3 {
        font-size: 1.05rem;
    }

    .faq-item p {
        font-size: 0.95rem;
    }
}
