/* Modern Professional Resume Website CSS */
/* Vlad Muntianu - vladmuntianu.com */

/* CSS Variables */
:root {
    --primary-red: rgb(165, 47, 56);
    --secondary-red: rgb(140, 35, 45);
    --primary-gold: rgb(221, 153, 51);
    --primary-blue: rgb(70, 130, 180);
    --primary-purple: rgb(120, 100, 180);
    --contact-primary: rgb(70, 130, 180);
    --contact-secondary: rgba(70, 130, 180, 0.3);
    --contact-light: rgba(70, 130, 180, 0.1);
    --dark-red: rgb(120, 30, 38);
    --light-gold: rgba(221, 153, 51, 0.1);
    --text-dark: rgb(33, 37, 41);
    --text-light: rgb(248, 249, 250);
    --gradient-red: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    --gradient-gold: linear-gradient(135deg, var(--primary-gold), #d4af37);
    --gradient-contact: linear-gradient(135deg, var(--contact-primary), var(--primary-purple));
    --gradient-contact-hover: linear-gradient(135deg, rgb(85, 145, 195), rgb(135, 115, 195));
    --shadow-elegant: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --background-paper: #faf8f3;
    --linkedin-blue: #0077b5;
    --youtube-red: #ff0000;
}

/* Windows-specific optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Enhanced Windows DPI handling */
@media screen and (-webkit-min-device-pixel-ratio: 1.5),
       screen and (min-resolution: 144dpi),
       screen and (min-resolution: 1.5dppx) {
    body {
        -webkit-font-smoothing: subpixel-antialiased;
        text-rendering: geometricPrecision;
    }
    
    /* Improve text clarity on high-DPI Windows displays */
    .section-title,
    .hero-title,
    .experience-info h4,
    .contact-form label {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
}

/* Windows-specific performance optimizations */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    /* IE/Edge specific optimizations */
    * {
        will-change: auto;
    }
    
    .experience-item,
    .summary-card,
    .qualification-card,
    .venture-card,
    .skill-category,
    .contact-cta,
    .contact-form-submit,
    .back-to-top {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}

/* Windows Chrome specific optimizations */
@supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
    body {
        text-size-adjust: 100%;
        -webkit-text-size-adjust: 100%;
    }
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

/* Animated Background Particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(221, 153, 51, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(165, 47, 56, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(221, 153, 51, 0.06) 0%, transparent 50%);
    animation: backgroundParticles 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes backgroundParticles {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% { 
        transform: translate(-30px, -30px) scale(1.1);
        opacity: 0.5;
    }
    66% { 
        transform: translate(30px, 30px) scale(0.9);
        opacity: 0.7;
    }
}

/* Floating Elements Animation */
@keyframes floatingElements {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.8;
    }
}

/* Enhanced Navigation Styles with Morphing Effects */
.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(221, 153, 51, 0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(221, 153, 51, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.main-navigation.visible::before {
    transform: translateX(100%);
}

.main-navigation.visible {
    transform: translateY(0);
    animation: navSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes navSlideIn {
    0% { 
        transform: translateY(-100%) scale(0.9);
        opacity: 0;
    }
    50% { 
        transform: translateY(-10px) scale(1.02);
        opacity: 0.8;
    }
    100% { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-logo:hover::after {
    width: 100%;
    height: 3px;
    box-shadow: 0 0 10px rgba(221, 153, 51, 0.6);
}

.nav-logo:hover {
    color: var(--primary-gold);
    transform: scale(1.05) rotate(2deg);
    text-shadow: 0 0 20px rgba(221, 153, 51, 0.4);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(221, 153, 51, 0.2), transparent);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
}

.nav-link:hover::before {
    width: 200px;
    height: 200px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold);
    transform: translateY(-2px) scale(1.05);
    text-shadow: 0 2px 10px rgba(221, 153, 51, 0.3);
}

.nav-link.active {
    background: var(--gradient-gold);
    color: white;
    box-shadow: 0 4px 15px rgba(221, 153, 51, 0.3);
    animation: activeNavPulse 2s ease-in-out infinite;
}

@keyframes activeNavPulse {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(221, 153, 51, 0.3);
        transform: translateY(-2px) scale(1.05);
    }
    50% { 
        box-shadow: 0 6px 25px rgba(221, 153, 51, 0.5);
        transform: translateY(-3px) scale(1.08);
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

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

/* Enhanced Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(221, 153, 51, 0.1);
    border-radius: 8px;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.nav-toggle:hover::before {
    transform: scale(1);
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-red);
    margin: 4px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    position: relative;
    z-index: 1;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-9px, 6px);
    background: var(--primary-gold);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-8px, -8px);
    background: var(--primary-gold);
}

/* Enhanced Circle Navigation with Morphing Effects */
.circle-navigation {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.circle-navigation.visible {
    opacity: 1;
    visibility: visible;
    animation: circleNavReveal 0.8s ease-out;
}

@keyframes circleNavReveal {
    0% { 
        transform: translateY(-50%) translateX(-50px) scale(0.5);
        opacity: 0;
    }
    50% { 
        transform: translateY(-50%) translateX(10px) scale(1.1);
        opacity: 0.7;
    }
    100% { 
        transform: translateY(-50%) translateX(0) scale(1);
        opacity: 1;
    }
}

.circle-nav-item {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(221, 153, 51, 0.3);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
}

.circle-nav-item::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-gold), var(--primary-red), var(--primary-gold));
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
    animation: rotateGradient 4s linear infinite;
}

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

.circle-nav-item:hover::before,
.circle-nav-item.active::before {
    opacity: 0.7;
}

.circle-nav-item:hover,
.circle-nav-item.active {
    background: var(--primary-gold);
    transform: scale(1.8);
    box-shadow: 0 0 30px rgba(221, 153, 51, 0.6);
}

.circle-nav-item::after {
    content: attr(data-section);
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(221, 153, 51, 0.3);
}

.circle-nav-item:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(10px) scale(1.1);
}

/* Enhanced Back to Top Button with Morphing Animation */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-red);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-elegant);
    overflow: hidden;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.back-to-top:hover::before {
    width: 100px;
    height: 100px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: backToTopReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes backToTopReveal {
    0% { 
        transform: translateY(100px) scale(0) rotate(180deg);
        opacity: 0;
    }
    50% { 
        transform: translateY(-10px) scale(1.2) rotate(90deg);
        opacity: 0.8;
    }
    100% { 
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 1;
    }
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.2) rotate(360deg);
    box-shadow: 0 25px 50px rgba(165, 47, 56, 0.4);
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
}

