* {
  margin: 0px;
  padding: 0px;
  border: border-box;
  font-family: calibri;
}
body {
  width: 100%;
  height: auto;
  background: linear-gradient(
    to right,
    #ffd102 0%,
    /* A light yellow at the start */ #fa3d04 50%,
    /* A pure orange in the middle */ #fa01a3 100%
      /* A reddish-orange at the end */
  );
  border-radius: 10%;
}
html {
  scroll-behavior: smooth;
}
/* Header section */
.header-section {
  height: 300px;
  background-color: black;
  box-shadow: 0px 0px 10px 2px rgb(0, 221, 255);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  width: 80%;
  margin: 50px auto;
  cursor: pointer;
  font-size: 100%;
  transition: transform 0.5s linear 0s normal;
  border: 2px solid rgb(0, 221, 255);
}
span {
  color: rgb(246, 43, 107);
}

.header-section:hover {
  transform: scale(1.02);
  box-shadow: 0px 0px 30px 2px #0d0d0d;
}

.profile-name {
  display: block;
  font-size: 25px;
}
.profile-name p:hover {
  font-size: 1.5rem;
  background: rgb(7, 177, 245);
  /* -webkit-background-clip: text;  */
  background-clip: text;
  color: transparent;
  /* text-shadow: 0px 0px 20px rgb(234, 134, 188); */
}
span:hover {
  font-size: 4rem;
  font-weight: bold;
  color: transparent;
  /* text-shadow: 0px 0px 20px 3px rgb(2, 166, 248); 
    background: linear-gradient(45deg, rgba(2, 211, 248, 0.787), rgb(2, 251, 209));
    background-clip: text; */
}
.profile-name1:hover {
  font-size: 4rem;
  font-weight: bold;

  /* Apply the gradient to the text */
  background: linear-gradient(
    45deg,
    rgba(2, 211, 248, 0.787),
    rgb(2, 251, 209)
  );

  /* Hide the gradient background from behind the text */
  background-clip: text;

  /* Make the text transparent so the gradient shows through */
  color: transparent;
  text-shadow: 0px 0px 20px 3px rgb(2, 166, 248);
}
.profile-name p {
  text-align: center;
  margin-top: 10px;
  font-size: 20px;
}
.profile-photo {
  width: 150px;
  height: 200px;
  background-color: rgb(12, 12, 12);
  margin-left: 30px;
  border-radius: 50px;
  border: 2px solid rgb(31, 88, 31);
}
.prophoto {
  width: 150px;
  height: 200px;
  border-radius: 50px;
}
.profile-photo:hover {
  border: 2px solid rgb(14, 14, 14);
  box-shadow: 0px 0px 20px 3px rgb(13, 255, 0);
}

