@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
:root {
    --port-primary: #2563eb;
}


body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
}

.nav-link {
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--port-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--port-primary);
    left: 0;
    top: 5px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 2px;
    height: calc(100% + 20px);
    background: #d1d5db;
    left: 7px;
    top: 20px;
}

.timeline-item:last-child::after {
    display: none;
}

.skill-bar {
    background: #e2e8f0;
    border-radius: 4px;
    height: 10px;
    margin-top: 5px;
}

.skill-level {
    height: 100%;
    border-radius: 4px;
    background: var(--port-primary);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.contact-form input,
.contact-form textarea {
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--port-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.tech-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    font-size: 24px;
    color: var(--port-primary);
    transition: all 0.3s ease;
}

.tech-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tech-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.tech-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
    color: #334155;
}

.section-header {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.section-header:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: linear-gradient(to right, var(--port-primary), #0ea5e9);
    bottom: -10px;
    left: 20%;
    border-radius: 2px;
}

.hero-pattern {
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, rgba(255,255,255,0) 70%);
}