
/* ==========================================
   SHANKAR PORTFOLIO
   MAIN STYLESHEET
   Intro styles remain untouched.
========================================== */

/* ---------- GLOBAL ---------- */

:root {
    --bg: #050816;
    --panel: rgba(7, 13, 33, 0.86);
    --panel-light: rgba(12, 22, 49, 0.78);
    --blue: #00c8ff;
    --purple: #865bff;
    --text: #f0f5ff;
    --muted: #a0aec9;
    --border: rgba(0, 190, 255, 0.2);
    --glow: 0 0 28px rgba(0, 174, 255, 0.12);
    --nav-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background-color: var(--bg);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

/* Fixed background image */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            180deg,
            rgba(3, 7, 22, 0.55),
            rgba(3, 7, 22, 0.78)
        ),
        url("../Background.png") center center / cover no-repeat;
    pointer-events: none;
}

/* Soft overlay for readability */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(0, 100, 255, 0.07),
            transparent 45%
        ),
        rgba(2, 5, 18, 0.16);
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    color: #fff;
    background: rgba(0, 190, 255, 0.45);
}

#portfolio {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    background: transparent;
}

.section {
    position: relative;
    padding: 120px 6%;
    scroll-margin-top: 80px;
}

.section-container {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.section:not(.home-section) {
    background: transparent;
}

/* ---------- NAVIGATION ---------- */

.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--nav-height);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(3, 7, 22, 0.88);
    border-bottom: 1px solid rgba(0, 190, 255, 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-weight: 700;
    font-size: 20px;
    border: 1px solid var(--blue);
    border-radius: 10px;
    box-shadow: 0 0 16px rgba(0, 200, 255, 0.15);
}

.logo-text {
    font-family: "Space Mono", monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text span,
.footer-brand strong span {
    color: var(--blue);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
}

.nav-link {
    position: relative;
    padding: 10px 0;
    color: #b4bfd6;
    font-family: "Space Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.6px;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    box-shadow: 0 0 9px var(--blue);
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a4b5d1;
    font-family: "Space Mono", monospace;
    font-size: 9px;
    white-space: nowrap;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #28e5a2;
    box-shadow: 0 0 10px #28e5a2;
}

/* ---------- HOME ---------- */

.home-section {
    min-height: calc(100vh - var(--nav-height));
    padding-top: 90px;
    padding-bottom: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.home-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(0, 170, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 170, 255, 0.15) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.home-glow {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(31, 76, 255, 0.15),
        transparent 70%
    );
    pointer-events: none;
}

.home-content {
    width: min(1180px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 80px;
}

.home-left {
    max-width: 680px;
}

.home-label,
.section-kicker,
.about-label,
.learning-heading,
.interest-label,
.goals-label {
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 10px;
    letter-spacing: 2px;
}

.home-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.home-label span {
    padding: 6px 9px;
    color: #fff;
    background: rgba(0, 180, 255, 0.12);
    border: 1px solid var(--border);
    border-radius: 5px;
}

.home-intro {
    margin: 0 0 5px;
    color: #b6c4df;
    font-family: "Space Mono", monospace;
    font-size: 13px;
    letter-spacing: 4px;
}

.home-name {
    margin: 0;
    font-size: clamp(58px, 8vw, 100px);
    line-height: 1.12;
    letter-spacing: 0px;
    font-weight: 800;
    background: linear-gradient(110deg, #fff 25%, #8bdcff 65%, #9675ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-line {
    width: 85px;
    height: 3px;
    margin: 22px 0;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    box-shadow: 0 0 14px rgba(0, 200, 255, 0.6);
}

.home-title {
    margin: 0 0 17px;
    font-size: clamp(23px, 3vw, 34px);
    font-weight: 600;
    line-height: 1.3;
}

.home-tagline {
    margin: 0 0 22px;
    color: #c7d2e7;
    font-size: 14px;
    letter-spacing: 0.4px;
}

.home-tagline span {
    padding: 0 5px;
    color: var(--blue);
}

.home-description {
    max-width: 590px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.95;
}

.home-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    min-height: 47px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-family: "Space Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.8px;
    transition: 0.25s ease;
}

.btn-primary {
    color: #04101d;
    font-weight: 700;
    background: linear-gradient(110deg, #00c8ff, #5a91ff);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 190, 255, 0.3);
}

.btn-secondary {
    color: #e7f2ff;
    background: rgba(10, 20, 43, 0.65);
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-3px);
}

.home-tech {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    color: #8e9bb7;
    font-family: "Space Mono", monospace;
    font-size: 10px;
    letter-spacing: 1px;
}

.home-tech i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blue);
}

