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

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

.fa-spinner {
    animation: spin 1s linear infinite;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

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

.navbar::after {
    content: '';
    position: fixed;
    top: 70px;
    left: 0;
    width: var(--progress-width, 0%);
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.1s ease;
    z-index: 1001;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.4);
}

/* Progress bar width will be controlled by JavaScript */

.nav-logo h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    color: #2563eb;
    font-size: 1.6rem;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.nav-logo h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    transition: width 0.3s ease;
}

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

.nav-menu {
    display: flex;
    gap: 2rem;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.nav-link:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-language {
    display: flex;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.05);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.lang-btn {
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: #6b7280;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    font-size: 1.2rem;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    z-index: -1;
}

.lang-btn.active::before {
    opacity: 1;
}

.lang-btn.active {
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.lang-btn:hover:not(.active) {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.lang-btn {
    position: relative;
    z-index: 1;
}

.lang-btn span {
    position: relative;
    z-index: 1;
}

.lang-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.lang-btn:hover::after {
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(37, 99, 235, 0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: #2563eb;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: #2563eb;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        linear-gradient(135deg, #1e3c72 0%, #2a5298 25%, #667eea 50%, #764ba2 75%, #4facfe 100%),
        linear-gradient(45deg, #0f4c75 0%, #3282b8 50%, #0f4c75 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 85%, rgba(102, 126, 234, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(79, 172, 254, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(118, 75, 162, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 20%, rgba(42, 82, 152, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(30, 60, 114, 0.25) 0%, transparent 55%);
    z-index: 0;
}

.hero::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Hero Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Animated Particles */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

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

.particle-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 20%;
    animation-delay: 2s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    top: 80%;
    left: 70%;
    animation-delay: 1s;
}

.particle-5 {
    width: 4px;
    height: 4px;
    top: 30%;
    left: 60%;
    animation-delay: 3s;
}

.particle-6 {
    width: 7px;
    height: 7px;
    top: 70%;
    left: 40%;
    animation-delay: 5s;
}

.particle-7 {
    width: 3px;
    height: 3px;
    top: 10%;
    left: 50%;
    animation-delay: 2.5s;
}

.particle-8 {
    width: 5px;
    height: 5px;
    top: 90%;
    left: 30%;
    animation-delay: 4.5s;
}

.particle-9 {
    width: 3px;
    height: 3px;
    top: 15%;
    left: 75%;
    animation-delay: 6s;
}

.particle-10 {
    width: 6px;
    height: 6px;
    top: 85%;
    left: 60%;
    animation-delay: 1.5s;
}

.particle-11 {
    width: 4px;
    height: 4px;
    top: 45%;
    left: 5%;
    animation-delay: 3.5s;
}

.particle-12 {
    width: 5px;
    height: 5px;
    top: 75%;
    left: 85%;
    animation-delay: 5.5s;
}

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape-triangle {
    position: absolute;
    top: 15%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid rgba(255, 255, 255, 0.15);
    animation: shapeRotate 12s linear infinite;
}

.shape-circle {
    position: absolute;
    top: 25%;
    left: 5%;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    animation: shapeFloat 10s ease-in-out infinite;
}

.shape-square {
    position: absolute;
    bottom: 20%;
    right: 25%;
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: shapePulse 8s ease-in-out infinite;
}

.shape-hexagon {
    position: absolute;
    bottom: 30%;
    left: 15%;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: shapeBounce 14s ease-in-out infinite;
}

.shape-diamond {
    position: absolute;
    top: 60%;
    right: 10%;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(45deg);
    animation: shapeRotate 16s linear infinite reverse;
}

.shape-star {
    position: absolute;
    top: 35%;
    left: 80%;
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.12);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: shapePulse 12s ease-in-out infinite;
}

.shape-wave {
    position: absolute;
    bottom: 15%;
    right: 40%;
    width: 30px;
    height: 8px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50px;
    animation: waveMove 8s ease-in-out infinite;
}

.shape-octagon {
    position: absolute;
    top: 40%;
    right: 5%;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.14);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation: shapeRotate 14s linear infinite reverse;
}

.shape-pentagon {
    position: absolute;
    top: 70%;
    left: 8%;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.11);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: shapeBounce 11s ease-in-out infinite;
}

.shape-cross {
    position: absolute;
    top: 10%;
    left: 70%;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.13);
    clip-path: polygon(40% 0%, 60% 0%, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0% 60%, 0% 40%, 40% 40%);
    animation: shapePulse 9s ease-in-out infinite;
}

.shape-arrow {
    position: absolute;
    bottom: 40%;
    right: 15%;
    width: 24px;
    height: 12px;
    background: rgba(255, 255, 255, 0.12);
    clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%);
    animation: shapeFloat 13s ease-in-out infinite;
}

.shape-heart {
    position: absolute;
    top: 55%;
    left: 75%;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(50% 100%, 0% 50%, 0% 25%, 25% 0%, 50% 25%, 75% 0%, 100% 25%, 100% 50%);
    animation: shapeBounce 10s ease-in-out infinite;
}

