 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     scroll-behavior: smooth;
 }

 html,
 body {
     font-family: 'Poppins', sans-serif;
     background: #0f172a;
     color: #f1f5f9;
     overflow-x: hidden;
     font-size: 18px;
 }


 section {
     min-height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
     padding: 8rem 1.5rem 4rem;
 }

 header {
     background: #0c0c0c;
     padding: 1.5rem 2rem;
     position: fixed;
     top: 0;
     width: 100%;
     z-index: 1000;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
 }

 nav {
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     max-width: 1200px;
     margin: auto;
 }

 nav h1 {
     font-size: 2rem;
     color: #00c9ff;

 }

 nav ul {
     display: flex;
     gap: 2rem;
     list-style: none;
 }

 nav a {
     color: #fff;
     text-decoration: none;
     font-weight: bold;
     font-size: 1.1rem;
     position: relative;
     padding: 0.5rem 0;
 }

 nav a::after {
     content: "";
     position: absolute;
     width: 0%;
     height: 2px;
     left: 0;
     bottom: -5px;
     background: #00c9ff;
     transition: 0.3s ease-in-out;
 }

 nav a:hover::after {
     width: 100%;
 }

 .hero {
     background: linear-gradient(-45deg, #00c9ff, #92fe9d, #ff8c94, #ffb347);
     background-size: 400% 400%;
     animation: gradientBG 15s ease infinite;
     text-align: center;
 }

 @keyframes gradientBG {
     0% {
         background-position: 0% 50%;
     }

     50% {
         background-position: 100% 50%;
     }

     100% {
         background-position: 0% 50%;
     }
 }

 .hero h2 {
     font-size: 4rem;
     color: #fff;
 }

 .hero p {
     font-size: 1.8rem;
     margin-top: 1rem;
 }

 h2 {
     text-align: center;
     font-size: 2.5rem;
     margin-bottom: 2rem;
 }

 .skills-list {
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     gap: 2rem;

 }

 .skills-list img {
     width: 150px;
     height: 150px;
     border-radius: 12px;
     background: white;
     padding: 0.5rem;
     transition: transform 0.4s, box-shadow 0.4s;
 }

 .skills-list img:hover {
     transform: scale(1.3) rotate(12deg);
     box-shadow: 0 0 20px #00c9ff;
 }

 .about-card {
     max-width: 600px;
     margin: 3rem auto;
     padding: 2rem;
     border-radius: 20px;
     background: linear-gradient(to right, #9333ea, #3b82f6, #06b6d4);
     color: white;
     text-align: center;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
     font-family: 'Segoe UI', sans-serif;
 }

 .about-card h2 {
     font-size: 1.8rem;
     margin-bottom: 1.5rem;
     font-weight: bold;

 }

 .about-list {
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     gap: 2rem;
 }

 .about-list img {
     width: 150px;
     height: 150px;
     border-radius: 12px;
     background: white;
     padding: 0.5rem;
     transition: transform 0.4s, box-shadow 0.4s;
 }

 .about-list img:hover {
     transform: scale(1.3) rotate(12deg);
     box-shadow: 0 0 20px #00c9ff;
 }

 .about-card {
     max-width: 600px;
     margin: 3rem auto;
     padding: 2rem;
     border-radius: 20px;
     background: linear-gradient(-45deg, #ff6ec4, #7873f5, #4ade80, #06b6d4);
     background-size: 300% 300%;
     animation: gradientBG 6s ease infinite;
     color: white;
     text-align: center;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
     font-family: 'Segoe UI', sans-serif;
     transition: background 0.5s ease;
 }

 @keyframes gradientBG {
     0% {
         background-position: 0% 50%;
     }

     50% {
         background-position: 100% 50%;
     }

     100% {
         background-position: 0% 50%;
     }
 }




 .projects {
     display: flex;
     flex-wrap: wrap;
     gap: 2rem;
     justify-content: center;
 }

 .project-card {
     flex: 1 1 300px;
     max-width: 350px;
     background: linear-gradient(to bottom right, #1e3a8a, #9333ea);
     padding: 2rem;
     border-radius: 15px;
     color: white;
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .project-card:hover {
     transform: scale(1.05);
     box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
 }

 .project-card h3 {
     font-size: 1.5rem;
     margin-bottom: 1rem;
 }

 .project-card a {
     display: inline-block;
     margin-top: 1rem;
     padding: 0.6rem 1.2rem;
     background: #00c9ff;
     color: #000;
     font-weight: bold;
     text-decoration: none;
     border-radius: 5px;
     transition: background 0.3s;
 }

 .project-card a:hover {
     background: #0077cc;
     color: #fff;
 }

 #contact {
     background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)),
         url('vid.gif');
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
 }

 .contact1 {
     position: relative;
     top: 100px;
 }

 .contact-form {
     max-width: 600px;
     margin: auto;
     background: #1e293b;
     padding: 2rem;
     border-radius: 12px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);

 }

 .contact-form input,
 .contact-form textarea {
     width: 100%;
     padding: 1rem;
     border: none;
     border-radius: 8px;
     margin-bottom: 1rem;
     font-size: 1rem;
 }

 .contact-form button {
     width: 100%;
     padding: 1rem;
     border: none;
     background: #00c9ff;
     font-weight: bold;
     border-radius: 8px;
     cursor: pointer;
     transition: 0.3s;
 }

 .contact-form button:hover {
     background: #0077cc;
     color: #fff;
 }

 .container {
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     gap: 2rem;

 }

 .container img {
     width: 70px;
     height: 70px;
     border-radius: 12px;
     background: white;
     padding: 0.5rem;
     transition: transform 0.4s, box-shadow 0.4s;
 }

 .container img:hover {
     transform: scale(1.3) rotate(12deg);
     box-shadow: 0 0 20px #00c9ff;
 }

 footer {
     text-align: center;
     padding: 2rem;
     background: #0c0c0c;
     font-size: 1rem;
     color: #aaa;
 }