:root {
    --primary: #10b981;
    --primary-light: #34d399;
    --primary-dark: #059669;
    --accent: #6ee7b7;
    --dark: #0f172a;
    --text: #f8fafc;
    --text-muted: #cbd5e1;
}

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

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    background-size: 400% 400%;
    animation: gradientFlow 20s ease infinite;
    color: var(--text);
    scroll-behavior: smooth;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(110, 231, 183, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(52, 211, 153, 0.08) 0%, transparent 50%);
    animation: floatBubbles 30s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes floatBubbles {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: var(--text);
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    padding: 2rem 1.5rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-right: 1px solid rgba(110, 231, 183, 0.1);
    box-shadow: 4px 0 24px rgba(16, 185, 129, 0.05);
}

.sidebar-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(110, 231, 183, 0.1);
}

.sidebar-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2), 0 0 0 8px rgba(16, 185, 129, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(16, 185, 129, 0.3), transparent 30%);
    animation: rotateGlow 3s linear infinite;
}

@keyframes rotateGlow {
    100% { transform: rotate(360deg); }
}

.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.sidebar-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: rgba(110, 231, 183, 0.05);
    border-radius: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.3);
    border-radius: 4px;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.95rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.sidebar-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.5s ease;
}

.sidebar-nav a:hover::before {
    left: 100%;
}

.sidebar-nav a i {
    margin-right: 1rem;
    font-size: 1.1rem;
    width: 20px;
    transition: transform 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-light);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.sidebar-nav a:hover i,
.sidebar-nav a.active i {
    transform: scale(1.2);
}

.sidebar-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(110, 231, 183, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-light);
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.social-links a:hover {
    background: rgba(16, 185, 129, 0.25);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    border-color: var(--primary);
}

.main-content {
    margin-left: 280px;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.content-section {
    margin-bottom: 2rem;
    padding: 3rem;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(110, 231, 183, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(16, 185, 129, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(110, 231, 183, 0.5), transparent);
}

.content-section:hover {
    background: rgba(15, 23, 42, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(16, 185, 129, 0.15), 0 0 0 1px rgba(16, 185, 129, 0.1);
    border-color: rgba(110, 231, 183, 0.2);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--text), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.hero-section {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 4rem);
    padding: 3rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .typing-wrapper {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-light);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.btn-glass {
    padding: 1.1rem 2.5rem;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-glass::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-glass:hover::before {
    width: 300px;
    height: 300px;
}

.btn-glass:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.3);
    border-color: var(--primary);
}

.btn-glass.primary {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.8), rgba(52, 211, 153, 0.8));
    border-color: var(--primary);
}

.btn-glass.primary:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    align-items: start;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.2);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), transparent);
    z-index: 1;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.about-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.education-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.15);
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.education-card:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateX(12px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.education-card h4 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.education-card .institution {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.education-card .duration {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.education-card .gpa {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(52, 211, 153, 0.3));
    border-radius: 20px;
    font-weight: 600;
    margin-left: 1rem;
    border: 1px solid var(--primary);
    color: var(--text);
}

.education-card ul {
    margin: 1.2rem 0;
    padding-left: 1.5rem;
}

.education-card li {
    margin-bottom: 0.7rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.courses {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.course-badge {
    padding: 0.6rem 1.2rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--primary-light);
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.5rem;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), 0 0 20px rgba(16, 185, 129, 0.6);
    z-index: 2;
}

.timeline-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.timeline-item .company {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-style: italic;
}

.timeline-item .period {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--primary-light);
}

.timeline-item ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.timeline-item li {
    margin-bottom: 0.6rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

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

.skill-card {
    padding: 2rem;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.15);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 16px 40px rgba(16, 185, 129, 0.25);
    border-color: var(--primary);
}

.skill-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotateY(360deg);
}

.skill-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.skill-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.skill-level {
    width: 100%;
    height: 8px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3);
    border-color: var(--primary);
}

.project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image::before {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.15);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--primary-light);
}

.project-link:hover {
    background: var(--primary-light);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5);
}

.project-content {
    padding: 2rem;
}

.project-content h5 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.project-category {
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.project-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.project-filter-btn {
    padding: 0.8rem 2rem;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-filter-btn:hover,
.project-filter-btn.active {
    background: rgba(16, 185, 129, 0.25);
    border-color: var(--primary);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
}

.contact-info-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.contact-info-card h3 {
    margin-bottom: 2rem;
    color: var(--primary-light);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-light);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.contact-details h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.contact-details p {
    color: var(--text-muted);
}

.contact-form {
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--primary-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1.1rem 1.5rem;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    outline: none;
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
}

.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 2000;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--primary-light);
    font-size: 1.3rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

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

.back-to-top:hover {
    background: rgba(16, 185, 129, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar.active {
        transform: translateX(0);
        box-shadow: 8px 0 32px rgba(16, 185, 129, 0.15);
    }

    .main-content {
        margin-left: 0;
        padding: 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

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

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

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

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

@media (max-width: 768px) {
    .sidebar {
        width: 280px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content .typing-wrapper {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-glass {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 1rem 2rem;
    }

    .content-section {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .about-grid {
        gap: 2rem;
    }

    .about-text h3 {
        font-size: 1.6rem;
        margin-top: 1rem;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .skills-grid {
        gap: 1.2rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    .projects-grid {
        gap: 1.5rem;
    }

    .project-content {
        padding: 1.5rem;
    }

    .contact-grid {
        gap: 2rem;
    }

    .contact-info-card,
    .contact-form {
        padding: 2rem;
    }

    .education-card {
        padding: 2rem;
    }

    .hero-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .content-section {
        padding: 1.5rem 1rem;
        margin-bottom: 1.2rem;
        border-radius: 16px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-content .typing-wrapper {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.8rem;
    }

    .section-title::after {
        width: 50px;
        height: 3px;
    }

    .sidebar {
        width: 100%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .project-image {
        height: 180px;
    }

    .about-image {
        margin-bottom: 1rem;
    }

    .timeline-item h4 {
        font-size: 1.3rem;
    }

    .timeline-item ul {
        font-size: 0.9rem;
    }

    .skill-card {
        padding: 1.3rem;
    }

    .skill-icon {
        font-size: 2.8rem;
    }

    .education-card {
        padding: 1.5rem;
    }

    .education-card h4 {
        font-size: 1.3rem;
    }

    .contact-info-card,
    .contact-form {
        padding: 1.5rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .btn-glass {
        padding: 0.9rem 1.8rem;
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 1.5rem 1rem;
        min-height: calc(100vh - 3rem);
    }

    .main-content {
        padding: 1.2rem 0.8rem;
    }
}
