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

:root {
    --primary-color: #0066ff;
    --secondary-color: #ff6b00;
    --accent-color: #00d4ff;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --text-muted: #6b7c93;
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --border-color: #2a2a4a;
    --gradient-1: linear-gradient(135deg, #4e63ca 0%, #440089 100%);
    --gradient-2: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-3: linear-gradient(135deg, #ff6b00 0%, #ff9500 100%);
    --gradient-4: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    --navbar-height: 80px;
    --navbar-height-scrolled: 60px;
}

/* Global Responsive Units */
:root {
    --navbar-height: 70px;
    --navbar-height-scrolled: 60px;
    --container-padding: clamp(1rem, 4vw, 2rem);
    --section-padding: clamp(2rem, 6vw, 3rem);
    --gap-sm: clamp(0.5rem, 2vw, 1rem);
    --gap-md: clamp(1rem, 3vw, 1.5rem);
    --gap-lg: clamp(1.5rem, 4vw, 2rem);
}

/* Light Mode Variables */
[data-theme="light"] {
    --primary-color: #0EA5E9;
    --secondary-color: #ff6b00;
    --accent-color: #0EA5E9;
    --text-primary: #0F172A;
    --text-secondary: #1E293B;
    --text-muted: #64748B;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #F1F5F9;
    --border-color: #E2E8F0;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #0EA5E9 0%, #0EA5E9 100%);
    --gradient-3: linear-gradient(135deg, #ff6b00 0%, #ff9500 100%);
    --gradient-4: linear-gradient(135deg, #0EA5E9 0%, #0F172A 100%);
    --gradient-text-1: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #45B7D1 100%);
    --gradient-text-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-text-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --card-bg: #FFFFFF;
    --section-bg: #F8F9FA;
    --surface-bg: #EFF6FF;
}

/* Dark Mode Gradient Text Variables */
:root {
    --gradient-text-1: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    --gradient-text-2: linear-gradient(135deg, #00d4ff 0%, #ff6b00 100%);
    --gradient-text-3: linear-gradient(135deg, #ff6b00 0%, #ffffff 100%);
}

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-color);
    height: var(--navbar-height);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .navbar {
    background: #FFFFFF !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #E2E8F0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

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

[data-theme="light"] .nav-link {
    color: #440089;
}

[data-theme="light"] .nav-link:hover {
    color: #0EA5E9;
}

[data-theme="light"] .logo-text {
    background: linear-gradient(135deg, #4e63ca 20%, #440089 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.logo-svg {
    height: 40px;
    width: 40px;
    transition: all 0.3s ease;
}

.logo-svg:hover {
    transform: scale(1.05);
}

.logo-svg circle {
    transition: all 0.3s ease;
}

.logo-svg:hover circle {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
}

[data-theme="light"] .logo-svg:hover circle {
    filter: drop-shadow(0 0 20px rgba(78, 99, 202, 0.6));
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(0, 102, 255, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8)); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-2);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 0.1;
}

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

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

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

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.theme-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

[data-theme="light"] .theme-toggle-slider {
    transform: translateX(30px);
    background: var(--accent-color);
}

.theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-icon {
    font-size: 12px;
    line-height: 1;
}

[data-theme="light"] .theme-icon {
    filter: none;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}
/* Industry Exposure */
.industry-exposure {
    margin: 1rem 0;
    text-align: left;
}

.exposure-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-logos {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.company-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.company-logo:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.company-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
}

[data-theme="light"] .exposure-title {
    color: var(--text-secondary);
}

[data-theme="light"] .company-name {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .company-logos {
        gap: 2rem;
    }
    
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .company-name {
        font-size: 0.8rem;
    }
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 1rem;
    margin-top: var(--navbar-height);
}

[data-theme="light"] .particles {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 107, 0, 0.03) 0%, transparent 50%);
    animation: floatParticles 20s infinite ease-in-out;
}

@keyframes floatParticles {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -20px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(-30px, -10px) rotate(270deg);
    }
}

[data-theme="light"] .gradient-orb {
    opacity: 0.1;
    filter: blur(150px);
}

[data-theme="light"] .hero {
    background: var(--bg-primary);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-circle {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    opacity: 0.1;
    animation: floatCircle 20s infinite ease-in-out;
}

.floating-square {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    opacity: 0.08;
    animation: floatSquare 25s infinite ease-in-out;
}

[data-theme="light"] .floating-circle {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(14, 165, 233, 0.05));
    opacity: 0.08;
}

[data-theme="light"] .floating-square {
    background: linear-gradient(45deg, rgba(255, 107, 0, 0.12), rgba(14, 165, 233, 0.08));
    opacity: 0.06;
}

[data-theme="light"] .floating-triangle {
    border-bottom-color: rgba(14, 165, 233, 0.1);
    opacity: 0.04;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translate(100px, -50px) scale(1.2);
        opacity: 0.15;
    }
}

@keyframes floatSquare {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.08;
    }
    25% {
        transform: translate(-80px, 60px) rotate(90deg);
        opacity: 0.12;
    }
    50% {
        transform: translate(120px, -40px) rotate(180deg);
        opacity: 0.1;
    }
    75% {
        transform: translate(-60px, 80px) rotate(270deg);
        opacity: 0.14;
    }
}

