/*** ENHANCED SECTIONS - SUPER CREATIVE ***/

/* ===== IMAGE #1: YEARS EXPERIENCE ENHANCEMENT ===== */
#about .years {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border: 4px solid #FFD700;
    border-radius: 25px;
    padding: 40px 35px;
    box-shadow:
        0 0 40px rgba(255, 215, 0, 0.7),
        0 0 80px rgba(255, 215, 0, 0.4),
        inset 0 0 30px rgba(255, 215, 0, 0.15);
    animation: yearsGlow 3s ease-in-out infinite;
    overflow: hidden;
}

@keyframes yearsGlow {
    0%, 100% {
        box-shadow:
            0 0 40px rgba(255, 215, 0, 0.7),
            0 0 80px rgba(255, 215, 0, 0.4),
            inset 0 0 30px rgba(255, 215, 0, 0.15);
        border-color: #FFD700;
    }
    50% {
        box-shadow:
            0 0 60px rgba(255, 215, 0, 1),
            0 0 120px rgba(255, 215, 0, 0.6),
            inset 0 0 50px rgba(255, 215, 0, 0.25);
        border-color: #FFA500;
    }
}

/* Digital Counter Effect */
#about .years .display-1 {
    font-family: 'Courier New', monospace;
    font-weight: 900;
    font-size: 6rem !important;
    background: linear-gradient(135deg, #FFD700 0%, #FFF 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    position: relative;
    animation: digitGlow 2s ease-in-out infinite;
}

@keyframes digitGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 1));
    }
}

/* Years Text */
#about .years h5 {
    font-family: 'Courier New', monospace;
    color: #FFD700 !important;
    font-weight: 700;
    font-size: 1.3rem !important;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* Corner Code Symbols - Larger and More Visible */
#about .years::before {
    content: '{ }';
    position: absolute;
    top: 15px;
    left: 15px;
    font-family: 'Courier New', monospace;
    color: rgba(255, 215, 0, 0.5);
    font-size: 2.5rem;
    font-weight: 700;
    animation: codeFloat1 3s ease-in-out infinite;
}

#about .years::after {
    content: '< />';
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-family: 'Courier New', monospace;
    color: rgba(255, 215, 0, 0.5);
    font-size: 2.5rem;
    font-weight: 700;
    animation: codeFloat2 3s ease-in-out infinite;
}

@keyframes codeFloat1 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
        opacity: 0.8;
    }
}

@keyframes codeFloat2 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(5px) rotate(-5deg);
        opacity: 0.8;
    }
}

/* Scan Line Effect */
#about .years .scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    box-shadow: 0 0 15px #FFD700;
    animation: yearsScan 2s linear infinite;
}

@keyframes yearsScan {
    0% { top: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ===== IMAGE #1: DESCRIPTION TEXT ENHANCEMENT ===== */
#about .col-lg-6:first-child h3 {
    font-family: 'Courier New', monospace;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.8rem !important;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
    border-left: 4px solid #FFD700;
    box-shadow: -10px 0 20px rgba(255, 215, 0, 0.2);
}

#about .col-lg-6:first-child h3::before {
    content: '>';
    position: absolute;
    left: -20px;
    color: #FFD700;
    font-size: 2rem;
    animation: blink 1s step-end infinite;
}

/* ===== IMAGE #2: ABOUT RIGHT SECTION ENHANCEMENT ===== */
/* Developer Title with Terminal Style */
#about h5.border-end {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid rgba(255, 215, 0, 0.6) !important;
    border-radius: 15px;
    padding: 20px 25px !important;
    font-family: 'Courier New', monospace;
    color: #FFD700 !important;
    font-weight: 700;
    font-size: 1.3rem !important;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    border-right: 2px solid rgba(255, 215, 0, 0.6) !important;
    position: relative;
    overflow: hidden;
}

#about h5.border-end::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: titleShine 3s linear infinite;
}

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

/* Bullet Points as Terminal Output */
#about p li {
    font-family: 'Courier New', monospace;
    color: #00ff00 !important;
    font-size: 1.05rem;
    padding: 8px 0;
    position: relative;
    padding-left: 30px;
}

#about p li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Projects Completed Counter */
#about .text-primary.fw-bold {
    font-family: 'Courier New', monospace;
    font-size: 3.5rem !important;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.7));
    animation: counterPulse 2s ease-in-out infinite;
}

@keyframes counterPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.7));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 1));
    }
}

/* Technical Stack List */
#about p li:last-child,
#about p li:nth-last-child(2),
#about p li:nth-last-child(3),
#about p li:nth-last-child(4) {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 12px 15px 12px 35px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

#about p li:hover {
    background: rgba(0, 0, 0, 0.95);
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transform: translateX(10px);
}

/* ===== IMAGE #3: PORTFOLIO FILTERS ENHANCEMENT ===== */
/* Add "My Projects" Title Glitch Effect */
#project h1.display-5 {
    font-family: 'Courier New', monospace;
    color: #FFD700 !important;
    font-weight: 900;
    position: relative;
    text-shadow:
        0 0 20px rgba(255, 215, 0, 0.8),
        2px 2px 0 rgba(255, 215, 0, 0.3),
        -2px -2px 0 rgba(255, 215, 0, 0.3);
}

