* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #0078ff, #00c6ff);
  margin: 0;
  color: #333;
}

/* wrapper now uses flex only for horizontal centering */
.wrapper {
  width: 100%;
  max-width: 800px;
  margin: 130px auto;
  display: flex;
  flex-direction: column;
  
}

.converter-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

p {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

#dropZone {
  border: 2px dashed #0078ff;
  border-radius: 10px;
  padding: 30px;
  cursor: pointer;
  transition: background 0.3s, border 0.3s;
  margin-bottom: 20px;
}

#dropZone.dragover {
  background: #f0f8ff;
  border-color: #005bcc;
}

#dropZone p {
  margin: 0;
  font-size: 15px;
  color: #444;
}

#pdfFile {
  display: none;
}

button {
  background: #0078ff;
  border: none;
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

button:hover {
  background: #005bcc;
}

.hidden {
  display: none;
}

#statusBox {
  margin-top: 15px;
}

.loader {
  border: 3px solid #eee;
  border-top: 3px solid #0078ff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin: 10px auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

a.btn-download {
background: #04a1a9;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 15px;
    width: 100%;
    font-size: 24px;
}

a.btn-download:hover {
  background: #1f8c37;
}

#errorMsg {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}

/* --- SEO Section --- */
.seo-content {
  padding: 80px 40px;
  background: #fff;
  color: #333;
  line-height: 1.7;
  text-align: left;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
      width: 100%;
    max-width: 800px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
	border-radius: 15px;
}

.seo-content h2 {
  font-size: 28px;
  color: #0078ff;
  text-align: center;
  margin-bottom: 20px;
}

.seo-content h3 {
  font-size: 20px;
  margin-top: 30px;
  color: #222;
}

.seo-content p {
  max-width: 850px;
  margin: 10px auto;
  font-size: 16px;
}

.seo-content ul {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 20px auto;
}

.seo-content ul li {
  background: #f7faff;
  border-left: 4px solid #0078ff;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 15px;
  
}
/* FAQ Section */
.faq-section {
  background: #ffffff;
  padding: 100px 40px;
  border-top: 1px solid #eaeaea;
      width: 100%;
    max-width: 800px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
}
}

.faq-section h2 {
  text-align: center;
  font-size: 30px;
  color: #005bcc;
  margin-bottom: 15px;
}

.faq-section .faq-intro {
  text-align: center;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 17px;
  line-height: 1.7;
}

.faq {
  max-width: 900px;
  margin: 0 auto;
}

.faq details {
  background: #f9fbff;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 18px 22px;
  transition: all 0.3s ease;
}

.faq details[open] {
  background: #eef4ff;
  border-left: 4px solid #0078ff;
}

.faq summary {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  list-style: none;
}

.faq p {
  font-size: 16px;
  color: #444;
  margin-top: 10px;
  line-height: 1.6;
}

.faq details summary::marker {
  display: none;
}

.faq details summary::after {
  content: "➕";
  float: right;
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  content: "➖";
  transform: rotate(180deg);
}
/* HEADER */
.site-header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #0078ff;
  text-decoration: none;
}

.logo span {
  color: #00c6ff;
}

.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-menu a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 16px;
}

.nav-menu a:hover {
  color: #0078ff;
}

.btn-primary.cta-btn {
  background: linear-gradient(135deg, #0078ff, #00c6ff);
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
}

.btn-primary.cta-btn:hover {
  opacity: 0.85;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
    display: none;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .cta-btn {
    display: none;
  }
}

/* Smooth Scroll Offset for Fixed Header */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* FOOTER */
.site-footer {
  background: linear-gradient(135deg, #0078ff, #00c6ff);
  color: #fff;
  padding-top: 60px;
  margin-top: 60px;
  font-family: "Inter", sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3,
.footer-col h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
  border-left: 4px solid rgba(255, 255, 255, 0.4);
  padding-left: 8px;
}

.footer-col p {
  font-size: 15px;
  line-height: 1.7;
  color: #f2f2f2;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #e6e6e6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #222;
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  background: rgba(0, 0, 0, 0.1);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
  color: #f0f0f0;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-col h4,
  .footer-col h3 {
    border: none;
  }
}
a.btn-download {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #0078ff, #00c6ff);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 24px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 120, 255, 0.3);
}

/* Hover animation */
a.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 120, 255, 0.5);
}

/* Glowing animated border effect */
a.btn-download::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 14px;
  background: linear-gradient(60deg, #0078ff, #00c6ff, #0078ff);
  background-size: 300% 300%;
  z-index: -1;
  animation: borderFlow 3s linear infinite;
  filter: blur(5px);
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Pulsing glow animation */
.pulse-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 10px rgba(0, 120, 255, 0.3); }
  50% { box-shadow: 0 0 25px rgba(0, 120, 255, 0.6); }
  100% { box-shadow: 0 0 10px rgba(0, 120, 255, 0.3); }
}

a.btn-download i {
  margin-right: 10px;
  font-size: 18px;
}
.site-header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
#convertBtn.loading {
  background: linear-gradient(90deg, #0078ff, #00c6ff, #0078ff);
  background-size: 200% 200%;
  animation: loadingFlow 2s linear infinite;
}

@keyframes loadingFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

#dropZone {
  transition: all 0.4s ease;
}
#dropZone:hover {
  background: #f7fbff;
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 120, 255, 0.1);
}

a.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #d300ff, #ff6a00);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  padding: 18px 24px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 120, 255, 0.3);
}

a.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 120, 255, 0.5);
}

a.btn-download::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  background: linear-gradient(60deg, #0078ff, #00c6ff, #0078ff);
  background-size: 400% 400%;
  z-index: -1;
  animation: borderFlow 3s linear infinite;
  filter: blur(8px);
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.pro-converter {
  background: #fff;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 120, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.pro-converter::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at top left, rgba(0, 120, 255, 0.08), transparent 60%);
  z-index: 0;
}

.converter-header {
  position: relative;
  z-index: 1;
}

.icon-box {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: #0078ff;
  margin-bottom: 15px;
  gap: 10px;
}
.icon-box i {
  transition: transform 0.3s ease;
}
.icon-box i:hover {
  transform: scale(1.2);
}

.subtitle {
  color: #666;
  font-size: 15px;
  margin-bottom: 25px;
}

.upload-zone {
  border: 2px dashed #0078ff;
  border-radius: 16px;
  padding: 40px 20px;
  background: #f8fbff;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.upload-zone:hover {
  background: #eef7ff;
  box-shadow: 0 0 15px rgba(0, 120, 255, 0.2);
  transform: scale(1.01);
}

.upload-inner {
  text-align: center;
}
.upload-icon {
  font-size: 50px;
  color: #0078ff;
  margin-bottom: 10px;
  animation: floatIcon 3s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.upload-zone span {
  color: #0078ff;
  font-weight: 600;
}

.convert-btn {
  background: linear-gradient(135deg, #0078ff, #00c6ff);
  color: white;
  border: none;
  padding: 16px 30px;
  font-size: 18px;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.convert-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 120, 255, 0.4);
}
.convert-btn i {
  margin-right: 8px;
  animation: spinOnce 0.5s ease;
}
@keyframes spinOnce {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  color: #555;
  font-size: 14px;
  flex-wrap: wrap;
}
.trust-badges div {
  background: #f7faff;
  border-radius: 10px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.trust-badges div:hover {
  background: #eaf4ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 120, 255, 0.1);
}
