*{
    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: #e5e5e5;
    min-height: 100vh;
    line-height: 1.5;
}

.img-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{
    width:100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
    position:sticky;
    top:0;
    z-index:10;
}

header h1{
    margin-left:-90px;
    font-size:2.5rem;
    font-weight: 300;
}

nav{
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: -5%;
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
    scrollbar-width: none;
}
nav::-webkit-scrollbar{
    display: none;
}

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

nav a:hover{
    color:#a7a7a7;

}


.resume-btn{
    border-radius: 50px;
    padding:5px;
    border: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor:pointer;
}

.resume-btn:hover{
    background-color: white 50%;
}


/* Hamburger Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

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

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

}

.intro {
    max-width: 700px;
    margin: 8rem auto 0 auto;
    padding: 0 1rem;
    text-align: left;
}


.small-heading {
    color: #5c5ce0;
    font-size: 1rem;
    font-family: monospace;
    margin-bottom: 1rem;
}

.main-heading {
    font-size: 3rem;
    font-weight: bold;
    color: #f0f0f0;
}

.sub-heading {
    font-size: 2.5rem;
    font-weight: bold;
    color: #8892b0;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1rem;
    color: #a8b2d1;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}


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

/* Base button styling */
.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: system-ui, sans-serif;
}

/* GitHub - filled style */
.github-btn {
    background: linear-gradient(to right, #5c5ce0, #3a3ae0);
    color: white;
    border: none;
}

.github-btn:hover {
    /**background-color: #e2e2e2;**/
    filter: brightness(1.1);
}

/* LinkedIn - dark with border */
.linkedin-btn {
    /**
    background-color: transparent;
    border: 2px solid #a7a7a7;
    color: #a7a7a7;
    **/
    background:transparent;
    border:1.5px solid #5c5ce0;
    color: #5c5ce0;
}

.linkedin-btn:hover {
    /***
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: white;
    ***/
    background-color: rgba(92,92,224,0.1);
    color:#ffffff;
}
.robot-3d{
    position:absolute;
    top:8%;
    right:-30%;
    transform: scale(0.6);
    z-index: -1;
    pointer-events: none;
}
/* Responsive Navbar */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 1rem 2rem;
    }

    .menu-toggle {
        display: block;
    }

    nav.nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 1rem;
    }

    nav.nav-links.active {
        display: flex;
    }

    .resume-btn {
        margin-top: 1rem;
        width: 100%;
    }

    header h1 {
        font-size: 2rem;
        margin-left: 0;
    }
    
    .robot-3d{
        scale:0.5;
        top: -30%;
        right:0;
    }
}

/* Projects Section Styles */
.section-container {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.section-number {
    font-family: monospace;
    font-size: 1.5rem;
    color: #5c5ce0;
    margin-right: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #000000;
    white-space: nowrap;
}

.section-line {
    flex-grow: 1;
    height: 1px;
    background-color: #5c5ce0;
    margin-left: 20px;
}
/**
.projects-grid {
    display: grid;
    grid-template-rows: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
**/
.projects-grid {
    display: block;
}

.project-card {
    height: 600px; /* You can tweak this to your desired height */
    margin-bottom: 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.featured-project .project-content {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}



.project-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-label {
    font-family: monospace;
    font-size: 0.9rem;
    color: #5c5ce0;
    margin-bottom: 10px;
}

.project-title {
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
}

.project-description {
    color: #333333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.highlight-link {
    color: #5c5ce0;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.highlight-link:hover {
    color: #3a3ae0;
}

.project-tech-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 15px;
    margin-bottom: 20px;
    font-family: monospace;
    font-size: 0.9rem;
    color: #333333;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    color: #000000;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #5c5ce0;
}
/* style.css */
.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit:fill;
    transition: transform 0.3s ease;
}
  
/*
  .project-image img:hover {
    transform: scale(0.65); 
  }
  */
/* Responsive styles */
@media (max-width: 768px) {
    .featured-project .project-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .section-container {
        padding: 60px 20px;
    }
}

/* Skills Section Styles */
#skills {
    padding: 100px 0;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
}

.skills-category {
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(92, 92, 224, 0.3);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 25px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(92, 92, 224, 0.1);
}

.skill-icon {
    font-size: 2rem;
    color: #5c5ce0;
    margin-bottom: 15px;
}

.skill-name {
    font-size: 1rem;
    font-weight: 500;
    color: #333333;
}

/* Responsive styles */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #skills {
        padding: 60px 20px;
    }
    
    .skill-item {
        padding: 15px;
    }
    
    .skill-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

/* Education Section Styles */
#education {
    padding: 100px 0;
}

.education-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.education-card {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(92, 92, 224, 0.1);
}

.education-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.education-logo {
    width: 60px;
    height: 60px;
    background-color: #5c5ce0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.education-logo i {
    font-size: 1.8rem;
    color: white;
}

.education-info {
    flex-grow: 1;
}

.institution {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 5px;
}

.degree {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 5px;
}

.duration, .instructor {
    font-size: 0.9rem;
    color: #666666;
}

.education-gpa {
    margin-left: 20px;
}

.gpa-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(to right, #5c5ce0, #3a3ae0);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    flex-shrink: 0;
}

.gpa-value {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.gpa-label {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.education-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.details-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(92, 92, 224, 0.3);
}

.achievement-list {
    padding-left: 20px;
    color: #333333;
}

.achievement-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.course-tag {
    background-color: rgba(92, 92, 224, 0.1);
    color: #5c5ce0;
    border-radius: 50px;
    padding: 5px 12px;
    font-size: 0.85rem;
    display: inline-block;
}

.certification {
    padding: 20px 30px;
}

.certification-badge {
    width: 40px;
    height: 40px;
    background-color: #f5ca55;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
}

.certification-badge i {
    font-size: 1.2rem;
    color: white;
}

/* Responsive styles */
@media (max-width: 768px) {
    .education-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .education-header {
        flex-wrap: wrap;
    }
    
    .education-gpa {
        margin-left: 80px;
        margin-top: 15px;
    }
    
    .institution {
        font-size: 1.2rem;
    }
    
    #education {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .education-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .education-logo {
        margin-bottom: 15px;
    }
    
    .education-gpa {
        margin-left: 0;
        margin-top: 15px;
        align-self: center;
    }
    
    .certification-badge {
        margin-top: 15px;
        margin-left: 0;
    }
}


/* Contact Section Styles */
#contact {
    padding: 100px 0;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding: 30px;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-heading, .form-heading {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
}

.contact-text {
    color: #333333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.direct-contact {
    margin-bottom: 30px;
}

.direct-heading {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 15px;
}

.email-link {
    display: flex;
    align-items: center;
    color: #5c5ce0;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.email-link i {
    margin-right: 10px;
}

.email-link:hover {
    color: #3a3ae0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #5c5ce0;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #3a3ae0;
    transform: translateY(-3px);
}

.contact-form-container {
    padding: 30px;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.9rem;
    color: #333333;
}

.form-group input, 
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #5c5ce0;
}

.submit-btn {
    padding: 12px 20px;
    background: linear-gradient(to right, #5c5ce0, #3a3ae0);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Responsive styles */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    #contact {
        padding: 60px 20px;
    }
    
    .contact-heading, .form-heading {
        font-size: 1.5rem;
    }
}