/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  transition: background 0.3s, color 0.3s;
}

/* Navbar */
header {
  background: #0a0a23;
  padding: 1rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  transition: color 0.3s;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
  position: relative;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff9800;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  background: #0a0a23;
  padding: 10px;
  list-style: none;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.dropdown-menu li {
  margin: 5px 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
              url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') 
              no-repeat center center/cover;
  color: #fff;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.btn {
  background: #ff9800;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}

.btn:hover {
  background: #e68900;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

/* Tools Grid */
.tools-grid {
  padding: 2rem;
  background: #f9f9f9;
  text-align: center;
}

.tools-grid h2 {
  margin-bottom: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tool-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.tool-card h3 {
  margin-bottom: 10px;
}

.tool-card p {
  margin-bottom: 15px;
}

.tool-card .btn {
  background: #0a0a23;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.tool-card .btn:hover {
  background: #ff9800;
  transform: translateY(-3px);
}

/* FAQ */
.faq {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  color: #0a0a23;
}

/* Footer */
footer {
  background: #0a0a23;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

.footer-links li {
  margin: 5px 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ff9800;
}

/* Dark Mode */
.dark-mode {
  background: #121212;
  color: #e0e0e0;
}

.dark-mode header,
.dark-mode footer,
.dark-mode .dropdown-menu {
  background: #1f1f1f;
}

.dark-mode .tool-card {
  background: #1e1e1e;
  color: #e0e0e0;
}

.dark-mode .tool-card .btn {
  background: #ff9800;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
