* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #020617;
    color: #e5f6ff;
    font-family: Arial, sans-serif;
}

.dashboard {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: #020a13;
    border-right: 1px solid #00d9ff44;
    padding: 25px;
}

.logo {
    color: #00ff88;
    margin-bottom: 40px;
    font-family: monospace;
}

nav a {
    display: block;
    padding: 16px;
    margin-bottom: 12px;
    color: #9fb3c8;
    text-decoration: none;
    border-radius: 6px;
}

nav a.active,
nav a:hover {
    background: #06324a;
    color: #fff;
    border: 1px solid #00d9ff;
}

.status {
    margin-top: 50px;
    padding: 20px;
    border: 1px solid #00d9ff33;
    border-radius: 10px;
    color: #9fb3c8;
    font-size: 14px;
}

.status strong {
    display: block;
    color: #8cff00;
    margin: 8px 0 20px;
}

.main {
    flex: 1;
}

.topbar {
    height: 60px;
    border-bottom: 1px solid #00d9ff33;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px;
    color: #b9ff6a;
    font-family: monospace;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 55px;
    background:
        radial-gradient(circle at center, #003cff33, transparent 45%),
        linear-gradient(120deg, #020617, #020b16);
}

h1 {
    font-size: 58px;
    margin-bottom: 15px;
}

h2 {
    font-size: 34px;
    color: #00d9ff;
    margin-bottom: 20px;
}

.tags {
    font-size: 22px;
    margin-bottom: 30px;
}

.intro {
    color: #b6c7d8;
    line-height: 1.8;
    max-width: 750px;
    margin-bottom: 35px;
}

.buttons {
    display: flex;
    gap: 25px;
}

.btn {
    padding: 18px 32px;
    border-radius: 7px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.primary {
    background: #00cfff;
    color: #001018;
}

.secondary {
    border: 1px solid #00cfff;
    color: #00cfff;
}

.photo-card {
    border: 1px solid #00d9ff;
    padding: 15px;
    max-width: 360px;
    background: #03111f;
}

.photo-card img {
    width: 100%;
    display: block;
}

.photo-card p {
    margin-top: 15px;
    color: #d1d5db;
    font-family: monospace;
}

.about-page {
    padding: 45px;
    background:
        radial-gradient(circle at top right, #00d9ff22, transparent 35%),
        linear-gradient(120deg, #020617, #020b16);
    min-height: calc(100vh - 60px);
}

.profile-window,
.skills-window,
.terminal-about {
    border: 1px solid #00d9ff44;
    background: #03111fdd;
    border-radius: 12px;
    box-shadow: 0 0 25px #00d9ff11;
    margin-bottom: 30px;
}

.window-header {
    display: flex;
    justify-content: space-between;
    padding: 18px 25px;
    border-bottom: 1px solid #00d9ff33;
    color: #00d9ff;
    font-family: monospace;
}

.profile-content {
    display: flex;
    gap: 40px;
    padding: 35px;
}

.profile-left {
    width: 320px;
    text-align: center;
    border-right: 1px solid #00d9ff33;
    padding-right: 35px;
}

.profile-left img {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #00d9ff;
    margin-bottom: 20px;
}

.profile-left h1 {
    font-size: 32px;
}

.profile-left h2 {
    font-size: 18px;
}

.profile-left p {
    color: #9fb3c8;
    margin-top: 12px;
}

.profile-right h3,
.skills-window h3 {
    color: #00d9ff;
    margin-bottom: 20px;
    font-family: monospace;
}

.profile-right p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 18px;
}

.skills-window {
    padding: 30px;
}

.skill {
    margin-bottom: 20px;
}

.skill span {
    display: block;
    margin-bottom: 8px;
    color: #dbeafe;
}

.skill div {
    height: 10px;
    background: #020617;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #00d9ff33;
}

.skill b {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #00d9ff, #00ff88);
}

.terminal-about {
    padding: 25px;
    font-family: monospace;
    color: #d1d5db;
}

.terminal-about p {
    margin-bottom: 12px;
}

.terminal-about span {
    color: #00ff88;
}

.projects-page {
    padding: 45px;
    min-height: calc(100vh - 60px);
    background:
        radial-gradient(circle at top right, #00d9ff22, transparent 35%),
        linear-gradient(120deg, #020617, #020b16);
}

.projects-page h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.page-subtitle {
    color: #9fb3c8;
    margin-bottom: 35px;
    max-width: 900px;
    line-height: 1.7;
}

.project-card-large {
    border: 1px solid #00d9ff44;
    background: #03111fdd;
    border-radius: 14px;
    box-shadow: 0 0 25px #00d9ff11;
    overflow: hidden;
}

.project-header {
    display: flex;
    justify-content: space-between;
    padding: 18px 25px;
    border-bottom: 1px solid #00d9ff33;
    color: #00d9ff;
    font-family: monospace;
}

.project-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 35px;
    padding: 35px;
}

.project-info h2 {
    font-size: 34px;
    color: #00d9ff;
    margin-bottom: 20px;
}

.project-info p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 18px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

.tech-tags span {
    border: 1px solid #00d9ff55;
    background: #020617;
    color: #00d9ff;
    padding: 8px 13px;
    border-radius: 20px;
    font-size: 14px;
}

.project-terminal {
    background: #020617;
    border: 1px solid #00ff8844;
    border-radius: 10px;
    padding: 25px;
    font-family: monospace;
    color: #d1d5db;
    box-shadow: inset 0 0 25px #00ff8811;
}

.project-terminal p {
    margin-bottom: 12px;
}

.project-terminal span {
    color: #00ff88;
}

.project-buttons{
    display:flex;
    gap:20px;
    margin-top:30px;
    flex-wrap:wrap;
}

.github{
    display:flex;
    align-items:center;
    gap:10px;
    background:#161b22;
    border:1px solid #30363d;
    color:#ffffff;
    text-decoration:none;
    transition:.3s;
}

.github:hover{
    background:#21262d;
    border-color:#00d9ff;
    transform:translateY(-2px);
}

.github img{
    width:22px;
    height:22px;
}

.screenshots-panel {
    margin-top: 28px;
    border: 1px solid #00d9ff44;
    background: #03111fdd;
    border-radius: 14px;
    overflow: hidden;
}

.screenshots-header {
    display: flex;
    justify-content: space-between;
    padding: 18px 25px;
    border-bottom: 1px solid #00d9ff33;
    color: #00d9ff;
    font-family: monospace;
    font-weight: bold;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
    padding: 25px;
}

.screenshots-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border: 1px solid #00d9ff66;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.screenshots-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px #00d9ff55;
}

.gallery-modal {

    position: fixed;

    inset: 0;

    background: rgba(0, 8, 20, .96);

    backdrop-filter: blur(10px);

    display: none;

    justify-content: center;

    align-items: center;

    z-index: 9999;
}

.gallery-box {

    width: 90vw;
    max-width: 1700px;

    max-height: 92vh;

    background: #03111f;

    border: 1px solid #00d9ff;

    border-radius: 14px;

    padding: 20px;

    box-shadow: 0 0 35px #00d9ff44;

    display: flex;
    flex-direction: column;

    overflow: hidden;
}

.gallery-title {
    color: #00d9ff;
    font-weight: bold;
    margin-bottom: 18px;
    font-family: monospace;
}

.gallery-box img {

    width: 100%;

    height: calc(92vh - 140px);

    object-fit: contain;

    background: #020617;

    border-radius: 10px;

    border: 1px solid #00d9ff44;
}

.gallery-box p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-top: 18px;
}

.close-gallery {
    position: absolute;
    top: 25px;
    right: 35px;

    width: 50px;
    height: 50px;

    border: 1px solid #00d9ff;
    background: #03111f;

    color: #00d9ff;

    font-size: 28px;

    cursor: pointer;

    transition: .3s;
}

.close-gallery:hover{
    background:#00d9ff;
    color:#03111f;
}


.gallery-prev,
.gallery-next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:70px;

    height:70px;

    border-radius:50%;

    background:#03111f;

    border:2px solid #00d9ff;

    color:#00d9ff;

    font-size:40px;

    cursor:pointer;

    transition:.3s;

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:10000;
}

.gallery-prev{

    left:40px;
}

.gallery-next{

    right:40px;
}

.gallery-prev:hover,
.gallery-next:hover{

    background:#00d9ff;
    color:#03111f;

    transform:translateY(-50%) scale(1.1);
}

.gallery-dots {
    text-align: center;
    margin-top: 18px;
}

.gallery-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1px solid #00d9ff;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
}

.gallery-dots .active-dot {
    background: #00d9ff;
}

.project-image-box {
    background: #020617;
    border: 1px solid #00d9ff44;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-box img {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    border-radius: 8px;
}

.skills-page {
    padding: 45px;
    min-height: calc(100vh - 60px);
    background:
        radial-gradient(circle at top right, #00d9ff22, transparent 35%),
        linear-gradient(120deg, #020617, #020b16);
}

.skills-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin: 35px 0;
}

.skills-stats div,
.scanner-box,
.skill-card {
    border: 1px solid #00d9ff44;
    background: #03111fdd;
    border-radius: 14px;
    box-shadow: 0 0 25px #00d9ff11;
}

.skills-stats div {
    padding: 25px;
}

.skills-stats strong {
    display: block;
    font-size: 34px;
    color: #00d9ff;
}

.skills-stats span {
    color: #9fb3c8;
}

.scanner-box {
    padding: 25px;
    font-family: monospace;
    color: #d1d5db;
    margin-bottom: 35px;
}

.scanner-box p {
    margin-bottom: 12px;
}

.scanner-box span {
    color: #00ff88;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.skill-card {
    padding: 28px;
}

.skill-card h2 {
    color: #00d9ff;
    font-size: 25px;
    margin-bottom: 12px;
}

.skill-card p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 18px;
}

.skill-card ul {
    margin-top: 18px;
    padding-left: 20px;
    color: #9fb3c8;
    line-height: 1.8;
}

.skill-bar {
    height: 10px;
    background: #020617;
    border: 1px solid #00d9ff33;
    border-radius: 20px;
    overflow: hidden;
}

.skill-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #00d9ff, #00ff88);
}

