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,
.form-control:focus + button
{
  border-color: #06b6d4;
}
.form-check-input:checked {
    background-color: #06b6d4;
    border-color: #06b6d4;
}
.form-label
{
  margin-bottom:0px;
}
.form-check > *
{
  cursor:pointer;
}
.form-check-input[type=radio] {
    border-radius: 4px;
}
.form-check-input:checked[type=radio] {
   --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3crect x='-2' y='-2' width='4' height='4' fill='%23fff'/%3e%3c/svg%3e");
}
.input-group > button
{
    border:1px solid #dee2e6;
    border-top-right-radius: .375rem;
    border-bottom-right-radius: .375rem;
    padding:5px 10px;
}
.input-group > button:hover{
  color:#06b6d4;
}
.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:300px;
    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;
    display: none;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 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;
    right: 15%;
    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 {
    display: flex;       /* This enables your side-by-side columns */
    flex-wrap: wrap;
    opacity:1;
    transform: translateY(0);
    pointer-events: auto;
  }
} 
/* 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;
  }

/* 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;
    width:50%;
    margin:auto;
  }
  p{
    font-size: 14px;
    flex-grow: 1;
  }
}

.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
{
  .title-text
  {
    font-size:20px;
  }
  .tool-image{
  width: 60px;
  height: 60px;
  flex-shrink: 0;
    img {
      max-width: 100%;
      max-height: 75%;
      object-fit: contain;
    }
  }
} 
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;
}
.dark_txt
{
  color:#334770;
}
.textBlue{
  color: #4facfe;
}
.page-description
{
  font-size: 1.25rem;
}
/* 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);
    background-color: #00f7ff; /* fallback */
    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
{
    font-size:18px;
}
#downloadBtn.disabled,
#resizeImageBtn.disabled,
.custom-btn.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;
  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;
}

/* image compressor tool page */
.steps ul.steps-list,
.features ul{
    list-style: none;
    padding:0;
    li{
      padding: 5px 0px;
    }
} 

.steps-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: var(--text-light);
}

.steps-list li span {
    flex-shrink: 0;
    background: #d2ecec;
    color: #46d6d4 ;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    font-weight: bold;
}
.faq-item
{
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  a{
    text-decoration: none;
    display: flex;
    justify-content: space-between;
  }
  a[aria-expanded="false"] i{
    transform: rotate(0deg);
    transition: 0.3s;
  }
  a[aria-expanded="true"] i{
    transform: rotate(180deg);
  }
  .card
  {
    border: none;
    background-color: #f8f7fc;
    border-radius: 0;
  }
}
.features.card,
.benefits.card{
  border: none;
  background-color: #f8f7fc; 
  
}
.features.card i{
   color: #46d6d4;
   margin-right:5px;
}

.benefit-item i {
    width: 40px;
    height: 40px;
    background: #d2ecec;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex; 
    align-items: center;      /* Vertical centering */
    justify-content: center;
    color: #46d6d4;
    margin-right: 15px;
}
 #downloadBtn{
    padding:5px 25px;
}

/*  end image compressor tool page */
/* 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 */
.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 */

