/* ==================================================
   GOOGLE FONT
================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ==================================================
   RESET
================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ==================================================
   BODY & BACKGROUND
================================================== */
body {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at 0% 0%,    rgba(96,165,250,.22),  transparent 35%),
        radial-gradient(circle at 100% 0%,   rgba(255,255,255,.25), transparent 25%),
        radial-gradient(circle at 100% 100%, rgba(59,130,246,.18),  transparent 35%),
        linear-gradient(135deg, #f8fafc 0%, #eef2ff 35%, #f8fafc 70%, #dbeafe 100%);
    overflow-x: hidden;
    padding-top: 120px;
}

/* glow top-right */
body::before {
    content: '';
    position: fixed;
    width: 700px; height: 700px;
    top: -250px; right: -250px;
    background: radial-gradient(circle, rgba(59,130,246,.15), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* glow bottom-left */
body::after {
    content: '';
    position: fixed;
    width: 800px; height: 800px;
    bottom: -300px; left: -250px;
    background: radial-gradient(circle, rgba(147,197,253,.22), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* ==================================================
   CONTAINER
================================================== */
.container {
    width: 88%;
    max-width: 1100px;
    margin: auto;
}

/* ==================================================
   NAVBAR — Apple Liquid Glass
================================================== */
.navbar-custom {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    max-width: 90vw;
    padding: 12px 28px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255,255,255,.45);
    box-shadow:
        inset 0  1px 1px rgba(255,255,255,.90),
        inset 0 -1px 1px rgba(255,255,255,.15),
        0 20px 50px rgba(0,0,0,.08),
        0  0  40px rgba(255,255,255,.25);
    overflow: hidden;
    z-index: 999;
}

.navbar-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.02));
    pointer-events: none;
}

/* shine sweep */
.navbar-custom::after {
    content: '';
    position: absolute;
    top: 0; left: -40%;
    width: 30%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
    animation: glassShine 8s linear infinite;
}

@keyframes glassShine {
    from { left: -40%; }
    to   { left: 140%; }
}

.navbar-custom:hover {
    border-color: rgba(255,255,255,.15);
    box-shadow:
        inset 0  1px 1px rgba(255,255,255,.15),
        inset 0 -1px 1px rgba(255,255,255,.03),
        0 15px 40px rgba(0,0,0,.25),
        0  0  30px rgba(255,255,255,.05);
}

/* ==================================================
   NAV LINKS
================================================== */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 18px;
    margin: 0; padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    color: #111827;
    font-size: 15px;
    font-weight: 500;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    transition: all .35s ease;
    position: relative;
}

.nav-links a:hover {
    color: #000;
    background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.12));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,.30);
    box-shadow:
        inset 0  1px 1px rgba(255,255,255,.75),
        inset 0 -1px 1px rgba(255,255,255,.15),
        0 8px 20px rgba(0,0,0,.08);
    transform: translateY(-1px);
}

.nav-links a.active {
    color: #000;
    background: linear-gradient(180deg, rgba(255,255,255,.70), rgba(255,255,255,.35));
    border: 1px solid rgba(255,255,255,.45);
    box-shadow:
        inset 0 1px 2px rgba(255,255,255,.9),
        0 10px 25px rgba(0,0,0,.08);
}

/* ==================================================
   HERO
================================================== */
.hero {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(-60px);
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.02;
    color: #111827;
    margin-bottom: 18px;
}

.hero-text h2 {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    color: #374151;
    margin-bottom: 20px;
    min-height: 45px;
}

.hero-text p {
    font-size: 1.05rem;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 32px;
}

/* ==================================================
   TYPEWRITER
================================================== */
.typing-wrapper {
    display: flex;
    align-items: center;
    gap: 3px;
}

.cursor {
    color: #2563eb;
    font-weight: 600;
    animation: blink .8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ==================================================
   BUTTONS
================================================== */
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.btn-primary-custom {
    padding: 14px 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,99,235,.25);
}

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 30px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(10px);
    transition: .3s;
}

.btn-secondary-custom:hover {
    background: rgba(255,255,255,.08);
}

