/* ===========================================
   EasyPDFSolutions.com - Global Stylesheet
   =========================================== */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9fb;
  color: #333;
}

/* Header */
.header {
  background-color: #1a3d7c;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.4em;
  font-weight: bold;
}

.nav a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  transition: 0.3s;
}

.nav a:hover {
  color: #00bfa6;
}

.nav .btn {
  background-color: #00bfa6;
  padding: 8px 15px;
  border-radius: 6px;
  color: white;
  font-weight: bold;
}

.nav .btn:hover {
  background-color: #009e8d;
}

/* Tool Container */
.tool-container {
  text-align: center;
  padding: 60px 20px;
}

.tool-container h1 {
  color: #1a3d7c;
}

.tool-container p {
  color: #555;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Buttons */
.btn {
  background-color: #1a3d7c;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  transition: 0.3s;
}

.btn:hover {
  background-color: #00bfa6;
}

/* File Input */
input[type="file"] {
  display: block;
  margin: 15px auto;
  border: 2px dashed #11a3d7c;
  padding: 20px;
  border-radius: 8px;
  width: 60%;
  max-width: 400px;
  cursor: pointer;
  background-color: #ffffff;
}

/* Progress Bar */
.progress-bar {
  width: 60%;
  height: 20px;
  margin: 20px auto;
  display: block;
  border-radius: 10px;
}

/* Download Area */
.download-area {
  margin-top: 30px;
}

.download-area a {
  text-decoration: none;
}

/* Footer */
.footer {
  background-color: #1a3d7c;
  color: white;
  text-align: center;
  padding: 15px;
  position: relative;
  bottom: 0;
  width: 100%;
}

.upgrade {
  margin-top: 15px;
  color: #00bfa6;
  font-weight: bold;
}

/* Tools Grid (for tools.html) */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 40px 10%;
}

.tool-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: 0.3s;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.tool-card i {
  font-size: 2em;
  color: #1a3d7c;
  margin-bottom: 15px;
}

.tool-card h3 {
  margin: 10px 0;
  color: #1a3d7c;
}

/* Highlighted Free Limit Banner */
.limit-banner {
  background: #ffeb3b;
  padding: 12px;
  margin: 0 auto 15px;
  width: 80%;
  max-width: 500px;
  text-align: center;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid #e0c300;
}

.upgrade-text {
  font-weight: bold;
  color: #c62828;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
  }

  input[type="file"] {
    width: 90%;
  }

  .progress-bar {
    width: 90%;
  }
}
