*{
    margin:0;
    padding:0;
    font-family: 'poppins',sans-serif;
    box-sizing:border-box;
}
html{
    scroll-behavior: smooth;
}

body{
    background-color: #080808;
    color:#ffff;
    cursor: url('images/cursor2.png') 4 4 ,auto;
}

 #header{
    width: 100%;
    height:100vh;
} 
.container{
    padding:10px 10%;
  }

.container p{
    font-size:20px;
    font-weight: bolder;
  }
#image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
  }
  
  /* Initial state of images */
 #image-container img {
    position: absolute;
    opacity: 0;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transform: scale(0.3); /* Start small */
    transition: opacity 0.4s ease, transform 0.4s ease; /* Smooth fade and zoom */
  }
  
  /* Make the image visible and grow */
  #image-container img.visible {
    opacity: 1;
    transform: scale(1); /* Smoothly grow to full size */
  }
.nav-div{
    padding:10px 10%;
    z-index:2;
    position:sticky;
    width:100%;
    top:0;
    background: linear-gradient(to bottom, black 40%, transparent 100%);
}
nav{
    display:flex;
    align-items: center;
    justify-content:space-between;
    flex-wrap:wrap;   
     
  }
  nav ul li{
    display: inline-block;
    list-style: none;
    margin:8px 16px;
    justify-content: center;
  }
  .logo{
    width:50px;
  }

  nav ul li a{
    color:#fff;
    text-decoration: none;
    font-size: 18px;
    position:relative;
    cursor: url('images/point2.png') 4 4 ,auto;
  }

  nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #bf0038;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: width 0.5s ease;
}
#sidemenu2 {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
}

#sidemenu2.visible {
    opacity: 1;
    visibility: visible;
}

nav ul li a:hover::after {
    width: 100%;
}

.content {
    margin-top: 60px;
    padding: 20px;
  }

.header-text{
    font-size:30px; 
    z-index:1;
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%); 
}
#dynamicText{
       color:#960018;
       font-size: 24px;
        border-radius: 10px; 
        margin-bottom: 0;
        width: 260px; 
        height: 50px; 
        font-weight:800;
        display: flex;
        overflow: hidden; /* Prevent overflow */
        white-space: nowrap; /* Prevent wrapping */
        box-sizing: border-box; /* Ensure padding fits */
}

.header-text h1{
    font-size: 4rem;
    margin-top:0px;
}

.header-text h1 span{
   color:#960018;
   cursor: url('images/cursor.png') 4 4 ,auto;
}

.slide-up {
    animation: slide-up 1.5s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.heading > div:nth-child(2) > p.slide-up {
    animation-delay: 0.1s;
}

.heading > div:nth-child(3) > p.slide-up {
    animation-delay: 0.2s; 
}

@keyframes slide-up {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* -----------about--------- */
#about{
    padding:80px 0;
    color:#ababab
}

.about-col-2 h1{
    color:#e7e3e3
}
.row{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
}

.about-col-1{
   flex-basis :35%;
}

.about-col-1 img{
    width:100%;
    border-radius:15px;
}

.about-col-2{
   flex-basis:60%; 
}

.sub-title{
    font-size: 60px;
    font-weight:600;
}

.about-col-2 p{
    margin-top:10px;
    text-align: justify;
    font-weight: 500;
    font-size: 17px;
    color:#e7e3e3d2
}

.tab-titles{
   display:flex;
   margin:46px 0 20px; 
}

.tab-links{
    margin-right:50px;
    font-size:18px;
    font-weight:500;
    cursor: url('images/point2.png') 4 4 ,auto;
    position:relative;    
}

.tab-links::after{
    content:'';
    width:0;
    height:3px;
    background:#bf0038;
    position:absolute;
    left:0;
    bottom:-8px;
    transition:width 0.5s ease;
}

.tab-links.active-link::after{
    width:50%;
}

.tab-contents ul li{
    list-style:none;
    margin:10px 0;    
}

.tab-contents ul li span{
    color:#bf0038;
    font-size:16px;
    cursor: url('images/cursor.png') 4 4 ,auto;
}

.tab-contents{
    display:none;
}

.tab-contents.active-tab{
    display:block;
}

/* -----------projects--------- */
#projects{
    padding:30px 0;
}

.projects-list{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px ,1fr));
    grid-gap:40px;
    margin-top:50px;
}

.projects-list div{
    background:#262626;
    padding:40px;
    font-size:13px;
    font-weight:300;
    border-radius:10px;
    transition: background-color 0.5s, transform 0.5s;

}
.projects-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}

.projects-list div h2{
    font-size: 24px;
    font-weight:500;
    margin-bottom:15px;
    text-align: center;
}

.projects-list div p{
    font-size: 16px;
    margin-bottom:12px;
    text-align: justify;
}

.projects-list div a{
    text-decoration: underline;
    color:#fff;
    font-size:14px;
    margin-top:16px;
    display:inline-block;
}

.projects-list div:hover{
    background: #bf0038;
    transform:translateY(-10px);
    cursor: url('images/cursor.png') 4 4 ,auto;
}

/*-------------Interships And Certifications----------- */
#internship{
    padding:30px 0;
}

.work-list{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px ,1fr));
    grid-gap:40px;
    margin-top:50px;   
}

.work{   
    overflow:hidden;
    border-radius:10px;
    display:flex;
}

