:root {
    --cp-primary: #2c3e50;
    --cp-secondary: #34495e;
    --cp-accent: #e74c3c;
    --cp-gold: #f39c12;
    --cp-gradient-start: #2c3e50;
    --cp-gradient-end: #3498db;
    --cp-text-light: #ecf0f1;
    --cp-border-light: rgba(255, 255, 255, 0.1);
    --cp-glass-bg: rgba(255, 255, 255, 0.08);
    --cp-glass-border: rgba(255, 255, 255, 0.12);
    --cp-card-bg: rgba(255, 255, 255, 0.95);
}

[data-bs-theme="dark"] {
    --cp-card-bg: rgba(44, 62, 80, 0.95);
    --cp-glass-bg: rgba(0, 0, 0, 0.2);
    --cp-glass-border: rgba(255, 255, 255, 0.08);
}

/* Dark theme adjustments for background gradients */
[data-bs-theme="dark"] .cp-hero-section::before {
    background: radial-gradient(
        circle at center,
        rgba(243, 156, 18, 0.12) 0%,
        rgba(52, 152, 219, 0.1) 25%,
        rgba(44, 62, 80, 0.06) 50%,
        transparent 70%
    );
}

[data-bs-theme="dark"] .cp-hero-section::after {
    background: radial-gradient(
        circle at center,
        rgba(231, 76, 60, 0.1) 0%,
        rgba(155, 89, 182, 0.08) 30%,
        rgba(52, 73, 94, 0.05) 55%,
        transparent 75%
    );
}

[data-bs-theme="dark"] .cp-about-section::before {
    background: radial-gradient(
        ellipse at center,
        rgba(52, 152, 219, 0.06) 0%,
        rgba(243, 156, 18, 0.05) 40%,
        transparent 70%
    );
}

[data-bs-theme="dark"] .cp-about-section::after {
    background: radial-gradient(
        ellipse at center,
        rgba(155, 89, 182, 0.05) 0%,
        rgba(46, 204, 113, 0.04) 35%,
        transparent 65%
    );
}

[data-bs-theme="dark"] .cp-skills-section::before {
    background: radial-gradient(
        circle at center,
        rgba(231, 76, 60, 0.05) 0%,
        rgba(52, 152, 219, 0.03) 35%,
        rgba(44, 62, 80, 0.02) 60%,
        transparent 75%
    );
}

[data-bs-theme="dark"] .cp-skills-section::after {
    background: radial-gradient(
        ellipse at center,
        rgba(243, 156, 18, 0.04) 0%,
        rgba(155, 89, 182, 0.03) 45%,
        transparent 70%
    );
}

[data-bs-theme="dark"] .cp-contact-section::before {
    background: radial-gradient(
        circle at center,
        rgba(243, 156, 18, 0.12) 0%,
        rgba(52, 152, 219, 0.1) 30%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 70%
    );
}

[data-bs-theme="dark"] .cp-contact-section::after {
    background: radial-gradient(
        ellipse at center,
        rgba(155, 89, 182, 0.1) 0%,
        rgba(46, 204, 113, 0.06) 40%,
        rgba(255, 255, 255, 0.02) 60%,
        transparent 75%
    );
}

/* Hero Section */
.cp-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(
        135deg,
        var(--cp-gradient-start) 0%,
        var(--cp-gradient-end) 100%
    );
    position: relative;
    overflow: hidden;
}

/* Stocktrader-style Background Gradients */
.cp-hero-section::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -30%;
    width: 90vw;
    height: 120vh;
    background: radial-gradient(
        circle at center,
        rgba(243, 156, 18, 0.15) 0%,
        rgba(52, 152, 219, 0.12) 25%,
        rgba(44, 62, 80, 0.08) 50%,
        transparent 70%
    );
    z-index: -1;
    animation: cpBackgroundFloat1 20s ease-in-out infinite alternate;
    filter: blur(1px);
}

.cp-hero-section::after {
    content: "";
    position: absolute;
    bottom: -10%;
    right: -25%;
    width: 80vw;
    height: 100vh;
    background: radial-gradient(
        circle at center,
        rgba(231, 76, 60, 0.12) 0%,
        rgba(155, 89, 182, 0.1) 30%,
        rgba(52, 73, 94, 0.06) 55%,
        transparent 75%
    );
    z-index: -1;
    animation: cpBackgroundFloat2 25s ease-in-out infinite alternate-reverse;
    filter: blur(0.8px);
}

