/* ============================================
   TechXpertAgency - Custom CSS
   Color Palette:
   - Primary: #05fb23 (Lime Green)
   - Accent: #c900b4 (Magenta)
   - Background: #000000 (Black)
   - Text: #fafbfa (Off-White)
   ============================================ */

:root {
    --neon-blue: #04fb21;
    --neon-accent: #c900b4;
    --dark-bg: #000000;
    --light-bg: #0a0f0a;
    --text-white: #fafbfa;
    --text-muted: #a0a8a0;
}

/* ============================================
   GENERAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c900b4;
}

/* ============================================
   NEON TEXT & GLOW EFFECTS
   ============================================ */

.neon-text {
    color: #05fb23;
    text-shadow: 0 0 10px rgba(5, 251, 35, 0.5),
                 0 0 20px rgba(5, 251, 35, 0.3),
                 0 0 30px rgba(5, 251, 35, 0.2);
    font-weight: 700;
}

.neon-glow {
    color: #05fb23;
    text-shadow: 0 0 15px rgba(5, 251, 35, 0.6),
                 0 0 30px rgba(5, 251, 35, 0.4),
                 0 0 45px rgba(5, 251, 35, 0.2),
                 0 0 60px rgba(5, 251, 35, 0.1);
    font-weight: 700;
    letter-spacing: 2px;
    animation: neon-pulse 2s ease-in-out infinite;
}

@keyframes neon-pulse {
    0%, 100% {
        text-shadow: 0 0 15px rgba(5, 251, 35, 0.6),
                     0 0 30px rgba(5, 251, 35, 0.4),
                     0 0 45px rgba(5, 251, 35, 0.2),
                     0 0 60px rgba(5, 251, 35, 0.1);
    }
    50% {
        text-shadow: 0 0 20px rgba(5, 251, 35, 0.8),
                     0 0 40px rgba(5, 251, 35, 0.6),
                     0 0 60px rgba(5, 251, 35, 0.4),
                     0 0 80px rgba(5, 251, 35, 0.2);
    }
}

/* Border Neon Effect */
.border-neon {
    border-color: #05fb23 !important;
    border-width: 2px !important;
}

/* ============================================
   NAVBAR STYLES
   ============================================ */

.navbar-floating {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(5, 251, 35, 0.3);
    box-shadow: 0 0 30px rgba(5, 251, 35, 0.1);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(5, 251, 35, 0.6);
}

.navbar-brand img {
    height: 50px;
    width: 162px;
    object-fit: cover;
    object-position: 50% 56%;
    filter: drop-shadow(0 0 15px rgba(5, 251, 35, 0.4)) drop-shadow(0 0 10px rgba(201, 1, 185, 0.2));
}

.nav-link-custom {
    position: relative;
    color: var(--text-muted) !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0 !important;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), transparent);
    transition: width 0.3s ease;
}

.nav-link-custom:hover {
    color: var(--neon-blue) !important;
    text-shadow: 0 0 10px rgba(5, 251, 35, 0.5);
}

.nav-link-custom:hover::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(5, 251, 35, 0.6);
}

.nav-link-custom.active {
    color: var(--neon-blue) !important;
    text-shadow: 0 0 15px rgba(5, 251, 35, 0.6);
}

.nav-link-custom.active::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(5, 251, 35, 0.6);
}

.nav-link-cta {
    border: 2px solid var(--neon-blue);
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    text-shadow: none !important;
    box-shadow: 0 0 15px rgba(5, 251, 35, 0.3);
    transition: all 0.3s ease;
}

/* Remove underline effect from CTA button */
.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: rgba(5, 251, 35, 0.1);
    box-shadow: 0 0 25px rgba(5, 251, 35, 0.6) !important;
    transform: translateY(-2px);
}

/* ============================================
   BUTTON STYLES
   ============================================ */

