@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* =========================================================
   GLOBAL THEME
========================================================= */

:root {
    --bg: #0b1220;
    --bg-alt: #111827;
    --bg-soft: #162033;
    --card: #172235;
    --card-soft: rgba(255, 255, 255, 0.045);

    --text: #f8fafc;
    --text2: #cbd5e1;
    --muted: #94a3b8;

    --primary: #38bdf8;
    --primary-dark: #0284c7;
    --secondary: #818cf8;

    --border: rgba(148, 163, 184, 0.16);
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
}

body.light {
    --bg: #f4f7fb;
    --bg-alt: #eaf0f7;
    --bg-soft: #ffffff;
    --card: #ffffff;
    --card-soft: rgba(255, 255, 255, 0.8);

    --text: #0f172a;
    --text2: #334155;
    --muted: #64748b;

    --primary: #0284c7;
    --primary-dark: #0369a1;
    --secondary: #4f46e5;

    --border: rgba(15, 23, 42, 0.09);
    --shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    transition: background 0.4s ease, color 0.4s ease;
}

section {
    padding: 100px 8%;
    position: relative;
}

section:nth-of-type(even) {
    background: var(--bg-alt);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 55px;
    color: var(--text);
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 55px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* =========================================================
   NAVBAR
========================================================= */

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(11, 18, 32, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

body.light header {
    background: rgba(255,255,255,0.88);
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text2);
    transition: 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-btn {
    width: 35px;
    height: 28px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 5px;
    transition: 0.35s;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
}

.menu-btn.active span:nth-child(2) {
    display: none;
}

.theme-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    cursor: pointer;
    font-size: 17px;
    transition: 0.3s;
}

.theme-btn:hover {
    transform: rotate(180deg);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 10% 100px;
    gap: 70px;
    background:
        radial-gradient(circle at 15% 20%, rgba(56,189,248,0.10), transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(129,140,248,0.10), transparent 30%),
        var(--bg);
}

.hero-content {
    flex: 1;
}

.hero h3 {
    color: var(--primary);
    font-size: 1.2rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin: 8px 0;
}

.hero h2 {
    color: var(--primary);
    margin: 10px 0;
}

.hero p {
    margin: 20px 0;
    line-height: 1.8;
    color: var(--text2);
    max-width: 650px;
}

.hero-image img {
    width: 350px;
    border-radius: 30px;
    border: 1px solid rgba(56,189,248,0.25);
    box-shadow: 0 0 45px rgba(56,189,248,0.18);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.secondary {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(56,189,248,0.18);
}

.socials {
    margin-top: 25px;
}

.socials a {
    color: var(--text2);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: 0.3s;
}

.socials a:hover {
    color: var(--primary);
}

/* =========================================================
   ABOUT
========================================================= */

.about-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.about-text p {
    color: var(--text2);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: linear-gradient(145deg, var(--card), var(--bg-soft));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 35px;
    text-align: center;
    transition: 0.35s;
    box-shadow: var(--shadow);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.stat-card h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-card span {
    color: var(--text2);
    font-size: 0.95rem;
}

/* =========================================================
   SKILLS
========================================================= */

#skills {
    background:
        radial-gradient(circle at 10% 20%, rgba(56,189,248,0.05), transparent 25%),
        var(--bg-alt);
}

.skills-intro {
    max-width: 750px;
    margin: -20px auto 50px;
    text-align: center;
}

.skills-intro h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

.skills-intro p {
    line-height: 1.8;
    color: var(--text2);
}

.skills-category-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.skill-category-card {
    position: relative;
    display: flex;
    gap: 25px;
    padding: 30px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: 0.3s;
    overflow: hidden;
}

.skill-category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--skill-color);
}

.skill-category-card:hover {
    transform: translateY(-7px);
    border-color: var(--skill-color);
}

