/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== Body Background ===== */
body {
  min-height: 100vh;
  background: transparent;
  letter-spacing: 0.5px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background: linear-gradient(
    to bottom,
    #081A2E,
    #0F2A44
  );
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
}

/* ===== Header ===== */
header {
  color: #e2e4e8;
  position: relative;
  border-bottom: 1px solid #e2e4e8;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
}

.left-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  margin-top: 5px;
  margin-left: 100px;
}

.site-title {
  font-size: 1rem;
  font-weight: 600;
}

.second-title {
  font-size: 12px;
  font-weight: 400;
}

/* Categories */
.category-bar ul {
  display: flex;
  list-style: none;
  gap: 18px;
  margin-right: 100px;
}

.category-bar ul li a {
  color: #bfc0c2;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
}

.category-bar ul li a:hover {
  color: #ffd700;
}

.home{
  display: none;
}


/* ===== Mobile ===== */
@media (max-width: 768px) {

  .site-logo {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  margin-top: 5px;
  margin-left: 0px;
}

.site-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.second-title {
  font-size: .85rem;
}

.category-bar {
  display: none;
}
}

/* ===== Top Note ===== */
.top-note {
  margin: 20px auto 0;
  max-width: 65%;
  text-align: center;
  color: #e2e4e8;
  border: 1px solid rgba(255,255,255,0.75);
  padding: 6px;
  border-radius: 8px;
}

.top-note h1 {
  font-size: 1rem;
  margin-bottom: 2px;
}