/* header-2 */
.header-2 {
  height: 50px;
  /* background:linear-gradient(
        to right,
        rgb(1, 1, 255) 0%,
        rgb(0, 98, 255) 25%,
        rgba(246, 229, 42, 0.474) 50%,
        rgba(245, 209, 1, 0.995) 100%
    ); */
  background-color: black;
  box-shadow: 0px 0px 20px 2px rgb(0, 221, 255);
  border: 2px solid rgb(0, 221, 255);
  margin-top: 20px;
  border-radius: 20px;
  width: 85%;
  margin: 50px auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  transition: transform 0.5s linear 0s normal;
}
.header-2:hover {
  transform: scale(1.02);
  box-shadow: 0px 0px 20px 3px #0d0d0d;
}
.header-2 a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
}
.but:hover {
  transform: translateY(-2px); /*Subtle lift effect */
  background: linear-gradient(
    to right,
    #ffd102 0%,
    /* A light yellow at the start */ #fa3d04 50%,
    /* A pure orange in the middle */ #fa01a3 100%
      /* A reddish-orange at the end */
  ); /* Slight background on hover */
  box-shadow: 0px 0px 10px 3px rgb(246, 3, 43);
  cursor: pointer;
}
.but1:hover {
  transform: translateY(-2px); /*Subtle lift effect */
  background: linear-gradient(
    to right,
    #ffd102 0%,
    /* A light yellow at the start */ #fa3d04 50%,
    /* A pure orange in the middle */ #fa01a3 100%
      /* A reddish-orange at the end */
  ); /* Slight background on hover */
  box-shadow: 0px 0px 10px 3px rgb(246, 3, 43);
  cursor: pointer;
}
.but {
  /* font-size: 30px; */
  color: white;
  width: 80px;
  height: 30px;
  font-size: 1rem;
  background: linear-gradient(
    to right,
    rgb(1, 1, 255) 0%,
    rgb(0, 98, 255) 25%,
    rgba(246, 229, 42, 0.474) 50%,
    rgba(245, 209, 1, 0.995) 100%
  );
  border-radius: 20px;
  box-shadow: 0px 0px 10px 3px rgb(48, 3, 246);
}
.but1 {
  color: white;
  width: 80px;
  height: 35px;
  font-size: 0.8rem;
  background: linear-gradient(
    to right,
    rgb(1, 1, 255) 0%,
    rgb(0, 98, 255) 25%,
    rgba(246, 229, 42, 0.474) 50%,
    rgba(245, 209, 1, 0.995) 100%
  );
  border-radius: 20px;
  box-shadow: 0px 0px 10px 3px rgb(48, 3, 246);
}
#About {
  color: white;
  width: 85%;
  height: 350px;
  box-shadow: 0px 0px 20px 2px rgb(3, 243, 251);
  background-color: black;
  margin: 50px auto;
  /* text-align: center; */
  border-radius: 10px;
  /* display: flex;  */
  justify-content: flex-start;
  align-items: center;
  font-size: 16px;
  border: 2px solid rgb(0, 221, 255);
}
#About:hover {
  transform: scale(1.02);
  box-shadow: 0px 0px 20px 3px #0d0d0d;
}
.heading1 {
  font-size: 1.5rem;
  height: 40px;
  justify-content: center;
  display: flex;
  align-items: center;
  color: rgb(7, 183, 242);
  font-family: "calibri";
  padding: 10px;
}
.heading1:hover {
  text-transform: uppercase;
  text-decoration: 2px underline rgb(7, 183, 242);
  text-shadow: 0px 0px 20px rgb(2, 166, 248);
}
.icon1 {
  height: 100px;
  display: flex;
  justify-content: center;
  /* padding:5px; */
}
.icon2 {
  height: 100px;
  display: flex;
  justify-content: center;
  /* padding:5px; */
}
.icon3 {
  height: 115px;
  display: flex;
  justify-content: center;
  /* padding:5px; */
}
.icon1 i {
  width: 10%;
  color: rgb(254, 253, 255);
  background-size: auto;
  font-size: large;
  padding-left: 5px;
}
.icon1 i:hover {
  text-shadow: 0px 0px 20px rgb(254, 253, 255);
}
.icon2 i {
  width: 10%;
  color: rgb(249, 233, 7);
  background-size: cover;
  font-size: large;
  padding-left: 5px;
}
.icon2 i:hover {
  text-shadow: 0px 0px 20px rgb(249, 233, 7);
}
.icon3 i {
  width: 10%;
  color: rgb(249, 4, 4);
  background-size: cover;
  font-size: large;
  padding-left: 5px;
}
.icon3 i:hover {
  text-shadow: 0px 0px 20px rgb(249, 4, 4);
}
.icon3 a {
  text-decoration: none;
  color: gold;
}
.icon3 a:hover {
  text-decoration: none;
  text-shadow: 0px 0px 20px gold;
}
#Education {
  color: white;
  width: 80%;
  height: 350px;
  /* background: linear-gradient(
                        to right, 
                        #ffd102 0%,      A light yellow at the start
                        #fa3d04 50%,     A pure orange in the middle
                        #fa01a3 100%     A reddish-orange at the end
                        ); */
  background-color: black;
  box-shadow: 0px 0px 20px 2px rgb(0, 221, 255);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  font-size: 18px;
  margin: 50px auto;
  border: 2px solid rgb(0, 221, 255);
}
#Education:hover {
  transform: scale(1.02);
  box-shadow: 0px 0px 20px 3px #0d0d0d;
}
.heading2 {
  font-size: 1.5rem;
  font-family: "calibri";
  color: rgb(7, 183, 242);
  padding: 10px 0px 5px 0px;
  /* height: 40px; */
}
.heading2:hover {
  text-transform: uppercase;
  text-decoration: 2px underline rgb(7, 183, 242);
  text-shadow: 0px 0px 20px rgb(2, 166, 248);
}
.edudegree {
  margin: 10px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.edudegree p {
  /* width:65%; */
  height: auto;
  padding: 5px;
}
.edudegree h2 {
  padding: 5px;
}
.edujuniorclg {
  margin: 10px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.edujuniorclg h2 {
  padding: 5px;
}
.eduschool {
  margin: 10px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.eduschool h2 {
  padding: 5px;
}

/* SKILLS */
#Skill {
  color: white;
  width: 80%;
  height: 400px;
  background-color: black;
  box-shadow: 0px 0px 20px 2px rgb(0, 221, 255);
  border-radius: 10px;
  /* display: flex; */
  /* justify-content: center; */
  /* align-items: center; */
  border: 2px solid rgb(0, 221, 255);
  margin: 50px auto;
}
#Skill:hover {
  transform: scale(1.02);
  box-shadow: 0px 0px 20px 3px #0d0d0d;
}
.heading3 {
  text-align: center;
  font-size: 1.5rem;
  font-family: "calibri";
  color: rgb(7, 183, 242);
  padding: 10px 0px 5px 0px;
  /* height: 40px; */
}
.heading3:hover {
  text-transform: uppercase;
  text-decoration: 2px underline rgb(7, 183, 242);
  text-shadow: 0px 0px 20px rgb(2, 166, 248);
}
.skills-list {
  width: 90%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  /* align-items: flex-start; */
  /* gap:40px; */
  margin: 10px auto;
  /* padding: 5px; */
  height: auto;
}
.skill1 {
  width: 10%;
  padding-right: 70px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  border-right: 2px solid rgb(0, 213, 255);
}

.skill1 p {
  padding: 10px;
  /* font-weight: 700; */
}

.skill2 {
  width: 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-right: 70px;
  border-right: 2px solid rgb(0, 213, 255);
}
h3 {
  padding: 5px;
  font-weight: 700;
  color: rgb(2, 251, 193);
}
.skill2 p {
  padding: 10px;
  /* font-weight: 700; */
}

.skill3 {
  width: 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-right: 70px;
  border-right: 2px solid rgb(0, 213, 255);
}

.skill3 p {
  padding: 10px;
  /* font-weight: 700; */
}

.skill4 {
  width: 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-right: 40px;
  border-right: 2px solid rgb(0, 213, 255);
}

.skill4 p {
  padding: 10px;
  /* font-weight: 700; */
}
.skill4 i {
  padding: 5px;
  transition: transform 0.7s linear;
}

.skill1 i {
  transition: transform 0.7s linear;
}
.skill2 i {
  transition: transform 0.7s linear;
}
.skill3 i {
  transition: transform 0.7s linear;
}

.skill4 i:hover {
  transform: rotate(360deg);
}
.skill3 i:hover {
  transform: rotate(360deg);
}
.skill2 i:hover {
  transform: rotate(360deg);
}
.skill1 i:hover {
  transform: rotate(360deg);
}
.h {
  color: rgb(255, 191, 0);
  font-size: 1.5rem;
}
.cs {
  color: blue;
  font-size: 1.5rem;
}
.j {
  color: rgb(238, 255, 0);
  font-size: 1.5rem;
}
.c {
  color: rgb(255, 0, 0);
  font-size: 1.5rem;
}
.sq {
  color: rgb(255, 170, 0);
  font-size: 1.5rem;
}
.v {
  color: rgb(0, 132, 255);
  font-size: 1.5rem;
}
.my {
  color: rgb(255, 255, 0);
  font-size: 1.5rem;
}
.m {
  color: rgb(4, 255, 0);
  font-size: 1.5rem;
}
.t {
  color: rgb(4, 243, 231);
  font-size: 1.5rem;
}
.dsa {
  color: orange;
  font-size: 1.5rem;
}
.dbms {
  color: rgb(191, 0, 255);
  font-size: 1.5rem;
}
.tcs {
  color: skyblue;
  font-size: 1.5rem;
}
.act {
  color: aqua;
  font-size: 1.5rem;
}
.node {
  color: rgb(101, 237, 101);
  font-size: 1.5rem;
}
.mon {
  color: rgb(3, 254, 3);
  font-size: 1.5rem;
}
.py {
  color: #ffda3b;
  font-size: 1.5rem;
}

/* ! Addtional skill section */
.addtional-p {
  color: white;
  width: 80%;
  height: auto; /* let content grow */
  background-color: black;
  box-shadow: 0px 0px 20px 2px rgb(0, 221, 255);
  border-radius: 10px;
  border: 2px solid rgb(0, 221, 255);
  margin: 50px auto;
  padding: 15px;
}

.addtional-p:hover {
  transform: scale(1.02);
  box-shadow: 0px 0px 20px 3px #0d0d0d;
}

.addtional-skills {
  text-align: center;
  font-size: 1.5rem;
  font-family: "calibri";
  color: rgb(7, 183, 242);
  padding: 10px 0px 5px 0px;
}

.addtional-skills:hover {
  text-transform: uppercase;
  text-decoration: 2px underline rgb(7, 183, 242);
  text-shadow: 0px 0px 20px rgb(2, 166, 248);
}

/* container for skill sections */
.add-skill {
  display: flex;
  flex-wrap: wrap; /* responsive */
  justify-content: space-around;
  align-items: flex-start;
  margin: 10px auto;
  gap: 20px;
}

/* individual skill box */
.add-skill > div {
  flex: 1;
  min-width: 200px; /* prevents shrinking too small */
  background: rgba(0, 221, 255, 0.1);
  padding: 10px;
  border-radius: 8px;
}

.add-skill > div:hover {
  transform: scale(1.02);
  /* box-shadow: 0px 0px 20px 3px #0d0d0d  ; */
}

/* make section titles stand out */
.add-skill h4 {
  color: rgb(7, 183, 242);
  border-bottom: 2px solid rgb(0, 221, 255);
  padding-bottom: 5px;
  margin-bottom: 8px;
  text-shadow: 0px 0px 8px rgba(0, 221, 255, 0.7);
}

/* lists inside skill boxes */
.add-skill ul {
  margin: 0;
  padding-left: 18px;
}

.add-skill li {
  margin: 4px 0;
}

/*! Contact section */
#Contact {
  width: 70%;
  height: 280px;
  background-color: #000;
  color: white;
  margin: 20px auto;
  border-radius: 10px;
  border: 2px solid rgb(0, 221, 255);
  box-shadow: 0px 0px 20px 2px rgb(0, 221, 255);
}
#Contact:hover {
  transform: scale(1.02);
  box-shadow: 0px 0px 20px 3px #0d0d0d;
}
.heading5 {
  text-align: center;
  font-size: 1.5rem;
  font-family: "calibri", sans-serif;
  color: rgb(7, 183, 242);
  padding: 10px 0px 5px 0px;
}

