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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f6f7fb;
  color: #0f172a;
  line-height: 1.6;
}

/* ---------- NAVBAR ---------- */
.navbar {
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 9%;
  backdrop-filter: blur(8px);
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #020617;
}

.navbar nav a {
  margin-left: 28px;
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  position: relative;
}

.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  transition: width 0.3s ease;
}

.navbar nav a:hover::after {
  width: 100%;
}
.email-link {
  padding: 8px 18px;
  border: 2px solid #2563eb;
  border-radius: 999px;
  color: #000000; /* black */
  font-weight: 500;
  transition: all 0.3s ease;
}

.email-link:hover {
  background: #f1f1f3;
  color: rgb(9, 0, 31);
}

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 90vh;
  background: linear-gradient(180deg, #f6f7fb 0%, #eef2ff 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 10%;
  gap: 50px;
  background: #f9fafb;
}

/* LEFT TEXT */
.hero-left h1 {
  font-family: "Allura", cursive;
  font-size: 4rem;
}

.hero-left h1 span {
  color: #2563eb;
}

.hero-center img {
  width: 260px;
  height: 80%;
  object-fit: cover;
  border-radius: 10%;
}

/* RIGHT DESCRIPTION */
.hero-right p {
  font-family: "Great Vibes";
  font-size: 1.7rem;
  font-weight: 500;
  color: #000000;
  max-width: 420px;
  line-height: 2;
}

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

  .hero-left h1 {
    font-size: 3rem;
  }

  .hero-right p {
    margin: 0 auto;
  }

  .hero-center {
    margin: 30px 0;
  }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 60px 9%;
}

.section h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: #020617;
}

.section h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin-top: 8px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 10px;
}

.section p {
  max-width: 90 0px;
  color: #475569;
  font-size: 1.2rem;
}

/* ---------- SKILLS ---------- */
.skills {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.skills h3 {
  margin-bottom: 14px;
  color: #2563eb;
}

.skills ul li {
  list-style: none;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  color: #334155;
  font-size: 1.2rem;
}

.skills ul li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #2563eb;
}

/* ---------- PROJECTS ---------- */
.gray {
  background: #f1f5f9;
}

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

.project-card {
  background: white;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 16px;
}

.project-card h3 {
  margin-bottom: 8px;
  color: #020617;
}

.project-card p {
  color: #475569;
}

.project-card a {
  display: inline-block;
  margin-top: 12px;
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}

/* ---------- CONTACT ---------- */
.contact-form {
  margin-top: 40px;
  max-width: 520px;
  background: white;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid #cbd5f5;
  background: #f8fafc;
  color: #0f172a;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  color: white;
  cursor: pointer;
}

/* ---------- FOOTER ---------- */
footer {
  padding: 25px;
  text-align: center;
  font-size: 0.9rem;
  background: #020617;
  color: white;
}

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

  .hero-img {
    margin-top: 40px;
  }
}
.view-project-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  color: white;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.view-project-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.4);
}

.navbar nav a:last-child {
  font-weight: 600;
  color: #2563eb;
}