/* Fluid Container Styles */
.main-container {
    width: 100%;
    margin: 0;
    padding: 0 max(2.5rem, 5vw);
}

.wide-container {
    width: 100%;
    margin: 0;
    padding: 0 max(1.5rem, 3vw);
}

/* Enhanced Hero Header with Parallax and Particle Effects */
.hero-header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)),
                url('./images/london-hero.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: var(--text-light);
    overflow: hidden;
}

/* London Background Enhancement with Parallax */
.hero-header::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: url('./images/london.png') center/cover no-repeat;
    opacity: 0.6;
    z-index: -2;
    animation: parallaxFloat 15s ease-in-out infinite;
}

@keyframes parallaxFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
    }
    50% { 
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(221, 153, 51, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(165, 47, 56, 0.4) 0%, transparent 50%),
        linear-gradient(135deg, rgba(165, 47, 56, 0.4), rgba(221, 153, 51, 0.3));
    z-index: -1;
    animation: heroGradientShift 12s ease-in-out infinite;
}

@keyframes heroGradientShift {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.6; }
}

/* Floating Particles in Hero */
.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 85% 75%, rgba(221, 153, 51, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 45% 60%, rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 200px 200px, 300px 300px, 150px 150px;
    animation: floatingParticles 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

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

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 100%;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 4rem);
}

.profile-section {
    opacity: 1;
    transform: none;
    animation: none;
}

@keyframes heroRevealEnhanced {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.8);
        filter: blur(10px);
    }
    30% {
        opacity: 0.3;
        transform: translateY(40px) scale(0.9);
        filter: blur(5px);
    }
    60% {
        opacity: 0.7;
        transform: translateY(-10px) scale(1.05);
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

.profile-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 0 10px rgba(221, 153, 51, 0.1);
    margin-bottom: 1.5rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-gold), var(--primary-red), var(--primary-gold));
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
    animation: rotateGradient 6s linear infinite;
}

.profile-image:hover::before {
    opacity: 0.8;
}

.profile-image:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 0 15px rgba(221, 153, 51, 0.2),
        0 0 50px rgba(221, 153, 51, 0.3);
}

/* Enhanced Typewriter Effect Styles */
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #f8f9fa, var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    opacity: 1;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-red));
    transition: width 1.5s ease-out 0.5s;
    border-radius: 3px;
}

