*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
  scroll-behavior:smooth;
}

body{
  background:#020617;
  color:white;
  overflow-x:hidden;
}

/* SCROLLBAR */

::-webkit-scrollbar{
  width:8px;
}

::-webkit-scrollbar-track{
  background:#020617;
}

::-webkit-scrollbar-thumb{
  background:#00e5ff;
  border-radius:20px;
}

/* HEADER */

header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  padding:20px 10%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(0,0,0,0.5);
  backdrop-filter:blur(10px);
  z-index:1000;
}

.logo{
  font-size:32px;
  font-weight:700;
  color:#00e5ff;
}

.logo span{
  color:white;
}

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

nav ul li a{
  color:white;
  text-decoration:none;
  font-size:17px;
  transition:0.3s;
}

nav ul li a:hover{
  color:#00e5ff;
}

/* SECTION */

section{
  padding:100px 10%;
}

.section-title{
  text-align:center;
  font-size:45px;
  color:#00e5ff;
  margin-bottom:60px;
}

/* HERO */

.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
  padding:120px 10%;
  background:
  radial-gradient(circle at top right,#003566,#020617);
}

.hero-content{
  max-width:650px;
}

.hero-content h3{
  font-size:28px;
  color:#d1d5db;
}

.hero-content h1{
  font-size:80px;
  line-height:1.1;
  margin:10px 0;
}

.hero-content h1 span{
  color:#00e5ff;
  text-shadow:0 0 20px #00e5ff;
}

.typing-text{
  height:50px;
  font-size:30px;
  color:#00e5ff;
}

.hero-content p{
  margin:20px 0;
  line-height:1.8;
  color:#d1d5db;
}

/* BUTTONS */

.hero-buttons{
  display:flex;
  gap:20px;
  margin-top:30px;
}

.btn{
  padding:14px 35px;
  border:none;
  border-radius:40px;
  background:#00e5ff;
  color:black;
  text-decoration:none;
  font-weight:600;
  cursor:pointer;
  transition:0.4s;
  box-shadow:0 0 20px #00e5ff;
}

.btn:hover{
  transform:translateY(-5px);
  box-shadow:0 0 35px #00e5ff;
}

.btn-outline{
  background:transparent;
  border:2px solid #00e5ff;
  color:#00e5ff;
}

.btn-outline:hover{
  background:#00e5ff;
  color:black;
}

/* SOCIAL */

.social-icons{
  display:flex;
  gap:20px;
  margin-top:35px;
}

.social-icons a{
  width:50px;
  height:50px;
  border-radius:50%;
  border:2px solid #00e5ff;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#00e5ff;
  text-decoration:none;
  font-size:20px;
  transition:0.4s;
}

.social-icons a:hover{
  background:#00e5ff;
  color:black;
  transform:translateY(-5px);
}

/* HERO IMAGE */

.hero-image img{
  width:380px;
  border-radius:25px;
  border:4px solid #00e5ff;
  box-shadow:0 0 40px rgba(0,229,255,0.5);
  animation:float 3s ease-in-out infinite;
}

@keyframes float{

  0%{
    transform:translateY(0);
  }

  50%{
    transform:translateY(-15px);
  }

  100%{
    transform:translateY(0);
  }

}

/* ABOUT */

.about-container{
  display:grid;
  grid-template-columns:350px 1fr;
  gap:60px;
  align-items:center;
}

.about-image{
  display:flex;
  justify-content:center;
}

.about-image img{
  width:100%;
  max-width:350px;
  border-radius:25px;
  border:3px solid #00e5ff;
  box-shadow:0 0 30px rgba(0,229,255,0.35);
}

.about-text h3{
  font-size:36px;
  margin-bottom:20px;
  line-height:1.4;
}

.about-intro,
.about-description{
  color:#d1d5db;
  line-height:1.9;
  margin-bottom:18px;
}

.highlight{
  color:#00e5ff;
  font-weight:600;
}

/* ABOUT INFO */

.about-info-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
  margin:30px 0;
}

.info-box{
  background:#0f172a;
  padding:18px;
  border-radius:18px;
  display:flex;
  align-items:center;
  gap:15px;
  border:1px solid rgba(255,255,255,0.08);
  transition:0.4s;
}

.info-box:hover{
  transform:translateY(-5px);
  box-shadow:0 0 20px rgba(0,229,255,0.25);
}

.info-box i{
  font-size:28px;
  color:#00e5ff;
}

.info-box h4{
  color:#00e5ff;
  margin-bottom:4px;
}

.info-box p{
  color:#d1d5db;
  font-size:14px;
}

/* SKILLS */

.skills-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
}

.skill-box{
  background:#0f172a;
  padding:40px;
  text-align:center;
  border-radius:20px;
  border:1px solid rgba(255,255,255,0.08);
  transition:0.4s;
}

.skill-box:hover{
  transform:translateY(-10px);
  box-shadow:0 0 25px rgba(0,229,255,0.3);
}

.skill-box i{
  font-size:50px;
  color:#00e5ff;
  margin-bottom:20px;
}

/* EDUCATION */

.education-container{
  display:flex;
  flex-direction:column;
  gap:25px;
}

.education-card{
  display:flex;
  gap:25px;
  background:#0f172a;
  padding:30px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,0.08);
  transition:0.4s;
}