/* ==================================================
   PROFILE IMAGE (Home)
================================================== */
.profile-wrapper {
    display: flex;
    justify-content: center;
}

.profile-card {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    border-radius: 36px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(35px) saturate(180%);
    -webkit-backdrop-filter: blur(35px) saturate(180%);
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transition: transform .4s ease, box-shadow .4s ease;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
}

.profile-card img {
    width: 100%;
    display: block;
    border-radius: 28px;
}

/* ==================================================
   SECTION BASE
================================================== */
.section {
    padding: 40px 0 80px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #111827;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #6b7280;
}

.section-label {
    display: block;
    text-align: center;
    color: #2563eb;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* ==================================================
   GLASS CARD (generic)
================================================== */
.glass-card {
    padding: 30px;
    border-radius: 24px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.25);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.6),
        0 8px 32px rgba(0,0,0,.06);
    transition: .3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59,130,246,.30);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.6),
        0 16px 40px rgba(0,0,0,.10);
}

/* ==================================================
   ABOUT LAYOUT — 2 kolom, kiri lebih lebar
================================================== */
.about-layout {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: 50px;
    align-items: start;
    margin-top: 50px;
}

/* ==================================================
   ABOUT PROFILE — wrapper kiri
================================================== */
.about-profile {
    display: flex;
    flex-direction: column;
}

/* ==================================================
   ABOUT PHOTO
================================================== */
.about-photo {
    width: 100%;
    padding: 8px;
    border-radius: 36px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(35px) saturate(180%);
    -webkit-backdrop-filter: blur(35px) saturate(180%);
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

/* glass sheen */
.about-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(255,255,255,.20), transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.about-photo img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 28px;
    display: block;
    transition: opacity .4s ease, transform .5s ease;
}

/* badge di atas foto */
.photo-badge {
    position: absolute;
    top: 20px; left: 20px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.30);
    backdrop-filter: blur(20px);
    color: #111827;
    font-size: .8rem;
    font-weight: 600;
    z-index: 2;
}

/* ==================================================
   ABOUT DESCRIPTION — lebar sama dengan foto
================================================== */
.about-description {
    width: 100%;
    max-width: 100%;
}

.about-description p {
    font-size: 1.05rem;
    line-height: 2;
    color: #4b5563;
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 20px;
}

/* ==================================================
   EDUCATION GRID (kolom kanan)
================================================== */
.education-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ==================================================
   EDUCATION CARD
================================================== */
.education-card {
    position: relative;
    overflow: hidden;
    padding: 28px 22px;
    border-radius: 32px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(40px) saturate(220%);
    -webkit-backdrop-filter: blur(40px) saturate(220%);
    border: 1px solid rgba(255,255,255,.45);
    box-shadow:
        inset 0  1px 1px rgba(255,255,255,.90),
        inset 0 -1px 1px rgba(255,255,255,.15),
        0 15px 40px rgba(0,0,0,.08);
    text-align: center;
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}

/* glass reflection */
.education-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 50%;
    border-radius: 32px 32px 100px 100px;
    background: linear-gradient(180deg, rgba(255,255,255,.35), transparent);
    pointer-events: none;
}

.education-card img {
    width: 110px; height: 110px;
    object-fit: contain;
    margin-bottom: 22px;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.12));
    transition: transform .4s ease;
}

.education-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.5;
    margin-bottom: 10px;
}

.education-card span {
    display: block;
    color: #2563eb;
    font-size: .95rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.education-card p {
    color: #6b7280;
    font-size: .9rem;
    margin: 0;
}

.education-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,.65);
    box-shadow:
        inset 0  1px 1px rgba(255,255,255,.95),
        inset 0 -1px 1px rgba(255,255,255,.20),
        0 25px 60px rgba(0,0,0,.12),
        0  0  40px rgba(255,255,255,.25);
}

.education-card:hover img {
    transform: scale(1.05);
}

