/* Resume Site - Clean Professional Design */

:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --dark-color: #1e293b;
    --accent-color: #3b82f6;
    --light-bg: #f8fafc;
    --sidebar-width: 80px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
    background: var(--light-bg);
    margin: 0;
    padding: 0;
}

/* Sidebar Navigation */
.sidebar-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--dark-color) 0%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    z-index: 1000;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar-brand {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.sidebar-brand:hover {
    transform: scale(1.1);
}

.sidebar-nav nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.sidebar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-link i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.sidebar-link span {
    font-weight: 500;
}

.sidebar-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-link.active {
    color: white;
    background: var(--primary-color);
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
}

/* Hero Card */
.hero-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.hero-card h1 {
    color: white;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.95);
}

.hero-card .hero-badge {
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    border: none;
}

.hero-card .btn-light {
    font-weight: 700;
    background-color: white;
    border: none;
}

.hero-card .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.95);
}

.hero-card .btn-outline-light {
    font-weight: 600;
    border: 2px solid white;
}

.hero-card .btn-outline-light:hover {
    transform: translateY(-3px);
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.profile-photo-large {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    background-color: white;
    border: 6px solid white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    transition: transform 0.3s ease;
}

.profile-photo-large:hover {
    transform: scale(1.05);
}

/* Sections */
section {
    background: var(--light-bg);
    padding: 100px 0;
}

section.bg-light {
    background: var(--light-bg) !important;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    color: var(--dark-color);
}

/* Cards */
.card {
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    background: white;
    border-radius: 12px;
}

.card:hover {
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.card.border-primary {
    border-color: rgba(37, 99, 235, 0.3) !important;
}

/* Skill Cards */
.skill-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2) !important;
    border-color: var(--primary-color);
}

.skill-icon {
    font-size: 2.5rem;
}

