:root {
    --primary-light: #e6f2ff;
    --primary-main: #4a90e2;
    --primary-dark: #2a6fc9;
    --text-on-primary: #ffffff;
}

body {
    padding-top: 56px;
    background-color: #f8fbfe;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #555;
    letter-spacing: 0.3px;
}

section {
    padding: 40px 0 60px 0;
}

.hero {
    background-color: var(--primary-light);
    padding: 80px 0 10px 0;
    color: #333;
}

.language-category {
    margin-bottom: 30px;
    text-align: center;
}

/* Skills grid improvements */
#skills .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.language-category {
    flex: 0 0 calc(25% - 30px);
    margin: 15px;
}

@media (max-width: 992px) {
    .language-category {
        flex: 0 0 calc(33.333% - 30px);
    }
}

@media (max-width: 768px) {
    .language-category {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 576px) {
    .language-category {
        flex: 0 0 100%;
    }
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-main);
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-main);
}

.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
    border: none;
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
    cursor: pointer;
}

.card-body div a {
    z-index: 100;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-main);
    border-color: var(--primary-main);
}

.btn-outline-primary:hover {
    background-color: var(--primary-main);
    color: var(--text-on-primary);
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    min-height: 70px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.list-group-item {
    border-left: 3px solid var(--primary-main);
    margin-bottom: 5px;
    border-radius: 4px !important;
}

#propExchange::before {
    content: "";
    background-image: url('../Laravel.svg.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.1;
}

#theSideline::before {
    content: "";
    background-image: url('../jquery_js.jpg');
    background-size: 100% 100%;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.1;
}

#bookTracker::before {
    content: "";
    background-image: url('../react_express.png');
    background-size: 100% 100%;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.1;
}


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

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.1);
}

/* Profile Card Styles */
.profile-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.15);
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-main);
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.profile-links {
    margin-top: 1.5rem;
}

.profile-link {
    display: block;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: var(--primary-main);
    font-weight: 500;
    transition: color 0.3s ease;
}

.profile-link:hover {
    color: var(--primary-dark);
}

.contact-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.15);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.hero-content {
    padding-left: 2rem;
}

@media (max-width: 768px) {
    .hero-content {
        padding-left: 0;
        margin-top: 2rem;
    }
}

/* Professional Summary Styling */
.professional-summary h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.professional-summary ul li {
    padding: 0.5rem 0;
    border-left: 3px solid transparent;
    padding-left: 0.5rem;
    transition: all 0.3s ease;
}

.professional-summary ul li:hover {
    border-left-color: var(--primary-main);
    background-color: rgba(74, 144, 226, 0.05);
    border-radius: 0 5px 5px 0;
    padding-left: 0.75rem;
}

.professional-summary .fas {
    font-size: 0.9rem;
}

/* Lead paragraph styling */
.lead {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #555;
    letter-spacing: 0.3px;
}

/* Large titles - keep original Bootstrap font */
.display-4,
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.card-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    color: #333;
    letter-spacing: normal;
}

/* Specific styling for main titles */
.profile-card h3,
.contact-card h5 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    color: #333;
}

/* Professional summary content styling */
.professional-summary p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #555;
    letter-spacing: 0.3px;
}

/* Skills page styling */
.skill-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
    border: none;
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.1);
}

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

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

.skill-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.skill-list-container {
    margin: 1rem 0;
}

.skill-item {
    background: rgba(74, 144, 226, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem 0;
    font-size: 0.9rem;
    display: inline-block;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(74, 144, 226, 0.1);
    border-color: rgba(74, 144, 226, 0.3);
    transform: translateY(-1px);
}

.skill-item strong {
    color: var(--primary-main);
}