
 #backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    bottom: 20px; /* Place it at the bottom */
    right: 30px; /* Place it 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #3B49B5; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 10px 15px; /* Some padding */
    border-radius: 0px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#backToTopBtn:hover {
    background-color: #333; /* Darker background on hover */
}
.faq-section {
            max-width:100%;
            margin: 0 auto;
            background: #ECEFF1;
            padding: 50px;
            border-top:1px solid #ccc;
            border-bottom:1px solid #ccc;
            color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .faq-title {
            font-size: 1.5rem;
            text-align: center;
            margin-bottom: 20px;
        }

        .faq-item {
            background: #3b49b5;
            margin: 10px 0;
            border-radius: 5px;
            overflow: hidden;
            transition: max-height 0.4s ease-in-out;
        }

        .faq-item.active {
            max-height: 500px; /* Adjust based on content length */
        }

        .faq-item:not(.active) {
            max-height: 50px;
        }

        .faq-question {
            padding: 15px;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .faq-answer {
            padding: 0 15px 15px;
            line-height: 1.6;
            font-size: 1rem;
            border-top: 1px solid #6d83f2;
            display: none;
        }

        .faq-item.active .faq-answer {
            display: block;
        }

        .toggle-icon {
            font-size: 1.5rem;
            transition: transform 0.3s ease;
        }

        .faq-item.active .toggle-icon {
            transform: rotate(180deg);
        }
 .language-icon img {
    width: 30px; /* Adjust width as needed */
    height: 30px; /* Maintain aspect ratio */
    margin:0 10px;
}

    /* Style the select bar */
.gtranslate_wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f5f5fa;
    color:#333;
    border: 0; 
    padding:12px 16px;
    font-size: 16px;
    font-weight:normal;
    border-radius: 10px;
    cursor: pointer;
    width: auto; /* Adjust width as needed */
    max-width: 100%; /* Adjust max-width as needed */
   margin-top:0px;
   
   
}
/* Hide flags */
.gtranslate_wrapper img {
    display: none !important;
}

/* Show only the select bar */
.gtranslate_wrapper select {
    display: block !important;
}

/* Show language options as text */
.goog-te-menu-value span {
    display: inline !important;
}

/* Hide language options container */
.goog-te-menu-value {
    display: none !important;
}

.text-color-green{font-size:30px;font-style: italic;}
.text-color-red {
    font-size: 30px;
    font-style: italic;
}
h3a {
    font-size: 1.45rem;
    margin-bottom:5px;
    
}
p{
    margin-top:15px;
}
svg{
    margin-top:15px;
}
.container-tool{
   
    background:#fff;
    padding:10px;
    
    
}

.container-tool2{
   
    background:#DEE2EF;
    padding:15px;
    height:265px;
    
    
}

.container2{
    margin-top:0px;
    border-radius:0px;
    background: repeating-linear-gradient(0deg, 
        #149463,
        #f0f0f0 1px,
        #e0e0e0 1px,
        #e0e0e0 2px,
        #d0d0d0 2px,
        #149463 3px
    );
    padding:30px 20px;
    max-width:99%;
    margin-left: auto;
     margin-right: auto;
     margin-bottom: 50px;
     border-top:2px solid #3B49B5;
     border-bottom:2px solid #3B49B5;
     
}

.container3{
     margin-top:0px;
    border-radius:0px;
    background: repeating-linear-gradient(0deg, 
        #E40C0C,
        #f0f0f0 1px,
        #e0e0e0 1px,
        #e0e0e0 2px,
        #d0d0d0 2px,
        #E40C0C 3px
    );
    padding:30px 20px;
    max-width:99%;
    margin-left: auto;
     margin-right: auto;
     margin-bottom: 50px;
     border-top:2px solid #3B49B5;
     border-bottom:2px solid #3B49B5;
     
}
.container4{
    margin-top:0px;
    border-radius:0px;
    background: repeating-linear-gradient(0deg, 
        #1621BB,
        #f0f0f0 1px,
        #e0e0e0 1px,
        #e0e0e0 2px,
        #d0d0d0 2px,
        #1621BB 3px
    );
    padding:30px 20px;
    max-width:99%;
    margin-left: auto;
     margin-right: auto;
     margin-bottom: 50px;
     border-top:2px solid #3B49B5;
     border-bottom:2px solid #3B49B5;
     
}
.container5{
    margin-top:0px;
    border-radius:0px;
    background: repeating-linear-gradient(0deg, 
        #E713A4,
        #f0f0f0 1px,
        #e0e0e0 1px,
        #e0e0e0 2px,
        #d0d0d0 2px,
        #E713A4 3px
    );
    padding:30px 20px;
    max-width:99%;
    margin-left: auto;
     margin-right: auto;
     margin-bottom: 50px;
     border-top:2px solid #3B49B5;
     border-bottom:2px solid #3B49B5;
     
}
.container6{
     margin-top:0px;
    border-radius:0px;
    background: repeating-linear-gradient(0deg, 
        #3B49B5,
        #f0f0f0 1px,
        #e0e0e0 1px,
        #e0e0e0 2px,
        #d0d0d0 2px,
        #3B49B5 3px
    );
    padding:30px 20px;
    max-width:99%;
    margin-left: auto;
     margin-right: auto;
     margin-bottom: 50px;
     border-top:2px solid #3B49B5;
     border-bottom:2px solid #3B49B5;
     
}

.tabbed-menu {
    max-width: 94%;
    margin: 0px auto;
    background: white;
    border-radius: 11px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top:-95px;
     margin-bottom:55px;
}

.tab-list {
    list-style: none;
    margin: 0px auto;
    padding: 20px;
    display: flex;
    border-bottom: 2px solid #ddd;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    background: #f9f9f9;
    border-right: 2px solid #ddd;
    transition: background 0.3s ease, color 0.3s ease;
    color: #555;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab .icon {
    margin-right: 8px;
    fill: currentColor; /* This ensures the icon color matches the text */
}

.tab:hover {
    background: #e3e3e3;
}


.tab:last-child {
    border-right: none;
}

.tab.active {
    background: #3b49b5;
    color: white;
    border-bottom: 2px solid #3b49b5;
}

.tab:hover {
    background: #e3e3e3;
}

.tab-content {
    padding: 20px;
    display: none;
}

.tab-content.active {
    display: block;
}

@media screen and (max-width: 768px) {
    .tab-list {
        flex-direction: column;
    }

    .tab {
        border-right: none;
        border-bottom: 2px solid #ddd;
    }

    .tab:last-child {
        border-bottom: none;
    }
}

.tab i {
    margin-right: 8px;
    font-size: 1.2em;
}
#ads{
    text-align:center;
    margin:10px auto;
}
 .toolarea{
          max-width: 90%;
    margin: 0px auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top:20px;
     margin-bottom:55px;
     padding:50px;
     align-items:center;
     text-align:center;
      }
      .container-toolarea{
          height:135px;
          background:#DEE2EF;
          padding:0px;
      }

