/* RESET DEFAULTS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(180deg, #001f3f, #005f99);
  color: #fff;
  scroll-behavior: smooth;
}

/* HEADER / NAVIGATION */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #002b5b;
  padding: 1rem 3rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo span {
  color: #1e90ff;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #1e90ff;
}

/* HOME SECTION */
.home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 8%;
}

.home-text h1 {
  font-size: 2.5rem;
}

.home-text h2 {
  font-size: 1.3rem;
  color: #b3d9ff;
  margin-bottom: 1rem;
}

.home-text .btn {
  display: inline-block;
  background: #1e90ff;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s;
}

.home-text .btn:hover {
  background: #005fa3;
}

.home-photo img {
  width: 250px;
  border-radius: 50%;
  border: 5px solid #1e90ff;
}

/* ABOUT SECTION */
.about {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 4rem 8%;
  background: #002b5b;
}

.about-photo img {
  width: 220px;
  border-radius: 15px;
  border: 3px solid #1e90ff;
}

.about-text h2 {
  color: #1e90ff;
  margin-bottom: 1rem;
}

/* SKILLS SECTION */
.skills {
  text-align: center;
  padding: 4rem 8%;
}

.skills h2 {
  color: #1e90ff;
  margin-bottom: 1rem;
}

.skills ul {
  list-style: none;
  margin-top: 1rem;
}

.skills li {
  display: inline-block;
  background: #1e90ff;
  margin: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  transition: 0.3s;
}

.skills li:hover {
  background: #005fa3;
}

.skills-photo img {
  margin-top: 2rem;
  width: 250px;
  border-radius: 15px;
  border: 3px solid #b3d9ff;
}

/* CONTACT SECTION */
.contact {
  background: #001f3f;
  text-align: center;
  padding: 3rem 0;
}

.contact h2 {
  color: #1e90ff;
  margin-bottom: 1rem;
}

.social-icons img {
  width: 30px;
  margin: 0 10px;
  filter: invert(1);
  transition: transform 0.3s, filter 0.3s;
}

.social-icons img:hover {
  transform: scale(1.2);
  filter: invert(70%) sepia(100%) hue-rotate(190deg);
}

.contact p {
  color: #b3d9ff;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .home, .about {
    flex-direction: column;
    text-align: center;
  }

  .home-photo img, .about-photo img {
    width: 180px;
    margin-top: 1rem;
  }

  .skills li {
    display: block;
    margin: 0.5rem auto;
  }
}
