/* Global Styles */
html {
    scroll-behavior: smooth;
}

body{
    background-color: black !important;
    margin:0px !important;
    overflow: visible;
}
/*----------------------------------------------*/
.loader-wrapper {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    display:flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  .loader {
    display: inline-block;
    width: 50px;
    height: 50px;
    position: relative;
    border: 3px solid #09ff00;
    animation: loader 2s infinite ease;
  }
  
  .loader-inner {
    /* vertical-align: top: */
    text-align: center;
    margin-top:5px !important;
    display: block;
    width: 100%;
    background: -webkit-linear-gradient(#eee, #09ff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 25px;
    font-weight: 500;
    /* color: #FFA500; */
    /* animation: loader-inner 2s infinite ease-in; */
  }
  
  @keyframes loader{
    0% {
      transform: rotate(0deg);
    }
    
    25% {
      transform: rotate(180deg);
    }
    
    50% {
      transform: rotate(180deg);
    }
    
    75% {
      transform: rotate(360deg);
    }
    
    100% {
      transform: rotate(360deg);
    }
  }
  
  /*@keyframes loader-inner {
    0% {
      height: 0%;
    }
    
    25% {
      height: 0%;
    }
    
    50% {
      height: 100%;
    }
    
    75% {
      height: 100%;
    }
    
    100% {
      height: 0%;
    }
  } */
/*------------------------------------------------*/
.nav-bar{
    background-color: #181818;
    width: 100%;
    height: 60px;
    box-shadow: 0 2px 2px 2px #181818;
}
.nav-bar p{
    font-size: 24px;
    font-weight: bold;
    margin: 15px 0px 16px 20px;
    float: left;
    background: -webkit-linear-gradient(#eee, #26ff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-bar ul{
    list-style-type: none;
    float:right;
    padding: 0px 25px 0px 32px;
    margin-top: 19px;
}
.nav-bar li{
    display: inline;
}
.nav-bar a:not(.active){
    text-decoration: none;
    color: white;
    padding:18px 7px 18px 7px;
}
.nav-bar a:hover:not(.active,.icon){
    color:#00ff11;
    border-bottom: 2px solid #00ff0d;
    font-weight:500;
}
.active {
    text-decoration: none;
    color: dodgerblue;
    padding:8px 10px 8px 10px;
    border: 2px solid dodgerblue;
    margin-right: 3px;
    border-radius: 4px;
    font-weight: 500;
}
.active:hover{
    background-color: dodgerblue;
    color: white;
    font-weight: 500;
}
.icon{
    display: none;
}
@media screen and (max-width:600px){
    #home{
        height: 75vh !important;
    }
    .nav-bar li{
        display: none;
    }
    .nav-bar ul{
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .icon{
        display:block; 
        float: right;
        margin-right: 20px;
        font-size: 24px;
        padding-top: 15px;
        background: -webkit-linear-gradient(#eee, #2bff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    }
    
}
@media screen and (max-width:600px){
    .nav-bar.responsive{
        position: relative !important;
        height: 100vh;
    }
    .nav-bar.responsive .icon{
        position: absolute;
        top: 0;
        right: 0;
    }
    .nav-bar.responsive li{
        float: none !important;
        display: block !important;
        text-align: center !important;
    }
    .nav-bar.responsive ul{
        display: block;
        margin-top: 90px !important;
        list-style-type: none;
        width: 100%;
    }
    .nav-bar.responsive .nav-items{
        display: block;
        text-align: center !important;
    }
}
.about-img{
    width: 110px;
    height: 110px;
    border-radius: 50%;
   display: block;
   margin-right: auto;
   margin-left: auto;
   margin-top:20px;
}
.my-intro{
    text-align: center;
    color:white;
    text-decoration: none;
}
#home{
    margin:none;
    height: 100vh;;
}
#about{
    padding:60px 80px 0px 80px;
    height: 100vh;
}
.heading1{
    text-decoration: underline;
    text-decoration-color: #1aff00;
    color:white;
    text-align: center;
}
.flex-container{
    display: flex;
    margin-top: 20px;
    margin-right: auto;
    margin-left: auto;
}
@media screen and (max-width:600px){
    .flex-container{
        display: block;
    }
    .about-img2{
        display: block;
        margin-left: auto !important;
        margin-right: auto !important;
        height: 250px;
        width: 200px;
    }
    .about-para{
        color: white;
        font-size: 18px;
        margin-right: 0px;
        margin-left: 0px;
    }
    #about{
        height: 850px;
        padding-left: 5px;
        padding-right: 5px;
    }
    .skill-name{
        color: white;
        margin-left: 0px !important;
    }
    #contact{
        height:100vh;
    }
}
/*------------------------------------------------------*/
/*-----------------------------------------------------*/
@media (max-width:700px){
    .row{
        display: block !important;
    }
    #resume{
        height: 1200px !important;
    }
    .card{
        height: auto !important;
        width:auto !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
}
.about-img2{
    height: 250px;
    width: 200px;
    margin-left: 30px;
    margin-right: 15px;
    border-radius: 5px;
}
.about-para{
    color: white;
    font-size: 18px;
    margin: 40px 15px 0px 15px;
    text-align:center;
}
#skills{
    height: 100vh;
    padding-top: 40px;
    margin-bottom: 20px;
}
#skills h4{
    color: aliceblue;
    text-align: center;
}
.container {
    background-color: rgb(192, 192, 192);
    width: 80%;
    border-radius: 15px;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.skill {
    background-color: dodgerblue;
    color: white;
    text-align: right;
    font-size: 15px;
    border-radius: 15px;
    height: 20px;
    padding-right: 8px;
}
.skill-name{
    color: white;
    margin:10px 0px 10px 66px;
}
.html {
    width: 85%;
}
.css {
    width: 70%;
}
.js{
    width:90%;
}
.sql{
    width:95%;
}
.java{
    width:90%;
}
.c{
   width: 85%;
}
.python{
    width:90%
}
.php{
    width:80%
}
.dsa{
    width: 60%;
}
#resume{
    min-height: 180vh;
    margin-bottom: 75px;
}
#contact{
    min-height: 50vh;
    overflow: visible !important;
}
.title1{
    color: #0dff00;
}
.para1{
    color: aliceblue;
    padding-left: 40px;
}
.r-summery{
    border-left: 1px solid #09ff00;
}
.timeline-heading{
    border-left: 2px solid #22ff00;
    padding-left: 20px;
}
.timeline-heading h3,p{
    color: aliceblue;
}
.heading2{
    color: #00ff22;
}
.timeline-heading div:before{
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: black;
    border:3px solid #33ff00;
    position: absolute;
    left: 20px;
}
.timeline-heading2{
    border-left: 2px solid #44ff00;
    padding-left: 20px;
}
.timeline-heading2 h3,p{
    color: aliceblue;
}
.timeline-heading2 .work-info:before{
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: black;
    border:3px solid #26ff00;
    position: absolute;
    transform: translate(-29px,0px);
}
.card{
    border: 1px solid white;
    background-color: aliceblue;
    display: block;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    height: 250px;
    width: 500px;
    opacity:0.8;
   padding:70px 20px 70px 20px;
}