/* Hover effect for the heading */
.heading5:hover {
  text-transform: uppercase;
  text-decoration: 2px underline rgb(7, 183, 242);
  text-shadow: 0px 0px 20px rgb(2, 166, 248);
}
.All-icons {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-size: 40px;
  /* line-height: 70px;   centers vertically */
  text-align: center;
  color: #02e0f8;
  text-shadow: 0px 0px 5px #02e0f8;
}
.linkedin {
  transition: transform 0.5s linear;
}
.linkedin:hover {
  transform: rotate(360deg);
  color: blue;
  text-shadow: 0px 0px 20px blue;
}
.Git {
  transition: transform 0.5s linear;
}
.Git:hover {
  transform: rotate(360deg);
  color: rgb(246, 137, 4);
  text-shadow: 0px 0px 20px rgb(246, 137, 4);
}
.email {
  transition: transform 0.5s linear;
}
.email:hover {
  transform: rotate(360deg);
  color: rgb(206, 4, 246);
  text-shadow: 0px 0px 20px rgb(206, 4, 246);
}
.phone-no {
  transition: transform 0.5s linear;
}
.phone-no:hover {
  transform: rotate(360deg);
  color: rgb(4, 246, 16);
  text-shadow: 0px 0px 20px #01fa05;
}
.text1 {
  font-size: 10px;
  color: black;
}
.text1:hover {
  color: blue;
}
.text2 {
  font-size: 10px;
  color: black;
}
.text2:hover {
  color: rgb(246, 137, 4);
}
.text3 {
  font-size: 10px;
  color: black;
}
.text3:hover {
  color: rgb(206, 4, 246);
}
.text4 {
  font-size: 10px;
  color: black;
}
.text4:hover {
  color: rgb(4, 246, 16);
}