@keyframes floatTriangle {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.06;
    }
    33% {
        transform: translate(150px, -100px) rotate(120deg);
        opacity: 0.1;
    }
    66% {
        transform: translate(-120px, 80px) rotate(240deg);
        opacity: 0.08;
    }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: floatOrb 15s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-1);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: var(--gradient-2);
    bottom: 20%;
    right: 10%;
    animation-delay: 5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--gradient-3);
    top: 60%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes floatOrb {
    0%, 100% { 
        transform: translate(0, 0) scale(1) rotate(0deg);
        filter: blur(80px) brightness(1);
    }
    25% { 
        transform: translate(30px, -30px) scale(1.1) rotate(90deg);
        filter: blur(60px) brightness(1.2);
    }
    50% { 
        transform: translate(-20px, 20px) scale(0.9) rotate(180deg);
        filter: blur(100px) brightness(0.8);
    }
    75% { 
        transform: translate(-30px, -10px) rotate(270deg);
        filter: blur(80px) brightness(1.1);
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 107, 0, 0.15) 0%, transparent 50%);
    animation: particles 40s linear infinite;
    pointer-events: none;
}

[data-theme="dark"] .particles {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 107, 0, 0.05) 0%, transparent 50%);
    animation: floatParticlesDark 25s infinite ease-in-out;
}

@keyframes floatParticlesDark {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-40px, 30px) rotate(90deg);
    }
    50% {
        transform: translate(40px, -30px) rotate(180deg);
    }
    75% {
        transform: translate(-30px, 20px) rotate(270deg);
    }
}

@keyframes particles {
    0% { 
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-50px) rotate(90deg) scale(1.1);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-100px) rotate(180deg) scale(0.9);
        opacity: 0.4;
    }
    75% { 
        transform: translateY(-150px) rotate(270deg) scale(1.05);
        opacity: 0.6;
    }
    100% { 
        transform: translateY(-200px) rotate(360deg) scale(1);
        opacity: 0.3;
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
    position: relative;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
    position: relative;
    z-index: 5;
}

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

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    min-width: fit-content;
}

