/* ===================================
   Modern Portfolio CSS
   Created: 2025
   Author: Omar Portfolio
   ====================================== */

/* ===== Root Variables ===== */
:root {
    /* Dark IDE Theme Colors */
    --primary-color: #00d4ff;
    --secondary-color: #ff6b9d;
    --accent-color: #ffd93d;
    --text-primary: #e4e4e7;
    --text-secondary: #a1a1aa;
    --text-light: #71717a;
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-dark: #030712;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0084ff 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b9d 0%, #ff3366 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e1a 0%, #030712 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-heading: 'DM Serif Display', serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background-color: var(--bg-primary);
    /* Atmospheric Dark Background */
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 157, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, rgba(255, 215, 61, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(138, 43, 226, 0.1) 0%, transparent 40%),
        linear-gradient(180deg, #0a0e1a 0%, #030712 50%, #0a0520 100%);
    background-attachment: fixed;
}

@media (prefers-color-scheme: light) {
    :root {
        --text-primary: #1f2937;
        --text-secondary: #374151;
        --text-light: #4b5563;
        --bg-primary: #f6f5f1;
        --bg-secondary: #efede6;
        --bg-dark: #e9e6dd;
        --cursor-fill: rgba(15, 23, 42, 0.85);
        --cursor-stroke: rgba(15, 23, 42, 0.7);
    }
    body {
        background-color: var(--bg-primary);
        /* Soft Light Mesh Background */
        background-image:
            radial-gradient(1200px 800px at 0% 0%, rgba(255, 220, 180, 0.25) 0%, rgba(255, 255, 255, 0) 60%),
            radial-gradient(900px 600px at 100% 20%, rgba(180, 220, 255, 0.25) 0%, rgba(255, 255, 255, 0) 60%),
            radial-gradient(600px 600px at 20% 100%, rgba(200, 255, 220, 0.2) 0%, rgba(255, 255, 255, 0) 55%),
            linear-gradient(180deg, #faf7f2 0%, #f6f5f1 60%, #f1efe8 100%);
        background-attachment: fixed;
    }
    .hero-section {
        background: radial-gradient(ellipse at top left, rgba(255, 220, 180, 0.25) 0%, transparent 50%),
                    radial-gradient(ellipse at bottom right, rgba(180, 220, 255, 0.25) 0%, transparent 50%),
                    linear-gradient(135deg, #fbfaf5 0%, #f4f1e9 100%);
    }
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Custom Cursor ===== */
.cursor,
.cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: left 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94), top 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    transform: translate(-50%, -50%);
}

.cursor {
    width: 12px;
    height: 12px;
    background: var(--cursor-fill, rgba(0, 212, 255, 0.95));
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.4);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--cursor-stroke, rgba(0, 212, 255, 0.6));
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4), 0 0 50px rgba(0, 212, 255, 0.2);
}

body:hover .cursor-follower {
    transform: translate(-50%, -50%) scale(1.2);
}

a:hover ~ .cursor-follower,
button:hover ~ .cursor-follower {
    transform: translate(-50%, -50%) scale(1.6);
}

/* Hide custom cursor on tablets and mobile devices */
@media (max-width: 1024px) {
    .cursor,
    .cursor-follower {
        display: none !important;
    }
}

/* Also hide on touch devices */
@media (pointer: coarse) {
    .cursor,
    .cursor-follower {
        display: none !important;
    }
}

