/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8fafc;
  color: #111827;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #1e293b;
  color: #fff;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
nav a {
  margin-left: 15px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}
nav a:hover {
  color: #60a5fa;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #0f172a, #1e293b);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.hero-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-text {
  flex: 1;
  text-align: left;
  min-width: 280px;
}
.hero-text h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.hero-text h2 span {
  color: #60a5fa;
}
.hero-text p {
  max-width: 600px;
}
.hero-image {
  flex: 1;
  text-align: center;
  min-width: 200px;
}
.hero-image img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Button */
.btn {
  margin-top: 25px;
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}
.btn:hover {
  background: #2563eb;
}

/* Sections */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}
section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #111;
}
section p {
  max-width: 700px;
  margin: auto;
  font-size: 1rem;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.card {
  background: white;
  padding: 25px;
  width: 260px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #2563eb;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.tag {
  background: #dbeafe;
  color: #1e40af;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
}

/* Footer */
footer {
  background: #1e293b;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
.footer-download-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #3b82f6;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}
.footer-download-btn:hover {
  background-color: #2563eb;
}

/* Responsive Layout */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  nav {
    margin-top: 10px;
  }
  nav a {
    margin: 10px 10px 0 0;
    display: inline-block;
  }
  .hero-flex {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    text-align: center;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
}