.skill-category-card:nth-child(1) { --skill-color: #38bdf8; }
.skill-category-card:nth-child(2) { --skill-color: #818cf8; }
.skill-category-card:nth-child(3) { --skill-color: #22c55e; }
.skill-category-card:nth-child(4) { --skill-color: #f59e0b; }
.skill-category-card:nth-child(5) { --skill-color: #14b8a6; }
.skill-category-card:nth-child(6) { --skill-color: #f472b6; }

.skill-icon {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: color-mix(in srgb, var(--skill-color) 12%, transparent);
    color: var(--skill-color);
    font-size: 23px;
}

.skill-category-content {
    flex: 1;
}

.skill-category-content h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: var(--text);
}

.skill-category-content p {
    margin-bottom: 18px;
    line-height: 1.6;
    font-size: 14px;
    color: var(--muted);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    padding: 6px 11px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--skill-color) 10%, transparent);
    color: var(--skill-color);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid color-mix(in srgb, var(--skill-color) 20%, transparent);
}

.skill-status {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.skill-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: skillPulse 2s infinite;
}

@keyframes skillPulse {
    0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* =========================================================
   GITHUB
========================================================= */

.github-container {
    display: flex;
    justify-content: center;
}

.github-card {
    width: 100%;
    max-width: 700px;
    padding: 40px;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--card), var(--bg-soft));
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow);
}

.github-card h3 {
    color: var(--primary);
    margin-bottom: 30px;
}

.github-stat {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

/* =========================================================
   PROJECTS
========================================================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text2);
    padding: 11px 23px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: #06111d;
    border-color: var(--primary);
}

.project-card {
    background: var(--card);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.35s;
    border: 1px solid var(--border);
    height: 100%;
    box-shadow: var(--shadow);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.4s;
}

.project-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-content h3 {
    color: var(--text);
    margin-bottom: 15px;
}

.project-content p {
    color: var(--text2);
    line-height: 1.8;
    margin: 20px 0;
    flex: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-stack span {
    background: rgba(56,189,248,0.08);
    color: var(--primary);
    border: 1px solid rgba(56,189,248,0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.project-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.project-content .btn {
    align-self: flex-start;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(56,189,248,0.45);
    box-shadow: 0 18px 40px rgba(56,189,248,0.12);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card.hide {
    display: none;
}

/* =========================================================
   CERTIFICATIONS
========================================================= */

#certifications {
    background: var(--bg-alt);
    padding: 100px 8%;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.certificate-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    transition: 0.4s;
    text-align: center;
    box-shadow: var(--shadow);
}

.certificate-card:hover {
    transform: translateY(-10px);
    border-color: #f59e0b;
    box-shadow: 0 15px 35px rgba(245,158,11,0.12);
}

.certificate-card::before {
    content: "🏆";
    display: block;
    font-size: 3rem;
    margin-bottom: 15px;
}

.certificate-card h3 {
    color: var(--text);
    margin-bottom: 15px;
}

.certificate-card p {
    color: var(--text2);
    margin-bottom: 10px;
    line-height: 1.6;
}

/* =========================================================
   EDUCATION
========================================================= */

#education {
    background: var(--bg);
}

#education .about-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.education-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: linear-gradient(145deg, var(--card), var(--bg-soft));
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 18px;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.education-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.education-logo {
    min-width: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.education-logo img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 10px;
}

.education-content {
    flex: 1;
}

.education-content h3 {
    margin-bottom: 8px;
    color: var(--text);
}

.university-name {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.location {
    color: var(--muted);
    margin-bottom: 20px;
}

.education-content ul {
    padding-left: 20px;
}

.education-content li {
    color: var(--text2);
    line-height: 1.8;
}

#education .about-card {
    position: relative;
    border-left: 4px solid var(--secondary);
    background: var(--card);
    box-shadow: var(--shadow);
}

#education h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

#education p {
    color: var(--text2);
    line-height: 1.8;
}

#education::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 160px;
    bottom: 50px;
    width: 2px;
    background: rgba(56,189,248,0.12);
}

/* =========================================================
   VOLUNTEERING
========================================================= */

.volunteer {
    background: var(--bg-alt);
}

.volunteer h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text);
}

.section-description {
    text-align: center;
    color: var(--text2);
    margin: 15px auto 50px;
}

.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.volunteer-card {
    background: var(--card);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.volunteer-card:hover {
    transform: translateY(-10px);
    border-color: #14b8a6;
}

.volunteer-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.volunteer-content {
    padding: 25px;
}

.volunteer-content h3 {
    color: #14b8a6;
    margin-bottom: 10px;
}

.volunteer-role {
    color: var(--text2);
    font-size: 14px;
    margin-bottom: 12px;
}

.volunteer-content p {
    color: var(--text2);
    line-height: 1.6;
}

.volunteer-date {
    display: inline-block;
    margin-top: 20px;
    background: rgba(20,184,166,0.12);
    color: #2dd4bf;
    border: 1px solid rgba(20,184,166,0.2);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

/* =========================================================
   LATEST UPDATES / NOTICE BOARD
========================================================= */

#latest-updates {
    background: var(--bg);
    padding: 90px 6%;
}

.notice-board {
    position: relative;
    max-width: 1100px;
    min-height: 430px;
    margin: 50px auto 30px;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(135deg, #172554 0%, #0f172a 55%, #172033 100%);
    border: 1px solid rgba(56,189,248,0.18);
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.notice-board::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(56,189,248,0.18);
    border-radius: 18px;
    pointer-events: none;
}

.notice-content {
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    min-height: 430px;
    padding: 50px 70px;
}

.notice-image {
    width: 100%;
    max-width: 430px;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.notice-text {
    padding-left: 45px;
}

.notice-category {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 14px;
    border-radius: 30px;
    background: var(--primary);
    color: #06111d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.notice-date {
    display: block;
    margin-bottom: 10px;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 600;
}

.notice-text h2 {
    margin: 0 0 15px;
    font-size: 32px;
    line-height: 1.2;
    color: white;
}

.notice-text p {
    max-width: 500px;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.8;
}

.notice-read-more {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.notice-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #0369a1;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transform: translateY(-50%);
    transition: 0.3s;
}

.notice-arrow:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.08);
}

.notice-prev { left: 18px; }
.notice-next { right: 18px; }

.notice-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.notice-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #64748b;
    cursor: pointer;
    transition: 0.3s;
}

