* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f0f13;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

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

header {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, #9d4edd, #5e17eb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #9d4edd;
}

.hero {
    height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #ffffff, #9d4edd);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.signature-line {
    width: 250px;
    height: 3px;
    margin: 0 auto 25px;
    background: linear-gradient(90deg, transparent, #9d4edd 20%, #5e17eb 50%, #9d4edd 80%, transparent);
    position: relative;
}

.signature-line::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 35px;
    border-bottom: 2px solid #9d4edd;
    border-radius: 50%;
    top: -15px;
    right: 60px;
    transform: rotate(-5deg);
}

.hero p {
    font-size: 20px;
    color: #b8b8b8;
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background: linear-gradient(90deg, #9d4edd, #5e17eb);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(157, 78, 221, 0.3);
}

.projects {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #9d4edd, #5e17eb);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #1a1a23;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.project-img {
    object-fit: cover;
    background-color: #252532;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9d4edd;
    font-size: 24px;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.project-info p {
    color: #b8b8b8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

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

.project-link a{
    color: #9d4edd;
    text-decoration: none;
}
.project-link a:hover{
    color: #b8b8b8;
}

.tag {
    background-color: #252532;
    color: #9d4edd;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
}

.about {
    padding: 100px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    object-fit: cover;
    height: 450px;
    background-color: #25253261;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    color: #b8b8b8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.skills {
    margin-top: 30px;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.skill-info {
    display: flex;
    justify-content: space-between;
}

.skill-bar {
    height: 8px;
    background-color: #252532;
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #9d4edd, #5e17eb);
}

.contact {
    padding: 100px 0;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background-color: #1a1a23;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background-color: #1a1a23;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 16px;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

footer {
    padding: 40px 0;
    text-align: center;
    background-color: #1a1a23;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #252532;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9d4edd;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    background-color: #9d4edd;
    color: #ffffff;
}

.copyright {
    color: #b8b8b8;
    font-size: 14px;
}

.github{
    text-decoration: none;
    color: #9d4edd;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }

    nav ul {
        gap: 20px;
    }
}
