/* Modern Portfolio CSS */
/* CSS Variables */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.05), 0 2px 4px rgba(15, 23, 42, 0.02);
    --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
    --shadow-xl: 0 24px 50px rgba(15, 23, 42, 0.12), 0 8px 24px rgba(15, 23, 42, 0.04);
    --shadow-neon-primary: 0 0 20px rgba(99, 102, 241, 0.12), 0 0 40px rgba(99, 102, 241, 0.06);
    --shadow-neon-accent: 0 0 20px rgba(16, 185, 129, 0.12), 0 0 40px rgba(16, 185, 129, 0.06);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --border-radius-sm: 8px;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 250ms ease-in-out;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(226, 232, 240, 0.8);
    --glass-shadow: rgba(15, 23, 42, 0.03);
    --depth-1: 10px;
    --depth-2: 25px;
    --depth-3: 50px;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-light: #64748b;
    --bg-primary: #090d16;
    --bg-secondary: #0f1524;
    --border-color: #1e293b;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 24px 50px rgba(0, 0, 0, 0.6);
    --shadow-neon-primary: 0 0 25px rgba(99, 102, 241, 0.25), 0 0 50px rgba(99, 102, 241, 0.12);
    --shadow-neon-accent: 0 0 25px rgba(16, 185, 129, 0.25), 0 0 50px rgba(16, 185, 129, 0.12);
    --glass-bg: rgba(9, 13, 22, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: rgba(0, 0, 0, 0.6);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
}


.skip-link {
    position: absolute;
    top: 0;
    left: 1rem;
    transform: translateY(-120%);
    background: var(--bg-dark);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 0 0 8px 8px;
    z-index: 2000;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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);
    line-height: 1.7;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition-3d);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
    transform: translateY(-5px) translateZ(var(--depth-2)) scale(1.05);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px) translateZ(var(--depth-2)) scale(1.05);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

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

