* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f9f9f9;
    color: #333;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.logo{
    width: 50px;
    height: 50px;
    border-radius: 50%;           
    background: #f1f1f1;         
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #555;
}
.logo span {
    color: #7d2ae8;
}

.navigation {
    display: flex;
    gap: 45px;
}

.navigation a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    transition: 0.3s;
}

.navigation a:hover {
    color: #7d2ae8;
}

.btn-talk {
    padding: 10px 32px;
    background: #7d2ae8;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: 0.3s;
    border: 2px solid #7d2ae8;
}

.btn-talk:hover {
    background: transparent;
    color: #7d2ae8;
}

/* Home */
.home {
    min-height: 100vh;
    padding: 0 8% 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.content {
    max-width: 580px;
    color: #444;
}

.content h2 {
    font-size: 3.4rem;
    line-height: 1.1;
    margin-bottom: 12px;
}

.content h2 span {
    color: #7d2ae8;
}

.content h4 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #666;
}

.content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

.btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-primary {
    background: #7d2ae8;
    color: white;
    border: 2px solid #7d2ae8;
}

.btn-secondary {
    background: transparent;
    color: #7d2ae8;
    border: 2px solid #7d2ae8;
}

.btn-primary:hover {
    background: transparent;
    color: #7d2ae8;
}

.btn-secondary:hover {
    background: #7d2ae8;
    color: white;
}

.social-icons {
    position: absolute;
    bottom: 60px;
    left: 8%;
    display: flex;
    gap: 18px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: #7d2ae8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: 0.3s;
    border: 2px solid #7d2ae8;
}

.social-icons a:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(125, 42, 232, 0.3);
}

.profile-image {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #7d2ae8;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections */
.section {
    min-height: 80vh;
    padding: 120px 8% 80px;
    text-align: center;
}

.section h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    color: #333;
}

.about-container, .resume-container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-cards, .resume-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card, .resume-box {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    text-align: left;
}

.card h3, .resume-box h3 {
    color: #7d2ae8;
    margin-bottom: 12px;
    font-size: 1.4rem;
}
.download-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 36px;
    background: #7d2ae8;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    border: 2px solid #7d2ae8;
    transition: 0.3s;
}
.download-btn:hover {
    background: transparent;
    color: #7d2ae8;
}
.projects-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}
.project-card{
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.project-card:hover{
    transform: translateY(-10px);
}
.project-card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.project-content{
    padding: 20px;
    text-align: center;
}
.project-content h3{
    margin-bottom: 10px;
    color: #333;
}
.project-content p{
    color: #555;
    line-height: 1.5;
}
.project-btn{
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: #7d2ae8;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: 0.3s;
}
.project-btn:hover{
    background: transparent;
    color: #7d2ae8;
    border: 2px solid #7d2ae8;
}
.contact-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: auto;
}
.contact-card{
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
}
.contact-card:hover{
    transform: translateY(-8px);
}
.contact-card i{
    font-size: 2rem;
    color: #7d2ae8;
    margin-bottom: 10px;
    transition: 0.3s;
}
.contact-card h3{
    margin-bottom: 10px;
}
.contact-card:last-child{
    grid-column: 2;   
}


/* Responsive */
@media (max-width: 900px) {
    .home {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 140px;
    }

    .social-icons {
        position: static;
        margin: 30px 0;
        justify-content: center;
    }

    .profile-image {
        margin: 0 auto;
    }

    .content {
        max-width: 100%;
    }
}