/* =========================
   General
========================= */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #222;
    background-color: #fafafa;
}

/* =========================
   Navigation
========================= */

nav {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 60px;

    background-color: rgba(255, 255, 255, 0.95);

    border-bottom: 1px solid #eee;

    backdrop-filter: blur(10px);

}

/* Logo */

.logo {
    font-size: 24px;

    font-weight: bold;

    letter-spacing: -0.5px;

}

/* Navigation Links */

.nav-links {
    display: flex;

    gap: 30px;

}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.language-btn {
    padding: 0;
    border: none;
    background: none;
    color: #999;
    font-size: 13px;
    cursor: pointer;
}

.language-btn.active {
    color: #222;
    font-weight: 600;
}

.language-btn:hover {
    color: #222;
}

.nav-links a {
    position: relative;

    text-decoration: none;

    color: #333;

    font-size: 15px;

    transition: color 0.2s;

}

/* Hover */
.nav-links a:hover {
    color: #000;
}

/* =========================
   Navigation Dropdown
========================= */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-button {
    position: relative;
    padding: 0;
    border: none;
    background: none;
    color: #333;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
}

.nav-dropdown-button:hover {
    color: #000;
}

.nav-dropdown-button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background-color: #222;
    transition: width 0.2s;
}

.nav-dropdown-button.active {
    color: #000;
    font-weight: 600;
}

.nav-dropdown-button.active::after {
    width: 100%;
}

.nav-dropdown-button > span:last-child {
    margin-left: 3px;
    font-size: 11px;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;

    min-width: 210px;
    margin-top: 12px;
    padding: 8px 0;

    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;

    padding: 10px 18px;

    color: #444;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #000;
}

/* Active Navigation */

.nav-links a.active {
    color: #000;
    font-weight: 600;
}


/* Underline animation */

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 1px;

    background-color: #222;

    transition: width 0.2s;

}


/* Hover + Active */

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* =========================
   Hero Section
   ========================= */

.hero {
    min-height: calc(100vh - 70px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 90px 20px 110px;
    max-width: 1100px;
    margin: auto;
}

.hero img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
    margin-bottom: 30px;
    border: 4px solid #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Small professional label */

.hero-eyebrow {
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #888;
}

/* Main name */

.hero h1 {
    font-size: 64px;
    margin: 0 0 15px;
    letter-spacing: -2px;
    line-height: 1.1;
}

/* Current position */

.hero h2 {
    font-size: 30px;
    font-weight: 500;
    margin: 0 0 25px;
    color: #444;
    line-height: 1.3;
}

/* Professional introduction */

.hero-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    color: #777;
    line-height: 1.8;
}

/* Skill tags */

.hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 800px;
    margin-top: 28px;
}

.hero-tags > span {
    padding: 8px 13px;
    background-color: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    transition:
        background-color 0.2s,
        color 0.2s,
        transform 0.2s;
}

.hero-tags > span:hover {
    background-color: #222;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero buttons */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 35px;
}

.hero-button {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    transition:
        transform 0.2s,
        background-color 0.2s,
        box-shadow 0.2s;
}

.hero-button.primary {
    background-color: #222;
    color: #ffffff;
}

.hero-button.primary:hover {
    background-color: #444;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.hero-button.secondary {
    background-color: #ffffff;
    color: #222;
    border: 1px solid #ddd;
}

.hero-button.secondary:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

/* =========================
   Sections
========================= */

section {
    max-width: 900px;

    margin: auto;

    padding: 100px 20px;

    scroll-margin-top: 80px;
}

h2 {
    font-size: 36px;

    margin-bottom: 30px;

    letter-spacing: -0.5px;
}

p {
    line-height: 1.8;
}

/* =========================
   Experience Timeline
   ========================= */

.timeline {
    position: relative;
    margin-top: 50px;
    padding-left: 190px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 155px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e5e5e5;
}

.timeline-item {
    position: relative;
    padding-bottom: 65px;
}

