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

:root {
    --dark_bg: #0a0a0a;
    --darker_bg: #050505;
    --accent: #039dfc;
    --accent_glow: rgba(3, 61, 252, 0.4);
    --text: #ffffff;

}

body {
    background-color: var(--darker_bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hiden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    position: relative;
    padding-left: 2.5rem;
}

.nav_link {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav_link a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav_link a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav_link a:hover::after {
    width: 100%;

}

/* section */

.content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 12% 5%;
    background: radial-gradient(circle at 75% 30%, var(--accent_glow) 0%, transparent 30%);
}

.home_cont {
    flex: 1;
    padding-right: 5rem;
}

.home_img {
    flex: 1;
    text-align: center;
    position: relative;
}

.profile_img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    box-shadow: 0 0 50x var(--accent_glow);
    animation: float 3s ease-in-out infinite;
    filter: grayscale(0.2) contrast(1.1);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.home_cont h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(155deg, var(--accent) 30%, #ffffff 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.home_cont p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.home_cont .btn1 {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent);
    font: 20px 'Segoe UI', sans-serif;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skills {
    padding: 5rem 5%;
    background: var(--darker_bg);
}

.skills_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill_card {
    /* display: flex; */
    padding: 2rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.skill_card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px var(--accent_glow);
}

.skill_card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}


/* footer */

footer {
    background: var(--darker_bg);
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1)
}

.social_icon {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social_icon a {
    color: var(--text);
    font-size: 1.5rem;
    transition: all 0.5s ease;
}
.social_icon a:hover{
    color: var(--accent);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .content{
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    .home_cont{
        padding-right: 0;
        margin-bottom: 3rem;
    }
    .profile_img{
        width: 280px;
        height: 280px;
    }
    .nav_link{
        display: none;
    }
    .logo{
        font-size: 1.5rem;
        padding-left: 2rem;
    }
}