/* Modern Neomorphic Design */
:root {
    --primary: #202426;
    --secondary: #333a3f;
    --accent: #147efb;
    --accent-hover: #0069e6;
    --background: #ecf0f3;
    --text: #333a3f;
    --text-light: #646e73;
    --shadow-light: #ffffff;
    --shadow-dark: #d1d9e6;
    --card-bg: #ecf0f3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Display', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Arial', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

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

.resume-header {
    padding: 50px;
    text-align: left;
    position: relative;
    border-radius: 30px;
    background: var(--background);
    box-shadow: 15px 15px 30px var(--shadow-dark),
                -15px -15px 30px var(--shadow-light);
    margin-bottom: 50px;
}

.header-content {
    position: relative;
    z-index: 2;
}

.resume-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.resume-header h1 span {
    color: var(--accent);
}

.resume-header p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 700px;
    color: var(--text-light);
}

.personal-info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 35px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 15px;
    background: var(--background);
    box-shadow: 5px 5px 10px var(--shadow-dark),
                -5px -5px 10px var(--shadow-light);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 16px var(--shadow-dark),
                -8px -8px 16px var(--shadow-light);
}

.info-item i {
    margin-right: 12px;
    color: var(--accent);
    font-size: 1.1rem;
}

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

.social-links a {
    color: var(--text-light);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--background);
    box-shadow: 5px 5px 10px var(--shadow-dark),
                -5px -5px 10px var(--shadow-light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 8px 8px 16px var(--shadow-dark),
                -8px -8px 16px var(--shadow-light);
}

.resume-section {
    padding: 50px;
    margin-bottom: 50px;
    border-radius: 30px;
    background: var(--background);
    box-shadow: 15px 15px 30px var(--shadow-dark),
                -15px -15px 30px var(--shadow-light);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 35px;
    color: var(--primary);
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 5px;
    background: var(--accent);
    border-radius: 5px;
}

.resume-summary {
    margin-bottom: 40px;
    max-width: 900px;
    color: var(--text);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.skill-tag {
    background: var(--background);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 5px 5px 10px var(--shadow-dark),
                -5px -5px 10px var(--shadow-light);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 8px 8px 16px var(--shadow-dark),
                -8px -8px 16px var(--shadow-light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 35px;
}

.expertise-card {
    border-radius: 20px;
    padding: 30px;
    background: var(--background);
    box-shadow: 8px 8px 16px var(--shadow-dark),
                -8px -8px 16px var(--shadow-light);
    height: 100%;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 12px 12px 24px var(--shadow-dark),
                -12px -12px 24px var(--shadow-light);
}

.expertise-title {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
}

.expertise-title i {
    margin-right: 15px;
    color: var(--accent);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--background);
    box-shadow: inset 5px 5px 10px var(--shadow-dark),
                inset -5px -5px 10px var(--shadow-light);
}

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

.expertise-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
    color: var(--text);
}

.expertise-list li:before {
    content: '→';
    color: var(--accent);
    position: absolute;
    left: 0;
}

.experience-item {
    margin-bottom: 40px;
    position: relative;
    padding: 30px;
    border-radius: 20px;
    background: var(--background);
    box-shadow: 8px 8px 16px var(--shadow-dark),
                -8px -8px 16px var(--shadow-light);
    transition: all 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 24px var(--shadow-dark),
                -12px -12px 24px var(--shadow-light);
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.experience-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary);
}

.experience-company {
    font-weight: 500;
    color: var(--accent);
    margin-top: 5px;
    font-size: 1.1rem;
}

.experience-date {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--background);
    box-shadow: inset 3px 3px 7px var(--shadow-dark),
                inset -3px -3px 7px var(--shadow-light);
    margin-top: 5px;
}

.experience-description {
    margin-bottom: 20px;
    color: var(--text);
}

.experience-achievements {
    list-style: none;
}

.experience-achievements li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    color: var(--text);
}

.experience-achievements li:before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 0.8;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 35px;
}

.tools-category {
    margin-bottom: 35px;
}

.tools-category h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.tools-category h4 i {
    margin-right: 15px;
    color: var(--accent);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--background);
    box-shadow: inset 3px 3px 7px var(--shadow-dark),
                inset -3px -3px 7px var(--shadow-light);
}

.tools-list {
    list-style: none;
}

.tools-list li {
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--background);
    box-shadow: 5px 5px 10px var(--shadow-dark),
                -5px -5px 10px var(--shadow-light);
    transition: all 0.3s ease;
}

.tools-list li:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 16px var(--shadow-dark),
                -8px -8px 16px var(--shadow-light);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 35px;
}

.media-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--background);
    box-shadow: 8px 8px 16px var(--shadow-dark),
                -8px -8px 16px var(--shadow-light);
    transition: all 0.3s ease;
}

.media-card:hover {
    transform: translateY(-10px);
    box-shadow: 12px 12px 24px var(--shadow-dark),
                -12px -12px 24px var(--shadow-light);
}

.media-image {
    height: 180px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-card:hover .media-image img {
    transform: scale(1.05);
}

.media-content {
    padding: 25px;
}

.media-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.media-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.media-tag {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

footer {
    text-align: center;
    padding: 40px;
    font-size: 0.9rem;
    color: var(--text-light);
}

footer p {
    margin-top: 20px;
}

.accent-text {
    color: var(--accent);
    font-weight: 500;
}

/* Additional Styling for ENS Domain */
.ens-domain {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 50px;
    margin-left: 15px;
    background: var(--background);
    box-shadow: inset 3px 3px 7px var(--shadow-dark),
                inset -3px -3px 7px var(--shadow-light);
    font-size: 0.9rem;
}

.ens-domain i {
    margin-right: 10px;
    color: var(--accent);
}

/* Pressed effect for buttons */
.pressed {
    box-shadow: inset 5px 5px 10px var(--shadow-dark),
                inset -5px -5px 10px var(--shadow-light);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --background: #2d3035;
        --text: #e0e0e5;
        --text-light: #a0a0a8;
        --primary: #f5f5f7;
        --secondary: #d0d0d5;
        --shadow-dark: #252830;
        --shadow-light: #353840;
    }
}

/* Utility classes */
.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.highlight {
    color: var(--accent);
    font-weight: 500;
}

@media (max-width: 768px) {
    .expertise-grid, .tools-grid, .media-grid {
        grid-template-columns: 1fr;
    }
    
    .resume-header, .resume-section {
        padding: 30px;
    }
    
    .experience-header {
        flex-direction: column;
    }
    
    .experience-date {
        margin-top: 10px;
        align-self: flex-start;
    }
    
    .personal-info {
        gap: 15px;
        flex-direction: column;
    }
    
    .resume-header h1 {
        font-size: 2.2rem;
    }
}

.media-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
    color: var(--accent);
    position: relative;
    padding-right: 20px;
}

.media-link:after {
    content: '→';
    position: absolute;
    right: 0;
    transition: all 0.3s ease;
}

.media-link:hover:after {
    right: -5px;
}

.x-icon svg {
    fill: currentColor;
    vertical-align: middle;
}

.info-item svg {
    fill: var(--accent);
    margin-right: 12px;
}