/* BASIC */
*{margin:0;padding:0;box-sizing:border-box;font-family:Poppins,sans-serif;}
body{background:#050f1f;color:#fff;overflow-x:hidden;}
a{text-decoration:none;color:inherit;}

/* PARTICLES */
#particles-js{position:fixed;width:100%;height:100%;z-index:-1;}

/* HEADER */
header{display:flex;justify-content:space-between;align-items:center;padding:20px 60px;position:sticky;top:0;background:#050f1f;z-index:1000;}
.logo span{color:#00eaff}
nav a{margin:0 15px;color:#cbd5e1;cursor:pointer;position:relative;}
nav a::after{content:"";position:absolute;width:0;height:2px;background:#00eaff;left:0;bottom:-5px;transition:.3s;}
nav a:hover::after, nav a.active::after{width:100%;}
.cv{background:#ff3d81;color:white;border:none;padding:10px 18px;border-radius:6px;cursor:pointer;}

/* HERO */
.hero{display:flex;justify-content:center;align-items:center;gap:80px;padding:80px;flex-wrap:wrap;}
.avatar{position:relative;width:280px;height:280px;}
.avatar img{width:220px;height:220px;border-radius:50%;position:absolute;top:30px;left:30px;z-index:2;animation:float 4s zoom(ease)-in-out infinite;}
@keyframes float{50%{transform:translateY(-15px)}}
.ring{position:absolute;inset:0;border-radius:50%;background:conic-gradient(#00eaff,#0066ff,#00eaff);animation:spin 6s linear infinite;filter:blur(2px);}
@keyframes spin{100%{transform:rotate(360deg)}}
.text h4{color:#00eaff}
.text h3 span{color:#00eaff}
.text p{max-width:450px;color:#cbd5e1;margin-top:10px;}
.buttons{margin-top:20px}
.btn{padding:12px 26px;border-radius:30px;margin-right:15px;text-decoration:none;transition:.3s;cursor:pointer;}
.fill{background:#00eaff;color:#000;}
.fill:hover{box-shadow:0 0 25px #00eaff;}
.outline{border:2px solid #00eaff;color:#00eaff;}
.outline:hover{background:#00eaff;color:#000;}

/* STATS */
.stats{display:flex;justify-content:center;gap:60px;padding:40px;background:rgba(255,255,255,0.04);backdrop-filter:blur(10px);}
.stats div{text-align:center}
.stats h2{color:#00eaff;font-size:32px}

/* SECTIONS */
.section{padding:80px 60px;text-align:center;}
.section-title{font-size:36px;color:#00eaff;margin-bottom:40px;}

/* ABOUT */
.about-container{display:flex;justify-content:center;align-items:center;gap:50px;flex-wrap:wrap;}
.about-img img{width:300px;border-radius:15px;}
.about-text{max-width:500px;color:#cbd5e1;text-align:left;}

/* SKILLS */
.skills-container{display:flex;flex-wrap:wrap;gap:50px;justify-content:center;}
.skill-column{flex:1 1 300px;text-align:left;}
.skill h4{margin-bottom:5px}
.skill-bar{background:rgba(255,255,255,0.1);border-radius:30px;overflow:hidden;height:10px;margin-bottom:5px;}
.skill-bar div{background:#00eaff;height:100%;width:0;transition:1s;} 
.skill p{font-size:14px;color:#cbd5e1;}
.skill-column h3{color:#00eaff;margin-bottom:20px;font-size:22px;}

/* SERVICES */
.services-container{display:flex;justify-content:center;flex-wrap:wrap;gap:30px;}
.service-item{background:rgba(255,255,255,0.05);padding:30px;border-radius:10px;width:250px;text-align:left;}

/* PORTFOLIO */
.portfolio-container{display:flex;flex-wrap:wrap;justify-content:center;gap:30px;}
.portfolio-item{width:250px;border-radius:10px;overflow:hidden;text-align:center;background:rgba(255,255,255,0.05);padding:10px;}
.portfolio-item img{width:100%;display:block;margin-bottom:10px;}
.portfolio-item h4{margin-bottom:10px;}

/* MODAL */
.modal{display:none;position:fixed;z-index:2000;left:0;top:0;width:100%;height:100%;overflow:auto;background:rgba(0,0,0,0.8);}
.modal-content{background:#111;padding:20px;border-radius:10px;margin:10% auto;max-width:500px;color:#fff;text-align:left;}
.modal .close{color:#00eaff;float:right;font-size:28px;font-weight:bold;cursor:pointer;}

/* EDUCATION */
.edu-container{display:flex;flex-direction:column;gap:20px;max-width:600px;margin:0 auto;}
.edu-item{background:rgba(255,255,255,0.05);padding:20px;border-radius:10px;}

.socials a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 25px;       /* square width */
    height: 25px;      /* square height */
    background-color: #00eaff; /* fixed background color */
    color: #fff;       /* icon color */
    margin-right: 10px;
    border-radius: 6px; /* slightly rounded corners */
    font-size: 18px;
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
  }
  
  .socials a:hover {
    transform: scale(1.2);   /* hover zoom effect */
    background-color: #009ec3; /* slightly darker on hover */
  }
  
  
  
  /* ================= MOBILE MENU ONLY ================= */

/* Hide menu icon on desktop */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
  }
  
  /* MOBILE VIEW */
  @media (max-width: 768px) {
  
    /* Show hamburger */
    .menu-toggle {
      display: block;
    }
  
    /* Hide desktop nav */
    header nav {
      position: absolute;
      top: 70px;
      left: 0;
      width: 100%;
      background: #050f1f;
      display: none;
      flex-direction: column;
      text-align: center;
      padding: 20px 0;
    }
  
    /* Show menu when active */
    header nav.active {
      display: flex;
    }
  
    header nav a {
      margin: 15px 0;
      font-size: 18px;
    }
  
    /* Hide CV button on mobile */
    .cv {
      display: flex;
    }
  }
  
  @media (max-width: 768px) {
    .stats {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
  }
  @media (max-width: 768px) {
    .buttons {
      transition: transform 0.3s ease;
    }
  }
/* ===== BLUR GLOW AROUND ABOUT IMAGE ===== */
/* ===== ANIMATED BLUR GLOW AROUND ABOUT IMAGE ===== */
.about-img {
    position: relative;
    display: inline-block;
  }
  
  .about-img::before {
    content: "";
    position: absolute;
    inset: -18px;
    background: linear-gradient(
      120deg,
      #00eaff,
      #0066ff,
      #00eaff
    );
    filter: blur(28px);
    border-radius: 28px;
    z-index: 0;
    opacity: 0.9;
  
    /* MOTION */
    animation: glowMove 6s ease-in-out infinite alternate;
  }
  
  .about-img img {
    position: relative;
    z-index: 1;
    width: 300px;
    border-radius: 15px;
    background: #050f1f;
  }
  
  /* ===== GLOW MOTION ANIMATION ===== */
  @keyframes glowMove {
    0% {
      transform: scale(1) translate(0, 0);
      filter: blur(26px);
    }
    50% {
      transform: scale(1.05) translate(6px, -6px);
      filter: blur(32px);
    }
    100% {
      transform: scale(1.02) translate(-6px, 6px);
      filter: blur(28px);
    }
  }
  /* ===== AVATAR WITH ANIMATED BLUR GLOW ===== */
.avatar {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* BLUR GLOW */
  .avatar::before {
    content: "";
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: linear-gradient(
      120deg,
      #00eaff,
      #0066ff,
      #00eaff
    );
    filter: blur(35px);
    opacity: 0.85;
    z-index: 0;
  
    animation: avatarGlow 4s ease-in-out infinite alternate;
  }
  
  
  /* SPINNING RING */
  .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
      #00eaff,
      #0066ff,
      #00eaff
    );
    filter: blur(2px);
    z-index: 1;
    animation: spin 4s linear infinite;
  }
  
  /* ===== ANIMATIONS ===== */
  @keyframes avatarGlow {
    0% {
      transform: scale(1) translate(0, 0);
      filter: blur(30px);
    }
    50% {
      transform: scale(1.08) translate(8px, -8px);
      filter: blur(38px);
    }
    100% {
      transform: scale(1.04) translate(-8px, 8px);
      filter: blur(32px);
    }
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  @keyframes float {
    50% {
      transform: translateY(-15px);
    }
  }

  /* FOOTER STYLES */
.footer {
    background-color: #111; /* dark background */
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    position: relative;
    font-family: Arial, sans-serif;
  }
  
  .footer p {
    margin: 5px 0;
    font-size: 14px;
  }
  
  .footer-links {
    margin: 15px 0;
  }
  
  .footer-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: #1da1f2; /* blue hover effect */
  }
  
  .footer-note {
    font-size: 13px;
    color: #aaa;
    margin-top: 10px;
  }
  
  /* BACK TO TOP BUTTON */
  #backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #1da1f2;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none; /* hidden initially */
    transition: background 0.3s;
    z-index: 100;
  }
  
  #backToTop:hover {
    background-color: #0d8ae5;
  }
  
  /* RESPONSIVE */
  @media (max-width: 600px) {
    .footer-links a {
      display: block;
      margin: 5px 0;
    }
  
    #backToTop {
      bottom: 20px;
      right: 20px;
    }
  }
  
  

  .services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  border-color: #38bdf8;
  box-shadow: 0 15px 30px rgba(56,189,248,0.15);
}

.service-item .icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #38bdf8;
}

.service-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #e5e7eb;
}

.service-item p {
  font-size: 14px;
  color: #cbd5f5;
  line-height: 1.6;
}




.skill-column {
  background: linear-gradient(145deg, #0b1c2d, #050b17);
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.6);
}

.skill-column h3 {
  color: #00e5ff;
  margin-bottom: 24px;
  font-size: 22px;
}

.skill {
  margin-bottom: 20px;
}

.skill h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 16px;
}

.skill h4 i {
  color: #00e5ff;
  font-size: 16px;
}

.skill p {
  margin-left: 28px;
  color: #b8c7e0;
  font-size: 14px;
  line-height: 1.6;
}