.top-note p {
  font-size: 11px;
  line-height: 1.5;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {

  .top-note {
    max-width: 97%;
    padding: 6px;
  }

  .top-note h3 {
  font-size: 1.2rem ;
}

  .top-note p {
    font-size: .95rem;
  }
}

/* ===== Tool Layout ===== */
.tool-wrapper {
  max-width: 70%;
  margin: 20px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 10px;
  align-items: start; 
}

.tool-panel {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {

  .tool-wrapper {
    grid-template-columns: 1fr;
    max-width: 97%;
    margin: 10px auto 0;
    padding: 0 6px;
  }

}

/* ===== Left Panel Custom ===== */
.left-panel {
  padding: 0;
  display: flex;
  flex-direction: column;
  margin-top: 43px;
}

.title {
  background: #2d7c5d;
  color: #e2e4e8;
  font-weight: 600;
  text-align: center;
  padding: 8px;
  border-radius: 6px 6px 0 0;
  font-size: 14px;
}

.data-area {
  background: rgba(214, 214, 214, 0.9);
  border-radius: 0 0 6px 6px;
}

.size-info.hidden {
  display: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  margin: 8px auto;
  width: fit-content;
}

.size-info .old-size {
  opacity: 0.9;
}

.size-info .arrow {
  font-size: 16px;
  opacity: 0.9;
}

.size-info .new-size {
  color: #194232;
  font-weight: 600;
  will-change: transform, color;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0px 6px 4px 6px;
}

.top-row > * {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.circle-slider svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}

.circle-slider {
  width: 90px;
  height: 90px;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.circle-slider svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.bg {
  fill: none;
  stroke: #f6f5f5;
  stroke-width: 10;
}

.progress {
  fill: none;
  stroke: #2d7c5d;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 251;
  stroke-dashoffset: 100;
}

.slider-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-weight: 600;
  color: #454546;
  pointer-events: none;
}

.slider-value .percent {
  font-size: 16px;
  line-height: 1;
}

.slider-value .arrow {
  font-size: 12px;
  line-height: 1;
  opacity: 0.9;
  transform: translateY(-2px);
}

.circle-slider {
  touch-action: none;
}

.format-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  
}

/* label on top of selector */
.format-label {
  font-size: 12px;
  margin-bottom: 6px;
  font-weight: 500;
  text-align: center;
  color: #2f2f30;
}

/* circular selector button */
.format-selector {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-bottom: 20px;
  background: #2d7c5d;
  color: #fff;
  font-size: 11px;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.format-arrow {
  position: absolute;
  bottom: 23px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: #fff;
  pointer-events: none;
}

.liquid-btn2{
width:40px;
height:40px;
position:relative;
padding:8px;
border-radius:60px;
font-size:18px;
border:2px solid white;
background:
linear-gradient(
180deg,
rgb(255,255,255),
rgb(255,255,255)
);
backdrop-filter:blur(18px);
color:#2d7c5d;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
box-shadow:
inset 0 2px 3px #1d7552,
inset 0 -6px 10px #137a51;
transition:all .25s ease;
}

.liquid-btn2:hover{
transform:translateY(-3px) scale(1.08);
box-shadow:
inset 0 2px 3px #018651,
inset 0 -6px 10px #018651;
border:3px solid white;
}

@media (max-width: 768px) {
.title {
  font-size: 1rem;
}

.left-panel {
  margin-top: 0px;
}

.top-row {
  gap: 20px;
  margin-top: -8px;
}

.format-wrap {
  width: 65px;
  height: 65px;
}

.format-arrow {
  font-size: 1rem;
  bottom: 8px;
}

.circle-slider {
  width: 120px;
  height: 120px;
}

.format-selector {
  width: 50px; height: 50px;}

.slider-value {
  font-size: .95rem;
}

.size-info .old-size {
  font-size: .95rem; font-weight: 600;}

.size-info .arrow {
  font-size: 25px;
}

.size-info .new-size {
  font-weight: 600; font-size: .95rem;}
}

/* editor row started */
.editor-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.editor-bottom {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5px;
  gap: 2px;
}

.editor-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.editor-slider {
  width: 80%;
  max-width: 320px;
  display:none;
  height: 5px;
}

.slider-label {
  text-align: center;
  font-size: 0.85rem;
  margin-bottom: 6px;
  margin-top: -10px;
  opacity: 0.9;
  font-weight: 600;
}

.tool-label {
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 6px;
}

.editor-slider{
  margin: 6px;
}

.liquid-btn{
width:40px;
height:40px;
position:relative;
padding:8px;
border-radius:60px;
font-size:18px;
border:2px solid white;
background:
linear-gradient(
180deg,
rgb(255,255,255),
rgb(255,255,255)
);
backdrop-filter:blur(18px);
color:#646664;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
box-shadow:
inset 0 2px 3px #1d7552,
inset 0 -6px 10px #137a51;
transition:all .25s ease;
}

.liquid-btn:hover{
transform:translateY(-3px) scale(1.08);
box-shadow:
inset 0 2px 3px #018651,
inset 0 -6px 10px #018651;
border:3px solid white;
}

@media (max-width: 768px) {
.tool-label {
  font-size: .8rem;
  font-weight: 600;
  margin-top: 5px;
}

.liquid-btn, .liquid-btn2{
width: 55px;
height: 55px;
font-size: 30px;
}
}

.center-panel {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.center-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2d7c5d;
  color: #e2e4e8;
  padding: 5px;
  border-radius: 6px 6px 0 0;
}

.live-title {
  font-weight: 600;
  color: #e2e4e8;
  font-size: 12px;
}

.reset-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: #ca6865;
  color: #fff;
  cursor: pointer;
}

.reset-btn:hover {
  background: #c9302c;
}

.image-preview {
  position: relative;
  width: 100%;
  height: 220px;
  background: rgba(214, 214, 214, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.image-preview img {
  width: 100%;
  height: 100%;
   object-fit: cover;
  display: block;
  object-position: center;
}

.update-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: rgba(45,124,93,0.3);
  border: 2px solid #2d7c5d;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.update-indicator.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #081A2E;
  font-weight: 600;
  background: rgba(255,255,255,0.7);
  padding: 8px;
  border-radius: 8px;
  border: 2px dotted #2d7c5d;
  text-align: center;
  font-size: .8rem;
  pointer-events: none;
}

@media (max-width: 768px) {
  .center-header {
  padding: 4px;
  font-size: 12px;
}
 .image-preview {
  height: 190px;
}

  .overlay-text {
    font-size: 12px;
    padding: 6px 10px;
  }

  .reset-btn {
    font-size: 14px;
    padding: 10px 24px;
  }

  .live-title{
    font-size: 1rem;
  }
}

/* =========================
   Share section
========================= */
.share-title{
  text-align:center;
  margin-top:40px;
  margin-bottom:20px;
  color:#c8cacc;
  font-size: 16px;
  font-weight: 500;
}

.share-buttons{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.share-btn{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-decoration:none;
  font-size:10px;
  color:#e5e7eb; /* normal text color */
  gap:8px;
  transition:0.25s;
}

.icon{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid;
  transition:0.25s;
}

.icon svg{
  width:20px;
  height:20px;
}

.facebook .icon{
  border-color:#1877f2;
}
.facebook svg{
  color:#1877f2;
}
.facebook:hover{
  color:#1877f2; /* text becomes blue */
}
.facebook:hover .icon{
  background:#1877f2;
}
.facebook:hover svg{
  color:#e2e4e8;
}

.whatsapp .icon{
  border-color:#25d366;
}
.whatsapp svg{
  color:#25d366;
}
.whatsapp:hover{
  color:#25d366;
}
.whatsapp:hover .icon{
  background:#25d366;
}
.whatsapp:hover svg{
  color:#e2e4e8;
}

.twitter .icon{
  border-color:#1da1f2;
}
.twitter svg{
  color:#1da1f2;
}
.twitter:hover{
  color:#1da1f2;
}
.twitter:hover .icon{
  background:#1da1f2;
}
.twitter:hover svg{
  color:#e2e4e8;
}

.telegram .icon{
  border-color:#0088cc;
}
.telegram svg{
  color:#0088cc;
}
.telegram:hover{
  color:#0088cc;
}
.telegram:hover .icon{
  background:#0088cc;
}
.telegram:hover svg{
  color:#e2e4e8;
}

.share-btn:hover{
  transform:translateY(-3px);
}

/* =========================
   how to use
========================= */
.how-to-use-center {
  text-align: center;
  color: #081A2E;
  font-family: sans-serif;
  margin: 50px auto 0 auto;
  width: 60%;
}

.how-to-use-center h3 {
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 500;
  color: #cacbcc;
}

.how-to-use-center ol {
  padding-left: 0;
  list-style-position: inside;
  display: inline-block;
  text-align: left;
}

.how-to-use-center li {
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.5;
  color: #cacbcc;
}

.how-to-use-center strong {
  color: #cacbcc;
}

@media (max-width: 600px) {
 .how-to-use-center {
  width: 85%;
}

.how-to-use-center h3 {
  font-size: 1.2rem;
}

.how-to-use-center li {
  font-size: .95rem;
}
}

/* =========================
   tool preview image
========================= */
/*.tool-preview-image {*/
/*  width: 57%;*/
/*  margin: 5px auto 0 auto;*/
/*  text-align: center;*/
/*}*/

/*.tool-preview-image img {*/
/*  width: 100%;*/
/*  height: 300px;*/
/*  display: block;*/
/*  margin: 0 auto;*/

/*  border-radius: 10px;*/
/*  border: 1px solid rgba(202, 203, 204, 0.2);*/

/*  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);*/
/*}*/

/* Mobile */
/*@media (max-width: 600px) {*/
/*  .tool-preview-image {*/
/*    width: 85%;*/
/*    margin-top: 15px;*/
/*  }*/

/*  .tool-preview-image img {*/
/*    border-radius: 8px;*/
/*  }*/
/*}*/

/* === Notes bottom === */
.note-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 70%;
  margin: 0px auto 30px; /* separation */
  padding: 18px 0 8px;
}

.notes-title {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #cacbcc;
  margin-top: 35px;
}

.note-card {
  padding: 10px;
  text-align: center;
  width: 100%;
  max-width: 260px;
}

.note-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.note-card h3 {
  font-size: 14px;
  margin: 0 0 6px;
  font-weight: 600;
   color: #cacbcc;
}

.note-card p {
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
  color: #cacbcc;
}

@media (max-width: 600px) {
    .note-container {
    grid-template-columns: 1fr;
    width: 95%;
    margin: 0 auto;
    gap: 0;
    justify-items: center; /* ⭐ THIS */
  }
  

  .notes-title {
    font-size: 1.2rem;
    margin: 20px;
  }

  .note-icon {
    font-size: 1.6rem;
  }

  .note-card h3 {
  font-size: 1.1rem;
}

.note-card p {
  font-size: .95rem;
}

.note-card {
  max-width: 300px;
}

}

/* ===== Footer Styling ===== */
html, body {
  height: 100%;
  margin: 0;
  letter-spacing: 0.4px;
}

body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

main {
  flex: 1;
}

.site-footer {
  background: #081A2E;
  color: #ffffff;
  text-align: center;
  padding: 10px 0;
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,0.25);
  text-shadow: 0 0 3px rgba(0,0,0,0.25);
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 6px;
  font-weight: 600;
}

.site-footer a:hover {
  color: #ffd700;
}

.footer-copy {
  margin-top: 4px;
  font-size: 12px;
}

@media (max-width: 600px) {
.site-footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 6px;
  font-weight: 600;
  font-size: .90rem;
}

.footer-copy {
  margin-top: 8px;
  font-size: .9rem;
}
}

