/* Styles for About sub-pages: Childhood, Experience, Education, Certifications, Family */

.about-childhood-page {
    max-width: 1200px;
    margin: 20px auto 60px;
    padding: 20px;
}

.childhood-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.photo-card {
    background: rgba(14, 34, 61, 0.65);
    border: 1px solid rgba(0, 238, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.photo-card:hover {
    transform: translateY(-6px);
    border-color: #0ef;
    box-shadow: 0 12px 30px rgba(0, 238, 255, 0.2);
}

.card-img-wrap {
    width: 100%;
    height: 290px;
    background: radial-gradient(circle at center, #0e223d 0%, #051129 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 8px;
    cursor: pointer;
}

.card-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.photo-card:hover .card-img-wrap img {
    transform: scale(1.03);
}

.card-img-wrap::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(5, 17, 41, 0.8);
    border: 1px solid rgba(0, 238, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ef;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s ease;
    pointer-events: none;
}

.photo-card:hover .card-img-wrap::after {
    opacity: 1;
    transform: translateY(0);
}

.photo-caption {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.photo-caption h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.photo-caption p {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Experience Blocks */
.experience-block {
    background: rgba(14, 34, 61, 0.7);
    border: 1px solid rgba(0, 238, 255, 0.2);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.experience-block:hover {
    border-color: #0ef;
    box-shadow: 0 10px 30px rgba(0, 238, 255, 0.15);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0, 238, 255, 0.15);
    padding-bottom: 14px;
}

.exp-header h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.employer-title {
    font-size: 1.05rem;
    color: #0ef;
    font-weight: 600;
    margin: 0;
}

.gcp-highlight {
    color: #4285f4;
}

.exp-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 0.88rem;
    color: #94a3b8;
}

.exp-date {
    color: #0ef;
    font-weight: 500;
}

.exp-summary {
    font-size: 1rem;
    color: #e2e8f0;
    line-height: 1.7;
    margin-bottom: 16px;
}

.exp-achievements {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.exp-achievements li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.exp-achievements li::before {
    content: "▹";
    position: absolute;
    left: 4px;
    color: #0ef;
    font-size: 1.1rem;
}

.exp-achievements code {
    background: rgba(0, 238, 255, 0.12);
    color: #0ef;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.exp-tech-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.exp-tech-tags span {
    background: rgba(0, 238, 255, 0.1);
    border: 1px solid rgba(0, 238, 255, 0.3);
    color: #0ef;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 500;
}

/* Coursework & Education */
.section-subheading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0ef;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coursework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.course-chip {
    background: rgba(5, 17, 41, 0.6);
    border: 1px solid rgba(0, 238, 255, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
    color: #cbd5e1;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-chip i {
    color: #0ef;
}

.education-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.edu-photo-card {
    background: rgba(14, 34, 61, 0.65);
    border: 1px solid rgba(0, 238, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.edu-photo-card:hover {
    transform: translateY(-5px);
    border-color: #0ef;
    box-shadow: 0 10px 25px rgba(0, 238, 255, 0.2);
}

.edu-photo-wrap {
    width: 100%;
    height: 300px;
    background: radial-gradient(circle at center, #0e223d 0%, #051129 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 8px;
}

.edu-photo-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.edu-photo-card:hover .edu-photo-wrap img {
    transform: scale(1.03);
}

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.cert-card {
    background: rgba(14, 34, 61, 0.7);
    border: 1px solid rgba(0, 238, 255, 0.2);
    border-radius: 16px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cert-card.featured-cert-card {
    border-color: rgba(0, 238, 255, 0.45);
    background: linear-gradient(135deg, rgba(14, 34, 61, 0.85) 0%, rgba(5, 17, 41, 0.8) 100%);
}

.cert-card.in-progress-cert-card {
    border-color: rgba(234, 179, 8, 0.35);
}

.cert-badge-ribbon {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(52, 168, 83, 0.15);
    border: 1px solid #34a853;
    color: #4ade80;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.cert-badge-ribbon.in-progress {
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid #eab308;
    color: #fde047;
}

.cert-icon.net-icon {
    background: rgba(0, 238, 255, 0.15);
    border-color: #0ef;
    color: #0ef;
}

.cert-icon.ai-icon {
    background: rgba(234, 179, 8, 0.15);
    border-color: #eab308;
    color: #fde047;
}

.cert-card:hover {
    border-color: #0ef;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 238, 255, 0.15);
}

.cert-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 14px;
}

.cert-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 238, 255, 0.1);
    border: 1px solid rgba(0, 238, 255, 0.3);
    color: #0ef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.cert-header h2 {
    font-size: 1.25rem;
    color: #fff;
    margin: 0 0 4px;
    font-weight: 700;
}

.cert-issuer {
    font-size: 0.85rem;
    color: #0ef;
    font-weight: 500;
}

.cert-desc {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cert-topics h4 {
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 10px;
    font-weight: 600;
}

.cert-topics ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.cert-topics ul li {
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    color: #e2e8f0;
    margin-bottom: 6px;
    line-height: 1.4;
}

.cert-topics ul li::before {
    content: "✔";
    position: absolute;
    left: 2px;
    color: #10b981;
    font-size: 0.85rem;
}

/* Lightbox Modal */
.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 17, 41, 0.92);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content-box {
    max-width: 90vw;
    max-height: 88vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content-box img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    border: 1px solid rgba(0, 238, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 14px;
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.lightbox-close-btn {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0e223d;
    border: 2px solid #0ef;
    color: #0ef;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.lightbox-close-btn:hover {
    background: #0ef;
    color: #051129;
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .exp-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .exp-meta {
        align-items: flex-start;
    }
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}
