/* Custom Styles for Portfolio Website */

body {
    padding-top: 56px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 0;
}

.hero-section h1, .hero-section h2 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.skill-item {
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.skill-item:hover {
    background-color: #f8f9fa;
}

.timeline .card {
    position: relative;
    margin-left: 20px;
}

.timeline .card::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 20px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #667eea;
}

.contact-info-item {
    padding: 20px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.contact-info-item:hover {
    background-color: #f8f9fa;
}

.btn-primary {
    background-color: #667eea;
    border-color: #667eea;
}

.btn-primary:hover {
    background-color: #5568d3;
    border-color: #5568d3;
}

.btn-outline-primary {
    color: #667eea;
    border-color: #667eea;
}

.btn-outline-primary:hover {
    background-color: #667eea;
    border-color: #667eea;
    color: white;
}

footer {
    margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .timeline .card {
        margin-left: 0;
    }
    
    .timeline .card::before {
        display: none;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .skill-item {
    animation: fadeIn 0.5s ease;
}
