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

body {
  background: linear-gradient(to right, #020617, #071a2f);
  color: white;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
}

.logo {
  font-size: 26px;
  color: #00f7ff;
  font-weight: bold;
}

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

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  position: relative;
}

/* underline animation */
nav ul li a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #00f7ff;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

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

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

.hero-text span {
  color: #00f7ff;
}

.hero-text p {
  margin: 15px 0;
}

/* SOCIAL */
.social-icons a {
  margin-right: 15px;
  color: #00f7ff;
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.3);
  color: white;
}

/* BUTTON */
.cv-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 30px;
  border-radius: 30px;
  background: linear-gradient(to right, #00f7ff, #0077ff);
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.cv-btn:hover {
  transform: scale(1.1);
}

/* IMAGE */
.hero-img {
  padding: 10px;
  border-radius: 25px;
  background: linear-gradient(45deg, #00f7ff, transparent);
  box-shadow: 0 0 40px rgba(0, 247, 255, 0.6);
}

.hero-img img {
  width: 300px;
  border-radius: 20px;
  transition: 0.4s;
}

.hero-img img:hover {
  transform: scale(1.05);
}

/* SECTION */
section {
  padding: 70px 8%;
  text-align: center;
}

/* SKILLS */
.skills-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.skill-card {
  padding: 12px 25px;
  border-radius: 25px;
  background: #0f172a;
  border: 1px solid rgba(0,255,255,0.3);
  transition: 0.3s;
}

.skill-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(45deg, #00f7ff, #0077ff);
  color: black;
  box-shadow: 0 0 20px #00f7ff;
}

/* PROJECTS */
.projects-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.project-card {
  width: 280px;
  border-radius: 20px;
  overflow: hidden;
  background: #1e293b;
  transition: 0.4s;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 25px #00f7ff;
}

.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.project-info {
  padding: 15px;
}

.project-info button {
  margin-top: 10px;
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  background: #00f7ff;
  cursor: pointer;
  transition: 0.3s;
}

.project-info button:hover {
  transform: scale(1.1);
}

/* CERTIFICATES */
.cert-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.cert-card {
  width: 280px;
  background: #1e293b;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.4s;
}

.cert-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 25px #00f7ff;
}

.cert-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.cert-info {
  padding: 15px;
}

.cert-info p {
  color: #ccc;
}

.cert-info a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  border-radius: 20px;
  background: linear-gradient(to right, #00f7ff, #0077ff);
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.cert-info a:hover {
  transform: scale(1.1);
}

/* CONTACT */
.contact-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.contact-qr img {
  width: 200px;
  border-radius: 15px;
  box-shadow: 0 0 20px #00f7ff;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
}

/* 📱 MOBILE */
@media (max-width: 768px) {

  nav {
    flex-direction: column;
    gap: 10px;
  }

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

  .hero-img img {
    width: 220px;
  }

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