.education-card:hover{
  transform:translateY(-8px);
  box-shadow:0 0 25px rgba(0,229,255,0.25);
}

.edu-icon{
  min-width:80px;
  height:80px;
  border-radius:50%;
  background:#00e5ff;
  display:flex;
  align-items:center;
  justify-content:center;
}

.edu-icon i{
  font-size:35px;
  color:#020617;
}

.edu-content h3{
  color:#00e5ff;
  margin-bottom:8px;
}

.edu-content h4{
  margin-bottom:10px;
}

.edu-college,
.edu-desc{
  color:#d1d5db;
  line-height:1.7;
}

.edu-cgpa,
.edu-year{
  color:#00e5ff;
  font-weight:600;
  margin:10px 0;
}

/* PROJECTS */

.project-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.project-card{
  background:#0f172a;
  border-radius:20px;
  overflow:hidden;
  transition:0.4s;
}

.project-card:hover{
  transform:translateY(-10px);
  box-shadow:0 0 30px rgba(0,229,255,0.25);
}

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

.project-info{
  padding:25px;
}

.project-info h3{
  color:#00e5ff;
  margin-bottom:15px;
}

.project-info p{
  color:#d1d5db;
  line-height:1.8;
  margin-bottom:20px;
}

/* SERVICES */

.service-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.service-box{
  background:#0f172a;
  padding:40px;
  text-align:center;
  border-radius:20px;
  transition:0.4s;
}

.service-box:hover{
  transform:translateY(-10px);
  box-shadow:0 0 25px rgba(0,229,255,0.25);
}

.service-box i{
  font-size:50px;
  color:#00e5ff;
  margin-bottom:20px;
}

/* CERTIFICATES */

.certificate-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
}

.certificate-card{
  background:#0f172a;
  padding:35px 25px;
  border-radius:20px;
  text-align:center;
  border:1px solid rgba(255,255,255,0.08);
  transition:0.4s;
}

.certificate-card:hover{
  transform:translateY(-10px);
  box-shadow:0 0 25px rgba(0,229,255,0.25);
}

.certificate-card i{
  font-size:50px;
  color:#00e5ff;
  margin-bottom:20px;
}

.certificate-card h3{
  color:#00e5ff;
  margin-bottom:15px;
}

.certificate-card p{
  color:#d1d5db;
  line-height:1.7;
  margin-bottom:20px;
}

.view-btn{
  padding:12px 28px;
  border:none;
  border-radius:30px;
  background:#00e5ff;
  color:black;
  font-weight:600;
  cursor:pointer;
  transition:0.4s;
}

.view-btn:hover{
  transform:translateY(-5px);
  box-shadow:0 0 20px #00e5ff;
}

/* MODAL */

.certificate-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  justify-content:center;
  align-items:center;
  z-index:9999;
  padding:20px;
}

.modal-content{
  background:#0f172a;
  padding:25px;
  border-radius:20px;
  width:90%;
  max-width:800px;
  text-align:center;
  position:relative;
  animation:popup 0.4s ease;
}

@keyframes popup{

  from{
    transform:scale(0.7);
    opacity:0;
  }

  to{
    transform:scale(1);
    opacity:1;
  }

}

.modal-content img{
  width:100%;
  max-height:80vh;
  object-fit:contain;
  border-radius:15px;
  margin-bottom:20px;
}

.modal-content h2{
  color:#00e5ff;
  margin-bottom:10px;
}

.modal-content p{
  color:#d1d5db;
}

.close-btn{
  position:absolute;
  top:10px;
  right:20px;
  font-size:40px;
  color:#00e5ff;
  cursor:pointer;
}

/* CONTACT */

.contact-wrapper{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.contact-card{
  background:#0f172a;
  padding:35px 25px;
  border-radius:20px;
  text-align:center;
  transition:0.4s;
}

.contact-card:hover{
  transform:translateY(-10px);
  box-shadow:0 0 25px rgba(0,229,255,0.25);
}

.contact-card i{
  font-size:50px;
  color:#00e5ff;
  margin-bottom:20px;
}

.contact-card h3{
  color:#00e5ff;
  margin-bottom:10px;
}

.contact-card p{
  color:#d1d5db;
  margin-bottom:20px;
}

.contact-btn{
  display:inline-block;
  padding:12px 28px;
  background:#00e5ff;
  color:black;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  transition:0.4s;
}

.contact-btn:hover{
  transform:translateY(-5px);
}

/* FOOTER */

footer{
  text-align:center;
  padding:30px;
  border-top:1px solid rgba(255,255,255,0.08);
  color:#d1d5db;
}

/* RESPONSIVE */

@media(max-width:1000px){

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

  .hero-buttons,
  .social-icons{
    justify-content:center;
  }

  .hero-content h1{
    font-size:60px;
  }

  .about-container{
    grid-template-columns:1fr;
  }

}

@media(max-width:768px){

  nav ul{
    display:none;
  }

  .hero-content h1{
    font-size:45px;
  }

  .typing-text{
    font-size:24px;
  }

  .hero-image img{
    width:300px;
  }

  .about-info-grid{
    grid-template-columns:1fr;
  }

  .about-text h3{
    font-size:28px;
  }

}
.experience .education-card{
  border-left:4px solid #00e5ff;
}