.hero-title.typewriter-complete::after {
    width: 60%;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    opacity: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(221, 153, 51, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    animation: locationPulse 3s ease-in-out infinite;
}

@keyframes locationPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.9;
    }
    50% { 
        transform: scale(1.05);
        opacity: 1;
    }
}

.flag {
    font-size: 1.3rem;
    animation: flagWave 2s ease-in-out infinite;
}

@keyframes flagWave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

/* Enhanced Hero Quote with Morphing Effects */
.hero-quote {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin: 1.5rem auto;
    max-width: 600px;
    position: relative;
    animation: floatPaper 4s ease-in-out infinite;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-quote::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-red), var(--primary-gold));
    border-radius: 23px;
    z-index: -1;
    opacity: 0.7;
    animation: quoteBorderGlow 3s ease-in-out infinite;
}

@keyframes quoteBorderGlow {
    0%, 100% { 
        opacity: 0.7;
        filter: blur(1px);
    }
    50% { 
        opacity: 0.9;
        filter: blur(0px);
    }
}

.hero-quote:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes floatPaper {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    25% { 
        transform: translateY(-8px) rotate(1deg);
    }
    50% { 
        transform: translateY(-15px) rotate(0deg);
    }
    75% { 
        transform: translateY(-8px) rotate(-1deg);
    }
}

.hero-quote p {
    font-style: italic;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    position: relative;
}

.hero-quote p::before,
.hero-quote p::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-gold);
    position: absolute;
    font-family: 'Playfair Display', serif;
    opacity: 0.6;
    animation: quoteMarks 2s ease-in-out infinite;
}

.hero-quote p::before {
    top: -20px;
    left: -20px;
}

.hero-quote p::after {
    bottom: -40px;
    right: -20px;
    transform: rotate(180deg);
}

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

/* Enhanced Social Links with Morphing Animations */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.social-link:hover::before {
    width: 300px;
    height: 300px;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 255, 255, 0.2);
    color: white;
}

.social-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2) rotate(15deg);
}

/* Enhanced Scroll Indicator with Pulsing Animation */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
    margin-top: auto;
}