.para b {
  color: #01fa05;
  text-shadow: 0px 0px 20px #01fa05;
}
.para {
  text-align: center;
  font-size: 18px;
}
.border4 {
  text-align: center;
  width: 70px;
  height: 70px;
  border: 1px solid white;
  border-radius: 50%;
  box-shadow: 0px 0px 20px 3px rgb(4, 246, 16);
}
.border4:hover {
  background-color: rgb(4, 246, 16);
  box-shadow: 0px 0px 20px 3px rgb(4, 246, 16);
}
.con-phone {
  text-decoration: none;
  text-shadow: none;
  color: rgb(4, 246, 16);
}
.con-phone:hover {
  color: black;
}
.border2 {
  text-align: center;
  width: 70px;
  height: 70px;
  border: 1px solid white;
  border-radius: 50%;
  box-shadow: 0px 0px 20px 3px #fa01a3;
}
.border2:hover {
  background-color: #fa01a3;
  box-shadow: 0px 0px 20px 3px #fa01a3;
}
.con-git {
  text-decoration: none;
  color: #fa01a3;
  text-shadow: none;
}
.con-git:hover {
  color: black;
}
.border3 {
  text-align: center;
  width: 70px;
  height: 70px;
  border: 1px solid white;
  border-radius: 50%;
  box-shadow: 0px 0px 20px 3px rgb(4, 246, 238);
}
.border3:hover {
  background-color: rgb(4, 246, 238);
  box-shadow: 0px 0px 20px 3px rgb(4, 246, 238);
}
.con-email {
  text-decoration: none;
  color: rgb(4, 246, 238);
  text-shadow: none;
}
.con-email:hover {
  color: black;
}
.border1 {
  text-align: center;
  width: 70px;
  height: 70px;
  border: 1px solid white;
  border-radius: 50%;
  box-shadow: 0px 0px 20px 3px blue;
}
.border1:hover {
  background-color: blue;
  box-shadow: 0px 0px 20px 3px blue;
}
.con-linkedin {
  text-decoration: none;
  color: blue;
  text-shadow: none;
}
.con-linkedin:hover {
  color: black;
}

