/* ============================================
   ROOT & COLOR VARIABLES
   ============================================ */

:root {
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --secondary-color: #6c5ce7;
    --secondary-dark: #5f3dc4;
    
    /* Light Mode */
    --bg-light: #ffffff;
    --bg-secondary-light: #f8f9fa;
    --text-light: #1a1a1a;
    --text-secondary-light: #555555;
    --border-light: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    
    /* Dark Mode */
    --bg-dark: #0d1117;
    --bg-secondary-dark: #161b22;
    --text-dark: #e6edf3;
    --text-secondary-dark: #8b949e;
    --border-dark: #30363d;
    --shadow-dark: rgba(0, 0, 0, 0.5);
}

/* Default: Light Mode */
body {
    --bg: var(--bg-light);
    --bg-secondary: var(--bg-secondary-light);
    --text: var(--text-light);
    --text-secondary: var(--text-secondary-light);
    --border: var(--border-light);
    --shadow: var(--shadow-light);
}

/* Dark Mode */
body.dark-mode {
    --bg: var(--bg-dark);
    --bg-secondary: var(--bg-secondary-dark);
    --text: var(--text-dark);
    --text-secondary: var(--text-secondary-dark);
    --border: var(--border-dark);
    --shadow: var(--shadow-dark);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease, background-image 0.3s ease;
    
    /* Subtle background grid pattern for light mode */
    background-image: 
        radial-gradient(at 0% 0%, rgba(108, 92, 231, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 212, 255, 0.03) 0px, transparent 50%),
        linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

body.dark-mode {
    /* Glowing grid pattern for dark mode */
    background-image: 
        radial-gradient(at 20% 20%, rgba(108, 92, 231, 0.12) 0px, transparent 50%),
        radial-gradient(at 80% 80%, rgba(0, 212, 255, 0.12) 0px, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-logo a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(22, 27, 34, 0.45);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px var(--shadow);
}

body:not(.dark-mode) .theme-toggle {
    background-color: rgba(255, 255, 255, 0.85);
}

.theme-toggle:hover {
    background-color: var(--border);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow);
}

.theme-icon {
    font-size: 1.1rem;
}

.theme-text {
    font-weight: 500;
}

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

.hero {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 20px;
    min-height: 600px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.greeting {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.name-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.hero-profile-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-profile-card {
    background: var(--bg-secondary);
    padding: 35px 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 15px 40px var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
    max-width: 420px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-profile-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px var(--shadow);
}

.profile-avatar-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.25);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-profile-card:hover .profile-avatar-wrapper {
    transform: scale(1.05) rotate(3deg);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.4);
}

.profile-info {
    width: 100%;
}

.profile-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.25rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}

.profile-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.profile-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

