/* ========================================
   DevTeam - Enhanced Creative Portfolio Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #ff6b6b;
    --accent-color-2: #feca57;
    --dark-color: #1a1a2e;
    --light-color: #ffffff;
    --text-color: #333333;
    --text-light: #888888;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hover: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    --gradient-2: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    --shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    --shadow-hover: 0 20px 40px rgba(102, 126, 234, 0.5);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: #0f0f1a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Particle Background
   ======================================== */
.particles {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; width: 4px; height: 4px; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; background: var(--secondary-color); }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; width: 8px; height: 8px; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; background: var(--accent-color); }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; width: 5px; height: 5px; background: var(--secondary-color); }
.particle:nth-child(8) { left: 80%; animation-delay: 1.5s; background: var(--accent-color); }

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: translateY(80vh) scale(1);
    }
    90% {
        opacity: 0.6;
        transform: translateY(10vh) scale(1);
    }
    100% {
        transform: translateY(-10vh) scale(0);
        opacity: 0;
    }
}

/* ========================================
   Keyframe Animations
   ======================================== */

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Down Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Left Animation */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade In Right Animation */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* Rotate Animation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
}

/* Glow Animation */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(102, 126, 234, 0.5); }
    50% { box-shadow: 0 0 30px rgba(102, 126, 234, 0.8), 0 0 60px rgba(102, 126, 234, 0.4); }
}

/* Shimmer Animation */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* Wave Animation */
@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Gradient Shift Animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Spin Animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Border Animation */
@keyframes borderGlow {
    0%, 100% { border-color: var(--primary-color); }
    50% { border-color: var(--secondary-color); }
}

/* Text Gradient Animation */
@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Heart Beat */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

/* Shake */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Flip */
@keyframes flip {
    0% { transform: perspective(400px) rotateY(0); }
    100% { transform: perspective(400px) rotateY(360deg); }
}

/* ========================================
   Navigation Bar
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: fadeInDown 0.5s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    color: var(--light-color);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 14px;
    animation: pulse 2s infinite, float 3s ease-in-out infinite;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.logo-icon i {
    font-size: 22px;
    animation: spin 3s linear infinite;
}

.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: textGradient 3s ease infinite;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--light-color);
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--light-color);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
    animation: float 10s ease-in-out infinite, morphShape 15s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -100px;
    right: -100px;
    animation-delay: 2s;
    animation: float 12s ease-in-out infinite, morphShape 18s ease-in-out infinite reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite, morphShape 12s ease-in-out infinite;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: var(--accent-color-2);
    top: 20%;
    right: 20%;
    animation-delay: 6s;
    opacity: 0.25;
    animation: float 6s ease-in-out infinite;
}

@keyframes morphShape {
    0%, 100% { border-radius: 50%; }
    25% { border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%; }
    50% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    75% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 20px;
    max-width: 900px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease, pulse 3s infinite;
    font-size: 14px;
    color: var(--light-color);
    font-weight: 500;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.hero-title {
    font-size: 85px;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.05;
    animation: fadeInUp 1s ease;
}

.greeting {
    display: block;
    font-size: 32px;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.2s both;
}

.team-name {
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: textGradient 4s ease infinite, fadeInUp 1s ease 0.4s both;
}

.hero-subtitle {
    font-size: 26px;
    color: var(--light-color);
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.6s both;
    font-weight: 500;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 45px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.8s both;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 70px;
    animation: fadeInUp 1s ease 1s both;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: var(--light-color);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.6);
    animation: glow 2s infinite;
}

.btn-primary:hover i {
    animation: bounce 0.5s ease;
}

.btn-secondary {
    background: transparent;
    color: var(--light-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover i {
    animation: shake 0.5s ease;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    animation: fadeInUp 1s ease 1.2s both;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(102, 126, 234, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    animation: float 3s ease-in-out infinite;
}

.stat-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.stat-item:nth-child(2) .stat-icon {
    animation-delay: 0.5s;
}

.stat-item:nth-child(3) .stat-icon {
    animation-delay: 1s;
}

.stat-number {
    display: block;
    font-size: 52px;
    font-weight: 800;
    color: var(--light-color);
    animation: glow 3s infinite;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

/* Scroll Down */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: wave 2s infinite;
}

.mouse {
    display: block;
    width: 30px;
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--light-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(25px);
    }
}

.scroll-text {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================
   Section Styles
   ======================================== */

section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 52px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 70px;
    color: var(--light-color);
    animation: fadeInUp 0.8s ease;
}

.section-title span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: textGradient 4s ease infinite;
}

/* ========================================
   About Section
   ======================================== */

.about {
    background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
}

.image-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite, morphShape 12s ease-in-out infinite;
}

