* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

header {
    text-align: center;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 30px;
    margin: -40px -40px 20px -40px;
    border-radius: 15px 15px 0 0;
    position: relative;
    overflow: hidden;
}

header::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="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.profile-photo {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.profile-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    object-fit: cover;
    background: #bdc3c7;
}

.profile-photo img[src="profile.jpg"] {
    background: linear-gradient(135deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: bold;
}

header h1, header .subtitle {
    position: relative;
    z-index: 1;
}

header h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header .subtitle {
    color: #ecf0f1;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #2c3e50;
    background-color: #f8f9fa;
}

.tab-btn.active {
    color: #2c3e50;
    border-bottom-color: #2c3e50;
    font-weight: bold;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #2c3e50;
}

.subtitle {
    font-size: 1.2em;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1em;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.contact-info p:last-child {
    border-bottom: none;
}

section {
    margin-bottom: 30px;
}

h2 {
    color: #2c3e50;
    border-bottom: 1px solid #bdc3c7;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

h3 {
    color: #34495e;
    margin-bottom: 5px;
}

.date {
    font-style: italic;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.job, .degree, .project {
    margin-bottom: 20px;
}

ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 5px;
}

.skill-categories {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.skill-group {
    flex: 1;
    min-width: 200px;
}

.skill-group h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #bdc3c7;
    color: #7f8c8d;
    font-size: 0.9em;
}

.floating-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.icon {
    position: absolute;
    font-size: 24px;
    opacity: 0.1;
    animation: float 15s infinite linear;
    animation-delay: var(--delay);
}

.icon:nth-child(1) { left: 10%; top: 20%; }
.icon:nth-child(2) { left: 80%; top: 10%; }
.icon:nth-child(3) { left: 20%; top: 60%; }
.icon:nth-child(4) { left: 70%; top: 70%; }
.icon:nth-child(5) { left: 50%; top: 30%; }
.icon:nth-child(6) { left: 90%; top: 50%; }

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .skill-categories {
        flex-direction: column;
        gap: 15px;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .icon {
        font-size: 18px;
    }
}

.resume-actions {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.download-btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 24px;
    margin: 0 10px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.download-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.pdf-btn {
    background: #e74c3c;
}

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

.summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #3498db;
}

.certifications {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.certifications h4 {
    color: #2c3e50;
    margin-bottom: 8px;
}

@media (max-width: 600px) {
    .download-btn {
        display: block;
        margin: 10px auto;
        width: 200px;
    }
}

.devops-pipeline {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: -1;
    opacity: 0.1;
}

.pipeline-stage {
    background: #3498db;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    animation: pipelineFlow 4s infinite;
    animation-delay: var(--stage-delay);
}

.pipeline-arrow {
    color: #3498db;
    font-size: 20px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pipelineFlow {
    0%, 80% { background: #95a5a6; }
    20%, 60% { background: #3498db; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.monitoring-dashboard {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 200px;
    z-index: -1;
    opacity: 0.1;
}

.metric-bar {
    height: 8px;
    background: linear-gradient(90deg, #e74c3c, #f39c12, #27ae60);
    margin: 5px 0;
    border-radius: 4px;
    animation: metricUpdate 3s infinite;
    animation-delay: var(--metric-delay);
    width: var(--metric-width);
}

@keyframes metricUpdate {
    0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 0.8; transform: scaleX(1); }
}

@media (max-width: 600px) {
    .devops-pipeline {
        top: 10px;
        font-size: 10px;
        gap: 5px;
    }
    
    .pipeline-stage {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    .monitoring-dashboard {
        width: 150px;
        bottom: 10px;
        right: 10px;
    }
}