/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.profile-image {
    flex-shrink: 0;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.profile-details h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-details h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    opacity: 0.9;
}

.tagline {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.8;
    font-style: italic;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.contact-item i {
    width: 20px;
    color: rgba(255, 255, 255, 0.8);
}

/* Current Role Section */
.current-role-section {
    background: white;
    padding: 40px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.role-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.current-job h3, .side-project h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-card {
    padding: 25px;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.job-card.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.job-card.secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-color: #f093fb;
}

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

.job-card h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.job-card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.job-card h5 a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.job-card h5 a:hover {
    border-bottom: 1px solid currentColor;
    opacity: 1;
}

.job-period {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.job-description {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Entrepreneurial Experience Section */
.entrepreneurial-section {
    background: white;
    padding: 60px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.entrepreneurial-section h3 {
    text-align: center;
    margin-bottom: 50px;
}

.entrepreneurial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.entrepreneurial-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.entrepreneurial-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.entrepreneurial-image {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.entrepreneurial-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.entrepreneurial-content {
    padding: 30px;
}

.entrepreneurial-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.entrepreneurial-period {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 8px;
}

.entrepreneurial-role {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.entrepreneurial-description {
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.entrepreneurial-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.entrepreneurial-tags .tag {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    gap: 50px;
}

/* Section Headers */
section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.timeline-marker {
    position: absolute;
    left: -37px;
    top: 30px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #667eea;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #667eea;
}

.timeline-marker.current {
    background: #f093fb;
    box-shadow: 0 0 0 3px #f093fb;
}

.timeline-content h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

.timeline-content h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #667eea;
    font-weight: 500;
}

.period {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.location {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.skills-used {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.skill-name {
    min-width: 120px;
    font-weight: 500;
    color: #333;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 1s ease;
}

.skill-percentage {
    min-width: 40px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Visualization Section */
.visualization-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.viz-placeholder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.viz-container h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.chart-placeholder {
    height: 450px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.chart-placeholder:hover {
    border-color: #667eea;
    background: #f0f2ff;
}

.chart-placeholder p {
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.placeholder-content i {
    font-size: 3rem;
    color: #667eea;
    opacity: 0.5;
}

/* Education Section */
.education-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.education-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.education-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.education-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

.education-item h5 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #667eea;
    font-weight: 500;
}

/* Footer */
.footer-section {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-info {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .profile-details h1 {
        font-size: 2.5rem;
    }

    .role-highlight {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .viz-placeholder {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 20px;
    }

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

    .skill-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .skill-name {
        min-width: auto;
    }

    .entrepreneurial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .entrepreneurial-item {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header-section {
        padding: 40px 0;
    }

    .profile-details h1 {
        font-size: 2rem;
    }

    .main-content {
        padding: 40px 0;
    }

    .timeline-item {
        padding: 20px;
    }

    .entrepreneurial-content {
        padding: 20px;
    }

    .entrepreneurial-image {
        height: 150px;
    }
}

/* Animation for progress bars */
@keyframes progressAnimation {
    from {
        width: 0;
    }
}

.progress {
    animation: progressAnimation 1.5s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}
