:root {
    /* Premium Color Palette */
    --bg-color: #05050c; /* Ultra deep blue-black */
    --bg-card: rgba(10, 10, 20, 0.45);
    
    --text-primary: #f3f4f6; /* Off-white */
    --text-secondary: #9ca3af; /* Soft grey */
    --text-muted: #6b7280;
    
    --accent-color: #3b82f6; /* Neon Blue */
    --accent-glow: rgba(59, 130, 246, 0.3);
    
    --secondary-accent: #8b5cf6; /* Electric Violet */
    --secondary-glow: rgba(139, 92, 246, 0.3);
    
    --success-color: #10b981; /* Emerald */
    --success-glow: rgba(16, 185, 129, 0.3);
    
    /* Glassmorphism spec */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.6);
    
    /* Animations */
    --transition-fast: 0.25s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-accent) var(--bg-color);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Blobs for Atmospheric Depth */
.blob {
    position: absolute;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.45;
    pointer-events: none;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -5%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-color), transparent 70%);
}

.blob-2 {
    top: 45%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--secondary-accent), transparent 70%);
    animation-duration: 25s;
    animation-delay: -5s;
}

.blob-3 {
    bottom: -5%;
    left: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ec4899, transparent 70%); /* Rose accent */
    animation-duration: 18s;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(60px, 40px) scale(1.1) rotate(180deg); }
    100% { transform: translate(-40px, 80px) scale(0.9) rotate(360deg); }
}

/* Custom Interactive Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(59, 130, 246, 0.03) 50%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: transform 0.1s ease-out;
}

/* Typography & Visual Accents */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Scroll Indicators / Layout containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 30%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

/* Glassmorphism Styles */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    transition: border-color var(--transition-medium), box-shadow var(--transition-medium);
}

.glass:hover {
    border-color: rgba(139, 92, 246, 0.2);
}

.card {
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-medium);
    border: 1px solid transparent;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    color: white;
    box-shadow: 0 4px 20px var(--secondary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--secondary-glow);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.btn-secondary {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.15);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-medium);
}

header.scrolled {
    padding: 0.8rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2.5rem;
    border-radius: 100px;
    background: rgba(10, 10, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

header.scrolled .navbar {
    background: rgba(5, 5, 12, 0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(139, 92, 246, 0.15);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
}

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

.nav-links {
    display: flex;
    gap: 2.2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.2rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-accent));
    transition: width var(--transition-fast);
    border-radius: 10px;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 5px;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 150px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-text {
    flex: 1.2;
    max-width: 650px;
}

.greeting {
    color: var(--secondary-accent);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.08);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.glitch-text {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #d8b4fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.role {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.highlight {
    color: white;
    font-weight: 700;
    background: linear-gradient(120deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.summary {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-box {
    width: 380px;
    height: 380px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Blobby morph */
    overflow: hidden;
    padding: 5px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.2);
    transition: var(--transition-slow);
    position: relative;
    animation: blob-morph 8s infinite alternate ease-in-out;
}

.img-box:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.35);
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    filter: brightness(0.95);
    transition: var(--transition-slow);
}

@keyframes blob-morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%; }
    100% { border-radius: 70% 30% 50% 50% / 30% 50% 50% 70%; }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.about-left, .about-right {
    display: flex;
    flex-direction: column;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary-accent);
    margin-bottom: 1.5rem;
}

.about-left h3, .about-right h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-left p, .about-right p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.about-left p strong, .about-right p strong {
    font-weight: 600;
    color: white;
}

/* Skills Section */
.skills-wrapper {
    padding: 3rem;
}

.skills-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.8rem 1.8rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: inherit;
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: white;
    box-shadow: 0 4px 15px rgba(139,92,246,0.1);
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.tab-content.active {
    display: block;
    animation: tab-fade-in 0.5s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tab-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.skill-item {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-medium);
}

.skill-item:hover {
    background: rgba(139, 92, 246, 0.04);
    border-color: rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
}

.skill-item i {
    font-size: 1.3rem;
    color: var(--success-color);
}

.skill-item span {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-primary);
}

/* Directions Section */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.direction-card {
    padding: 2.8rem;
    border-radius: 20px;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.direction-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 15px 35px rgba(59,130,246,0.1);
}

.dir-icon {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    background: rgba(59, 130, 246, 0.08);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.direction-card:hover .dir-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    color: white;
    border-color: transparent;
}

.direction-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.direction-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Principles Section */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.principle-card {
    padding: 2.2rem;
    position: relative;
    border-radius: 20px;
    transition: var(--transition-medium);
}

.principle-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(139, 92, 246, 0.2);
}

.p-num {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-accent);
    background: rgba(139, 92, 246, 0.08);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.principle-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    padding-right: 2.5rem;
}

.principle-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Goals, Interests & Motto */
.goals-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.interests-box, .goal-box {
    display: flex;
    flex-direction: column;
}

.interests-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.interests-list li {
    font-size: 1.1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 300;
}

.interests-list li i {
    font-size: 1.3rem;
    color: var(--secondary-accent);
}

.goal-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-weight: 300;
}

/* Motto Banner */
.motto-banner {
    padding: 3.5rem;
    position: relative;
    border-left: 6px solid var(--secondary-accent);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(139, 92, 246, 0.15);
    margin-bottom: -1.5rem;
}

