/* =========================================================
   EXPERIENCE & CREDENTIALS CSS — experience.html (Branch 06)
   Obsidian Emerald & Champagne Amber Edition
========================================================= */

.exp-hero-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
    padding: clamp(26px, 3vw, 44px);
    border: 1px solid rgba(110, 231, 183, 0.18);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(16, 28, 28, 0.80), rgba(8, 12, 14, 0.52));
    backdrop-filter: blur(20px);
    box-shadow: 0 35px 110px rgba(0, 0, 0, 0.48);
    margin-bottom: 54px;
}

.exp-avatar-box {
    position: relative;
    width: clamp(170px, 16vw, 240px);
    height: clamp(195px, 18vw, 275px);
    border-radius: 26px;
    padding: 4px;
    background: linear-gradient(135deg, #10e89f, #f5b041);
    box-shadow: 0 24px 65px rgba(16, 232, 159, 0.26);
    flex-shrink: 0;
}

.exp-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 16%;
    border-radius: 22px;
    display: block;
}

.exp-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(30px, 4.4vw, 72px);
    line-height: 0.96;
    letter-spacing: clamp(-3px, -0.2vw, -1px);
    margin-bottom: 12px;
    background: linear-gradient(110deg, #fff 16%, #34d399 54%, #f5b041 86%, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textShine 6s linear infinite;
}

.exp-subtitle {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #34d399;
    margin-bottom: 18px;
}

.exp-summary {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(203, 213, 225, 0.72);
    max-width: 820px;
    margin-bottom: 24px;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    border-radius: 100px;
    border: 1px solid rgba(110, 231, 183, 0.18);
    background: rgba(16, 232, 159, 0.06);
    color: #ffffff;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    transition: all 0.28s ease;
}

.contact-pill:hover {
    border-color: rgba(16, 232, 159, 0.65);
    background: rgba(16, 232, 159, 0.16);
    transform: translateY(-2px);
}

.contact-pill strong {
    color: #f5b041;
    font-weight: 700;
}

.exp-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.exp-actions svg,
.pill-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* TIMELINE CARD FOR INTERNSHIP */
.timeline {
    position: relative;
    margin-top: 42px;
    padding-left: 38px;
    border-left: 1px solid rgba(16, 232, 159, 0.35);
}

.timeline-item {
    position: relative;
    padding: 28px 32px;
    border: 1px solid rgba(110, 231, 183, 0.14);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(16, 26, 28, 0.72), rgba(8, 12, 14, 0.48));
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -44px;
    top: 34px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #10e89f;
    box-shadow: 0 0 20px #10e89f;
}

.timeline-phase {
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f5b041;
}

.timeline-item h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(24px, 2.4vw, 34px);
    margin-bottom: 6px;
}

.timeline-org {
    font-size: 14px;
    font-weight: 600;
    color: #34d399;
    margin-bottom: 16px;
}

.timeline-bullets {
    list-style: none;
    display: grid;
    gap: 10px;
}

.timeline-bullets li {
    position: relative;
    padding-left: 18px;
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(203, 213, 225, 0.72);
}

.timeline-bullets li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #10e89f;
}

/* EDUCATION & CERTS */
.edu-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.edu-card {
    padding: 28px;
    border: 1px solid rgba(110, 231, 183, 0.12);
    border-radius: 24px;
    background: rgba(14, 24, 24, 0.50);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.edu-card.featured {
    border-color: rgba(16, 232, 159, 0.45);
    background: linear-gradient(145deg, rgba(16, 232, 159, 0.14), rgba(12, 20, 22, 0.54));
}

.edu-period {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #f5b041;
    margin-bottom: 12px;
}

.edu-degree {
    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}

.edu-school {
    font-size: 14px;
    color: rgba(203, 213, 225, 0.62);
    line-height: 1.5;
    margin-bottom: 18px;
}

.edu-score {
    display: inline-block;
    align-self: flex-start;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(16, 232, 159, 0.12);
    border: 1px solid rgba(16, 232, 159, 0.35);
    color: #6ee7b7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.certs-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.cert-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(110, 231, 183, 0.14);
    border-radius: 22px;
    background: rgba(14, 24, 24, 0.55);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.35s ease, 
                box-shadow 0.35s ease;
}

.cert-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 176, 65, 0.55);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 28px rgba(16, 232, 159, 0.12);
}

.cert-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    background: #060d0e;
    overflow: hidden;
    border-bottom: 1px solid rgba(110, 231, 183, 0.12);
}

.cert-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    cursor: zoom-in;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.cert-card:hover .cert-thumb {
    transform: scale(1.035);
}

.cert-zoom-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(6, 13, 14, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(110, 231, 183, 0.35);
    color: #ecfdf5;
    font-size: 11px;
    font-weight: 700;
    pointer-events: none;
    opacity: 0.88;
    transition: opacity 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.cert-card:hover .cert-zoom-pill {
    opacity: 1;
    background: rgba(16, 232, 159, 0.18);
    border-color: #10e89f;
    color: #ffffff;
}

.cert-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cert-issuer {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #f5b041;
    margin-bottom: 8px;
}

.cert-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 12px;
}

.cert-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.cert-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #6ee7b7;
    background: rgba(16, 232, 159, 0.12);
    border: 1px solid rgba(16, 232, 159, 0.32);
}

.cert-badge-elite {
    color: #fbd38d;
    background: rgba(245, 176, 65, 0.14);
    border-color: rgba(245, 176, 65, 0.42);
}

.cert-score {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(236, 253, 245, 0.88);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(110, 231, 183, 0.18);
}

.cert-desc {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(236, 253, 245, 0.72);
    margin-bottom: 18px;
    flex-grow: 1;
}

.cert-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(110, 231, 183, 0.10);
    font-size: 11.5px;
    color: rgba(236, 253, 245, 0.55);
}

.cert-id {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    letter-spacing: 0.2px;
    color: rgba(236, 253, 245, 0.65);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cert-period {
    font-weight: 600;
    white-space: nowrap;
    color: rgba(236, 253, 245, 0.75);
}

/* SKILLS MATRIX */
.skills-matrix {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-group {
    padding: 28px;
    border: 1px solid rgba(110, 231, 183, 0.12);
    border-radius: 22px;
    background: rgba(14, 24, 24, 0.48);
}

.skill-group h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    margin-bottom: 16px;
    color: #ffffff;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.skill-pill {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(110, 231, 183, 0.14);
    background: rgba(16, 232, 159, 0.05);
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(236, 253, 245, 0.85);
}

@media (max-width: 980px) {
    .exp-hero-card {
        grid-template-columns: 1fr;
    }
    .edu-grid,
    .certs-grid,
    .skills-matrix {
        grid-template-columns: 1fr;
    }
}