/* ================= Pulsing Dots Spinner ================= */
.spinner-dots {
  position: absolute;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.spinner-dots span {
  width: 12px;
  height: 12px;
  background: #2d7c5d;
  border-radius: 50%;
  animation: pulse 1.2s infinite ease-in-out;
}

.spinner-dots span:nth-child(2) { animation-delay: 0.15s; }
.spinner-dots span:nth-child(3) { animation-delay: 0.30s; }

@keyframes pulse {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.3;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

#sizeNote {
  font-size: 11px;
  color: #3c3c3c;
  text-align: center;
  margin: 5px;
  font-weight: 500;
}

@media (max-width: 768px) {
  #sizeNote {
  font-size: 14px;
}
}

.share-message{
  position:absolute;
  left:10px;
  right:10px;
  bottom:5px;
  background:rgba(0,0,0,0.75);
  color:#fff;
  padding:20px 14px;
  border-radius:8px;
  font-size:12px;
  text-align:center;
  transform:translateY(40px);
  opacity:0;
  transition:all 0.4s ease;
  pointer-events:none;
}

.share-message.show{
  transform:translateY(0);
  opacity:1;
}

/* ===FAQs=== */
.faq{
width:40%;
margin:20px auto;
padding:0 10px;
color: #cbcccc;
}

