*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body{
    background: linear-gradient(135deg, #0c0f17 0%, #151925 100%); 
    color: #e6e9f0;
    min-height: 100vh;
    overflow-x: hidden;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: rgba(12, 15, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(42, 252, 133, 0.1);
}

.logo{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}
.logo-icon{
    font-size: 1.8rem;
    color: #2afc85;
}
.logo-text {
  background: linear-gradient(90deg, #e6e9f0, #2afc85 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
nav ul{
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a{
    text-decoration: none;
    color: #c2c6d3;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}
nav a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #2afc85;
    transition: width 0.3s ease;
}
nav a:hover{
    color: #2afc85;


}

nav a:hover::after{
    width: 100%;

}

.menu-toggle {
  display: none;
  color: #e6e9f0;
  cursor: pointer;
  font-size: 1.5rem;
}

.hero{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    padding: 120px 40px 60px;
    min-height: 100vh;
}

.content{
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;

}

h1{
    font-size: 3.5rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #e6e9f0, #e6e9f0 0%, #2afc85 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    front-weight: 700;
    text-shadow:  0px 5px 15px rgba(46, 252, 139, 0.3);
}

h2{
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #c2c6d3;
    font-weight: 500;
}

p{
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #c2c6d3;
}

.typing-text{
    position: relative;
    color: #2afc85;
    display: inline-block;
}

.typing-text::after{
    content: "|";
    position: absolute;
    right: -8px;
    animation: blink 0.7s  infinite;
    color: #2afc85;
}

.cta-buttons{
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.8s;

}

.btn{
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    align-items: center;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 10px;
}

.btn-primary{
    background: linear-gradient(90deg, #1ed761 0%, #15c46a 100%);
    color: #0c0f17;
    box-shadow: 0px 5px 15px rgba(30, 215, 97, 0.4);
}

.btn-primary:hover{
    transform: translateY(-3px);
    box-shadow: 0px 8px 20px rgba(30, 215, 97, 0.6);
}

.btn-primary::before{
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition:  0.5s;
}

.btn-primary:hover::before{
    left: 100%;
}

.btn-secondary{
    color: #2afc85;
    border: 2px solid #2afc85;
}

.btn-secondary:hover{
    background-color: rgba(42, 252, 133, 0.1);
    color: #0c0f17;
    transform: translateY(-3px);
}

.social-icons{
    display: flex;
    gap: 20px;
    margin-top: 50px;
    opacity: 1;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 1.1s;
}

.social-icons a{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1f2e 0%, #232838 100%);
    color: #2afc85;
    font-size: 1.3rem;
    transition: all 0.3s ease; 
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;   
}

.social-icons a:hover{
    transform: translateY(-5px);
    color:#151925;
    box-shadow: 0px 8px 20px rgba(30, 215, 97, 0.3);
}

.social-icons a::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;   
    background: linear-gradient(45deg, #1ed761, #2afc85, #15c46a);
    opacity: 0;
    transition:  0.3s ;
    z-index: -1;
}

.social-icons a:hover::before{
    opacity: 1;
    
}

.profile-container{
    position: relative;
    width: 300px;
    height: 300px;

}
.profile-image{
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    object-position: center 30%; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.4);
    border: 4px solid #0c0f17;
    transition: all 0.5s ease;
}  

.profile-image:hover{
    transform: translate(-50%, -50%) scale(1.05);

}

.border-outer{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(transparent, #2afc85, transparent, transparent);
    z-index: 1;
    animation: rotate 4s linear infinite;
}

.border-middle{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 270px;
    height: 270px;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    background: conic-gradient(transparent, #15c46a, transparent, transparent);
    z-index: 2;
    animation: rotate 3s linear infinite reverse;
    filter: blur(3px);
}

.border-inner{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: conic-gradient(transparent, #1ed761, transparent, transparent);
    z-index: 3;
    animation: rotate 2s linear infinite;
    filter: blur(5px);
}

.pulse-ring{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(42, 252, 133, 0.1);
    animation: pulse 3s ease-out infinite;
    z-index: 0;
}

.pulse-ring:nth-child(2){
    animation-delay: 1s;
}
.pulse-ring:nth-child(3){
    animation-delay: 2s;
}
.border-container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: 0;
}

.border-container ::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: linear-gradient(135deg, #151925 0%, #1a1f2e 100%);
    z-index: 5;
    transform: translate(-50%, -50%);
}

@keyframes rotate{
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotate-reverse{
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    
    }
}

@keyframes pulse{
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

@keyframes fadeInUp{
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes blink{
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@media (max-width: 992px){
    .hero{
        flex-direction: column-reverse;
        padding: 100px 20px 40px;
        gap: 60px;
        text-align: center;
    }
    .cta-buttons{
        justify-content: center;
    }
    .social-icons{
        justify-content: center;
    }
   
}

@media (max-width: 768px){
  header{
    padding: 15px 20px;
  }

  nav ul{
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(12, 15, 23, 0.95);
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    transition: left 0.3s ease;
  }
  nav ul.active{
    left: 0;
  }
  nav a{
    font-size: 1.2rem;
    margin: 15px 0;
  }
    .menu-toggle{
        display: block;
    }
    
    h1{
        font-size: 2.5rem;
    
    }
h2 {
    font-size: 1.5rem;
}
p{
    font-size: 1.1rem;
}

.btn{
    padding: 12px 30px;
    font-size: 1rem;
}

.profile-container{
    width: 250px;
    height: 250px;
}

.profile-image{
    width: 200px;
    height: 200px;
}

.border-outer{
    width: 250px;
    height: 250px;  
}

.border-middle{
    width: 225px;
    height: 225px;
}   
.border-inner{
    width: 200px;
    height: 200px;
}
.border-container ::after{
    width: 210px;
    height: 210px;
}
.pulse-ring{
    width: 250px;
    height: 250px;
}   
}

@media (max-width: 480px){
  h1{
    font-size: 1.2rem;
  }
  h2{
    font-size: 1.2rem;
  }
  .cta-buttons{
    flex-direction: column;
    align-items: center;
  }

  .profile-container{
    width: 200px;
    height: 200px;
  }
  .profile-image{
    width: 160px;
    height: 160px;
  }
  .border-outer{
    width: 200px;
    height: 200px;
  }
  .border-middle{
    width: 180px;
    height: 180px;
  }
  .border-inner{
    width: 160px;
    height: 160px;
  }
  .border-container ::after{
    width: 170px;
    height: 170px;
  }
  .pulse-ring{
    width: 200px;
    height: 200px;
  }
}

.projects {
  text-align: center;
  margin-top: 40px;  
}


.project-card {
  background: #111c2b;
  padding: 25px;
  border-radius: 16px;
  width: 320px;
  margin: 30px auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.project-card h3 {
  color: #32ff9c;
  margin-bottom: 10px;
}

.project-card p {
  margin-bottom: 15px;
  opacity: 0.85;
}

.project-card .btn {
  display: inline-block;
  margin: 5px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  background: #32ff9c;
  color: black;
  font-weight: bold;
}

.project-card .btn-outline {
  background: transparent;
  border: 2px solid #32ff9c;
  color: #32ff9c;
}
.more-projects {
  text-align: center;
  margin-top: 30px;
}

.more-projects .btn {
  display: inline-block;
  width: auto;
  padding: 10px 20px;
  font-size: 14px;
}