.timeline-item:last-child {
    padding-bottom: 10px;
}

/* Timeline Year */

.timeline-year {
    position: absolute;
    left: -190px;
    top: 0;
    width: 135px;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    line-height: 1.5;
}

/* Timeline Dot */

.timeline-item::before {
    content: "";
    position: absolute;
    left: -41px;
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border: 2px solid #999;
    border-radius: 50%;
    box-sizing: border-box;
    box-shadow: 0 0 0 5px #fafafa;
    transition:
        background-color 0.3s,
        border-color 0.3s,
        transform 0.3s;
}

/* Current Position */

.timeline-item.current::before {
    background-color: #222;
    border-color: #222;
    transform: scale(1.2);
}

.timeline-item.current .timeline-year {
    color: #222;
}

/* Timeline Content */

.timeline-content {
    max-width: 800px;
}

.timeline-content h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.35;
}

.timeline-content h4 {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 500;
    color: #777;
}

.timeline-content p {
    margin: 0 0 18px;
    color: #666;
    line-height: 1.7;
}

.timeline-content ul {
    margin: 0;
    padding-left: 20px;
}

.timeline-content li {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.6;
}

/* =========================
   Skills
========================= */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}


.skill-group {
    padding: 35px;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}


.skill-group:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Title */

.skill-group h3 {
    margin: 0 0 12px;
    font-size: 24px;
}

/* Description */

.skill-group p {
    margin-bottom: 25px;
    color: #777;
    line-height: 1.6;
}

/* Skill List */

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-list span {
    padding: 7px 11px;

    background-color: #f7f7f7;
    border-radius: 5px;
    font-size: 12px;
    color: #555;
}

/* =========================
   Certifications & Training
========================= */

.certifications-intro {
    max-width: 700px;
    margin-bottom: 40px;
    color: #666;
    line-height: 1.8;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.certification-card {
    padding: 28px;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.25s,
        box-shadow 0.25s,
        border-color 0.25s;
}

.certification-card:hover {
    transform: translateY(-4px);
    border-color: #ddd;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.certification-card h3 {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 1.4;
}

.certification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.certification-item {
    position: relative;
    padding-left: 18px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.certification-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    background-color: #999;
    border-radius: 50%;
}

/* =========================
   Projects
   ========================= */

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}


/* =========================
   Project Card
   ========================= */

.project-card {
    position: relative;
    padding: 35px;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.25s,
        box-shadow 0.25s,
        border-color 0.25s;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: #ddd;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.10);
}


/* =========================
   Featured Project Label
   ========================= */

.featured-label {
    display: inline-block;
    position: relative;
    z-index: 10;

    margin-bottom: 12px;
    padding: 5px 9px;

    background-color: #222;
    color: #ffffff;

    border-radius: 4px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;

    line-height: 1.2;
}


/* =========================
   Featured Projects
   ========================= */

.featured-project {
    grid-column: 1 / -1;
    padding: 40px;
    border-color: #ddd;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.featured-project .project-category {
    color: #555;
}

.featured-project h3 {
    font-size: 30px;
    margin-bottom: 18px;
}

.featured-project p {
    font-size: 16px;
    max-width: 750px;
}

.featured-project .project-tags {
    margin-top: 30px;
}


/* =========================
   Regular Projects
   ========================= */

.project-card:not(.featured-project) {
    padding: 28px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.project-card:not(.featured-project) h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.project-card:not(.featured-project) p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-card:not(.featured-project) .project-category {
    margin-bottom: 12px;
}

/* Project Category */

.project-category {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.5px;
    color: #888;
}


/* Project Title */

.project-card h3 {
    margin: 0 0 15px;
    font-size: 24px;
    line-height: 1.3;
}


/* Project Description */

.project-card p {
    margin: 0 0 25px;
    color: #666;
    line-height: 1.7;
}


/* Project Tags */

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.project-tags span {
    padding: 6px 10px;
    background-color: #f7f7f7;
    border-radius: 5px;
    font-size: 12px;
    color: #666;
}


/* =========================
   Education & Awards
========================= */

.education-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin-top: 50px;
}


