/* ================================
   CSS RESET & BASE STYLES
   ================================ */

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

:root {
    /* Purple Color Scheme */
    --primary-purple: #6B46C1;
    --secondary-purple: #8B5CF6;
    --light-purple: #A855F7;
    --lighter-purple: #C084FC;
    --lightest-purple: #DDD6FE;
    --dark-purple: #5B21B6;
    --deep-purple: #4C1D95;
    
    /* Accent Colors */
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --gray: #64748B;
    --dark-gray: #334155;
    --gold: #F59E0B;
    --gold-light: #FCD34D;
    
    /* Background Gradients */
    --bg-gradient-1: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #6366f1 100%);
    --bg-gradient-2: linear-gradient(45deg, #4c1d95 0%, #6b46c1 50%, #8b5cf6 100%);
    --bg-gradient-3: radial-gradient(circle, #5b21b6 0%, #1e1b4b 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-elastic: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-purple: 0 10px 30px rgba(139, 92, 246, 0.3);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.5);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--white);
    background: var(--bg-gradient-1);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* ================================
   LOADING SCREEN
   ================================ */

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-container {
    text-align: center;
    max-width: 300px;
}

.loading-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    border: 3px solid var(--lightest-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.loading-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, var(--light-purple), transparent);
    animation: rotate 2s linear infinite;
}

.loading-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    z-index: 1;
    position: relative;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 15px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--light-purple), var(--gold));
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.loading-percentage {
    font-size: 14px;
    color: var(--lightest-purple);
    font-weight: 500;
}

/* Loading Animation */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ================================
   NAVIGATION
   ================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 27, 75, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(30, 27, 75, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--light-purple), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all var(--transition-normal);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--light-purple);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

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

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

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

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(30, 27, 75, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: left var(--transition-normal);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--light-purple), var(--lightest-purple));
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    opacity: 0;
    animation: slideInUp 1s ease forwards;
}

.hero-title .greeting {
    display: block;
    font-size: 1.2em;
    color: var(--lightest-purple);
    font-weight: 400;
    margin-bottom: 10px;
}

.hero-title .name {
    display: block;
    background: linear-gradient(45deg, var(--light-purple), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--lightest-purple);
    margin-bottom: 30px;
    min-height: 60px;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: slideInUp 1s ease 0.3s forwards;
}

.typewriter {
    border-right: 2px solid var(--light-purple);
    padding-right: 2px;
}

.cursor {
    opacity: 1;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0;
    animation: slideInUp 1s ease 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    opacity: 0;
    animation: slideInUp 1s ease 0.9s forwards;
}

.hero-social {
    display: flex;
    gap: 15px;
    opacity: 0;
    animation: slideInUp 1s ease 1.2s forwards;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.2);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--light-purple), var(--gold));
    transition: left var(--transition-normal);
    z-index: -1;
}

.social-link:hover::before {
    left: 0;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    border-color: var(--light-purple);
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: slideInRight 1s ease 0.5s forwards;
}

.image-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.image-frame {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-purple);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform var(--transition-slow);
    animation: imageFramePulse 4s ease-in-out infinite;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    padding: 3px;
    width: 350px;
    height: 350px;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary-purple), 
        var(--light-purple), 
        var(--gold), 
        var(--lighter-purple),
        var(--primary-purple)
    );
    border-radius: 50%;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

.image-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.2) 0%, 
        transparent 50%
    );
    border-radius: 50%;
    animation: lightShimmer 5s ease-in-out infinite;
}

@keyframes imageFramePulse {
    0%, 100% {
        transform: perspective(1000px) rotateY(-15deg) scale(1);
        box-shadow: var(--shadow-purple);
    }
    50% {
        transform: perspective(1000px) rotateY(-10deg) scale(1.02);
        box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
    }
}

@keyframes borderGlow {
    0%, 100% {
        background: linear-gradient(45deg, 
            var(--primary-purple), 
            var(--light-purple), 
            var(--gold), 
            var(--lighter-purple),
            var(--primary-purple)
        );
    }
    25% {
        background: linear-gradient(135deg, 
            var(--light-purple), 
            var(--gold), 
            var(--lighter-purple),
            var(--primary-purple), 
            var(--light-purple)
        );
    }
    50% {
        background: linear-gradient(225deg, 
            var(--gold), 
            var(--lighter-purple),
            var(--primary-purple), 
            var(--light-purple), 
            var(--gold)
        );
    }
    75% {
        background: linear-gradient(315deg, 
            var(--lighter-purple),
            var(--primary-purple), 
            var(--light-purple), 
            var(--gold), 
            var(--lighter-purple)
        );
    }
}

