*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: black;
    color: #e7e7e7;
    min-height: 100vh;
    line-height: 1.5;
}

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}
/*GRADIENT AND LAYER BLUR EFFECT*/
.image-gradient{
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.5;
    z-index: -1;
}

.layer-blur{
    height: 0;
    width: 30rem;
    position: absolute;
    top: 20%;
    right: 0;
    box-shadow: 0 0 700px 15px white;
    rotate: -30deg;
    z-index: -1;
}



/* CONTAINER */

.container{
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: absolute;
    overflow: hidden;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
    

}

header h1{
    margin: 0;
    font-size: 2rem;
    font-weight: 300;
}

nav{
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: -5%;
}

nav a{
    font-size: 1rem;
    letter-spacing: 0.1rem;
    transition: color 0.2s ease;
    text-decoration: none;
    color: inherit;
    z-index: 999;
}

nav a:hover{
    color: #a7a7a7;
}

.btn-signing{
    background-color: #a7a7a7;
    color: black;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor: pointer;
    z-index: 999;
}

.btn-signing:hover{
    background-color: white;
}


/* MAIN CONTENT*/

main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 6rem);
    position: relative;
}

.content{
    max-width: 40rem;
    margin: 10%;
    z-index: 999;
}

.tag-box{
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background:linear-gradient(to right, #656565,#7f42a7,#6600c5,#5300a0,#757575,#656565);
    background-size: 200%;
    animation: animationGradient 2.5s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);

}

@keyframes animationGradient{
    to{
        background-position: 200%;
    }
}

.tag-box .tag{
    position: absolute;
    inset: 3px 3px 3px 3px;
    background-color: black;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
}

.tag-box .tag:hover{
    color: #5300a0;
}

.content h1{
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.description{
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    max-width: 35rem;
    color: gray;
}

.buttons{
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.btn-get-started{
    text-decoration: none;
    border: 1px solid #2a2a2a;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
}

.btn-get-started:hover{
    background-color: #1a1a1a;

}

.btn-signing-main{
    text-decoration: none;
    background-color: lightgray;
    color: black;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: background-color 0.2s ease;
}

.btn-signing-main:hover{
    background-color: gray;
}

/* PROFILE */
.profile-image-container {
    position: absolute;
    top: 160px; 
    right: 150px; 
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

.profile-image {
    width: 180px; 
    height: 180px; 
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #a7a7a7;
    box-shadow: 0 0 20px rgba(167, 167, 167, 0.5);
}

.profile-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: #e7e7e7;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    animation: float 3s ease-in-out infinite;
  }

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

spline-viewer {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 2;
  }

/* TEXT BEHIND THE ROBOT */
.behind-robot-text {
    position: absolute;
    top: 15%;
    left: 25%;
    transform: translate(-50%, 50%);
    font-size: 3rem;
    font-weight: 500;
    color: rgba(231, 231, 231, 0.2);
    z-index: 1; 
    white-space: nowrap;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
}

.behind-robot-ug-text {
    position: absolute;
    top: calc(15% + 3.5rem); /* Position below Software Engineering */
    left: 0%;
    transform: translateX(-50%);
    font-size: 1.8rem; /* Slightly smaller */
    font-weight: 300;
    color: rgba(231, 231, 231, 0.2);
    z-index: 1;
    white-space: nowrap;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
    text-align: center;
    width: 100%;
}


/* CARD TABLE */

/* PROJECT SECTION */
.project-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 500;
    color: rgb(228, 225, 225);
    margin-bottom: 3rem;
    position: relative;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
}

.project-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(to right, rgba(231, 231, 231, 0.2), #a1a1a173);
}
.projects {
    padding: 5rem 0;
    min-height: 100vh;
    background-color: black;
}
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem;
    margin-top: 2rem;
  }
  
  .project-card {
    background: rgba(30, 30, 30, 0.7);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(167, 167, 167, 0.2);
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(102, 0, 197, 0.3);
  }
  
  .card-image {
    height: 200px;
    overflow: hidden;
  }
  
  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .project-card:hover .card-image img {
    transform: scale(1.05);
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #e7e7e7;
  }
  
  .card-content p {
    color: #a7a7a7;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .tech-stack span {
    background: rgba(102, 0, 197, 0.2);
    color: #a7a7a7;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid rgba(102, 0, 197, 0.5);
  }
  
  .card-actions {
    display: flex;
    gap: 1rem;
  }
  
  .demo-btn, .code-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .demo-btn {
    background: linear-gradient(to right, #7f42a7, #6600c5);
    color: white;
  }
  
  .code-btn {
    background: transparent;
    color: #a7a7a7;
    border: 1px solid #a7a7a7;
  }
  
  .demo-btn:hover {
    background: linear-gradient(to right, #6600c5, #7f42a7);
    box-shadow: 0 0 15px rgba(102, 0, 197, 0.5);
  }
  
  .code-btn:hover {
    background: rgba(167, 167, 167, 0.1);
    color: white;
  }


/* SKILLS */

.skills-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 500;
    color: rgb(228, 225, 225);
    margin-bottom: 3rem;
    position: relative;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
}

.skills-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(to right, rgba(231, 231, 231, 0.2), #a1a1a173);
}
.skills {
    padding: 5rem 0;
    min-height: 100vh;
    background-color: black;
}
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    margin-top: 2rem;
}