.cp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(
            circle at 20% 80%,
            rgba(243, 156, 18, 0.2) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(52, 152, 219, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 40% 40%,
            rgba(231, 76, 60, 0.1) 0%,
            transparent 50%
        );
    animation: cpPulse 4s ease-in-out infinite alternate;
}

@keyframes cpPulse {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Dynamic Particle Background */
.cp-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

#cp-particles-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

/* Floating Geometric Shapes */
.cp-floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.cp-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cp-shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation: cpFloatShape 8s ease-in-out infinite;
    animation-delay: 0s;
    background: radial-gradient(
        circle,
        rgba(243, 156, 18, 0.2),
        rgba(243, 156, 18, 0.05)
    );
}

.cp-shape-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
    animation: cpFloatShape 10s ease-in-out infinite reverse;
    animation-delay: 1s;
    background: radial-gradient(
        circle,
        rgba(52, 152, 219, 0.2),
        rgba(52, 152, 219, 0.05)
    );
    border-radius: 20px;
}

.cp-shape-3 {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 15%;
    animation: cpRotateFloat 12s linear infinite;
    animation-delay: 2s;
    background: radial-gradient(
        circle,
        rgba(231, 76, 60, 0.2),
        rgba(231, 76, 60, 0.05)
    );
    border-radius: 10px;
    transform-origin: center;
}

.cp-shape-4 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 5%;
    animation: cpFloatShape 7s ease-in-out infinite;
    animation-delay: 3s;
    background: radial-gradient(
        circle,
        rgba(155, 89, 182, 0.2),
        rgba(155, 89, 182, 0.05)
    );
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.cp-shape-5 {
    width: 90px;
    height: 90px;
    bottom: 10%;
    left: 20%;
    animation: cpPulseShape 6s ease-in-out infinite;
    animation-delay: 4s;
    background: radial-gradient(
        circle,
        rgba(46, 204, 113, 0.2),
        rgba(46, 204, 113, 0.05)
    );
    border-radius: 0;
    transform: rotate(45deg);
}

.cp-shape-6 {
    width: 70px;
    height: 70px;
    top: 70%;
    left: 50%;
    animation: cpFloatShape 9s ease-in-out infinite;
    animation-delay: 5s;
    background: radial-gradient(
        circle,
        rgba(241, 196, 15, 0.2),
        rgba(241, 196, 15, 0.05)
    );
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

@keyframes cpFloatShape {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.6;
    }

    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-10px) translateX(-15px) rotate(180deg);
        opacity: 1;
    }

    75% {
        transform: translateY(-30px) translateX(5px) rotate(270deg);
        opacity: 0.7;
    }
}

@keyframes cpRotateFloat {
    0% {
        transform: rotate(0deg) translateX(0px) translateY(0px);
    }

    25% {
        transform: rotate(90deg) translateX(20px) translateY(-10px);
    }

    50% {
        transform: rotate(180deg) translateX(0px) translateY(-20px);
    }

    75% {
        transform: rotate(270deg) translateX(-15px) translateY(-5px);
    }

    100% {
        transform: rotate(360deg) translateX(0px) translateY(0px);
    }
}

@keyframes cpPulseShape {
    0%,
    100% {
        transform: scale(1) rotate(45deg);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.3) rotate(45deg);
        opacity: 0.9;
    }
}

/* Dynamic Gradient Overlay */
.cp-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(243, 156, 18, 0.1) 0%,
        rgba(52, 152, 219, 0.1) 25%,
        rgba(231, 76, 60, 0.1) 50%,
        rgba(155, 89, 182, 0.1) 75%,
        rgba(46, 204, 113, 0.1) 100%
    );
    background-size: 400% 400%;
    animation: cpGradientShift 15s ease infinite;
    z-index: 3;
    pointer-events: none;
}

@keyframes cpGradientShift {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 100% 25%;
    }

    50% {
        background-position: 50% 100%;
    }

    75% {
        background-position: 25% 0%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Background Float Animations */
@keyframes cpBackgroundFloat1 {
    0% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translate(-20px, 15px) scale(0.95);
        opacity: 0.9;
    }
}

