*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body{
  position: relative;
  height: fit-content;
  width:100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  padding: 30px 0;
  justify-content: center;
  align-items: center;
}

.back-vid{
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: auto;
  height: 100%;
}



/* @media (max-aspect-ratio: 16/9){
  .back-vid{
    width: auto;
    height: 100%;
  }
}

@media (min-aspect-ratio: 16/9){
  .back-vid{
    width: 100%;
    height: auto;
  }
} */



.main-section{
  width: 90%;
  height: 90%;
  background-color:#4ad0ee1b;
  backdrop-filter: blur(10px);
  border-radius: 50px;
  box-shadow: 5px 5px 20px 1px #4acfee;
}

nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
}

nav h1{
  color: white;
  font-size: 30px;
  font-weight: 900;
}

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

nav a{
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: 0.2s;
  padding: 0px 25px;
}

nav a:hover ,
.active {
  color : #4acfee;
  text-decoration: underline;
}

.hero{
  display: flex;
  align-items: center;
  height: 70%;
  padding: 0 10%;
  color: white;
  justify-content: space-between;
}

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

.hero h2{
  margin-top: 20px;
  font-size: 30px;
  text-transform: uppercase;
  background:linear-gradient(to right, #4acfee, #53f8c9, #6070fd, #5bbdff, #4acfee);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 2.5s linear infinite;
}

.hero p{
  max-width: 450px;
  margin-top: 7px;
  margin-bottom: 20px;
}

@keyframes animate-gradient {
  to {
    background-position: 200%;
  }
}

.Buttons{
  display: flex;
}

.btn{
  display: inline-block;
  padding: 15px 30px;
  background-color: #4acfee;
  border: 2px solid #4acfee;
  border-radius: 40px;
  box-shadow: 0 0 10px #4acfee;
  font-size: 16px;
  font-weight: 900;
  color: #0e1217;
  cursor: pointer;
  margin-right: 15px;
  transition: 0.3s;
  text-wrap: nowrap;
}

.btn:hover{
  background-color: transparent;
  box-shadow: none;
  color: #4acfee;
}

.ul-icons{
  display: flex;
  align-items: center;
}

.ul-icons li{
  list-style: none;
  margin-left: 10px;
}

.ul-icons a{
  display: inline-flex;
  padding: 8px;
  border: 2px solid #4acfee;
  border-radius: 50%;
  font-size: 20px;
  color: #4acfee;
  text-decoration: none;
  margin: 0 7px;
  transition: 0.3s;
}

.ul-icons a:hover{
  background: #4acfee;
  color: #0e1217;
  box-shadow: 0 0 10px #4acfee;
}

.hero-info{
  margin-bottom: 20px;
}

.hero-img{
  width: 400px;
  height: 400px;
  background-color: none;
  position:relative;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 10px #4eddfd;
  transition: 0.5s;
}

.hero-img:hover{
  box-shadow: 0 0 25px #4acfee;
}

.hero-img img{
  position: absolute;
  width: 85%;
  mix-blend-mode: lighten;
}

.info-sec{
  display: flex;
  width: 100%;
  margin-bottom: 5%;
  gap: 20px;
  padding: 0 10%;
  flex-wrap: wrap;
  justify-content: space-between;
  
}

.info-card{
  display: flex;
  width: 100%;
  align-items: center;
  max-width: fit-content;
}

.info-sec h1{
  font-size: 55px;
  text-transform: uppercase;
  background:linear-gradient(to right, #4acfee, #53f8c9, #6070fd, #5bbdff, #4acfee);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 2.5s linear infinite;
  margin-right: 10px;
}

.info-sec p{
  color: white;
  font-size: 20px;
}



@media (min-width: 1220px) {
  
  body{
    height: fit-content;
    overflow: auto;
  }

  .info-sec{
    margin-top: 30px;
  }
}


@media (max-width: 1220px) and (min-width: 980px) {

  body{
    height: fit-content;
    overflow: auto;
  }

  .info-sec{
    margin-top: 30px;
  }
}


@media (max-width: 980px) {

  body{
    height: fit-content;
    overflow: auto;
  }

  .main-section nav ul{
    display: none;
  }
  .Buttons{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .hero{
    display: flex;
    flex-direction: column;
  }

  .hero-img{
    width: 400px;
    height: 400px;
    margin: 20px 0;
  }

  .info-sec{
    margin-top: 30px;
  }
  
  .projects-section, .skills-section{
    padding: 30px 6%;
  }

}

@media (max-width:440px) {
  .hero-img{
    width: 350px;
  }

  .hero h1{
    font-size: 40px;
  }

  .hero-img{
    width: 250px;
    height: 250px;
    margin: 10px 0;
  }
}

/* Projects Section */
.projects-section{
  padding: 40px 10%;
}

.projects-section h2{
  font-size: 32px;
  font-weight: 900;
  color: #eaf6fb;
  background:linear-gradient(to right, #4acfee, #53f8c9, #6070fd, #5bbdff, #4acfee);
  background-size: 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  /* animation: animate-gradient 2.5s linear infinite; */
}

.projects-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.project-card{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(74,207,238,0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.project-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(74,207,238,0.12);
}

.project-media{
  height: auto;
  background: linear-gradient(120deg, rgba(74,207,238,0.06), rgba(96,112,253,0.04));
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content{
  padding: 18px;
  color: #eaf6fb;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-title{
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
  background:linear-gradient(to right, #4acfee, #53f8c9, #6070fd, #5bbdff, #4acfee);
  background-size: 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* animation: animate-gradient 2.5s linear infinite; */
}

.project-desc{
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
}

.project-tech{
  list-style: none;
  padding: 0;
  margin: 6px 0 12px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-tech li{
  background: rgba(74,207,238,0.10);
  color: #4acfee;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.project-links{
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.project-links .btn{
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 10px;
  box-shadow: none;
  border: 1px solid rgba(74,207,238,0.12);
}

/* Skills Section */
.skills-section{
  padding: 40px 10%;
}

.skills-section h2{
  font-size: 32px;
  font-weight: 900;
  color: #eaf6fb;
  background:linear-gradient(to right, #4acfee, #53f8c9, #6070fd, #5bbdff, #4acfee);
  background-size: 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  /* animation: animate-gradient 2.5s linear infinite; */
}

.skills-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.skill-card{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(74,207,238,0.08);
  border-radius: 12px;
  padding: 14px;
  color: #eaf6fb;
}

.skill-category{
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 10px;
  background: linear-gradient(to right, #4acfee, #53f8c9, #6070fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skill-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-name{
  font-size: 14px;
  font-weight: 700;
  min-width: 90px;
}

.skill-level{
  height: 10px;
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.skill-level::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 60%; /* default fill */
  background: linear-gradient(90deg, #4acfee, #53f8c9, #6070fd);
  border-radius: 6px;
}

/* Utility classes for skill level percentages */
.skill-level.lvl-95::after{ width:95%; }
.skill-level.lvl-90::after{ width:90%; }
.skill-level.lvl-80::after{ width:80%; }
.skill-level.lvl-70::after{ width:70%; }
.skill-level.lvl-60::after{ width:60%; }
.skill-level.lvl-50::after{ width:50%; }
 
/* Contact Section */
.contact-section{
  padding: 40px 10%;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 20px;
}

.contact-info{
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(74,207,238,0.06);
  padding: 18px;
  border-radius: 12px;
  color: #eaf6fb;
}

.contact-info p{
  color: rgba(234,246,251,0.9);
  line-height: 1.5;
}

.contact-list{
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-list li{
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(234,246,251,0.9);
}

.contact-list li i{
  color: #4acfee;
  font-size: 18px;
}

.contact-list a{
  color: #eaf6fb;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-list a:hover{ color: #4acfee; }

.contact-form{
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(74,207,238,0.06);
  padding: 18px;
  border-radius: 12px;
}

.contact-form .form-group{
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.contact-form label{
  font-weight: 700;
  font-size: 13px;
  color: #eaf6fb;
}

.contact-form input,
.contact-form textarea{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(74,207,238,0.10);
  color: #eaf6fb;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus{
  outline: none;
  border-color: #4acfee;
  box-shadow: 0 0 0 6px rgba(74,207,238,0.04);
}

.contact-form textarea{ resize: vertical; min-height: 120px; }

.form-actions{
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.contact-form .btn{
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
}

@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-section{ padding: 30px 6%; }
}

/* Contact headings & action-cards */
.contact-section h2{
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 18px;
  background:linear-gradient(to right, #4acfee, #53f8c9, #6070fd, #5bbdff, #4acfee);
  background-size: 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #eaf6fb;
  animation: animate-gradient 2.5s linear infinite;
}

.contact-actions{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.action-card{
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(74,207,238,0.06);
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.action-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(74,207,238,0.08);
}

.action-card i{
  font-size: 26px;
  color: #4acfee;
}

.action-card h3{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #eaf6fb;
}

.action-card p{
  margin: 0;
  color: rgba(234,246,251,0.9);
  font-size: 14px;
  line-height: 1.4;
}

.action-card .btn{
  align-self: flex-start;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 10px;
  background: #4acfee;
  color: #0e1217;
  border: 1px solid #4acfee;
  box-shadow: 0 4px 14px rgba(74,207,238,0.12);
  text-decoration: none;
}

.action-card .btn:hover{
  background: transparent;
  color: #4acfee;
  box-shadow: none;
}

@media (min-width: 980px){
  .action-cards{ grid-template-columns: 1fr; }
}

@media (max-width: 600px){
  .contact-section h2{ font-size: 26px; }
  .action-card h3{ font-size: 16px; }
}

