body {   
    font-family: 'Poppins', sans-serif;   
    background-color: beige;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}  

html{
    scroll-behavior: smooth;
}

.navbar{     
    display: flex;     
    justify-content: space-between;     
    align-items: center;     
    padding: 20px 10%;     
    position: sticky;     
    top: 0;     
    z-index: 10;
    background-color: beige;
    font-size: x-large;
} 

#nav-logo {      
    font-size: 1.6rem;      
    font-weight: bold;  
    font-size: xx-large;
} 

.links {   
    list-style: none;   
    display: flex;   
    gap: 20px;   
    margin: 0;   
    padding: 0; 
} 

.links li a {   
    position: relative;   
    text-decoration: none;   
    font-weight: 500;   
    color: black;   
    transition: color 0.3s ease-in-out; 
}  

.links li a::after {   
    content: "";   
    position: absolute;   
    left: 0;   
    bottom: -3px;   
    width: 0;   
    height: 2px;   
    background-color: gray;   
    transition: width 0.3s ease-in-out; 
}  

.links li a:hover {   
    color: gray; 
}  

.links li a:hover::after {   
    width: 100%; 
}  

.start {     
    height: 60vh;     
    display: flex;     
    justify-content: center;
    align-items: center;
    background-color: beige;
    padding: 0 10%;
}  

.start-container {     
    display: flex;     
    align-items: center;     
    gap: 100px;
    width: 100%;
    max-width: 1200px;
}  



.intro-image img {     
    width: 350px;
    height: 350px;     
    border-radius: 50%;
    object-fit: cover;
    margin-left:-400px;
}  

.intro {     
    text-align: left;
    flex: 1;
}  

.intro-tagline {     
    font-size: 1.2rem;     
    color: #555;     
    margin: 0 0 1rem 0; 
}  

.intro-name {     
    font-size: 4rem;     
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.1;
}  

.intro-desc {     
    font-size: 1.4rem;     
    color: #777;     
    margin: 0 0 2rem 0; 
}

#socialsbutton{     
    font-weight: 600;     
    transition: all 300ms ease;     
    padding: 0.75rem 1.5rem;     
    width: auto;
    min-width: 8rem;
    color: white;     
    font-family: 'Poppins';     
    background-color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}  

#socialsbutton:hover{     
    background-color: white;     
    color: black;    
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: 0.5s ease-in-out;
} 


.about {
    background-color: rgb(235, 228, 196);
    padding: 80px 10%;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.about-content {
    text-align: center;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

.about-text {
    max-width: 900px;
    margin: 0 auto 3rem auto;
}

.text-with-image {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
}

.text-with-image.left {
    flex-direction: row;
}

.text-with-image.right {
    flex-direction: row-reverse;
}

.story-image {
    width: 200px;
    height: auto;
    object-fit: contain;
    border-radius: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.story-image:hover{
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: 0.5s ease-in-out;
}

.text-with-image p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    border-radius: 20px;
}



/* Mobile Responsiveness */
@media (max-width: 768px) {
    .start-container {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .intro {
        text-align: center;
    }

    .intro-name {
        font-size: 3rem;
    }

    .intro-image {
        margin-left: 0;
    }

    .intro-image img {
        width: 250px;
        height: 250px;
    }

    .about {
        padding: 60px 5%;
    }

    .about-title {
        font-size: 2.5rem;
    }

    .text-with-image {
        flex-direction: column !important;
        text-align: center;
        gap: 1rem;
    }

    .text-with-image p {
        text-align: center;
    }

    .story-image {
        width: 250px;
        height: 180px;
    }

}

.projects {
    background-color: beige;
    padding: 80px 10%;
    min-height: 70vh;
    display: block;
    clear: both;
    font-size: x-large;
}

.projects-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    display: block;
}

.projects-content {
    text-align: center;
    display: block;
}

.projects-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
    font-family: 'Poppins', sans-serif;
    display: block;
    text-align: center;
}

.projects-grid {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.project-box {
    background-color: white;
    border-radius: 25px;
    padding: 3rem 2.5rem 2.5rem 2.5rem; /* Added top padding for status badge */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-align: left;
    min-height: 200px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 3rem;
    float: none;
    clear: both;
}

.project-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: 0.5s ease-in-out;
}

.project-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    z-index: 10;
    max-width: calc(100% - 3rem); /* Prevent overflow */
    word-wrap: break-word;
}