@keyframes lightShimmer {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50px);
    }
    50% {
        opacity: 0.6;
        transform: translateX(50px);
    }
}

.profile-image {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    border: 2px solid transparent;
    background-clip: padding-box;
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
    position: relative;
    z-index: 1;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.2));
    opacity: 0;
    transition: opacity var(--transition-normal);
    border-radius: 50%;
}

.image-frame:hover .image-overlay {
    opacity: 1;
}

.floating-elements {
    position: absolute;
    top: -50px;
    left: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.floating-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-purple), var(--light-purple));
    border-radius: 50%;
    z-index: -1;
    animation: iconBackgroundShift 4s ease-in-out infinite;
}

.floating-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 40%, rgba(245, 158, 11, 0.3) 70%);
    border-radius: 50%;
    animation: iconPulse 2s ease-in-out infinite;
}

.floating-icon i {
    position: relative;
    z-index: 2;
    animation: iconRotate 6s linear infinite;
}

.icon-1 {
    top: 0;
    left: 0;
    animation: floatIcon1 4s ease-in-out infinite;
}

.icon-2 {
    top: 0;
    right: 0;
    animation: floatIcon2 3.5s ease-in-out infinite 0.5s;
}

.icon-3 {
    bottom: 0;
    left: 0;
    animation: floatIcon3 4.5s ease-in-out infinite 1s;
}

.icon-4 {
    bottom: 0;
    right: 0;
    animation: floatIcon4 3.8s ease-in-out infinite 1.5s;
}

@keyframes iconBackgroundShift {
    0%, 100% {
        background: linear-gradient(45deg, var(--primary-purple), var(--light-purple));
    }
    25% {
        background: linear-gradient(135deg, var(--light-purple), var(--gold));
    }
    50% {
        background: linear-gradient(225deg, var(--gold), var(--lighter-purple));
    }
    75% {
        background: linear-gradient(315deg, var(--lighter-purple), var(--primary-purple));
    }
}

@keyframes iconPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

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

@keyframes floatIcon1 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) translateX(5px) scale(1.1) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) translateX(-5px) scale(1.05) rotate(180deg);
    }
    75% {
        transform: translateY(-15px) translateX(8px) scale(1.08) rotate(270deg);
    }
}

@keyframes floatIcon2 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
    }
    33% {
        transform: translateY(15px) translateX(-8px) scale(0.95) rotate(120deg);
    }
    66% {
        transform: translateY(-18px) translateX(6px) scale(1.12) rotate(240deg);
    }
}

@keyframes floatIcon3 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
    }
    20% {
        transform: translateY(-25px) translateX(-10px) scale(1.15) rotate(72deg);
    }
    40% {
        transform: translateY(10px) translateX(8px) scale(0.9) rotate(144deg);
    }
    60% {
        transform: translateY(-12px) translateX(-5px) scale(1.08) rotate(216deg);
    }
    80% {
        transform: translateY(8px) translateX(12px) scale(1.02) rotate(288deg);
    }
}

@keyframes floatIcon4 {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
    }
    30% {
        transform: translateY(-22px) translateX(7px) scale(1.1) rotate(108deg);
    }
    70% {
        transform: translateY(5px) translateX(-9px) scale(0.98) rotate(252deg);
    }
}

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.geo-shape {
    position: absolute;
    opacity: 0.4;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid var(--light-purple);
    top: 10%;
    left: 5%;
    animation: triangleFloat1 6s ease-in-out infinite;
}

.triangle-2 {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid var(--gold);
    bottom: 15%;
    right: 8%;
    animation: triangleFloat2 8s ease-in-out infinite 2s;
}

.circle-1 {
    width: 40px;
    height: 40px;
    border: 3px solid var(--lighter-purple);
    border-radius: 50%;
    top: 60%;
    left: 10%;
    animation: circleFloat 7s ease-in-out infinite 1s;
}

.square-1 {
    width: 25px;
    height: 25px;
    background: linear-gradient(45deg, var(--primary-purple), var(--light-purple));
    top: 25%;
    right: 15%;
    animation: squareRotate 5s linear infinite;
    transform-origin: center;
}