#project h1.display-5::before {
    content: 'M*<](.::(_{';
    position: absolute;
    left: 0;
    color: #FFD700;
    opacity: 0.3;
    animation: glitchTitle 5s infinite;
}

@keyframes glitchTitle {
    0%, 90%, 100% {
        opacity: 0;
    }
    92%, 96% {
        opacity: 0.3;
        transform: translate(2px, 2px);
    }
    94% {
        transform: translate(-2px, -2px);
    }
}

/* Enhanced Filter Buttons */
#portfolio-flters li {
    background: rgba(0, 0, 0, 0.95);
    border: 3px solid rgba(255, 215, 0, 0.4);
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* Icon Before Text */
#portfolio-flters li::before {
    content: '{ ';
    color: #FFD700;
    margin-right: 8px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

#portfolio-flters li::after {
    content: ' }';
    color: #FFD700;
    margin-left: 8px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

/* Active/Hover State */
#portfolio-flters li.active,
#portfolio-flters li:hover {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    border-color: #FFD700;
    box-shadow:
        0 0 40px rgba(255, 215, 0, 0.8),
        0 0 80px rgba(255, 215, 0, 0.4);
    transform: translateY(-5px) scale(1.05);
}

#portfolio-flters li.active::before,
#portfolio-flters li:hover::before,
#portfolio-flters li.active::after,
#portfolio-flters li:hover::after {
    color: #000000;
    animation: bracketBounce 0.6s ease-in-out;
}

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

/* Ripple Effect Background */
#portfolio-flters li .ripple-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

/* ===== IMAGE #4: CONTACT SECTION ENHANCEMENT ===== */
/* Mail Me Section */
#contact p.mb-2 {
    font-family: 'Courier New', monospace;
    color: #FFD700 !important;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-left: 30px;
}

#contact p.mb-2::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 1.5rem;
    animation: blink 1s step-end infinite;
}

/* Email with Typing Cursor */
#contact p.fw-bold {
    font-family: 'Courier New', monospace;
    color: #00ff00 !important;
    font-size: 1.4rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
    position: relative;
}

#contact p.fw-bold::after {
    content: '|';
    color: #FFD700;
    font-size: 1.5rem;
    margin-left: 5px;
    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* HR Lines as Neon Separators */
#contact hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    box-shadow: 0 0 10px #FFD700;
    margin: 20px 0;
}

/* Follow Me Social Buttons */
#contact .btn-square {
    background: rgba(0, 0, 0, 0.95) !important;
    border: 3px solid rgba(255, 215, 0, 0.6) !important;
    color: #FFD700 !important;
    width: 60px !important;
    height: 60px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 15px !important;
    font-size: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3) !important;
    padding: 0 !important;
}

#contact .btn-square::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

#contact .btn-square:hover::before {
    width: 200%;
    height: 200%;
}

#contact .btn-square:hover {
    border-color: #FFD700;
    color: #000000;
    box-shadow:
        0 0 40px rgba(255, 215, 0, 0.8),
        0 0 80px rgba(255, 215, 0, 0.4);
    transform: translateY(-5px) rotate(5deg) scale(1.1);
}

#contact .btn-square i {
    position: relative;
    z-index: 10 !important;
    transition: all 0.3s ease;
    color: #FFD700 !important;
    font-size: 1.8rem !important;
    display: inline-block !important;
    line-height: 1 !important;
    font-family: 'Font Awesome 5 Brands' !important;
    font-weight: 400 !important;
    /* Prevent transparent text */
    -webkit-text-fill-color: #FFD700 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

#contact .btn-square i.fab {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
}

#contact .btn-square:hover i {
    transform: rotateY(360deg);
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

/* Floating Particles Around Social Buttons */
#contact .d-flex.pt-2 {
    position: relative;
}

#contact .d-flex.pt-2::before,
#contact .d-flex.pt-2::after {
    content: '< /> { }';
    position: absolute;
    font-family: 'Courier New', monospace;
    color: rgba(255, 215, 0, 0.2);
    font-size: 1.5rem;
    animation: floatParticles 4s ease-in-out infinite;
}

#contact .d-flex.pt-2::before {
    top: -20px;
    left: 0;
}

#contact .d-flex.pt-2::after {
    bottom: -20px;
    right: 0;
    animation-delay: 2s;
}

@keyframes floatParticles {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-10px);
        opacity: 0.4;
    }
}

/* Say Hello Button Enhancement */
#contact .btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 3px solid #FFD700;
    color: #000000;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#contact .btn-primary::before {
    content: '>';
    position: absolute;
    left: 15px;
    opacity: 0;
    transition: all 0.3s ease;
}

#contact .btn-primary:hover::before {
    opacity: 1;
    left: 25px;
}

#contact .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 50px rgba(255, 215, 0, 1);
    padding-left: 50px;
}

/* ===== HIDE CONTACT FORM ===== */
#contact #contactForm,
#contact .col-lg-7.col-md-6 {
    display: none !important;
}

/* Expand contact info to full width when form is hidden */
#contact .col-lg-5 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    #about .years .display-1 {
        font-size: 4rem !important;
    }

    #portfolio-flters li {
        padding: 12px 25px;
        font-size: 0.95rem;
        margin: 5px 0;
    }

    #contact .btn-square {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