/* ==================================================
   CV DOWNLOAD
================================================== */
.cv-download {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.btn-cv {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    color: #111827;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: all .35s ease;
}

.btn-cv:hover {
    color: #111827;
    transform: translateY(-3px);
    background: rgba(255,255,255,.28);
    box-shadow: 0 18px 35px rgba(0,0,0,.12);
}

.btn-cv i {
    font-size: 1rem;
    color: #2563eb;
}

/* ==================================================
   EXPERIENCE — Badge Tag
================================================== */
.badge-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(37,99,235,.08);
    color: #2563eb;
    border: 1px solid rgba(37,99,235,.15);
}

/* ==================================================
   EXPERIENCE — Meta Info
================================================== */
.exp-date {
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
}

.exp-company {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin-top: 2px;
    margin-bottom: 12px;
}

.exp-desc {
    font-size: 14px;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 14px;
}

/* ==================================================
   EXPERIENCE — Project Links
================================================== */
.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-links .btn-primary-custom {
    padding: 10px 20px;
    font-size: 13px;
}

/* ==================================================
   EXPERIENCE — List
================================================== */
.glass-card .modal-list {
    padding-left: 20px;
    margin-top: 8px;
}

.glass-card .modal-list li {
    font-size: 14px;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 6px;
}

/* ==================================================
   CERTIFICATION GRID
================================================== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cert-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
}

.cert-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.cert-icon--microsoft { background: rgba(0,120,212,.10); color: #0078d4; }
.cert-icon--certnexus  { background: rgba(15,76,129,.10);  color: #0f4c81; }
.cert-icon--coursera   { background: rgba(89,60,143,.10);  color: #593c8f; }
.cert-icon--google     { background: rgba(234,67,53,.10);  color: #ea4335; }
.cert-icon--gns3       { background: rgba(0,188,212,.10);  color: #00bcd4; }

.cert-body {
    flex: 1;
    min-width: 0;
}

.cert-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.cert-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.4;
}

.cert-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 10px;
}

.cert-id {
    font-size: 11.5px;
    color: #9ca3af;
    font-weight: 500;
}

.cert-verify {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: gap .2s ease;
}

.cert-verify:hover {
    gap: 8px;
    color: #1d4ed8;
}

/* ==================================================
   CERT ACTIONS ROW
================================================== */
.cert-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.cert-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(37,99,235,.25);
    background: rgba(37,99,235,.06);
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

.cert-view-btn:hover {
    background: rgba(37,99,235,.12);
    border-color: rgba(37,99,235,.40);
    transform: translateY(-1px);
}

.cert-view-btn i {
    font-size: 12px;
}

/* ==================================================
   CERTIFICATE MODAL
================================================== */
.cert-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cert-modal-overlay.active {
    display: flex;
}

.cert-modal-box {
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    border-radius: 24px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,.60);
    box-shadow: 0 30px 80px rgba(0,0,0,.20);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cert-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(0,0,0,.07);
    flex-shrink: 0;
}

.cert-modal-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.cert-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.06);
    color: #374151;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
}

.cert-modal-close:hover {
    background: rgba(0,0,0,.12);
}

.cert-modal-body {
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.cert-modal-body iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    display: block;
}

.cert-modal-footer {
    padding: 14px 24px;
    border-top: 1px solid rgba(0,0,0,.07);
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* ==================================================
   SKILLS GRID
================================================== */
.cert-skills-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.25);
    border: 1px solid rgba(255,255,255,.40);
    font-size: 13.5px;
    font-weight: 500;
    color: #374151;
    transition: all .25s ease;
}

.skill-item i {
    color: #2563eb;
    font-size: 14px;
}

.skill-item:hover {
    background: rgba(37,99,235,.06);
    border-color: rgba(37,99,235,.20);
    transform: translateY(-2px);
}

