/* ===== About page styles ===== */

main {
    flex: 1;
    padding: 2rem 1.5rem 3rem;
    max-width:900px;
    margin: 0 auto;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}
.about-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.75rem;
}
.about-tagline {
    font-size: 1rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
    max-width: 650px;
}

.about-body {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #000000;
    max-width: 720px;
}
.about-body p + p {
    margin-top: 0.9rem;
}

.stack-v {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 2.2rem;
}

/* Main Card */
.card-primary {
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
    border-radius: 1.25rem;
    padding: 2.4rem 2.6rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: space-between;
}
.profile-image {
    width: 120px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}
.card-primary-main {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Secondary Card */
.card-secondary {
    background: #f3f4f6;
    color: #111827;
    border-radius: 1.25rem;
    padding: 1.7rem 1.9rem;
    border: 1px solid #e2e8f0;
}

/* Title text */
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-left: 0;
}
.card-text {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Card list */
.card-text ul {
    list-style: disc;
    padding-left: 1.1rem;
}
.card-text li + li {
    margin-top: 0.4rem;
}

/* education*/
.edu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.edu-item {
    margin-bottom: 1.2rem;
}
.edu-item:last-child {
    margin-bottom: 0;
}
.edu-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0.5rem;
}
.edu-details {
    margin: 0;
}

/* skills  */
.skills-grid {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.chip {
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #374151;
    font-weight: 450;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
}
.chip:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    transform: translateY(-1px);
}
.chip-ellipsis {
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    color: #6b7280;
    display: inline-block;
}

/* list-styled for projects, experience, achievement */
.list-styled {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 0.5rem;
}
.list-styled li {
    position: relative;
    padding-left: 0;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    padding-top: 0.2rem;
}
.list-styled li:last-child {
    margin-bottom: 0;
}
.list-styled li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: #6b7280;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.4;
    width: 1.2rem;
    text-align: left;
}
.list-styled li > * {
    padding-left: 1.2rem;
}
.list-styled li span {
    font-weight: 500;
    color: #111827;
}
.list-styled li a {
    color: inherit;
    text-decoration: none;
    display: block;
}
.list-styled li a:hover {
    opacity: 0.8;
}
.list-styled li.ellipsis-item {
    padding-left: 0;
    margin-top: 0.5rem;
    color: #6b7280;
    font-weight: 500;
}
.list-styled li.ellipsis-item::before {
    display: none;
}

/* Card footer text (centered at bottom) */
.card-footer-text {
    margin-top: 1.5rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    main {
        padding-inline: 1.25rem;
    }

    .card-primary {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-image {
        width: 96px;
        height: 96px;
    }
}