* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f7fb;
  color: #222;
  line-height: 1.6;
}

.header {
  min-height: 100vh;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: white;
}

.navbar {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  color: #38bdf8;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #38bdf8;
}

.hero {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 750px;
}

.tagline {
  color: #38bdf8;
  font-weight: bold;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.hero h1 span {
  color: #38bdf8;
}

.hero p {
  font-size: 18px;
  margin-bottom: 24px;
  color: #e5e7eb;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.primary {
  background-color: #38bdf8;
  color: #111827;
}

.primary:hover {
  background-color: #0ea5e9;
}

.secondary {
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.secondary:hover {
  background-color: #38bdf8;
  color: #111827;
}

.section {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 70px 0;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 24px;
  color: #111827;
  text-align: center;
}

.section p {
  font-size: 17px;
  color: #374151;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.card {
  background-color: white;
  padding: 18px;
  text-align: center;
  border-radius: 12px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  color: #0284c7;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.project-card {
  background-color: white;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card h3 {
  color: #111827;
  margin-bottom: 12px;
}

.project-card p {
  margin-bottom: 12px;
}

.tech {
  font-weight: bold;
  color: #0284c7 !important;
}

.contact {
  text-align: center;
}

.contact a {
  color: #0284c7;
  text-decoration: none;
  font-weight: bold;
}

.contact a:hover {
  text-decoration: underline;
}

footer {
  background-color: #111827;
  color: white;
  text-align: center;
  padding: 22px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .section h2 {
    font-size: 28px;
  }
}