html, body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}
body {
  display: flex;
  flex-direction: column;
  
  font-family: 'Inter', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #707078;
}
main {
  flex: 1;
}
input[type="file"] {
  display: none;
}
.form-control:focus,
.form-check-input:focus,
.form-select:focus
{
  box-shadow:none;
  border-color: #06b6d4;
}
.input-group-text
{
  color:#707078;
  font-weight: bold;
}
.form-control:focus + .input-group-text
{
  border-color: #06b6d4;
}
.form-check-input:checked {
    background-color: #06b6d4;
    border-color: #06b6d4;
}
.form-label
{
  margin-bottom:0px;
}
.form-check > *
{
  cursor:pointer;
}
.navbar-dark .nav-link {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  font-weight: 600;
  font-size: larger;
}
.chevron 
{
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
  margin-left: 6px;
  transition: transform 0.3s ease;
  position: relative;
  top: -4px;
}
.navbar-dark .nav-link:hover {
  color: #ffffff;
}
.nav-link:hover {
  text-shadow:
    0 0 6px rgba(255,255,255,0.6),
    0 0 12px rgba(255,255,255,0.4);
}
li.tool-menu
{
  position:relative;
  & a{
    cursor:pointer;
  }
  
  ul.submenu{
    position: absolute;
    right:-50px;
    width:160px;
    box-shadow: rgba(127, 137, 161, 0.25) 0px 0px 30px;
    background: rgb(255, 255, 255);
    padding:5px;
    border-radius:3px;
    font-size:14px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s ease;

    
    li.submenu-tools{
      font-weight: 600;
      padding:5px;
      color:#707078;
      ul.submenu1
      {
        list-style: none;
        padding-left:0px;
        padding-top:5px;
        color:#334770;
        font-size:13px;

        li{
          padding:3px;
          a{
            text-decoration: none;
            color:#334770;
          }
          a:hover{
            color:#06b6d4;
          }
        }
        
      }
    }
  }
  ul.submenu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 60%;
    transform: translateX(-50%);
    width:0;
    height:0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
    border-style: solid;

    border-color: transparent transparent #ffffff transparent;
  }
}
li.tool-menu:hover{
  .chevron {
    transform: rotate(225deg);
    top:2px;
  }
  ul.submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
} 


/* Gradient Header & Footer */
.glass-header,
.glass-footer {
  position: relative;
  background: linear-gradient(to bottom, #7c50d7, #06b6d4);
  z-index: 5;
  background-image:
    linear-gradient(45deg, #7c50d7, #06b6d4),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.05) 40%,
      rgba(255,255,255,0.15) 20%,
      transparent 40%
    );
  background-blend-mode: overlay;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.35),
    inset 0 -10px 20px rgba(240, 231, 231, 0.25),
    0 10px 30px rgba(214, 211, 211, 0.25);
}

/* Top White Stroke */
.glass-header::before,
.glass-footer::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  z-index:1;
}
.glass-header::before{
  bottom:0;
}
.glass-footer::before{
  top:0;
}
.glass-footer a
{
  color:#fff;
  text-decoration: none;
  
}
.footer-link {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 5px;
    transition: 0.2s;
}

.footer-link:hover {
    color: #00f7ff;
    transform: translateX(3px);
}

.btn{
    font-weight:600;
    padding:5px 50px;
    margin:5px;
  }

/* Hero */
.hero-section {
  position: relative;
  background: linear-gradient(120deg, #a370ee, #83ecfa);
  padding: 30px 0;

}
/* Tool Cards */
.tool-card,
.file-preview {
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden; /* Important to clip the shine */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  .btn{
    background-color: #43a5f2;
    border-color: #43a5f2;
  }
  p{
    font-size: 14px;
  }
}

.tool-card:hover {
  transform: translateY(-5px);
}

/* The Shine Effect */
.tool-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%; /* Start outside the card */
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transform: skewX(-25deg); /* Slanted line */
    transition: 0.5s;
}

/* Animate on Hover */
.tool-card:hover::after {
    left: 150%; /* Sweep across to the other side */
    transition: 0.8s;
}
.tool-card img{
  height:60px;
}
section.py-5
{
  color:#334770;
}

/* page file uploading section*/
.upload-section {
    text-align: center;
    color: #707078;
}
.grd_txt
{
  background: linear-gradient(90deg, #00f7ff, #b14cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gry_txt
{
  color:#707078;
}


/* Title */
.upload-section h1 {
    font-size: 42px;
    margin-bottom: 10px;
}
/* Upload Box */
.upload-box {
    position: relative;
    padding: 20px;
    border-radius: 20px;
    border: 2px dashed rgba(0, 247, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}
.upload-box.dragover {
    border-color: #b14cff;
    background: rgba(177, 76, 255, 0.1);
}
#dropArea.disabled{
    opacity:0.6;
    pointer-events:none;
}
/* Cloud Icon */
.upload-icon {
    font-size: 50px;
}
/* Button */
.upload-btn
 {
    margin-top: 10px;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    color: white;
    background: linear-gradient(90deg, #00f7ff, #b14cff);
    cursor: pointer;
    transition: 0.3s ease;
}
.custom-btn {
  background-image: linear-gradient(to right, #ef32d9 0%, #89fffd 51%, #ef32d9 100%);
}

.custom-btn {
  padding: 10px 30px;
  text-align: center;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 0 20px #eee;
  border-radius: 10px;
  display: block;
  outline: none;
  border: none;
}
.custom-btn:hover {
  background-position: right center;
  color: #fff;
  text-decoration: none;
}
.upload-btn:hover{
    transform: scale(1.05);
}
/* Hidden Input */

.upload-icon{
  background: linear-gradient(180deg, #00f7ff, #b14cff);
  -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* image preview  */
.image-preview
{
  border: 2px solid #ccc;
  margin-bottom:15px;
}
#downloadBtn.disabled,
#resizeImageBtn.disabled
{
  filter: grayscale(40%);
    opacity: 0.4;
    pointer-events: none;
}
.preview-section
{
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.font-14
{
  font-size: 14px;
}
/* word to pdf  */
#docPreview {
    background: white;
    color: black;
    padding: 20mm; /* Standard Word Margins */
    width: 210mm;  /* A4 Width */
    margin: auto;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

#docPreview table {
    border-collapse: collapse;
    width: 100%;
}

#docPreview td, #docPreview th {
    border: 1px solid #ddd;
    padding: 8px;
}
/* contact page */
.contact-card {
    padding: 15px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s ease;
}
.icon-box {
    min-width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(90deg, #00f7ff, #b14cff);
    color: #fff;
    font-size: 18px;
}
/* end contact page */

/* about page */
.about-conatiner section{
  
}
/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Cards */
.section-feature 
/* Highlight Section */
.highlight {
  background: #ffffff;
  padding: 25px;
  border-left: 4px solid #4facfe;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.section-feature{
  .card > h5{
    color:#334770;
  }
  .card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    border:none;
  }
  .card:hover {
    transform: translateY(-5px);
  }
}
/* end about page */

/*  contact page */
.honeypot {
  position: absolute;
  left: -9999px;
}

/* end contact page */


@media (max-width: 992px) {
  li.tool-menu > ul.submenu {
    position:static;
  }
  li.tool-menu > ul.submenu::before {
    left:40%;
  }
}

