* { box-sizing: border-box; margin:0; padding:0; }
body {
font-family: 'Inter', sans-serif;
background: #f9fafb;
color: #333;
 min-height: 100vh;
}
header.custom-header, footer.site-footer {
background: #f2d397; color: #485565;
padding: 2rem 1rem;
text-align: center;
}
.logo-title-wrap {
display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
}
.logo-circle {
width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
}
.logo-circle img {
width: 100%; height: 100%; object-fit: cover;
}
.title-group h1 {
font-size: 2rem; font-weight: 700;
}
.title-group p {
font-size: 1rem; color: #6b7280;
}

/* ============ WORD COUNT   */
.dev-section {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.counter-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  animation: fadeIn 1.5s ease-in;
}

.counter-box textarea {
  width: 100%;
  height: 200px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
  }

  .stat-card {
    padding: 1rem;
    min-width: 0;
  }

  .stat-card h3 {
    font-size: 1.2rem;
  }

  .stat-card p {
    font-size: 0.9rem;
  }
}

/* ============ WORD COUNT   */
/* button =============== */
#copy-btn {
  background: #f2d397;
  border: none;
  padding: 0.6rem 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

#copy-btn:hover {
  background: #fcd34d;
}
/* convert - case ============== */
.convert-section .counter-box {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
}
.button-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.button-row button {
  background:#f2d397; border:none; padding:0.5rem 1rem;
  border-radius:6px; cursor:pointer; flex:1;
}
.button-row button:hover { background:#fcd34d; }
.actions { margin-top:1rem; display:flex; gap:0.5rem; justify-content:center; }
.actions button { background:#3b82f6; color:#fff; padding:0.6rem 1.2rem; border:none; border-radius:6px; cursor:pointer; }
.actions button:hover { background:#2563eb; }
textarea { width:100%; height:200px; border:1px solid #ccc; border-radius:8px; padding:0.75rem; margin-bottom:1rem; resize:vertical; }
.stats { display:flex; justify-content: space-around; margin:0.5rem 0; font-size:0.9rem; color:#374151; }

/* convert - case ============== */
/* ============== Image to text */
.image-text-section .ocr-box {
  max-width: 720px; margin: 2rem auto; padding: 2rem;
  background: #fff; border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
#img-input {
  display: block; width: 100%;
  padding: 0.6rem; margin-bottom: 1rem;
  font-size: 1rem;
}
#ocr-btn {
  background: #f2d397; border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer; font-weight: 600;
  margin-bottom: 1rem;
}
#ocr-output {
  width: 100%; min-height: 200px;
  padding: 0.75rem; border: 1px solid #ccc;
  border-radius: 8px; resize: vertical;
}
.actions {
  margin-top: 1rem; display: flex;
  gap: 0.5rem; justify-content: center;
}
.actions button {
  background: #3b82f6; color: #fff;
  padding: 0.6rem 1.2rem; border: none;
  border-radius: 6px; cursor: pointer;
}
.actions button:hover { background: #2563eb; }

/* ============== Image to text */
/* button =============== */

.site-footer .footer-content {
max-width: 1300px;
margin: 0 auto;
}
.footer-links a {
margin: 0 0.75rem;
color: #485565;
text-decoration: none;
transition: color 0.3s;
}
.footer-links a:hover { color: #3b82f6; }
.footer-copy {
margin-top: 0.5rem;
font-size: 0.85rem;
color: #6b7280;
}
/* Navbar ========== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
overflow-x: hidden;
}
.prodev-navbar {
background: #2c3e50;
padding: 1rem 0;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
position: relative;
z-index: 99;
width: 100%;
}
.prodev-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
/* ✅ Hide logo by default (desktop) */
.prodev-logo {
display: none;
}
/* ✅ Show logo only on mobile */
@media (max-width: 768px) {
.prodev-logo {
display: block;
position: absolute;
left: 1rem;
top: 50%;
transform: translateY(-50%);
color: #f2d397;
font-size: 1.5rem;
font-weight: bold;
}
}
.prodev-hamburger {
position: absolute;
right: 1rem;
font-size: 1.5rem;
color: #f2d397;
cursor: pointer;
display: none;
}
.prodev-nav-links {
list-style: none;
display: flex;
justify-content: center;
gap: 1.5rem;
transition: all 0.3s ease-in-out;
}
.prodev-nav-links li a {
text-decoration: none;
color: #f2d397;
font-weight: 600;
font-size: 1rem;
padding: 0.5rem 1rem;
border-radius: 5px;
transition: all 0.3s ease;
white-space: nowrap;
}
.prodev-nav-links li a:hover {
background-color: #f2d397;
color: #111;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Mobile styles */
@media (max-width: 768px) {
.prodev-hamburger {
display: block;
}
.prodev-nav-links {
display: none;
flex-direction: column;
align-items: center;
background-color: #2c3e50;
width: 100%;
padding: 1rem 0;
}
.prodev-nav-links.show {
display: flex;
}
}
/* Footbar========== */
.prodev-visitor-strip {
background: #616978;
padding: 0.75rem 1rem;
text-align: center;
box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
}
.visitor-ticker {
color: #f2d397;
font-weight: 600;
font-size: 1.1rem;
display: inline-block;
}
/* visitor bottombar */
.prodev-visitor-strip {
background: #2c3e50;
padding: 0.75rem 1rem;
text-align: center;
box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
}
.visitor-ticker {
font-weight: 600;
font-size: 1.1rem;
color: #f8f8f8;
}
.visitor-icon {
color: #ffffff;
font-size: 1.3rem;
margin-right: 8px;
}
.animated-icon {
animation: pulse-glow 1.8s ease-in-out infinite;
will-change: transform, opacity;
}
@keyframes pulse-glow {
0%, 100% {
opacity: 0.7;
transform: scale(1);
}
50% {
opacity: 1;
transform: scale(1.2);
}
}