/* ============================================ */
/* PREMIUM PROJECTS SECTION - RECRUITER OPTIMIZED */
/* ============================================ */

#projects {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Animated background particles effect */
#projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 255, 13, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 255, 13, 0.03) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

#projects .heading1 {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #00ff0d 0%, #00ff88 50%, #00ff0d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 13, 0.3);
    margin-bottom: 20px;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        filter: brightness(1);
        transform: scale(1);
    }
    50% { 
        filter: brightness(1.2);
        transform: scale(1.02);
    }
}

#projects h4 {
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 50px;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin: 60px auto;
    max-width: 1400px;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

/* Premium Glass-morphism Project Card */
.project-card {
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 255, 13, 0.1),
        inset 0 0 20px rgba(0, 255, 13, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 255, 13, 0.15);
    position: relative;
    overflow: hidden;
    animation: cardShine 0.6s ease-out forwards;
}

/* Animated gradient border on hover */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #00ff0d, #00ff88, #00ff0d);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover::before {
    opacity: 1;
    animation: rotateBorder 3s linear infinite;
}

@keyframes rotateBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glow effect on hover */
.project-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 13, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.project-card:hover::after {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 255, 13, 0.2),
        0 0 0 1px rgba(0, 255, 13, 0.4),
        0 0 40px rgba(0, 255, 13, 0.15),
        inset 0 0 30px rgba(0, 255, 13, 0.1);
    border-color: rgba(0, 255, 13, 0.6);
}