.btn-outline:hover {
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
    transform: translateY(-3px) translateZ(var(--depth-1));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

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

.section-subtitle {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: var(--transition-3d);
    transform-style: preserve-3d;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.section-subtitle:hover {
    transform: translateZ(var(--depth-2)) scale(1.05);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.section-title {
    color: var(--text-primary);
    position: relative;
    transform-style: preserve-3d;
    animation: titleGlow 6s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transform: translateZ(0px);
    }
    50% { 
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        transform: translateZ(var(--depth-1));
    }
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
/* Navigation */
.site-header {
    position: relative;
    z-index: 1000;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1), top 380ms cubic-bezier(0.22, 1, 0.36, 1), background 250ms ease-in-out, border 250ms ease-in-out, box-shadow 250ms ease-in-out;
    will-change: transform;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    min-height: 80px;
    display: flex;
    align-items: center;
}

/* On Desktop: Transform into a floating capsule navbar for ultimate premium styling */
@media (min-width: 992px) {
    .navbar {
        top: 1.25rem;
        left: 0;
        right: 0;
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        border-radius: 100px;
        border: 1px solid var(--glass-border);
        box-shadow: 0 20px 40px var(--glass-shadow);
        min-height: 70px;
        background: rgba(255, 255, 255, 0.45);
    }

    [data-theme="dark"] .navbar {
        background: rgba(11, 15, 25, 0.45);
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

    /* Scrolled state for desktop: shrinks slightly, gets solid border glow */
    .navbar.scrolled {
        top: 0.75rem;
        background: rgba(255, 255, 255, 0.75);
        border-color: rgba(99, 102, 241, 0.25);
        box-shadow: 0 10px 30px rgba(99, 102, 241, 0.06), 0 1px 3px rgba(99, 102, 241, 0.05);
    }

    [data-theme="dark"] .navbar.scrolled {
        background: rgba(11, 15, 25, 0.75);
        border-color: rgba(99, 102, 241, 0.25);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(99, 102, 241, 0.15);
    }
}

.navbar {
    transform: translateY(0);
}

.navbar.hidden {
    transform: translateY(-130%) !important;
}

/* Scroll-progress hairline injected by smart-navbar.js */
.navbar .nav-progress {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    overflow: hidden;
    pointer-events: none;
}
.navbar .nav-progress > span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #10b981);
}
@media (min-width: 992px) {
    .navbar .nav-progress {
        left: 38px;
        right: 38px;
    }
}

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

.nav-logo {
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    transition: var(--transition);
    z-index: 1002;
    flex-shrink: 0;
}

.nav-logo:hover {
    transform: scale(1.03);
}

.logo-text-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 0.1rem;
}

.logo-text {
    color: var(--text-primary);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-dot {
    color: var(--primary-color);
    font-size: 2rem;
    line-height: 1;
    animation: dotPulse 3s infinite alternate;
}

@keyframes dotPulse {
    0% { color: #6366f1; text-shadow: 0 0 4px rgba(99,102,241,0.4); }
    50% { color: #8b5cf6; text-shadow: 0 0 8px rgba(139,92,246,0.6); }
    100% { color: #10b981; text-shadow: 0 0 4px rgba(16,185,129,0.4); }
}

.logo-subtitle {
    margin-top: 0.15rem;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 700;
    transition: var(--transition);
}

.nav-logo:hover .logo-subtitle {
    color: var(--primary-color);
    letter-spacing: 0.16em;
}

.nav-menu {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1;
    transition: var(--transition);
    position: relative;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.12);
}

/* Beautiful dynamic background pill-capsule transitions */
.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 999px;
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
    transform: scale(0.85);
}

.nav-link:hover::before {
    opacity: 0.03;
    transform: scale(1);
}

.nav-link.active::before {
    opacity: 0.06;
    transform: scale(1);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.nav-dropdown-toggle i {
    font-size: 0.7rem;
    margin-left: 0.35rem;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown.open .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.nav-dropdown-menu .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    border-radius: 10px;
}

.nav-dropdown-menu .nav-link:hover {
    background: rgba(99, 102, 241, 0.08);
    transform: translateX(3px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-left: 0.5rem;
}

/* Glow details on theme toggle */
.theme-toggle {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
    transform: scale(1.08) rotate(15deg);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 5px;
    z-index: 1002;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.nav-toggle:hover {
    transform: scale(1.05);
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.bar {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 3px;
}

/* Nav toggle active animation */
.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--primary-color);
}

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

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--primary-color);
}

/* Mobile Nav Menu Overlay with Frosted Glass */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: var(--glass-bg);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid var(--glass-border);
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.1);
        padding: 6.5rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
        flex-direction: column;
        align-items: flex-start;
        display: flex;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 1rem;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        font-size: 1.1rem;
        padding: 0.8rem 1.2rem;
        border-radius: 12px;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
        background: rgba(99, 102, 241, 0.03);
        border: none;
        border-left: 2px solid rgba(99, 102, 241, 0.2);
        box-shadow: none;
        border-radius: 0;
        margin-left: 1rem;
        margin-top: 0.25rem;
        padding: 0.25rem 0.5rem;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-toggle {
        display: flex;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

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

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.hero-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.typing-text {
    position: relative;
    color: var(--primary-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}

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

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
    text-align: left;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    width: 100%;
}

.stat-item {
    text-align: center;
    transition: var(--transition-smooth);
    padding: 1.25rem 1rem;
    border-radius: var(--border-radius);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-neon-primary);
    border-color: rgba(99, 102, 241, 0.25);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 0.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    z-index: -1;
    animation: pulseGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 0.7; }
    100% { transform: scale(1.05); opacity: 1; }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--bg-primary);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.hero-image-container:hover {
    transform: scale(1.02) rotate(2deg);
    box-shadow: var(--shadow-xl), var(--shadow-neon-primary);
    border-color: rgba(99, 102, 241, 0.3);
}

.hero-image-container:hover .hero-image {
    border-color: rgba(99, 102, 241, 0.15);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 0.85rem 1.15rem;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    font-size: 0.85rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    pointer-events: auto;
    min-width: 120px;
    white-space: nowrap;
    z-index: 5;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transform: translate3d(0, 0, 0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-3px) scale(1.03) translate3d(0, 0, 0) !important;
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.2), 0 4px 12px rgba(99, 102, 241, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.floating-card i {
    font-size: 1.25rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.floating-card span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.bubble-position-1 {
    top: 15%;
    left: -15%;
}

.bubble-position-2 {
    top: 65%;
    right: -15%;
}

.bubble-position-3 {
    bottom: 25%;
    left: -8%;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--bg-primary);
}

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

.about-text {
    max-width: 600px;
}

.about-intro {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.skill-category h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.skill-category i {
    color: var(--primary-color);
}

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

.skill-category li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.skill-category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: start;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 2rem 0;
}

.skill-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.skill-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.2);
}

