/* Site-wide styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #4b5563;
    --light-bg: #f9fafb;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    color: #1f2937;
    line-height: 1.6;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 4rem 0;
}

    .hero-section h1 {
        font-size: 3rem;
        font-weight: 700;
        letter-spacing: -0.02em;
    }

    .hero-section .lead {
        font-size: 1.25rem;
        color: var(--primary-color);
    }

/* Skills tags */
.skills-tags .badge {
    font-size: 0.9rem;
    font-weight: 500;
    background-color: #e5e7eb !important;
    color: #1f2937;
    border: none;
    transition: all 0.3s ease;
}

    .skills-tags .badge:hover {
        background-color: var(--primary-color) !important;
        color: white;
        transform: translateY(-2px);
    }

/* Project cards */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

    .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) !important;
    }

.card-img-top {
    height: 200px;
    object-fit: cover;
    background-color: #e5e7eb;
}

.card-footer {
    background-color: transparent;
    border-top: none;
    padding-bottom: 1.25rem;
}

/* Social links */
.social-links .btn {
    border-radius: 30px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .social-links .btn:hover {
        transform: translateY(-2px);
    }

/* Section headings */
section h2 {
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    width: 100%;
}

    section h2:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--primary-color);
        border-radius: 2px;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .col-lg-4 {
        margin-top: 2rem;
    }

    section h2 {
        font-size: 2rem;
    }
}

/* ATS-friendly */
.ats-friendly {
    display: none; /* Hidden but accessible to screen readers */
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #2563eb !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
}

    .nav-link:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: white;
        transition: width 0.3s ease;
    }

    .nav-link:hover:after {
        width: 80%;
    }

/* Footer */
.footer {
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
}

/* Download button */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    font-weight: 500;
}

    .btn-primary:hover {
        background-color: #1d4ed8;
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    }

/* Profile image */
.rounded-circle {
    border: 4px solid white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Education section */
#education .card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

/* Contact section */
#contact .bi-envelope-fill {
    font-size: 3.5rem;
}

#contact a {
    color: var(--primary-color);
    font-weight: 500;
}

    #contact a:hover {
        text-decoration: underline !important;
    }