/* Progress Bars */
.skill-bar-item .progress {
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar-item .progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

.skill-bar-item span {
    font-size: 0.9rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

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

.timeline-marker {
    position: absolute;
    left: -38px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    z-index: 1;
}

.timeline-item:hover .timeline-marker {
    border-color: var(--accent-color);
    transform: scale(1.3);
    transition: all 0.3s ease;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.timeline-content h4 {
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.company-name {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
}

.timeline-date {
    background: var(--accent-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.timeline-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Education Card */
.education-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.education-card:hover {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2) !important;
    border-color: var(--primary-color);
}

/* Buttons */
.btn-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    /* Hide sidebar on mobile, show at bottom */
    .sidebar-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        height: auto;
        min-height: 70px;
        flex-direction: row;
        padding: 0 0 env(safe-area-inset-bottom, 0px) 0;
        z-index: 1000;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        overflow-x: auto;
    }

    .sidebar-brand {
        display: none;
    }

    .sidebar-nav nav {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        padding: 0;
    }

    .sidebar-link {
        flex: 1;
        min-width: 60px;
        padding: 12px 8px;
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .sidebar-link.active {
        border-left: none;
        border-bottom: 3px solid var(--accent-color);
    }

    .sidebar-link i {
        font-size: 20px;
        margin: 0;
    }

    .sidebar-link span {
        display: block;
        font-size: 10px;
        margin-top: 4px;
    }

    /* Adjust main content for bottom nav */
    .main-content {
        margin-left: 0;
        margin-bottom: calc(70px + env(safe-area-inset-bottom));
    }

    /* Hero adjustments */
    .hero-card {
        padding: 2rem 1.5rem !important;
    }

    .hero-card .row {
        text-align: center !important;
    }

    .hero-card .col-lg-8 {
        text-align: center !important;
    }

    .hero-card h1 {
        font-size: 2rem !important;
    }

    .hero-card .lead {
        font-size: 1.1rem !important;
    }

    .hero-card .fs-5 {
        font-size: 0.95rem !important;
    }

    .profile-photo-large {
        width: 180px !important;
        height: 180px !important;
        margin-bottom: 1.5rem !important;
    }

    /* Button adjustments */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .d-flex.gap-3 {
        gap: 0.75rem !important;
    }

    /* Section spacing */
    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem !important;
    }

    /* Cards */
    .card {
        margin-bottom: 1rem;
    }

    /* Timeline adjustments */
    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: -28px;
        width: 20px;
        height: 20px;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-date {
        position: static;
        display: block;
        margin-top: 0.5rem;
        font-size: 0.85rem;
    }

    /* Skills radar chart */
    #skillsRadarChart {
        max-height: 250px !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

section {
    background: var(--bg-primary);
    padding: 80px 0;
}

section.bg-light {
    background: var(--bg-secondary) !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 700;
}

.lead {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    box-shadow: none;
    background: var(--dark-color) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 8px;
}

/* Cards */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.card-body {
    padding: 2rem;
}

/* Skill Cards */
.skill-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--accent-glow);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Progress Bars */
.skill-bar-item {
    margin-bottom: 1.5rem;
}

.skill-bar-item .progress {
    background: var(--bg-tertiary);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.skill-bar-item .progress-bar {
    background: linear-gradient(90deg, var(--primary-color), #2563eb);
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

.skill-bar-item span {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.skill-bar-item .text-muted {
    color: var(--text-secondary) !important
    color: var(--text-secondary);
}

.badge.bg-success {
    background-color: #22c55e !important;
    color: white !important;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section - removed duplicate styles that conflict with main hero-card definition */

.profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-b*/
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(59, 130, 246, 0.3));
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-marker {
    position: absolute;
    left: -38px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 4px var(--accent-glow);
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.4);
    box-shadow: 0 0 0 6px var(--accent-glow);
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    transform: translateX(5px);
}

.timeline-content h4 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.company-name {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
}

.timeline-date {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.timeline-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold
    background: var(--accent-color);
}

/* Skill Cards */
.skill-card {
    transition: all 0.3s ease;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3) !important;
    border-color: var(--primary-color) !important;
}

.skill-icon {
    font-size: 2.5rem;
}

.skill-card .badge {
    font-size: 0.8rem;
    padding: 6px 12px;
}

/* Experience Items */
.experience-item {
    padding: 20px;
    border-left: 3px solid var(--accent-color);
    background: white;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.experience-item:hover {
    background: #f8f9fa;
    border-left-width: 4px;
    padding-left: 19px;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 50px;
}

.education-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.education-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.education-card h3,
.education-card h5 {
    color: var(--text-primary);
}

.education-card .text-primary {
    color: var(--primary-color) !important;
}

/* Contact Section */
#contact a {
    transition: all 0.3s ease;
}

#contact a:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Footer */
footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Utilities */
.text-muted {
    color: var(--text-secondary) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-light {
    background: var(--bg-secondary) !important;
}

/* Responsive */
.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: -38px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 90, 160, 0.1);
    z-index: 1;
}

.timeline-item:hover .timeline-marker {
    border-color: var(--accent-color);
    transform: scale(1.3);
    transition: all 0.3s ease;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

.timeline-content:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.company-name {
    color: var(--secondary-color);
}

.timeline-marker {
    background: var(--dark-color);
    border: 4px solid var(--primary-color);
}

.timeline-content h4 {
    color: var(--light-text);
    font-size: 1.3rem;
    font-weight: 700;
}

.company-name {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
}

.timeline-date {
    background: var(--accent-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--secondary-color);
    line-height: 1.6;
}

.timeline-content ul li::before {
    cprofile-photo-large {
        width: 160px;
        height: 160px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        left: -33px;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    .timeline-date {
        display: block;
        margin-top: 10px;
        width: fit-content
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Education Card */
.education-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.education-card:hover {
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3) !important;
    border-color: var(--primary-color) !important;
}

/* Navigation */
.navbar {
    box-shadow: none;
    background: var(--dark-color) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

/* Buttons */
.btn {
    border-radius: 6px;
    padding: 10px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* About Content Box */
.about-content {
    border-left: 4px solid var(--primary-color);
}

/* Secondary Navigation */
.secondary-nav {
    padding: 15px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-link-secondary {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.nav-link-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* Skill Progress Bars */
.skill-bar-item .progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar-item .progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

.skill-bar-item span {
    font-size: 0.9rem;
    color: var(--light-text);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.btn-outline-primary {
    border: 2px solid white;
    color: white;
}

.btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
}

/* Contact Section - removed duplicate that was overriding Bootstrap classes */

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Cards and backgrounds */
.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--light-text);
}

.bg-light {
    background: var(--dark-color) !important;
}

.text-muted {
    color: var(--secondary-color) !important;
}

section {
    background: var(--darker-bg);
}

section.bg-light {
    background: var(--dark-color) !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--light-text);
}

.lead {
    color: var(--light-text);
}
    opacity: 0.7;
}

/* Responsive */

/* CSP-compatible equivalents of formerly inline portfolio styles */
.skill-progress { height: 8px; }
.skill-progress-95 { width: 95%; }
.skill-progress-93 { width: 93%; }
.skill-progress-85 { width: 85%; }
.skill-progress-60 { width: 60%; }
.skills-radar { max-height: 350px; }
.university-icon { font-size: 4rem; }
.university-wordmark { font-size: 0.9rem; letter-spacing: 1px; }

/* Keep skill headings whole and readable on narrow desktop cards. */
.skill-card .card-title {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}
@media (max-width: 1199px) and (min-width: 768px) {
    .skill-card { padding: 1rem; }
}
/* Explicit selector ensures widths survive Bootstrap and CSP-compatible markup. */
.skill-bar-item .progress-bar.skill-progress-95 { width: 95%; }
.skill-bar-item .progress-bar.skill-progress-93 { width: 93%; }
.skill-bar-item .progress-bar.skill-progress-85 { width: 85%; }
.skill-bar-item .progress-bar.skill-progress-60 { width: 60%; }