.experience-card {
    background: var(--glass-bg);
    padding: 2.25rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    width: 100%;
    transition: var(--transition-smooth);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-neon-primary);
    border-color: rgba(99, 102, 241, 0.25);
}

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

.experience-header h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.experience-duration {
    background: var(--gradient-primary);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.experience-timeline {
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 9px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--bg-primary);
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-neon-primary);
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
    background: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--primary-color);
}

.timeline-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.timeline-content span {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
}

.timeline-content p {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

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

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.service-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.service-icon:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.service-icon i {
    font-size: 2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--border-radius);
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active,
.filter-btn.active:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.portfolio-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-neon-primary);
    border-color: rgba(99, 102, 241, 0.3);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 260px;
    background: var(--bg-secondary);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(99, 102, 241, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    opacity: 0;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: left;
    color: white;
    padding: 2.25rem;
    width: 100%;
}

.portfolio-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.portfolio-content p {
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-size: 0.875rem;
    line-height: 1.5;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.3rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(4px);
}

/* Experience Section */
.experience {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

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

.skills-section h3,
.achievements-section h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.skill-header span:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.skill-header span:last-child {
    font-weight: 700;
    color: var(--primary-color);
}

.skill-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 2s ease-in-out;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.achievements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.achievement-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.achievement-icon i {
    font-size: 1.5rem;
    color: white;
}

.achievement-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.achievement-card p {
    font-size: 0.875rem;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: var(--bg-primary);
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover .testimonial-author img {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.author-info h4 {
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--bg-dark);
    color: white;
    position: relative;
}

.contact .section-subtitle {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    padding: 1rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
}

.contact-method:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.contact-method:hover .method-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.method-icon i {
    color: white;
    font-size: 1.25rem;
}

.method-info h4 {
    color: white;
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.method-info a,
.method-info span {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.method-info a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    max-width: 600px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.social-links a.social-link-primary {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.social-links a.social-link-work {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.social-links a.social-link-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.social-links a.social-link-work:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.social-links a .custom-icon {
    width: 20px;
    height: 20px;
}

.social-links a i {
    font-size: 1.1rem;
    color: inherit;
    transition: var(--transition);
}

.social-links a:hover i {
    color: white;
    transform: scale(1.1);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.contact-form-container:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-neon-primary);
}

.form-group input[type="file"] {
    padding: 0.75rem 1rem;
    cursor: pointer;
}

.form-group input[type="file"]::-webkit-file-upload-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 1rem;
    font-size: 0.875rem;
    transition: var(--transition);
}

.form-group input[type="file"]::-webkit-file-upload-button:hover {
    background: var(--primary-dark);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: var(--primary-color);
    background: var(--bg-dark);
    padding: 0 0.5rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group select option {
    background: var(--bg-dark);
    color: white;
}

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

.footer-content {
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) minmax(0, 2fr);
    align-items: start;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 420px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 1.5rem;
}

.footer-column {
    min-width: 0;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.875rem;
}

.footer-bottom i {
    color: #ef4444;
    margin: 0 0.25rem;
}

/* Blog Styles */
.blog-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: var(--bg-secondary);
}

.blog-post-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.post-item {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.post-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.post-item h3 {
    margin-bottom: 1rem;
}

.post-item h3 a {
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.post-item h3 a:hover {
    color: var(--primary-color);
}

.post-item p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
}

.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.blog-post-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.post-meta {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.post-content {
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.post-content img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

/* Scroll Buttons */
.scroll-buttons {
    position: fixed;
    right: 30px;
    bottom: 105px; /* Positioned above the WhatsApp button (30 + 60 + 15 gap) */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-buttons.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.scroll-btn:active {
    transform: translateY(-1px) scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container,
    .about-content,
    .experience-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image-container {
        width: 300px;
        height: 300px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        gap: 1.25rem 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        background: var(--glass-bg);
    }

    .nav-container {
        padding: 0.7rem 1.25rem;
        gap: 0.75rem;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

    .nav-actions {
        margin-left: auto;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .google-translate {
        display: none;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-container {
        width: 280px;
        height: 280px;
    }
    
    .floating-card {
        display: flex;
        font-size: 0.75rem;
        padding: 0.7rem 0.85rem;
        min-width: 85px;
        z-index: 5;
    }

    .floating-card i {
        font-size: 1rem;
    }
    
    .hero {
        padding: 6rem 0 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-buttons {
        right: 20px;
        bottom: 90px; /* Above WhatsApp button on tablet */
    }
    
    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {

    .footer-links {
        grid-template-columns: 1fr;
    }

    .navbar {
        min-height: 68px;
    }

    .nav-container {
        padding: 0.55rem 1rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-subtitle {
        display: none;
    }

    .container {
        padding: 0 1rem;
    }

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

    .hero-image-container {
        width: 250px;
        height: 250px;
    }

    /* Extra small mobile bubbles */
    .floating-card {
        font-size: 0.7rem;
        padding: 0.6rem 0.75rem;
        min-width: 70px;
    }

    .floating-card i {
        font-size: 0.85rem;
    }

    .floating-card span {
        font-size: 0.65rem;
    }

    .bubble-position-1 {
        top: 8%;
        left: -8%;
    }

    .bubble-position-2 {
        top: 75%;
        right: -8%;
    }

    .bubble-position-3 {
        bottom: 12%;
        left: -2%;
    }

    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .service-card,
    .portfolio-item,
    .testimonial-card {
        margin: 0 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .scroll-buttons {
        right: 15px;
        bottom: 80px; /* Above WhatsApp button on small mobile */
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   PREMIUM PORTFOLIO UPGRADES (LIGHT/DARK THEME, CURSOR, TILTS, GLASSMORPHISM)
   ========================================================================== */

/* 1. Theme Toggle Styling */
.theme-toggle {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin-right: 1.25rem;
    z-index: 1001;
    box-shadow: 0 4px 15px var(--glass-shadow);
}

.theme-toggle:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
    background: rgba(99, 102, 241, 0.12);
    border-color: var(--primary-color);
}

.theme-toggle i {
    position: absolute;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.theme-toggle .sun-icon {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
}

.theme-toggle .moon-icon {
    transform: translateY(35px) rotate(90deg);
    opacity: 0;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    transform: translateY(-35px) rotate(-90deg);
    opacity: 0;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    transform: translateY(0) rotate(0deg);
    color: var(--secondary-color);
    opacity: 1;
}

/* 2. Glassmorphic and General UI Enhancements */
.site-header {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px var(--glass-shadow);
    transition: background 0.3s, border-bottom 0.3s, box-shadow 0.3s;
}

.service-card, .portfolio-item, .testimonial-card, .achievement-card, .experience-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--glass-shadow);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.5s ease, 
                background 0.3s, 
                border-color 0.3s;
}

.service-card:hover, .portfolio-item:hover, .testimonial-card:hover, .experience-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 45px rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.3);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 3. Glowing Custom Cursor */
.custom-cursor-dot,
.custom-cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 99999;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-out;
}

.custom-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.custom-cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    background-color: rgba(99, 102, 241, 0.03);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
}

/* Cursor hover expansions */
.cursor-hover .custom-cursor-outline {
    width: 65px;
    height: 65px;
    border-color: var(--secondary-color);
    background-color: rgba(245, 158, 11, 0.08);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
}

.cursor-hover .custom-cursor-dot {
    background-color: var(--secondary-color);
    width: 12px;
    height: 12px;
}

/* Hide default cursor on desktop with support */
@media (min-width: 992px) {
    body.has-custom-cursor, 
    body.has-custom-cursor a, 
    body.has-custom-cursor button, 
    body.has-custom-cursor select, 
    body.has-custom-cursor input, 
    body.has-custom-cursor textarea, 
    body.has-custom-cursor .filter-btn, 
    body.has-custom-cursor .service-card, 
    body.has-custom-cursor .portfolio-item {
        cursor: none !important;
    }
}
@media (max-width: 991px) {
    .custom-cursor-dot,
    .custom-cursor-outline {
        display: none !important;
    }
}

/* 4. Page Transition Sweep Animation */
.theme-transition-sweep {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-color);
    z-index: 100000;
    transform: translateX(100%);
    pointer-events: none;
}

.theme-transition-active {
    animation: transitionSweep 0.75s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes transitionSweep {
    0% {
        transform: translateX(100%);
    }
    45%, 55% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 5. Strategic ROI & Campaign Calculator Styling */
.roi-calculator {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.calculator-panel, .calculator-results {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 10px 40px var(--glass-shadow);
    transition: var(--transition);
}

.calculator-panel h3, .calculator-results h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 0.75rem;
}

.calc-intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.calc-label-row label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0;
}

.calc-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
    padding: 0.25rem 0.85rem;
    border-radius: 30px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Range input styling */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 5px;
    outline: none;
    margin: 1rem 0;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
    cursor: pointer;
    transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.range-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.825rem;
    color: var(--text-light);
}

.calc-group select {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.calc-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

/* Outputs & Results */
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.result-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.05);
}

.result-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.result-info {
    display: flex;
    flex-direction: column;
}

.result-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.result-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.result-card.highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-color: rgba(99, 102, 241, 0.25);
}

.result-card.highlight .result-icon {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.result-card.highlight .result-number {
    color: var(--primary-dark);
}

[data-theme="dark"] .result-card.highlight .result-number {
    color: #a5b4fc;
}

/* Blueprint roadmap */
.plan-summary {
    background: rgba(99, 102, 241, 0.03);
    border: 1px dashed rgba(99, 102, 241, 0.3);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.plan-summary h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blueprint-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.blueprint-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.65rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.blueprint-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.8rem;
}

.blueprint-list li:last-child {
    margin-bottom: 0;
}

.btn-calc-cta {
    width: 100%;
    justify-content: center;
    padding: 1.1rem 2rem;
}

@media (max-width: 991px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .calculator-panel, .calculator-results {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}

/* 6. Portfolio Case Study Lightbox Modal Styling */
.portfolio-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox-container {
    position: relative;
    width: min(920px, 92%);
    max-height: 85vh;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--glass-shadow);
    z-index: 10;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-lightbox.active .lightbox-container {
    transform: scale(1) translateY(0);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--danger);
    color: #fff;
    border-color: var(--danger);
}

.lightbox-body {
    padding: 3.5rem;
}

/* Lightbox layout grids */
.lightbox-hero {
    margin-bottom: 2.5rem;
}

.lightbox-hero h2 {
    font-size: 2.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.lightbox-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lightbox-tags span {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.15);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.lightbox-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
}

.lightbox-main-details h3, .lightbox-sidebar h3 {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.lightbox-main-details p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.lightbox-metric-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(139, 92, 246, 0.06) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.lightbox-metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.lightbox-metric-info {
    display: flex;
    flex-direction: column;
}

.lightbox-metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.lightbox-metric-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
}

[data-theme="dark"] .lightbox-metric-val {
    color: #a5b4fc;
}

.lightbox-tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.lightbox-tools-list li {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.lightbox-tools-list li i {
    color: var(--primary-color);
}

@media (max-width: 850px) {
    .lightbox-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .lightbox-body {
        padding: 2.5rem;
    }
}

/* Floating WhatsApp Button Styling */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white !important;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3), 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    animation: pulseWhatsApp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 12px 40px rgba(0, 0, 0, 0.25);
}

.whatsapp-badge {
    position: absolute;
    top: -5px;
    right: -2px;
    background-color: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: pulseBadge 1.5s infinite alternate;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: var(--bg-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 70px;
}

@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulseBadge {
    0% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1.1);
    }
}
