@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #000000, #0a0a0a);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    animation: fadeIn 1.5s ease-in;
    color: white;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#header-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    opacity: 0.5;
}

#header {
    text-align: center;
    font-size: clamp(2rem, 6vw, 5rem);
    text-shadow: 0 0 10px cyan, 0 0 20px cyan;
    padding: 10px 0;
    text-align: center;
}

#div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 40px;
    flex-wrap: wrap;
}

#profile-image, #profile-image2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0,255,255,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#profile-image:hover, #profile-image2:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px cyan;
}

/* Glassmorphism card for description */
#iinddiv {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,255,255,0.3);
    max-width: 600px;
    text-align: center;
}

a {
    text-decoration: none;
    position: relative;
    color: lightblue;
}

a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: cyan;
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #div {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #profile-image, #profile-image2 {
        width: 200px;
        height: 200px;
    }
}
#header-container2{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 40px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,255,255,0.3);
    width: 1570px;
    margin: 0px;
    height: 170px;
    
}
#facebook-icon, #npm-icon{
    width: 50px;
    height: 50px;
    margin-top: 0px;
    align-items: left;
    margin: 0px;
    border: 5px solid cyan;
    border-radius: 20px;
}
#psonu{
    text-align: right;
    border: 2px solid cyan;
    padding: 2px;
    padding-right: 30px;
    text-align: center;
    border-radius: 40px;
    margin-bottom: 30px;
    height: 120px;
    margin-top: 0px;
    padding-top: 0px;
    padding-bottom: 10px;
    margin-left: 220px;
    
}
#sub{
    font-size: 30px;
}
#header-container2 p {
   width: 100%;
   text-align: center;
   
  
}
#header-container1 {
    display: flex;
    justify-content: row;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,255,255,0.3);
    height: 180px;
}
#fbiframe{
    border: 5px solid rgb(11, 202, 161);
    margin-left: 50px;
    margin-right: 0px;
    color: white;
}
#NPMiframe{
    border: 5px solid blue;
    height:660px ;
    margin-right: 1500px;
    
    
    
}
#sonuw{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    height: 660px;
    border: 5px solid cyan;
}
#fbbtn{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,255,255,0.3);
    color: white;
    border-radius: 50%;
    margin-right: 1320px;
    
}
/* ====== Mobile View (Up to 768px) ====== */
@media (max-width: 768px) {

  body {
    padding: 10px;
  }

  /* Header ka layout column me le aao */
  #header-container1 {
    flex-direction: column;
    height: auto;
    gap: 10px;
    padding: 10px;
  }

  #header-container2 {
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 15px;
    text-align: center;
  }

  #psonu {
    margin: 0;
    padding: 5px 15px;
    height: auto;
    font-size: 1.2rem;
  }

  #sub {
    font-size: 1rem;
  }

  /* Social icons smaller */
  #facebook-icon, 
  #npm-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  /* Main content stacked */
  #div {
    flex-direction: column;
    padding: 20px 10px;
    gap: 20px;
  }

  #profile-image, 
  #profile-image2 {
    width: 150px;
    height: 150px;
  }

  #iinddiv {
    padding: 15px;
    font-size: 0.9rem;
    max-width: 100%;
  }

  /* Achievements section stacked */
  #sonuw {
    flex-direction: column;
    gap: 20px;
    height: auto;
    padding: 10px;
  }

  #fbiframe, 
  #NPMiframe {
    width: 100%;
    margin: 0;
    height: auto;
  }

  iframe {
    width: 100%;
    height: 400px;
  }

  #fbbtn {
    margin: 0;
    font-size: 1.2rem;
    padding: 10px;
  }
    *{
        scroll-margin-right:none,
    }
    #h1{
        color:red,
    }
}