.hexagon-1 {
    width: 30px;
    height: 17px;
    background: var(--gold);
    position: relative;
    bottom: 25%;
    left: 15%;
    animation: hexagonFloat 9s ease-in-out infinite 3s;
}

.hexagon-1::before,
.hexagon-1::after {
    content: '';
    position: absolute;
    width: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
}

.hexagon-1::before {
    bottom: 100%;
    border-bottom: 8.5px solid var(--gold);
}

.hexagon-1::after {
    top: 100%;
    border-top: 8.5px solid var(--gold);
}

/* Energy Rings */
.energy-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.energy-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 450px;
    height: 450px;
    animation: energyRing1 8s linear infinite;
    border-color: rgba(139, 92, 246, 0.4);
}

.ring-2 {
    width: 500px;
    height: 500px;
    animation: energyRing2 12s linear infinite reverse;
    border-color: rgba(168, 85, 247, 0.3);
}

.ring-3 {
    width: 550px;
    height: 550px;
    animation: energyRing3 15s linear infinite;
    border-color: rgba(245, 158, 11, 0.2);
}



/* Animation Keyframes */
@keyframes triangleFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes triangleFloat2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(25px) rotate(-180deg); }
}

@keyframes circleFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-40px) scale(1.2); }
}

@keyframes squareRotate {
    0% { transform: rotate(0deg) translateY(0px); }
    50% { transform: rotate(180deg) translateY(-20px); }
    100% { transform: rotate(360deg) translateY(0px); }
}

@keyframes hexagonFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-35px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

@keyframes energyRing1 {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.05);
        opacity: 0.6;
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
        opacity: 0.4;
    }
}

@keyframes energyRing2 {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) rotate(-180deg) scale(0.95);
        opacity: 0.5;
    }
    100% { 
        transform: translate(-50%, -50%) rotate(-360deg) scale(1);
        opacity: 0.3;
    }
}

@keyframes energyRing3 {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 0.2;
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
        opacity: 0.4;
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
        opacity: 0.2;
    }
}



.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    animation: slideInUp 1s ease 1.5s forwards;
}

.scroll-text {
    font-size: 14px;
    color: var(--lightest-purple);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    font-size: 20px;
    color: var(--light-purple);
    animation: bounce 2s infinite;
}

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

/* ================================
   BUTTONS
   ================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-purple), var(--light-purple));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--light-purple), var(--gold));
    transition: left var(--transition-normal);
    z-index: -1;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--light-purple);
}

.btn-secondary:hover {
    background: var(--light-purple);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ================================
   ANIMATIONS
   ================================ */

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

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ================================
   CONTAINER & LAYOUT
   ================================ */

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

section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--light-purple), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--lightest-purple);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================================
   ABOUT SECTION
   ================================ */

.about {
    background: var(--bg-gradient-3);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(107, 70, 193, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.text-block {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.text-block.animate {
    opacity: 1;
    transform: translateY(0);
}

.text-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-purple);
    margin-bottom: 15px;
}

.text-block p {
    color: var(--light-gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(139, 92, 246, 0.2);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--light-purple);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--lightest-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-skills h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-purple);
    margin-bottom: 25px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.skill-tag {
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.skill-tag:hover {
    background: var(--light-purple);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.download-cv {
    text-align: center;
}

/* ================================
   SKILLS SECTION
   ================================ */

.skills {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    position: relative;
}

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

.skill-category {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.1));
    transition: left var(--transition-slow);
    z-index: -1;
}

.skill-category:hover::before {
    left: 0;
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--light-purple);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.category-header i {
    font-size: 2rem;
    color: var(--light-purple);
}

.category-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.skill-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 25px;
    padding: 10px 0;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
    transition: all var(--transition-slow);
    cursor: pointer;
    padding: 20px 15px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left var(--transition-normal);
}

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



.skill-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--light-purple);
    box-shadow: var(--shadow-lg);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-purple), var(--light-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.skill-item:hover .skill-icon::before {
    opacity: 1;
}

.skill-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    z-index: 1;
    position: relative;
    transition: all var(--transition-normal);
    filter: brightness(1.2);
}