.scroll-arrow {
    width: 55px;
    height: 55px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    animation: scrollPulse 2.5s ease-in-out infinite;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.scroll-arrow:hover::before {
    opacity: 1;
    transform: scale(1);
    animation: rippleEffect 1s ease infinite;
}

@keyframes rippleEffect {
    0% { 
        transform: scale(1);
        opacity: 1;
    }
    100% { 
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes scrollPulse {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-10px) scale(1.1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-15px) scale(1.05);
        opacity: 0.9;
    }
    75% { 
        transform: translateY(-5px) scale(1.1);
        opacity: 1;
    }
}

.scroll-arrow:hover {
    background: rgba(221, 153, 51, 0.2);
    border-color: var(--primary-gold);
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(221, 153, 51, 0.4);
}

/* Mobile Hero Optimizations */
@media (max-width: 768px) {
    .hero-header {
        min-height: 100vh;
        background-attachment: scroll;
        padding: 0.5rem 0;
    }

    .hero-content {
        padding: 0.5rem 0;
        min-height: calc(100vh - 2rem);
    }

    .profile-image {
        width: 130px;
        height: 130px;
        margin-bottom: 1rem;
    }

    .hero-quote {
        margin: 1rem auto;
        padding: 1.5rem;
        max-width: 90%;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .social-link {
        width: 220px;
        justify-content: center;
    }

    .scroll-indicator {
        bottom: 15px;
    }

    .scroll-arrow {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .main-container {
        padding: 0 max(1.5rem, 4vw);
    }

    .wide-container {
        padding: 0 max(1rem, 2vw);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(221, 153, 51, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        animation: mobileMenuSlide 0.5s ease;
    }

    @keyframes mobileMenuSlide {
        0% { 
            transform: translateY(-100%) scale(0.95);
            opacity: 0;
        }
        100% { 
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }

    .nav-item {
        text-align: center;
        margin: 0.5rem 0;
        animation: mobileNavItemReveal 0.4s ease forwards;
        opacity: 0;
        transform: translateX(-20px);
    }

    .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .nav-item:nth-child(2) { animation-delay: 0.2s; }
    .nav-item:nth-child(3) { animation-delay: 0.3s; }
    .nav-item:nth-child(4) { animation-delay: 0.4s; }
    .nav-item:nth-child(5) { animation-delay: 0.5s; }
    .nav-item:nth-child(6) { animation-delay: 0.6s; }
    .nav-item:nth-child(7) { animation-delay: 0.7s; }

    @keyframes mobileNavItemReveal {
        to { 
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        border-radius: 15px;
        margin: 0.5rem 0;
    }

    .circle-navigation {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.3;
    }

    .hero-quote {
        padding: 1.5rem;
    }

    .hero-quote p {
        font-size: 0.9rem;
    }
}

/* Enhanced Content Sections with Staggered Animations */
.content-section {
    padding: 7rem 0;
    position: relative;
    margin: 2rem 0;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(221, 153, 51, 0.05), transparent);
    transition: left 2s ease;
}

.content-section.visible::before {
    left: 100%;
}

.content-section:nth-child(even) {
    background: rgba(250, 248, 243, 0.5);
}

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 50px;
    transition: all 0.8s ease-out;
}

.section-title.animated::after {
    animation: curvy-underline 2s ease-out forwards;
}

/* Enhanced animated curvy underline effect */
@keyframes curvy-underline {
    0% {
        width: 0;
        border-radius: 50px;
        transform: translateX(-50%) scaleY(0.5);
        box-shadow: 0 0 0 rgba(221, 153, 51, 0);
    }
    30% {
        width: 60px;
        border-radius: 50px;
        transform: translateX(-50%) scaleY(1.2);
        box-shadow: 0 0 10px rgba(221, 153, 51, 0.3);
    }
    50% {
        width: 120px;
        border-radius: 30px;
        transform: translateX(-50%) scaleY(1.5);
        box-shadow: 0 0 20px rgba(221, 153, 51, 0.5);
    }
    100% {
        width: 80px;
        border-radius: 20px;
        transform: translateX(-50%) scaleY(1);
        box-shadow: 0 0 15px rgba(221, 153, 51, 0.4);
    }
}

.section-subtitle {
    font-size: 1.3rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    animation: subtitleReveal 1s ease-out 0.5s both;
}

@keyframes subtitleReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Enhanced Professional Summary Cards with Staggered Morphing */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.summary-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-elegant);
    border-left: 6px solid var(--primary-gold);
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 25px 25px 0 0;
    transform: scaleX(0);
    transition: transform 0.8s ease 0.3s;
}

.summary-card.animated::before {
    transform: scaleX(1);
}

.summary-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(221, 153, 51, 0.1), transparent);
    transform: scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.summary-card:hover::after {
    transform: scale(1);
}

.summary-card:hover {
    transform: translateY(-20px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 0 0 1px var(--contact-secondary);
}

.summary-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.summary-card h3 i {
    color: var(--primary-gold);
    font-size: 1.4rem;
    transition: all 0.4s ease;
}

.summary-card:hover h3 i {
    transform: scale(1.3) rotate(360deg);
}

.summary-card p {
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.summary-card:hover p {
    color: #333;
}

/* Enhanced Qualifications Grid with 3D Morphing Effects */
.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    justify-items: center;
}

@media (min-width: 900px) {
    .qualifications-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
        margin: 4rem auto 0;
        gap: 2rem;
    }
}

.qualification-card {
    background: var(--dark-red);
    color: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-elegant);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.qualification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.8s ease;
}

.qualification-card.animated::before {
    transform: scaleX(1);
}

.qualification-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(221, 153, 51, 0.2), transparent);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.qualification-card:hover::after {
    width: 400px;
    height: 400px;
}

.qualification-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.3),
        0 0 0 1px var(--contact-secondary);
}

.qualification-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.qualification-card p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}

/* Enhanced Ventures Grid with Advanced Morphing */
.ventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.venture-card {
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-elegant);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(221, 153, 51, 0.1);
    position: relative;
}

.venture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(221, 153, 51, 0.1), rgba(165, 47, 56, 0.1));
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

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

.venture-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px var(--contact-secondary);
}

.venture-header {
    display: flex;
    align-items: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--background-paper), #ffffff);
    border-bottom: 1px solid rgba(221, 153, 51, 0.1);
    position: relative;
    z-index: 2;
}