.shape-ring {
    position: absolute;
    top: 80%;
    left: 50%;
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: transparent;
    animation: shapeRotate 16s linear infinite;
}

.shape-spiral {
    position: absolute;
    top: 35%;
    left: 25%;
    width: 20px;
    height: 20px;
    background: conic-gradient(from 0deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    animation: shapeRotate 18s linear infinite;
}

/* Floating Lines */
.floating-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    height: 1px;
    animation: lineMove 15s linear infinite;
}

.line-1 {
    top: 30%;
    left: -100%;
    width: 200px;
    animation-delay: 0s;
}

.line-2 {
    top: 60%;
    left: -100%;
    width: 150px;
    animation-delay: 5s;
}

.line-3 {
    top: 80%;
    left: -100%;
    width: 180px;
    animation-delay: 10s;
}

.line-4 {
    top: 45%;
    left: -100%;
    width: 120px;
    animation-delay: 7s;
}

.line-5 {
    top: 65%;
    left: -100%;
    width: 160px;
    animation-delay: 12s;
}

/* Grid Pattern */
.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

/* Mesh Gradient */
.mesh-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(79, 172, 254, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 50% 25%, rgba(118, 75, 162, 0.06) 0%, transparent 30%),
        radial-gradient(circle at 25% 75%, rgba(42, 82, 152, 0.05) 0%, transparent 35%);
    animation: meshFloat 15s ease-in-out infinite;
}

/* Floating Circles */
.floating-circles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.circle {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: circleFloat 18s ease-in-out infinite;
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.circle-2 {
    width: 60px;
    height: 60px;
    top: 70%;
    right: 20%;
    animation-delay: 6s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 60%;
    animation-delay: 12s;
}

.circle-4 {
    width: 40px;
    height: 40px;
    top: 50%;
    left: 10%;
    animation-delay: 3s;
}

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

.hero-content {
    animation: slideInLeft 1s ease-out;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    position: relative;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.1);
    letter-spacing: -0.02em;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: titleReveal 0.8s ease-out forwards;
}

.title-word:nth-child(1) {
    animation-delay: 0.2s;
}

.title-word:nth-child(2) {
    animation-delay: 0.4s;
}

.title-word::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
    animation: underlineExpand 1s ease-out forwards;
    animation-delay: 0.6s;
}

.hero-subtitle {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    position: relative;
    letter-spacing: 0.01em;
}

.subtitle-word {
    display: inline-block;
    opacity: 0;
    transform: translateX(-30px);
    animation: subtitleReveal 0.6s ease-out forwards;
}

.subtitle-word:nth-child(1) {
    animation-delay: 0.8s;
}

.subtitle-word:nth-child(2) {
    animation-delay: 1s;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0;
    line-height: 1.7;
    transform: translateY(20px);
    animation: descriptionReveal 0.8s ease-out forwards;
    animation-delay: 1.2s;
    letter-spacing: 0.01em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: buttonReveal 0.8s ease-out forwards;
    animation-delay: 1.4s;
    box-shadow: 
        0 8px 32px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 
        0 20px 40px rgba(255, 255, 255, 0.2),
        0 8px 16px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.btn-text {
    position: relative;
    z-index: 3;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 8px;
    z-index: 1;
}

.btn-secondary:hover .btn-glow {
    opacity: 1;
    animation: glassShimmer 2s ease-in-out infinite;
}

.btn-secondary::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.6s ease;
    z-index: 2;
}

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

.btn-linkedin {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-linkedin:hover {
    background: #005885;
    border-color: #005885;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.3);
}

.hero-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.animation-placeholder {
    width: 350px;
    height: 250px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.animation-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

.video-screen {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.video-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

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

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

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

.shape-4 {
    width: 18px;
    height: 18px;
    top: 40%;
    right: 15%;
    animation-delay: 1s;
}

.play-button-container {
    position: relative;
    z-index: 2;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    animation-play-state: paused;
}

.play-button i {
    font-size: 2rem;
    color: white;
    margin-left: 4px;
}

.ripple-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 2s ease-in-out infinite;
}

.video-title {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.video-controls {
    height: 40px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.control-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-right: 1rem;
    position: relative;
    overflow: hidden;
}

.control-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: progress 3s ease-in-out infinite;
}

.control-dots {
    display: flex;
    gap: 0.5rem;
}

.control-dots span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

.control-dots span:nth-child(2) {
    animation-delay: 0.5s;
}

.control-dots span:nth-child(3) {
    animation-delay: 1s;
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

/* About Section */
.about {
    background: #f9fafb;
}

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

.text-content p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.skills-section {
    margin-top: 2rem;
}

.skills-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.01em;
}

.skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.software-proficiency {
    margin-top: 3rem;
}

.software-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.01em;
}

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

.software-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.software-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.software-item i {
    font-size: 1.8rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.software-item span {
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

.skill-item i {
    font-size: 1.5rem;
    color: #2563eb;
}

.about-image {
    display: flex;
    justify-content: center;
}

.portrait-image {
    height: 300px;
    border-radius: 25px;
    object-fit: contain;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: #f8fafc;
}

/* Portfolio Section */
.portfolio-section {
    margin-bottom: 6rem;
    position: relative;
    padding: 3rem 0;
}

.portfolio-section:nth-child(odd) {
    border-radius: 20px;
    margin: 0 -2rem 6rem -2rem;
    padding: 3rem 2rem;
}

.portfolio-section:nth-child(even) {
    border-radius: 20px;
    margin: 0 -2rem 6rem -2rem;
    padding: 3rem 2rem;
}

.portfolio-section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2563eb, transparent);
    border-radius: 1px;
}

.portfolio-subsection-header {
    text-align: center;
    margin-bottom: 2rem;
}

.portfolio-subsection-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.01em;
}