.skill-item:hover .skill-icon img {
    transform: scale(1.2);
    filter: brightness(1.4) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.skill-item:hover .skill-icon {
    background: linear-gradient(45deg, var(--light-purple), var(--gold));
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.skill-name {
    font-weight: 600;
    color: var(--white);
    font-size: 0.9rem;
    margin-top: 5px;
    transition: color var(--transition-normal);
}

.skill-item:hover .skill-name {
    color: var(--light-purple);
}



/* ================================
   EXPERIENCE SECTION
   ================================ */

.experience {
    background: var(--bg-gradient-2);
    position: relative;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--light-purple), var(--primary-purple));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(50px);
    transition: all var(--transition-slow);
}

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

.timeline-item::before {
    content: attr(data-date);
    position: absolute;
    top: 48%;
    background: linear-gradient(45deg, var(--light-purple), var(--gold));
    color: var(--white);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 3;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-item:nth-child(odd)::before {
    left: calc(50% + 40px);
}

.timeline-item:nth-child(even)::before {
    right: calc(50% + 40px);
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--gold);
    border: 3px solid var(--white);
    border-radius: 50%;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(odd)::after {
    right: calc(50% - 8px);
}

.timeline-item:nth-child(even)::after {
    left: calc(50% - 8px);
}

.timeline-content {
    width: calc(50% - 40px);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    margin-top: 50px;
    transition: all var(--transition-normal);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--light-purple);
}

.company-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.company-logo {
    width: 60px;
    height: 60px;
    background: var(--light-purple);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.company-details h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    filter: brightness(1.2);
}

.company-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.location {
    font-size: 1rem;
    color: var(--lightest-purple);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.job-description ul {
    list-style: none;
    margin-bottom: 25px;
    margin-top: 20px;
}

.job-description li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.job-description li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    background: rgba(255, 215, 0, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
    margin: 2px 4px 2px 0;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.tech-tag:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.4);
}

/* ================================
   INTERNSHIPS SECTION
   ================================ */

.internships {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
    position: relative;
    overflow: hidden;
}

.internships::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(139,92,246,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.internships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.internship-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 0;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.internship-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.internship-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--light-purple);
    background: rgba(255, 255, 255, 0.12);
}

.internship-header {
    background: linear-gradient(135deg, var(--light-purple), var(--primary-purple));
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.internship-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--light-purple), var(--gold));
}

.internship-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.period-badge {
    background: rgba(255, 215, 0, 0.2);
    color: var(--gold);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.internship-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.internship-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.internship-description ul {
    list-style: none;
    margin-bottom: 25px;
}

.internship-description li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.internship-description li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--light-purple);
    font-weight: bold;
    font-size: 1.1rem;
}

.internship-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
}

.internship-highlight {
    background: linear-gradient(45deg, var(--gold), var(--light-purple));
    margin: 20px 30px 30px 30px;
    padding: 15px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.internship-highlight i {
    font-size: 1.1rem;
}

/* ================================
   PROJECTS SECTION
   ================================ */

.projects {
    background: linear-gradient(135deg, #0f0c29 0%, #24243e 50%, #302b63 100%);
    position: relative;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid rgba(139, 92, 246, 0.3);
    color: var(--white);
    border-radius: 25px;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--light-purple);
    border-color: var(--light-purple);
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    justify-content: center;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: var(--shadow-xl);
    border-color: var(--light-purple);
}

.project-image {
    position: relative;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-purple), var(--light-purple));
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
    position: relative;
    overflow: hidden;
}

.project-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.project-placeholder i {
    font-size: 4rem;
    color: var(--white);
    z-index: 1;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
}

.project-card:hover .project-placeholder i {
    transform: scale(1.2);
    color: var(--gold);
}

.project-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    width: auto;
    height: auto;
    background: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.github-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary-purple);
    font-size: 1.2rem;
    transition: all var(--transition-normal);
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.project-card:hover .github-link {
    transform: translateY(0);
    background: var(--white);
    color: var(--primary-purple);
}

.github-link:hover {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.project-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.project-description {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-stats {
    display: flex;
    gap: 20px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--lightest-purple);
    font-size: 0.9rem;
}

.stat i {
    color: var(--light-purple);
}

.projects-cta {
    text-align: center;
}

/* ================================
   EDUCATION SECTION
   ================================ */

.education {
    background: var(--bg-gradient-1);
    position: relative;
}

.education-content {
    max-width: 1000px;
    margin: 0 auto;
}

.subsection-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-purple);
    margin-bottom: 40px;
    text-align: center;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.education-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    transition: all var(--transition-normal);
    display: flex;
    gap: 25px;
    opacity: 0;
    transform: translateY(30px);
}

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

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--light-purple);
}