.venture-logo {
    width: 130px;
    height: auto;
    margin-right: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.venture-card:hover .venture-logo {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.venture-info {
    flex: 1;
}

.venture-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: color 0.3s ease;
}

.venture-card:hover .venture-title {
    color: var(--primary-gold);
}

.venture-subtitle {
    color: #6c757d;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.venture-card:hover .venture-subtitle {
    color: var(--primary-red);
}

.venture-description {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.venture-description > p:first-child {
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.venture-card:hover .venture-description > p:first-child {
    color: var(--primary-gold);
}

.venture-features {
    list-style: none;
    margin: 2rem 0;
}

.venture-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #555;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: featureReveal 0.5s ease forwards;
}

.venture-features li:nth-child(1) { animation-delay: 0.1s; }
.venture-features li:nth-child(2) { animation-delay: 0.2s; }
.venture-features li:nth-child(3) { animation-delay: 0.3s; }
.venture-features li:nth-child(4) { animation-delay: 0.4s; }
.venture-features li:nth-child(5) { animation-delay: 0.5s; }

@keyframes featureReveal {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.venture-card:hover .venture-features li {
    color: var(--text-dark);
    transform: translateX(10px);
}

.venture-features i {
    color: var(--primary-gold);
    margin-right: 1rem;
    width: 18px;
    transition: all 0.3s ease;
}

.venture-card:hover .venture-features i {
    transform: scale(1.2) rotate(360deg);
}

.visit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--gradient-gold);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1.5rem;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
}

.visit-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.visit-link:hover::before {
    width: 300px;
    height: 300px;
}

.visit-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(221, 153, 51, 0.4);
    color: white;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-red));
}

.visit-link i {
    transition: transform 0.3s ease;
}

.visit-link:hover i {
    transform: translateX(5px) rotate(15deg);
}

/* Enhanced eSports Section with Matrix Effects */
.esports-section {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
    margin: 3rem 0;
}

.esports-section::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="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

.esports-content {
    position: relative;
    z-index: 2;
}

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

.esports-logo {
    height: 90px;
    margin-bottom: 2.5rem;
    filter: brightness(1.2);
}

.esports-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.esports-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

/* 3x3 Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000;
}

.video-thumbnail:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
    background: var(--primary-gold);
    color: white;
    transform: translate(-50%, -50%) scale(1.2);
}

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2.5rem 1.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

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

.close-modal {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-gold);
    transform: scale(1.2);
}

/* Mobile Videos Grid */
@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .play-overlay {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .video-title {
        font-size: 0.9rem;
        padding: 2rem 1rem 1rem;
    }
}

@media (max-width: 480px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-modal-content {
        width: 95%;
    }

    .close-modal {
        top: -50px;
        font-size: 2rem;
    }
}

/* Enhanced Treasure Map Experience Timeline with Morphing Effects */
.experience-timeline {
    position: relative;
    padding: 0;
    margin-top: 4rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--primary-blue);
    border-radius: 4px;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(38, 132, 214, 0.25);
}

/* Timeline floating animation */
@keyframes timelineFloat {
    0%, 100% { 
        transform: translateX(-50%) translateY(0px);
    }
    33% { 
        transform: translateX(-50%) translateY(-3px);
    }
    66% { 
        transform: translateX(-50%) translateY(3px);
    }
}

/* Logo completion bounce */
@keyframes logoCompletionBounce {
    0% { 
        transform: translateX(-50%) translateY(-50%) scale(1);
    }
    30% { 
        transform: translateX(-50%) translateY(-50%) scale(1.1);
    }
    60% { 
        transform: translateX(-50%) translateY(-50%) scale(0.95);
    }
    100% { 
        transform: translateX(-50%) translateY(-50%) scale(1);
    }
}

/* PROFESSIONAL TIMELINE - CLEAN & RELIABLE */
.simple-timeline {
    position: relative;
    padding-left: 4rem;
    margin-top: 3rem;
}

/* Visible timeline line */
.simple-timeline::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-gold));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(70, 130, 180, 0.3);
}

.experience-card {
    display: flex;
    align-items: stretch;
    margin-bottom: 3rem;
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow-elegant);
    border: 1px solid rgba(221, 153, 51, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 160px;
}

.experience-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-gold);
}

.experience-logo {
    flex-shrink: 0;
    width: 120px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-right: 3px solid var(--primary-gold);
    position: relative;
    padding: 1rem;
}

.experience-logo::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-gold);
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 4px var(--primary-blue), 0 4px 15px rgba(70, 130, 180, 0.4);
    z-index: 2;
}

.experience-logo img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.experience-card:hover .experience-logo img {
    transform: scale(1.1);
}

/* Clean animations */
.fade-up {
    opacity: 1;
    transform: none;
}

/* Remove any problematic legacy styles */
.experience-item,
.timeline-item,
.company-logo {
    /* Reset any conflicting styles */
    position: static;
    transform: none;
}