.skill-card {
    background: rgba(30, 30, 30, 0.7);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(167, 167, 167, 0.2);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(102, 0, 197, 0.3);
}

.skill-category h3 {
    font-size: 1.5rem;
    color: #e7e7e7;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-align: center;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #81589d, #6600c5);
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: scale(1.1);
}

.skill-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.3s ease;
}

.skill-item:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.skill-item span {
    color: #a7a7a7;
    font-size: 0.9rem;
    text-align: center;
    transition: color 0.3s ease;
}

.skill-item:hover span {
    color: #e7e7e7;
}

/* EDUCATION SECTION */
.education {
    padding: 5rem 0;
    min-height: 100vh;
    background-color: black;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.education .layer-blur{
    rotate: -30deg;

}


.education-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 500;
    color: rgb(228, 225, 225);
    margin-bottom: 3rem;
    position: relative;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
}

.education-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(to right, rgba(231, 231, 231, 0.2), #a1a1a173);
}

.timeline-container {
    display: flex;
    justify-content: center;
    padding: 0 2rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    width: 100%;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(231, 231, 231, 0.2), #cecaca);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6d1eb8ed;
    border: 3px solid #a7a7a7;
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 1.5rem;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(167, 167, 167, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 40px;
    margin-right: auto;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #e7e7e7;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #a7a7a7;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: #6600c5;
    font-weight: 500;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(102, 0, 197, 0.3);
}

/* CONTACT */
.contact {
    padding: 5rem 0;
    min-height: 100vh;
    background-color: black;
    position: relative;
}

.contact-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 500;
    color: rgb(228, 225, 225);
    margin-bottom: 3rem;
    position: relative;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(to right, rgba(231, 231, 231, 0.2), #a1a1a173);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #e7e7e7;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem 1rem;
    border-radius: 5px;
    border: 1px solid #2a2a2a;
    background: rgba(30, 30, 30, 0.7);
    color: #e7e7e7;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6600c5;
    box-shadow: 0 0 10px rgba(102, 0, 197, 0.3);
}

.submit-btn {
    background: linear-gradient(to right, #7f42a7, #6600c5);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background: linear-gradient(to right, #6600c5, #7f42a7);
    box-shadow: 0 0 15px rgba(102, 0, 197, 0.5);
    transform: translateY(-2px);
}

#formResponse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

/* FOOTER STYLES */
.site-footer {
    background-color: #0a0a0a;
    padding: 3rem 0;
    border-top: 1px solid rgba(167, 167, 167, 0.1);
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .footer-name {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(167, 167, 167, 0.2);
    text-align: center;
  }
  
  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1.5rem;
  }
  
  .footer-nav a {
    color: #a7a7a7;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  
  .footer-nav a:hover {
    color: #ffffff;
  }
  
  .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
  }
  
  .social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #a7a7a7;
    transition: all 0.3s ease;
    width: 70px;
  }
  
  .social-icon:hover {
    color: #e7e7e7;
    transform: translateY(-3px);
  }
  
  .social-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    filter: grayscale(30%) brightness(0.8);
    transition: all 0.3s ease;
  }
  
  .social-icon:hover img {
    filter: grayscale(0%) brightness(1);
  }
  
  .social-icon span {
    font-size: 0.8rem;
    text-align: center;
  }
  
  .copyright {
    color: #a7a7a7;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
  }

/* TABLET RESPONSIVE */
@media(max-width:1300px){
    header{
        padding: 1rem 0.5rem;
    }

    .content{
        margin-top:85%
    }

    
}

/* MOBILE RESPONSIVE */
@media(max-width:768px){
    header{
        padding: 1rem 0.1rem;
    }

    nav{
        display: none;
    }
    header h1{
        font-size: 2rem;
    }
    .btn-signing{
        padding: 0.6rem 1.5rem;
    }

    .content{
        margin-top:25rem;
    }

    

    .content{
        max-width: 30rem;
        margin-left: 10%;
    }

    .tag-box{
        width: 12rem;
    }

    .content h1{
        font-size: 2.5rem;
    }

    .description{
        font-size: 1rem;
    }

    .btn-get-started{
        font-size: 0.8rem;
        padding: 0.8rem 1.2rem;
    }
    .btn-signing-main{
        font-size: 0.8rem;
        padding: 0.8rem 2rem;
    }

    .profile-image-container {
        top: 100px;
        right: 50px;
      }
      
      .profile-image {
        width: 80px;
        height: 80px;
      }

      .profile-text {
        font-size: 0.9rem;
        padding: 3px 10px;
      }
      .behind-robot-text {
        font-size: 1.5rem;
        letter-spacing: 0.2rem;
        transform: translate(-50%, 30%);
      }

      .projects-container {
        grid-template-columns: 1fr;
        padding: 1rem;
      }
      
      .card-actions {
        flex-direction: column;
      }
      .skills-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    .skill-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
    
    .education-title {
        font-size: 2rem;
    }
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-container {
        padding: 0 1rem;
    }
    .footer-name {
        font-size: 1.5rem;
      }
      
      .footer-nav ul {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
      }
      
      .social-links {
        gap: 1rem;
      }
      
      .social-icon {
        width: 60px;
      }
      
      .social-icon img {
        width: 25px;
        height: 25px;
      }
      
      .social-icon span {
        font-size: 0.7rem;
      }
}




