body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f5efe6;
}

/* NAV */
nav {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px 50px;
  z-index: 10;
}

.logo {
  font-weight: bold;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: white;
}

/* HERO */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* BACKGROUND IMAGE */
.hero-bg {
  position: absolute;
  width: 100%;
  height: 120%;
  top: -10%;

  background-image: url("ashok.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  will-change: transform;
}

/* OVERLAY */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3),
    rgba(0,0,0,0.7)
  );
}

/* TEXT */
.hero-content {
  position: absolute;
  top: 40%;
  left: 10%;
  color: white;
  max-width: 600px;
}

.hero h1 {
  font-size: 80px;
}

.hero h2 {
  font-weight: 300;
}

/* SECTIONS */
.section {
  padding: 100px 10%;
}

.dark {
  background: #111;
  color: white;
}

.about-text {
  max-width: 600px;
  margin-bottom: 30px;
}

/* GRID */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.card {
  padding: 40px;
  background: #222;
  color: white;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

/* PROJECTS */
.projects {
  display: grid;
  gap: 20px;
}

.project {
  padding: 50px;
  background: #ddd;
}

/* BUTTON */
button {
  padding: 15px 30px;
  border: none;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero-content {
    left: 5%;
    top: 45%;
  }

  .hero-bg {
    background-position: center top;
  }
}