/* About Section CSS - Refined Premium Look */
#about {
    position: relative;
    /* Background subtle gradient bloom */
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.05), transparent 40%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    /* Text narrower, Skills wider */
    gap: 2rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Centered Layout (When no Right Column) */
.about-content.centered-layout {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content.centered-layout .about-text {
    border-left: none;
    /* Remove left border if it exists in mobile or other styles */
    /* Enhance the centered look */
    padding: 2.5rem;
}

.about-content.centered-layout .about-text p {
    text-align: center;
    font-size: 1.15rem;
}

/* LEFT SIDE: Text Styling */
/* LEFT SIDE: Text Styling */
.about-text {
    position: relative;
    padding: 1rem;
    border-radius: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid transparent;
    background-image: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.8)),
        linear-gradient(135deg, var(--primary-color), var(--secondary-color), rgba(56, 189, 248, 0.1));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #cbd5e1;
    font-weight: 300;
    margin: 0;
    text-align: left;
    letter-spacing: 0.3px;
}

/* Right Column Styling */
.right-column-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
}

/* Personal Info Board (Unified Card) */
.personal-info-board {
    border-radius: 24px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid transparent;
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), var(--primary-color));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.board-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    width: 100%;
    margin: 0.5rem 0;
}

.skills-section {
    width: 100%;
}

.skills-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.9;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    position: relative;
    border-bottom: none;
}

.info-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.info-row:last-child {
    padding-bottom: 0;
}

.info-row:last-child::after {
    display: none;
}

.icon-box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.08);
    border-radius: 12px;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(56, 189, 248, 0.1);
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
}

.info-value {
    font-size: 1rem;
    color: #f1f5f9;
    font-weight: 500;
    letter-spacing: 0.2px;
}


/* RIGHT SIDE: Skills Grid styling (Circular) */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns typically */
    gap: 1.5rem;
    justify-items: center;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.skill-circle-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
}

.skill-circle {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
    overflow: visible;
    /* Allow glow to extend outside viewBox */
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 8;
}

.circle-progress {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease-in-out;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.skill-inner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.skill-inner-content i {
    font-size: 1.8rem;
    color: #cbd5e1;
    margin-bottom: 5px;
}

.skill-inner-content .percent-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.skill-name {
    margin-top: 1rem;
    font-size: 1rem;
    color: #e2e8f0;
    font-weight: 500;
    text-align: center;
}

.skill-item:hover .skill-inner-content i {
    color: var(--primary-color);
    transform: scale(1.1);
    transition: all 0.3s;
}

/* Responsive */
/* Responsive */
@media (max-width: 992px) {
    #about {
        height: auto;
        padding: 6rem 1rem 3rem 1rem;
        /* Increase top padding to clear navbar/hero overlap */
        display: block;
        /* Ensure it's not flex centering oddly */
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 2rem;
        /* Add specific margin from the title */
    }

    .about-text {
        text-align: center;
        border-left: none;
        border-top: 4px solid var(--primary-color);
        padding: 0.5rem 0.3rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        text-align: center;
        font-size: 1rem;
    }

    /* Personal Info Board */
    .personal-info-board {
        padding: 0.5rem 0.3rem;
    }

    .info-row {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding-bottom: 1rem;
    }

    .icon-box {
        margin: 0 auto;
    }

    /* Skills Grid Mobile */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns is good for mobile */
        gap: 1rem;
    }

    .skill-circle-wrapper {
        width: 90px;
        height: 90px;
    }

    .skill-inner-content i {
        font-size: 1.4rem;
    }

    .skill-name {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}