.experience-details {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.experience-info h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.experience-company {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.experience-duration {
    background: var(--primary-blue);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(70, 130, 180, 0.3);
    width: fit-content;
}

.experience-description {
    color: #495057;
    line-height: 1.7;
    font-size: 1.05rem;
}

.experience-description p {
    margin-bottom: 1.2rem;
}

/* Badge styling for skills */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 25px;
    margin-right: 0.6rem;
    margin-bottom: 0.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge.bg-primary {
    background: var(--primary-blue);
    color: white;
}

.badge.bg-success {
    background: #28a745;
    color: white;
}

.badge.bg-warning {
    background: var(--primary-gold);
    color: white;
}

.badge.bg-info {
    background: #17a2b8;
    color: white;
}

.badge.me-2 {
    margin-right: 0.6rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .simple-timeline {
        padding-left: 2.5rem;
    }

    .simple-timeline::before {
        left: 1rem;
        width: 3px;
    }

    .experience-card {
        flex-direction: column;
        margin-bottom: 2.5rem;
        min-height: auto;
    }

    .experience-logo {
        width: 100%;
        height: 100px;
        border-right: none;
        border-bottom: 3px solid var(--primary-gold);
    }

    .experience-logo::before {
        left: -2.25rem;
        top: 50px;
        transform: none;
        width: 16px;
        height: 16px;
    }

    .experience-details {
        padding: 2rem;
    }

    .experience-info h4 {
        font-size: 1.3rem;
    }

    .experience-duration {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}



/* Removed duplicate - using the grid-based positioning above */

.experience-item.slide-in .company-logo {
    animation: logoReveal 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s forwards;
}

@keyframes logoReveal {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(-50%) scale(1) rotate(0deg);
        filter: brightness(1) contrast(1);
    }
    30% {
        opacity: 1;
        transform: translateX(-50%) translateY(-50%) scale(1.3) rotate(90deg);
        filter: brightness(1.5) contrast(1.5);
    }
    60% {
        opacity: 1;
        transform: translateX(-50%) translateY(-50%) scale(0.9) rotate(-10deg);
        filter: brightness(1.2) contrast(1.2);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(-50%) scale(1) rotate(0deg);
        filter: brightness(1) contrast(1);
    }
}

.company-logo::before {
    display: none;
}

.company-logo::after {
    display: none;
}

.experience-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary-red);
    margin-bottom: 0.8rem;
}

.experience-company {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.experience-duration {
    background: var(--primary-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 10px rgba(38, 132, 214, 0.25);
}

.experience-description {
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    margin: 0.3rem;
    display: inline-block;
}

/* Enhanced Mobile Experience Timeline */
@media (max-width: 768px) {
    /* Mobile: Single column timeline */
    .experience-timeline::before {
        left: 30px;
        transform: none;
        width: 3px;
    }
    
    .experience-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
        justify-content: flex-start !important;
        margin-bottom: 3rem;
    }
    
    .experience-item:nth-child(odd) .experience-content,
    .experience-item:nth-child(even) .experience-content {
        text-align: left;
        margin-left: 80px;
        margin-right: 1rem;
        max-width: calc(100% - 90px);
    }

    /* Mobile company logo positioning */
    .experience-item .company-logo {
        left: 30px;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        top: 1.5rem;
    }
    
    /* Hide arrows on mobile */
    .experience-item:nth-child(odd) .experience-content::after,
    .experience-item:nth-child(even) .experience-content::after {
        display: none;
    }

    /* Mobile trail effects */
    .experience-item:nth-child(odd) .experience-content::before,
    .experience-item:nth-child(even) .experience-content::before {
        left: -30px;
        right: auto;
        border-left-color: transparent;
        border-right-color: #ffffff;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(221, 153, 51, 0.1) 50%, 
            transparent
        );
    }

    .experience-item.slide-in .experience-content::before {
        left: 100%;
        transition-duration: 0.8s;
    }

    .company-logo {
        left: 30px;
        transform: translateX(-50%) translateY(-50%) scale(0) rotate(90deg);
        width: 80px;
        height: 80px;
        z-index: 10;
    }

    .experience-item.slide-in .company-logo {
        transform: translateX(-50%) translateY(-50%) scale(1) rotate(0deg);
        animation: mobileLogoReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
    }

    @keyframes mobileLogoReveal {
        0% {
            transform: translateX(-50%) translateY(-50%) scale(0) rotate(90deg);
            opacity: 0;
        }
        60% {
            transform: translateX(-50%) translateY(-50%) scale(1.1) rotate(-10deg);
            opacity: 0.8;
        }
        100% {
            transform: translateX(-50%) translateY(-50%) scale(1) rotate(0deg);
            opacity: 1;
        }
    }

    /* Reduce particle effects on mobile for performance */
    .company-logo::after {
        display: none;
    }
}