.btn-neon {
    background: linear-gradient(135deg, var(--neon-blue) 0%, #04c41a 100%);
    color: var(--text-white);
    border: 2px solid var(--neon-blue);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(5, 251, 35, 0.3),
                inset 0 0 15px rgba(5, 251, 35, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-neon:hover::before {
    width: 300px;
    height: 300px;
}

.btn-neon:hover {
    background: linear-gradient(135deg, #05fb23 0%, #04c41a 100%);
    box-shadow: 0 0 25px rgba(5, 251, 35, 0.6),
                0 0 35px rgba(5, 251, 35, 0.4),
                inset 0 0 20px rgba(5, 251, 35, 0.2);
    transform: translateY(-3px);
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(5, 251, 35, 0.5);
}

.btn-neon:active {
    transform: translateY(-1px);
}

.btn-outline-neon {
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    background: transparent;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-blue);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline-neon:hover {
    color: var(--text-white);
    box-shadow: 0 0 20px rgba(5, 251, 35, 0.5);
}

.btn-outline-neon:hover::before {
    left: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    /* background: linear-gradient(135deg, #000 0%, #0a1f2e 100%); */
    background: linear-gradient(135deg, #000 0%, #000 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(5, 251, 35, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Animated Waves Background */
.animated-waves {
    position: absolute;
    width: 100%;
    height: 200px;
    bottom: 0;
    left: 0;
    z-index: 1;
    opacity: 0.7;
}

.wave {
    transform-origin: center;
}

@keyframes wave {
    0%, 100% {
        d: path('M0,40 Q300,0 600,40 T1200,40 L1200,120 L0,120 Z');
    }
    25% {
        d: path('M0,30 Q300,10 600,30 T1200,30 L1200,120 L0,120 Z');
    }
    50% {
        d: path('M0,50 Q300,-10 600,50 T1200,50 L1200,120 L0,120 Z');
    }
    75% {
        d: path('M0,35 Q300,5 600,35 T1200,35 L1200,120 L0,120 Z');
    }
}

/* Hero Content - Redesigned */
.hero-content-redesigned {
    padding: 40px 20px;
    animation: fadeInUp 1s ease-out;
}

/* Animated Geometric Elements */
.hero-animated-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

/* Particle Container */
.particle-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    filter: drop-shadow(0 0 8px rgba(5, 251, 35, 0.8));
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.p1 {
    width: 10px;
    height: 10px;
    background: rgba(5, 251, 35, 0.9);
    top: 15%;
    left: 12%;
    animation: float-particle 8s ease-in-out infinite;
}

.p2 {
    width: 8px;
    height: 8px;
    background: rgba(201, 1, 185, 0.9);
    top: 25%;
    right: 20%;
    animation: float-particle 9s ease-in-out infinite 0.5s;
    filter: drop-shadow(0 0 8px rgba(201, 1, 185, 0.8));
}

.p3 {
    width: 12px;
    height: 12px;
    background: rgba(5, 251, 35, 0.8);
    top: 40%;
    left: 40%;
    animation: float-particle 7s ease-in-out infinite 1s;
}

.p4 {
    width: 9px;
    height: 9px;
    background: rgba(201, 1, 185, 0.85);
    top: 50%;
    right: 35%;
    animation: float-particle 10s ease-in-out infinite 1.5s;
    filter: drop-shadow(0 0 8px rgba(201, 1, 185, 0.8));
}

.p5 {
    width: 11px;
    height: 11px;
    background: rgba(5, 251, 35, 0.85);
    bottom: 25%;
    left: 20%;
    animation: float-particle 8.5s ease-in-out infinite 0.8s;
}

.p6 {
    width: 7px;
    height: 7px;
    background: rgba(201, 1, 185, 0.9);
    bottom: 35%;
    right: 25%;
    animation: float-particle 9.5s ease-in-out infinite 1.2s;
    filter: drop-shadow(0 0 8px rgba(201, 1, 185, 0.8));
}

.p7 {
    width: 10px;
    height: 10px;
    background: rgba(5, 251, 35, 0.8);
    top: 30%;
    left: 65%;
    animation: float-particle 7.5s ease-in-out infinite 0.3s;
}

.p8 {
    width: 8px;
    height: 8px;
    background: rgba(201, 1, 185, 0.95);
    bottom: 40%;
    right: 15%;
    animation: float-particle 9.8s ease-in-out infinite 1.8s;
    filter: drop-shadow(0 0 8px rgba(201, 1, 185, 0.8));
}

/* Particle Lines */
.particle-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.line {
    stroke-linecap: round;
    opacity: 0;
    animation: line-appear 2s ease-in-out infinite;
}

.l1 { animation-delay: 0s; }
.l2 { animation-delay: 0.3s; }
.l3 { animation-delay: 0.6s; }
.l4 { animation-delay: 0.9s; }
.l5 { animation-delay: 1.2s; }
.l6 { animation-delay: 1.5s; }

/* Keyframe Animations */
@keyframes float-particle {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(15px, -20px);
    }
    50% {
        transform: translate(-10px, 15px);
    }
    75% {
        transform: translate(20px, 10px);
    }
}

@keyframes line-appear {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-text-primary {
    color: var(--text-white);
    display: block;
    font-weight: 700;
}

.hero-text-highlight {
    background: linear-gradient(135deg, var(--neon-blue) 0%, #c901b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-weight: 900;
    text-shadow: none;
}

.hero-subtitle {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-accent-magenta {
    color: #c901b9;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(201, 1, 185, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Geometric Shapes */
.geometric-shapes {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape {
    position: absolute;
    opacity: 0.6;
    filter: drop-shadow(0 0 20px rgba(5, 251, 35, 0.4));
}

.shape-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--neon-blue);
    animation: float 6s ease-in-out infinite, rotate 8s linear infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid rgba(5, 251, 35, 0.7);
    animation: float 7s ease-in-out infinite 1s, rotate 10s linear infinite reverse;
    top: 50px;
    left: 100px;
}

.shape-square {
    width: 120px;
    height: 120px;
    border: 3px solid rgba(5, 251, 35, 0.8);
    transform: rotate(45deg);
    animation: float 8s ease-in-out infinite 0.5s, rotate 12s linear infinite;
    top: -20px;
    right: 80px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(30px) rotate(15deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-card-preview {
    padding: 30px;
    border: 2px solid rgba(5, 251, 35, 0.3);
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(5, 251, 35, 0.1), transparent);
    transition: left 0.3s ease;
}

.service-card-preview:hover {
    border-color: var(--neon-blue);
    background: rgba(5, 251, 35, 0.05);
    box-shadow: 0 0 30px rgba(5, 251, 35, 0.3),
                inset 0 0 30px rgba(5, 251, 35, 0.05);
    transform: translateY(-5px);
}

.service-card-preview:hover::before {
    left: 100%;
}

.service-icon {
    font-size: 3rem;
    color: var(--neon-blue);
    text-shadow: 0 0 20px rgba(5, 251, 35, 0.5);
    margin-bottom: 15px;
}

.service-card {
    padding: 40px 30px;
    border: 2px solid rgba(5, 251, 35, 0.2);
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: translateX(0);
}

@keyframes neonPulse {
    0% {
        border-color: rgba(5, 251, 35, 0.2);
        box-shadow: 0 0 20px rgba(5, 251, 35, 0.2), inset 0 0 20px rgba(5, 251, 35, 0.02);
    }
    50% {
        border-color: #05fb23;
        box-shadow: 0 0 40px rgba(5, 251, 35, 0.5), 0 0 60px rgba(5, 251, 35, 0.2), inset 0 0 30px rgba(5, 251, 35, 0.08);
    }
    100% {
        border-color: rgba(5, 251, 35, 0.2);
        box-shadow: 0 0 20px rgba(5, 251, 35, 0.2), inset 0 0 20px rgba(5, 251, 35, 0.02);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-card:hover {
    animation: neonPulse 1.5s ease-in-out infinite;
    transform: translateY(-10px);
    background: rgba(5, 251, 35, 0.03);
}

.service-card-top {
    text-align: center;
    margin-bottom: 20px;
}

.service-icon-large {
    font-size: 4rem;
    color: var(--neon-blue);
    text-shadow: 0 0 30px rgba(5, 251, 35, 0.6);
    transition: all 0.3s ease;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.15);
    }
}

.service-card:hover .service-icon-large {
    animation: iconFloat 0.8s ease-in-out;
    text-shadow: 0 0 50px rgba(5, 251, 35, 0.9), 0 0 80px rgba(5, 251, 35, 0.5);
}

.service-card-title {
    position: relative;
    color: #c900b4;
    font-weight: 700;
    font-size: 1.4rem;
    text-shadow: 0 0 15px rgba(201, 0, 180, 0.4);
    background: linear-gradient(135deg, #c900b4, #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    padding-bottom: 8px;
}

.service-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c900b4, #d946ef);
    transition: width 0.3s ease;
}

.service-card:hover .service-card-title {
    text-shadow: 0 0 25px rgba(201, 0, 180, 0.8);
}

.service-card:hover .service-card-title::after {
    width: 100%;
}

.service-card h4 {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 15px;
    flex-grow: 1;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(5, 251, 35, 0.2);
}

.service-card ul li:last-child {
    border-bottom: none;
}

/* ============================================
   PORTFOLIO CARDS
   ============================================ */

.portfolio-card-preview {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(5, 251, 35, 0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-card-preview:hover .portfolio-overlay {
    opacity: 1;
    box-shadow: inset 0 0 40px rgba(5, 251, 35, 0.3);
}

.portfolio-card-preview:hover img {
    transform: scale(1.1);
    filter: blur(2px);
}

.overlay-content {
    text-align: center;
    color: var(--text-white);
    z-index: 10;
}

.overlay-content h6 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--neon-blue);
    text-shadow: 0 0 15px rgba(5, 251, 35, 0.5);
}

/* ============================================
   PORTFOLIO GRID
   ============================================ */

/* ============================================
   FEATURED PROJECTS CARDS
   ============================================ */

.featured-project-card {
    border-radius: 15px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(5, 251, 35, 0.2);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-project-card:hover {
    border-color: #c900b4;
    background: rgba(201, 0, 180, 0.05);
    box-shadow: 0 0 40px rgba(201, 0, 180, 0.4),
                0 0 60px rgba(5, 251, 35, 0.2),
                inset 0 0 30px rgba(201, 0, 180, 0.05);
    transform: translateY(-15px);
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.featured-project-card:hover .project-image {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(0.7);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 251, 35, 0.1);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.project-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c900b4, #d946ef);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(201, 0, 180, 0.6);
}

.project-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    color: #05fb23;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(5, 251, 35, 0.3);
}

.project-category {
    color: #c900b4;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.project-description {
    flex-grow: 1;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    display: inline-block;
    background: rgba(5, 251, 35, 0.15);
    color: #05fb23;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    border: 1px solid rgba(5, 251, 35, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(5, 251, 35, 0.3);
    border-color: #05fb23;
    box-shadow: 0 0 10px rgba(5, 251, 35, 0.4);
}

.featured-modal {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #c900b4;
}

.featured-modal .modal-header {
    border-color: #c900b4;
    box-shadow: 0 0 20px rgba(201, 0, 180, 0.2);
}

.text-magenta {
    color: #c900b4;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(201, 0, 180, 0.3);
}

.portfolio-card {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(5, 251, 35, 0.2);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 30px rgba(5, 251, 35, 0.3),
                0 0 50px rgba(5, 251, 35, 0.1);
}

.portfolio-item {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--dark-bg);
    border-top: 2px solid var(--neon-blue);
    box-shadow: 0 -10px 40px rgba(5, 251, 35, 0.1);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icon:hover {
    background: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(5, 251, 35, 0.6);
    transform: translateY(-3px) scale(1.1);
}

.footer-link {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(5, 251, 35, 0.4);
}

/* ============================================
   TIMELINE
   ============================================ */

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--neon-blue) 0%, transparent 100%);
    box-shadow: 0 0 20px rgba(5, 251, 35, 0.3);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    padding-right: 60px;
    width: 48%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    padding-left: 60px;
    width: 48%;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--neon-blue);
    border: 3px solid var(--dark-bg);
    top: 0;
    z-index: 5;
    box-shadow: 0 0 20px rgba(5, 251, 35, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(5, 251, 35, 0.6),
                    0 0 30px rgba(5, 251, 35, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(5, 251, 35, 0.8),
                    0 0 50px rgba(5, 251, 35, 0.4);
    }
}

.timeline-content {
    padding: 20px;
    border: 2px solid rgba(5, 251, 35, 0.2);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--neon-blue);
    background: rgba(5, 251, 35, 0.05);
    box-shadow: 0 0 20px rgba(5, 251, 35, 0.3);
}

/* Mobile Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        padding-left: 60px !important;
        padding-right: 0 !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ============================================
   VALUE CARDS
   ============================================ */

.value-card {
    padding: 30px;
    border: 2px solid rgba(5, 251, 35, 0.2);
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.value-card h5 {
    color: #c901b9;
}

.value-card:hover::before {
    transform: translateX(0);
}

.value-card:hover {
    animation: neonPulse 1.5s ease-in-out infinite;
    transform: translateY(-10px);
    background: rgba(5, 251, 35, 0.03);
}

.value-icon {
    font-size: 2.5rem;
    color: #c901b9;
    text-shadow: 0 0 20px rgba(201, 1, 185, 0.5);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    animation: iconFloat 0.8s ease-in-out;
    text-shadow: 0 0 50px rgba(5, 251, 35, 0.9), 0 0 80px rgba(5, 251, 35, 0.5);
}

/* ============================================
   SKILLS CARDS
   ============================================ */

.skill-card {
    padding: 30px;
    border: 2px solid rgba(5, 251, 35, 0.2);
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.skill-card:hover {
    border-color: var(--neon-blue);
    background: rgba(5, 251, 35, 0.05);
    box-shadow: 0 0 30px rgba(5, 251, 35, 0.3),
                inset 0 0 30px rgba(5, 251, 35, 0.05);
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 2.5rem;
    color: #c901b9;
    text-shadow: 0 0 20px rgba(201, 1, 185, 0.5);
}

.skill-card:hover .skill-icon {
    transform: scale(1.15);
    text-shadow: 0 0 30px rgba(201, 1, 185, 0.8);
}

.skill-card h5 {
    color: #c901b9;
}

/* ============================================
   TEAM MEMBERS
   ============================================ */

.team-member {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.team-member h6 {
    color: #c901b9;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(5, 251, 35, 0.4);
    transition: all 0.3s ease;
}

.team-member:hover img {
    box-shadow: 0 0 30px rgba(5, 251, 35, 0.6),
                0 0 50px rgba(5, 251, 35, 0.3);
    transform: scale(1.1);
}

/* ============================================
   CONTACT FORM
   ============================================ */

.form-control-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(5, 251, 35, 0.2);
    color: var(--text-white);
    border-radius: 10px;
    transition: all 0.3s ease;
    padding: 15px;
}

.form-control-dark:focus {
    background: rgba(5, 251, 35, 0.05);
    border-color: var(--neon-blue);
    color: var(--text-white);
    box-shadow: 0 0 20px rgba(5, 251, 35, 0.3),
                inset 0 0 10px rgba(5, 251, 35, 0.05);
}

.form-control-dark::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-select-dark {
    background: rgba(255, 255, 255, 0.05) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2305fb23' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 0.75rem center/16px 12px;
    border: 2px solid rgba(5, 251, 35, 0.2);
    color: var(--text-white);
    border-radius: 10px;
    transition: all 0.3s ease;
    padding: 12px 40px 12px 15px;
}

.form-select-dark:focus {
    background-color: rgba(5, 251, 35, 0.05);
    border-color: var(--neon-blue);
    color: var(--text-white);
    box-shadow: 0 0 20px rgba(5, 251, 35, 0.3);
}

.form-select-dark option {
    background: var(--light-bg);
    color: var(--text-white);
}

.form-floating > label {
    color: var(--text-muted);
}

.form-floating > .form-control-dark:focus ~ label,
.form-floating > .form-control-dark:not(:placeholder-shown) ~ label {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(5, 251, 35, 0.3);
}

.form-check-input {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(5, 251, 35, 0.3);
    width: 1.25em;
    height: 1.25em;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(5, 251, 35, 0.5);
}

/* ============================================
   ACCORDION
   ============================================ */

.accordion-item-dark {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(5, 251, 35, 0.2);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item-dark:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(5, 251, 35, 0.2);
}

.accordion-button-dark {
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-white);
    border: none;
    font-weight: 600;
    padding: 20px;
    transition: all 0.3s ease;
}

.accordion-button-dark:not(.collapsed) {
    background: rgba(5, 251, 35, 0.1);
    color: var(--neon-blue);
    box-shadow: inset 0 -2px 0 var(--neon-blue);
    text-shadow: 0 0 10px rgba(5, 251, 35, 0.4);
}

.accordion-button-dark:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(5, 251, 35, 0.3);
}

.accordion-item{
    color: var(--text-white);
}

/* ============================================
   CONTACT INFO
   ============================================ */

.contact-icon {
    font-size: 2.5rem;
    color: var(--neon-blue);
    text-shadow: 0 0 20px rgba(5, 251, 35, 0.5);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    text-shadow: 0 0 30px rgba(5, 251, 35, 0.8);
    transform: scale(1.15);
}

.contact-link {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(5, 251, 35, 0.4);
}

/* ============================================
   SOCIAL ICONS (LARGE)
   ============================================ */

.social-icon-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-icon-lg:hover {
    background: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 25px rgba(5, 251, 35, 0.6),
                0 0 40px rgba(5, 251, 35, 0.3);
    transform: translateY(-5px) scale(1.15);
}

/* ============================================
   STAT BOX
   ============================================ */

.stat-box {
    text-align: center;
    padding: 20px;
    border: 2px solid rgba(5, 251, 35, 0.2);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--neon-blue);
    background: rgba(5, 251, 35, 0.05);
    box-shadow: 0 0 20px rgba(5, 251, 35, 0.3);
}

.stat-box h4 {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* ============================================
   PROCESS STEPS
   ============================================ */

.process-step {
    padding: 30px;
    border: 2px solid rgba(5, 251, 35, 0.2);
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    border-color: var(--neon-blue);
    background: rgba(5, 251, 35, 0.05);
    box-shadow: 0 0 30px rgba(5, 251, 35, 0.3),
                inset 0 0 30px rgba(5, 251, 35, 0.05);
    transform: translateY(-5px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-blue) 0%, #04c41a 100%);
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(5, 251, 35, 0.5);
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    box-shadow: 0 0 35px rgba(5, 251, 35, 0.8);
    transform: scale(1.15);
}

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */

.testimonial-card {
    padding: 30px;
    border: 2px solid rgba(5, 251, 35, 0.2);
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    border-color: var(--neon-blue);
    background: rgba(5, 251, 35, 0.05);
    box-shadow: 0 0 30px rgba(5, 251, 35, 0.3),
                inset 0 0 30px rgba(5, 251, 35, 0.05);
    transform: translateY(-5px);
}

.stars {
    letter-spacing: 5px;
}

/* ============================================
   TEXT COLOR UTILITIES
   ============================================ */

.text-white-bright {
    color: #fefefe !important;
}

.text-small-white {
    color: #fefefe;
    font-size: 0.9rem;
}

.lead-white {
    color: #fefefe;
}

/* ============================================
   GLOW IMAGE
   ============================================ */

.glow-image {
    border: 3px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(5, 251, 35, 0.4),
                inset 0 0 30px rgba(5, 251, 35, 0.1);
    transition: all 0.3s ease;
}

.glow-image:hover {
    box-shadow: 0 0 40px rgba(5, 251, 35, 0.6),
                0 0 60px rgba(5, 251, 35, 0.3),
                inset 0 0 30px rgba(5, 251, 35, 0.1);
    transform: scale(1.02);
}

/* ============================================
   PAGE HERO SECTION
   ============================================ */

.page-hero-section {
    padding-top: 100px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    border-top: 2px solid rgba(5, 251, 35, 0.3);
    border-bottom: 2px solid rgba(5, 251, 35, 0.3);
}

/* ============================================
   WHATSAPP CTA
   ============================================ */

.whatsapp-cta {
    position: relative;
    overflow: hidden;
}

.whatsapp-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 100% 0%, rgba(5, 251, 35, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   MODAL STYLES
   ============================================ */

.modal-dark {
    --bs-modal-bg: rgba(10, 31, 46, 0.95);
}

.modal-dark .modal-content {
    background: rgba(10, 31, 46, 0.95);
    backdrop-filter: blur(10px);
}

.modal-dark .modal-header,
.modal-dark .modal-footer {
    border-color: rgba(5, 251, 35, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .display-3 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .neon-glow {
        letter-spacing: 1px;
    }

    .navbar-floating {
        border-bottom: 1px solid rgba(5, 251, 35, 0.2);
    }

    .geometric-shapes {
        height: 250px;
        margin-top: 30px;
    }

    .shape-circle {
        width: 100px;
        height: 100px;
    }

    .shape-triangle {
        width: 0;
        height: 0;
        border-left: 60px solid transparent;
        border-right: 60px solid transparent;
        border-bottom: 100px solid rgba(5, 251, 35, 0.7);
    }

    .shape-square {
        width: 80px;
        height: 80px;
    }

    .service-card,
    .service-card-preview,
    .value-card {
        padding: 20px;
    }

    .portfolio-image {
        height: 200px;
    }

    .contact-item {
        margin-bottom: 25px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        left: 15px;
    }

    .footer {
        border-top: 1px solid rgba(5, 251, 35, 0.2);
    }

    .btn-neon,
    .btn-outline-neon {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 40px 0;
    }

    h1.display-3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .lead {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 1.5rem;
    }

    .display-5 {
        font-size: 1.25rem;
    }

    .geometric-shapes {
        height: 200px;
        margin-top: 20px;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .service-card,
    .value-card {
        padding: 15px;
    }

    .btn-neon,
    .btn-outline-neon {
        width: 100%;
        padding: 12px 20px;
    }

    .nav-link-cta {
        border-radius: 20px;
        padding: 0.4rem 1rem !important;
    }

    .footer {
        padding: 30px 0;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .contact-form-wrapper {
        margin-top: 30px;
    }
}

/* ============================================
   SMOOTH SCROLLING & ANIMATIONS
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Page Load Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-neon {
    color: var(--neon-blue);
}

.very-small {
    font-size: 0.75rem;
}

.border-neon {
    border-color: var(--neon-blue) !important;
}

.bg-dark {
    background-color: var(--dark-bg) !important;
}

/* ============================================
   MAGENTA GLOW SHADOW CLASS
   ============================================ */

.magenta-glow {
    color: #c901b9;
    text-shadow: 0 0 10px rgba(201, 1, 185, 0.6),
                 0 0 20px rgba(201, 1, 185, 0.4),
                 0 0 30px rgba(201, 1, 185, 0.2),
                 0 0 40px rgba(201, 1, 185, 0.1);
    font-weight: 700;
    letter-spacing: 1px;
}

/* ============================================
   HERO SECTION MAGENTA ACCENTS
   ============================================ */

.hero-magenta-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #c901b9 0%, transparent 100%);
}

.hero-logo {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.hero-logo img {
    max-width: 100%;
    object-fit: cover;
    width: 500px;
    height: 311px;
    filter: drop-shadow(0 0 30px rgba(5, 251, 35, 0.4)) drop-shadow(0 0 20px rgba(201, 1, 185, 0.3));
}

.hero-highlight-magenta {
    color: #c901b9;
    font-weight: 700;
}

/* ============================================
   TECH VISUALIZATION - CREATIVE HERO ELEMENT
   ============================================ */

.tech-visualization {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated digital pulse center */
.digital-core {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 3px solid #05fb23;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(5, 251, 35, 0.2) 0%, transparent 70%);
    box-shadow: 0 0 40px rgba(5, 251, 35, 0.6),
                inset 0 0 40px rgba(5, 251, 35, 0.1);
    animation: core-pulse 3s ease-in-out infinite;
}

@keyframes core-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 40px rgba(5, 251, 35, 0.6),
                    inset 0 0 40px rgba(5, 251, 35, 0.1);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 60px rgba(5, 251, 35, 0.8),
                    inset 0 0 60px rgba(5, 251, 35, 0.2);
    }
}

.digital-core::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #c901b9;
    border-radius: 50%;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tech orbiting dots */
.tech-orbit {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 2px dashed rgba(5, 251, 35, 0.3);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
}

.tech-orbit:nth-child(2) {
    width: 380px;
    height: 380px;
    border: 2px dashed rgba(201, 1, 185, 0.25);
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    50% { transform: translateY(30px) rotateZ(10deg); }
}

/* Orbit dots */
.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #05fb23;
    box-shadow: 0 0 20px rgba(5, 251, 35, 0.8);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-dot:nth-child(1) {
    background: #05fb23;
}

.orbit-dot:nth-child(2) {
    background: #c901b9;
    box-shadow: 0 0 15px rgba(201, 1, 185, 0.8);
}

/* Decorative tech lines */
.tech-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.tech-line {
    position: absolute;
    border: 1px solid #05fb23;
}

.tech-line:nth-child(1) {
    width: 150px;
    height: 2px;
    top: 25%;
    left: 10%;
    animation: line-glow 3s ease-in-out infinite;
}

.tech-line:nth-child(2) {
    width: 2px;
    height: 150px;
    top: 15%;
    right: 15%;
    background: #c901b9;
    border: 1px solid #c901b9;
    animation: line-glow 3.5s ease-in-out infinite;
}

.tech-line:nth-child(3) {
    width: 180px;
    height: 2px;
    bottom: 20%;
    right: 5%;
    animation: line-glow 4s ease-in-out infinite;
}

@keyframes line-glow {
    0%, 100% { box-shadow: none; opacity: 0.3; }
    50% { box-shadow: 0 0 15px rgba(5, 251, 35, 0.8); opacity: 0.8; }
}

/* Corner accents - Picasso style asymmetry */
.corner-accent {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid #c901b9;
    opacity: 0.5;
}

.corner-accent:nth-child(5) {
    top: 5%;
    right: 5%;
    border-right: none;
    border-bottom: none;
}

.corner-accent:nth-child(6) {
    bottom: 5%;
    left: 5%;
    border-left: none;
    border-top: none;
}

.shape-circle-magenta {
    border-color: #c901b9;
}

.shape-square-magenta {
    border-color: #c901b9;
}

.btn-magenta {
    border: 2px solid #c901b9;
    color: #c901b9;
    background: transparent;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-magenta:hover {
    background: #c901b9;
    color: #000;
    box-shadow: 0 0 30px rgba(201, 1, 185, 0.8), 0 0 50px rgba(201, 1, 185, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.btn-magenta:focus {
    color: #c901b9;
    outline: none;
}

/* ============================================
   SERVICES SECTION MAGENTA ACCENT
   ============================================ */

.services-magenta-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201, 1, 185, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ============================================
   PORTFOLIO SECTION MAGENTA ACCENT
   ============================================ */

.portfolio-magenta-border {
    border-top: 3px solid #c901b9;
    position: relative;
}

.portfolio-magenta-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #c901b9 50%, transparent 100%);
}

/* ============================================
   CTA SECTION MAGENTA STYLES
   ============================================ */

.cta-section-magenta {
    background: linear-gradient(135deg, rgba(201, 1, 185, 0.1) 0%, rgba(5, 251, 35, 0.05) 50%, rgba(0, 0, 0, 1) 100%);
    border: 2px solid rgba(201, 1, 185, 0.3);
    border-radius: 20px;
    margin: 40px;
}

.highlight-green {
    color: #05fb23;
    font-weight: 700;
}

/* ============================================
   MODERN OFF-CANVAS MENU
   ============================================ */

.offcanvas-modern {
    background: linear-gradient(135deg, #0a0f0a 0%, #1a1a1a 100%);
    backdrop-filter: blur(10px);
    border-left: 2px solid rgba(5, 251, 35, 0.3);
    width: 100% !important;
}

.offcanvas-modern .offcanvas-header {
    background: rgba(0, 0, 0, 0.8);
    padding: 1.5rem !important;
    border-bottom: 2px solid rgba(5, 251, 35, 0.3) !important;
}

.offcanvas-modern .offcanvas-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(5, 251, 35, 0.5);
}

.offcanvas-modern .btn-close {
    width: 2rem;
    height: 2rem;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: transparent;
    border: 2px solid #c900b4;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(201, 1, 185, 0.3), inset 0 0 15px rgba(201, 1, 185, 0.1);
    padding: 0;
}

.offcanvas-modern .btn-close::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #c900b4 0%, rgba(201, 1, 185, 0.6) 100%);
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    border-radius: 8px;
}

.offcanvas-modern .btn-close span {
    width: 1.2rem;
    height: 2px;
    background-color: #c900b4;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.offcanvas-modern .btn-close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.offcanvas-modern .btn-close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.offcanvas-modern .btn-close:hover {
    background: #c900b4;
    border-color: #c900b4;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(201, 1, 185, 0.8), 
                inset 0 0 20px rgba(201, 1, 185, 0.4),
                0 0 20px rgba(201, 1, 185, 0.5);
    transform: scale(1.15);
}

.offcanvas-modern .btn-close:hover::before {
    opacity: 0;
}

.offcanvas-modern .btn-close:hover span:nth-child(1),
.offcanvas-modern .btn-close:hover span:nth-child(2) {
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

.offcanvas-modern .offcanvas-body {
    background: linear-gradient(180deg, #0a0f0a 0%, #000000 100%);
    padding: 0 !important;
}

.offcanvas-link {
    color: #a0a8a0 !important;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid transparent;
    margin-left: 0;
}

.offcanvas-link:hover {
    color: #05fb23 !important;
    background-color: rgba(5, 251, 35, 0.1) !important;
    border-left-color: #05fb23;
    padding-left: 1.5rem !important;
    text-shadow: 0 0 10px rgba(5, 251, 35, 0.5);
}

.offcanvas-link.active {
    color: #05fb23 !important;
    background-color: rgba(5, 251, 35, 0.15) !important;
    border-left-color: #05fb23;
    text-shadow: 0 0 10px rgba(5, 251, 35, 0.5);
    font-weight: 600;
}

.offcanvas-link i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.offcanvas-link:hover i {
    filter: drop-shadow(0 0 8px rgba(5, 251, 35, 0.6));
}

.offcanvas-btn {
    transition: all 0.3s ease !important;
}

.offcanvas-btn:hover {
    filter: drop-shadow(0 0 15px rgba(5, 251, 35, 0.6)) !important;
    transform: scale(1.1);
}

/* Responsive spacing fixes */
@media (max-width: 992px) {
    main {
        margin-top: 0;
    }

    .hero-section {
        margin-top: 80px;
    }

    .offcanvas-modern {
        width: 100% !important;
    }

    .offcanvas-link {
        padding: 1rem 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .offcanvas-modern {
        width: 100% !important;
    }

    .offcanvas-link {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem !important;
    }

    .offcanvas-modern .offcanvas-header {
        padding: 1rem !important;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATION CLASSES
   ============================================ */

/* Hero section container positioning */
.hero-container-relative {
    position: relative;
    z-index: 2;
}

/* Hero SVG styling */
.hero-svg-background {
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Hero subtitle */
.hero-subtitle-optimized {
    color: #fefefe;
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Services preview section */
.services-preview-optimized {
    background: linear-gradient(135deg, #000 0%, #0a0f0a 50%, rgba(201, 1, 185, 0.05) 100%);
    position: relative;
}

.services-preview-text {
    color: #fefefe;
}

.service-preview-description {
    color: #fefefe;
}

/* Portfolio preview section */
.portfolio-preview-text {
    color: #fefefe;
}

/* CTA text */
.cta-lead-text {
    color: #fefefe;
}

.highlight-green {
    color: #05fb23;
}

.magenta-glow {
    color: #c901b9;
    text-shadow: 0 0 10px rgba(201, 1, 185, 0.4);
}

/* SVG path animations with reduced repaints */
.wave-svg {
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.particle-svg {
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Contact page gradients */
.contact-gradient {
    background: linear-gradient(135deg, rgba(37, 150, 190, 0.1) 0%, #000 100%);
}

/* About page gradient */
.about-gradient {
    background: linear-gradient(135deg, rgba(5, 251, 35, 0.1) 0%, #000 100%);
}

/* Timeline section */
.timeline-gradient {
    background: linear-gradient(135deg, #000 0%, #0a1f2e 100%);
}

/* Responsive text sizing */
@media (max-width: 992px) {
    .hero-subtitle-optimized {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-subtitle-optimized {
        font-size: 1rem;
    }
}

/* ============================================
   PORTFOLIO & LOGO ITEMS
   ============================================ */

.portfolio-hero-section {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(5, 251, 35, 0.15) 0%, rgba(201, 0, 180, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
}

.portfolio-hero-container {
    position: relative;
    z-index: 1;
}

.portfolio-hero-title {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

.portfolio-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0f0a 0%, #1a1a1a 100%);
    border-radius: 12px;
    padding: 2rem;
    min-height: 180px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-item:hover {
    transform: translateY(-10px);
    border-color: #05fb23 !important;
    box-shadow: 0 15px 35px rgba(5, 251, 35, 0.2);
}

.logo-item img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: brightness(1.1) drop-shadow(0 0 10px rgba(5, 251, 35, 0.5));
}

.logo-item-neon {
    border: 2px solid rgba(5, 251, 35, 0.2);
}

.logo-item-magenta {
    border: 2px solid rgba(201, 0, 180, 0.2);
}

/* Portfolio CTA section */
.portfolio-cta-section {
    background: linear-gradient(135deg, rgba(5, 251, 35, 0.1) 0%, #000 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.02;
}

.portfolio-cta-container {
    position: relative;
    z-index: 1;
}

.portfolio-cta-title {
    display: block;
}

