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

body {
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1140px;
  margin: auto;
  padding: 0 20px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 10;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav nav a {
  margin-left: 25px;
  font-weight: 500;
}

.logo {
  font-weight: 700;
}

/* HERO */
.hero {
  padding: 100px 0;
  background: #f8fafc;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.hero p {
  margin-bottom: 30px;
  font-size: 18px;
}

.hero img {
  width: 100%;
  border-radius: 16px;
}

.hero-btns .btn {
  margin-right: 15px;
}

/* BUTTONS */
.btn {
  padding: 12px 26px;
  background: #2563eb;
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
}

.btn.outline {
  background: transparent;
  border: 2px solid #2563eb;
  color: #2563eb;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.section-text {
  max-width: 700px;
  font-size: 18px;
}

.bg-light {
  background: #f8fafc;
}

.bg-dark {
  background: #0f172a;
  color: #fff;
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
}

/* WORK */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.work-grid a {
  padding: 20px;
  border-radius: 12px;
  background: #f1f5f9;
  font-weight: 600;
  transition: all 0.3s ease;
}

.work-grid a:hover {
  background: #2563eb;
  color: #fff;
}

.mt {
  margin-top: 50px;
}

/* CONTACT */
.contact {
  text-align: center;
}

.contact p {
  font-size: 18px;
  margin-top: 10px;
}

/* FOOTER */
.footer {
  padding: 20px;
  text-align: center;
  font-size: 14px;
  background: #020617;
  color: #cbd5f5;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