.yt-but a {
  text-decoration: none;
  color: white;
  font-size: 18px;
}
.yt-but {
  display: block;
  margin: 25px auto;
  background: linear-gradient(45deg, #ffd102, #fa01a3);
  width: 150px;
  height: 40px;
  border-radius: 20px;
  box-shadow: 0px 0px 10px 2px #fa01a3;
  cursor: pointer;
  border: 2px solid white;
}
.yt-but:hover {
  background: linear-gradient(45deg, #fa01a3, #ffd102);
  box-shadow: 0px 0px 10px 2px #ffd102;
}
.Thank {
  margin-top: 30px;
  width: 100%;
  background-color: rgb(6, 6, 6);
  border-radius: 10px;
  border: 2px solid aqua;
  box-shadow: 0px 0px 10px 2px aqua;
}
.design {
  color: rgb(71, 70, 70);
}
.Thank p {
  text-align: center;
  padding: 10px;
  font-size: 20px;
  color: #faf8fc;
}

.Tp {
  color: rgb(6, 246, 6);
  text-shadow: 0px 0px 10px rgb(11, 250, 11);
}
.Te {
  color: aqua;
  text-shadow: 0px 0px 10px aqua;
}

@media (max-width: 1080px) {
  #About {
    width: 90%; /* Take up more width */
    height: auto; /* Allow height to adjust based on content */
    min-height: 300px; /* Ensure a minimum height */
    font-size: 15px; /* Slightly smaller text */
    /* If display: flex; is uncommented on #About, you might want: */
    /* flex-wrap: wrap; */
    /* justify-content: space-around; */
  }

  .heading1 {
    font-size: 22px; /* Slightly smaller heading */
    height: auto; /* Allow heading height to adjust */
    padding: 10px 0; /* Add some padding */
  }

  .icon1,
  .icon2,
  .icon3 {
    height: auto; /* Allow icon container height to adjust */
    padding: 5px 0; /* Add vertical padding */
  }

  .icon1 i,
  .icon2 i,
  .icon3 i {
    width: 15%; /* Icons can take up a bit more relative width */
    font-size: 2em; /* Use em or rem for better scaling */
    padding-left: 0; /* Remove left padding if not needed */
  }

  .add-skill > div {
    flex: 1 1 45%; /* two columns */
  }
}

@media (max-width: 799px) {
  .header-section {
    font-size: x-small;
    flex-direction: column;
  }
  .profile-name1:hover {
    font-size: 1.5rem;
  }
  .profile-photo {
    width: 150px;
    height: 200px;
    background-color: aqua;
    margin-right: 0px;
    margin-left: 0px;
    /* border-radius: 50%; */
    margin-top: 20px;
    /* flex-direction: column; */
    /* align-items: flex-start; */
  }
  .profile-name p:hover {
    font-size: 0.8rem;
  }
  .header-2 {
    display: flex;
    padding: 20px;
    gap: 10px;
    height: auto;
    flex-wrap: wrap;
    width: 90%;
  }
  #About {
    width: 90%; /* Almost full width */
    min-height: 250px; /* Adjust minimum height */
    font-size: 14px; /* Smaller text for better readability on small screens */
    padding: 10px; /* Add some internal padding */
    height: auto;
  }

  .heading1 {
    font-size: 20px; /* Further decrease heading size */
    text-align: center; /* Ensure heading is centered */
  }

  .icon1,
  .icon2,
  .icon3 {
    /* If these are direct children of #About, and #About is flex, consider */
    /* width: 100%; */ /* Make each icon row take full width */
    flex-direction: column; /* Stack icons vertically within their container if multiple icons per row */
    height: auto;
    padding: 8px 0; /* More vertical spacing between icon sections */
  }

  .icon1 i,
  .icon2 i,
  .icon3 i {
    width: 20%; /* Even more relative width for icons */
    font-size: 2em; /* Adjusted icon size */
    margin: 0 auto; /* Center the icon itself if its parent is not flex-direction: column */
    text-align: center; /* For good measure */
  }
  #Education {
    width: 90%;
    height: auto;
  }

  .project1 {
    flex-direction: column;
  }
}