body:not(.dark-mode) .profile-info-list li {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.profile-info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.profile-value {
    color: var(--text);
    font-size: 0.9rem;
    text-align: right;
}

.profile-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.profile-value a:hover {
    color: var(--secondary-color);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   HIGHLIGHTS SECTION
   ============================================ */

.highlights {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, transparent 100%);
}

.highlights h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.highlight-card {
    padding: 40px;
    border-radius: 15px;
    background: var(--bg);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}

.highlight-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px var(--shadow);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.highlight-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.highlight-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-large {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.cta-section .btn-large:hover {
    background: white;
    color: var(--secondary-color);
}

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

.about-section {
    padding: 60px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h1 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 20px auto 0;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.avatar-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    border: 3px solid var(--primary-color);
}

.avatar {
    width: 100%;
    height: auto;
    display: block;
}

.info-card {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-list li {
    display: flex;
    gap: 10px;
    font-size: 0.95rem;
}

.info-label {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 70px;
}

.info-value {
    color: var(--text);
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-block {
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 1px solid var(--border);
}

.about-block h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-block ul {
    list-style: none;
    padding-left: 0;
}

.about-block li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.about-block li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.objectives-list,
.approach-list,
.activities-list {
    list-style: none;
}

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

.skill-item {
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow);
}

.skill-category {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.skill-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

.projects-section {
    padding: 60px 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px var(--shadow);
}

.project-header {
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
}

.project-number {
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.2;
    position: absolute;
    right: 20px;
    top: 20px;
}

.project-header h3 {
    font-size: 1.3rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

.project-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-body p {
    color: var(--text-secondary);
}

.project-details ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.project-details li {
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.project-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.project-tags {
    padding: 0 25px 25px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-color);
    color: var(--bg);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-buttons {
    display: flex;
    gap: 15px;
    padding: 0 25px 25px;
    margin-top: auto;
}

.project-buttons .btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ============================================
   PROJECT DETAIL PAGE STYLES
   ============================================ */

.project-detail {
    padding: 40px 20px;
}

.project-detail-header {
    max-width: 1000px;
    margin: 0 auto 60px auto;
}

.back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.project-detail-header h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text);
}

.project-detail-content {
    max-width: 1000px;
    margin: 0 auto;
}

.detail-section {
    margin-bottom: 60px;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 1px solid var(--border);
}

.detail-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.detail-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.objectives-list,
.strategies-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.objective-item,
.strategy-item,
.issue-card,
.practice-item,
.guideline-item {
    padding: 20px;
    background: var(--bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.objective-item h4,
.strategy-item h4,
.issue-card h4,
.practice-item h4,
.guideline-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.objective-item p,
.strategy-item p,
.issue-card p,
.practice-item p,
.guideline-item p {
    color: var(--text-secondary);
}

.concepts-grid,
.criteria-grid,
.tools-detailed,
.practices-grid,
.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.concept-card,
.criteria-item,
.practice-item {
    padding: 25px;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.concept-card:hover,
.criteria-item:hover,
.practice-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px var(--shadow);
    transform: translateY(-3px);
}

.concept-card h4,
.criteria-item h4,
.practice-item h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.concept-card p,
.criteria-item p,
.practice-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.issue-card {
    padding: 20px;
    background: linear-gradient(135deg, var(--bg), var(--bg-secondary));
    border-left: 4px solid var(--secondary-color);
}

.issue-card h4 {
    color: var(--secondary-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tool-item {
    padding: 20px;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

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

.tool-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.tool-item h4 {
    color: var(--text);
    margin-bottom: 8px;
}

.tool-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.commands-table,
.citation-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.command-row,
.citation-item {
    padding: 20px;
    background: var(--bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.command-row code,
.citation-item code {
    background: var(--bg-secondary);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.command-row p,
.citation-item p {
    color: var(--text-secondary);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.step {
    padding: 30px 20px;
    background: var(--bg);
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.step:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step h4 {
    color: var(--text);
    margin-bottom: 10px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.examples-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.example-item {
    padding: 20px;
    background: var(--bg);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.example-item h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.example-item p {
    color: var(--text-secondary);
    font-style: italic;
}

.outcomes-list {
    list-style: none;
    padding: 0;
}

.outcomes-list li {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: var(--bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    color: var(--text-secondary);
}

.outcomes-list li::before {
    content: '✓ ';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

.back-button {
    margin-top: 60px;
    text-align: center;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    display: inline-block;
}

.project-action {
    padding: 15px 25px 0 25px;
    text-align: center;
}

.prompt-guide,
.education-section,
.environmental-section,
.future-questions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guide-item,
.edu-item,
.question-item {
    padding: 20px;
    background: var(--bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.guide-item h4,
.edu-item h4,
.question-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.guide-item p,
.question-item p {
    color: var(--text-secondary);
}

.edu-item ul {
    list-style: none;
    padding-left: 0;
    color: var(--text-secondary);
}

.edu-item li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.edu-item li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.tool-detailed-item {
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg);
    border-radius: 8px;
}

.tool-detailed-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.tool-detailed-item ul {
    list-style: none;
    padding: 0;
}

.tool-detailed-item li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
}

.tool-detailed-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.ip-section,
.environmental-section {
    color: var(--text-secondary);
}

.ip-section h4,
.environmental-section h4 {
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.ip-section ul,
.environmental-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.ip-section li,
.environmental-section li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.ip-section li::before,
.environmental-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.resources-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.resource-item {
    padding: 20px;
    background: var(--bg);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.resource-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.resource-item ul {
    list-style: none;
    padding: 0;
}

.resource-item li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
}

.resource-item li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.projects-summary {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    color: white;
}

.projects-summary h2 {
    margin-bottom: 20px;
}

/* ============================================
   SUMMARY SECTION
   ============================================ */

.summary-section {
    padding: 60px 20px;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.overview-box {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg));
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary-color);
}

.overview-box h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.overview-box p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.key-points h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.point-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

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

.point-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.point-card h4 {
    color: var(--text);
    margin-bottom: 10px;
}

.point-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.learning-outcomes h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.outcome-item {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.outcome-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.outcome-item ul {
    list-style: none;
}

.outcome-item li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
}

.outcome-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.projects-overview h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.overview-text {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.projects-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-overview-item {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.project-overview-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.project-badge {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    line-height: 45px;
    font-weight: bold;
    margin-bottom: 10px;
}

.project-overview-item h4 {
    color: var(--text);
    margin-bottom: 8px;
}

.project-overview-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.future-direction h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.future-direction p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

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

.future-item {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg));
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.future-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.future-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.achievement-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
}

.achievement-box h2 {
    margin-bottom: 40px;
    font-size: 2rem;
}

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

.stat {
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
}

.conclusion {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary-color);
}

.conclusion h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.conclusion p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.contact-box {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg));
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border);
    text-align: center;
}

.contact-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-box p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.email-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.email-link:hover {
    background: var(--primary-color);
    color: white;
}

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

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

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

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        min-height: auto;
        gap: 40px;
    }

    .name-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-left {
        position: static;
        top: auto;
    }

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

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

    .nav-menu {
        gap: 15px;
        font-size: 0.9rem;
    }

    .section-header h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn-large {
        width: 100%;
    }

    .points-grid {
        grid-template-columns: 1fr;
    }

    .outcomes-list {
        grid-template-columns: 1fr;
    }

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

    .future-items {
        grid-template-columns: 1fr;
    }

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

    /* Project Detail Responsive */
    .project-detail-header h1 {
        font-size: 1.8rem;
    }

    .concepts-grid,
    .criteria-grid,
    .practices-grid,
    .issues-grid {
        grid-template-columns: 1fr;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
    }

    .resources-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .name-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .projects-overview-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================
   ORIENTATION SECTION (ABOUT ME THREE CARDS)
   ============================================ */

.orientation-section {
    padding: 80px 20px;
    position: relative;
}

.orientation-header {
    text-align: left;
    margin-bottom: 50px;
}

.orientation-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.orientation-header h1 .gradient-text {
    background: linear-gradient(90deg, #00d4ff, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.orientation-header .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
}

.orientation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.orientation-card {
    background: rgba(22, 27, 34, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* For light mode card style adaptation */
body:not(.dark-mode) .orientation-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.orientation-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.15);
}

body:not(.dark-mode) .orientation-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.10);
}

.card-icon-container {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05);
}

body:not(.dark-mode) .card-icon-container {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 1.8rem;
}

.orientation-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.orientation-card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
}

.orientation-card p strong {
    color: var(--text);
    font-weight: 600;
}

.logo-icon {
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 5px;
}

@media (max-width: 992px) {
    .orientation-grid {
        grid-template-columns: 1fr 1fr;
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .projects-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .orientation-grid {
        grid-template-columns: 1fr;
    }
    .orientation-header h1 {
        font-size: 2.2rem;
    }
}

/* ============================================
   PROJECT CARD & DETAIL PAGE ACTIONS
   ============================================ */

.project-buttons {
    display: flex;
    gap: 12px;
    padding: 0 25px 25px;
    margin-top: auto;
}

.project-buttons .btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.project-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.25);
    border: none;
}

.project-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 212, 255, 0.35);
}

.project-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text);
}

body:not(.dark-mode) .project-buttons .btn-secondary {
    background: rgba(0, 0, 0, 0.02);
}

.project-buttons .btn-secondary:hover {
    background: var(--border);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.showcase-area {
    margin: 30px 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(22, 27, 34, 0.45);
    backdrop-filter: blur(8px);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease;
}

body:not(.dark-mode) .showcase-area {
    background: rgba(0, 0, 0, 0.02);
}

.showcase-area:hover {
    border-color: var(--primary-color);
}

/* ============================================
   LESSONS GRID AND CARD STYLES
   ============================================ */
.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.lesson-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lesson-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px var(--shadow);
}

.lesson-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.lesson-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.lesson-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