.bg-tool{
    background: linear-gradient(135deg, #3f5efb, #4454C0);
        padding-bottom:20px;
        padding-top:5px;
        text-align:center;
        color:white;
}
    .styled-section2 {
        background-color: #fff; /* Light gray background for a clean look */
    padding: 50px 90px; /* Generous padding for spacing */
    border-radius: 0; /* Soft rounded corners */
    max-width: 100%; /* Max width to keep content centered and readable */
    margin: 0 auto; /* Center the section */
    text-align: left; /* Center-align the text */
    border-bottom:1px solid #ccc;
    border-top:1px solid #ccc;
    }

    .styled-section h2 {
        color: #343a40; /* Darker color for the heading */
    font-size: 28px; /* Larger font size for the heading */
    margin-bottom: 20px; /* Space below the heading */
    }

    .styled-section p {
        color: #333; /* Muted color for the paragraph text */
    font-size: 18px; /* Comfortable font size for readability */
    line-height: 1.6; /* Better line spacing */
    margin-bottom: 15px; /* Space between paragraphs */
    }

    .styled-section h3 {
        color: #343a40; /* Darker color for the heading */
    font-size: 24px; /* Larger font size for the heading */
    margin-bottom: 20px; /* Space below the heading */
    }

@media (max-width: 768px) {
    .styled-section {
        padding: 30px 15px; /* Adjust padding for smaller screens */
    }

    .styled-section h2 {
        font-size: 22px; /* Slightly smaller heading for mobile */
    }

    .styled-section p {
        font-size: 14px; /* Slightly smaller text for mobile */
    }
}





/* Button Styles */
button, .button, #button, 
btn, .btn, #btn, 
downloadlink, #download-button, 
#button-copy, button-copy, 
copy-button, #copy-button, 
#copy, copy, #download-html-button, 
[type="button"], [type="submit"], 
[type="reset"], #download-btn-html, 
#download-btn-txt, #download-link, 
#download, #downloadButton, 
#downloadLink, #convertButton, 
#downloadButton, #convert-pdf-button, 
#download-pdf-button, #start-btn, 
#stop-btn, #copy-btn, #download-btn, 
#download-pdf-btn, #convert-btn, 
#convertBtn, #downloadBtn, 
#splitButton, #downloadPdf {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    background-image: linear-gradient(45deg, #283448 50%, #283448 50%);
    border: 6px double #fff;
    transition: all 0.3s ease;
    margin: 10px auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    margin-right: 10px; 
    text-align:center;
}