/* Home profile card */

.home-right {
    position: relative;
    width: 100%;
    max-width: 390px;
    justify-self: center;
}

.profile-card {
    position: relative;
    padding: 15px;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        rgba(13, 28, 58, 0.94),
        rgba(5, 10, 29, 0.9)
    );
    border: 1px solid rgba(0, 190, 255, 0.38);
    border-radius: 14px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.35),
        0 0 35px rgba(0, 150, 255, 0.09);
}

.profile-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    width: 76%;
    height: 1px;
    background: var(--blue);
    box-shadow: 0 0 14px var(--blue);
}

.profile-card-top,
.profile-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.8px;
}

.profile-card-top {
    padding: 7px 3px 15px;
    color: #8ea1c1;
}

.profile-card-top span:last-child {
    color: var(--blue);
}

.profile-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.6;
    overflow: hidden;
    background: #0a1530;
    border: 1px solid rgba(0, 190, 255, 0.2);
    border-radius: 8px;
}

.profile-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.profile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 50%,
        rgba(0, 8, 25, 0.35)
    );
    pointer-events: none;
}

.profile-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 220, 255, 0.6);
    box-shadow: 0 0 14px var(--blue);
    opacity: 0.6;
    animation: profileScan 5s linear infinite;
    pointer-events: none;
}

@keyframes profileScan {
    0% { top: 0; }
    100% { top: 100%; }
}

.profile-card-bottom {
    padding: 18px 4px 5px;
}

.profile-card-bottom div {
    display: grid;
    gap: 6px;
}

.profile-card-bottom span {
    color: #7789a8;
    font-size: 8px;
}

.profile-card-bottom strong {
    color: #e7f1ff;
    font-size: 11px;
}

.profile-location,
.profile-year {
    position: absolute;
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 10px;
    letter-spacing: 2px;
}

.profile-location {
    top: 22%;
    right: -55px;
    writing-mode: vertical-rl;
}

.profile-year {
    bottom: 5%;
    left: -35px;
}

.home-bottom {
    width: min(1180px, 100%);
    margin: 55px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #8190ac;
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.scroll-hint {
    display: flex;
    align-items: center;
    gap: 12px;
}

.scroll-arrow {
    color: var(--blue);
    font-size: 17px;
    animation: arrowFloat 1.5s ease-in-out infinite;
}

@keyframes arrowFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ---------- SECTION HEADINGS ---------- */

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 55px;
}

.section-number {
    min-width: 43px;
    padding: 9px 8px;
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 11px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: rgba(0, 150, 255, 0.08);
}

.section-kicker {
    display: block;
    margin-bottom: 12px;
}

.section-heading h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.section-heading h2 span {
    color: var(--blue);
}

.section-heading > div {
    min-width: 0;
}

/* ---------- GLASS PANELS ---------- */

