/* ============================================
   VARIABLES & TYPOGRAPHY
   ============================================ */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    
    --border-color: #475569;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* Light Theme */
:root[data-theme="light"] {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #7c3aed;
    --accent-color: #db2777;
    --success-color: #059669;
    --warning-color: #d97706;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-tertiary: #64748b;
    
    --border-color: #cbd5e1;
    
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.015em;
}

h3 {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================
   UTILITIES
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

:root[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 0;
}

:root[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
    animation: fadeInLeft 0.6s ease-out 0.2s both;
    transition: all 0.3s ease;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s ease;
}

.logo:hover {
    transform: translateX(5px) scale(1.02);
}

.logo:hover::after {
    width: 100%;
}

.logo:hover .logo-char {
    animation: charBounce 0.6s ease;
}

.logo:hover .logo-subtitle {
    color: var(--primary-color);
    letter-spacing: 0.15em;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    position: relative;
}

.logo-char {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: charWave 2s ease-in-out infinite, gradientShift 3s ease infinite;
    transition: all 0.3s ease;
}

.logo-space {
    display: inline-block;
    width: 0.5em;
}

.logo-char:hover {
    transform: translateY(-5px) scale(1.2);
    filter: drop-shadow(0 5px 10px rgba(79, 70, 229, 0.4));
}

@keyframes charWave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes charBounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-4px);
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    animation: fadeInDown 0.5s ease-out both;
}

.nav-menu li:nth-child(1) { animation-delay: 0.3s; }
.nav-menu li:nth-child(2) { animation-delay: 0.4s; }
.nav-menu li:nth-child(3) { animation-delay: 0.5s; }
.nav-menu li:nth-child(4) { animation-delay: 0.6s; }
.nav-menu li:nth-child(5) { animation-delay: 0.7s; }
.nav-menu li:nth-child(6) { animation-delay: 0.8s; }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 0.1;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.1);
}

.nav-link.active::after {
    width: 80%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle:hover::before {
    opacity: 0.2;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
}

.theme-toggle:active {
    transform: scale(0.95) rotate(360deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: var(--primary-color);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
    background: var(--primary-color);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.stars::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, #eee, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 60% 70%, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50% 50%, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 80% 10%, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90% 60%, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200% 200%;
    animation: twinkle 5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    animation: slideInUp 0.8s ease;
}

.animated-logo {
    perspective: 1200px;
    margin-bottom: 2rem;
    text-align: left;
}

.logo-3d {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    flex-wrap: wrap;
    gap: 0.1em;
}

.letter {
    display: inline-block;
    transform-style: preserve-3d;
    animation: float3d 3s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
}

@keyframes float3d {
    0% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    50% {
        transform: translateY(-20px) rotateX(10deg) rotateY(10deg) rotateZ(5deg);
    }
    100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
}

.letter:hover {
    animation: none;
    transform: scale(1.3) rotateX(15deg) rotateY(15deg) rotateZ(10deg);
    filter: drop-shadow(0 10px 20px rgba(37, 99, 235, 0.4));
}

.hero-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease 0.1s backwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease 0.2s backwards;
}

.stat {
    text-align: left;
}

.stat h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInUp 0.8s ease 0.3s backwards;
}