.image-inner {
    position: absolute;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-wrapper:hover .image-inner img {
    transform: scale(1.1);
}

.image-rings {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    z-index: 1;
}

.ring {
    position: absolute;
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.ring-2 {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    animation-direction: reverse;
    animation-duration: 15s;
    border-color: rgba(118, 75, 162, 0.3);
}

.ring-3 {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    animation-duration: 10s;
    border-color: rgba(255, 107, 107, 0.3);
}

.about-text h3 {
    font-size: 36px;
    color: var(--light-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.highlight {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 35px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 25px;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.feature-item:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateX(12px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite, pulse 2s infinite;
}

.feature-icon i {
    font-size: 22px;
    color: var(--light-color);
}

.feature-content {
    display: flex;
    flex-direction: column;
}

.feature-title {
    color: var(--light-color);
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 4px;
}

.feature-desc {
    color: var(--text-light);
    font-size: 14px;
}

/* ========================================
   Services Section
   ======================================== */

.services {
    background: #1a1a2e;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 15s ease-in-out infinite;
}

.services::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: float 12s ease-in-out infinite reverse;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    position: relative;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.25);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    opacity: 0.08;
}

.service-card-inner {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: float 4s ease-in-out infinite;
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.5);
}

.service-icon i {
    font-size: 40px;
    color: var(--light-color);
}

.service-card h3 {
    font-size: 24px;
    color: var(--light-color);
    margin-bottom: 18px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-number {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
}

.service-card:hover .service-number {
    color: rgba(255, 255, 255, 0.15);
    transform: scale(1.2) rotate(-10deg);
}

.service-hover {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
}

.service-card:hover .service-hover {
    opacity: 1;
    transform: translateY(0);
}

.service-hover a {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-hover a i {
    transition: transform 0.3s ease;
}

.service-hover a:hover i {
    transform: translateX(5px);
}

/* ========================================
   Team Section
   ======================================== */

.team {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.team-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 19px;
    margin-bottom: 60px;
    margin-top: -50px;
}

.team-preview {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.team-member-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 28px;
    padding: 35px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 300px;
    position: relative;
    overflow: hidden;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.team-member-card:hover::before {
    left: 100%;
}

.team-member-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
}

.member-card-inner {
    text-align: center;
}

.member-image {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
}

.member-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.team-member-card:hover .member-image-wrapper {
    border-color: var(--secondary-color);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.6);
    transform: scale(1.05);
}

.member-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .member-image-wrapper img {
    transform: scale(1.15);
}

.member-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 10px;
    left: 10px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
    animation-play-state: paused;
    z-index: 1;
}

.member-info h4 {
    font-size: 24px;
    color: var(--light-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.member-role {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.member-skills {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.skill-pill {
    background: rgba(102, 126, 234, 0.15);
    color: var(--light-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.team-member-card:hover .skill-pill {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-3px);
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 18px;
}

.member-social a:hover {
    background: var(--gradient);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.team-cta {
    text-align: center;
    margin-top: 60px;
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    background: #0f0f1a;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.12) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 20s ease-in-out infinite;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    position: relative;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item:hover {
    transform: translateX(15px) scale(1.02);
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.08);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.contact-icon {
    width: 65px;
    height: 65px;
    background: var(--gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.contact-item:nth-child(2) .contact-icon {
    animation-delay: 0.5s;
}

.contact-item:nth-child(3) .contact-icon {
    animation-delay: 1s;
}

.contact-icon i {
    font-size: 26px;
    color: var(--light-color);
}

.contact-details h4 {
    color: var(--light-color);
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-light);
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 18px;
    margin-top: 15px;
}

.social-link {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.social-link.whatsapp:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    border-color: transparent;
    color: white;
}

.social-link.instagram {
    background: rgba(225, 48, 108, 0.15);
    color: #e1306c;
    border: 1px solid rgba(225, 48, 108, 0.3);
}

.social-link.instagram:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 40px rgba(225, 48, 108, 0.4);
    border-color: transparent;
    color: white;
}

.social-link.github {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link.github:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    border-color: transparent;
    background: #333;
}

.social-link.linkedin {
    background: rgba(0, 119, 181, 0.15);
    color: #0077b5;
    border: 1px solid rgba(0, 119, 181, 0.3);
}

.social-link.linkedin:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 119, 181, 0.4);
    border-color: transparent;
    color: white;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 45px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h3 {
    color: var(--light-color);
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-header p {
    color: var(--text-light);
    font-size: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: var(--light-color);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.2), inset 0 0 20px rgba(102, 126, 234, 0.05);
    background: rgba(102, 126, 234, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: none;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.contact-form .btn:hover i {
    animation: bounce 0.5s ease;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: #0a0a15;
    padding: 80px 0 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.footer-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -200px;
    left: -100px;
    animation: float 15s ease-in-out infinite;
}

.footer-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -100px;
    right: -100px;
    animation: float 12s ease-in-out infinite reverse;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    position: relative;
}

.footer-logo .logo {
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--text-light);
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gradient);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.footer-links h4,
.footer-services h4 {
    color: var(--light-color);
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-services h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 14px;
}

.footer-links a,
.footer-services a {
    color: var(--text-light);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.footer-links a i,
.footer-services a i {
    font-size: 10px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
    transform: translateX(8px);
}

.footer-links a:hover i,
.footer-services a:hover i {
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
}

.footer-badges {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-badges .badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-light);
}

.footer-badges .badge i {
    color: #ff6b6b;
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* ========================================
   Animations on Scroll
   ======================================== */

.section-title,
.about-content,
.services-grid,
.team-preview,
.contact-content,
.hero-stats {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.animate,
.about-content.animate,
.services-grid.animate,
.team-preview.animate,
.contact-content.animate,
.hero-stats.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }

.team-member-card:nth-child(1) { transition-delay: 0.1s; }
.team-member-card:nth-child(2) { transition-delay: 0.2s; }
.team-member-card:nth-child(3) { transition-delay: 0.3s; }

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 65px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }
    
    .image-wrapper {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .greeting {
        font-size: 22px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 35px;
    }
    
    .section-title {
        font-size: 38px;
    }
    
    .about-text h3 {
        font-size: 28px;
    }
    
    .about-features {
        flex-direction: column;
    }
    
    .team-preview {
        flex-direction: column;
        align-items: center;
    }
    
    .team-member-card {
        min-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-services h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a,
    .footer-services a {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 34px;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
    }
    
    .btn {
        padding: 15px 32px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .image-wrapper {
        width: 250px;
        height: 250px;
    }
    
    .service-card,
    .team-member-card {
        padding: 30px 22px;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .contact-form {
        padding: 30px 22px;
    }
}