.layer{
    flex:1;
    width:100%;
    height:100%;
    background:linear-gradient(rgba(0,0,0,0.4),#bf0038);
    border-radius:10px;
    overflow:hidden;
    display:flex;
    flex-direction: column;
    padding:20px 40px;
    text-align:center;
    /*font-size:14px;*/
    cursor: url('images/cursor.png') 4 4 ,auto; 
}

.layer h3{
    font-weight: 500;
    margin: 12px 0;
    font-size: 24px;
}

.layer h4{
    font-style: italic;
    font-size: 16px;
    margin: 8px,0;
}

.layer p{
    font-size: 16px;
    text-align: justify;
    font-weight: 400;
    flex-grow:1;
    margin:15px 0;
}

.layer a{
    margin-top: auto;
    align-self:center;
    color:#bf0038;
    text-decoration: none;
    font-size: 18px;
    line-height: 40px;
    background: #fff;
    width:40px;
    height:40px;
    border-radius: 50%;
    text-align: center;
    cursor: url('images/point.png') 4 4 ,auto;
}
/*-------------Skills----------- */
#skills{
    padding:30px 0;
}

.skills__list {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(130px ,1fr));
    grid-gap:40px;
    margin-top:50px; 
  }
  
  .skills__list-item {
    display: inline-block;
    padding: 10px 12px;
    background-color: #262626; 
    color: white; 
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    box-shadow: 0 2px 4px #bf0038;
    text-align: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.2s, color 0.2s;
  }
  
  /* .skills__list-item:hover {
    background-color: #bf0038; 
    transform: scale(1.05); 
    box-shadow: 0 4px 4px #262626;
    font-weight:540;
  }
   */
  .btn--plain {
    text-decoration: none;
  }
  
  @media (max-width: 768px) {
    .skills__list-item {
      font-size: 12px;
      padding: 8px 12px;
    }
  }

/*-------------Contact----------- */
   #contacts{
    background: linear-gradient(to bottom, #080808 0%, #1a1a1a 80%, #960018 100%);
    /* background: linear-gradient(to bottom, #080808 0%, #1a1a1a 100%);*/
   } 
  .contact-left{
    flex-basis: 55%;
  }

  .contact-right{
    flex-basis:40%;
  }

  .social-icons{
    margin-top:30px;
    display: flex; 
    flex-direction: column; 
    align-items: flex-start;
    gap:4px;
  }
  
  .social-icons a{
    text-decoration: none;
    font-size:24px;
    margin-bottom: 12px;
    color:#bf0038;
    display:inline-block;
    transition:transform 0.5s;
  }

  .social-icons a:hover{
    color:#ff004f;
    transform:translateY(-5px) scale(1.1);
    cursor: url('images/point3.png') 4 4 ,auto;
  }

  .resume {
    cursor: url('images/point3.png') 4 4 ,auto;
    position: relative;
    top: 60%;
    right:-54%;
    display: inline-block;
    border-radius: 10px;
    padding: 15px 20px;
    background-color: transparent;
    text-align: center;
    justify-content: center;
    box-shadow: 0 -3px 4px #bf0038, 0 3px 4px #bf0038;

  }
  
  .resume a {
    text-decoration: none;
    font-size: 18px;
    width:180px;
    display: inline-block;
    color: #bf0038;
    font-weight: 600; 
    cursor: url('images/point3.png') 4 4 ,auto;
  }
  
  .resume:hover {
    font-weight: 700; 
  }

  .resume {
    animation: float 3s infinite;
  }
  
  @keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
  }
  
  .copyright {
    width:100%;
    text-align:center;
    padding: 10px 0;
    opacity: 0.6;
    font-weight: 500;
    margin-top:18px;
    cursor: url('images/cursor.png') 4 4 ,auto;
  }
/* -------------This will direct to header container-----------
.copyright .arrow{
    position:absolute;
    right:10px;
    width:40px;
    height:40px;
    margin-bottom: -2%;
} */
/*-------------scrollable container----------- */
 ::-webkit-scrollbar {
    width: 12px;
    background-color: #000000;
}

::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #666;
}

@supports (scrollbar-color: auto) {
    html {
        scrollbar-width:auto;
        scrollbar-color: #262626 #080808;
    }
}


/*-------------css for small screens----------- */ 
.header-text{   
    top:60%;
   
}
  nav .fa-solid{
    display:none;
  }
  @media only screen and (max-width:600px){
    .header-text{
        font-size:16px;
    }
    .header-text h1{
        font-size: 30px;
    }
    nav .fa-solid{
        display:block;
        font-size: 25px;
    }
    nav ul{
        background:linear-gradient(rgba(0,0,0,1),#bf0038);
        position:fixed;
        top:0;
        right:-150px;
        width:140px;
        height:50vh;
        padding-top:50px;
        transition:right 0.5s;
    } 
    nav ul li{
        display:block;
        margin:24px;
    }
    nav ul .fa-solid{
       position:absolute;
       top:25px;
       left:25px;
       cursor:pointer;
    }     
    .sub-title{
        font-size:40px;
    }
    .about-col-1,.about-col-2{
        flex-basis:100%;
    }
    .about-col-1{
        margin-bottom: 30px;
    }
    .about-col-2{
        font-size: 12px;
    }
    .work-list{
        grid-template-columns:repeat(auto-fit,minmax(300px ,1fr));
    }
    .skills__list {
        grid-template-columns:repeat(auto-fit,minmax(100px ,1fr));
        margin-top:20px; 
      }
      
      .skills__list-item {
        padding: 8px 10px;
        font-size: 12px;     
      }
    .contact-left,.contact-right{
        flex-basis: 100%;
    }
    .resume{
        left:0%;
        top:20px;
        margin-bottom:30px;
    }
    .copyright{
       font-size:14px; 
    }
    .social-icons a{
        font-size: 22px;
    }


  }
  