/* ==================================================
   CONTACT GRID
================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: all .3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59,130,246,.30);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.6),
        0 16px 40px rgba(0,0,0,.10);
    color: inherit;
}

.contact-card--static {
    cursor: default;
}

.contact-card--static:hover {
    transform: none;
    border-color: rgba(255,255,255,.25);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.6),
        0 8px 32px rgba(0,0,0,.06);
}

.contact-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-icon--email    { background: rgba(239,68,68,.10);   color: #ef4444; }
.contact-icon--linkedin { background: rgba(10,102,194,.10);  color: #0a66c2; }
.contact-icon--github   { background: rgba(36,41,47,.10);    color: #24292f; }
.contact-icon--location { background: rgba(16,185,129,.10);  color: #10b981; }

.contact-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.contact-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9ca3af;
}

.contact-value {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #2563eb;
}

/* ==================================================
   CONTACT CTA
================================================== */
.contact-cta {
    margin-top: 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.contact-cta p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

/* ==================================================
   FOOTER
================================================== */
.footer {
    padding: 40px 0;
    text-align: center;
    color: #64748b;
    border-top: 1px solid rgba(255,255,255,.05);
}

/* ==================================================
   TABLET  ≤ 992px
================================================== */
@media (max-width: 992px) {

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        transform: none;
    }

    .hero-text h1 {
        font-size: 4rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .navbar-custom {
        width: 90%;
    }

    .nav-links {
        gap: 12px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-profile {
        text-align: center;
    }

    .about-photo {
        max-width: 520px;
        margin: 0 auto 24px;
    }

    .about-photo img {
        height: 420px;
    }

    .about-description p {
        text-align: left;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   MOBILE  ≤ 768px
================================================== */
@media(max-width:768px){

    .navbar-custom{

        width:94%;

        padding:8px;

        top:12px;

        border-radius:22px;

        backdrop-filter:
            blur(30px)
            saturate(180%);

        box-shadow:
            0 8px 25px rgba(0,0,0,.08);
    }

    .nav-links {
        gap: 4px;
        flex-wrap: nowrap;
        overflow-x: auto;
        width:100%;
        justify-content:space-between;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        white-space: nowrap;
        font-size:13px;
        font-weight:500;
        padding:8px 12px;
        min-height:36px;
        border-radius:14px;
    }

    .hero-text h1 { font-size: 3rem; }
    .hero-text h2 { font-size: 1.2rem; }
    .section-title { font-size: 2.2rem; }

    .about-photo img {
        height: 320px;
    }

    .education-card {
        padding: 30px 20px;
    }

    .education-card img {
        width: 90px;
        height: 90px;
    }

    .education-card h3 {
        font-size: 1.05rem;
    }

    .project-links {
        flex-direction: column;
    }

    .project-links .btn-primary-custom {
        width: 100%;
        justify-content: center;
    }

    .badge-tag {
        font-size: 10px;
    }

    .exp-date {
        font-size: 12px;
    }
}

/* ==================================================
   SMALL MOBILE  ≤ 480px
================================================== */
@media (max-width: 480px) {

    .nav-links {
        gap: 6px;
    }

    .nav-links a{
        font-size:12px;
        padding:7px 10px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .about-photo img {
        height: 260px;
    }

    .exp-desc {
        font-size: 13px;
    }

    .glass-card .modal-list li {
        font-size: 13px;
    }
}
/* ============================================================
   TYPING TITLE ANIMATION
   ============================================================ */
.typing-title { min-height: 1.2em; }
.typing-title .tt-cursor {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: #2563eb;
    margin-left: 4px;
    vertical-align: middle;
    border-radius: 2px;
    animation: tt-blink 0.75s step-end infinite;
}
[data-theme="dark"] .typing-title .tt-cursor { background: #818cf8; }
@keyframes tt-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.typing-title .tt-char { display: inline; opacity: 0; animation: tt-fadein 0.06s forwards; }
@keyframes tt-fadein { to { opacity: 1; } }

/* ============================================================
   CV DROPDOWN
   ============================================================ */
.cv-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.cv-chevron {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.cv-dropdown-wrapper.open .cv-chevron {
    transform: rotate(180deg);
}

.cv-dropdown-menu {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 180px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.50);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.cv-dropdown-wrapper.open .cv-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.cv-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    text-decoration: none;
    transition: background 0.15s ease;
}

.cv-dropdown-item:hover {
    background: rgba(37,99,235,0.08);
    color: #2563eb;
}

.cv-dropdown-item i {
    width: 16px;
    text-align: center;
    color: #2563eb;
    font-size: 0.9rem;
}
