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

body {
  background: #0f172a;
  color: #e5e7eb;
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  z-index: 1000;
}

.logo {
  color: #38bdf8;
  font-size: 24px;
  font-weight: 600;
}

.navbar nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #e5e7eb;
  font-size: 15px;
  transition: 0.3s;
}

.navbar nav a:hover {
  color: #38bdf8;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 120px 60px;
}

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

.hero-text span {
  color: #38bdf8;
}

.hero-text h3 {
  margin: 10px 0;
  font-weight: 400;
}

.hero-text p {
  max-width: 450px;
  margin: 15px 0 25px;
  line-height: 1.6;
}

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

.hero-img img {
  width: 280px;
  border-radius: 50%;
  border: 4px solid #38bdf8;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 10px 22px;
  background: #38bdf8;
  color: #0f172a;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover {
  background: #0ea5e9;
}

.btn-outline {
  background: transparent;
  color: #38bdf8;
  border: 2px solid #38bdf8;
}

/* SECTIONS */
section {
  padding: 80px 60px;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  color: #38bdf8;
}

/* ABOUT */
.about p {
  max-width: 800px;
  margin: auto;
  text-align: center;
  line-height: 1.8;
}

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

.skill {
  background: #1e293b;
  padding: 15px;
  text-align: center;
  border-radius: 10px;
  transition: 0.3s;
}

.skill:hover {
  transform: translateY(-5px);
  background: #38bdf8;
  color: #0f172a;
}

/* PROJECTS */
.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}

.project-card {
  background: #1e293b;
  padding: 25px;
  border-radius: 15px;
  transition: 0.3s;
}

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

.project-links {
  margin-top: 15px;
}

.btn-sm {
  padding: 6px 15px;
  background: #38bdf8;
  color: #0f172a;
  border-radius: 20px;
  text-decoration: none;
  margin-right: 10px;
  font-size: 14px;
}

/* CONTACT */
.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

/* SOCIAL */
.social-links {
  text-align: center;
  margin-top: 20px;
}

.social-links a {
  margin: 0 15px;
  color: #38bdf8;
  text-decoration: none;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-img {
    margin-top: 30px;
  }

  .navbar {
    padding: 15px 30px;
  }
}
