@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Poppins:wght@400;600;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
}

.hero-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.section-title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

.skill-pill {
    display: inline-block;
    background: #e0e7ff;
    color: #1e40af;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 3px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-card {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.nav-link {
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

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

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-menu.open {
    max-height: 500px;
}

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

.timeline-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #3b82f6;
    border: 3px solid #e0e7ff;
}

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

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

.cloud-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 8px;
}

#contact-form .form-input {
    transition: all 0.3s ease;
    border: 1px solid #d1d5db;
}

#contact-form .form-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    opacity: 0;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
}