/* --- Extra Small Devices (Smaller Phones, max-width 576px) --- */
@media (max-width: 600px) {
  .header-2 {
    width: 100%; /* Nearly full width */
    height: auto; /* Let content define height */
    min-height: 80px; /*  Ensure a minimum height */
    border-radius: 15px; /* Slightly less rounded corners */
    margin: 10px auto;
    padding: 10px 0;
  }
  /* menu section */
  #About {
    width: 95%; /* Nearly full width */
    min-height: 200px; /* Smaller minimum height */
    border-radius: 8px; /* Slightly less rounded */
    font-size: 13px; /* Smallest text size */
    padding: 5px; /* Less padding */
  }

  .heading1 {
    font-size: 18px; /* Smallest heading size */
    padding: 5px 0;
  }

  #Education {
    font-size: 1rem;
  }
  .icon1,
  .icon2,
  .icon3 {
    padding: 5px 0; /* Reduce padding for tighter spacing */
  }

  .icon1 i,
  .icon2 i,
  .icon3 i {
    width: 30%; /* Icons can take up a significant portion of width */
    font-size: 1.8em; /* Final icon size adjustment */
  }
  .add-skill {
    flex-direction: column; /* stack vertically */
    align-items: stretch; /* full width */
  }

  .add-skill > div {
    flex: 1 1 100%;
    min-width: unset; /* remove min-width restriction */
  }
}

/* Responsive Contact Section */
/* Tablets and small laptops (≤1024px) */
@media (max-width: 1024px) {
  .header-section {
    height: auto;
    padding: 10px;
  }
  .profile-name {
    font-size: 1.5rem;
  }
  #Contact {
    width: 90%;
    height: auto;
    padding: 15px;
  }

  .heading5 {
    font-size: 1.3rem;
  }

  .All-icons {
    gap: 20px;
    font-size: 32px;
  }

  .para {
    font-size: 16px;
    padding: 0 10px;
  }

  .yt-but {
    width: 140px;
    height: 38px;
    font-size: 16px;
  }
}

