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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-color: #1e293b;
    --light-color: #f1f5f9;
    --white: #ffffff;
    --text-color: #334155;
    --success-color: #10b981;
    --whatsapp-color: #25d366;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --navbar-bg: #ffffff;
}

/* Advanced Animated Background Mesh */
@keyframes meshGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

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

/* Dark Mode Variables */
body.dark-mode {
    --dark-color: #f1f5f9;
    --light-color: #1e293b;
    --white: #0f172a;
    --text-color: #e2e8f0;
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --navbar-bg: #1e293b;
}

/* Dark Mode Specific Overrides */
body.dark-mode {
    color: #e2e8f0;
    background-color: #0f172a !important;
}

body.dark-mode * {
    border-color: #334155;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #f1f5f9;
}

body.dark-mode p,
body.dark-mode li,
body.dark-mode span {
    color: #cbd5e1;
}

body.dark-mode .section-title {
    color: #f1f5f9;
}

body.dark-mode .section-subtitle {
    color: #cbd5e1;
}

body.dark-mode .service-card {
    background: rgba(30, 41, 59, 0.95) !important;
    border-color: #334155;
    color: #cbd5e1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .service-card h3 {
    color: #f1f5f9;
}

body.dark-mode .service-card p {
    color: #cbd5e1;
}

body.dark-mode .contact-method h4,
body.dark-mode .contact-info h3 {
    color: #f1f5f9;
}

body.dark-mode .contact-method p,
body.dark-mode .contact-info p {
    color: #cbd5e1;
}

body.dark-mode label {
    color: #cbd5e1;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #64748b;
}

body.dark-mode .footer {
    background: #0f172a;
    border-top-color: #1e293b;
}

body.dark-mode .footer h3,
body.dark-mode .footer h4 {
    color: #f1f5f9;
}

body.dark-mode .footer p,
body.dark-mode .footer a {
    color: #cbd5e1;
}

body.dark-mode .hero-content h1 {
    color: #ffffff;
}

body.dark-mode .hero-subtitle,
body.dark-mode .hero-description {
    color: #cbd5e1;
}

body.dark-mode .stat-label {
    color: #cbd5e1;
}

body.dark-mode .stat-number {
    color: #f1f5f9;
}

body.dark-mode .team-feature span {
    color: #cbd5e1;
}