.notice-dot.active {
    width: 25px;
    border-radius: 10px;
    background: var(--primary);
}

.notice-archive {
    text-align: center;
    margin-top: 35px;
}

/* =========================================================
   CONTACT
========================================================= */

#contact {
    background:
        radial-gradient(circle at 50% 0%, rgba(56,189,248,0.08), transparent 35%),
        var(--bg-alt);
}

.contact-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 35px;
}

.contact-intro h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.contact-subtitle {
    font-size: 18px;
    color: var(--text2);
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #4ade80;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.15);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    animation: contactPulse 2s infinite;
}

@keyframes contactPulse {
    0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.contact-message {
    max-width: 600px;
    margin: 18px auto 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
}

.contact-form {
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
    color: var(--text);
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56,189,248,0.08);
}

#form-status {
    margin-top: 15px;
    color: var(--primary);
    font-weight: 600;
    text-align: center;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #070d18;
    padding: 70px 8% 20px;
    border-top: 1px solid var(--border);
}

body.light .footer {
    background: #0f172a;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr 1fr;
    gap: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.footer-column p,
.footer-column li {
    color: #94a3b8;
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin: 12px 0;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-org {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    background: #111827;
    padding: 10px;
    border-radius: 10px;
}

.footer-org img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 3px;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: #111827;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.social-icons a:hover {
    background: var(--primary);
    color: #06111d;
}

.footer hr {
    margin: 40px 0 20px;
    border: none;
    height: 1px;
    background: #1e293b;
}

.copyright {
    text-align: center;
    color: #64748b;
}

/* =========================================================
   JOURNEY / TIMELINE
========================================================= */

#journey,
.full-journey {
    background: var(--bg-alt);
}

.journey-preview,
.timeline-page {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
}

.journey-preview::before,
.timeline-page::before {
    content: "";
    position: absolute;
    width: 3px;
    background: linear-gradient(var(--primary), var(--secondary));
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
}

.journey-item,
.timeline-box {
    position: relative;
    margin-bottom: 50px;
}

.journey-year {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: #06111d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.journey-content,
.timeline-card {
    width: 45%;
    background: var(--card);
    color: var(--text);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.journey-item:nth-child(even) .journey-content,
.timeline-box:nth-child(even) .timeline-card {
    margin-left: auto;
}

.journey-content img,
.timeline-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.journey-content p,
.timeline-card p {
    color: var(--text2);
    line-height: 1.7;
}

.journey-content a {
    color: var(--primary);
    font-weight: bold;
    text-decoration: none;
}

.timeline-point {
    position: absolute;
    left: 50%;
    width: 22px;
    height: 22px;
    background: var(--primary);
    border: 5px solid var(--bg-alt);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-card span {
    color: var(--primary);
    font-weight: bold;
}

.tags span {
    display: inline-block;
    background: rgba(56,189,248,0.08);
    color: var(--primary);
    border: 1px solid rgba(56,189,248,0.15);
    padding: 7px 12px;
    border-radius: 20px;
    margin: 5px;
    font-size: 13px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        gap: 40px;
    }

    .hero h1 {
        font-size: 3.3rem;
    }
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .skills-category-grid {
        grid-template-columns: 1fr;
    }

    #education::before {
        display: none;
    }
}

@media (max-width: 768px) {

    section {
        padding: 80px 5%;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 130px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        width: 260px;
    }

    .menu-btn {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: var(--bg);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px;
        transform: translateY(-150%);
        transition: 0.4s;
        opacity: 0;
        pointer-events: none;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .education-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .education-content ul {
        text-align: left;
    }

    .notice-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 560px;
        padding: 45px 45px 55px;
        text-align: center;
    }

    .notice-image {
        width: 100%;
        height: 210px;
        margin-bottom: 25px;
    }

    .notice-text {
        padding-left: 0;
    }

    .notice-text h2 {
        font-size: 23px;
    }

    .notice-text p {
        font-size: 14px;
    }

    .notice-arrow {
        width: 38px;
        height: 38px;
    }

    .notice-prev { left: 10px; }
    .notice-next { right: 10px; }

    .journey-preview::before,
    .timeline-page::before {
        left: 25px;
    }

    .journey-year {
        left: 25px;
        width: 60px;
        height: 60px;
        font-size: 14px;
    }

    .journey-content,
    .timeline-card {
        width: calc(100% - 75px);
        margin-left: 75px !important;
    }

    .timeline-point {
        left: 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo,
    .footer-org,
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 600px) {

    .section-title {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .skill-category-card {
        padding: 22px;
        gap: 17px;
    }

    .skill-icon {
        width: 48px;
        height: 48px;
        font-size: 19px;
    }

    .skill-category-content h3 {
        font-size: 18px;
    }

    .notice-content {
        min-height: 520px;
        padding: 35px 30px 50px;
    }

    .notice-image {
        height: 175px;
    }

    .notice-text h2 {
        font-size: 20px;
    }

    .notice-text p {
        font-size: 13px;
    }

    .certificate-grid,
    .volunteer-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    nav {
        padding: 16px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .btn {
        padding: 11px 20px;
    }

    .skill-category-card {
        flex-direction: column;
    }
}
