/*** ABOUT SECTION - TERMINAL WINDOW DESIGN ***/

/* ===== TERMINAL WINDOW WRAPPER ===== */
#about .col-lg-6:last-child {
    position: relative;
}

/* Create terminal window container */
#about .col-lg-6:last-child .d-flex.align-items-center.mb-1:first-of-type {
    background: rgba(0, 0, 0, 0.98);
    border: 3px solid rgba(255, 215, 0, 0.6);
    border-radius: 15px;
    box-shadow:
        0 0 50px rgba(255, 215, 0, 0.5),
        inset 0 0 30px rgba(255, 215, 0, 0.05);
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    overflow: visible;
    animation: terminalPulse 3s ease-in-out infinite;
}

@keyframes terminalPulse {
    0%, 100% {
        box-shadow:
            0 0 50px rgba(255, 215, 0, 0.5),
            inset 0 0 30px rgba(255, 215, 0, 0.05);
    }
    50% {
        box-shadow:
            0 0 70px rgba(255, 215, 0, 0.7),
            inset 0 0 50px rgba(255, 215, 0, 0.1);
    }
}

/* Terminal Header with macOS style dots */
#about .col-lg-6:last-child .d-flex.align-items-center.mb-1:first-of-type::before {
    content: 'developer@portfolio:~$ cat about.txt';
    display: block;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 15px 20px 15px 70px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.4);
    color: rgba(255, 215, 0, 0.7);
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

/* Terminal Dots (red, yellow, green) */
#about .col-lg-6:last-child .d-flex.align-items-center.mb-1:first-of-type::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #ff5f56;
    border-radius: 50%;
    box-shadow:
        20px 0 0 #ffbd2e,
        40px 0 0 #27c93f,
        0 0 10px #ff5f56,
        20px 0 10px #ffbd2e,
        40px 0 10px #27c93f;
    z-index: 11;
}

/* ===== TERMINAL BODY - Group all content ===== */
/* Wrap all content in terminal body style */
#about .col-lg-6:last-child > * {
    position: relative;
    z-index: 1;
}

/* Add padding to first element to account for header */
#about .col-lg-6:last-child .d-flex.align-items-center.mb-1:first-of-type {
    padding-top: 70px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-bottom: 30px !important;
}

/* ===== TITLE SECTION ===== */
#about h5.border-end {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid rgba(255, 215, 0, 0.4) !important;
    border-radius: 0 !important;
    padding: 0 0 15px 0 !important;
    font-family: 'Courier New', monospace !important;
    color: #FFD700 !important;
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    text-align: left !important;
    box-shadow: none !important;
    margin: 0 0 25px 0 !important;
    border-right: none !important;
}

#about h5.border-end::before {
    content: '# ';
    color: #00ff00;
    font-size: 1.6rem;
    margin-right: 10px;
}

/* ===== BULLET POINTS - Terminal Lines ===== */
#about p {
    margin: 0 !important;
    padding: 0 !important;
}

#about p li {
    list-style: none !important;
    font-family: 'Courier New', monospace !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    padding: 10px 0 10px 30px !important;
    margin: 8px 0 !important;
    position: relative;
    background: transparent !important;
    border: none !important;
    border-left: 3px solid rgba(255, 215, 0, 0.3) !important;
    transition: all 0.3s ease;
}

#about p li::before {
    content: '▸';
    position: absolute !important;
    left: 10px !important;
    color: #00ff00 !important;
    font-weight: 900 !important;
    font-size: 1.2rem !important;
}

#about p li:hover {
    border-left-color: #FFD700 !important;
    padding-left: 35px !important;
    color: #FFD700 !important;
}

#about p li:hover::before {
    color: #FFD700 !important;
    left: 15px !important;
}

/* ===== PROJECTS SECTION ===== */
#about .d-flex.align-items-center.mb-3 {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 2px solid rgba(255, 215, 0, 0.5) !important;
    border-radius: 12px !important;
    padding: 20px 25px !important;
    margin: 25px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#about .d-flex.align-items-center.mb-3 h5 {
    font-family: 'Courier New', monospace !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    border-right: 2px solid rgba(255, 215, 0, 0.4) !important;
    padding-right: 20px !important;
    margin-right: 20px !important;
    margin-bottom: 0 !important;
}

#about .d-flex.align-items-center.mb-3 h5::before {
    content: '>';
    color: #00ff00;
    margin-right: 10px;
    font-size: 1.4rem;
}