@keyframes cpBackgroundFloat2 {
    0% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.7;
    }

    33% {
        transform: translate(-25px, 20px) scale(1.05);
        opacity: 0.9;
    }

    66% {
        transform: translate(15px, -15px) scale(0.98);
        opacity: 1;
    }

    100% {
        transform: translate(10px, 25px) scale(1.02);
        opacity: 0.8;
    }
}

/* Section Float Animations */
@keyframes cpSectionFloat1 {
    0% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(20px, -15px) scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: translate(-15px, 10px) scale(0.98);
        opacity: 0.7;
    }
}

@keyframes cpSectionFloat2 {
    0% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.5;
    }

    33% {
        transform: translate(-18px, 12px) scale(1.03);
        opacity: 0.7;
    }

    66% {
        transform: translate(12px, -8px) scale(0.97);
        opacity: 0.8;
    }

    100% {
        transform: translate(8px, 18px) scale(1.01);
        opacity: 0.6;
    }
}

@keyframes cpSectionFloat3 {
    0% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translate(-22px, 16px) scale(1.04);
        opacity: 0.6;
    }

    100% {
        transform: translate(16px, -12px) scale(0.96);
        opacity: 0.5;
    }
}

@keyframes cpSectionFloat4 {
    0% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.3;
    }

    40% {
        transform: translate(14px, -10px) scale(1.02);
        opacity: 0.5;
    }

    80% {
        transform: translate(-10px, 14px) scale(0.99);
        opacity: 0.6;
    }

    100% {
        transform: translate(6px, -6px) scale(1.01);
        opacity: 0.4;
    }
}

@keyframes cpContactFloat1 {
    0% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-25px, 18px) scale(1.08);
        opacity: 1;
    }

    100% {
        transform: translate(18px, -20px) scale(0.94);
        opacity: 0.9;
    }
}

@keyframes cpContactFloat2 {
    0% {
        transform: translate(0px, 0px) scale(1);
        opacity: 0.7;
    }

    35% {
        transform: translate(20px, -15px) scale(1.06);
        opacity: 0.9;
    }

    70% {
        transform: translate(-15px, 20px) scale(0.96);
        opacity: 1;
    }

    100% {
        transform: translate(10px, -10px) scale(1.03);
        opacity: 0.8;
    }
}

.min-vh-80 {
    min-height: 80vh;
}

.modern-breadcrumb .breadcrumb-item a {
    color: var(--cp-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.modern-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.cp-badge .badge-modern {
    background: var(--cp-glass-bg);
    color: var(--cp-text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--cp-glass-border);
    backdrop-filter: blur(10px);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.cp-hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gradient-text-gold {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 50%, #d35400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-warning-light {
    color: #f39c12 !important;
}

.text-info-light {
    color: #3498db !important;
}

/* Stats */
.cp-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.cp-stat-item {
    text-align: center;
    background: var(--cp-glass-bg);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--cp-glass-border);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.cp-stat-item:hover {
    transform: translateY(-5px);
}

.cp-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cp-gold);
    line-height: 1;
}

.cp-stat-label {
    color: var(--cp-text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.btn-cp-primary {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border: none;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-cp-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

/* Profile Visual */
.cp-profile-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.cp-profile-card {
    background: var(--cp-glass-bg);
    border-radius: 30px;
    padding: 3rem 2rem;
    border: 1px solid var(--cp-glass-border);
    backdrop-filter: blur(15px);
    text-align: center;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
    animation: cpFloat 6s ease-in-out infinite;
}

.cp-profile-card:hover {
    transform: rotate(0deg) scale(1.05);
}

@keyframes cpFloat {
    0%,
    100% {
        transform: rotate(-2deg) translateY(0px);
    }

    50% {
        transform: rotate(-2deg) translateY(-10px);
    }
}

.cp-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--cp-gold) 0%,
        var(--cp-accent) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* About Section */
.cp-about-section {
    background: var(--bs-body-bg);
    position: relative;
    overflow: hidden;
}

/* Enhanced Tech Background */
.enhanced-tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 20% 80%,
            rgba(52, 152, 219, 0.05) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(243, 156, 18, 0.05) 0%,
            transparent 50%
        ),
        linear-gradient(135deg, rgba(44, 62, 80, 0.03) 0%, transparent 100%);
    z-index: 1;
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-particles::before,
.floating-particles::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.1);
}