.certifications-page {
    padding: 45px;
    min-height: calc(100vh - 60px);
    background:
        radial-gradient(circle at top right, #00d9ff22, transparent 35%),
        linear-gradient(120deg, #020617, #020b16);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.certifications-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: #020617;
    border: 1px solid #00d9ff55;
    border-radius: 12px;
    padding: 8px;
    cursor: pointer;
    transition: .3s;
}

.certifications-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px #00d9ff55;
}

.cert-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 8, 20, .96);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cert-modal img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border: 1px solid #00d9ff;
    border-radius: 12px;
    background: white;
    padding: 10px;
}

.cert-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #00d9ff;
    font-size: 45px;
    cursor: pointer;
}

.cv-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 8, 20, 0.97);
    backdrop-filter: blur(12px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.cv-box {
    width: 900px;
    max-width: 95%;
    background: #03111f;
    border: 1px solid #00d9ff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 0 40px #00d9ff55;
    position: relative;
}

.cv-box h2 {
    color: #00d9ff;
    margin-bottom: 10px;
}

.cv-subtitle {
    color: #9fb3c8;
    margin-bottom: 30px;
}

.cv-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: #03111f;
    border: 1px solid #00d9ff;
    color: #00d9ff;
    font-size: 28px;
    cursor: pointer;
    padding: 3px 12px;
}

.cv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.cv-card {
    background: #041522;
    border: 1px solid #00d9ff55;
    border-radius: 14px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.cv-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.cv-card h3 {
    color: #00d9ff;
    margin-bottom: 25px;
    min-height: 60px;
}

.cv-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    flex: 1;
}

.cv-card li {
    padding: 7px 0;
    color: #d8e4ef;
}

.cv-card .btn {
    width: 100%;
    text-align: center;
}

#cvModal {
    display: none;
}

#cvModal.cv-modal {
    position: fixed;
    inset: 0;
    background: #020617;
    backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    z-index: 999999;
}