#about .text-primary.fw-bold {
    font-family: 'Courier New', monospace !important;
    font-size: 3rem !important;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    margin: 0 !important;
}

/* ===== HIGH QUALITY TEXT ===== */
#about p.mb-2 {
    font-family: 'Courier New', monospace !important;
    color: #00ff00 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    padding: 15px 20px !important;
    background: rgba(0, 255, 0, 0.05) !important;
    border-left: 4px solid #00ff00 !important;
    border-radius: 6px !important;
    margin: 20px 0 !important;
}

#about p.mb-2::before {
    content: '✓ ';
    color: #FFD700;
    font-size: 1.3rem;
    margin-right: 8px;
}

/* ===== TECHNICAL STACK - Different Style ===== */
/* Style last 4 list items differently */
#about p li:nth-last-child(1),
#about p li:nth-last-child(2),
#about p li:nth-last-child(3),
#about p li:nth-last-child(4) {
    color: #00ff00 !important;
    border-left-color: rgba(0, 255, 0, 0.4) !important;
    background: rgba(0, 255, 0, 0.02) !important;
}

#about p li:nth-last-child(1)::before,
#about p li:nth-last-child(2)::before,
#about p li:nth-last-child(3)::before,
#about p li:nth-last-child(4)::before {
    content: '•';
    color: #FFD700 !important;
}

#about p li:nth-last-child(1):hover,
#about p li:nth-last-child(2):hover,
#about p li:nth-last-child(3):hover,
#about p li:nth-last-child(4):hover {
    border-left-color: #00ff00 !important;
    background: rgba(0, 255, 0, 0.05) !important;
}

/* ===== BOTTOM PADDING ===== */
#about .col-lg-6:last-child .d-flex.align-items-center.mb-1:first-of-type {
    padding-bottom: 40px !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    #about .col-lg-6:last-child .d-flex.align-items-center.mb-1:first-of-type::before {
        font-size: 0.75rem;
        padding: 12px 15px 12px 60px;
    }

    #about .col-lg-6:last-child .d-flex.align-items-center.mb-1:first-of-type::after {
        top: 15px;
        left: 15px;
        width: 10px;
        height: 10px;
        box-shadow:
            18px 0 0 #ffbd2e,
            36px 0 0 #27c93f;
    }

    #about .col-lg-6:last-child .d-flex.align-items-center.mb-1:first-of-type {
        padding-top: 60px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    #about h5.border-end {
        font-size: 1.1rem !important;
    }

    #about p li {
        font-size: 0.9rem !important;
        padding: 8px 0 8px 25px !important;
    }

    #about .text-primary.fw-bold {
        font-size: 2.5rem !important;
    }

    #about .d-flex.align-items-center.mb-3 {
        flex-direction: column !important;
        text-align: center;
    }

    #about .d-flex.align-items-center.mb-3 h5 {
        border-right: none !important;
        border-bottom: 2px solid rgba(255, 215, 0, 0.4) !important;
        padding-right: 0 !important;
        padding-bottom: 10px !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
}

@media (max-width: 576px) {
    #about .col-lg-6:last-child .d-flex.align-items-center.mb-1:first-of-type::before {
        content: 'dev@portfolio:~$';
        font-size: 0.7rem;
    }

    #about h5.border-end {
        font-size: 1rem !important;
    }

    #about p li {
        font-size: 0.85rem !important;
        padding: 6px 0 6px 22px !important;
    }

    #about .text-primary.fw-bold {
        font-size: 2rem !important;
    }

    #about p.mb-2 {
        font-size: 0.95rem !important;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#about p li {
    animation: fadeInLeft 0.5s ease-out backwards;
}

#about p li:nth-child(1) { animation-delay: 0.1s; }
#about p li:nth-child(2) { animation-delay: 0.15s; }
#about p li:nth-child(3) { animation-delay: 0.2s; }
#about p li:nth-child(4) { animation-delay: 0.25s; }
#about p li:nth-child(5) { animation-delay: 0.3s; }
#about p li:nth-child(6) { animation-delay: 0.35s; }
#about p li:nth-child(7) { animation-delay: 0.4s; }
#about p li:nth-child(8) { animation-delay: 0.45s; }
#about p li:nth-child(9) { animation-delay: 0.5s; }
#about p li:nth-child(10) { animation-delay: 0.55s; }
