:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 56px;
}

.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://source.unsplash.com/random/1920x1080/?technology') no-repeat center center;
    background-size: cover;
    color: white;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

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

.social-link {
    font-size: 2rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden;
    height: 100%;
}

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

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .project-image {
    transform: scale(1.05);
}

.project-card-body {
    padding: 1.25rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,1));
}

.project-tags {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.project-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px;
    opacity: 0.8;
}

section {
    scroll-margin-top: 56px;
}

.github-button {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 1.5rem;
}

.github-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background-color: #333;
}

.github-button i {
    font-size: 1.2rem;
}

/* Scroll Down Arrow Animation */
.scroll-down-container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    position: relative;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    display: block;
    position: absolute;
    top: 0;
    left: 10px;
    animation: scroll-animation 2s infinite;
    opacity: 0.8;
}

@keyframes scroll-animation {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

.scroll-down:hover .scroll-arrow {
    animation-play-state: paused;
    opacity: 1;
}
