section {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

.profile-img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.3);
    object-fit: cover;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    color: #2c3e50;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-custom {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
}

.timeline-item {
    border-left: 3px solid #667eea;
    padding-left: 30px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #667eea;
}

.skill-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    margin: 5px;
    display: inline-block;
    font-size: 0.9em;
}

.achievement-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
}

.stats-counter {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.section-bg-image {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

.section-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}

.section-bg-light::before {
    background: rgba(255,255,255,0.8);
}

.section-bg-dark::before {
    background: rgba(0,0,0,0.8);
}

.section-bg-image .container {
    position: relative;
    z-index: 2;
}

.section-bg-image .section-title,
.section-bg-image h1,
.section-bg-image h2,
.section-bg-image h3,
.section-bg-image h5 {
    color: white !important;
}

.section-bg-image .section-title::after {
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
}

.section-bg-light .section-title,
.section-bg-light h1,
.section-bg-light h2,
.section-bg-light h3,
.section-bg-light h4,
.section-bg-light h5,
.section-bg-light p {
    color: #2c3e50 !important;
}

.section-bg-light .section-title::after {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.section-bg-image .card-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.section-bg-dark .card-custom {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.section-bg-dark .card-custom .card-title {
    color: #667eea !important;
    font-weight: 600;
}

.section-bg-dark .card-custom .card-text {
    color: #2c3e50 !important;
    font-weight: 500;
}

.section-bg-image .achievement-card {
    background: rgba(240, 147, 251, 0.9) !important;
    backdrop-filter: blur(10px);
}

.bg-teaching-light {
    background-image: url('/img/lp/lp_portfolio/teaching-classroom-light.jpeg?prompt=Bright%20modern%20classroom%2C%20natural%20sunlight%2C%20white%20desks%2C%20students%20with%20laptops%2C%20clean%20minimalist%20educational%20environment%2C%20light%20atmosphere');
}

.bg-disciplines-dark {
    background-image: url('/img/lp/lp_portfolio/coding-background-dark.jpeg?prompt=Dark%20coding%20environment%2C%20multiple%20monitors%20with%20colorful%20code%2C%20night%20programming%2C%20neon%20syntax%20highlighting%2C%20developer%20workspace%2C%20dark%20theme');
}

.bg-achievements {
    background-image: url('/img/lp/lp_portfolio/success-background.jpeg?prompt=Awards%20and%20achievements%2C%20golden%20trophies%2C%20certificates%2C%20success%20celebration%2C%20professional%20recognition');
}

.bg-career-path-dark {
    background-image: url('/img/lp/lp_portfolio/career-roadmap-dark.jpeg?prompt=Dark%20technology%20background%2C%20career%20path%20with%20glowing%20nodes%2C%20programming%20icons%2C%20digital%20circuit%20patterns%2C%20futuristic%20career%20timeline%2C%20neon%20accents');
}

.career-timeline {
    position: relative;
    padding: 40px 0;
}

.career-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
}

.career-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.career-item:nth-child(1) { animation-delay: 0.2s; }
.career-item:nth-child(2) { animation-delay: 0.4s; }
.career-item:nth-child(3) { animation-delay: 0.6s; }

.career-item.left {
    padding-right: calc(50% + 40px);
    text-align: right;
}

.career-item.right {
    padding-left: calc(50% + 40px);
    text-align: left;
}

.career-item::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #667eea;
    border-radius: 50%;
    z-index: 3;
}

.career-item.left::before {
    right: calc(50% - 10px);
}

.career-item.right::before {
    left: calc(50% - 10px);
}

.career-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.career-years {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9em;
    display: inline-block;
    margin-bottom: 15px;
}

.career-company {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 10px;
}

.career-role {
    color: #2c3e50;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 15px;
}

.career-description {
    color: #666;
    line-height: 1.6;
}

.career-tech-stack {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.tech-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    margin: 3px;
    display: inline-block;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .career-timeline::before {
        left: 30px;
    }
    
    .career-item.left,
    .career-item.right {
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }
    
    .career-item.left::before,
    .career-item.right::before {
        left: 20px;
        right: auto;
    }
}
