
* {
  box-sizing: border-box;
}/* Base layout */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: system-ui, sans-serif;
  background-color: #121212;
  color: #f1f1f1;
  display: flex;
  flex-direction: column;
  overflow-x: hidden; 
}

/* Top Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: #1e1e2f;
  display: flex;
  align-items: center;
  padding: 0 30px;
  z-index: 1000;
}

.bar-image {
  width: 35px;
  height: 35px;
  margin-right: 10px;
}

.bar-text {
  font-size: 26px;
  font-family: 'Lobster', cursive;
  color: #fff;
}

/* Main Content Container */
.first-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  padding-bottom: 120px; /* space for footer */
  align-items: center;
  text-align: center;
}

/* Headings */
.main-heading {
  font-size: 36px;
  margin: 20px;
  color: #f5f5f5;
}

.sub-heading {
  font-size: 18px;
  margin: 0 20px 30px;
  color: #ccc;
  margin-right: 20px;
  margin-left: 20px;
}


/* Drop Zone */
.drop-zone {
  border: 2px dashed #3b82f6;
  background: #1e1e2f;
  padding: 40px 20px;
  border-radius: 12px;
  width: min(500px, 90%);
  margin-bottom: 30px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.drop-zone.dragover {
  background-color: #2b2b40;
}

.drop-zone span {
  color: #ccc;
  font-size: 16px;
}

.download-controls {
  display: flex;             /* make a flex container */
  justify-content: flex-end; /* align children to the right */
  margin-bottom: 12px;       /* space below the button */

}

.button-clear {
  background-color: #dc2626;
  color: #fff;
  border: none;
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}
.button-clear:hover {
  background-color: #b91c1c;
}


/* Download Links */
.download-links a {
  display: block;
  color: #3b82f6;
  text-decoration: none;
  margin-top: 10px;
  font-weight: bold;
}

.download-links a:hover {
  text-decoration: underline;
}

.content-about-tool {
 
  max-width: 760px;
  margin: 3rem auto;       /* Center block with vertical spacing */
  padding: 0 1rem;         /* Horizontal padding on small screens */
  text-align: start;      /* Center headings and paragraphs */
  line-height: 1.6;
}

.content-about-tool h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-top:150px;
}

.content-about-tool p {
  margin: 0.75rem 0;
 
}

.content-about-tool ul {
  display: inline-block;   /* Shrink to contents for centering */
  text-align: left;        /* Keep list items left-aligned */
  margin: 1.5rem 0;
  padding-left: 1.25rem;   /* Indent bullets */
}

.content-about-tool ul li {
  margin-bottom: 0.75rem;
  list-style-type: disc;
}




/* our tools Section */
.our-tools-heading {
  font-size: 30px;
  color:#ffffff;
  font-weight: bold;
  text-align: center;
  padding: 0 10px;

}

.tools-container {
  width: 100%;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.tools-container a {
  text-decoration: none;
}

.tools-container a:hover {
  text-decoration: none;
}

.tool-card {
  background-color: #ffffff;
  cursor: pointer;
  width:280px;
  height: auto; 
  margin: 15px 10px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
}
.tool-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}


.tool_img {
  width: 100%;
  height: 90px; /* Fixed height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-Top: 10px;
}

.tool_img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tool-info {
  padding: 5px 0;
  flex-grow: 1;
}

.tool-name {
  padding: 5px 10px;
  color: #333;
  font-size: 22px;
  font-weight: bold;
  text-align: center;

}

.tool-description {
  padding: 0px 20px 10px;
  font-size: 16px;
  line-height: 1.4;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;

}

.tool-download-button-container {
  text-align: center;
  margin-bottom: 15px;
}

.button-visit-website {
  background-color: #2563eb;
  color: #fff;
  padding: 10px 20px;
  border: none;
  font-size: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.button-visit-website:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}


/* FOOTER */
.bottom-panel {
  width: 100%;
  text-align: center;
  padding: 50px 0;
  background-color: #1e1e2f;
  color: #ffffff;
}

.bottom-panel p {
  margin: 5px 0;
}

.bottom-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bottom-links a {
  color: #90caf9;
  text-decoration: none;
}

.bottom-links a:hover {
  color: #10b981;
  text-decoration: underline;
}

.cookie-policy {
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
  .top-bar {
    padding: 0 20px;
  }

  .bar-image {
    height: 40px;
    width: 40px;
  }

  .bar-text {
    font-size: 24px;
  }

  .main-heading {
    font-size: 28px;
  }

  .sub-heading {
    font-size: 16px;
  }

  .bottom-links {
    flex-direction: column;
    align-items: center;
    gap:1px;
  }

  .bottom-links a {
    margin: 2px 0;
  }
  .bottom-panel {
    padding: 15px 0;
  }
}

@media screen and (max-width: 400px) {
  .top-bar {
    padding: 0 10px;
  }

  .bar-text {
    font-size: 22px;
  }

  .main-heading {
    font-size: 28px;
  }
}