.floating-particles::before {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 10%;
    animation: floatParticle1 15s infinite ease-in-out;
}

.floating-particles::after {
    width: 6px;
    height: 6px;
    bottom: 30%;
    right: 15%;
    animation: floatParticle2 12s infinite ease-in-out;
}

@keyframes floatParticle1 {
    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: translate(20px, -20px);
        opacity: 1;
    }
}

@keyframes floatParticle2 {
    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

    50% {
        transform: translate(-15px, 15px);
        opacity: 0.8;
    }
}

/* Enhanced Title */
.enhanced-title {
    position: relative;
    display: inline-block;
    margin: 0 auto 1.5rem;
}

.enhanced-gradient {
    background: linear-gradient(
        135deg,
        var(--cp-gold) 0%,
        var(--cp-accent) 50%,
        #3498db 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Enhanced Quote Card */
.enhanced-quote-card {
    background: var(--cp-card-bg);
    border-radius: 25px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(52, 152, 219, 0.1);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.enhanced-quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(52, 152, 219, 0.2);
}

.quote-tech-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    background: linear-gradient(
            45deg,
            rgba(52, 152, 219, 0.2),
            rgba(243, 156, 18, 0.2),
            rgba(231, 76, 60, 0.2)
        )
        border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.enhanced-quote-icon {
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 3rem;
    color: var(--cp-gold);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.enhanced-quote-card:hover .enhanced-quote-icon {
    opacity: 0.5;
    transform: scale(1.1);
}

.quote-accent-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--cp-gold), var(--cp-accent));
    border-radius: 3px;
}

/* Enhanced Info Cards */
.enhanced-info-card {
    background: var(--bs-card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(52, 152, 219, 0.05);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.enhanced-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(52, 152, 219, 0.1);
}

.info-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(52, 152, 219, 0.03),
        rgba(243, 156, 18, 0.03)
    );
    z-index: -1;
}

.enhanced-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.enhanced-info-card:hover .enhanced-icon {
    transform: scale(1.1);
}

.enhanced-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.enhanced-card-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--cp-gold), var(--cp-accent));
    border-radius: 1px;
}

.tech-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.5);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
    animation: pulse 2s infinite;
}

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

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Enhanced Description */
.enhanced-description {
    position: relative;
}

.description-tech-line {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--cp-gold), var(--cp-accent));
    border-radius: 1px;
}

.enhanced-lead {
    font-size: 1.25rem;
    line-height: 1.7;
}

.enhanced-text {
    line-height: 1.7;
}

.tech-highlight {
    color: var(--cp-gold);
    font-weight: 600;
}

/* Tech Stats */
.tech-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tech-stat-item {
    text-align: center;
    position: relative;
}

.tech-stat-item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cp-gold);
}

.tech-stat-item:first-child::before {
    display: none;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cp-gold);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    display: block;
    margin-top: 0.25rem;
}

.cp-about-section::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -20%;
    width: 60vw;
    height: 80vh;
    background: radial-gradient(
        ellipse at center,
        rgba(52, 152, 219, 0.08) 0%,
        rgba(243, 156, 18, 0.06) 40%,
        transparent 70%
    );
    z-index: -1;
    animation: cpSectionFloat1 18s ease-in-out infinite alternate;
}

.cp-about-section::after {
    content: "";
    position: absolute;
    bottom: -15%;
    right: -15%;
    width: 50vw;
    height: 70vh;
    background: radial-gradient(
        ellipse at center,
        rgba(155, 89, 182, 0.07) 0%,
        rgba(46, 204, 113, 0.05) 35%,
        transparent 65%
    );
    z-index: -1;
    animation: cpSectionFloat2 22s ease-in-out infinite alternate-reverse;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(
        135deg,
        var(--cp-gold) 0%,
        var(--cp-accent) 50%,
        #3498db 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.cp-quote-card {
    background: var(--cp-card-bg);
    border-radius: 25px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--cp-glass-border);
    backdrop-filter: blur(10px);
    position: relative;
}

