body {
    margin: 0;
    font-family: sans-serif;
    scroll-behavior: smooth;
}

header {
    position: fixed;
    top: 0;
    right: 0; 
    padding: 20px;
    z-index: 1000;
}

.nav-buttons button {
    margin-right: 10px;
    padding: 10px 16px;
    border: none;
    background: #8a5cff;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

section {
    padding: 120px 20px;
    min-height: 100vh;
}

.about-section {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    padding: 0 40px;
    min-height: 90vh;
}
.about-img {
    width: 350px;
    border-radius: 20px 0 0 20px;
}

.about-textbox {
    background: #bfa3ff; 
    padding: 30px;
    border-radius: 20px 20px 20px 0;
    max-width: 600px;
    color: white;
}

.about-textbox h2 {
    margin-top: 0;
    font-size: 28px;
}

.about-textbox p {
    line-height: 1.6;
    margin-bottom: 15px;
}
.logo-wrapper {
    position: fixed;
    top: 10px;
    left: 40px;

    width: 90px;        
    height: 90px;       
    background: #bfa3ff; 
    border-radius: 50%;  

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 1000;      
}


.logo {
    width: 120px;        
    height: auto;
    z-index: 1001;      
}

#projects {
    padding: 120px 40px;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.project-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


.project-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
    object-fit: contain; 
    background: #ffffff;
}


.project-card:hover img {
    transform: scale(1.05);
}

.project-card h3 {
    margin-top: 15px;
    color: #8a5cff;
}
.square-img {
    height: 400px;
    object-fit: contain;
    background: #ffffff;
}
#about {
    scroll-margin-top: 120px;
}

#projects {
    scroll-margin-top: 120px;
}