/* Section Titles */

.education-column h3,
.awards-column h3 {
    font-size: 22px;
    margin-bottom: 30px;
    color: #222;
}


/* =========================
   Education
========================= */

.education-item {
    padding: 28px 30px;
    margin-bottom: 25px;

    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
}

.education-content h4 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.4;
    color: #222;
}

.education-content p {
    margin: 5px 0;
    color: #777;
    font-size: 15px;
    line-height: 1.6;
}

.education-status {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 9px;

    background-color: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 4px;

    font-size: 11px;
    color: #666;
}


/* =========================
   Awards
========================= */

.awards-list {
    display: flex;
    flex-direction: column;
}

.award-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;

    padding: 22px 25px;
    margin-bottom: 15px;

    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
}

.award-year {
    font-size: 13px;
    font-weight: 600;
    color: #888;
}

.award-item h4 {
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.4;
    color: #222;
}

.award-item p {
    margin: 0;

    font-size: 14px;
    line-height: 1.6;

    color: #777;
}


/* Highlight Major Achievements */

.award-item:first-child h4,
.award-item:nth-child(2) h4 {
    font-weight: 600;
}

.award-item:first-child .award-year,
.award-item:nth-child(2) .award-year {
    color: #222;
}


/* =========================
   Hobbies & Interests
========================= */

#hobbies {
    margin-top: 100px;
}

.hobbies-list {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 40px;
}

