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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

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

header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 3em;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

header .title {
    font-size: 2.5em;
    color: #667eea;
    font-weight: 500;
}

.profile-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-image-container {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #667eea;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.word-cloud {
    position: absolute;
    font-weight: 600;
    color: #667eea;
    opacity: 0.8;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.word-cloud:hover {
    opacity: 1;
    transform: scale(1.1);
    color: #764ba2;
}

.word-1 { top: 5%; left: 15%; font-size: 1.4em; }
.word-2 { top: 8%; right: 20%; font-size: 1.1em; }
.word-3 { top: 18%; left: 8%; font-size: 1.6em; }
.word-4 { top: 15%; right: 12%; font-size: 1.2em; }
.word-5 { top: 28%; left: 5%; font-size: 1.5em; }
.word-6 { top: 25%; right: 5%; font-size: 1.3em; }
.word-7 { top: 40%; left: 2%; font-size: 1.7em; }
.word-8 { top: 38%; right: 2%; font-size: 1.4em; }
.word-9 { top: 55%; left: 4%; font-size: 1.3em; }
.word-10 { top: 52%; right: 6%; font-size: 1.6em; }
.word-11 { top: 68%; left: 8%; font-size: 1.2em; }
.word-12 { top: 65%; right: 10%; font-size: 1.5em; }
.word-13 { top: 78%; left: 12%; font-size: 1.4em; }
.word-14 { top: 75%; right: 8%; font-size: 1.3em; }
.word-15 { top: 88%; left: 18%; font-size: 1.8em; }
.word-16 { top: 85%; right: 15%; font-size: 1.1em; }
.word-17 { bottom: 0%; left: 40%; font-size: 1.5em; }
.word-18 { top: 0%; left: 42%; font-size: 1.5em; }

.skills-carousel {
    margin-top: 30px;
}

.skills-carousel h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 2em;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    min-height: 120px;
}

.carousel-track {
    overflow: hidden;
    width: 100%;
    max-width: 800px;
}

.skill-card {
    display: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 40px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in;
}

.skill-card.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.carousel-btn {
    position: absolute;
    background: #667eea;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-btn:hover {
    background: #764ba2;
    transform: scale(1.1);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #667eea;
    transform: scale(1.3);
}

.experience-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.experience-section h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 2em;
    text-align: center;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.tab-btn {
    background: #f5f5f5;
    border: none;
    padding: 12px 20px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
    color: #555;
    font-weight: 500;
}

.tab-btn:hover {
    background: #e0e0e0;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.tab-content {
    display: none;
    animation: fadeInTab 0.4s ease-in;
}

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

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h3 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.company {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.location {
    color: #888;
    font-style: italic;
    margin-bottom: 20px;
}

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

.description p {
    margin-bottom: 15px;
}

.description strong {
    color: #2c3e50;
    display: block;
    margin-top: 20px;
    margin-bottom: 5px;
}

.description ul {
    margin: 15px 0;
    padding-left: 25px;
}

.description li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    background: #e8eaf6;
    color: #667eea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

footer {
    text-align: center;
    padding: 30px;
    color: white;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header .title {
        font-size: 1.2em;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }

    .profile-image-container {
        min-height: 400px;
    }

    .word-cloud {
        font-size: 0.8em !important;
    }

    .carousel-container {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }

    .skill-card {
        font-size: 1.1em;
        padding: 20px 25px;
    }

    .tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        border-radius: 8px;
    }

    .tab-content h3 {
        font-size: 1.4em;
    }
}
