/* --- ABOUT SECTION STYLES --- */

.about-container {
    padding: 8rem 5%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    background-color: transparent; /* Inherits body gradient */
}

.about-headline {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 4rem;
    text-align: center;
    background: linear-gradient(90deg, #00bfff 0%, #0080ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

/* Skills Grid Layout (The Schematic) */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 10;
}

/* Skill Panel & Glassmorphism (Reusing .glass-panel) */
.skill-panel {
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Remove the connector on the last item and adjust responsiveness */
@media (max-width: 1200px) {
    .skill-panel:not(:last-child)::after {
        content: none; /* Hide connector on wrapping */
    }
}

.skill-panel:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.3);
}

.panel-icon {
    font-size: 2.5rem;
    color: #00bfff;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.8));
}

.panel-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
}

.skill-list li::before {
    content: '›'; /* Custom bullet point */
    position: absolute;
    left: 0;
    color: #00bfff;
    font-weight: 900;
}

.skill-tag {
    font-weight: 700;
    color: #00bfff;
    background: rgba(0, 191, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-container {
        padding: 5rem 5%;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .schematic-line {
        display: none; /* Hide the vertical line on mobile */
    }
}