.section-description {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.section-description p {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

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

.portfolio-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Section */
.contact {
    background: #f9fafb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-item i {
    font-size: 1.5rem;
    color: #2563eb;
    width: 30px;
}

.contact-item h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.contact-item p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #6b7280;
    letter-spacing: 0.01em;
}

.linkedin-profile-link {
    color: #0077b5;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.linkedin-profile-link:hover {
    color: #005885;
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #6b7280;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
    letter-spacing: 0.01em;
}

.form-group label[style*="display: none"] {
    display: none !important;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: #0077b5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.social-link:hover {
    background: #005885;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4);
}

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

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

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes progress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 30%;
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 0.4;
    }
    25%, 75% {
        opacity: 1;
    }
}

/* New Hero Animation Keyframes */
@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px) translateX(-5px);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-30px) translateX(15px);
        opacity: 0.4;
    }
}

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

@keyframes shapeFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.08;
    }
    50% {
        transform: translateY(-25px) scale(1.1);
        opacity: 0.15;
    }
}

@keyframes shapePulse {
    0%, 100% {
        transform: rotate(45deg) scale(1);
        opacity: 0.06;
    }
    50% {
        transform: rotate(45deg) scale(1.2);
        opacity: 0.12;
    }
}

@keyframes shapeBounce {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-15px) rotate(90deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.15;
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
        opacity: 0.2;
    }
}

@keyframes lineMove {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleReveal {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes descriptionReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 0.8;
        transform: translateY(0);
    }
}

@keyframes buttonReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineExpand {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

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

@keyframes waveMove {
    0%, 100% {
        transform: translateX(0px) scaleX(1);
        opacity: 0.1;
    }
    50% {
        transform: translateX(20px) scaleX(1.2);
        opacity: 0.2;
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes meshFloat {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.8;
    }
}

@keyframes circleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-15px) scale(1.05);
        opacity: 0.15;
    }
    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-15px) scale(1.05);
        opacity: 0.15;
    }
}

/* Video Modal Styles - Scaling Animation */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    cursor: pointer;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal.active .modal-overlay {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: auto;
    height: auto;
    margin: auto;
    background: transparent;
    border-radius: 16px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Scaling iframe animation */
.scaling-iframe {
    position: fixed;
    z-index: 10001;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close {
    position: fixed;
    top: 50px;
    right: 50px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.modal-video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.modal-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
    transition: all 0.3s ease;
}

/* Smooth iframe transition states */
.video-container iframe {
    transition: all 0.3s ease;
}

/* Animation for iframe when moving to modal */
.iframe-transitioning {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Video containers with expand functionality */
.video-container {
    position: relative;
    width: 100%;
    height: 200px;
    background: #f3f4f6;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.video-container:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Expand icon in center */
.video-expand-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    scale: 0.8;
    z-index: 10;
}

.video-container:hover .video-expand-icon {
    opacity: 1;
    scale: 1;
}

.video-expand-icon:hover {
    background: rgba(0, 0, 0, 0.9);
    scale: 1.1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 70%;
        max-height: 70vh;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        border-top: 1px solid rgba(37, 99, 235, 0.2);
        display: flex;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        margin: 1rem 0;
        font-size: 1.2rem;
        padding: 12px 24px;
        border-radius: 12px;
        background: rgba(37, 99, 235, 0.05);
        border: 1px solid rgba(37, 99, 235, 0.1);
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(37, 99, 235, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .particles-container,
    .geometric-shapes,
    .floating-lines,
    .grid-pattern,
    .mesh-gradient,
    .floating-circles {
        display: none; /* Hide complex animations on mobile for performance */
    }
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skills {
        grid-template-columns: 1fr;
    }
    
    .software-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-section:nth-child(odd),
    .portfolio-section:nth-child(even) {
        margin: 0 -1rem 4rem -1rem;
        padding: 2rem 1rem;
    }
    
    .portfolio-subsection-title {
        font-size: 1.5rem;
    }
    
    .animation-placeholder {
        width: 280px;
        height: 200px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .video-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
