/* Global */
body{
    margin: 0;
    background: #0a0a23;
    color: #c0e0ff;
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3{
    margin: 0 0 10px;
    text-align: center;
}

section{
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
}

/* Hero */
.hero{
    position: relative;
    text-align: center;
    padding: 80px 20px;

}
.hero h1{
    font-size: 2.5rem;
    color: #6be0ff;
}

.tagline{
    font-size: 1.2rem;
    margin: 10px 0 20px;
}
.journey-btn{
    padding: 10px 20px;
    background: #6be0ff;
    border: none;
    color: #000;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}
.journey-btn:hover{
    transform: scale(1.1);
}

/* PROJECTS */
.project-grid{
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.project{
    background: rgba(187, 224, 255, 0.1);
    padding: 10px 20px;
    border: 1px solid #6be0ff;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.project:hover{
    background: rgba(187, 224, 255, 0.2);
}

/* SKILLS */
.skills{
    position: relative;
}
.skills-constellation{
    position: relative;
    height: 300px;
}
.skills-svg{
    position: absolute;
    top: 0;
    left: 0;
}
.skills-svg line{
    stroke: #6be0ff;
    stroke-width: 2;
    opacity: 0.5;
    animation: glow 2s infinite alternate;
}
@keyframes glow {
    from { stroke-opacity: 0.3; }
    tp { stroke-opacity: 1; }
}
.skills-list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10;
    justify-content: center;
    margin: 20px;
}
.skill{
    background: radial-gradient(circle, #6be0ff 30%, #4ac9e0 70%);
    padding: 6px 12px;
    border-radius: 20px;
    color: #000;
    box-shadow: 0 0 8px #6be0ff;
    position: absolute;
    transform: translate(-50%, -50%);
}
.orbit1{ animation: orbit1 6s ease-in-out infinite; }
.orbit2{ animation: orbit2 7s ease-in-out infinite; }
.orbit3{ animation: orbit3 5s ease-in-out infinite; }

@keyframes orbit1 {
    0% { transform: translate(-50%, -50%) translate(0, 0); }
    50% { transform: translate(-50%, -50%) translate(4px, -4px); }
    100% { transform: translate(-50%, -50%) translate(0, 0); }
}
@keyframes orbit2 {
    0% { transform: translate(-50%, -50%) translate(0, 0); }
    50% { transform: translate(-50%, -50%) translate(-4px, 4px); }
    100% { transform: translate(-50%, -50%) translate(0, 0); }
}
@keyframes orbit3 {
    0% { transform: translate(-50%, -50%) translate(0, 0); }
    50% { transform: translate(-50%, -50%) translate(3px, 3px); }
    100% { transform: translate(-50%, -50%) translate(0, 0); }
}

/* MODAL */
.modal{
   display: none;
  position: fixed;
  z-index: 100;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}
.modal.show {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}
.modal-content{
    background: #1a1a40;
  padding: 20px;
  border: 1px solid #6be0ff;
  border-radius: 10px;
  color: #c0e0ff;
  text-align: center;
  max-width: 400px;
  width: 80%;
  transform: scale(0.8);
  animation: popIn 0.3s ease forwards;
}
.modal-content.show {
  animation: popIn 0.3s ease forwards;
}
/* Fade in the whole modal background */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Pop in the modal box */
@keyframes popIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* Add fade out */
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes popOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.8); }
}
.tech-badge{
    display: inline-block;
    background: #4ac9e0;
    color: #000;
    padding: 3px 8px;
    border-radius: 12px;
    margin: 2px;
    font-size: 0.8rem;
}
.close {
    color: #6be0ff;
    float: right;
    font-size: 24px;
    cursor: pointer;
}
.project-img{
    max-width: 100%;
    border-radius: 10px;
    margin: 10px 0;
}
.explore-btn{
    padding: 8px 16px;
    background: #6be0ff;
    border: none;
    color: #000;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}
footer{
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #4ac9e0;
}

/* Certificates */
.certificate-grid {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.certificate {
    background: rgba(187, 224, 255, 0.1);
    padding: 10px 20px;
    border: 1px solid #6be0ff;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}
.certificate:hover {
   background: rgba(187, 224, 255, 0.2);
}

/* Contact */
.contact-section {
  text-align: center;
  padding: 40px 20px;
}
.contact-icon {
  width: 40px;
  height: 40px;
  margin: 0 10px;
  transition: transform 0.2s, opacity 0.2s;
}
.contact-icon:hover {
  transform: scale(1.2);
  opacity: 0.8;
}
.project-img {
  max-width: 100%;
  border-radius: 10px;
  margin: 10px 0;
}

