:root {
    /* AI-Inspired Color Palette */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #06b6d4;
    --secondary-dark: #0891b2;
    --accent-color: #f59e0b;
    --accent-pink: #ec4899;
    --accent-purple: #a855f7;
    --success-color: #10b981;
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #64748b;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-ai: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #06b6d4 100%);
    --gradient-cyber: linear-gradient(135deg, #00f5ff 0%, #0066ff 50%, #9d00ff 100%);
    --gradient-neural: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-text: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    /* Shadows & Glows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --glow-primary: 0 0 20px rgba(99, 102, 241, 0.5);
    --glow-secondary: 0 0 20px rgba(6, 182, 212, 0.5);
    --glow-pink: 0 0 20px rgba(236, 72, 153, 0.5);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --font-tech: 'Orbitron', monospace;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-dark);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Particle Canvas Background */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

/* AI Grid Background */
.ai-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;t
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h2 {
    font-family: var(--font-tech);
    background: var(--gradient-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-ai);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary-light);
}

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

.nav-link.active {
    color: var(--primary-light);
}

.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-darker);
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-ai);
    top: -200px;
    left: -200px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-cyber);
    bottom: -200px;
    right: -200px;
    animation-delay: -5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: var(--gradient-neural);
    top: 50%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: glow 3s infinite;
}

.hero-badge i {
    color: var(--accent-color);
}

.hero-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.5); }
    50% { box-shadow: 0 0 40px rgba(236, 72, 153, 0.7); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.gradient-text {
    background: var(--gradient-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s infinite;
    background-size: 200% 200%;
}

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

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-family: var(--font-heading);
}

.typing-effect {
    display: inline-block;
    border-right: 3px solid var(--primary-light);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--primary-light); }
    51%, 100% { border-color: transparent; }
}

.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    line-height: 1.8;
}

.highlight-text {
    color: var(--primary-light);
    font-weight: 700;
    position: relative;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-ai);
    color: white;
    border: 2px solid transparent;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.7);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.btn i {
    transition: var(--transition-fast);
}

.btn:hover i {
    transform: translateX(5px);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-tech);
    background: var(--gradient-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    font-weight: 500;
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-social a {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    transition: var(--transition-normal);
    position: relative;
}

.hero-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--gradient-ai);
    opacity: 0;
    transition: var(--transition-normal);
}

.hero-social a:hover::before {
    opacity: 1;
}

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

.hero-social a:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: white;
    font-size: 2rem;
    opacity: 0.7;
}

/* Sections */
.section {
    padding: var(--section-padding);
    position: relative;
    background: var(--bg-dark);
}

.section:nth-child(even) {
    background: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.title-underline {
    width: 100px;
    height: 5px;
    background: var(--gradient-ai);
    margin: 0 auto 1.5rem;
    border-radius: 10px;
}

.section-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section - Glassmorphism */
.about-section {
    background: var(--bg-darker);
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
}

.floating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: float-badge 3s infinite ease-in-out;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-badge i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.floating-badge span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-weight: 800;
}

.about-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(99, 102, 241, 0.3),
        transparent 30%
    );
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: var(--transition-normal);
}

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

.glass-card:hover::before {
    opacity: 1;
}

.card-glow {
    position: absolute;
    inset: 1px;
    background: var(--bg-darker);
    border-radius: 19px;
    z-index: 1;
}

.glass-card > * {
    position: relative;
    z-index: 2;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-ai);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
}

.icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-ai);
    border-radius: 20px;
    opacity: 0.5;
    filter: blur(10px);
    z-index: -1;
}

.highlight-item h4 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 900;
    font-family: var(--font-tech);
}

.highlight-item .plus {
    font-size: 1.8rem;
    color: var(--primary-light);
    font-weight: 900;
}

.highlight-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

.personal-info {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    color: var(--primary-light);
    font-size: 1.8rem;
    width: 35px;
}

.info-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

/* Experience Section */
.experience-section {
    background: var(--bg-dark);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-ai);
}

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

.timeline-marker {
    position: absolute;
    left: -38px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-ai);
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 20px rgba(3, 82, 244, 0.82);
    z-index: 2;
}

.timeline-content {
    background: rgba(3, 82, 244, 0.82);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(3, 82, 244, 0.82);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition-normal);
    border-left: 4px solid transparent;
    background-image: linear-gradient(rgba(3, 82, 244, 0.82), rgba(255, 255, 255, 0.3)),
                      var(--gradient-ai);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

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

