/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0f172a;
  color: white;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #020617;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* SECTIONS */
section {
  padding: 100px 20px;
  text-align: center;
  max-width: 1100px;
  margin: auto;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.hero-text {
  max-width: 500px;
}

.hero h1 {
  font-size: 3.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.hero-buttons {
  margin-top: 20px;
}

/* HERO IMAGE */
.hero-image img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #38bdf8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  background: #38bdf8;
  color: #020617;
  text-decoration: none;
  border-radius: 6px;
  margin: 6px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.btn:hover {
  background: #0ea5e9;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.secondary {
  background: transparent;
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

.secondary:hover {
  background: #38bdf8;
  color: #020617;
}

.btn.small {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn i {
  margin-right: 8px;
}

/* ABOUT */
.about p {
  max-width: 700px;
  margin: 15px auto;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* PROJECTS */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.project-card {
  background: #1e293b;
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: #334155;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.project-card h3 {
  margin-bottom: 10px;
}

.project-card p {
  margin-bottom: 15px;
  color: #cbd5f5;
}

.project-card::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #38bdf8;
  margin-top: 10px;
  border-radius: 2px;
}

.project-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* CONTACT */
.contact-buttons {
  margin-top: 20px;
}

.contact-buttons .btn {
  margin: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  nav {
    flex-direction: column;
    gap: 10px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    width: 200px;
    height: 200px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .projects-container {
    grid-template-columns: 1fr;
  }

  

}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-content {
  background: #1e293b;
  padding: 25px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
}

.popup-content input {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: none;
  border-radius: 6px;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 20px;
}

.popup-content select {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: none;
  border-radius: 6px;
  background: white;
  color: black;
  font-size: 1rem;
}

.popup-content select:focus {
  outline: 2px solid #38bdf8;
}