body.dark-mode .feature-badge {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

/* Dark Mode - Interactive Background Elements */
body.dark-mode .gradient-mesh {
    background: linear-gradient(45deg, 
        #4338ca 0%, 
        #6d28d9 25%, 
        #be185d 50%, 
        #c2410c 75%, 
        #4338ca 100%);
    opacity: 0.15;
    filter: blur(80px);
}

body.dark-mode .shape {
    opacity: 0.08;
}

body.dark-mode .shape-1 {
    background: linear-gradient(135deg, #4338ca 0%, #581c87 100%);
}

body.dark-mode .shape-2 {
    background: linear-gradient(135deg, #be185d 0%, #9f1239 100%);
}

body.dark-mode .shape-3 {
    background: linear-gradient(135deg, #0e7490 0%, #0c4a6e 100%);
}

body.dark-mode .shape-4 {
    background: linear-gradient(135deg, #15803d 0%, #14532d 100%);
}

body.dark-mode .shape-5 {
    background: linear-gradient(135deg, #be123c 0%, #a16207 100%);
}

body.dark-mode .shape-6 {
    background: linear-gradient(135deg, #0e7490 0%, #581c87 100%);
}

body.dark-mode .wave {
    background: rgba(30, 41, 59, 0.1);
}

/* Dark Mode - Floating Action Buttons */
body.dark-mode .fab-button {
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .fab-button:hover {
    background: rgba(51, 65, 85, 0.95);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

body.dark-mode .scroll-top {
    background: rgba(30, 41, 59, 0.9);
}

body.dark-mode .scroll-top:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
}

body.dark-mode .whatsapp-float {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

/* Dark Mode - Glassmorphism Cards */
body.dark-mode .service-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

body.dark-mode .service-card:hover {
    background: rgba(30, 41, 59, 0.6);
    box-shadow: 0 20px 60px 0 rgba(99, 102, 241, 0.4);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Dark Mode - Form Elements */
body.dark-mode input:focus,
body.dark-mode textarea:focus,
body.dark-mode select:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.4);
    border-color: #6366f1;
}

/* Dark Mode - Button Effects */
body.dark-mode .btn-primary::before,
body.dark-mode .btn-secondary::before {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .ripple-effect {
    background: rgba(255, 255, 255, 0.3);
}

/* Dark Mode - Particles */
body.dark-mode .particle {
    background: rgba(99, 102, 241, 0.15);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

/* Dark Mode - Hero Section */
body.dark-mode .hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

body.dark-mode .hero-badge {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Dark Mode - All Sections */
body.dark-mode section {
    background: var(--bg-color);
}

body.dark-mode .stats {
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark Mode - Testimonial Cards */
body.dark-mode .testimonial-card {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Dark Mode - Portfolio/Project Cards */
body.dark-mode .portfolio-card,
body.dark-mode .project-card {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark Mode - Services Section */
body.dark-mode .services {
    background: var(--bg-color);
}

/* Dark Mode - About Section */
body.dark-mode .about {
    background: var(--bg-color);
}

/* Dark Mode - Team Section */
body.dark-mode .team {
    background: var(--bg-color);
}

/* Dark Mode - Contact Section */
body.dark-mode .contact {
    background: var(--bg-color);
}

body.dark-mode .contact-form,
body.dark-mode .contact-info {
    background: rgba(30, 41, 59, 0.6);
}

body.dark-mode .contact-method {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .about-intro,
body.dark-mode .experience ul li {
    color: #cbd5e1;
}

body.dark-mode .skill-item span {
    color: #cbd5e1;
}

body.dark-mode .nav-links a {
    color: #e2e8f0;
}

body.dark-mode .nav-links a:hover {
    color: #a5b4fc;
}

body.dark-mode .logo h2 {
    color: #818cf8;
}

body.dark-mode .btn-contact-nav {
    color: #e2e8f0;
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
}

body.dark-mode .btn-contact-nav:hover {
    background: rgba(99, 102, 241, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Navigation */
.navbar {
    background: var(--navbar-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10000;
    transition: background 0.3s ease;
}

body.dark-mode .navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    gap: 2rem;
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    z-index: 1001;
}

.logo {
    flex-shrink: 0;
}

.logo h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover h2 {
    transform: scale(1.05);
}

.logo-icon {
    display: inline-block;
    animation: rotateLogo 3s ease-in-out infinite;
}

.logo:hover .logo-icon {
    animation: spinLogo 0.6s ease-in-out;
}

.logo-text {
    display: inline-block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes rotateLogo {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

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

.logo i {
    margin-right: 0.5rem;
}

/* Nav Right Section */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 100;
}

.btn-contact-nav {
    background: var(--gradient);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    border: 2px solid transparent;
}

.btn-contact-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-contact-nav i {
    font-size: 1.1rem;
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--gradient);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer !important;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: visible;
    z-index: 10000 !important;
    pointer-events: auto !important;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 10001;
    pointer-events: none;
}

body.dark-mode .theme-toggle i {
    font-family: 'Font Awesome 6 Free';
}

body.dark-mode .theme-toggle i:before {
    content: "\f185";
    font-weight: 900;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: var(--white);
    padding: 150px 0 100px;
    margin-top: 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Gradient Mesh Animation */
.gradient-mesh {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        #6366f1 0%, 
        #8b5cf6 25%, 
        #ec4899 50%, 
        #f59e0b 75%, 
        #6366f1 100%);
    background-size: 400% 400%;
    animation: meshGradient 15s ease infinite;
    opacity: 0.3;
    filter: blur(60px);
}

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

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    backdrop-filter: blur(20px);
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    top: 60%;
    left: 15%;
    animation-delay: 2s;
    animation-duration: 22s;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 30%;
    right: 10%;
    animation-delay: 4s;
    animation-duration: 28s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    bottom: 15%;
    right: 20%;
    animation-delay: 1s;
    animation-duration: 24s;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.shape-5 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    top: 50%;
    left: 50%;
    animation-delay: 3s;
    animation-duration: 26s;
}

.shape-6 {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    bottom: 30%;
    left: 25%;
    animation-delay: 5s;
    animation-duration: 23s;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg) scale(0.9);
    }
}

/* Wave Animation */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    animation: wave 15s linear infinite;
}

.wave-1 {
    animation-delay: 0s;
    opacity: 0.3;
    border-radius: 1000px 1000px 0 0;
}

.wave-2 {
    animation-delay: -5s;
    opacity: 0.2;
    animation-duration: 20s;
}

.wave-3 {
    animation-delay: -10s;
    opacity: 0.1;
    animation-duration: 25s;
}

@keyframes wave {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(-50%) translateY(10px);
    }
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 25%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.particle:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 40%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    width: 70px;
    height: 70px;
    left: 55%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.particle:nth-child(5) {
    width: 90px;
    height: 90px;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 16s;
}

.particle:nth-child(6) {
    width: 50px;
    height: 50px;
    left: 15%;
    animation-delay: 5s;
    animation-duration: 13s;
}

.particle:nth-child(7) {
    width: 75px;
    height: 75px;
    left: 35%;
    animation-delay: 2.5s;
    animation-duration: 17s;
}

.particle:nth-child(8) {
    width: 65px;
    height: 65px;
    left: 50%;
    animation-delay: 4.5s;
    animation-duration: 19s;
}

.particle:nth-child(9) {
    width: 85px;
    height: 85px;
    left: 80%;
    animation-delay: 1.5s;
    animation-duration: 15s;
}

.particle:nth-child(10) {
    width: 95px;
    height: 95px;
    left: 90%;
    animation-delay: 3.5s;
    animation-duration: 20s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: badgePulse 2s ease-in-out infinite, slideDown 1s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: var(--white);
}

.hero-badge i {
    color: #FFD700;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

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

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

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; transform: scale(1.1); }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

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

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Services Section */
.services {
    /* padding: 80px 0; */
    background: var(--light-color);
    transition: background 0.3s ease;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
}

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

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: all 0.5s;
    z-index: 0;
}

.service-card:hover::before {
    left: 0;
    opacity: 0.1;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

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

body.dark-mode .service-card:hover {
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.service-card:hover .service-icon {
    animation: none;
    transform: scale(1.2) rotate(5deg);
}

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

.service-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.features {
    list-style: none;
}

.features li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

.features i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

.service-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: priceGlow 2s ease-in-out infinite;
}

@keyframes priceGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3)); }
    50% { filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.6)); }
}

.btn-service {
    background: var(--gradient);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-service::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-service:hover::before {
    width: 300px;
    height: 300px;
}

.btn-service:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-service::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-service:hover::after {
    transform: translateX(5px);
}

/* About Section */
.about {
    background: var(--bg-color);
    transition: background 0.3s ease;
}

/* Team Section */
.team {
    background: var(--light-color);
    transition: background 0.3s ease;
}

.team .container {
    max-width: 100%;
    padding: 0;
}

.team .section-title,
.team .section-subtitle {
    padding: 0 20px;
}

.team .team-info {
    max-width: 100%;
    margin: 0;
    padding: 2rem ;
}

.team-benefits {
    background: var(--white);
    padding: 2rem 20px;
    border-radius: 0;
    margin-top: 2rem;
    border-left: 0;
    border-top: 4px solid var(--success-color);
}

.team-benefits h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-benefits h4 i {
    color: var(--success-color);
}

.team-benefits ul {
    list-style: none;
}

.team-benefits li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

.team-benefits i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

body.dark-mode .team-benefits {
    background: var(--card-bg);
}

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

.about-image .profile-placeholder {
    width: 250px;
    height: 250px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    color: var(--white);
    margin: 0 auto;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-intro {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.about-intro {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Team Section */
.team {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Team Info Section */
.team-info {
    background: transparent;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.team-info h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 20px;
}

.team-info h4 i {
    color: var(--primary-color);
}

.team-info > p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.8;
    padding: 0 20px;
}

/* Team Stats */
.team-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    background: var(--white);
    padding: 2rem 1rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 2px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.stat-item:last-child {
    border: 2px solid rgba(99, 102, 241, 0.1);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.3));
}

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
}

body.dark-mode .stat-item {
    background: var(--card-bg);
}

.team-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.team-feature {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    border: 2px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.team-feature::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: var(--dark-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.team-feature:hover::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.team-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.team-feature i {
    font-size: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
    animation: iconFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

.team-feature:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 8px 16px rgba(139, 92, 246, 0.4));
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feature-badge {
    background: var(--gradient);
    color: var(--white);
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    z-index: 1;
}

.team-feature:hover .feature-badge {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: badgeBounce 0.6s ease;
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.1); }
}

.team-feature span {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.team-feature:hover span {
    color: var(--primary-color);
    transform: scale(1.05);
}

.team-advantage {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    padding: 1.5rem 20px;
    border-radius: 12px;
    border-left: 0;
    border-top: 4px solid;
    border-image: var(--gradient) 1;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-advantage::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--gradient);
    transition: height 0.6s ease;
}

.team-advantage:hover::before {
    height: 100%;
}

.team-advantage:hover {
    transform: translateX(10px);
    box-shadow: -5px 5px 20px rgba(99, 102, 241, 0.2);
}

.team-advantage strong {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .team-info {
    background: transparent;
}

body.dark-mode .team-feature,
body.dark-mode .team-advantage {
    background: var(--card-bg);
}

.skills h4,
.experience h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

.skill-item {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.skill-item:hover {
    transform: scale(1.05);
    background: var(--gradient);
    color: var(--white);
}

.skill-item i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.skill-item:hover i {
    color: var(--white);
}

.hidden-skill {
    display: none;
}

.show-more-item {
    background: var(--gradient) !important;
    color: var(--white) !important;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.show-more-item i {
    color: var(--white) !important;
    font-size: 2.5rem;
}

.show-more-item span {
    color: var(--white) !important;
}

.show-more-item:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.show-more-item.active i:before {
    content: "\f068";
}

.experience ul {
    list-style: none;
}

.experience li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

.experience i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Contact Section */
.contact {
    background: var(--light-color);
    transition: background 0.3s ease;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
}

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

.contact-info h3,
.contact-form-container h3 {
    color: var(--dark-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-color);
    margin-bottom: 2rem;
}

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

.contact-method {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background 0.3s;
}

.contact-method:hover {
    transform: translateX(10px);
}

.method-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    min-width: 60px;
}

.method-details h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.method-details p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: scale(1.05);
}

.btn-email {
    background: #ea4335;
    color: var(--white);
}

.btn-email:hover {
    background: #d33426;
    transform: scale(1.05);
}

.btn-phone {
    background: var(--primary-color);
    color: var(--white);
}

.btn-phone:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Contact Form */
.contact-form-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

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

.form-group label {
    display: block;
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
    background: var(--bg-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    background: var(--gradient);
    color: var(--white);
    padding: 15px;
    font-size: 1.1rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.contact-details {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-details p {
    margin: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.contact-details i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom i {
    color: #e74c3c;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .btn-contact-nav {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .btn-contact-nav i {
        font-size: 0.9rem;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .team-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .navbar .container {
        justify-content: space-between;
    }

    .btn-contact-nav span {
        display: none;
    }

    .btn-contact-nav {
        padding: 8px 12px;
    }
}

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

/* Floating Action Buttons */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatBounce 3s ease-in-out infinite;
    overflow: hidden;
}

.floating-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.floating-whatsapp:hover::before {
    transform: scale(1.5);
    opacity: 0;
}

.floating-whatsapp:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    width: 180px;
    border-radius: 30px;
}

.whatsapp-text {
    display: none;
    margin-left: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.floating-whatsapp:hover .whatsapp-text {
    display: inline;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.floating-call {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatBounce 3s ease-in-out infinite 0.5s;
}

.floating-call:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.6);
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-call i,
.floating-whatsapp i {
    animation: ringBell 2s ease-in-out infinite;
}

@keyframes ringBell {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50%, 60%, 70%, 80%, 90% { transform: rotate(0deg); }
}


/* Success Message */
.success-message {
    background: var(--success-color);
    color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Error Message */
.error-message {
    background: #ef4444;
    color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.error-message.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Form Response Container */
.form-response {
    margin-top: 1rem;
}

/* Enhanced Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fab-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.fab-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s ease;
}

.fab-button:hover::before {
    transform: scale(1);
}

.fab-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.fab-button:active {
    transform: translateY(-2px) scale(1.05);
}

.scroll-top {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: none;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    animation: floatBounce 3s ease-in-out infinite;
}

.whatsapp-float {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    animation: floatBounce 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

/* Additional Glassmorphism Effects */
body:not(.dark-mode) .service-card {
    background: rgba(255, 255, 255, 0.95);
}

body:not(.dark-mode) .service-card:hover {
    background: rgba(255, 255, 255, 1);
}

/* Cursor Trail Canvas */
#cursorCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99;
}

/* Parallax Scroll Effect */
.parallax {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.parallax-layer {
    transition: transform 0.3s ease-out;
}

/* Enhanced Button Hover Effects */
.btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

/* Ripple Effect Animation */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    animation: ripple 0.6s ease-out;
}

.btn-primary:active::after,
.btn-secondary:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
}

/* Interactive Card Tilt Effect */
.service-card {
    transform-style: preserve-3d;
}

.service-icon {
    transform: translateZ(50px);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: translateZ(70px) scale(1.1);
}

/* Magnetic Button Effect */
.btn-primary,
.btn-secondary,
.btn-submit {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Smooth Page Transitions */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: pageLoad 0.6s ease-out;
}

/* Loading Spinner for Forms */
.btn-submit .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Glow Effect on Focus */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
    outline: none;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .gradient-mesh {
        filter: blur(40px);
    }
    
    .shape {
        display: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .floating-actions,
    .animated-background,
    #cursorCanvas {
        display: none !important;
    }
}