.hero-visual {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.floating-card {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: var(--transition);
}

.floating-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.floating-card .card-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.floating-card p {
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 5%;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: 1s;
}

.card-4 {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.cube {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    animation: rotate3d 10s linear infinite;
}

@keyframes rotate3d {
    0% { transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(360deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.8;
}

.cube-front {
    transform: translateZ(75px);
}

.cube-back {
    transform: rotateY(180deg) translateZ(75px);
}

.cube-right {
    transform: rotateY(90deg) translateZ(75px);
}

.cube-left {
    transform: rotateY(-90deg) translateZ(75px);
}

.cube-top {
    transform: rotateX(90deg) translateZ(75px);
}

.cube-bottom {
    transform: rotateX(-90deg) translateZ(75px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 13px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    background: var(--text-secondary);
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1px;
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.75rem;
    margin-top: 2rem;
    color: var(--text-primary);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.philosophy-list {
    list-style: none;
    margin: 2rem 0;
}

.philosophy-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.philosophy-list strong {
    color: var(--text-primary);
}

.why-choose {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.why-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.why-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.why-item p {
    font-size: 0.95rem;
    margin: 0;
}

/* Skills Progress Bars */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.skill-item {
    width: 100%;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.skill-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-percent {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.progress-bar {
    width: 100%;
    height: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
    position: relative;
    width: 0;
    animation: fillProgress 2s ease-out forwards;
    transition: width 1s ease-out;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes fillProgress {
    from {
        width: 0;
    }
    to {
        width: inherit;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    perspective: 1000px;
}

.profile-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 100%;
    max-width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
    transition: var(--transition);
    object-fit: cover;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.3);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: var(--transition);
    transform-style: preserve-3d;
}

.rotating-card {
    animation: rotateCard 6s ease-in-out infinite;
}

@keyframes rotateCard {
    0%, 100% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(10deg);
    }
}

.about-card:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(139, 92, 246, 0.2));
    transform: translateY(-10px);
}

.card-front h4 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.card-front p {
    font-size: 1rem;
    margin: 0;
}

/* ============================================
   SKILLS SECTION
   ============================================ */

.skills-section {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.skill-content {
    padding: 2rem;
}

.skill-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.skill-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon-wrapper {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.skill-icon-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    font-style: normal;
}

.skill-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    position: relative;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

.skill-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: skillShine 2s ease-in-out infinite;
}

@keyframes skillShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}

.service-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    opacity: 1;
}

.service-icon span {
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li:hover {
    color: var(--text-primary);
    padding-left: 0.5rem;
}

.feature-icon {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.service-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(139, 92, 246, 0.08));
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.service-cta h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.service-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    background: var(--bg-secondary);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    transition: var(--transition);
}

.portfolio-item:hover .image-placeholder {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay p {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.portfolio-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-item h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.result-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.result-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.result-item {
    text-align: center;
}

.result-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.result-item span {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.contact-reasons {
    list-style: none;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
}

.contact-reasons li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.contact-reasons li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.detail-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.detail-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.detail-item p {
    margin: 0;
    font-size: 0.9rem;
}

.detail-item a {
    color: var(--primary-color);
    font-weight: 500;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff !important;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    font-size: 1.2rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: -1rem;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-text p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.newsletter-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.newsletter-benefits li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-weight: 500;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.newsletter-input-group {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.newsletter-input-group input {
    padding: 1.2rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-input-group input::placeholder {
    color: var(--text-tertiary);
}

.newsletter-input-group button {
    padding: 1.2rem 2rem;
}

.newsletter-privacy {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-align: center;
    margin: 0;
}

@media (max-width: 768px) {
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-text h2 {
        font-size: 1.75rem;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input-group button {
        width: 100%;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.social-link {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: left 0.3s ease;
    z-index: -1;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.social-link:hover::before {
    left: 0;
}

.social-link:active {
    transform: translateY(-1px);
}

.footer-bottom {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* ============================================
   NEWSLETTER MODAL POPUP
   ============================================ */

.newsletter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.newsletter-modal.show {
    display: flex !important;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    animation: fadeIn 0.3s ease;
    z-index: 9998;
}

.modal-content {
    position: relative;
    z-index: 10000;
    background: var(--bg-primary);
    border: 2px solid var(--primary-color);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 30px 100px rgba(37, 99, 235, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    text-align: center;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.modal-body h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-body p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.modal-form {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-form input {
    padding: 1.2rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.modal-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modal-form input::placeholder {
    color: var(--text-tertiary);
}

.modal-form button {
    width: 100%;
}

.modal-benefits {
    list-style: none;
    margin-bottom: 1.5rem;
    text-align: left;
    padding: 1.5rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
}

.modal-benefits li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.modal-privacy {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin: 0;
}

.modal-privacy a {
    color: var(--primary-color);
    font-weight: 500;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 2rem;
        border-radius: 1rem;
    }

    .modal-body h2 {
        font-size: 1.5rem;
    }

    .modal-icon {
        font-size: 3rem;
    }
}

/* ============================================
   NOTIFICATIONS
   ============================================ */

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 1rem 1.5rem;
    background: var(--success-color);
    color: white;
    border-radius: 0.5rem;
    display: none;
    z-index: 2000;
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow);
}

.toast.show {
    display: block;
}

.toast.error {
    background: var(--accent-color);
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(15, 23, 42, 0.98) 100%);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0.5rem;
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        opacity: 0;
    }

    .nav-menu.active {
        left: 0;
        opacity: 1;
    }

    .nav-menu.active li {
        animation: slideInRight 0.5s ease-out both;
    }

    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.35s; }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-link {
        padding: 1.2rem 2rem;
        display: block;
        width: 90%;
        margin: 0 auto;
        border-radius: 12px;
    }

    .nav-link:hover {
        background: rgba(79, 70, 229, 0.15);
        transform: translateX(10px);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .results {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .toast {
        right: 15px;
        left: 15px;
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .floating-card {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }

    .stat h3 {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        gap: 1rem;
    }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: floatBounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-icon-svg {
    width: 35px;
    height: 35px;
    animation: iconRotate 2s ease-in-out infinite;
}

.whatsapp-float:hover .whatsapp-icon-svg {
    animation: iconShake 0.5s ease-in-out;
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: pulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes iconRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

@keyframes iconShake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    50% {
        transform: rotate(15deg);
    }
    75% {
        transform: rotate(-15deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon-svg {
        width: 30px;
        height: 30px;
    }
}
