/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Poppins', sans-serif;
    background: #f4f6f9;
    color: #333;
    line-height: 1.6;
  }
  
  /* Navbar */
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2c3e50;
    color: #fff;
    padding: 15px 30px;
    position: relative;
    z-index: 10;
  }
  .nav-brand {
    font-size: 1.5rem;
    font-weight: 600;
  }
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  .nav-links li {
    position: relative;
  }
  .nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s ease;
  }
  .nav-links a:hover {
    color: #1abc9c;
  }
  
  /* Dropdown */
  .dropdown-content {
    display: none;
    position: absolute;
    background: #34495e;
    min-width: 160px;
    top: 100%;
    right: 0;
    list-style: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 5px;
    overflow: hidden;
  }
  .dropdown:hover .dropdown-content {
    display: block;
  }
  .dropdown-content li a {
    padding: 12px 16px;
    display: block;
    color: #fff;
  }
  .dropdown-content li a:hover {
    background: #1abc9c;
    color: #fff;
  }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(to right, #00b4db, #0083b0);
    color: #fff;
    padding: 60px 30px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
  }
  .hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
  }
  .hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: auto;
  }
  .tool-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #fff;
    color: #0083b0;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
  }
  .tool-btn:hover {
    background: #1abc9c;
    color: #fff;
  }
  
  /* Tool Section */
  .content {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
  }
  .tool-container {
    max-width: 600px;
    width: 100%;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    animation: slideUp 0.7s ease;
  }
  .tool-container h2 {
    margin-bottom: 20px;
    font-size: 1.6rem;
  }
  .img-preview-box {
    margin: 20px 0;
    text-align: center;
  }
  .img-preview-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ddd;
  }
  input[type="file"],
  select,
  button {
    display: block;
    width: 100%;
    margin: 15px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
  }
  button.tool-btn {
    width: auto;
    background: #0083b0;
    color: white;
  }
  button.tool-btn:hover {
    background: #006b8e;
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 25px 10px;
    background: #2c3e50;
    color: #fff;
    margin-top: 40px;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  @keyframes slideUp {
    from {
      transform: translateY(40px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  .footer {
  background: #0f172a; /* dark blue/black shade */
  color: #f1f5f9;
  padding: 10px 5px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #38bdf8; /* sky blue heading */
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 8px 0;
}

.footer-column ul li a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #38bdf8;
}

.footer-bottom {
  text-align: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #334155;
  font-size: 14px;
  color: #94a3b8;
}
/* ==== Compact Footer Override ==== */
.footer {
  padding: 24px 16px;
}

.footer-container {
  gap: 16px; 
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); /* zyada columns fit honge */
}

.footer-column h3 {
  font-size: 16px; 
  margin-bottom: 8px;
}

.footer-column ul li {
  margin: 4px 0; 
}

.footer-column ul li a {
  font-size: 14px; 
  line-height: 1.3;
}

.footer-bottom {
  margin-top: 16px; 
  padding-top: 12px;
  font-size: 13px;
}
  
/* Internal Section Styling */
.internal {
  background: linear-gradient(135deg, #f9fcff, #e6f2ff);
  border: 1px solid #cfdfff;
  padding: 20px;
  margin: 40px auto;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 720px;
  transition: all 0.3s ease-in-out;
}

.internal:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.internal p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

.internal a {
  color: #007bff;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.internal a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: #007bff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.internal a:hover {
  color: #0056cc;
}

.internal a:hover::after {
  transform: scaleX(1);
}
