/* ============================================
   Variables CSS
   ============================================ */
:root {
    /* Colores principales - Tropical Neon Theme */
    --primary-color: #22CCF2; /* Cyan brillante */
    --primary-dark: #0F5C8C; /* Azul oscuro */
    --primary-light: #29F2F2; /* Cyan claro/neón */
    --secondary-color: #1790BF; /* Azul medio */
    --accent-color: #29F2F2; /* Cyan neón */
    
    /* Colores de fondo - Tropical Neon Theme (Oscuro) */
    --bg-primary: #000510; /* Casi negro con matiz azul */
    --bg-secondary: #0A1A2E; /* Azul muy oscuro */
    --bg-card: #0F2438; /* Azul oscuro para cards */
    --bg-hover: #152A40; /* Azul hover más claro */
    
    /* Colores de texto */
    --text-primary: #F1F5F9; /* Blanco suave */
    --text-secondary: #CBD5E1; /* Gris claro */
    --text-muted: #94A3B8; /* Gris medio */
    
    /* Gradientes - Tropical Neon Theme (Oscuro) */
    --gradient-primary: linear-gradient(135deg, #22CCF2 0%, #1790BF 50%, #29F2F2 100%);
    --gradient-secondary: linear-gradient(135deg, #1790BF 0%, #0F5C8C 100%);
    --gradient-bg: linear-gradient(180deg, #000510 0%, #0A1A2E 50%, #0F2438 100%);
    --gradient-neon: linear-gradient(135deg, #29F2F2 0%, #22CCF2 25%, #1790BF 50%, #0F5C8C 75%, #0A1A2E 100%);
    --gradient-dark: radial-gradient(circle at center, rgba(34, 204, 242, 0.1) 0%, rgba(15, 50, 64, 0.3) 40%, transparent 70%);
    
    /* Sombras con colores tropical neon (Intensas) */
    --shadow-sm: 0 2px 8px rgba(34, 204, 242, 0.2);
    --shadow-md: 0 4px 16px rgba(34, 204, 242, 0.3);
    --shadow-lg: 0 8px 32px rgba(34, 204, 242, 0.4);
    --shadow-glow: 0 0 30px rgba(34, 204, 242, 0.8), 0 0 60px rgba(41, 242, 242, 0.6), 0 0 90px rgba(34, 204, 242, 0.4);
    --shadow-glow-blue: 0 0 30px rgba(23, 144, 191, 0.7);
    --shadow-glow-intense: 0 0 50px rgba(34, 204, 242, 1), 0 0 100px rgba(41, 242, 242, 0.8);
    
    /* Tipografía */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'JetBrains Mono', monospace;
    --font-logo: 'JetBrains Mono', monospace;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Bordes */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   Reset y Estilos Base
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

* {
    position: relative;
    z-index: 1;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Aplicar fuente monoespaciada a todos los títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(34, 204, 242, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(41, 242, 242, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(23, 144, 191, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(34, 204, 242, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 204, 242, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 0 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 5, 16, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(34, 204, 242, 0.4);
    box-shadow: 0 2px 20px rgba(34, 204, 242, 0.2);
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(0, 5, 16, 0.98);
    box-shadow: 0 4px 30px rgba(34, 204, 242, 0.3), 0 0 40px rgba(41, 242, 242, 0.2);
    border-bottom: 2px solid rgba(34, 204, 242, 0.5);
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: bold;
    transition: var(--transition-fast);
}

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

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(34, 204, 242, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
}

.logo-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    fill: var(--primary-color);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(34, 204, 242, 0.6));
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-logo);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.btn-nav {
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background: var(--bg-primary);
}



.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-fast);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 0 20px rgba(34, 204, 242, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::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-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-intense);
}

.btn-primary:hover::before {
    left: 100%;
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-sm);
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(34, 204, 242, 0.2);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(34, 204, 242, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    background: var(--bg-hover);
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(34, 204, 242, 0.4);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}


/* ============================================
   Services Preview Section
   ============================================ */
.services-preview {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
    position: relative;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(34, 204, 242, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(34, 204, 242, 0.2);
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 204, 242, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.service-icon svg {
    width: 48px;
    height: 48px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.service-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--secondary-color);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(34, 204, 242, 0.3), inset 0 0 50px rgba(41, 242, 242, 0.1);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(100px);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
    color: white;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}

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

.cta-section .btn-large:hover {
    background: var(--bg-primary);
    color: white;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-primary);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 2px solid rgba(34, 204, 242, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 204, 242, 0.5), transparent);
    box-shadow: 0 0 10px rgba(34, 204, 242, 0.5);
}

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

.footer-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 0;
}

.footer-logo .logo-icon {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(34, 204, 242, 0.6));
}

.footer-logo .logo-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    fill: var(--primary-color);
    position: relative;
    z-index: 1;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    position: relative;
    z-index: 2;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-fast);
    color: var(--primary-color);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
    fill: currentColor;
    color: var(--primary-color);
}

.social-link:hover svg {
    transform: scale(1.1);
    color: white;
}

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

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a,
.footer-contact li {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
}

.footer-contact svg {
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* ============================================
   Page Header (for inner pages)
   ============================================ */
.page-header {
    position: relative;
    padding: 150px 0 100px;
    background: var(--bg-primary);
    text-align: center;
    overflow: visible;
    margin-bottom: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(34, 204, 242, 0.15) 0%, rgba(41, 242, 242, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: 0;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.page-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}


/* ============================================
   Services Detail Section
   ============================================ */
.services-detail {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
    position: relative;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.service-detail-card {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-md);
    transition: var(--transition-normal);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.service-detail-icon {
    font-size: 4rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--primary-color);
}

.service-detail-icon svg {
    width: 64px;
    height: 64px;
}

.service-detail-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.service-detail-title {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.02em;
}

.service-detail-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
    margin: var(--spacing-sm) 0;
}

.service-features li {
    color: var(--text-secondary);
    font-size: 1rem;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.tech-tag {
    background: rgba(34, 204, 242, 0.2);
    color: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(34, 204, 242, 0.3);
}

/* ============================================
   Process Section
   ============================================ */
.process-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.process-step {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.process-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.process-title {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.process-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Portfolio Section
   ============================================ */
.portfolio-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
    position: relative;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.portfolio-item {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
    color: white;
}

.portfolio-image svg {
    width: 64px;
    height: 64px;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: var(--transition-fast);
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 1;
}

.portfolio-content {
    padding: var(--spacing-md);
}

.portfolio-category {
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.portfolio-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

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

.portfolio-tag {
    background: rgba(34, 204, 242, 0.15);
    color: var(--primary-light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 32px;
    height: 32px;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

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

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 204, 242, 0.3);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-error {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.form-error.show {
    display: block;
}

.form-input.error,
.form-textarea.error,
.form-select.error {
    border-color: #ef4444;
}

.form-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
    display: none;
}

.form-success.show {
    display: block;
}

.form-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}




