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

:root {
    --bg-primary: #f0f4ff;
    --bg-secondary: #ffffff;
    --accent: #ff6b35;
    --accent-glow: rgba(255, 107, 53, 0.3);
    --text-primary: #1a1a2e;
    --text-secondary: #5a5a6e;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border: rgba(255, 107, 53, 0.2);
    --gradient-1: #ff6b35;
    --gradient-2: #f7931e;
    --gradient-3: #4ecdc4;
    --gradient-4: #6c5ce7;
}

[data-theme="dark"] {
    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --accent: #00d9ff;
    --accent-glow: rgba(0, 217, 255, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --card-bg: rgba(26, 31, 58, 0.8);
    --border: rgba(0, 217, 255, 0.2);
    --gradient-1: #00d9ff;
    --gradient-2: #6366f1;
    --gradient-3: #ec4899;
    --gradient-4: #8b5cf6;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.theme-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(180deg);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.theme-toggle i {
    font-size: 24px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gradient-1) 0%, transparent 70%);
    top: -15%;
    left: -15%;
    animation-delay: 0s;
}

.shape-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--gradient-4) 0%, transparent 70%);
    bottom: -20%;
    right: -15%;
    animation-delay: 7s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gradient-3) 0%, transparent 70%);
    top: 40%;
    right: 5%;
    animation-delay: 14s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--gradient-2) 0%, transparent 70%);
    top: 20%;
    left: 30%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

.card {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.8s ease-out;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3), var(--gradient-4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateGradient 8s linear infinite;
}

@keyframes rotateGradient {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.header {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    align-items: flex-start;
    animation: fadeIn 1s ease-out 0.2s backwards;
}

.profile-img-container {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    border: 4px solid transparent;
    background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
        linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3)) border-box;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
    animation: floatProfile 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