.education-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-purple), var(--light-purple));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0;
}

.education-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.education-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-purple);
    margin-bottom: 10px;
}

.institution {
    font-size: 1rem;
    color: var(--lightest-purple);
    margin-bottom: 5px;
}

.duration {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.gpa {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
}

.education-details p {
    color: var(--light-gray);
    line-height: 1.6;
    font-style: italic;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
    align-items: stretch;
}

.certifications-grid .cert-card {
    height: 100%;
}

.cert-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius);
    padding: 25px;
    transition: all var(--transition-normal);
    display: flex;
    gap: 20px;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    min-height: 120px;
    height: auto;
}

.cert-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.cert-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    border-color: var(--light-purple);
    box-shadow: var(--shadow-xl);
}

.cert-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    border-radius: var(--border-radius);
    outline: none;
    transition: all var(--transition-normal);
}

.cert-card-link:focus {
    outline: none;
}

.cert-card-link:focus .cert-card {
    border-color: var(--light-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
    transform: translateY(-8px);
}

.cert-card-link:active .cert-card {
    transform: translateY(-4px);
    transition: transform 0.1s ease;
}

.cert-card-link:focus:not(:focus-visible) {
    outline: none;
}

.cert-card-link:focus-visible .cert-card {
    border-color: var(--light-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.4), var(--shadow-xl);
    transform: translateY(-8px);
}

.cert-card {
    position: relative;
    cursor: pointer;
}

.cert-link-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--light-purple);
    font-size: 0.9rem;
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.cert-card:hover .cert-link-indicator {
    opacity: 1;
    color: var(--gold);
    transform: scale(1.1);
}

/* Certification Expand Section */
.cert-expand-section {
    display: flex;
    justify-content: center;
    margin: 40px 0 20px 0;
}

.cert-expand-btn {
    background: linear-gradient(45deg, var(--primary-purple), var(--light-purple));
    border: none;
    border-radius: 30px;
    padding: 15px 30px;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.cert-expand-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(45deg, var(--light-purple), var(--gold));
}

.expand-icon {
    transition: transform var(--transition-normal);
}

.cert-expand-btn.expanded .expand-icon {
    transform: rotate(180deg);
}

/* All Certifications Section */
.all-certifications {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
}

.all-certifications.expanded {
    max-height: 5000px;
    opacity: 1;
    margin-top: 30px;
}

.all-cert-title {
    text-align: center;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(45deg, var(--light-purple), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.all-cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    align-items: stretch;
}

.all-cert-grid .cert-card {
    height: 100%;
    min-height: 140px;
}

.provider-logo {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 8px;
    padding: 8px;
    flex-shrink: 0;
}

.cert-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
}

.cert-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.cert-issuer {
    font-size: 1rem;
    color: var(--light-purple);
    margin-bottom: 6px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cert-date {
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    background: rgba(255, 215, 0, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    width: fit-content;
}

.cert-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.honors-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.honor-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.honor-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.honor-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--light-purple);
}

.honor-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.honor-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.honor-content p {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 10px;
}

.honor-date {
    font-size: 0.9rem;
    color: var(--lightest-purple);
    font-weight: 500;
}

/* ================================
   CONTACT SECTION
   ================================ */

.contact {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all var(--transition-slow);
}

.contact-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-purple), var(--light-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--light-gray);
    line-height: 1.6;
}

.social-links {
    margin-top: 40px;
}

.social-links h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

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

.social-grid .social-link {
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-normal);
    width: auto;
    height: auto;
}

.social-grid .social-link:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-3px);
    border-color: var(--light-purple);
}

.social-grid .social-link i {
    font-size: 1.2rem;
    color: var(--light-purple);
}

.social-grid .social-link span {
    font-weight: 500;
}

.contact-form-container {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.contact-form-container.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius);
    color: var(--white);
    font-size: 16px;
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo .logo-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--light-purple), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
}

