/* ========================= */
/* Reset + Global Styles */
/* ========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #0d0d0d;
  color: white;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================= */
/* Stars Background Canvas */
/* ========================= */

canvas#stars {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

/* ========================= */
/* Navbar */
/* ========================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 999;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #00f0ff;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00f0ff;
}

/* Mobile Menu Toggle */

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* Mobile Navbar Active */

.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 20px;
  background: black;
  padding: 20px;
  border-radius: 12px;
  gap: 15px;
}

/* ========================= */
/* Hero Section */
/* ========================= */
.hero {
  min-height: 100vh;
  padding: 120px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}







.hero-img {
  width: 380px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 25px #00f0ff;
}



.hero-right h1 {
  font-size: 45px;
  margin-bottom: 15px;
}

.hero-right .name {
  color: #00f0ff;
}

.typing-text {
  font-size: 22px;
  margin-bottom: 25px;
  color: #ccc;
}

/* Hero Buttons */

.hero-buttons {
  display: flex;
  gap: 30px;
  padding-top: 30px;
}

.hero-btn {
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: bold;
  background: #00f0ff;
  color: black;
  transition: 0.3s;
  
}

.hero-btn:hover {
  background: #00c6d6;
}

.hero-btn.contact {
  background: transparent;
  border: 2px solid #00f0ff;
  color: #00f0ff;
}

.hero-btn.contact:hover {
  background: #00f0ff;
  color: black;
}



.hero-btn {
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: bold;
  background: #00f0ff;
  color: black;
  transition: 0.3s;
  
}

.hero-btn:hover {
  background: #00c6d6;
}

.hero-btn.contact {
  background: transparent;
  border: 2px solid #00f0ff;
  color: #ff7700;
}

.hero-btn.contact:hover {
  background: #eeff00;
  color: black;
}






/* ========================= */
/* Social Icons */
/* ========================= */

/* Social Icons Container */
/* Left Side Social Sidebar */
.social-sidebar {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px 10px;
  background: rgba(0, 255, 255, 0.08);

  /* Curve Shape Like Your Drawing */
  border-top-right-radius: 60px;
  border-bottom-right-radius: 60px;

  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  z-index: 999;
}

/* Icons Style */
.social-sidebar a {
  width: 50px;
  height: 50px;
  background: rgba(0, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 50%; /* round icons */
  color: cyan;
  font-size: 22px;

  transition: 0.3s ease;
}

/* Hover Effect */
.social-sidebar a:hover {
  transform: scale(1.3);
  background: rgb(255, 0, 8);
  color: black;
  box-shadow: 0 0 20px cyan;
}


/* ========================= */
/* Section Styling */
/* ========================= */

section {
  padding: 80px 20px;
}

section h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 40px;
  color: #00f0ff;
}

/* About */

#about p {
  max-width: 800px;
  margin: auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  color: #ddd;
}

/* ========================= */
/* Skills Section */
/* ========================= */
/* Skills Section Grid */
.skills-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  padding: 30px;
}

/* Skill Circle Card */
.skill-card {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.08);
  border: 2px solid rgba(0, 255, 255, 0.3);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  cursor: pointer;

  transition: 0.4s ease;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.15);
}

/* Hover Effect */
.skill-card:hover {
  transform: scale(1.15);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
  background: rgba(0, 255, 8, 0.66);
}

/* Skill Icons */
.skill-card img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Skill Name */
.skill-card h3 {
  font-size: 14px;
  color: white;
  font-weight: 600;
}

.skill-card {
  animation: floatSkill 3s ease-in-out infinite;
}

@keyframes floatSkill {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@media (max-width: 768px) {
  .skill-card {
    width: 100px;
    height: 100px;
  }

  .skill-card img {
    width: 35px;
    height: 35px;
  }

  .skill-card h3 {
    font-size: 12px;
  }
}

/* ========================= */
/* Projects Section */
/* ========================= */



.projects-section {
  padding: 90px 10%;
  background: black;
  text-align: center;
}

.projects-title {
  font-size: 3rem;
  color: cyan;
  margin-bottom: 60px;
  text-shadow: 0 0 15px cyan;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
  transition: 0.4s ease;
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 0 30px cyan;
}

.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
}

.project-card h3 {
  font-size: 1.6rem;
  color: cyan;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 20px;
}