.faq h2{
text-align:center;
margin-bottom:10px;
font-size: 16px;
font-weight: 500;
}

.faq-item{
border-bottom:1px solid #7f7d7d;
}

.faq-question{
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
text-align: left;
background:none;
border:none;
color:#d6d8d8;
font-size:11px;
padding:12px 0;
cursor:pointer;
}

.faq-icon{
transition:transform 0.3s ease;
font-size:11px;
}

.faq-answer{
max-height:0;
overflow:hidden;
transition:max-height 0.35s ease;
}

.faq-answer p{
padding-bottom:8px;
color:#d6d8d8;
line-height:1.6;
font-size:11px;
}

.faq-item.active .faq-icon{
transform:rotate(180deg);
}


@media (max-width: 600px) {
  .faq{
width:90%;
}

.faq h2{
text-align:center;
margin-bottom:10px;
font-size: 1.2rem;
font-weight: 500;
}

.faq-answer p{
font-size:0.95rem;
}

.faq-question{
font-size: 0.95rem;
}

}
.liquid-wrapper{
position:relative;
}

.category-bar ul li {
  position: relative;
  list-style: none;
}

.category-bar ul li .dropdown {
  display: none;
  position: absolute;
  top: 100%; /* below parent */
  left: 0;
  background: #0F2A44;
  
  margin: 0;
  list-style: none;
  min-width: 240px;
  border: 1px solid #595b5e;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.category-bar ul li .dropdown li a {
  display: block;
  padding: 10px;
  color:#bdc5cf;
  border-bottom: 1px solid #595b5e;
  text-decoration: none;
  font-size: 11px;
  transition: all 0.2s ease;
}

.category-bar ul li .dropdown li a:hover {
  background: #2d7c5d;
  color: #fff;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
  border-radius: 4px;
}

@media (min-width: 768px) {
  .dropdown-parent:hover .dropdown {
    display: block;
  }
}

.dropdown-parent > a {
  color: #2d7c5d;
  font-weight: 600;
}

.dropdown-parent > a::after {
  content: " ▼";
  font-size: 10px;
  margin-left: 1px;
  transition: transform 0.3s ease;
}

.category-bar ul > li:not(.dropdown-parent) > a::after {
  content: "";
}

.dropdown-parent:hover .dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  display: block; /* keep block for layout */
  animation: fadeInDropdown 0.25s forwards;
}