/* Button Hover State */
button:hover,  #convert-pdf-button:hover, #download-pdf-button:hover, #convert-btn:hover, #convertBtn:hover, #splitButton:hover {
 background-image: linear-gradient(135deg, #707070, #000);
  
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

 .input{
  width: 80%;
  height: 100%;
  padding: 5px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  border: 2px solid;
  border-image: linear-gradient(to right, #06c, #f90) 1;
  border-radius: 5px;
  box-shadow: 2px 2px 5px #ccc;
  transition: all 0.2s ease-in-out;
  margin-top:10px;margin-bottom:10px;
  margin:0 auto;
}



#upload-button:hover {
  background-image: linear-gradient(to left, #FF3D47, #DC1113);
}

#upload-button, .upload-button, .upload-file, #reload-button, #download-link, #uploadFile{
    
    display: inline-block;
  padding: 20px 40px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-transform:normal;
  background: linear-gradient(45deg, #283448 50%, #283448 50%);
  border-radius: 12px;
   border:8px double #fff;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  margin-bottom:25px;
    color:white;
    max-width:100%;
}

.upload-button:hover, #upload-button:hover,.upload-file:hover, #reload-button:hover, #download-link:hover {
  background: linear-gradient(135deg, #1D1D1D 50%, #707070 50%);
   border-radius: 12px;
   border:8px double #fff;
   color:white;
}


/* Style the file selector button */
input[type="file"]::file-selector-button {
  display: inline-block;
  padding: 15px 25px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-transform: none;
  background: linear-gradient(45deg, #283448, #283448);
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  border: 0px solid #ddd;
  width: 100%;
}

input[type="file"]::file-selector-button:hover {
  background: linear-gradient(135deg, #0A86D9, #0A86D9);
  border-radius: 0;
  border: 0px double #fff;
  color: white;
}

input[type="file"]::file-selector-button:active {
  background-color: #4a41ad;
}

input[type="file"]::file-selector-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #6c63ff;
}

/* Hide the "No file chosen" text */
input[type="file"]::after {
  content: ""; /* Clear content to hide the label */
  display: none;
}

/* Responsive styling for mobiles and small screens */
@media (max-width: 768px) {
  input[type="file"]::file-selector-button {
    padding: 15px 30px;
    font-size: 18px;
  }

  input[type="file"] {
    display: block; /* Ensure the input block layout */
  width: 100%;
  margin-bottom: 25px;
  font-size: 16px;
  }
}

@media (max-width: 480px) {
  input[type="file"]::file-selector-button {
    padding: 10px 20px;
    font-size: 16px;
  }
input[type="file"] {
    display: block; /* Ensure the input block layout */
  width: 100%;
  margin-bottom: 25px;
  font-size: 14px;
}
}



input[type="text"], input[type="url"], #url-input  {
  width: 80%;
  height: 50px;
  padding: 10px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  background:#f9f9f9;
  border-radius: 50px;
  border:2px solid #3F5DF5;
  transition: all 0.2s ease-in-out;
  margin:10px auto;
}
input[type="number"] {
  height: 45px;
  padding: 5px 30px 5px 5px; /* Add space for arrows on the right */
  font-size: 16px;
  font-family: Arial, sans-serif;
  background: #F9F9F9;
  border-radius: 5px;
  border: 1px solid #ccc;
  transition: all 0.2s ease-in-out;
  margin-top: 10px;
  margin-bottom: 30px;
  margin: 0 auto;
  appearance: textfield; /* Ensure consistent appearance */
}

input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button {
  display: block; /* Ensure the spinner is visible */
  position: absolute;
  right: 10px; /* Adjust to fit inside input field */
}

input[type="number"]::-moz-spin-box {
  display: inline; /* Enable for Firefox if needed */
}

select {
  
  padding: 10px 15px; 
  font-size: 16px;
  background:#FFF8F7;
  border-radius: 12px;
  border:2px solid #E1E1E2;
  transition: all 0.2s ease-in-out;
  width:50%;
  margin:10px auto; 
}
textarea, #base64Input {
  width: 90%;
  height: 150px;
  padding: 10px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  background:#FFF8F7;
  border-radius: 5px;
   border:1px solid #E1E1E2;
  transition: all 0.2s ease-in-out;
  margin-top:10px;margin-bottom:15px;
  margin:10px auto;
}

textarea:hover {
  border-color: #06c;
  box-shadow: none;
}

textarea:focus {
  outline: none;
  border-color: #55555e;
  box-shadow: none;
}


#success-message{
    font-size:22px;
    color:green;
    font-weight:bold;
    margin:30px auto;
    
}
canvas, #image-container, .img, #img, image, .image, #image, #convertedImage, #preview-image, #image-canvas, #original-image, #modified-image {
  border: 2px solid white;
  
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  
  max-width:80%;
  margin:20px auto;
  padding:15px;
}

