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

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    will-change: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.item {
    will-change: auto;
    transform: translateZ(0);
}

.dropdown-content {
    will-change: auto;
    transform: translateZ(0);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    padding: 60px 20px 40px 20px;
    font-weight: 400;
}

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

/* Profile Section */
.profile-section {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 40px;
}

.profile-info {
    flex: 1;
}

.name {
    font-family: Georgia, serif !important;
    font-size: 3.8rem !important;
    font-weight: 500 !important;
    margin-bottom: 8px;
    color: #000000;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.location {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
    color: #666666;
    font-size: 0.95rem;
    font-weight: 400;
}

.location i {
    font-size: 0.9rem;
}

.bio {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: #000000;
    font-weight: 500;
    line-height: 1.4;
}

.achievements {
    list-style: none;
    margin-bottom: 0;
}

.achievements li {
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: #000000;
    font-weight: 400;
    line-height: 1.4;
}

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

.photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.photo-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
}

.initials {
    font-size: 2.2rem;
    font-weight: 600;
    color: #999999;
    font-family: 'Inter', sans-serif;
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 60px;
    padding: 25px 0;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 10px 14px;
    background-color: #ffffff;
    border-radius: 25px;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.social-link:hover {
    color: #666666;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link i {
    font-size: 1.3rem;
    color: #0077b5;
}

.x-icon {
    font-size: 1.3rem;
    font-weight: bold;
}

/* Sections */
.section {
    margin-bottom: 50px;
    margin-top: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-icon {
    font-size: 1.4rem;
}

.section-header h2 {
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

/* Item List */
.item-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
    position: relative;
    z-index: 1;
}

.item:hover {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 12px 8px;
    margin: 0 -8px;
}

.item-icon {
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
    flex-shrink: 0;
}

.item-text {
    flex: 1;
    font-size: 1rem;
    color: #000000;
    font-weight: 500;
}

.item-year {
    color: #999999;
    font-size: 0.9rem;
    margin-right: 8px;
}

.item i {
    color: #cccccc;
    font-size: 0.7rem;
    transition: color 0.3s ease;
}

.item:hover i {
    color: #999999;
}

.visit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #f0f0f0;
    border-radius: 6px;
    color: #666666;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 8px;
    flex-shrink: 0;
}

.visit-button:hover {
    background-color: #e0e0e0;
    color: #333333;
    transform: scale(1.05);
}

.visit-button i {
    font-size: 0.8rem;
    color: inherit;
}

.dropdown-content {
    display: none;
    padding: 15px 0;
    margin-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.dropdown-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666666;
}

.item {
    cursor: pointer;
}

.logo-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.logo-img:hover {
    transform: scale(1.1);
}

.video-container {
    margin-top: 15px;
}

.demo-video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Company Logos */
.company-logo {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
}

.company-logo.gigfloww {
    background-color: #1e3a8a;
}

.company-logo.social-check {
    background-color: #1e3a8a;
    font-size: 1rem;
}

/* Skills */
.skills {
    margin-top: 10px;
}

.skill-tag {
    background-color: #f0f0f0;
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px 16px;
        font-size: 16px;
        -webkit-overflow-scrolling: touch;
        transform: translateZ(0);
    }
    
    .container {
        max-width: 100%;
    }
    
    .profile-section {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .name {
        font-size: 2.4rem !important;
        margin-bottom: 8px;
        line-height: 1.1;
    }
    
    .location {
        justify-content: flex-start;
        margin-bottom: 12px;
        font-size: 0.9rem;
    }
    
    .bio {
        font-size: 0.95rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .achievements {
        margin-bottom: 20px;
    }
    
    .achievements li {
        font-size: 0.85rem;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    .social-links {
        justify-content: flex-start;
        gap: 12px;
        margin-bottom: 30px;
        padding: 0;
        flex-wrap: wrap;
    }
    
    .social-link {
        padding: 10px 14px;
        font-size: 0.85rem;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        transform: translateZ(0);
    }
    
    .section {
        margin-bottom: 25px;
        margin-top: 20px;
    }
    
    .section-header h2 {
        font-size: 0.9rem;
        font-weight: 500;
    }
    
    .item {
        padding: 12px 0;
        gap: 10px;
        border-bottom: 1px solid #f5f5f5;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        transform: translateZ(0);
    }
    
    .item-text {
        font-size: 0.9rem;
        font-weight: 500;
    }
    
    .item-year {
        font-size: 0.8rem;
        color: #999;
    }
    
    .logo-img {
        width: 22px;
        height: 22px;
    }
    
    .visit-button {
        width: 28px;
        height: 28px;
        margin-right: 6px;
    }
    
    .dropdown-content {
        padding: 10px 0;
    }
    
    .dropdown-content p {
        font-size: 0.8rem;
        line-height: 1.4;
        color: #666;
    }
    
    .demo-video {
        max-width: 100%;
        margin-top: 10px;
        border-radius: 6px;
    }
    
    .skill-tag {
        font-size: 0.7rem;
        padding: 2px 6px;
        border-radius: 3px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 16px 12px;
        -webkit-overflow-scrolling: touch;
        transform: translateZ(0);
    }
    
    .name {
        font-size: 2rem !important;
    }
    
    .profile-section {
        gap: 15px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        padding: 8px 12px;
        font-size: 0.8rem;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        transform: translateZ(0);
    }
    
    .item {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .item-text {
        flex: 1;
        min-width: 0;
        font-size: 0.85rem;
    }
    
    .visit-button {
        width: 26px;
        height: 26px;
        margin-right: 4px;
    }
    
    .visit-button i {
        font-size: 0.65rem;
    }
}