/* Skills Grid - 4 Columns */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.skill-category {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-elegant);
    border-top: 5px solid var(--primary-gold);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(221, 153, 51, 0.1), transparent);
    transition: left 0.8s ease;
}

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

.skill-category::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(221, 153, 51, 0.05), transparent);
    transform: scale(0);
    transition: transform 0.5s ease;
    pointer-events: none;
}

.skill-category:hover::after {
    transform: scale(1);
}

.skill-category:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.25),
        0 0 0 1px var(--contact-secondary);
}

.skill-category h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-category h3 i {
    color: var(--primary-gold);
    font-size: 1.3rem;
    transition: all 0.4s ease;
}

.skill-category:hover h3 i {
    transform: scale(1.3) rotate(360deg);
    color: var(--primary-red);
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    margin-bottom: 1rem;
    color: #555;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.05rem;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    animation: skillItemReveal 0.5s ease forwards;
}

.skill-category li:nth-child(1) { animation-delay: 0.1s; }
.skill-category li:nth-child(2) { animation-delay: 0.2s; }
.skill-category li:nth-child(3) { animation-delay: 0.3s; }
.skill-category li:nth-child(4) { animation-delay: 0.4s; }
.skill-category li:nth-child(5) { animation-delay: 0.5s; }

@keyframes skillItemReveal {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.skill-category li::before {
    content: '▸';
    color: var(--primary-gold);
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.skill-category li:hover::before {
    transform: scale(1.5) rotate(90deg);
    color: var(--primary-red);
}

.skill-category li:hover {
    color: var(--primary-red);
    transform: translateX(15px) scale(1.05);
    text-shadow: 0 2px 5px rgba(165, 47, 56, 0.2);
}

/* Language Skills */
.language-skills {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    background: var(--contact-light);
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--contact-secondary);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.language-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(70, 130, 180, 0.3), transparent);
    transition: left 0.6s ease;
}

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

.language-item:hover {
    background: rgba(70, 130, 180, 0.25);
    transform: translateX(10px) scale(1.01);
    box-shadow: 0 8px 25px rgba(70, 130, 180, 0.3);
    border-color: var(--contact-primary);
}

.language-name {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
}

.language-level {
    background: var(--gradient-contact);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(70, 130, 180, 0.3);
}

/* Mobile Skills Grid */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Contact Section */
.contact-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: white;
    font-size: 1.1rem;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

.contact-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.contact-cta:hover::before {
    left: 100%;
}

.contact-cta:hover::after {
    width: 300px;
    height: 300px;
}

.contact-cta.linkedin {
    background: var(--linkedin-blue);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.contact-cta.linkedin:hover {
    background: #005885;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 119, 181, 0.6);
    color: white;
}

.contact-cta.youtube {
    background: var(--youtube-red);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.contact-cta.youtube:hover {
    background: #cc0000;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.6);
    color: white;
}

.contact-cta i {
    transition: transform 0.4s ease;
}

.contact-cta:hover i {
    transform: scale(1.2);
}

/* Contact Form Styles */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 248, 243, 0.98));
    border-radius: 25px;
    padding: 3rem;
    box-shadow: var(--shadow-elegant);
    border: 1px solid rgba(221, 153, 51, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-container:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(221, 153, 51, 0.3);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-gold);
    border-radius: 25px 25px 0 0;
    animation: formTopGlow 3s ease-in-out infinite;
}

@keyframes formTopGlow {
    0%, 100% { 
        opacity: 1;
        filter: brightness(1);
    }
    50% { 
        opacity: 0.8;
        filter: brightness(1.2);
    }
}