.title-line {
    display: inline-block;
    white-space: nowrap;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 50%, #0066ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

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

[data-theme="light"] .hero-title .title-line {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-text-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 0.8s ease-out;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out 0.2s both;
}

[data-theme="light"] .hero-subtitle {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out 0.4s both;
}

[data-theme="light"] .hero-description {
    color: var(--text-secondary);
}

[data-theme="light"] .stat-number {
    background: var(--gradient-text-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .stat-label {
    color: var(--text-muted);
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.hero-visual {
    animation: slideInRight 1s ease-out;
    position: relative;
    z-index: 5;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

[data-theme="light"] .social-link {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="light"] .social-link:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

@media (max-width: 768px) {
    .social-links {
        gap: 1rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 1rem;
    }
    
    .social-link {
        min-width: 45px;
        min-height: 45px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
}

/* Profile Container */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: slideInRight 1s ease-out;
    position: relative;
    z-index: 5;
}

.profile-image-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: visible;
    transition: all 0.3s ease;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.profile-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-2);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(20px);
    animation: pulse-glow 3s ease-in-out infinite;
    z-index: -1;
}

.profile-border {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-2);
    border-radius: 50%;
    z-index: -1;
    animation: rotate-border 10s linear infinite;
}

.profile-image-wrapper:hover {
    /* transform: scale(1.05); removed */
    opacity: 1;
}

.profile-image-wrapper:hover .profile-glow {
    opacity: 0.5;
    filter: blur(30px);
}

.profile-image-wrapper:hover .profile-border {
    /* animation-duration: 2s; removed */
    animation: rotate-border 10s linear infinite;
}

/* Animated Circular Frame */
.profile-frame {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #0066ff, #00d4ff, #ff6b00, #0066ff);
    background-size: 300% 300%;
    animation: borderRotate 4s linear infinite;
    z-index: -1;
}

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

[data-theme="light"] .profile-frame {
    background: linear-gradient(45deg, #0EA5E9, #4ECDC4, #FF6B6B, #0EA5E9);
    background-size: 300% 300%;
}

/* Animated Ring */
.profile-ring {
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border-radius: 50%;
    border: 4px solid transparent;
    background: conic-gradient(from 0deg, #00d4ff, #0066ff, #ff6b00, #00d4ff);
    background-clip: border-box;
    z-index: 1;
    animation: rotateRing 4s linear infinite;
    opacity: 0.8;
    mask: radial-gradient(circle, transparent 70%, black 70%);
    -webkit-mask: radial-gradient(circle, transparent 70%, black 70%);
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

[data-theme="light"] .profile-ring {
    background: conic-gradient(from 0deg, #0EA5E9, #4ECDC4, #FF6B6B, #0EA5E9);
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.5;
    }
}

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

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.profile-stat {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.profile-stat:nth-child(1) { animation-delay: 0.2s; }
.profile-stat:nth-child(2) { animation-delay: 0.4s; }
.profile-stat:nth-child(3) { animation-delay: 0.6s; }

.profile-stat:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
}

.profile-stat .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-text-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.profile-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

.scroll-indicator:hover {
    animation-play-state: paused;
    transform: translateX(-50%) scale(1.1);
}

.scroll-indicator:hover .scroll-arrow {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

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

[data-theme="light"] .scroll-text {
    color: var(--text-muted);
}

[data-theme="light"] .scroll-arrow {
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
}

.scroll-arrow {
width: 20px;
height: 20px;
border-right: 2px solid var(--text-muted);
border-bottom: 2px solid var(--text-muted);
transform: rotate(45deg);
margin: 0 auto;
transition: all 0.3s ease;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Modern Technical Cursor */
.cursor-inner {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: opacity 0.05s ease-out;
}

.cursor-outer {
    position: fixed;
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease-out;
    opacity: 0.8;
}

.cursor-glow {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3), transparent);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-out;
    opacity: 0;
}

[data-theme="light"] .cursor-glow {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.4), transparent);
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.2);
}

.cursor-pulse {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-out;
    opacity: 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    box-sizing: border-box;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 50%, #0066ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    min-width: fit-content;
    animation: slideInUp 0.8s ease-out;
}

.title-line {
    display: inline-block;
    white-space: nowrap;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Experience Section */
.experience {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* Experience Container */
.experience-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Company Cards - Horizontal */
.company-cards {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    justify-content: center;
    align-items: center;
}

.company-cards::-webkit-scrollbar {
    height: 6px;
}

.company-cards::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.company-cards::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.company-card {
    min-width: 200px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    flex-shrink: 0;
}

.company-card.active {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.15);
    transform: translateY(-5px);
}

.company-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.2);
}

.company-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.role-name {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
    display: block;
}

/* Description Card - Pop Out */
.description-card {
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.15);
    transition: all 0.3s ease;
    animation: slideUp 0.4s ease-out;
}

.description-card.hidden {
    display: none;
}

.desc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
}

.desc-company {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.desc-role {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.desc-date {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.desc-achievements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.desc-achievements li {
    padding: 0.6rem 0;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 0.3rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
    padding-left: 1.5rem;
    position: relative;
}

.desc-achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Light Mode */
[data-theme="light"] .company-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="light"] .company-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.15);
}

[data-theme="light"] .company-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.2);
}