.about-text,
.about-data,
.education-content,
.skill-card,
.learning-section,
.interest-section,
.project-info,
.project-preview,
.experience-card,
.certificate-card,
.milestone-item,
.goals-main,
.goals-vision,
.long-term-goal,
.contact-box,
.contact-info > *,
.contact-placeholder {
    background: linear-gradient(
        145deg,
        rgba(10, 20, 45, 0.88),
        rgba(5, 10, 27, 0.83)
    );
    border: 1px solid var(--border);
    box-shadow: var(--glow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ---------- ABOUT ---------- */

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 25px;
}

.about-text,
.about-data {
    padding: 35px;
    border-radius: 12px;
}

.about-label {
    display: block;
    margin-bottom: 23px;
}

.about-text h3 {
    margin: 0 0 25px;
    font-size: clamp(27px, 3vw, 39px);
    line-height: 1.3;
    letter-spacing: -1px;
}

.about-text h3 span {
    color: var(--blue);
}

.about-text p,
.goals-main p {
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.about-text p {
    margin: 0 0 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-data {
    display: grid;
    gap: 0;
}

.data-row {
    padding: 17px 0;
    display: grid;
    gap: 8px;
    border-bottom: 1px solid rgba(140, 175, 220, 0.12);
}

.data-row:first-child {
    padding-top: 0;
}

.data-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.data-row span {
    color: #8194b4;
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.3px;
}

.data-row strong {
    color: #eaf3ff;
    font-size: 12px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* ---------- EDUCATION ---------- */

.education-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.education-timeline::before {
    content: "";
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 205px;
    width: 1px;
    background: linear-gradient(
        to bottom,
        var(--blue),
        var(--purple),
        rgba(0, 190, 255, 0.15)
    );
}

.education-item {
    position: relative;
    display: grid;
    grid-template-columns: 175px 60px 1fr;
    align-items: start;
    gap: 0;
    margin-bottom: 27px;
}

.education-date {
    padding-top: 27px;
    color: #dceaff;
    font-family: "Space Mono", monospace;
    font-size: 12px;
    text-align: right;
}

.education-date span {
    display: block;
    margin-top: 7px;
    color: #8293b2;
    font-size: 10px;
}

.education-marker {
    position: relative;
    z-index: 1;
    width: 39px;
    height: 39px;
    margin: 18px auto 0;
    display: grid;
    place-items: center;
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 11px;
    background: #071127;
    border: 1px solid var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 17px rgba(0, 200, 255, 0.2);
}

.education-item.current .education-marker {
    color: #06111d;
    background: var(--blue);
    box-shadow: 0 0 25px rgba(0, 200, 255, 0.5);
}

.education-content {
    padding: 25px 28px;
    border-radius: 10px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.education-content:hover {
    transform: translateX(5px);
    border-color: rgba(0, 200, 255, 0.55);
}

.education-type {
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.education-content h3 {
    margin: 12px 0 8px;
    font-size: 17px;
    line-height: 1.5;
}

.education-content p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.education-status {
    display: inline-block;
    margin-top: 17px;
    padding: 6px 9px;
    color: #52e7b0;
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.7px;
    background: rgba(40, 229, 162, 0.08);
    border: 1px solid rgba(40, 229, 162, 0.2);
    border-radius: 4px;
}

/* ---------- SKILLS ---------- */

.skills-intro {
    max-width: 680px;
    margin: -20px 0 35px;
}

.skills-intro p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.skill-card {
    position: relative;
    min-height: 250px;
    padding: 25px 22px;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.skill-card::after {
    content: "";
    position: absolute;
    top: -45px;
    right: -45px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(0, 180, 255, 0.08);
    filter: blur(15px);
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 200, 255, 0.65);
}

.skill-number {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #657797;
    font-family: "Space Mono", monospace;
    font-size: 10px;
}

.skill-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    display: grid;
    place-items: center;
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 18px;
    font-weight: 700;
    background: rgba(0, 170, 255, 0.1);
    border: 1px solid rgba(0, 190, 255, 0.3);
    border-radius: 9px;
}

.skill-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
}

.skill-card p {
    min-height: 58px;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.skill-tag {
    display: inline-block;
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

.learning-section {
    margin-top: 25px;
    padding: 25px;
    border-radius: 10px;
}

.learning-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.learning-heading span {
    color: #e6edff;
    font-size: 10px;
}

.learning-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.learning-item {
    min-width: 0;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: rgba(5, 12, 31, 0.7);
    border: 1px solid rgba(0, 190, 255, 0.13);
    border-radius: 7px;
}

.learning-item > span {
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 10px;
}

.learning-item strong {
    font-size: 12px;
}

.learning-item small {
    margin-left: auto;
    color: #58e7b5;
    font-family: "Space Mono", monospace;
    font-size: 8px;
}

.interest-section {
    margin-top: 20px;
    padding: 25px;
    border-radius: 10px;
}

.interest-label {
    display: block;
    margin-bottom: 17px;
}

.interest-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.interest-list span,
.project-tech span {
    padding: 10px 13px;
    color: #b9d5f8;
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.5px;
    background: rgba(0, 150, 255, 0.08);
    border: 1px solid rgba(0, 190, 255, 0.22);
    border-radius: 5px;
}

/* ---------- PROJECTS ---------- */

.project-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
    align-items: stretch;
}

.project-info,
.project-preview {
    min-width: 0;
    padding: 30px;
    border-radius: 12px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    color: #8fa4c5;
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

.project-info h3 {
    margin: 28px 0 13px;
    font-size: clamp(34px, 4vw, 47px);
    letter-spacing: -1px;
}

.project-info h3 span {
    color: var(--blue);
}

.project-info p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.project-info .project-lead {
    color: #dce8fa;
    font-size: 14px;
}

.project-role {
    margin-top: 27px;
    padding: 17px;
    background: rgba(0, 150, 255, 0.06);
    border-left: 2px solid var(--blue);
}

.project-role > span {
    display: block;
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 1px;
}

.project-role strong {
    display: block;
    margin-top: 8px;
    font-size: 12px;
}

.project-role p {
    margin-bottom: 0;
    font-size: 11px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

.project-tech span {
    padding: 7px 10px;
    font-size: 8px;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 15px 0 22px;
    color: #55e9b6;
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.6px;
}

.project-button,
.certificate-link,
.contact-button {
    min-height: 43px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.7px;
    border: 1px solid rgba(0, 190, 255, 0.35);
    border-radius: 5px;
    transition: 0.25s ease;
}

.project-button:hover,
.certificate-link:hover,
.contact-button:hover {
    color: #06101e;
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 0 20px rgba(0, 190, 255, 0.25);
}

.project-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 430px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at center,
            rgba(0, 115, 255, 0.12),
            transparent 65%
        ),
        rgba(5, 10, 27, 0.8);
}

.project-window {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    background: #091329;
    border: 1px solid rgba(0, 180, 255, 0.35);
    border-radius: 9px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    transform: perspective(1000px) rotateY(-3deg);
}

.window-header {
    min-height: 38px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #9db1d2;
    font-family: "Space Mono", monospace;
    font-size: 8px;
    background: #101e39;
    border-bottom: 1px solid rgba(0, 180, 255, 0.15);
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5a75a0;
}

.window-dots i:first-child { background: #ff657b; }
.window-dots i:nth-child(2) { background: #f7c75a; }
.window-dots i:nth-child(3) { background: #43d99c; }

.window-body {
    display: grid;
    grid-template-columns: 105px 1fr;
    min-height: 290px;
}

.preview-sidebar {
    padding: 15px 9px;
    background: #071026;
    border-right: 1px solid rgba(0, 180, 255, 0.13);
}

.preview-logo {
    width: 27px;
    height: 27px;
    margin: 0 0 20px 5px;
    display: grid;
    place-items: center;
    color: #06101e;
    font-weight: 800;
    background: var(--blue);
    border-radius: 6px;
}

.preview-menu {
    margin-bottom: 7px;
    padding: 9px 7px;
    color: #8ea2c4;
    font-family: "Space Mono", monospace;
    font-size: 7px;
    border-radius: 4px;
}

.preview-menu.active {
    color: var(--blue);
    background: rgba(0, 180, 255, 0.1);
}

.preview-main {
    min-width: 0;
    padding: 17px 14px;
}

.preview-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.preview-heading div {
    display: grid;
    gap: 6px;
}

.preview-heading small {
    color: #7991b7;
    font-family: "Space Mono", monospace;
    font-size: 7px;
}

.preview-heading strong {
    color: #e4efff;
    font-size: 9px;
}

.preview-heading > span {
    color: #4ce1ac;
    font-size: 7px;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 22px;
}

.preview-stats div {
    min-width: 0;
    padding: 10px 6px;
    display: grid;
    gap: 9px;
    background: rgba(24, 44, 78, 0.7);
    border: 1px solid rgba(0, 180, 255, 0.14);
    border-radius: 5px;
}

.preview-stats small {
    color: #92a7c8;
    font-size: 6px;
}

.preview-stats strong {
    color: #e7f3ff;
    font-size: 17px;
}

.preview-chart {
    margin-top: 16px;
    padding: 12px;
    background: rgba(24, 44, 78, 0.45);
    border: 1px solid rgba(0, 180, 255, 0.12);
    border-radius: 5px;
}

.chart-title {
    color: #91a7c9;
    font-family: "Space Mono", monospace;
    font-size: 7px;
}

.chart-bars {
    height: 95px;
    margin-top: 12px;
    display: flex;
    align-items: end;
    justify-content: space-around;
    gap: 9px;
    border-bottom: 1px solid rgba(0, 180, 255, 0.18);
    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 23px,
        rgba(100, 150, 210, 0.08) 24px
    );
}

.chart-bars i {
    width: 9%;
    min-width: 7px;
    height: 45%;
    background: linear-gradient(to top, #2765ff, #00d4ff);
    border-radius: 3px 3px 0 0;
}

.chart-bars i:nth-child(2) { height: 67%; }
.chart-bars i:nth-child(3) { height: 53%; }
.chart-bars i:nth-child(4) { height: 82%; }
.chart-bars i:nth-child(5) { height: 63%; }
.chart-bars i:nth-child(6) { height: 90%; }
.chart-bars i:nth-child(7) { height: 73%; }

/* ---------- EXPERIENCE ---------- */

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.experience-card {
    position: relative;
    min-width: 0;
    padding: 30px;
    overflow: hidden;
    border-radius: 11px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 190, 255, 0.55);
}

.experience-number {
    position: absolute;
    top: 22px;
    right: 25px;
    color: #637795;
    font-family: "Space Mono", monospace;
    font-size: 10px;
}

.experience-icon {
    width: 47px;
    height: 47px;
    margin-bottom: 25px;
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 22px;
    background: rgba(0, 150, 255, 0.1);
    border: 1px solid var(--border);
    border-radius: 9px;
}

.experience-type {
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 1.4px;
}

.experience-card h3 {
    margin: 12px 0;
    font-size: 18px;
    line-height: 1.5;
}

.experience-card p {
    min-height: 52px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.experience-duration {
    display: inline-block;
    margin-top: 15px;
    color: #93a8c8;
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.5px;
}

/* ---------- CERTIFICATIONS ---------- */

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.certificate-card {
    min-width: 0;
    padding: 25px;
    border-radius: 10px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 190, 255, 0.6);
}

.certificate-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #8297b9;
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

.certificate-icon {
    width: 57px;
    height: 57px;
    margin: 29px 0 23px;
    display: grid;
    place-items: center;
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 18px;
    font-weight: 700;
    background: rgba(0, 150, 255, 0.1);
    border: 1px solid rgba(0, 190, 255, 0.35);
    border-radius: 10px;
}

.certificate-category {
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

.certificate-card h3 {
    min-height: 52px;
    margin: 13px 0 8px;
    font-size: 17px;
    line-height: 1.5;
}

.certificate-card p {
    color: var(--muted);
    font-size: 12px;
}

.certificate-line {
    height: 1px;
    margin: 23px 0 18px;
    background: rgba(120, 160, 210, 0.18);
}

.certificate-status {
    color: #4ce1ac;
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

.certificate-link {
    min-height: 36px;
    padding: 0 10px;
    font-size: 8px;
}

/* ---------- MILESTONES ---------- */

.milestones-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.milestone-item {
    min-width: 0;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    border-radius: 9px;
    transition: border-color 0.25s ease;
}

.milestone-item:hover {
    border-color: rgba(0, 190, 255, 0.55);
}

.milestone-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 10px;
    background: rgba(0, 150, 255, 0.1);
    border: 1px solid var(--border);
    border-radius: 7px;
}

.milestone-item > div > span {
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

.milestone-item h3 {
    margin: 8px 0;
    font-size: 14px;
}

.milestone-item p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

/* ---------- FUTURE GOALS ---------- */

.goals-content {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 22px;
    align-items: stretch;
}

.goals-main {
    padding: 35px;
    border-radius: 11px;
}

.goals-label {
    display: block;
    margin-bottom: 23px;
}

.goals-main h3 {
    margin: 0 0 23px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.35;
}

.goals-main h3 span {
    color: var(--blue);
}

.goals-main p {
    margin: 0 0 17px;
}

.goals-main p:last-child {
    margin-bottom: 0;
}

.goals-vision {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border-radius: 11px;
}

.vision-card {
    min-height: 130px;
    padding: 19px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    background: rgba(3, 10, 28, 0.72);
    border: 1px solid rgba(0, 190, 255, 0.15);
    border-radius: 8px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.vision-card:hover {
    transform: translateY(-3px);
    border-color: var(--blue);
}

.vision-card span {
    color: #8ea4c6;
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

.vision-card strong {
    color: #e5f1ff;
    font-family: "Space Mono", monospace;
    font-size: 11px;
    line-height: 1.8;
}

.long-term-goal {
    margin-top: 20px;
    padding: 25px 30px;
    border-radius: 9px;
    border-left: 3px solid var(--purple);
}

.long-term-goal > span {
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 9px;
    letter-spacing: 1.3px;
}

.long-term-goal p {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

/* ---------- CONTACT ---------- */

.contact-box {
    padding: 45px;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 35px;
    border-radius: 13px;
}

.contact-content h2 {
    max-width: 500px;
    margin: 20px 0;
    font-size: clamp(32px, 4vw, 49px);
    line-height: 1.25;
    letter-spacing: -1.5px;
}

.contact-content h2 span {
    color: var(--blue);
}

.contact-content > p {
    max-width: 460px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.contact-button {
    min-width: 155px;
    margin-top: 17px;
}

.contact-terminal {
    min-width: 0;
    overflow: hidden;
    background: rgba(2, 7, 21, 0.9);
    border: 1px solid rgba(0, 190, 255, 0.25);
    border-radius: 8px;
}

.terminal-header {
    padding: 13px 16px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #9fb4d4;
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.7px;
    background: rgba(0, 150, 255, 0.07);
    border-bottom: 1px solid rgba(0, 190, 255, 0.15);
}

.terminal-body {
    padding: 20px;
    font-family: "Space Mono", monospace;
    font-size: 10px;
    overflow-wrap: anywhere;
}

.terminal-body p {
    margin: 0 0 11px;
    color: #dbe8ff;
    line-height: 1.7;
}

.terminal-body p span {
    color: var(--blue);
}

.terminal-body .terminal-output {
    margin: -4px 0 17px;
    color: #91a7c9;
    font-size: 9px;
}

.terminal-body .active-output {
    color: #4ce1ac;
}

/* Contact details */

.contact-info {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.contact-info > *,
.contact-placeholder {
    min-width: 0;
    padding: 18px;
    display: grid;
    gap: 9px;
    border-radius: 8px;
}

.contact-info > * {
    transition: border-color 0.25s ease;
}

.contact-info > *:hover {
    border-color: rgba(0, 190, 255, 0.6);
}

.contact-info span {
    color: var(--blue);
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 1px;
}

.contact-info strong {
    color: #dce8fa;
    font-size: 11px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

/* ---------- FOOTER ---------- */

.portfolio-footer {
    min-height: 95px;
    padding: 24px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    background: rgba(2, 6, 19, 0.88);
    border-top: 1px solid rgba(0, 190, 255, 0.2);
    backdrop-filter: blur(15px);
}

.footer-brand {
    display: grid;
    gap: 6px;
}

.footer-brand strong {
    font-family: "Space Mono", monospace;
    font-size: 13px;
    letter-spacing: 1px;
}

.footer-brand small {
    color: #8091af;
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.8px;
}

.footer-center,
.footer-right {
    color: #8b9bb8;
    font-family: "Space Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.6px;
}

/* ---------- ACCESSIBILITY ---------- */

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* FIX: PORTFOLIO SECTION LAYOUT */

#portfolio {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

#portfolio > section,
#portfolio .section {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: auto;
}

.section-container {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}