 * {
   margin: 0;
   padding: 0;
 }

 body {
   background-color: rgb(1, 1, 19);
   color: white;
   font-family: 'Poppins', sans-serif;
 }

 nav {
   display: flex;
   justify-content: space-around;
   align-items: center;
   height: 80px;
   background-color: rgb(6, 6, 44);
 }

 nav ul {
   display: flex;
   justify-content: center;
 }

 nav ul li {
   list-style: none;
   margin: 23px;
 }

 nav ul li a {
   text-decoration: none;
   color: white;
 }

 nav ul li a:hover {
   color: rgb(119, 92, 231);
   font-size: 1.04rem;
 }

 main hr {

   border: 0;
   background: rgb(102, 53, 208);
   height: 1.2px;
   margin: 60px 84px;

 }

 .aleft {
   font-size: 1.5rem;
 }

 .firstSection {
   display: flex;
   justify-content: center;
   align-items: center;
   height: 80vh;
   padding: 40px;

 }


 .leftSection {
   font-size: 1.25rem;
 }




 .purple {
   font-size: 3rem;
   color: rgb(127, 61, 193);
 }

 .secondline {
   font-weight: bold;
   font-style: italic;
 }

 #element {
   color: rgb(127, 61, 193);
 }

 .secondSection {
   max-width: 80vw;
   margin: auto;
   height: 90vh;
 }

 .secondSection h1 {
   font-size: 1.9rem;
 }

 .secondSection .BTECH {
   width: 150px;
   height: 150px;
   background-color: white;
   border-radius: 50%;
   margin-top: 80px;
   margin-left: 400px;

 }


 .education-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 50px;
   max-width: 1000px;
   margin-top: 93px;
 }

 .card {
   background-color: #0b0818;
   border: 1px solid #333;
   border-radius: 15px;
   padding: 50px;
   transition: transform 0.3s, box-shadow 0.3s;
 }

 .card:hover {
   transform: translateY(-5px);
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
 }

 .card h3 {
   font-size: 20px;
   color: #00ffcc;
   margin-bottom: 10px;
 }

 .card img {
   height: 60px;
   margin-bottom: 15px;
 }

 .card .years {
   font-weight: bold;
   font-size: 16px;
   margin-bottom: 8px;
 }

 .card .pursuing {
   font-weight: normal;
   color: #ccc;
   font-size: 14px;
 }

 .card p {
   margin-top: 10px;
   font-size: 15px;
   color: #eee;
 }

 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
 }




 .thirdsection {
   width: 90%;
   height: 700px;
   max-width: 800px;
   margin-bottom: 50px;
   align-items: center;
   padding: 30px;
   border-radius: 20px;
   margin: 0 auto;

 }


 .section-title {
   font-size: 26px;
   margin-bottom: 25px;
   margin-right: px;
   color: #e0e0e0;
   text-transform: uppercase;

   padding-bottom: 10px;
 }


 .skills .skill {
   margin-bottom: 20px;
 }

 .skills .skill span {
   font-weight: 500;
   font-size: 16px;
   margin-bottom: 8px;
   display: block;
 }

 .progress {
   background-color: #2a2a2a;
   border-radius: 20px;
   overflow: hidden;
   height: 20px;
 }

 .bar {
   height: 100%;
   background-color: #ffffff;
   text-align: right;
   padding-right: 10px;
   font-size: 13px;
   font-weight: bold;
   color: #000;
   line-height: 20px;
   border-radius: 20px;
   transition: width 0.6s ease-in-out;
 }


 .social-icons {
   display: flex;
   justify-content: center;
   gap: 15px;
   margin-bottom: 25px;
   flex-wrap: wrap;
 }

 .social-icons a {
   color: #374e38;
   font-size: 18px;
   border: 1px solid #4caf50;
   padding: 10px;
   border-radius: 10px;
   transition: 0.3s;
 }

 .social-icons a:hover {
   background-color: #00ffcc;
   color: #000;
 }


 .contact-form {
   display: flex;
   flex-direction: column;
   gap: 20px;
 }

 .input-group label {
   font-size: 14px;
   margin-bottom: 5px;
 }

 .input-group input,
 .input-group textarea {
   width: 100%;
   padding: 12px 15px;
   background: #1c1c1c;
   border: 1px solid #444;
   border-radius: 10px;
   color: #fff;
   font-size: 15px;
   transition: border 0.3s;
 }

 .input-group input:focus,
 .input-group textarea:focus {
   border-color: #00ffcc;
   outline: none;
 }

 .contact-form button {
   background-color: #ffffff;
   color: #000;
   padding: 14px 20px;
   border: none;
   font-size: 16px;
   font-weight: bold;
   border-radius: 10px;
   cursor: pointer;
   transition: background 0.3s;
 }

 .contact-form button:hover {
   background-color: #413291;
 }

 .contact-form button i {
   margin-right: 8px;
 }

 footer {
   background-color: rgb(34, 40, 74);

 }

 .footer {
   display: flex;
   padding: 23px 122px;
   justify-content: space-evenly;
 }

 .footer ul {
   list-style: none;
 }

 .footer>div {
   width: 233px;
 }

 footer .footer-rights {
   text-align: center;
   color: gray;
   padding: 12px 0;
 }

 @media (max-width: 425px) {
   

   .secondSection {
     height: 110vh;
   }

   nav {
     padding: 8px;
   }

   nav ul li {
     margin: 4px;
     font-size: small;
     ;
   }

   .aleft {
     font-size: 1.25rem;
   }
 }
 