/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f9fafc;
  color: #2c3e50;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
header {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: white;
  padding: 15px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

header h1 {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #fcd34d;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
              url("https://picsum.photos/1600/900?technology") no-repeat center/cover;
  color: white;
  padding: 0 20px;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero button {
  padding: 14px 30px;
  border: none;
  background: #fcd34d;
  color: #1f2937;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.hero button:hover {
  background: #fbbf24;
  transform: scale(1.05);
}

/* Info Section */
.info {
  padding: 80px 8%;
  background: #eef2ff;
  text-align: center;
}

.info h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #4f46e5;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.info-box {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.info-box h3 {
  margin-bottom: 15px;
  color: #3b82f6;
}

/* Features Section */
.features {
  padding: 80px 8%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card h3 {
  margin-bottom: 15px;
  color: #4f46e5;
}

.card p {
  color: #555;
  font-size: 15px;
}

/* About Section */
.about {
  background: #fff;
  padding: 80px 8%;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #4f46e5;
}

.about p {
  max-width: 700px;
  margin: 10px auto;
  color: #555;
  font-size: 16px;
}

/* Contact Section */
.contact {
  padding: 80px 8%;
  background: #eef2ff;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #4f46e5;
}

.contact p {
  margin-bottom: 30px;
  color: #444;
}

.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-size: 15px;
}

.contact button {
  background: #3b82f6;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact button:hover {
  background: #2563eb;
}

/* Footer */
footer {
  background: #1f2937;
  color: #d1d5db;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: #4f46e5;
    flex-direction: column;
    width: 200px;
    padding: 20px;
    border-radius: 0 0 0 10px;
  }

  nav.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}
