
html {
    scroll-behavior: smooth;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}


.hero-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #38bdf8;
}


@media (max-width: 600px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
}

.hero-links {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.hero-links a {
    padding: 8px 12px;
    background: #1e293b;
    border-radius: 10px;
    color: #38bdf8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}

.hero-links a:hover {
     background: #334155;
     transform: translateY(-2px);
}

.hero-links i {
     margin-right: 6px;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    background: linear-gradient(115deg, #111827, #111827, #38bdf8);
}

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px;
    background: rgba(18, 25, 44, 1);
    backdrop-filter: blur(10px);
}

nav a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 8px;
    transition: 0.3s;
}

nav a:hover {
    background: #1e293b;
}


.card {
    background: #1e293b;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
}


.about-card p {
    line-height: 1.6;
    color: #cbd5e1;
}

.project-card p {
    color: #cbd5e1;
    margin: 10px 0;
}

.project-card a {
    color: #60a5fa;
    text-decoration: none;
}

.project-card a:hover {
    text-decoration: underline;
}


.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

 i {
    color: #38bdf8;
    margin-right: 8px;
}

p i {
    font-size: 25px;
}

.bar {
    width: 100%;
    height: 8px;
    background: #0f172a;
    border-radius: 10px;
    margin-top: 10px;
    overflow: hidden;
}

.level {
    height: 100%;
    background: #38bdf8;
    border-radius: 10px;
    transition: width 0.5s ease;
}


.contact-card p {
    color: #cbd5e1;
}


a {
    color: #60a5fa;
}

a:hover {
    text-decoration: underline;
}

.projects-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
    scrollbar-width: none;
    cursor: grab;
}

.project-card {
    min-width: 250px;
    flex-shrink: 0;
}

.btn {
    background: #38bdf8;
    border: none;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    color: #0f172a;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn:hover {
        background: #0ea5e9;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.contact-links a {
    background: #1e293b;
    padding: 8px 12px;
    border-radius: 10px;
    color: #38bdf8;
    text-decoration: none;
    transition: 0.3s;
}

.contact-links a:hover {
    background: #334155;
    transform: translateY(-2px);
}