/* ===== Page Loader ===== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    display: flex;
    gap: 10px;
}

.loader-line-wrap {
    animation: spin 1s infinite ease-in-out;
}

.loader-line {
    width: 5px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 5px;
}

.loader-line-wrap:nth-child(2) { animation-delay: 0.1s; }
.loader-line-wrap:nth-child(3) { animation-delay: 0.2s; }
.loader-line-wrap:nth-child(4) { animation-delay: 0.3s; }
.loader-line-wrap:nth-child(5) { animation-delay: 0.4s; }

@keyframes spin {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.3); }
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===== Section Styles ===== */
.section {
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
    background: transparent;
    animation: sectionFadeIn 0.8s ease-out;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 107, 157, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.section > * {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-label {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
    animation: titleReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: var(--spacing-md) auto;
    border-radius: var(--radius-full);
    position: relative;
}

.title-underline::before,
.title-underline::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.title-underline::before { left: -15px; }
.title-underline::after { right: -15px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left var(--transition-base);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #0a0e1a;
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), var(--shadow-lg);
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { 
        box-shadow: 0 0 25px rgba(0, 212, 255, 0.4), 0 0 45px rgba(255, 107, 157, 0.25), var(--shadow-lg); 
    }
    50% { 
        box-shadow: 0 0 45px rgba(0, 212, 255, 0.7), 0 0 70px rgba(255, 107, 157, 0.5), 0 0 100px rgba(255, 215, 61, 0.3); 
    }
}

@keyframes navGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(0, 212, 255, 0.6));
    }
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.8), 0 0 80px rgba(255, 107, 157, 0.5), 0 0 110px rgba(255, 215, 61, 0.3), var(--shadow-2xl);
    animation: none;
}

.btn-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    position: relative;
}

.btn-outline::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-outline:hover {
    color: #0a0e1a;
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
}

.btn-outline:hover::after {
    opacity: 1;
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
}

/* ===== Floating Navigation ===== */
.floating-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem 0;
    background: rgba(10, 14, 26, 0.95) !important;
    animation: navGlow 3s ease-in-out infinite;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    z-index: 1050;
    transition: all var(--transition-base);
}

.floating-nav.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 14, 26, 0.98);
    border-bottom-color: rgba(0, 212, 255, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.logo {
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
    justify-content: flex-start;
    flex: 1;
}

.nav-link {
    position: relative;
    font-weight: 500;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: #e4e4e7 !important;
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    white-space: nowrap;
    transform: translateY(0);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.8), 0 0 20px rgba(0, 212, 255, 0.4);
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: #00d4ff !important;
    text-shadow: 0 0 35px rgba(0, 212, 255, 0.9), 0 0 60px rgba(0, 212, 255, 0.5);
    transform: translateY(-4px) scale(1.08);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.4);
}

.mobile-toggle {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #e4e4e7 !important;
    transition: all var(--transition-base);
}

.mobile-toggle:hover {
    color: var(--primary-color) !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Dropdown */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(0, 212, 255, 0.2);
        padding: var(--spacing-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        flex-direction: column;
        gap: var(--spacing-md);
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        display: flex;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links .nav-link {
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-md);
        transition: all var(--transition-base);
        text-align: center;
        border: 1px solid transparent;
    }
    
    .nav-links .nav-link:hover,
    .nav-links .nav-link.active {
        background: rgba(0, 212, 255, 0.1);
        border-color: rgba(0, 212, 255, 0.3);
        color: var(--primary-color);
    }
    
    .mobile-toggle {
        display: flex !important;
        position: absolute;
        right: var(--spacing-lg);
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .nav-container {
        justify-content: flex-start;
        padding-left: var(--spacing-lg);
    }
    
    .logo {
        position: relative;
        transform: none;
    }
}

/* ===== Projects Page Hero Section ===== */
.projects-hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at top left, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
                var(--gradient-dark);
    padding-top: 100px;
    padding-bottom: var(--spacing-2xl);
}

.projects-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.projects-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.projects-hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at top left, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
                var(--gradient-dark);
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#particle-canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-text {
    color: white;
}

.greeting {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.wave {
    display: inline-block;
    animation: wave 2s infinite;
    font-size: 2rem;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    line-height: 1;
}

.hero-title .name {
    background: linear-gradient(45deg, #fff, #6366f1, #8b5cf6, #ec4899);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cursor-blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.typing-text {
    display: inline-block;
    border-right: 3px solid var(--primary-color);
    padding-right: 5px;
    animation: typing 3s steps(20) infinite;
}

@keyframes typing {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.hero-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    color: white;
    transition: all var(--transition-base);
    position: relative;
}

.social-link::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-8px) scale(1.15) rotate(10deg);
    box-shadow: 0 10px 35px rgba(0, 212, 255, 0.5), 0 5px 20px rgba(255, 107, 157, 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 110px;
    margin: 50px auto 0;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--gradient-primary);
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.image-wrapper {
    max-width: 420px;
    margin: 0 auto;
}

.image-wrapper img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    transition: transform 0.3s ease;
}