/*  case conveter tool page */
.overview-section,
.section-card,
.option-section,
.reasonsToChoose
{
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding:10px;
  border-radius: 10px;
}
.overview-section,
.section-card
{
  background: rgba(255, 255, 255, 0.05);
}
.option-section
{
  background: #fbfcff;
}
.inputoutput-section{
  textarea#inputText
  {
    resize: none;
    overflow-y: auto;
    min-height: 250px;
    height: 100%;
  }
}
#copyFromModal i{
  font-size:25px;
}
#copyTextBtn,
#previewBtn,
#copyFromModal,
#clrTextBtn
{
  cursor: pointer;
}
.features
{
  .card{
    background-color: #ffffff;
    padding: 20px;
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.05); /* Soft purple shadow */
    height: 100%; /* Important for same-height columns with d-flex stretch */
    border: 1px solid #f1f3f9; /* Thin border like the image */
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    .feature-icon-wrapper {
      font-size: 1.2rem;
      margin-bottom: 20px;
      width: 40px;
      height: 40px;
      border-radius: 50%; 
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      .white-icon {
        filter: grayscale(1) brightness(100) contrast(100);
      } 
    }
    .icon-uppercase { background-color:#4facfe; }
    .icon-lowercase { background-color: #FFD700; }
    .icon-camelcase { background-color: #fa8a03; }
    .icon-sentencecase { background-color: #e22967; }
    .icon-alternatecase { background-color: #8b5cf6; }
    .icon-inversecase { background-color: #14b8a6; }
    .icon-titlecase{ background-color: #22c55e; }
    .icon-snakecase { background-color: #6366f1; } 
  }
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.1);
  }
}
.conversion-option{
  margin:2px 5px;
}
.conversion-option input[type="radio"] {
  display: none;
}
.conversion-option label {
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  cursor: pointer;
  background-color: #fff;
  transition: all 0.2s ease;
}
.conversion-option .icon {
  width: 20px;
  font-weight: bold;
  margin-right: 5px;
  display: inline-block;
  text-align: center;
}
.conversion-option .label-text {
  font-size: 0.95rem;
  font-weight: 500;
}
.conversion-option.upper label:hover {
  background-color: #eff6ff;
  border-color: #93c5fd;
}
.conversion-option.upper input[type="radio"]:checked + label {
  border-color: #93c5fd;
  background-color: #f5f3ff;
  box-shadow: 0 0 0 1px #eff6ff; 
}
.conversion-option.upper input[type="radio"]:checked + label .label-text {
  color: #4facfe;
}
.conversion-option.upper{
  color: #4facfe;
}
/* end case conveter tool page */

/*  case text counter tool page */
.section-card{
  padding: 20px;
  h5{
    font-size:16px;
  }
} 
.stats-box {
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  background: #f1f5f9;
}

.stats-box i {
    width: 40px;
    height: 40px;
    background: #d2ecec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #46d6d4;
    margin-right: 5px;
}
/*  end text counter tool page */

/* png conveter tool page */
.feature-card,
.steps-card,
.usage-card,
.pngDefinition-card,
.faq-card,
.tips-card,
.relatedTool-card,
.tool-link,
.benifit-card{
  border:none;
  box-shadow: 0 0px 5px rgba(0, 0, 0, 0.15);
  border-radius:10px;
  padding:5px;
  h6{
    font-weight:bold;
  }
}
.feature .row > div:nth-child(1) .feature-card {
  background: #f8fbfe;
  i{
    color:#4facfe;
  }
}
.feature .row > div:nth-child(2) .feature-card {
  background: #f8f2ce;
  i{
    color:#FFD700;
  }
}
.feature .row > div:nth-child(3) .feature-card {
  background: #f7ead9;
  i{
    color:#fa8a03;
  }
}
.feature .row > div:nth-child(4) .feature-card {
  background: #f7e7ec;
  i{
    color:#e22967;
  }
}
.steps-card{
  background: #f5fcf7;
  .card-body{
  
    h5{
      color:#25a65c;
    }
    .steps-list{
      padding-left:0;
      margin-bottom:0px;
      li span {
        flex-shrink: 0;
        background: #25a65c;
        color: #fff ;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin-right: 15px;
        font-weight: bold;
      }

    } 
  }
}
.usage-card{
  background: #faf6fe;
  h5{
    color: #5a3ed4;
  }
  .usage{
    padding:10px 0px;
    .icon{
      width: 50px;
      height: 50px;
      background: #f2eefd;
      border-radius: 30%;
      padding:30px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #5a3ed4;
      margin-right: 15px;
      text-align: center;
    }
  }
}
.pngDefinition-card{
  background: #fdfbf1;
  h5{
    color: #fea505;
  }
  .icon-wrapper {
      position: relative;
      display: inline-block;
      i{
        color:#fea505;
        margin-right:15px;
      }
      span {
          position: absolute;
          top: 5px;
          left: 25%;
          transform: translateX(-50%);
          font-size: 10px;
          font-weight: bold;
          color: #fff;
      }
  }
}
.faq-card{
  background:#fbfbfc;
  h5,h6{
    color:#5c8de2;
  }
  .faq-icon{
    margin:0px 10px;
    color:#5c8de2;
  }
}
.tips-card{
  background: #f7e7ec;
  h5{
    color: #e22967;
  }
  .tips-list{
    li{
      padding:5px 0px;
      i{
        font-size:20px;
        color: #e22967;
        line-height: 1.25;
      }
    }
    
  }
}
.relatedTool-card{
  background: #fbfbfc;
  .tool-link {
    display: flex;
    flex-direction: row; 
    align-items: start;
    background: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    padding:10px;
    height: 100%; 
    box-sizing: border-box;
  }
  .tool-link:hover {
      transform: translateY(-5px);
      border-color: #57589f; 
      box-shadow: 0 10px 20px rgba(87, 88, 159, 0.15);
  }
  .tool-icon-wrapper {
      margin-right: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      img {
        height: 60px;
    }
  }
  .tool-info {
    h6 {
      margin-top: 3px 0 0 0 ;
      color: #4facfe; /* Your theme color */
    }
    p {
      margin: 5px 0 0;
      font-size: 0.85rem;
      color: #707078;
    }
  }
}
/*  end png converter page */

/*  jpeg converter page */
.jpeg-conveter
{
  .usage-card {
    .usage {
      padding: 5px 0px;
      .icon {
        width: 20px;
        height: 20px;
        padding:20px;
      }
    }
  }
}
/*  end jpeg converter page */

/*  jpeg converter page */
.webp-converter
{
  .usage-card {
    .usage {
      padding: 8px 0px;
      .icon {
        width: 20px;
        height: 20px;
        padding:20px;
      }
    }
  }
  .benifit-card
  {
      background: #fdfbf1;
      h5{
        color: #fea505;
      }
      .benefit-item i
      {
        color:#fea505;
        background:#faeaca
      }

  }

}
/*  end jpeg converter page */

/*  text cleaner page */
.section-coloured
{
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  background: #fbfcff;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding:20px;
  border-radius: 10px;
}
.action{
  #clearAll{
    padding:8px 20px;
  }
}
.options{
  .form-check,
  h6{
    margin-bottom:10px;
  }
}

/*  text cleaner page */

@media (max-width: 992px) {
  li.tool-menu > ul.submenu {
    position:static;
  }
  li.tool-menu > ul.submenu::before {
    left:40%;
  }
  li.tool-menu.is-active ul.submenu {
    display: flex;       /* This enables your side-by-side columns */
    flex-wrap: wrap;
    opacity:1;
    transform: translateY(0);
    pointer-events: auto;
  }
  li.tool-menu:not(.is-active) ul.submenu{
    display: none;
    opacity:0;
  }
  li.tool-menu:not(.is-active) .chevron {
    transform: rotate(45deg); /* original position */
    top: -4px;
  }
 
}