.hobby-item {
    padding: 35px 25px;

    background-color: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 10px;

    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hobby-item:hover {
    transform: translateY(-6px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hobby-icon {
    font-size: 38px;

    margin-bottom: 18px;
}

.hobby-item h3 {
    margin-bottom: 12px;

    font-size: 18px;

    color: #222;
}

.hobby-item p {
    margin: 0;

    color: #666;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================
   Contact
========================= */

.contact-intro {
    color: #666;
    margin-bottom: 40px;
}


/* Contact Grid */

.contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


/* Contact Card */

.contact-item {
    padding: 25px;

    background-color: #ffffff;

    border: 1px solid #eee;
    border-radius: 12px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);

    min-height: 130px;
    box-sizing: border-box;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.contact-item:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.08);

    border-color: #ddd;
}


/* Contact Title */

.contact-title {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 15px;
}


.contact-title img {
    width: 24px;
    height: 24px;

    object-fit: contain;

    flex-shrink: 0;
}


.contact-title h3 {
    margin: 0;

    font-size: 20px;
    font-weight: 600;

    color: #222;
}


/* Contact Information */

.contact-item p {
    margin: 8px 0;

    font-size: 15px;
    line-height: 1.6;

    color: #666;
}


/* Contact Links */

.contact-item a {
    color: #333;

    text-decoration: none;

    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}


.contact-item a:hover {
    color: #000;

    text-decoration: underline;
}

/* =========================
   Scroll Animation
========================= */

.hidden {
    opacity: 0;

    transform: translateY(40px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.show {
    opacity: 1;

    transform: translateY(0);
}

/* =========================
   About
   ========================= */

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-top: 50px;
    align-items: start;
}

.about-text {
    max-width: 650px;
}

.about-intro {
    font-size: 22px;
    line-height: 1.6;
    color: #333;
    margin-top: 0;
    margin-bottom: 25px;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.about-card {
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.25s,
        box-shadow 0.25s,
        border-color 0.25s;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: #ddd;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.about-number {
    display: block;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #222;
}

.about-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.about-card p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 1.6;
}

/* =========================
   Footer
========================= */

footer {
    margin-top: 100px;

    padding: 45px 20px;

    background-color: #222;

    color: #ffffff;

    text-align: center;
}


.footer-content {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 25px;

    margin-bottom: 25px;
}


.footer-content p {
    margin: 0;

    font-size: 14px;

    color: #bbbbbb;
}

.footer-content a {
    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}


.footer-content a:hover {
    opacity: 0.6;

    text-decoration: underline;
}


.back-to-top {
    display: inline-block;

    padding: 10px 18px;

    border: 1px solid #555;

    border-radius: 6px;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.back-to-top:hover {
    background-color: #333;

    border-color: #777;

    transform: translateY(-2px);
}

/* =========================
   Theme Toggle
========================= */

.theme-toggle {
    border: none;
    background: none;

    padding: 2px;
    margin-left: 8px;

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    line-height: 1;

    cursor: pointer;

    border-radius: 50%;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        opacity 0.2s ease;
}

.theme-toggle:hover {
    background-color: #f2f2f2;
    transform: rotate(15deg);
}

body.dark-mode .theme-toggle:hover {
    background-color: #292929;
}

.theme-toggle:hover {
    transform: scale(1.1);
    opacity: 0.75;
}


/* =========================
   Dark Mode
========================= */

body.dark-mode {
    background-color: #111;
    color: #eee;
}

body.dark-mode nav {
    background-color: #111;
    border-bottom-color: #2a2a2a;
}

body.dark-mode .logo {
    color: #fff;
}

body.dark-mode .nav-links a {
    color: #ccc;
}

body.dark-mode .nav-links a:hover {
    color: #fff;
}

body.dark-mode .nav-dropdown-button {
    color: #ccc;
}

body.dark-mode .nav-dropdown-button:hover {
    color: #fff;
}

body.dark-mode .nav-dropdown-menu {
    background-color: #1b1b1b;
    border-color: #333;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

body.dark-mode .nav-dropdown-menu a {
    color: #ccc;
}

body.dark-mode .nav-dropdown-menu a:hover {
    background-color: #2a2a2a;
    color: #fff;
}

body.dark-mode section {
    background-color: #111;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
    color: #fff;
}

body.dark-mode p {
    color: #ccc;
}

body.dark-mode .project-card,
body.dark-mode .skill-group,
body.dark-mode .contact-item,
body.dark-mode .timeline-item {
    background-color: #1a1a1a;
    border-color: #2d2d2d;
}

body.dark-mode .project-card p,
body.dark-mode .skill-group p {
    color: #bbb;
}

body.dark-mode .nav-dropdown-button.active {
    color: #fff;
}

body.dark-mode .language-btn {
    color: #777;
}

body.dark-mode .language-btn.active {
    color: #fff;
}

body.dark-mode footer {
    background-color: #0b0b0b;
    color: #aaa;
}

/* =========================
   Dark Mode - Additional Elements
========================= */

/* Hero */

body.dark-mode .hero-eyebrow {
    color: #888;
}

body.dark-mode .hero h2 {
    color: #ccc;
}

body.dark-mode .hero-description {
    color: #aaa;
}

body.dark-mode .hero img {
    border-color: #333;
}

body.dark-mode .hero-tags span {
    background-color: #1c1c1c;
    border-color: #333;
    color: #bbb;
}

body.dark-mode .hero-tags span:hover {
    background-color: #fff;
    color: #111;
}


/* Hero Buttons */

body.dark-mode .hero-button.primary {
    background-color: #fff;
    color: #111;
}

body.dark-mode .hero-button.primary:hover {
    background-color: #ddd;
}

body.dark-mode .hero-button.secondary {
    background-color: #1a1a1a;
    color: #eee;
    border-color: #444;
}

body.dark-mode .hero-button.secondary:hover {
    background-color: #252525;
}


/* Experience */

body.dark-mode .timeline::before {
    background-color: #333;
}

body.dark-mode .timeline-item::before {
    background-color: #111;
    border-color: #777;
    box-shadow: 0 0 0 5px #111;
}

body.dark-mode .timeline-item.current::before {
    background-color: #fff;
    border-color: #fff;
}

body.dark-mode .timeline-content h4 {
    color: #999;
}

body.dark-mode .timeline-content p,
body.dark-mode .timeline-content li {
    color: #aaa;
}


/* Skills */

body.dark-mode .skill-group {
    background-color: #1a1a1a;
    border-color: #2d2d2d;
}

body.dark-mode .skill-group p {
    color: #999;
}

body.dark-mode .skill-list span {
    background-color: #242424;
    color: #bbb;
}


/* Certifications */

body.dark-mode .certifications-intro {
    color: #999;
}

body.dark-mode .certification-card {
    background-color: #1a1a1a;
    border-color: #2d2d2d;
}

body.dark-mode .certification-item {
    color: #aaa;
}

body.dark-mode .certification-item::before {
    background-color: #777;
}


/* Projects */

body.dark-mode .project-card {
    background-color: #1a1a1a;
    border-color: #2d2d2d;
}

body.dark-mode .project-card .project-category {
    color: #999;
}

body.dark-mode .project-card p {
    color: #aaa;
}

body.dark-mode .project-tags span {
    background-color: #242424;
    color: #bbb;
}

body.dark-mode .featured-project {
    border-color: #444;
}

body.dark-mode .featured-project .project-category {
    color: #aaa;
}

body.dark-mode .featured-label {
    background-color: #fff;
    color: #111;
}

body.dark-mode .project-links a {
    background-color: #1a1a1a;
    border-color: #444;
    color: #eee;
}

body.dark-mode .project-links a:hover {
    background-color: #252525;
    border-color: #666;
    color: #fff;
}

/* Education */

body.dark-mode .education-column h3,
body.dark-mode .awards-column h3 {
    color: #fff;
}

body.dark-mode .education-item {
    background-color: #1e1e1e;
    border-color: #333;
}

body.dark-mode .education-content h4 {
    color: #fff;
}

body.dark-mode .education-content p {
    color: #999;
}

body.dark-mode .education-status {
    background-color: #242424;
    border-color: #333;
    color: #aaa;
}


/* Awards */

body.dark-mode .award-item {
    background-color: #1e1e1e;
    border-color: #333;
}

body.dark-mode .award-year {
    color: #999;
}

body.dark-mode .award-item h4 {
    color: #fff;
}

body.dark-mode .award-item p {
    color: #999;
}


/* Hobbies */

body.dark-mode .hobby-item {
    background-color: #1a1a1a;
    border-color: #2d2d2d;
}

body.dark-mode .hobby-item h3 {
    color: #fff;
}

body.dark-mode .hobby-item p {
    color: #999;
}


/* About */

body.dark-mode .about-intro {
    color: #ddd;
}

body.dark-mode .about-text p {
    color: #aaa;
}

body.dark-mode .about-card {
    background-color: #1a1a1a;
    border-color: #2d2d2d;
}

body.dark-mode .about-number {
    color: #fff;
}

body.dark-mode .about-card h3 {
    color: #fff;
}

body.dark-mode .about-card p {
    color: #999;
}


/* Contact */

body.dark-mode .contact-intro {
    color: #999;
}

body.dark-mode .contact-item {
    background-color: #1a1a1a;
    border-color: #2d2d2d;
}

body.dark-mode .contact-title h3 {
    color: #fff;
}

body.dark-mode .contact-item p {
    color: #aaa;
}

body.dark-mode .contact-item a {
    color: #ddd;
}

body.dark-mode .contact-item a:hover {
    color: #fff;
}


/* Footer */

body.dark-mode .footer-content p {
    color: #999;
}

body.dark-mode .back-to-top {
    border-color: #555;
    color: #fff;
}

body.dark-mode .back-to-top:hover {
    background-color: #222;
    border-color: #777;
}

/* =========================
   Project Links
========================= */

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.project-links a {
    display: inline-block;

    padding: 9px 16px;

    border: 1px solid #cbd2d9;
    border-radius: 7px;

    background: #ffffff;
    color: #344054;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.project-links a:hover {
    background: #f4f6f8;
    border-color: #98a2b3;
    color: #1f2933;

    transform: translateY(-1px);
}


/* =========================
   Responsive
========================= */

@media (max-width: 600px) {

    /* =========================
       Navigation
       ========================= */

    nav {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .language-switch {
        gap: 6px;
    }

    .theme-toggle {
        width: 23px;
        height: 23px;
        margin-left: 6px;
        font-size: 15px;
    }

    /* =========================
       Hero
       ========================= */

    .hero {
        min-height: auto;
        padding: 80px 20px 100px;
    }

    .hero img {
        width: 130px;
        height: 130px;
        margin-bottom: 25px;
    }

    .hero-eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
        margin-bottom: 15px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-tags {
        gap: 8px;
        margin-top: 22px;
    }

    .hero-tags span {
        font-size: 12px;
        padding: 7px 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-button {
        width: 220px;
        box-sizing: border-box;
        text-align: center;
    }

    /* Projects */

    .projects {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .project-card {
        padding: 28px;
    }

    .project-card h3 {
        font-size: 22px;
    }

    .project-card p {
        font-size: 15px;
    }


    /* Certifications */

    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .certification-card {
        padding: 25px;
    }

    .certification-card h3 {
        font-size: 19px;
    }

    .certification-item {
        font-size: 14px;
    }


    /* =========================
    Experience - Mobile
    ========================= */

    .timeline {
        padding-left: 30px;
        margin-top: 40px;
    }

    .timeline::before {
        left: 5px;
    }

    .timeline-item {
        padding-bottom: 45px;
    }

    .timeline-item::before {
        left: -30px;
    }

    .timeline-item.current::before {
        transform: scale(1.2);
    }

    .timeline-year {
        position: static;
        width: auto;
        text-align: left;
        margin-bottom: 10px;
        font-size: 14px;
    }

    .timeline-content {
        max-width: none;
    }

    .timeline-content h3 {
        font-size: 21px;
    }

    .timeline-content h4 {
        font-size: 14px;
    }

    .timeline-content p {
        font-size: 15px;
    }

    .timeline-content li {
        font-size: 14px;
    }

        /* =========================
       Education & Awards
    ========================= */

    .education-container {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-top: 35px;
    }

    .education-column h3,
    .awards-column h3 {
        font-size: 21px;
        margin-bottom: 25px;
    }


    /* Education */

    .education-item {
        padding-bottom: 28px;
        margin-bottom: 28px;
    }

    .education-content h4 {
        font-size: 18px;
    }

    .education-content p {
        font-size: 14px;
    }

    .education-status {
        font-size: 11px;
    }


    /* Awards */

    .award-item {
        grid-template-columns: 45px 1fr;
        gap: 15px;

        padding-bottom: 22px;
        margin-bottom: 22px;
    }

    .award-year {
        font-size: 12px;
    }

    .award-item h4 {
        font-size: 16px;
    }

    .award-item p {
        font-size: 14px;
    }


        /* Hobbies & Interests */

    #hobbies {
        margin-top: 70px;
    }

    .hobbies-list {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-top: 30px;
    }

    .hobby-item {
        padding: 30px 20px;
    }

    .hobby-icon {
        font-size: 34px;

        margin-bottom: 15px;
    }

    .hobby-item h3 {
        font-size: 17px;
    }

    .hobby-item p {
        font-size: 14px;

        line-height: 1.6;
    }

    /* Contact */

    .contact-list {
        grid-template-columns: 1fr;
    }

    .contact-item {
        min-height: auto;
        padding: 25px;
    }
    footer {
        margin-top: 70px;
        padding: 40px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 25px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 35px;
    }

    .about-intro {
        font-size: 19px;
    }

    .about-text p {
        font-size: 15px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-card {
        padding: 22px;
    }

    .about-number {
        font-size: 26px;
    }

    .about-card h3 {
        font-size: 18px;
    }

}