#image-container img {
  max-width: 100%;
  }

pre, #result, output, #output, .output,#output-text, #speechOutput {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  padding: 0.2em 0.4em;
  border-radius: 5px;
  border:2px solid #ccc; 
  transition: all 0.2s ease-in-out;
  white-space: pre-wrap;
  text-align:left;
  width:90%;
  padding:15px;
  margin:20px auto;

}


input[type="range"] {
  -webkit-appearance: none;
  width: 80%;
  background: transparent;
  height: 10px;
  border-radius: 5px;
  outline: none;
  padding: 0;
  margin: 0;
  box-shadow: inset 0 0 5px #333;
  transition: box-shadow 0.2s;
  margin-top:10px;

}

input[type="range"]:focus {
  box-shadow: inset 0 0 5px #888;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #CA0505;
  cursor: pointer;
  transition: background 0.2s;
  margin-top:-5px;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: #3e8e41;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  background: #ddd;
  border-radius: 5px;
  border: none;
}
input[type="checkbox"] {
  appearance: none;
  width: 45px;
  height: 20px;
  background: transparent;
  border: 1px solid #ccc;
  border-radius:5px;
  margin: 0px;
  outline: none;
  cursor: pointer;
  position: relative;
  padding:5px;
}
input[type="checkbox"]:before {
  content: "";
  width: 13px;
  height: 13px;
  background: #4B71AB;
  border-radius: 100px;
  position: absolute;
  left: 2px;
  
  top: 2.5px;
  transition: all 0.2s;
}

input[type="checkbox"]:checked:before {
  transform: translateX(20px);
}

input[type="checkbox"]:focus {
  border: 1px solid #888;
}
input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #333;
  margin-right: 10px;
  outline: none;
  position: relative;
  cursor: pointer;
}

input[type="radio"]:after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
  position: absolute;
  top: 5px;
  left: 5px;
  opacity: 0;
  transition: all 0.2s;
}

input[type="radio"]:checked:after {
  opacity: 1;
}

input[type="radio"]:focus {
  border-color: #888;
}


input[type="radio"] {
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

label {
  display: block; /* makes each label appear on a new line */
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px; /* adds a small gap below each label */
  color:#55555e;
  margin-top:11px;
}

/* Styling for input[type="color"] */
input[type="color"] {
  padding: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  outline: none; /* Remove default focus outline */
}

/* Style the color preview box */
input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 4px;
  padding: 0;
}