@keyframes floatProfile {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.profile-placeholder {
    font-size: 72px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-content {
    flex: 1;
}

.name {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.name-highlight {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.name-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
    animation: underlineExpand 1s ease-out 0.5s backwards;
}

@keyframes underlineExpand {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.title {
    font-size: 18px;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 16px;
    animation: typewriter 2s steps(40) 0.8s backwards;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--accent);
    width: fit-content;
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.social-btn:hover {
    color: white;
    border-color: var(--accent);
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.social-btn:hover::before {
    width: 200%;
    height: 200%;
}

.social-btn i {
    position: relative;
    z-index: 1;
}

.about {
    margin-bottom: 32px;
    animation: fadeIn 1s ease-out 0.4s backwards;
}

.section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    font-weight: 700;
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent);
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 15px 40px var(--accent-glow);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services {
    margin-bottom: 32px;
    animation: fadeIn 1s ease-out 0.9s backwards;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.service-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 12px var(--accent-glow);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.service-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.3;
}

.service-description {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.timeline {
    margin-bottom: 32px;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.timeline-item {
    position: relative;
    padding-left: 32px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-left: 2px solid var(--border);
}

.timeline-item:last-child {
    border-left: 2px solid transparent;
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    box-shadow: 0 0 15px var(--accent-glow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.timeline-company {
    font-size: 16px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-date {
    font-size: 13px;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    background: var(--bg-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.timeline-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.timeline-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.publication-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.publication-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.publication-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.publication-venue {
    font-size: 14px;
    color: var(--accent);
    font-style: italic;
    margin-bottom: 4px;
}

.publication-location {
    font-size: 13px;
    color: var(--text-secondary);
}

.cert-grid {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.cert-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cert-item:hover {
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 5px 20px var(--accent-glow);
}

.cert-icon {
    font-size: 24px;
    color: var(--accent);
}

.cert-content {
    flex: 1;
}

.cert-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cert-issuer {
    font-size: 13px;
    color: var(--text-secondary);
}

.projects {
    margin-bottom: 32px;
    animation: fadeIn 1s ease-out 0.7s backwards;
}

.project-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.filter-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    border-color: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.project-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.project-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.project-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    flex: 1;
}

.project-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.project-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: 12px;
    font-family: 'JetBrains Mono', monospace;
}

.project-links {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.project-link {
    flex: 1;
    padding: 8px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 12px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.project-link:hover {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    border-color: transparent;
    transform: scale(1.05);
}

.project-link i {
    font-size: 12px;
}

.testimonials {
    margin-bottom: 32px;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.testimonials-grid {
    display: grid;
    gap: 16px;
}

.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 80px;
    color: var(--accent);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.testimonial-position {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.testimonial-platform {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
}

.testimonial-platform i {
    font-size: 16px;
}

.testimonial-content {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 14px;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 14px;
}

.skills {
    margin-bottom: 32px;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.skill-tag {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.2), transparent);
    transition: left 0.5s ease;
}

.skill-tag:hover {
    border-color: var(--accent);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px var(--accent-glow);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
}

.skill-tag:hover::before {
    left: 100%;
}

.contact {
    animation: fadeIn 1s ease-out 1s backwards;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 14px;
}

.contact-item:hover {
    border-color: var(--accent);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-3));
    border-radius: 50%;
    pointer-events: none;
    animation: rise 8s infinite ease-in;
    opacity: 0;
    z-index: 0;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

@keyframes rise {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    body {
        padding: 100px 20px 40px;
    }

    .theme-toggle {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .theme-toggle i {
        font-size: 20px;
    }

    .card {
        padding: 32px 24px;
    }

    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .location {
        justify-content: center;
    }

    .name {
        font-size: 32px;
    }

    .profile-img,
    .profile-img-container {
        width: 140px;
        height: 140px;
    }

    .profile-placeholder {
        font-size: 56px;
    }

    .social-links {
        justify-content: center;
    }

    .title {
        border-right: none;
        white-space: normal;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-date {
        align-self: flex-start;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* See More Button - Updated with proper z-index */
.see-more-btn {
    grid-column: 1 / -1;
    padding: 12px 24px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.see-more-btn:hover {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.see-more-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.see-more-btn:hover i {
    transform: translateY(2px);
}

.see-more-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.see-more-btn:hover i {
    transform: translateY(2px);
}

/* Floating Button */
.wa-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Popup Box */
.wa-popup {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 50;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.wa-header {
    background: #25d366;
    color: white;
    padding: 12px;
    font-weight: bold;
}

.wa-body {
    padding: 15px;
    font-size: 14px;
    color: #333;
}

.wa-body p {
    margin: 0 0 10px;
}

.wa-body a {
    display: block;
    background: #25d366;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.wa-close {
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
}
/* CTA Buttons - Fixed */
.cta-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;

}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  z-index: 10;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-primary {
  background: var(--accent);
  color: var(--text-primary);
  border: 1px solid var(--accent);
}

.cta-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.cta-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.cta-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Contact Form - Complete Fix */
.contact-form-wrapper {
  margin: 40px 0;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 100;
  pointer-events: auto;
}

.form-intro {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 100;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 100;
  pointer-events: auto;
}

.input-group {
  margin-bottom: 20px;
  position: relative;
  z-index: 100;
  pointer-events: auto;
}

.input-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.9rem;
  position: relative;
  z-index: 100;
}

.input-group label i {
  color: var(--accent);
  font-size: 0.85rem;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 100;
  pointer-events: auto;
  cursor: text;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  z-index: 101;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.input-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 100;
  pointer-events: auto;
}

.submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  color: var(--accent);
  box-shadow: 0 4px 15px var(--shadow);
  border: 1.5px solid var(--border);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-btn {
    width: 100%;
    justify-content: center;
  }
}
/* Navbar - Creative Rounded Left Design */
.navbar {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 25px 15px 15px 25px;
    background: var(--card-bg);
    border: 2px solid var(--border);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    transition: left 0.4s ease;
    z-index: -1;
}

.nav-btn:hover::before {
    left: 0;
}

.nav-btn:hover {
    color: white;
    border-color: var(--accent);
    transform: translateX(10px);
    box-shadow: 0 5px 20px var(--accent-glow);
}

.nav-btn i {
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.nav-tooltip {
    position: absolute;
    left: 60px;
    background: var(--card-bg);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.nav-btn:hover .nav-tooltip {
    opacity: 1;
    left: 70px;
}

/* Mobile Navbar Toggle */
.nav-toggle {
    display: none;
    position: fixed;
    left: 20px;
    top: 20px;
    width: 50px;
    height: 50px;
    border-radius: 25px 15px 15px 25px;
    background: var(--card-bg);
    border: 2px solid var(--border);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    color: var(--text-primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-toggle i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.nav-toggle.active i {
    transform: rotate(90deg);
}

/* Footer Section - Simplified */
.footer {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    margin-top: 60px;
    padding: 30px 0 20px;
    border-top: 2px solid var(--border);
    animation: fadeIn 1s ease-out 1.2s backwards;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 13px;
}

.footer-copyright strong {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-links-bottom a:hover {
    color: var(--accent);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .navbar {
        left: 20px;
        top: 150px;
        transform: translateY(0);
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .navbar.show {
        opacity: 1;
        visibility: visible;
    }

    .nav-btn {
        width: 45px;
        height: 45px;
    }

    .nav-btn i {
        font-size: 16px;
    }

    .nav-tooltip {
        display: none;
    }

    .footer {
        margin-top: 40px;
        padding: 20px 0 15px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .scroll-to-top {
        bottom: 95px;
    }
}