.cp-quote-icon {
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 3rem;
    color: var(--cp-gold);
    opacity: 0.3;
}

.cp-info-card {
    background: var(--bs-card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: none;
    transition: transform 0.3s ease;
}

.cp-info-card:hover {
    transform: translateY(-5px);
}

.cp-info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Skills Section */
.cp-skills-section {
    background: var(--bs-gray-50);
    position: relative;
    overflow: hidden;
}

[data-bs-theme="dark"] .cp-skills-section {
    background: linear-gradient(45deg, #000000ad, #00000000);
}

/* Subtle Grid Background */
.subtle-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
            rgba(52, 152, 219, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(90deg, rgba(52, 152, 219, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.cp-skills-section::before {
    content: "";
    position: absolute;
    top: -5%;
    right: -25%;
    width: 70vw;
    height: 90vh;
    background: radial-gradient(
        circle at center,
        rgba(231, 76, 60, 0.06) 0%,
        rgba(52, 152, 219, 0.04) 35%,
        rgba(44, 62, 80, 0.03) 60%,
        transparent 75%
    );
    z-index: -1;
    animation: cpSectionFloat3 16s ease-in-out infinite alternate;
}

.cp-skills-section::after {
    content: "";
    position: absolute;
    bottom: -8%;
    left: -18%;
    width: 55vw;
    height: 75vh;
    background: radial-gradient(
        ellipse at center,
        rgba(243, 156, 18, 0.05) 0%,
        rgba(155, 89, 182, 0.04) 45%,
        transparent 70%
    );
    z-index: -1;
    animation: cpSectionFloat4 20s ease-in-out infinite alternate-reverse;
}

.cp-skill-card {
    background: var(--bs-card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: none;
    height: 100%;
    transition: transform 0.3s ease;
}

.cp-skill-card:hover {
    transform: translateY(-5px);
}

.cp-skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cp-skill-header i {
    font-size: 1.5rem;
}

.cp-skill-item {
    margin-bottom: 1rem;
}

.cp-skill-bar {
    height: 8px;
    background: var(--bs-gray-200);
    border-radius: 10px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.cp-skill-progress {
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--cp-gold) 0%,
        var(--cp-accent) 100%
    );
    border-radius: 10px;
    transition: width 1s ease;
}

/* Services Section - Clean Design */
.cp-services-section {
    background: var(--bs-body-bg);
    position: relative;
    overflow: hidden;
}

/* Services Background Elements */
.services-tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 15% 85%,
            rgba(52, 152, 219, 0.04) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 85% 15%,
            rgba(243, 156, 18, 0.04) 0%,
            transparent 40%
        );
    z-index: 1;
}

.services-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
            rgba(52, 152, 219, 0.03) 1px,
            transparent 1px
        ),
        linear-gradient(90deg, rgba(52, 152, 219, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
    opacity: 0.5;
}

.services-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.services-floating-elements::before,
.services-floating-elements::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.1);
}

.services-floating-elements::before {
    width: 10px;
    height: 10px;
    top: 15%;
    right: 12%;
    animation: floatElement1 18s infinite ease-in-out;
}

.services-floating-elements::after {
    width: 7px;
    height: 7px;
    bottom: 25%;
    left: 18%;
    animation: floatElement2 14s infinite ease-in-out;
}

@keyframes floatElement1 {
    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    50% {
        transform: translate(-25px, 15px);
        opacity: 0.8;
    }
}

@keyframes floatElement2 {
    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

    50% {
        transform: translate(20px, -20px);
        opacity: 0.7;
    }
}

.services-accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--cp-gold), var(--cp-accent));
    border-radius: 3px;
    margin: 1rem auto;
}

/* Enhanced Service Cards */
.enhanced-service-card {
    background: var(--bs-card-bg);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(52, 152, 219, 0.05);
    border: none;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.enhanced-service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(52, 152, 219, 0.1);
}

.service-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(52, 152, 219, 0.02),
        rgba(243, 156, 18, 0.02)
    );
    z-index: -1;
}

.service-tech-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    background: linear-gradient(
            45deg,
            rgba(52, 152, 219, 0.15),
            rgba(243, 156, 18, 0.15),
            rgba(231, 76, 60, 0.15)
        )
        border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enhanced-service-card:hover .service-tech-border {
    opacity: 1;
}