.motto-banner blockquote {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    color: white;
    margin-bottom: 1.5rem;
    font-style: italic;
    max-width: 900px;
}

.motto-banner cite {
    font-size: 1.1rem;
    color: var(--secondary-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Contact Section */
.contact-content {
    max-width: 650px;
    margin: 0 auto;
}

.contact-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-accent);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.contact-form .btn {
    align-self: center;
    min-width: 200px;
    justify-content: center;
}

/* Contact Grid & Card Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--glass-border);
    transition: var(--transition-medium);
}

.contact-info-card:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-3px);
}

.c-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-accent);
    font-size: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.contact-info-card:hover .c-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    color: white;
    border-color: transparent;
}

.c-details .c-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.2rem;
}

.c-details h4 {
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 2.5rem 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top: 1px solid var(--glass-border);
    background: rgba(5, 5, 12, 0.85);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer .social-links {
    display: flex;
    gap: 2rem;
}

.footer .social-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-fast);
}

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

/* Scroll reveal properties */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Navbar Actions (Lang, Search, Menu) */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.lang-dropdown-wrapper {
    position: relative;
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 140px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1200;
}

.lang-dropdown-wrapper.active .lang-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lang-dropdown-menu li {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-fast);
}

.lang-dropdown-menu li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.lang-dropdown-menu li img {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-btn, .search-btn, .menu-btn {
    background-color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.55rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0f172a; /* Slate 900 */
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-btn, .menu-btn {
    padding: 0;
    width: 38px;
    height: 38px;
    justify-content: center;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1100;
}

.menu-btn span {
    width: 18px;
    height: 2px;
    background: #0f172a;
    transition: var(--transition-fast);
    border-radius: 5px;
}

.lang-btn:hover, .search-btn:hover, .menu-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.15);
}

.lang-btn i, .search-btn i {
    font-size: 1.2rem;
    color: #0f172a;
}

/* Sidebar Menu */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100vh;
    background: rgba(8, 8, 16, 0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7rem 3rem 3rem 3rem;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
}

.sidebar-menu.active {
    transform: translateX(0);
}

.sidebar-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    background: transparent;
    border: none;
    font-size: 2.2rem;
    color: white;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sidebar-close:hover {
    color: var(--secondary-accent);
    transform: scale(1.1);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-links a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.sidebar-links a:hover {
    color: white;
    padding-left: 8px;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 3, 8, 0.97);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 1200;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.search-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    background: transparent;
    border: none;
    font-size: 2.2rem;
    color: white;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.search-close:hover {
    color: var(--secondary-accent);
    transform: scale(1.1);
}

.search-box {
    width: 90%;
    max-width: 600px;
    text-align: center;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-secondary);
}

#search-input {
    width: 100%;
    padding: 1.2rem 1.5rem 1.2rem 3.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: white;
    font-size: 1.3rem;
    outline: none;
    transition: var(--transition-fast);
}

#search-input:focus {
    border-color: var(--secondary-accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.2);
}

.search-results {
    margin-top: 2rem;
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.search-result-item {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: var(--transition-fast);
    display: block;
}

.search-result-item:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.2);
}

.search-result-item h4 {
    color: white;
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.search-result-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Sidebar Menu Button Animations */
.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .logo {
        font-size: 1.3rem;
    }
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .about-grid, .goals-grid {
        grid-template-columns: 1fr;
    }
    
    .glitch-text {
        font-size: 3.8rem;
    }
    
    .img-box {
        width: 320px;
        height: 320px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.8rem;
    }
    
    .role {
        font-size: 1.6rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(5, 5, 12, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        clip-path: circle(0% at 90% 4%);
        transition: clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }
    
    .nav-links.active {
        clip-path: circle(150% at 90% 4%);
    }
    
    .menu-btn {
        display: flex;
    }
    
    .menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-group .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Screen Adjustments (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }
    .card {
        padding: 2.5rem 1.5rem;
    }
}

/* Small Mobile Screen Adjustments (max-width: 480px) */
@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }
    .nav-right {
        gap: 0.5rem;
    }
    .lang-btn {
        padding: 0.45rem 0.6rem;
        font-size: 0.8rem;
    }
    .lang-btn i {
        font-size: 0.95rem;
    }
    .search-btn, .menu-btn {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    .glitch-text {
        font-size: 2.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .role {
        font-size: 1.25rem;
    }
    .summary {
        font-size: 1rem;
    }
    .card {
        padding: 2rem 1.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2.2rem;
    }
    .sidebar-menu {
        width: 100%;
        padding: 6rem 1.5rem 2rem 1.5rem;
    }
    .motto-banner {
        padding: 2rem 1.2rem;
    }
    .motto-banner blockquote {
        font-size: 1.2rem;
    }
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .skills-tabs {
        margin-bottom: 1.5rem;
        gap: 0.6rem;
    }
    .skills-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .directions-grid, .principles-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .interests-list li {
        font-size: 0.9rem;
    }
    .contact-grid {
        gap: 1.5rem;
    }
    .contact-info-list {
        gap: 1rem;
    }
    .contact-info-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 1.2rem;
        width: 100%;
    }
    .c-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        border-radius: 10px;
    }
    .c-details {
        width: 100%;
    }
    .c-details h4 {
        font-size: 0.95rem;
        word-break: break-all;
        white-space: normal;
    }
}

