* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #222;
}

#header {
    width: 100%;
    padding: 20px 50px;
    background: #A100FF; 
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    position: relative;
    transition: .3s;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.nav-links li a:hover::after {
    transform: scaleX(1);
}

.hero {
    width: 100%;
    padding: 100px 20px;
    background: linear-gradient(135deg, #A100FF, #6200EA);
    text-align: center;
    color: white;
}

.hero-text h1 {
    font-size: 48px;
}

.hero-text h1 span {
    color: #FFD700;
}

.hero-text p {
    margin-top: 10px;
    font-size: 20px;
}

.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background: white;
    color: #A100FF;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #FFD700;
    color: #000;
}


.section {
    padding: 80px 50px;
    text-align: center;
    background: #fff;
}

.section-title {
    font-size: 32px;
    margin-bottom: 25px;
}

.section-desc {
    font-size: 18px;
    max-width: 800px;
    margin: auto;
    color: #444;
}


.skills-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.skill-card {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    transition: .3s;
}

.skill-card:hover {
    background: #A100FF;
    color: white;
    transform: translateY(-4px);
}


.project-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.project-card {
    padding: 25px;
    margin-bottom: 5px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,.15);
    transition: .3s;
}

.project-card:hover {
    transform: translateY(-6px);
    border-left: 5px solid #A100FF;
}


#footer {
    width: 100%;
    padding: 25px;
    text-align: center;
    background: #A100FF;
    color: white;
    margin-top: 50px;
}

