/* Compact & Minimal Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Hero Section - Compact */
.hero.compact-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 40px 0;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.profile-header {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    align-items: center;
    padding: 0 20px;
}

.profile-main-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.hero-text h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ecf0f1;
    margin-bottom: 20px;
}

.quick-info {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.quick-info span {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.quick-info i {
    margin-right: 8px;
    color: #3498db;
}

.hero-tagline {
    font-size: 1.1rem;
    color: #ecf0f1;
    line-height: 1.6;
    max-width: 700px;
}

/* Main Content Grid */
.compact-main {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.content-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h3 i {
    color: #3498db;
}

/* Left Column */
.compact-links {
    display: grid;
    gap: 12px;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.link-btn:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.link-btn i {
    font-size: 1.1rem;
    width: 20px;
}

.cv-btn {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.cv-btn:hover {
    background: #c0392b;
}

/* Skills Tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    background: #e8f4fc;
    color: #2c3e50;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #d1e9ff;
    transition: all 0.3s;
}

.tag:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* Focus List */
.focus-list {
    list-style: none;
    padding-left: 0;
}

.focus-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.focus-list li:last-child {
    border-bottom: none;
}

.focus-list i {
    color: #3498db;
    font-size: 0.8rem;
}

/* Right Column */
.timeline-card {
    padding: 25px;
}

.compact-timeline {
    display: grid;
    gap: 15px;
}

.timeline-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: all 0.3s;
}

.timeline-row:hover {
    background: #e8f4fc;
    transform: translateX(5px);
}

.timeline-year {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.timeline-desc {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* About Summary */
.about-summary {
    line-height: 1.7;
}

.about-summary p {
    margin-bottom: 15px;
    color: #555;
}

.about-summary strong {
    color: #2c3e50;
}

.quote {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #3498db;
    position: relative;
}

.quote i {
    color: #3498db;
    font-size: 1.2rem;
    margin-right: 10px;
}

.quote p {
    margin: 0;
    font-style: italic;
    color: #666;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4fc 100%);
    border: 1px solid #d1e9ff;
}

.contact-form p {
    margin-bottom: 20px;
    color: #555;
}

.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.email-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.social-mini {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-mini a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    color: #2c3e50;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.social-mini a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
}

/* Footer */
.compact-footer {
    text-align: center;
    padding: 25px;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.footer-tagline {
    color: #3498db;
    margin-top: 8px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .profile-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    
    .profile-main-img {
        margin: 0 auto;
    }
    
    .quick-info {
        justify-content: center;
    }
    
    body {
        padding: 15px;
    }
}

@media (max-width: 600px) {
    .compact-main {
        padding: 20px 15px;
    }
    
    .hero.compact-hero {
        padding: 30px 15px;
    }
    
    .quick-info {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .timeline-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .timeline-year {
        font-size: 0.9rem;
        color: #3498db;
    }
    
    .card {
        padding: 20px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.6s ease-out;
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.3s; }