@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box ;
    font-family: 'Poppins',sans-serif;
}

.Portfolio-container{
    min-height: 100vh;
    width: 100%;
    display: flex;

}
.navlist{
    display: flex;
    gap: 3.5rem;

    height: 15vh;
    width: 100%;
    justify-content: center;
    align-items: center ;
    position: fixed;
}

.navlist li{
    list-style: none;
}
.navlist li a{
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    color:#fff ;
    position: relative;
}


.left-container, .right-container{
    height:100vh;
    display: flex;
    align-items: center;
}
.left-container {
    background:#262525  ;
    width:70% ;
    padding-left:3rem ;
}
.right-container{ 
    background: linear-gradient(-45deg,#3877FF,#262525 70% );
    width:30% ;
} 
.icons .fa-brands{
    color: #bbb;
    font-size: 1.7rem;
}
.icons{
    display: flex;   
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    gap: 3rem;
}
 
.content{
  /* margin-left:4rem ; */
} 
.Portfolio-container .content{
  margin-left:4rem ;
}
.content .intro{
    font-size: 1.5rem;
    color: #fff;
}
.content .intro span{
    color:#5DB9EE  ;  
}
.content h1{
    font-size: 4rem;
    color: #5DB9EE ;
     
}
.content .detail{
    font-size: 1.1rem;
    color: #fff;
    margin:1.1rem 0 3rem 0 ;
    line-height:1.8 rem ;
}
.Portfolio-container .content .detail{
    max-width:  38rem; 
}
.btn-container button{
    border: .1rem solid #5DB9EE;
    font-size: 1.1rem;
    padding: .8rem 1.5rem; 
    border-radius: .5rem;
    cursor: pointer;
    transition:.5s ease ;
}
button:nth-child(1){
    background: #5DB9EE;
    color: #262525; 
}
button:nth-child(2){
     background:transparent ;
     color: #5DB9EE;
     margin-left: 2rem;  
}
button:nth-child(1):hover{
    background: transparent ;
    color: #5DB9EE;
}
button:nth-child(2):hover{
    background: #5DB9EE ;
    color: #262525 ;
}
.icons .fa-brands:hover {
    cursor: pointer;
    background:linear-gradient(#fff,#3877FF) ;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.design .circle{
    aspect-ratio: 1;
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 70%;
    transform:translate(-50%,-50%) ;

}
.circle:nth-child(1){
     background:linear-gradient(90deg,transparent 50% ,#262525 50%) ;
     width: 38rem;
}
.circle:nth-child(2){
     width: 30rem ;
     background-image:url( "image.jpg") ;
     background-size: 100%;
     background-repeat: no-repeat;
     border: 1rem solid white;
     box-shadow: 0 0 1rem #ffff,
     inset 0 0 1rem #fff,
     0 0 2rem #3877FF,
     inset 0 0 2rem #3877FF,
     0 0 4rem #3877FF,
     inset 0 0 4rem #3877FF;
        
} 
.navlist li a::after,.navlist .active::after {
    content: "";
    position: absolute;
    background: #fff;
    width: 100%;
    height:.1rem;
    left: 0;
    bottom: -5px;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform .5s;
}
.navlist li a:hover::after, .navlist .active::after{
    transform: scaleX(1);
    transform-origin: bottom left;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.skill-btn {
  background-color: 	#3cb1e3;
  color: black;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid rgb(31, 84, 207);
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.skill-btn:hover {
  background-color: black;
  color: white;
}

.skill-btn.clicked {
  animation: pop 0.2s ease;
}

/* About page */
.container{
  padding: 20px 15% 50px;
  background:#262525;
}

.navlist-common{
  position: relative;
  background:#262525
}

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.btn-container h3{
    color: #fff;
    padding-left: 1%;
}
.content .abt{
    font-size: 50px;
    color: #5DB9EE;
}
.content .abt span{
    font-size: 50px;
    color: #fff;
}

.cert-card {
  background: #1f1f1f;
  border: 2px solid #5DB9EE;
  border-radius: 15px;
  padding: 20px;
  margin-top: 30px;
  box-shadow: 0 0 15px rgba(93, 185, 238, 0.3);
  color: white;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.cert-card h3 {
  color: #5DB9EE;
  margin-bottom: 15px;
}

.certificate-img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  border: 3px solid #5DB9EE;
  margin-top: 10px;
  box-shadow: 0 0 20px rgba(93, 185, 238, 0.2);
}

.caption {
  margin-top: 10px;
  font-size: 14px;
  color: #ccc;
}

.edu-details {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.6;
}

.edu-details h4 {
  font-size: 20px;
  color: #5DB9EE;
  margin-bottom: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.certificate-img.clicked {
  animation: pop 0.3s ease;
}

.footer {
  background-color: #3877FF;
  color: black;
  text-align: center;
  padding: 20px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-content p {
  margin: 5px 0;
  font-size: 14px;
}

.social-icons a {
  margin: 0 10px;
  color: black;
  text-decoration: none;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}
.blog-header {
  
  padding: 70px 20px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.1);
  margin-bottom: 40px;
  transition: all 0.3s ease-in-out;
}

.blog-header:hover {
  box-shadow: 0 12px 30px #3877FF;
  transform: translateY(-5px);
}

.blog-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  color:#3877FF; /* deep lavender */
  margin-bottom: 10px;
}

.blog-header p {
  font-size: 1.3rem;
  color: #f1ecec;
  font-style: italic;
}

.blog-container {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.blog-card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 600px;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: scale(1.02);
}

.blog-card img {
  width: 100%;
  height: auto;
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h2 {
  margin-top: 0;
  color: #111;
}

.read-more {
  text-decoration: none;
  color: #5DB9EE;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

.contact-section {
  background-color: #3877FF;
  padding: 40px;
  max-width: 500px;
  margin: 50px auto;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  color: #000;
}

.contact-section h2 {
  text-align: center;
  color: #000;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
}

input, textarea {
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

button {
  padding: 12px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

button:hover {
  transform: scale(1.05);
  background-color: #333;
}

#confirmation {
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  display: none;
}

.hidden {
  display: none;
}

.container .contact-header h2 {
  font-size: 32px;
  color:#3877FF;
  margin-bottom: 10px;
  text-align: center;
}

.container .contact-header .des{
  color: #fff;
  text-align: center;
}


@media screen and (max-width: 600px) {
  body{
    background-color:#262525;
    }

    .blog-header{
      margin-top: 80px;
    }

    .container .contact-header h2{
      margin-top: 100px;
    }


  .navlist{
    gap: 2rem;
    position: absolute;
}

.left-container{
  display: block;
      margin-left: auto;
    margin-right: auto;
    padding-left: 0;
}

.right-container{
  display: block;
  width: 0;
}

.icons{
  justify-content: center;
  margin-top: 100px;
  flex-direction: row;
  left: 10%;
}

  .container{
    padding: 20px 5% 20px;
  }
  .design .circle{
    top: 320px;
    left: 50%;
  }

  .circle:nth-child(1){
    width: 350px;
  }

  .circle:nth-child(2){
    width: 300px;
  }
  .header-content h1{
    font-size: 30px;
  }

  .header-content p{
    font-size: medium;
  }

  .Portfolio-container .content{

    width: fit-content;
    margin-top: 380px;
    margin-left: 0;
  }

  .content h1{
    font-size: 50px;
  }

  .content .abt{
    font-size: 35px;
    margin-top: 100px;
  }

  .content .abt span{
    font-size: 35px;
  }

  .content .detail{
    font-size: medium;
    padding-top: 10px;
  }

  .btn-container button{
    font-size: 15px;
  }

  .btn-container{
    padding-bottom: 50px;
  }

  button:nth-child(2){
    margin-left: 0;
  }
}

@media screen and (max-width: 1000px) and (min-width: 600px) {
  .Portfolio-container .content{
    margin-left: 25px;
  }

  .left-container{
    padding-left: 20px;
  }

  .circle:nth-child(1){
    width: 280px;
  }

  .circle:nth-child(2){
    width: 250px;
  }
  
  .btn-container button{
    font-size: 15px;
  }

  .content .intro{
    font-size: medium;
  }

  .content h1{
    font-size: 40px;
  }

.Portfolio-container .content .detail{
  font-size: small;
  width: 60%;
}

}

.projects {
  margin-top: 40px;
}

.projects h3 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #fff; 
}

.project-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: #1e1e1e; 
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  align-items: center;
}

.project-img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.project-info {
  flex: 1;
  color: #ddd;
}

.project-info h4 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #00bcd4;
}

.project-info p {
  color: #bbb;
  line-height: 1.6;
}

.project-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: #00bcd4;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
  font-size: 14px;
}

.project-btn:hover {
  background: #0097a7;
}


@media (max-width: 768px) {
  .project-card {
    flex-direction: column;
    text-align: center;
  }
  .project-img {
    margin: 0 auto;
  }
}


.project-card img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  animation: spinTilt 6s linear infinite;
  transform-style: preserve-3d;
}

@keyframes spinTilt {
  0% {
    transform: rotateY(0deg) rotateX(0deg) scale(1);
  }
  25% {
    transform: rotateY(15deg) rotateX(5deg) scale(1.05);
  }
  50% {
    transform: rotateY(0deg) rotateX(0deg) scale(1);
  }
  75% {
    transform: rotateY(-15deg) rotateX(-5deg) scale(1.05);
  }
  100% {
    transform: rotateY(0deg) rotateX(0deg) scale(1);
  }
}