/* Hide any OH text/elements within the SVG */
.image-wrapper img[src$=".svg"] {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Additional rules to potentially hide OH badges and text in SVG */
.hero-image svg text,
.hero-image svg tspan,
.image-wrapper svg text,
.image-wrapper svg tspan {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* If OH is in a group or rect element */
.hero-image svg g[id*="badge"],
.hero-image svg g[class*="badge"],
.hero-image svg rect[id*="badge"],
.image-wrapper svg g[id*="badge"],
.image-wrapper svg g[class*="badge"],
.image-wrapper svg rect[id*="badge"] {
    display: none !important;
    opacity: 0 !important;
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

.hero-badge {
    position: absolute;
    top: 65%;
    left: 70%;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
    animation: heroFloat 5s ease-in-out infinite;
}

@media (prefers-color-scheme: light) {
    .hero-badge {
        background: rgba(255, 255, 255, 0.6);
        border-color: rgba(15, 23, 42, 0.2);
        color: #111827;
    }
}

@keyframes heroFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-8px); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: float 4s infinite ease-in-out;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.float-element.element-1 {
    top: 8%;
    left: 6%;
    animation-delay: 0s;
}

.float-element.element-2 {
    top: 12%;
    right: 6%;
    animation-delay: 0.5s;
}

.float-element.element-3 {
    bottom: 12%;
    left: 8%;
    animation-delay: 1s;
}

.float-element.element-4 {
    top: 50%;
    right: 8%;
    animation-delay: 1.5s;
}

.float-element.element-5 {
    top: 18%;
    left: 50%;
    animation-delay: 2s;
}

.float-element.element-6 {
    bottom: 24%;
    right: 18%;
    animation-delay: 2.5s;
}

.float-element.element-7 {
    top: 70%;
    left: 12%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(3deg) scale(1.05);
    }
    50% {
        transform: translateY(-25px) rotate(-3deg) scale(1.1);
    }
    75% {
        transform: translateY(-15px) rotate(2deg) scale(1.05);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    margin-bottom: var(--spacing-sm);
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.arrow span {
    width: 15px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    animation: arrow 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrow {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--gradient-dark);
    border: 1px solid rgba(0, 212, 255, 0.2);
    max-width: 400px;
    margin: 0 auto;
}

.image-frame img {
    width: 100%;
    height: 400px;
    transition: transform var(--transition-slow);
    border-radius: var(--radius-2xl);
    object-fit: cover;
}

/* Special styling for profile.png to match portfolio background */
.image-frame img[src$=".png"] {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.95) 100%
    );
    border: 2px solid rgba(0, 212, 255, 0.3);
    padding: 8px;
    filter: 
        contrast(1.1) 
        brightness(1.05) 
        drop-shadow(0 0 20px rgba(0, 212, 255, 0.2));
    box-shadow: 
        0 0 0 3px rgba(0, 212, 255, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 0 50px rgba(0, 212, 255, 0.05);
}

.image-frame:hover img {
    transform: scale(1.05);
}

.frame-decoration {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-color);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.stat-box {
    background: var(--gradient-primary);
    padding: var(--spacing-md);
    border-radius: var(--radius-xl);
    text-align: center;
    color: #0a0e1a;
    transform: translateY(0);
    transition: transform var(--transition-base);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.about-text {
    max-width: 600px;
}

.about-subtitle {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.about-description {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.info-item:hover {
    background: var(--gradient-primary);
    color: #0a0e1a;
    border-color: transparent;
    transform: translateX(10px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item:hover i {
    color: #0a0e1a;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.info-value {
    display: block;
    font-weight: 600;
}

.about-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

/* ===== Skills Section ===== */
.skills-content {
    max-width: 1000px;
    margin: 0 auto;
}

.skill-category {
    margin-bottom: var(--spacing-2xl);
}

.category-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
    color: var(--primary-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.skill-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.35), 0 5px 25px rgba(255, 107, 157, 0.2), var(--shadow-2xl);
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(17, 24, 39, 0.7);
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    transition: all 0.4s ease;
}

.skill-card:hover .skill-icon {
    filter: drop-shadow(0 0 25px rgba(0, 212, 255, 0.8)) drop-shadow(0 0 40px rgba(0, 212, 255, 0.4));
    transform: scale(1.15) rotate(5deg);
}

.skill-info {
    flex: 1;
}

.skill-name {
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.5px;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(17, 24, 39, 0.8);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--spacing-xs);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    width: 0;
    transition: width 1s ease;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.skill-percentage {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.professional-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
}

.circular-skill {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 220px;
    padding: var(--spacing-md);
}

.circle-progress {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 40px;
    z-index: 1;
}

.circle-progress svg {
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.circle-progress circle {
    fill: none;
    stroke-width: 10;
}

.circle-progress circle:first-child {
    stroke: rgba(17, 24, 39, 0.5);
}

.progress-circle {
    stroke: var(--primary-color);
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-dasharray: 408;
    stroke-dashoffset: 408;
}

.percentage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.7rem;
    font-family: var(--font-mono);
    color: var(--primary-color);
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.circular-skill .skill-label {
    display: block;
    margin-top: 25px;
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: center;
    font-weight: 600;
    white-space: normal;
    font-size: 1.1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    max-width: 180px;
    word-wrap: break-word;
    line-height: 1.4;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.circular-skill:hover .skill-label {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

/* ===== Timeline (Experience/Education) ===== */
.timeline {
    display: flex;
    gap: var(--spacing-lg);
    overflow-x: auto;
    overflow-y: hidden;
    padding: var(--spacing-xl) var(--spacing-md);
    margin: 0 auto;
    max-width: 100%;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 212, 255, 0.4) rgba(17, 24, 39, 0.2);
}

.timeline::-webkit-scrollbar {
    height: 10px;
}

.timeline::-webkit-scrollbar-track {
    background: rgba(17, 24, 39, 0.3);
    border-radius: var(--radius-full);
    margin: 0 var(--spacing-md);
}

.timeline::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #00d4ff, #ff6b9d);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.timeline::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #00d4ff, #ffd93d);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.7);
}

.timeline-item {
    position: relative;
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--bg-secondary), 0 0 8px rgba(0, 212, 255, 0.5);
}

.timeline-date {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    width: fit-content;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 3;
    margin-left: 36px;
}

.timeline-content {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    border-left: 3px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2), var(--shadow-xl);
    border-left-color: var(--primary-color);
    border-color: rgba(0, 212, 255, 0.3);
}

.company-logo {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0a0e1a;
    margin-bottom: var(--spacing-sm);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
}

.job-title {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.company-name {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.job-description {
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
    font-size: 0.875rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    box-orient: vertical;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: auto;
}

.tag {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== Education Grid ===== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.education-card {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    text-align: center;
}

.education-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2), var(--shadow-xl);
}

.education-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0a0e1a;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.education-icon img,
.company-logo img,
.cert-badge img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.degree {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.institution {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.education-date {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.education-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Projects Section ===== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-primary);
    color: #0a0e1a;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.project-card {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.35), 0 10px 35px rgba(255, 107, 157, 0.25), var(--shadow-2xl);
    background: rgba(17, 24, 39, 0.7);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.projects-grid.filtering .project-card,
.project-card {
    will-change: opacity, transform;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition-delay: var(--filter-delay, 0ms);
}

.project-card.hiding {
    opacity: 0 !important;
    transform: translateY(12px);
    pointer-events: none;
}

.project-card.pre-show {
    opacity: 0 !important;
    transform: translateY(12px);
}

.project-card.showing {
    opacity: 1 !important;
    transform: translateY(0);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 212, 255, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: var(--spacing-md);
}

.project-link {
    width: 50px;
    height: 50px;
    background: #0a0e1a;
    color: var(--primary-color);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-base);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    position: relative;
}

.project-link:hover {
    transform: scale(1.2);
}

.project-link::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.project-link:hover::before {
    opacity: 1;
}

.project-info {
    padding: var(--spacing-lg);
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tech-tag {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.project-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 9999px;
    color: #0a0e1a;
    background: linear-gradient(135deg, #00d4ff 0%, #ff6b9d 100%);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.35), 0 6px 18px rgba(255, 107, 157, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.inline-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 9999px;
    color: #0a0e1a;
    background: linear-gradient(135deg, #00d4ff 0%, #ff6b9d 100%);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.35), 0 6px 18px rgba(255, 107, 157, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--spacing-sm);
}

.is-hidden {
    display: none !important;
}

@media (max-width: 480px) {
    .inline-badge {
        font-size: 0.6rem;
        padding: 4px 10px;
    }
    .project-image {
        height: 200px;
    }
    /* Show 3 focused floating icons within frame */
    .floating-elements { display: block; opacity: 0.7; }
    .float-element { width: 40px; height: 40px; font-size: 1rem; }
    .float-element.element-3,
    .float-element.element-5,
    .float-element.element-6 { display: flex; }
    .float-element.element-1,
    .float-element.element-2,
    .float-element.element-4,
    .float-element.element-7 { display: none; }
    .float-element.element-3 { bottom: 20%; left: 12%; }
    .float-element.element-5 { top: 26%; left: 50%; }
    .float-element.element-6 { bottom: 18%; right: 16%; }
}

.view-more {
    text-align: center;
}

/* ===== Certifications Section ===== */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.cert-card {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
}

.cert-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2), var(--shadow-2xl);
}

.cert-badge {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0a0e1a;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.cert-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.cert-issuer {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.cert-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 600;
    transition: gap var(--transition-base);
}

.cert-link:hover {
    gap: var(--spacing-sm);
}

/* ===== Testimonials Section ===== */
.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    display: grid;
    grid-template-columns: 1fr;
}

.testimonial-card {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.15);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), var(--shadow-xl);
    opacity: 0;
    display: none;
    transition: opacity var(--transition-base);
}

.testimonial-card.active {
    opacity: 1;
    display: block;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.author-position {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.rating {
    color: #fbbf24;
    font-size: 1.25rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: #0a0e1a;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all var(--transition-base);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), var(--shadow-lg);
}

/* ===== Achievements Section ===== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.achievement-card {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.achievement-card:hover {
    transform: translateY(-10px) rotateX(10deg);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2), var(--shadow-2xl);
    border-color: rgba(0, 212, 255, 0.3);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0a0e1a;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.achievement-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.achievement-desc {
    font-size: 0.875rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

/* ===== FAQ Section ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.15), var(--shadow-lg);
    border-color: rgba(0, 212, 255, 0.2);
}

.faq-question {
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.125rem;
    flex: 1;
}

.faq-question i {
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    display: none;
}

.faq-answer p {
    line-height: 1.8;
}

/* ===== Looking For Section ===== */
.looking-for-section {
    background: radial-gradient(ellipse at top center, rgba(0, 212, 255, 0.1) 0%, transparent 60%),
                var(--gradient-dark);
    color: var(--text-primary);
}

.looking-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-2xl);
}

.looking-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

.looking-text {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-secondary);
}

.looking-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.looking-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.looking-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.looking-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ===== Contact Section ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.contact-subtitle {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.contact-text {
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #0a0e1a;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.contact-item a {
    color: var(--primary-color);
    transition: color var(--transition-base);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-btn {
    width: 50px;
    height: 50px;
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-color);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.social-btn:hover {
    background: var(--gradient-primary);
    color: #0a0e1a;
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    border-color: transparent;
}

.contact-form {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-xl);
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    padding-left: var(--spacing-2xl);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(3, 7, 18, 0.5);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(3, 7, 18, 0.7);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-group i {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.form-group textarea + i {
    top: var(--spacing-md);
    transform: none;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.5) 0%, #030712 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-primary);
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: var(--gradient-glow);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

.footer-text {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-base);
}

.footer-social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
}

.footer-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-light);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: white;
}

.newsletter-form {
    display: flex;
    margin-top: var(--spacing-md);
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.newsletter-form button {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    cursor: pointer;
    transition: opacity var(--transition-base);
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-links a {
    color: var(--text-light);
    transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
    color: white;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        padding: var(--spacing-lg);
        flex-direction: column;
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-base);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-bottom: 1px solid rgba(0, 212, 255, 0.2);
        height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-toggle {
        display: flex;
        position: absolute;
        right: var(--spacing-md);
        top: 50%;
        transform: translateY(-50%);
        z-index: 1051;
    }
    
    /* Reduce floating element interference on tablets */
    .floating-elements {
        opacity: 0.5;
        z-index: 1;
    }
    
    .float-element {
        z-index: 1;
        transform: scale(0.8);
    }
    
    .nav-container {
        justify-content: flex-start;
        padding-left: var(--spacing-md);
    }
    
    .logo {
        position: relative;
        transform: none;
    }
    
    /* Keep floating elements visible but tamed on mobile/tablet */
    .floating-elements {
        display: block;
        opacity: 0.65;
    }
    .float-element {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        filter: drop-shadow(0 0 8px rgba(0,212,255,0.2));
    }
    .float-element.element-1 { top: 6%; left: 6%; }
    .float-element.element-2 { top: 10%; right: 6%; }
    .float-element.element-3 { bottom: 14%; left: 8%; }
    .float-element.element-4 { top: 52%; right: 8%; }
    .float-element.element-5 { top: 20%; left: 50%; }
    .float-element.element-6 { bottom: 22%; right: 16%; }
    .float-element.element-7 { top: 72%; left: 12%; }
    
    /* Ensure adequate padding for header */
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-content .container {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .about-content {
        gap: var(--spacing-lg);
    }
    
    .image-frame {
        max-width: 250px;
    }
    
    .image-frame img {
        height: 250px;
    }
    
    .timeline {
        padding: var(--spacing-lg);
    }
    
    .timeline-item {
        min-width: 300px;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .hero-section {
        min-height: auto;
        padding: var(--spacing-2xl) 0;
    }
    .image-wrapper { max-width: 280px; margin-top: 40px; position: relative; }
    .image-wrapper img { max-width: 250px; }
    /* Reduce icon count on small screens to avoid overflow */
    .float-element.element-1,
    .float-element.element-2 { display: none; }
    .float-element { width: 44px; height: 44px; font-size: 1.1rem; }
    .float-element.element-3 { bottom: 18%; left: 10%; }
    .float-element.element-4 { top: 54%; right: 10%; }
    .float-element.element-5 { top: 24%; left: 50%; }
    .float-element.element-6 { bottom: 20%; right: 14%; }
    .float-element.element-7 { top: 74%; left: 14%; }
    
    .professional-skills {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .circular-skill {
        min-height: 200px;
        padding: var(--spacing-sm);
    }
    
    .circle-progress { 
        width: 130px; 
        height: 130px; 
        margin: 0 auto 30px;
    }
    
    .circular-skill .skill-label { 
        margin-top: 20px; 
        font-size: 0.95rem;
        max-width: 150px;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .professional-skills {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        max-width: 300px;
        margin: var(--spacing-xl) auto 0;
        padding: var(--spacing-md) var(--spacing-xs);
    }
    
    .circular-skill {
        min-height: 240px;
        max-width: 250px;
        margin: 0 auto;
        padding: var(--spacing-md);
    }
    
    .circle-progress {
        width: 150px;
        height: 150px;
        margin: 0 auto 40px;
    }
    
    .circular-skill .skill-label {
        margin-top: 30px;
        font-size: 1rem;
        max-width: 220px;
        padding: var(--spacing-sm) var(--spacing-md);
        font-weight: 700;
    }
}

@media (max-width: 768px) {
    .hero-image {
        order: -1;
        margin-bottom: var(--spacing-xl);
    }

    .about-stats,
    .about-info,
    .skills-grid,
    .projects-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .professional-skills,
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .looking-items {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .achievements-grid,
    .professional-skills {
        grid-template-columns: 1fr;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    .about-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .timeline-item {
        min-width: 260px;
        max-width: 260px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .floating-nav,
    .scroll-indicator,
    .back-to-top,
    .hero-social,
    .contact-form,
    .newsletter-form {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
.hero-section .container {
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-lg);
}

/* Very small mobile devices - stack about content */
@media (max-width: 480px) {
    .about-content {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .image-frame {
        max-width: 200px;
        margin: 0 auto var(--spacing-lg);
    }
    
    .image-frame img {
        height: 200px;
    }
}