.contact-form {
    position: relative;
    z-index: 2;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--contact-secondary);
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    will-change: transform, box-shadow;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--contact-primary);
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 0 0 3px var(--contact-light),
        0 5px 15px rgba(70, 130, 180, 0.2);
    transform: translateY(-3px) scale(1.01);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(70, 130, 180, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px var(--contact-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.contact-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: var(--gradient-red);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(165, 47, 56, 0.4);
}

.contact-form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

.contact-form-submit::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.contact-form-submit:hover::before {
    left: 100%;
}

.contact-form-submit:hover::after {
    width: 400px;
    height: 400px;
}

.contact-form-submit:hover {
    background: var(--gradient-contact-hover);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 45px rgba(70, 130, 180, 0.6);
}

.contact-form-submit:active {
    transform: translateY(-3px) scale(1.02);
}

.contact-form-submit i {
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

.contact-form-submit:hover i {
    transform: translateX(8px) rotate(15deg) scale(1.2);
}

/* Form Validation Styles */
.form-group input:valid,
.form-group textarea:valid {
    border-color: rgba(40, 167, 69, 0.5);
}

.form-group input:invalid:focus,
.form-group textarea:invalid:focus {
    border-color: rgba(220, 53, 69, 0.5);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Cloudflare Turnstile Styles */
.cf-turnstile {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

/* Form Status Messages */
.form-status {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    font-weight: 500;
    text-align: center;
    animation: fadeInUp 0.3s ease;
}

.form-status.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #b1dfbb;
}

.form-status.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f1b0b7;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-form-container {
        margin: 0 auto 3rem auto;
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .contact-form-submit {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-group label {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-tagline {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--contact-primary);
    text-decoration: none;
}

.trademark-info {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.7;
}

.trademark-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.trademark-link:hover {
    color: var(--primary-gold);
    text-decoration: underline;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .main-container {
        padding: 0 max(1.5rem, 4vw);
    }

    .wide-container {
        padding: 0 max(1rem, 2vw);
    }

    .content-section {
        padding: 5rem 0;
        margin: 1.5rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .summary-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .qualifications-grid {
        grid-template-columns: 1fr;
    }

    .ventures-grid {
        grid-template-columns: 1fr;
    }

    .venture-header {
        flex-direction: column;
        text-align: center;
    }

    .venture-logo {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .contact-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin: 0.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .summary-card,
    .qualification-card,
    .skill-category {
        padding: 2rem;
    }

    .experience-content {
        padding: 2rem;
    }

    .venture-description {
        padding: 2rem;
    }

    .trademark-info {
        font-size: 0.85rem;
        padding: 0 1rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

/* CLEAN CSS - NO INTERFERING ANIMATIONS */

/* Enhanced Footer Quote Styling */
.quote-container {
    background: linear-gradient(135deg, rgba(221, 153, 51, 0.1), rgba(165, 47, 56, 0.1));
    padding: 2rem 2.5rem;
    border-radius: 20px;
    border-left: 5px solid var(--primary-gold);
    border-right: 5px solid var(--primary-red);
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.quote-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-gold);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-red);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(165, 47, 56, 0.4);
}

.footer-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.footer-quote::before,
.footer-quote::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-gold);
    font-weight: bold;
    opacity: 0.7;
}

.footer-quote::before {
    margin-right: 0.2rem;
}

.footer-quote::after {
    margin-left: 0.2rem;
}

/* Mobile responsive styling for quote */
@media (max-width: 768px) {
    .quote-container {
        padding: 1.5rem 2rem;
        margin: 0 1rem;
    }
    
    .footer-quote {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .footer-quote::before,
    .footer-quote::after {
        font-size: 1.5rem;
    }
}

/* Animation Performance */

/* Enhanced Animation Performance Optimizations */

/* GPU Acceleration for smooth animations */
.main-navigation,
.circle-navigation,
.back-to-top,
.profile-image,
.summary-card,
.qualification-card,
.venture-card,
.experience-content,
.company-logo,
.skill-category,
.contact-form-container,
.contact-cta,
.visit-link {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
}

/* Optimize animations for 60fps */
@media (max-width: 768px) {
    .nav-link::before,
    .summary-card::after,
    .qualification-card::after,
    .venture-card::before,
    .skill-category::before,
    .skill-category::after {
        display: none;
    }
    
    /* Keep essential slide animations but optimize them */
    .experience-item.slide-in {
        animation-duration: 0.8s !important;
    }
    
    .summary-card,
    .qualification-card,
    .venture-card,
    .skill-category {
        transition-duration: 0.5s !important;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transform: none !important;
    }

    .hero-title,
    .hero-subtitle {
        animation: none !important;
        opacity: 1 !important;
        border-right: none !important;
        width: auto !important;
    }
    
    .profile-image::before,
    .circle-nav-item::before,
    .company-logo::before {
        animation: none !important;
    }
}

/* High performance mode for older devices */
@media (max-width: 480px) and (max-resolution: 150dpi) {
    .hero-content::before,
    body::before,
    .content-section::before {
        display: none;
    }
    
    * {
        animation: none !important;
        transition: opacity 0.3s ease, transform 0.3s ease !important;
    }
}

/* Print styles */
@media print {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        filter: none !important;
        box-shadow: none !important;
    }
}