/* Premium Project Title with Emoji */
.project-title {
    color: #00ff0d;
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 20px rgba(0, 255, 13, 0.4);
    transition: all 0.3s ease;
}

.project-card:hover .project-title {
    transform: translateX(5px);
    text-shadow: 0 0 30px rgba(0, 255, 13, 0.6);
    letter-spacing: 1px;
}

/* Underline animation */
.project-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ff0d, #00ff88);
    transition: width 0.4s ease;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 255, 13, 0.5);
}

.project-card:hover .project-title::after {
    width: 100%;
}

/* Professional Description */
.project-description {
    color: #d0d0d0;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
    font-size: 15px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.project-card:hover .project-description {
    color: #e8e8e8;
}

/* Premium Tech Badges */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.tech-badge {
    background: linear-gradient(135deg, rgba(0, 255, 13, 0.15), rgba(0, 255, 13, 0.05));
    color: #00ff0d;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 13, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tech-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 13, 0.3), transparent);
    transition: left 0.5s ease;
}

.tech-badge:hover::before {
    left: 100%;
}

.tech-badge:hover {
    background: linear-gradient(135deg, rgba(0, 255, 13, 0.3), rgba(0, 255, 13, 0.15));
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 255, 13, 0.3);
    border-color: rgba(0, 255, 13, 0.6);
}

/* Premium Action Buttons */
.project-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-project {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border-width: 2px;
}

/* Code Button - Premium Blue */
.btn-outline-primary.btn-project {
    color: #4da3ff;
    border-color: #4da3ff;
    background: rgba(77, 163, 255, 0.05);
}

.btn-outline-primary.btn-project::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(77, 163, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-outline-primary.btn-project:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline-primary.btn-project:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #4da3ff, #2d7dd2);
    border-color: #4da3ff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(77, 163, 255, 0.4);
}

/* Demo Button - Premium Green */
.btn-outline-success.btn-project {
    color: #00ff0d;
    border-color: #00ff0d;
    background: rgba(0, 255, 13, 0.05);
}

.btn-outline-success.btn-project::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 255, 13, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-outline-success.btn-project:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline-success.btn-project:hover {
    color: #000000;
    background: linear-gradient(135deg, #00ff0d, #00ff88);
    border-color: #00ff0d;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 13, 0.4);
}

.btn-project i {
    margin-right: 10px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Icon pulse animation on hover */
@keyframes iconPulse {
    0%, 100% { transform: scale(1.2) rotate(5deg); }
    50% { transform: scale(1.3) rotate(5deg); }
}

.btn-project:hover i {
    animation: iconPulse 1s ease-in-out infinite;
}

/* View More Projects - Premium Card */
.project-card[style*="dashed"] {
    background: linear-gradient(135deg, rgba(0, 255, 13, 0.05), rgba(0, 255, 13, 0.02));
    border: 2px dashed rgba(0, 255, 13, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    transition: all 0.4s ease;
}

.project-card[style*="dashed"]:hover {
    background: linear-gradient(135deg, rgba(0, 255, 13, 0.1), rgba(0, 255, 13, 0.05));
    border-color: rgba(0, 255, 13, 0.8);
    border-style: solid;
}

/* Responsive Design - Mobile Optimized */
@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 30px;
    }
    
    .project-card {
        padding: 25px;
    }
    
    .project-title {
        font-size: 22px;
    }
    
    #projects {
        min-height: auto;
        padding: 50px 15px;
    }
    
    #projects .heading1 {
        font-size: 36px;
    }
    
    #projects h4 {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    .btn-project {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Tablet Optimized */
@media (min-width: 769px) and (max-width: 1024px) {
    .projects-container {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
    }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
    .projects-container {
        max-width: 1800px;
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Add shine effect on page load */
@keyframes cardShine {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }
.project-card:nth-child(7) { animation-delay: 0.7s; }
.project-card:nth-child(8) { animation-delay: 0.8s; }
.project-card:nth-child(9) { animation-delay: 0.9s; }
.project-card:nth-child(10) { animation-delay: 1.0s; }
.project-card:nth-child(11) { animation-delay: 1.1s; }
.project-card:nth-child(12) { animation-delay: 1.2s; }
.project-card:nth-child(13) { animation-delay: 1.3s; }
.project-card:nth-child(14) { animation-delay: 1.4s; }
.project-card:nth-child(15) { animation-delay: 1.5s; }
