* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #eaeaea;
  color: #222;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: center; /* CENTER NAVBAR */
  align-items: center;
  padding: 30px 60px; /* BIGGER NAVBAR */
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  background: black;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-right: 40px;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  margin: 0 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 20px;
  padding-bottom: 5px;
}

nav a:hover {
  color: black;
}

nav a.active {
  border-bottom: 2px solid black;
}

nav .btn {
  background: black;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15px;
}

/* ================= HERO ================= */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 60px;
}

.hero-text {
  max-width: 500px;
}

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

.hero-text p {
  font-size: 16px;
  line-height: 1.6;
}

.highlight {
  background: #f4b183;
  padding: 2px 6px;
  font-weight: 600;
}

.scroll-btn {
  margin-top: 30px;
  padding: 12px 22px;
  border: none;
  background: black;
  color: white;
  cursor: pointer;
  font-size: 14px;
}

/* ================= HERO IMAGE ================= */
.hero-image {
  position: relative;
  margin-left: -40px;
}

.hero-image img {
  width: 320px;
  border: 4px solid black;
}

/* ================= SOCIAL ICONS ================= */
.socials {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
}

.socials a {
  display: block;
  margin: 10px 0;
  background: #555;
  color: white;
  padding: 8px;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
}

/* ================= ABOUT SECTION ================= */
.about-section {
  background: #ffffff;
  padding: 80px 60px;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1100px;
  margin: auto;
}

.about-image img {
  width: 260px;
  border-radius: 8px;
  border: 3px solid black;
}

.about-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333;
}

/* ================= SKILLS ================= */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills span {
  background: #000;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
}

/* ================= PROJECTS ================= */
.projects-section {
  background: #f9f9f9;
  padding: 80px 60px;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}

.project-card {
  background: white;
  border: 2px solid #000;
  border-radius: 8px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card img {
  width: 100%;
  border-bottom: 2px solid #000;
  border-radius: 8px 8px 0 0;
}

.project-card h3 {
  margin: 15px 0 10px;
  font-size: 20px;
}

.project-card p {
  font-size: 14px;
  color: #555;
  padding: 0 10px 15px;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ================= CONTACT ================= */
.contact-section {
  background: #ffffff;
  padding: 80px 60px;
}

.contact-container {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.contact-container h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.contact-container p {
  font-size: 16px;
  color: #444;
}

.contact-details {
  margin-top: 30px;
}

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

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    padding: 20px;
  }

  .logo {
    margin-bottom: 15px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .hero-image {
    margin-left: 0;
    margin-top: 40px;
  }

  .socials {
    position: static;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .socials a {
    margin: 0 5px;
  }

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

  .about-image img {
    width: 220px;
  }

  .skills {
    justify-content: center;
  }

  .projects-container {
    flex-direction: column;
    align-items: center;
  }

  .project-card {
    width: 90%;
  }
}

/* ================= CONTACT SECTION ================= */
.contact-section {
  background: #ffffff;
  padding: 100px 60px;
}

.contact-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.contact-container h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.contact-subtext {
  font-size: 16px;
  color: #555;
  margin-bottom: 50px;
}

/* CONTACT CARDS */
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-card {
  background: #f9f9f9;
  border: 2px solid #000;
  border-radius: 12px;
  width: 280px;
  padding: 30px 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.contact-icon {
  font-size: 36px;
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 15px;
}

.contact-card a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-cards {
    gap: 20px;
  }

  .contact-card {
    width: 90%;
  }
}