/* Mobile devices (≤768px) */
@media (max-width: 768px) {
  .header-section {
    height: auto;
  }
  .profile-name {
    font-size: 1rem;
  }
  #Contact {
    width: 95%;
    margin: 15px auto;
    height: auto;
  }

  .heading5 {
    font-size: 1.2rem;
  }

  .All-icons {
    flex-wrap: wrap; /* make icons stack into rows */
    gap: 15px;
    font-size: 28px;
  }

  .border1,
  .border2,
  .border3,
  .border4 {
    width: 65px;
    height: 65px;
    margin: 5px;
  }

  .text1,
  .text2,
  .text3,
  .text4 {
    font-size: 12px; /* more readable than 10px */
  }

  .para {
    font-size: 15px;
    line-height: 1.4;
  }

  .yt-but {
    width: 120px;
    height: 36px;
    font-size: 15px;
  }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  #Contact {
    width: 98%;
    margin: 10px auto;
    padding: 10px;
  }

  .heading5 {
    font-size: 1rem;
  }

  .All-icons {
    flex-direction: column; /* stack icons vertically */
    align-items: center;
    gap: 12px;
    font-size: 24px;
  }

  .border1,
  .border2,
  .border3,
  .border4 {
    width: 55px;
    height: 55px;
  }

  .text1,
  .text2,
  .text3,
  .text4 {
    font-size: 11px;
  }

  .para {
    font-size: 14px;
    padding: 0 5px;
  }

  .yt-but {
    width: 100px;
    height: 34px;
    font-size: 14px;
  }

  .Thank h5 {
    font-size: 0.9rem;
  }

  .Thank p {
    font-size: 12px;
  }
}
/* SKILL SECTION RESPONSIVE */
@media (max-width: 1024px) {
  #Skill {
    width: 90%;
    height: auto;
    padding: 20px;
  }
  .skills-list {
    justify-content: center;
  }
  .skill1,
  .skill2,
  .skill3,
  .skill4 {
    width: 40%;
    padding: 15px;
    border-right: none;
    border-bottom: 1px solid rgb(0, 213, 255);
    margin-bottom: 20px;
  }
}

/* Mobiles (≤768px) */
@media (max-width: 768px) {
  #Skill {
    width: 90%;
    height: auto;
  }
  .heading3 {
    font-size: 1.2rem;
  }
  .skills-list {
    flex-direction: column;
    align-items: center;
  }
  .skill1,
  .skill2,
  .skill3,
  .skill4 {
    width: 90%;
    padding: 10px;
    border: 2px solid white;
    margin: 10px 0;
  }
  .skill1 i,
  .skill2 i,
  .skill3 i,
  .skill4 i {
    font-size: 1.5rem;
  }
}

/* Very small screens (≤480px) */
@media (max-width: 480px) {
  .heading3 {
    font-size: 1rem;
  }
  h3 {
    font-size: 0.9rem;
  }
  .skill1 p,
  .skill2 p,
  .skill3 p,
  .skill4 p {
    font-size: 0.8rem;
    text-align: center;
  }
}

/* ! project section */
/* ===== Projects Container ===== */
.bg-black {
  background: linear-gradient(71deg, #080509, #1a171c, #080509);
}

#projects-container {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  flex-wrap: wrap;
}
.heading-1 {
  margin: 30px auto;
  text-align: center;
  color: white;
  width: 250px;
  background: linear-gradient(to right, #0a12f2, #017cf7, #1b02f9);
  border-radius: 20px;
  border: 2px solid #ecfdfe;
  box-shadow: 0px 0px 10px 2px white;
  font-weight: bold;
}
.heading-1:hover {
  border-radius: 10px;
  text-decoration: underline;
}
/* ===== Project Card ===== */
.project-card {
  margin: 10px;
  width: 400px;
  height: 550px;
  display: flex;
  flex-direction: column; /* default vertical layout */
  background: #f0f0f0;
  border-radius: 30px;
  /* overflow: hidden; */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  border: 1px solid rgb(55, 15, 234);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 0px 10px 3px white;
}

/* ===== Image ===== */
.project-image {
  margin-left: 10px;
  margin-top: 10px;
  width: 95%;
  height: 60%;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 10px;
}

/* ===== Content Wrapper ===== */
.project-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  flex: 1;
}

.project-title {
  color: rgb(7, 43, 150);
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.project-description {
  padding: 10px;
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.project-link {
  text-decoration: none;
  align-self: flex-start;
}

.project-button {
  width: 150px;
  margin-left: 125px;
  align-self: center;
  padding: 10px 16px;
  border: 2px solid #0077ff;
  background: #000;
  color: #fff;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
}

.project-button:hover {
  background: #005fcc;
  border: 2px solid #000;
  border-radius: 25px;
}