.footer-description {
    color: var(--light-gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.link-group a {
    display: block;
    color: var(--light-gray);
    text-decoration: none;
    margin-bottom: 10px;
    transition: all var(--transition-normal);
}

.link-group a:hover {
    color: var(--light-purple);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-bottom p {
    color: var(--gray);
    margin-bottom: 5px;
}

/* ================================
   BACK TO TOP BUTTON
   ================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-purple), var(--light-purple));
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .contact-content {
        gap: 40px;
    }
    
    .footer-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Mobile adjustments for enhanced hero image */
    .image-container {
        max-width: 280px;
    }
    
    .image-frame {
        width: 280px;
        height: 280px;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .energy-ring {
        border-width: 1px;
    }
    
    .ring-1 { width: 350px; height: 350px; }
    .ring-2 { width: 400px; height: 400px; }
    .ring-3 { width: 450px; height: 450px; }
    
    .geo-shape {
        opacity: 0.2;
    }
    
    .triangle-1 {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 18px solid var(--light-purple);
    }
    
    .triangle-2 {
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-bottom: 20px solid var(--gold);
    }
    
    .circle-1 {
        width: 30px;
        height: 30px;
        border-width: 2px;
    }
    
    .square-1 {
        width: 18px;
        height: 18px;
    }
    
    .hexagon-1 {
        width: 20px;
        height: 12px;
    }
    
    .hexagon-1::before {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 6px solid var(--gold);
    }
    
    .hexagon-1::after {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 6px solid var(--gold);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-icons {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .skill-item {
        padding: 15px 10px;
    }
    
    .skill-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .skill-icon img {
        width: 32px;
        height: 32px;
    }
    
    .skill-name {
        font-size: 0.8rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item::before {
        left: 60px !important;
        right: auto !important;
        top: 10px;
        transform: translateY(-50%);
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .timeline-item::after {
        left: 22px !important;
        right: auto !important;
        top: 50px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: auto !important;
        margin-right: 0 !important;
        margin-top: 40px;
        padding: 25px 20px;
    }
    
    .company-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .company-details h3 {
        font-size: 1.2rem;
    }
    
    .company-details h4 {
        font-size: 1rem;
    }
    
    .job-description li {
        font-size: 0.9rem;
        padding-left: 20px;
    }
    
    .all-cert-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cert-expand-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .all-cert-title {
        font-size: 1.5rem;
    }
    
    .cert-link-indicator {
        top: 10px;
        right: 10px;
        font-size: 0.8rem;
    }
    
    .cert-card {
        min-height: 100px;
        padding: 20px;
        gap: 15px;
    }
    
    .cert-info h4 {
        font-size: 1rem;
    }
    
    .cert-issuer {
        font-size: 0.9rem;
    }
    
    .cert-date {
        font-size: 0.85rem;
        padding: 1px 6px;
    }
    
    .provider-logo {
        width: 40px;
        height: 40px;
        padding: 6px;
    }
    
    .internships-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .internship-card {
        margin: 0 10px;
    }
    
    .internship-header {
        padding: 20px 25px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .internship-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .period-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .internship-content {
        padding: 25px 20px;
    }
    
    .internship-title {
        font-size: 1.2rem;
    }
    
    .company-name {
        font-size: 1rem;
    }
    
    .internship-description li {
        font-size: 0.9rem;
        padding-left: 20px;
    }
    
    .internship-highlight {
        margin: 0 20px 20px 20px;
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .education-card {
        flex-direction: column;
        text-align: center;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-category {
        padding: 30px 20px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .company-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-card {
        margin: 0 10px;
    }
    
    .education-card {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .cert-stats {
        grid-template-columns: 1fr;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */

.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}

.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

/* ================================
   PRINT STYLES
   ================================ */

@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .navbar,
    .back-to-top,
    #loading-screen,
    .hero-background,
    .floating-shape,
    .floating-elements {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title {
        color: black !important;
        page-break-after: avoid;
    }
    
    .project-card,
    .education-card,
    .timeline-content {
        page-break-inside: avoid;
        border: 1px solid #ccc !important;
    }
}

/* ================================
   ACCESSIBILITY
   ================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-shape,
    .floating-icon,
    .scroll-arrow {
        animation: none !important;
    }
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--light-purple);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-purple: #8B5CF6;
        --light-purple: #A855F7;
        --white: #FFFFFF;
        --dark-gray: #000000;
    }
    
    .btn-primary {
        background: var(--primary-purple);
        border: 2px solid var(--white);
    }
    
    .nav-link,
    .social-link {
        border: 1px solid var(--white);
    }
}