.form-control {
    display: block;
    margin:0 auto;
    max-width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
#avepdf-container-id {
  /* Add your desired styles for the container here */
  width: 100%;
  height: 340px;
  position: relative;
  margin-bottom:-150px;
  
 
}

/* CSS to hide an area from the bottom */
#avepdf-container-id .your-targeted-element {
  display: none;
}


   

    input[type="file"] {
      margin-top: 20px;
    }

 #options-row {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 20px;
    }

    #orientation-options,
    #padding-options {
      margin: 10px;
    }

    #orientation-label,
    #padding-label {
      margin-right: 10px;
    }

    #progress-bar {
      width: 90%;
      margin: 20px auto;
      background-color: transparent;
      border-radius: 5px;
      overflow: hidden;
    }

    #progress-fill {
      height: 30px;
      background-color: #3F5EF9;
      text-align: center;
      line-height: 30px;
      color: white;
      width: 0;
      border-radius:50px;
    }

    #success-message {
      display: none;
      margin-top: 20px;
    }



  .page-container {
        position: relative;
        display: inline-block;
        margin: 10px;
        width:350px;
        background:white;
        padding:11px;
        border:2px solid #1A8FE3;
    }

.page{
 width:300px;   
    
}

#conversion-message {
  display: block;
  margin-top: 10px; /* Adjust spacing as needed */
  font-size: 16px; /* Adjust font size as needed */
  color: #333; /* Adjust text color as needed */
}

#conversion-progress {
  display: block;
  margin-top: 10px; /* Adjust spacing as needed */
  width: 100%; /* Make progress bar full width */
  height: 20px; /* Adjust height as needed */
  border-radius: 10px; /* Adjust border radius for rounded corners */
  background-color: #f0f0f0; /* Adjust background color of progress bar */
}

#conversion-progress::-webkit-progress-bar {
  background-color: #f0f0f0; /* Adjust background color of progress bar track */
  border-radius: 10px; /* Adjust border radius for rounded corners */
}

#conversion-progress::-webkit-progress-value {
  background-color: #3F5EF9; /* Adjust background color of progress bar fill */
  border-radius: 10px; /* Adjust border radius for rounded corners */
}

#conversion-progress::-moz-progress-bar {
  background-color: #3F5EF9;
  border-radius: 10px; 
}


#imgsec{
            padding:20px;
            max-width:100%;
            margin:11px auto;
            border:1px solid #3F5EF9;
            background:#fff;
            box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
            border-radius:12px;
            
        }

 #drag-area,  #uploadArea,  .upload-area, #drag-drop-area {
        border: 2px dashed #ddd;
        padding: 30px;
        margin: 20px auto;
        max-width: 100%;
        background-color: #f5f5fa;
        cursor: pointer;
        border-radius:10px;
    }

    #drag-area:hover,  #uploadArea:hover,  .upload-area:hover, #drag-drop-area:hover {
        background-color: #FFF8F7;
        border-color: #00bcd4;
    }

#area {
        border: 2px dashed #89D3A3;
        padding: 20px 50px;
        margin: 0 auto;
        max-width: 100%;
        background-color: #fff;
        cursor: pointer;
        border-radius:10px;
    }

    #area:hover {
        background-color: #FFF2F2;
        border-color: #00bcd4;
    }
    #drag-area p {
      margin: 10px 0;
      font-size: 16px;
      color: #333;
    }

    #sample-image, img#sample-image, #sampleImage, #drag-sample-image {
      width: 100px;
      margin-top: 10px;
      cursor: pointer;
      border: 2px solid #007BFF;
      border-radius: 5px;
      padding: 5px;
      transition: transform 0.2s, box-shadow 0.2s;
      background:white;
    }

    #sample-image:hover, img#sample-image:hover, #sampleImage:hover, #drag-sample-image:hover {
      transform: scale(1.1);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    #canvas-container {
      margin: 20px auto;
      max-width: 50%; 
    }

    #blur-form {
      margin: 20px 0;
    }

    input[type="range"] {
      width: 500px;
      margin: 10px auto;
    }
    #options-container, #editorContainer, .containera {
       
        margin: 10px auto;
        padding:20px;
        border:2px dashed #c1c1c1;
        border-radius:10px;
        background:#FFF8F7;
    }