[data-theme="light"] .description-card {
    background: var(--card-bg);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.15);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .company-cards {
        gap: 0.8rem;
        padding: 0.5rem 0;
    }
    
    .company-card {
        min-width: 160px;
        padding: 1rem;
    }
    
    .company-name {
        font-size: 0.9rem;
    }
    
    .role-name {
        font-size: 0.75rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .logo-svg {
        height: 32px;
        width: 32px;
    }
    
    .description-card {
        padding: 1.5rem;
    }
    
    .desc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .desc-company {
        font-size: 1.1rem;
    }
    
    .desc-achievements li {
        font-size: 0.85rem;
        padding: 0.6rem 0;
    }
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-2);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--gradient-2);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px rgba(0, 102, 255, 0.5); }
    50% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.8); }
    100% { box-shadow: 0 0 20px rgba(0, 102, 255, 0.5); }
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--gradient-text-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-company {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.timeline-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.timeline-achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

[data-theme="light"] .timeline-achievements li {
    color: var(--text-secondary);
}

[data-theme="light"] .timeline-achievements li::before {
    color: var(--primary-color);
}

/* Skills Section */
.skills {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

[data-theme="light"] .skills {
    background: var(--section-bg);
}

/* Certifications Section */
.certifications {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

[data-theme="light"] .certifications {
    background: var(--bg-primary);
}

/* Education Section */
.education {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

[data-theme="light"] .education {
    background: var(--section-bg);
}

/* Contact Section */
.contact {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

[data-theme="light"] .contact {
    background: var(--bg-primary);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

[data-theme="light"] .footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

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

.skill-category {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

[data-theme="light"] .skill-category {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.skill-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.1);
    border-color: var(--primary-color);
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-item {
    margin-bottom: 1rem;
}

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

[data-theme="light"] .skill-name {
    color: var(--text-secondary);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-2);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Certifications Section */
.certifications {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.cert-grid, .recognition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.recognition-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.cert-card, .recognition-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    animation: slideInUp 0.8s ease-out forwards;
}

.cert-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.cert-card-link:hover {
    transform: translateY(-5px);
}

.cert-card-link:hover .cert-card {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.2);
    border-color: var(--primary-color);
}

[data-theme="light"] .cert-card, [data-theme="light"] .recognition-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cert-card.visible, .recognition-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.cert-card:hover, .recognition-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
    border-color: var(--primary-color);
}

.cert-icon, .recognition-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
}

.cert-card h3, .recognition-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    background: var(--gradient-text-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    line-height: 1.4;
}

[data-theme="light"] .timeline-title {
    background: var(--gradient-text-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .cert-card h3 {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #45B7D1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .recognition-card h3 {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #45B7D1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cert-card p, .recognition-card p {
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Card content wrapper for better alignment */
.cert-card-content, .recognition-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Ensure consistent card heights */
.cert-grid {
    align-items: stretch;
}

.recognition-grid {
    align-items: stretch;
}

/* Education Section */
.education {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.education-card {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

[data-theme="light"] .education-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.education-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.1);
    border-color: var(--primary-color);
}

.education-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.education-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.education-date {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-cgpa {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.education-coursework h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.education-coursework ul {
    list-style: none;
}

.education-coursework li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.education-coursework li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

[data-theme="light"] .education-content h3 {
    color: var(--text-primary);
}

[data-theme="light"] .education-content h4 {
    color: var(--primary-color);
}

[data-theme="light"] .education-cgpa {
    color: var(--text-secondary);
}

[data-theme="light"] .education-coursework h5 {
    color: var(--text-primary);
}

[data-theme="light"] .education-coursework li {
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

[data-theme="light"] .contact-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
    border-color: var(--primary-color);
}

.contact-icon {
    font-size: 2rem;
    min-width: 40px;
}

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

[data-theme="light"] .contact-details h4 {
    color: var(--text-primary);
}

[data-theme="light"] .contact-details p {
    color: var(--text-secondary);
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

[data-theme="light"] .footer p {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --navbar-height: 60px;
        --navbar-height-scrolled: 50px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        min-width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .step-navigator {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .step-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .step-content {
        padding: 1rem;
    }
    
    .profile-image-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-grid, .recognition-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .recognition-grid {
        justify-content: center;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .cert-card-link:hover {
        transform: none;
    }
    
    .cert-card-link:hover .cert-card {
        transform: none;
        box-shadow: none;
        border-color: var(--border-color);
    }
    
    .cert-card, .recognition-card {
        min-height: 250px;
        padding: 1.5rem;
    }
    
    .cert-icon, .recognition-icon {
        font-size: 2.5rem;
        margin-bottom: 0.3rem;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        display: inline-block;
    }
    
    .cert-card h3, .recognition-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .cert-card p, .recognition-card p {
        font-size: 1.1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
