@import url('styles/base.css');
@import url('styles/nav.css');
@import url('styles/hero.css');
@import url('styles/section.css');
@import url('styles/about.css');
@import url('styles/skills.css');
@import url('styles/projects.css');
@import url('styles/contact.css');
@import url('styles/footer.css');
@import url('styles/responsive.css');
@import url('styles/animations.css');
@import url('styles/experience.css');
@import url('styles/achievements.css');

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e6f9ed;
    color: #1f9751;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: fit-content;
}

.availability-badge .dot {
    width: 8px;
    height: 8px;
    background: #11c26b;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(17, 194, 107, 0.15);
}

.stats-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #667eea15, #764ba215);
    color: #667eea;
    font-size: 1.25rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .stats-grid { grid-template-columns: 1fr; }
}

.achievement-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.achievement-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.achievement-date {
    display: inline-block;
    background: #f8f9fa;
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Certification links styling */
.achievement-card ul li a:hover {
    color: #764ba2 !important;
    text-decoration: underline !important;
}

.achievement-card ul li {
    color: #666;
}

/* Project header styling */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-header h3 {
    flex: 1;
    margin: 0;
}

.project-date {
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 1rem;
}

/* Contact section enhancements */
.contact-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Footer enhancements */
.footer-main {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-main h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-main p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #667eea;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0;
}

/* About section - update stats for 4 columns */
.about .stats {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive updates for new sections */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        margin-right: 0;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .about .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-header {
        flex-direction: column;
    }

    .project-date {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .about .stats {
        grid-template-columns: 1fr;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .achievement-card {
        padding: 2rem 1.5rem;
    }
}