.enhanced-service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.enhanced-service-card:hover .enhanced-service-icon {
    transform: scale(1.15) rotate(5deg);
}

.enhanced-service-icon i {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.service-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.5);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
    animation: pulse 2s infinite;
}

.service-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: all 0.5s ease;
    z-index: 1;
}

.enhanced-service-card:hover .service-hover-effect {
    left: 100%;
}

/* Contact Section - Simplified */

.cp-contact-section::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -10%;
    width: 65vw;
    height: 100vh;
    background: radial-gradient(
        circle at center,
        rgba(243, 156, 18, 0.15) 0%,
        rgba(52, 152, 219, 0.12) 30%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 70%
    );
    z-index: 0;
    animation: cpContactFloat1 14s ease-in-out infinite alternate;
}

.cp-contact-section::after {
    content: "";
    position: absolute;
    bottom: -15%;
    right: -20%;
    width: 60vw;
    height: 85vh;
    background: radial-gradient(
        ellipse at center,
        rgba(155, 89, 182, 0.12) 0%,
        rgba(46, 204, 113, 0.08) 40%,
        rgba(255, 255, 255, 0.03) 60%,
        transparent 75%
    );
    z-index: 0;
    animation: cpContactFloat2 18s ease-in-out infinite alternate-reverse;
}

/* Matrix Background Effect */
.matrix-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
}

.matrix-canvas {
    width: 100%;
    height: 100%;
}

/* Enhanced Background Elements */
.contact-enhanced-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 25% 75%,
            rgba(52, 152, 219, 0.1) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 75% 25%,
            rgba(243, 156, 18, 0.1) 0%,
            transparent 40%
        );
    z-index: 1;
}

.contact-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-floating-elements::before,
.contact-floating-elements::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.15);
}

.contact-floating-elements::before {
    width: 12px;
    height: 12px;
    top: 25%;
    left: 15%;
    animation: floatContact1 20s infinite ease-in-out;
}

.contact-floating-elements::after {
    width: 8px;
    height: 8px;
    bottom: 35%;
    right: 20%;
    animation: floatContact2 16s infinite ease-in-out;
}

@keyframes floatContact1 {
    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: translate(30px, -25px);
        opacity: 1;
    }
}

@keyframes floatContact2 {
    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    50% {
        transform: translate(-20px, 20px);
        opacity: 0.8;
    }
}

/* Enhanced Contact Card */
.enhanced-contact-card {
    background: var(--cp-glass-bg);
    border-radius: 30px;
    padding: 4rem 2rem;
    border: 1px solid var(--cp-glass-border);
    backdrop-filter: blur(15px);
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.enhanced-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.contact-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(52, 152, 219, 0.05),
        rgba(243, 156, 18, 0.05)
    );
    z-index: -1;
    border-radius: inherit;
}

.contact-tech-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    background: linear-gradient(
            45deg,
            rgba(52, 152, 219, 0.2),
            rgba(243, 156, 18, 0.2),
            rgba(46, 204, 113, 0.2)
        )
        border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enhanced-contact-card:hover .contact-tech-border {
    opacity: 1;
}

/* Ensure content is above background gradients */
.cp-hero-content,
.cp-about-section .container,
.cp-skills-section .container,
.cp-services-section .container,
.cp-contact-section .container {
    position: relative;
    z-index: 10;
}

.cp-contact-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.cp-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.cp-contact-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.cp-contact-item a {
    color: white;
    transition: color 0.3s ease;
}

.cp-contact-item a:hover {
    color: var(--cp-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cp-hero-title {
        font-size: 3rem;
    }

    .cp-stats {
        justify-content: center;
    }

    .cp-stat-item {
        flex: 1;
        min-width: 120px;
    }

    .cp-profile-card {
        transform: rotate(0deg);
        padding: 2rem 1.5rem;
    }

    .cp-contact-card {
        padding: 2rem 1rem;
    }

    .cp-contact-info {
        gap: 0.5rem;
    }

    .cp-contact-item {
        font-size: 1rem;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .cp-hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cp-stats {
        gap: 1rem;
    }
}