.timeline-header h3 {
    font-size: 1.8rem;
    background: var(--gradient-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-family: var(--font-heading);
}

.timeline-date {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.company-name {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.company-name i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.job-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.7;
}

.responsibilities,
.accomplishments {
    margin-top: 2rem;
}

.responsibilities h5,
.accomplishments h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
}

.responsibilities i {
    color: var(--primary-light);
}

.accomplishments i {
    color: var(--accent-color);
}

.responsibilities ul,
.accomplishments ul {
    list-style: none;
    padding-left: 0;
}

.responsibilities li,
.accomplishments li {
    padding-left: 2rem;
    margin-bottom: 0.9rem;
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.responsibilities li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.accomplishments li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* Continue with remaining sections... */
.education-section {
    background: var(--bg-darker);
}

.education-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 3rem;
    max-width: 1150px;
    margin: 0 auto;
}

.column-title {
    font-size: 2rem;
    color: white;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.column-title i {
    color: var(--primary-light);
    font-size: 1.8rem;
}

.education-card,
.certification-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
    display: flex;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.education-card::before,
.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-ai);
    opacity: 0;
    transition: var(--transition-normal);
}

.education-card:hover,
.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.education-card:hover::before,
.certification-card:hover::before {
    opacity: 1;
}

.education-icon,
.cert-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-ai);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    position: relative;
}

.education-icon::after,
.cert-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-ai);
    border-radius: 15px;
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
}

.education-details h4,
.cert-details h4 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.degree-major,
.cert-provider {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
}

.institution,
.cert-date {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.education-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.education-meta span,
.cert-duration {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.grade {
    background: var(--gradient-ai);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Languages Card */
.languages-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 2rem;
}

.language-grid {
    display: grid;
    gap: 2rem;
}

.language-item h5 {
    color: var(--primary-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.language-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}

.skill-badge {
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
}

.skill-badge.excellent {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.skill-badge.average {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.language-skills p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Skills Section */
.skills-section {
    background: var(--bg-dark);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 2px;
    background: var(--gradient-ai);
    opacity: 0;
    transition: var(--transition-normal);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.skill-category:hover::before {
    opacity: 1;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-header i {
    font-size: 2.5rem;
    background: var(--gradient-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-header h3 {
    font-size: 1.5rem;
    color: white;
    font-weight: 800;
    font-family: var(--font-heading);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: rgba(99, 102, 241, 0.1);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-normal);
    border: 1px solid rgba(99, 102, 241, 0.2);
    cursor: pointer;
}

.skill-tag:hover {
    background: var(--gradient-ai);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* Expertise Highlights */
.expertise-highlights {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem;
    border-radius: 30px;
}

.expertise-highlights h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 3rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 900;
    font-family: var(--font-heading);
}

.expertise-highlights h3 i {
    color: var(--accent-color);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
}

.expertise-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-ai);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-normal);
}

.expertise-card:hover::before {
    opacity: 1;
}

.expertise-card:hover {
    transform: translateY(-8px);
}

.expertise-card i {
    font-size: 3.5rem;
    background: var(--gradient-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.expertise-card h4 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 800;
}

.expertise-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    background: var(--bg-darker);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 3rem;
    max-width: 1150px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-ai);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    position: relative;
}

.contact-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-ai);
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(10px);
    z-index: -1;
}

.contact-details h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.contact-details a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.contact-details p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.3rem 0;
}

/* Social Links Section */
.social-links-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 2rem;
}

.social-links-section h4 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 800;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.8rem;
    border-radius: 15px;
    text-decoration: none;
    transition: var(--transition-normal);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.social-link:hover::before {
    transform: translateX(100%);
}

.social-link.linkedin {
    background: rgba(0, 119, 181, 0.2);
    border: 1px solid rgba(0, 119, 181, 0.3);
    color: #0077b5;
}

.social-link.facebook {
    background: rgba(24, 119, 242, 0.2);
    border: 1px solid rgba(24, 119, 242, 0.3);
    color: #1877f2;
}

.social-link.researchgate {
    background: rgba(0, 208, 177, 0.2);
    border: 1px solid rgba(0, 208, 177, 0.3);
    color: #00d0b1;
}

.social-link:hover {
    transform: translateX(10px);
}

.social-link i {
    font-size: 1.8rem;
}

.social-link span {
    color: white;
}

/* Job Preferences */
.job-preferences {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 2rem;
}

.job-preferences h4 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
}

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

.preference-item strong {
    color: var(--primary-light);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.preference-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.7;
}

/* References Section */
.references-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
}

.references-section h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.references-section h3 i {
    color: var(--secondary-color);
}

.reference-card {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.reference-card:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
}

.reference-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
}

.reference-header i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.reference-header h4 {
    font-size: 1.4rem;
    color: white;
    font-weight: 800;
}

.reference-position {
    color: var(--primary-light);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.reference-organization {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.7rem;
}

.reference-contact {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    font-family: var(--font-tech);
    background: var(--gradient-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.footer-tagline {
    font-style: italic;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

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

.footer-social a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--gradient-ai);
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-ai);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--glow-primary);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.8);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .education-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-marker {
        left: -28px;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-highlights {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .education-card,
    .certification-card {
        flex-direction: column;
        text-align: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-highlights {
        padding: 2rem;
    }
}