.project-status.completed {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.project-status.in-progress {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.project-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1.5rem 0;
    font-family: 'Poppins', sans-serif;
    padding-right: 8rem; /* Reduced padding to give more space */
    line-height: 1.3;
    display: block;
    word-wrap: break-word; /* Handle long titles */
}

.project-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #666;
    margin: 0 0 2rem 0;
    font-family: 'Poppins', sans-serif;
    display: block;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tag:hover{
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: 0.5s ease-in-out;
    background-color: #333;
    color: white;
    transform: scale(1.05);
}



.tech-tag {
    background-color: #f8f9fa;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #dee2e6;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .projects {
        padding: 60px 5%;
    }
    
    .projects-title {
        font-size: 2.5rem;
    }
    
    .project-box {
        padding: 3.5rem 2rem 2rem 2rem; /* Increased top padding on mobile */
        min-height: 180px;
        margin-bottom: 2rem;
    }
    
    .project-status {
        position: static; /* Move status below title on mobile */
        display: inline-block;
        margin-bottom: 1rem;
        max-width: 100%;
    }
    
    .project-title {
        font-size: 1.4rem;
        padding-right: 0; /* Remove padding on mobile since status is below */
    }
    
    .project-description {
        font-size: 1rem;
    }
    
    .tech-tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .project-box {
        padding: 2rem 1.5rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-status {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

.skills {
    background-color: rgb(235, 228, 196);
    padding: 80px 10%;
    min-height: 70vh;
    display: block;
}

.skills-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.skills-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.skills-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 3rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;

}

.skill-category {
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}


.skill-tag {
    background-color: #f8f9fa;
    color: #495057;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #dee2e6;
    display: inline-block;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: #333;
    color: white;
    transform: scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .skills {
        padding: 60px 5%;
    }
    
    .skills-title {
        font-size: 2.5rem;
    }
    
    .skills-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    .skill-tag {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .skill-category {
        padding: 1.2rem;
    }
    
    .skills-list {
        gap: 0.6rem;
    }
    
    .skill-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

.achievements {
    background-color: beige;
    padding: 80px 10%;
    min-height: 70vh;
    display: block;
}

.achievements-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.achievements-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.achievements-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 3rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.achievements-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.achievement-card {
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.achievement-place {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.achievement-place.first {
    background-color: #ffd700;
    color: #b8860b;
}

.achievement-place.third {
    background-color: #cd7f32;
    color: white;
}

.achievement-place.fourth, .achievement-place.sixth, .achievement-place.eighth, .achievement-place.thirteenth {
    background-color: #e8f4fd;
    color: #2c5aa0;
}

.achievement-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
    font-family: 'Poppins', sans-serif;
    padding-right: 6rem;
}

.achievement-event {
    font-size: 1rem;
    color: #666;
    margin: 0 0 0.5rem 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.achievement-date {
    font-size: 0.9rem;
    color: #888;
    margin: 0 0 1rem 0;
    font-family: 'Poppins', sans-serif;
}

.achievement-org {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.org-logo {
    font-size: 1.2rem;
}

.achievement-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 1rem 0 0 0;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .achievements {
        padding: 60px 5%;
    }
    
    .achievements-title {
        font-size: 2.5rem;
    }
    
    .achievement-card {
        padding: 1.5rem;
    }
    
    .achievement-place {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
    
    .achievement-title {
        padding-right: 0;
        font-size: 1.3rem;
    }
}

.socials {
    background-color: rgb(235, 228, 196);
    padding: 60px 10% 40px 10%;
    text-align: center;
}

.socials-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.socials-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

.socials-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.social-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background-color: white;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-icon {
    font-size: 2rem;
}

.social-name {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Specific social media colors on hover */
.social-button.youtube:hover {
    background-color: #ff0000;
    color: white;
}

.social-button.linkedin:hover {
    background-color: #0077b5;
    color: white;
}

.social-button.instagram:hover {
    background-color: #e4405f;
    color: white;
}

.social-button.twitter:hover {
    background-color: #1da1f2;
    color: white;
}

.social-button.facebook:hover {
    background-color: #1877f2;
    color: white;
}

.social-button.github:hover {
    background-color: #333;
    color: white;
}

.copyright {
    border-top: 1px solid #ddd;
    padding-top: 2rem;
}

.copyright p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .socials {
        padding: 40px 5% 30px 5%;
    }
    
    .socials-title {
        font-size: 1.8rem;
    }
    
    .socials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .social-button {
        padding: 1.2rem 0.8rem;
    }
    
    .social-icon {
        font-size: 1.8rem;
    }
    
    .social-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .socials-grid {
        grid-template-columns: 1fr;
        max-width: 200px;
        margin: 0 auto 3rem auto;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: beige;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .links.active {
        right: 0;
    }
    
    .links li {
        margin: 1rem 0;
    }
    
    .links li a {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    /* Hero section image */
    .intro-image img {
        display:none;
    }
    
    /* About section images */
    .story-image {
        width: 200px;
        height: 200px;
        object-fit: cover;
        border-radius: 50%;
        margin: 0 auto;
    }
    
    .text-with-image {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .text-with-image.left,
    .text-with-image.right {
        flex-direction: column;
    }
    
    .text-with-image p {
        text-align: center;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .intro-image img {
        display:none;
    }
    
    .story-image {
        width: 150px;
        height: 150px;
    }
    
    .intro-image {
        margin-left: 0;
        text-align: center;
    }
}