:root {
  --primary: #3b82f6;
  --bg: #020617;
  --card: #0f172a;
  --text: #f8fafc;
  --muted: #94a3b8;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: sans-serif;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* SECTIONS */
.section {
  margin-top: 80px;
}

/* NAVBAR */
header {
  position: sticky;
  top: 0;
  background: #020617;
  border-bottom: 1px solid #1e293b;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 80vh;
  gap: 40px;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.hero-text p {
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-img {
  display: flex;
  justify-content: center;
}

.hero-img img {
  width: 260px;
  border-radius: 50%;
  border: 4px solid var(--primary);
  box-shadow: 0 0 40px rgba(59,130,246,0.4);
}

/* BUTTON */
.btn {
  background: var(--primary);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  display: inline-block;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
  margin-top: 30px;
}

/* CARD */
.card {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  transition: 0.3s;
}

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

.card img {
  width: 100%;
  margin-top: 10px;
  border-radius: 8px;
}

/* ACHIEVEMENT */
.achievement {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  align-items: center;
}

.achievement img {
  width: 180px;
  border-radius: 10px;
}

/* FORM */
.form {
  margin-top: 20px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  background: #020617;
  border: 1px solid #1e293b;
  color: white;
}

/* ================================= */
/* 🔥 RESPONSIVE DESIGN */
/* ================================= */

/* TABLET */
@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-img {
    order: -1;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .achievement {
    flex-direction: column;
    text-align: center;
  }

  .achievement img {
    width: 150px;
  }
}

/* MOBILE */
@media (max-width: 600px) {

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .hero-img img {
    width: 200px;
  }

  .section {
    margin-top: 60px;
  }

  .card {
    padding: 15px;
  }

  .grid {
    gap: 20px;
  }

  input, textarea {
    font-size: 0.9rem;
  }
}

/* VERY SMALL DEVICES */
@media (max-width: 400px) {

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 8px 15px;
    font-size: 0.8rem;
  }

}