

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

html {
  scroll-behavior: smooth;
}

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

/* ==================================
   NAVBAR
================================== */

nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1.2rem 8%;

  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid #1e293b;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #38bdf8;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

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

/* ==================================
   HERO
================================== */

.hero {
  min-height: 100vh;

  display: flex;
  align-items: center;

  padding: 0 8%;
}

.hero-content {
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
}

.hero-text {
  flex: 1;
}

.availability {
  display: inline-block;

  padding: 8px 14px;

  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;

  border-radius: 999px;

  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.hero h2 {
  color: #38bdf8;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 650px;
  color: #cbd5e1;
}

.buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-primary {
  background: #38bdf8;
  color: white;
  text-decoration: none;

  padding: 12px 24px;
  border-radius: 8px;

  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border: 2px solid #38bdf8;

  color: #38bdf8;
  text-decoration: none;

  padding: 12px 24px;
  border-radius: 8px;

  transition: 0.3s;
}

.btn-secondary:hover {
  background: #38bdf8;
  color: white;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 2rem;
}

.skills span {
  padding: 8px 14px;

  background: #1e293b;

  border-radius: 20px;

  color: #38bdf8;
}

/* ==================================
   PROFILE IMAGE
================================== */

.hero-image img {
  width: 350px;
  height: 350px;

  object-fit: cover;

  border-radius: 50%;

  border: 5px solid #38bdf8;

  box-shadow: 0 0 40px rgba(56, 189, 248, 0.3);
}

/* ==================================
   CONTAINER
================================== */

.container {
  width: min(1200px, 90%);
  margin: auto;
}

/* ==================================
   SECTIONS
================================== */

section {
  padding: 100px 0;
}

section h2 {
  text-align: center;

  font-size: 2.5rem;

  margin-bottom: 3rem;

  color: #38bdf8;
}

/* ==================================
   ABOUT
================================== */

#about p {
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.strengths {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 2rem;

  margin-top: 3rem;
}

.card {
  background: #1e293b;

  padding: 2rem;

  border-radius: 15px;

  transition: 0.3s;
}

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

.card h3 {
  color: #38bdf8;
  margin-bottom: 1rem;
}

/* ==================================
   PROJECTS
================================== */

.project-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 2rem;
}

.project-card {
  background: #1e293b;

  padding: 2rem;

  border-radius: 15px;

  transition: 0.3s;
}

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

.project-card h3 {
  color: #38bdf8;
  margin-bottom: 1rem;
}

.project-card p {
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.project-card ul {
  margin-left: 1.2rem;
  margin-bottom: 1rem;
}

.project-card button {
  width: 100%;

  padding: 12px;

  border: none;

  background: #38bdf8;
  color: white;

  border-radius: 8px;

  cursor: pointer;
}

/* ==================================
   CONTACT
================================== */

.contact-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 3rem;
}

.contact-grid a {
  color: #38bdf8;
  text-decoration: none;
}

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

/* ==================================
   MODAL
================================== */

.modal {
  display: none;

  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.8);

  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.modal-content {
  position: relative;

  background: #1e293b;

  padding: 2rem;

  border-radius: 15px;

  width: 90%;
  max-width: 800px;
}

.close {
  position: absolute;

  top: 15px;
  right: 20px;

  font-size: 2rem;

  cursor: pointer;

  color: white;
}

/* ==================================
   FOOTER
================================== */

footer {
  text-align: center;

  padding: 2rem;

  border-top: 1px solid #1e293b;

  color: #94a3b8;
}

/* ==================================
   MOBILE
================================== */

@media (max-width: 900px) {

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

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

  .buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    gap: 1rem;
  }

  .hero-image img {
    width: 250px;
    height: 250px;
  }
}
