/* 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: linear-gradient(135deg, #782f40 0%, #a6336b 100%);
    min-height: 100vh;
}

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

/* Header/Hero Section */
.hero {
    background: linear-gradient(135deg, #782f40 0%, #a6336b 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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 1000 1000"><polygon fill="%23ffffff08" points="0,1000 1000,0 1000,1000"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-section {
    text-align: left;
}

.profile-image {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
}

.profile-fallback i {
    font-size: 60px;
    color: white;
}

.name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title {
    font-size: 1.4rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 20px;
}

.contact-info {
    text-align: right;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-item i {
    margin-left: 12px;
    width: 20px;
    text-align: center;
    opacity: 0.8;
}

/* Summary Section */
.summary {
    background: white;
    padding: 80px 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #782f40, #a6336b);
    border-radius: 2px;
}

.summary-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.summary-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.achievements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.achievement-card {
    background: linear-gradient(135deg, #782f40 0%, #a6336b 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 15px;
    transform: translateY(0);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(120, 47, 64, 0.3);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(120, 47, 64, 0.4);
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.achievement-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Expertise Section */
.expertise {
    background: #f8f9fa;
    padding: 80px 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.expertise-category {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.expertise-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.expertise-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.expertise-category h3 i {
    margin-right: 12px;
    color: #782f40;
    font-size: 1.5rem;
}

.expertise-category ul {
    list-style: none;
}

.expertise-category li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    transition: color 0.3s ease;
}

.expertise-category li:last-child {
    border-bottom: none;
}

.expertise-category li:hover {
    color: #782f40;
}

/* Experience Timeline */
.experience {
    background: white;
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #782f40, #a6336b);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 120px;
}

.timeline-marker {
    position: absolute;
    left: 38px;
    top: 20px;
    width: 24px;
    height: 24px;
    background: #782f40;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #782f40;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #782f40;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.company-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}

.company-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
}

.location {
    color: #666;
    font-size: 1rem;
}

.duration {
    background: linear-gradient(45deg, #782f40, #a6336b);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.achievements-list {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.achievement-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: #782f40;
    color: white;
    transform: translateX(5px);
}

.achievement-item i {
    margin-right: 15px;
    color: #782f40;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.achievement-item:hover i {
    color: white;
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.metric {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #782f40, #a6336b);
    color: white;
    border-radius: 10px;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Education Section */
.education {
    background: #f8f9fa;
    padding: 80px 0;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.education-item {
    background: white;
    padding: 50px 40px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.education-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.education-item i {
    font-size: 3rem;
    color: #782f40;
    margin-bottom: 25px;
}

.education-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.education-item p {
    font-size: 1.2rem;
    color: #782f40;
    margin-bottom: 15px;
    font-weight: 500;
}

.education-item span {
    color: #666;
    font-size: 1rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .achievements {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 8px;
    }
    
    .company-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .impact-metrics {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-content {
        padding: 25px;
    }
    
    .achievements {
        grid-template-columns: 1fr;
    }
    
    .achievement-card {
        padding: 30px 20px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Print styles */
@media print {
    .hero {
        background: white !important;
        color: black !important;
    }
    
    .achievement-card,
    .metric {
        background: white !important;
        color: black !important;
        border: 1px solid #ccc !important;
    }
    
    .timeline-content:hover {
        transform: none !important;
    }
}