@keyframes fadeInDropdown {
  to {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.features-section{
margin:0px auto;
padding:10px 10px;
margin-top: 0px;
}

.features-title{
text-align:center;
color:#bdc5cf;
font-size:16px;
margin-bottom:10px;
}

.features-intro{
text-align:center;
max-width:600px;
margin:0 auto 20px auto;
color:#bdc5cf;
line-height:1.6;
font-size: 11px;
}

.features-list{
columns:2;
max-width:600px;
list-style:disc;
padding-left:20px;
color:#bdc5cf;
line-height:1.9;
font-size:11px;
}

@media(max-width:700px){
.features-list{
columns:1;
}

.features-intro{
font-size: 0.95rem;
}

.features-list{
font-size:0.95rem;
}

.features-title{
text-align:center;
color:#bdc5cf;
font-size:1.2rem;
}
}

/* ===Image Info Section== */
.image-info{
  width: 60%;
  margin: 20px auto;
  color: #cacbcc;
  line-height: 1.6;
}

.image-info h2{
  text-align: center;
  font-size: 16px;
  margin-bottom: 12px;
  color: #bdc5cf;
}

.image-info h3{
  font-size: 14px;
  margin-top: 12px;
  margin-bottom: 4px;
  color: #bdc5cf;
}

.image-info p{
  font-size: 11px;
  margin-bottom: 8px;
  color: #cacbcc;
}

@media (max-width: 768px){
  .image-info{
    width: 90%;
  }

  .image-info h2{
    font-size: 1.2rem;
  }

  .image-info h3{
    font-size: 1rem;
  }

  .image-info p{
    font-size: 0.95rem;
  }
}

/* ================= HEADER NAV ================= */
.category-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #e2e4e8;
  margin-left: auto;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 999;
}

.menu-wrapper {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: #081A2E;
  margin-top: 60px;
  padding: 20px;
  z-index: 1000;
  transition: right 0.3s ease;
}

.menu-wrapper.active {
  right: 0;
}

.mobile-menu {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-menu li a {
  display: block;
  width: 130%;
  text-align: left;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  padding: 10px 0;

  white-space: nowrap;
  overflow: hidden;
}

.mobile-menu li a:hover {
  color: #ffd700;
}
@media (max-width: 768px) {
  #main-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }

   .mobile-menu a,
  .mobile-menu button {
    font-size: .95rem !important;
  }

}

/* == LIGHT MODE == */
body.light-mode::before{
background:linear-gradient(
to bottom,
#ffffff,
#e4e7eb
);
}

body.light-mode .tool-panel{
background:#ffffff;
box-shadow:0 8px 20px rgba(0,0,0,0.1);
}

body.light-mode header{
color:#333;
border-bottom:1px solid #ddd;
}

body.light-mode .top-note,
body.light-mode .features-title,
body.light-mode .features-intro,
body.light-mode .features-list,
body.light-mode .faq,
body.light-mode .faq-question,
body.light-mode .faq-answer p,
body.light-mode .faq-icon,
body.light-mode .share-title,
body.light-mode .how-to-use-center h3,
body.light-mode .how-to-use-center li,
body.light-mode .category-bar ul li a,
body.light-mode .image-info h2,
body.light-mode .image-info h3,
body.light-mode .image-info p,
body.light-mode .menu-toggle,
body.light-mode .notes-title,
body.light-mode .note-card p,
body.light-mode .top-note p,

body.light-mode .note-card h3{
color:#333;
}

body.light-mode .site-logo, .tool-panel, .top-note{
  border: 1px solid rgb(191, 187, 187);
}

body.light-mode .share-btn{
  color: black;
}

body.light-mode .category-bar ul li .dropdown{
  background: #f3f3f4;
}

body.light-mode .mobile-menu li a{
  color: #f3f3f4 !important;
}

/* footer */
body.light-mode .site-footer{
background:#f1f1f1;
color:#0b0202;
border-top:1px solid #ddd;
}

body.light-mode .site-footer a{
color:#0a0202;
}

/* =========================
   Theme Toggle Styling
========================= */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
}

body.light-mode .theme-toggle #themeIcon {
  color: black;
}

body:not(.light-mode) .theme-toggle #themeIcon {
  color: white;
}

/* ===== Tablet (same as mobile) ===== */
@media (min-width: 601px) and (max-width: 1023px) {
  .tool-wrapper {
    grid-template-columns: 1fr;
    max-width: 60%;
    padding: 0 20px;
  }

  .top-note {
    max-width: 80%;
  }

  .container {
    padding: 0 24px;
  }

  .image-info {
    width: 75%;
  }

  .faq {
    width: 70%;
  }
}



.related {
  width: 60%; /* desktop default */
  margin: 30px auto;
  color: #cbcccc;
}

.related h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 500;
}

/* Grid */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile default: 1 per row */
  gap: 10px;
}

/* Tool cards (NOT faq-like lines) */
.tools-grid a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: #d6d8d8;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid transparent;
  text-align: center;
  transition: all 0.2s ease;
}

/* Hover = highlight */
.tools-grid a:hover {
  border: 1px solid #7f7d7d;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Desktop: 2 per row */
@media (min-width: 600px) {
  .tools-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile: full width */
@media (max-width: 599px) {
  .related {
    width: 90%;
    margin: 0 auto;
  }

  .tools-grid a {
    font-size: .95rem;
    padding: 12px 10px;
  }
}