.project-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.project-links a {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: bold;
  color: black;
  background: cyan;
  transition: 0.3s;
}

.project-links a:hover {
  background: white;
  color: black;
}


/* ========================= */
/* Education Section */
/* ========================= */

.education-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.edu-card {
  width: 280px;
  background: #1c1c1c;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
  border: 1px solid #333;
}

.edu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 18px #00f0ff;
}

/* ========================= */
/* Certifications */
/* ========================= */
/* Certification Grid Layout */


.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 0 60px;
}

.cert-card {
  background: #1c1c1c;
  padding: 22px;
  border-radius: 15px;
  transition: 0.3s;
  border: 1px solid #333;
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.35);
}

.cert-card h3 {
  color: #00f0ff;
  margin-bottom: 10px;
}
/* Certification Image Round Style */
.cert-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;

  border: 3px solid rgba(0, 255, 255, 0.5);

  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4),
              0 0 30px rgba(0, 255, 255, 0.2);

  margin-bottom: 15px;
  transition: 0.4s ease;
}

/* Hover Effect */
.cert-img:hover {
  transform: scale(1.15) rotate(3deg);

  box-shadow: 0 0 25px rgba(0, 255, 255, 0.8),
              0 0 45px rgba(0, 255, 255, 0.5);
}
.cert-card {
  text-align: center;
}





/* ========================= */
/* Contact Section */
/* ========================= */

#contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#contact input,
#contact textarea {
  padding: 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: #1a1a1a;
  color: white;
}

#contact button {
  padding: 12px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background: #00f0ff;
  transition: 0.3s;
}

#contact button:hover {
  background: #00c6d6;
}

/* ========================= */
/* Footer */
/* ========================= */

footer {
  text-align: center;
  padding: 20px;
  background: black;
  color: #777;
}

/* ========================= */
/* Responsive Design */
/* ========================= */

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
  }

 .hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 8%;
  min-height: 100vh;
  gap: 50px;
}

/* LEFT SIDE TEXT */
.hero-left {
  flex: 1;
}

.hero-left h1 {
  font-size: 52px;
  font-weight: bold;
  line-height: 1.2;
}

.hero-desc {
  margin-top: 15px;
  font-size: 18px;
  color: #bbb;
  max-width: 500px;
}
/* RIGHT SIDE IMAGE */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #00f0ff;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.6);
  transition: transform 0.4s ease;
}

.hero-img:hover {
  transform: scale(1.08);
}


@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 80px 20px;
  }

  .hero-img {
    width: 230px;
    height: 230px;
  }

  .hero-left h1 {
    font-size: 36px;
  }
}











  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .skills-grid,
  .project-grid,
  .cert-grid {
    padding: 0 20px;
  }

  .social-icons {
    flex-direction: row;
    position: relative;
    left: 0;
    top: auto;
    justify-content: center;
    margin-top: 25px;
  }


  
}


.name {
  background: linear-gradient(90deg, #00f0ff, #ff00ff, #00f0ff);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowText 3s infinite linear;
}

@keyframes glowText {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}
.skill-card,
.project-card,
.cert-card,
.edu-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 255, 0.2);
}
.skill-card:hover,
.project-card:hover,
.cert-card:hover,
.edu-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}
section::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  background: #00f0ff;
  margin: 25px auto;
  border-radius: 10px;
  opacity: 0.6;
}
body::before,
body::after {
  content: "";
  position: fixed;
  width: 300px;
  height: 300px;
  background: rgba(0, 255, 255, 0.15);
  filter: blur(120px);
  z-index: -2;
}

body::before {
  top: 10%;
  left: 10%;
}

body::after {
  bottom: 10%;
  right: 10%;
  background: rgba(255, 0, 255, 0.12);
}
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#00f0ff, #ff00ff);
  border-radius: 10px;
}
.hero-right {
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
  animation: heroGlow 4s infinite alternate;
}

@keyframes heroGlow {
  from {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
  }
  to {
    box-shadow: 0 0 35px rgba(0, 255, 255, 0.35);
  }
}
.hero-btn {
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.6);
}
#contact input:focus,
#contact textarea:focus {
  border: 1px solid #00f0ff;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
}
body {
  animation: fadeIn 1.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
