:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --light-color: #ecf0f1;
    --dark-color: #34495e;
    --text-color: #243447;
    --muted-text: #64748b;
    --surface: #ffffff;
    --page-bg: #f6f8fb;
    --border-color: rgba(15, 23, 42, 0.08);
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--page-bg);
    color: var(--text-color);
    line-height: 1.65;
}

.navbar {
    background-color: var(--secondary-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: white;
    font-weight: 800;
    letter-spacing: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.hero-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
    border-radius: 0 0 20px 20px;
}

.hero-section h1 {
    letter-spacing: 0;
}

.hero-section .lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}

.resume-photo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 5px solid white;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.about-photo {
    width: 132px;
    height: 132px;
    object-fit: cover;
    border-radius: 50%;
    flex: 0 0 auto;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
}

.card-header h5 {
    margin-bottom: 0;
    font-weight: 800;
}

.card-body p:last-child {
    margin-bottom: 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.badge {
    font-weight: 600;
    padding: 0.5em 0.75em;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}

.progress {
    height: 10px;
    border-radius: 999px;
    margin-bottom: 1rem;
    background-color: #e8edf3;
}

.progress-bar {
    background-color: var(--primary-color);
    border-radius: inherit;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-item h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-info {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.contact-info li {
    margin-bottom: 1rem;
}

.contact-info li:last-child {
    margin-bottom: 0;
}

.contact-info i {
    width: 30px;
    color: var(--primary-color);
}

.education-badge {
    background-color: #3498db;
}

.certification-badge {
    background-color: #2ecc71;
}

.ctf-badge {
    background-color: #e74c3c;
}

.competitions-badge {
    background-color: #9b59b6;
}

.publications-badge {
    background-color: #f39c12;
}

.work-badge {
    background-color: #1abc9c;
}

.achievement-highlight {
    background-color: rgba(52, 152, 219, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 4px 4px 0;
}

.achievement-highlight h5,
.card-body h5,
.card-body h6 {
    color: var(--dark-color);
}

footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 20px 0;
    width: 100%;
    margin-top: 3rem;
}

.social-links {
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    color: var(--primary-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    color: #00a8ff;
    transform: translateY(-3px);
    text-decoration: none;
}

.social-link i {
    color: inherit;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section .row {
        flex-direction: column-reverse;
    }

    .hero-section img {
        margin-bottom: 1.5rem;
    }

    .about-photo {
        width: 96px;
        height: 96px;
    }
}
