/* ============================================================
   GOOGLE FONTS  — loaded from index.html, declared here for clarity
   Syne (headings) + IBM Plex Mono (code accents)
   ============================================================ */

/* ============================================================
   SECTION LABEL UTILITY
   ============================================================ */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.75;
    margin-bottom: 6px;
}

/* ============================================================
   ABOUT ME CARD
   ============================================================ */
.Aboutme {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
    margin-bottom: 24px;
    opacity: 0.8;
}

/* Animated C / C++ highlight */
.animated-blue {
    color: var(--accent);
    font-family: var(--font-mono);
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 0 2px;
    transition: color 0.2s;
}

.animated-blue::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.animated-blue:hover {
    color: #fff;
}

.animated-blue:hover::after {
    width: 100%;
}

/* Goal block */
.goal {
    margin-bottom: 20px;
    text-align: left;
}

@media (min-width: 900px) {
    .goal { text-align: center; }
}

.goal-header {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.goal-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text);
    margin: 0;
}

/* Interest block */
.interest {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 20px 0;
}

.interest h2 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

/* ============================================================
   GITHUB LINK BUTTON
   ============================================================ */
.github-link {
    margin-top: 28px;
}

.github-link-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 400;
    color: #00ee00;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}

.github-link-link {
    text-decoration: none;
    display: inline-block;
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.15s;
    /* Remove the old fixed 60x60 sizing */
    width: auto;
    height: auto;
}

.link-button:hover {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 0 24px rgba(0, 200, 255, 0.3);
    transform: translateY(-2px);
}

.github-link-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    /* The white logo works great on our dark theme */
    transition: opacity 0.1s ease;
    flex-shrink: 0;
}

.link-button-text {
    font-size: 0.88rem;
    margin: 0;
    white-space: nowrap;
}

/*EDUCATION CARD*/
.education-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.8;
    margin-bottom: 16px;
    text-align: center;
}

.education-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 24px;
    text-align: left;
}

.education-subtitle {
    font-size: 1rem;
    color: var(--accent-2);
    font-weight: 600;
    margin-bottom: 8px;
}

.education-detail {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}
.btn-redirection {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Experience */
.Contributions {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    animation: fadeUp 0.5s ease 0.2s both;
}

.Contributions-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    border-left: 3px solid var(--accent);
    padding-left: 14px;
    margin: 0 0 24px;
}

.projects {
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* Cap lone posts so they don't stretch full-width */
.post {
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
}

.post {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.post > p {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0 0 12px;
    letter-spacing: 0.03em;
}

.video {
    width: 100%;
    height: 195px;
    border-radius: 7px;
    border: none;
    display: block;
}

/* Carousel sizing */
.carousel {
    border-radius: 7px;
    overflow: hidden;
}

.carousel img {
    height: 195px;
    object-fit: cover;
    width: 100%;
    display: block;
}

/* ============================================================
   Future PROJECTS (information section)
   ============================================================ */
.information {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    animation: fadeUp 0.5s ease 0.3s both;
}

.information h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    border-left: 3px solid var(--accent-2);
    padding-left: 14px;
    margin: 0 0 24px;
}

/* Override Bootstrap card colours */
.information .card {
    background-color: var(--surface-2) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px;
    color: var(--text) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.information .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.information .card h5 {
    color: var(--text);
    font-weight: 700;
}

.information .card p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.information .btn-primary {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--bg) !important;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    transition: background 0.2s, box-shadow 0.2s;
}

.information .btn-primary:hover {
    background: transparent !important;
    color: var(--accent) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 12px rgba(0, 200, 255, 0.25);
}