/* =============================================
   Clinical Cyberpunk Theme - Portfolio Styles
   ============================================= */

/* CSS Variables */
:root {
    --bg-primary: #0b0c10;
    --bg-secondary: #1f2833;
    --text-primary: #c5c6c7;
    --text-light: #ffffff;
    --accent-teal: #66fcf1;
    --accent-teal-dark: #45a29e;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-light);
}

p {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
}

/* Utility Classes */
.text-teal {
    color: #66fcf1;
}

/* =============================================
   Status Bar
   ============================================= */
.status-bar {
    width: 100%;
    background-color: #000000;
    color: #66fcf1;
    border-bottom: 1px solid rgba(102, 252, 241, 0.3);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-align: center;
    padding: 1px 0;
    letter-spacing: 1.5px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1031;
    text-transform: uppercase;
}

.blink {
    animation: blink-pulse 1.5s ease-in-out infinite;
    margin-right: 5px;
}

@keyframes blink-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* =============================================
   Navbar Styles
   ============================================= */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    top: 0; /* Status bar is now sticky, navbar follows naturally */
}

.navbar .container {
    display: flex;
    align-items: center;
}

.glass-nav {
    background: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 252, 241, 0.1);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.nav-link {
    color: var(--text-primary) !important;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    margin-left: 1.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-teal) !important;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border-color: var(--accent-teal);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(102, 252, 241, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =============================================
   Hero Section
   ============================================= */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 0 1rem;
    padding-left: 10%;
    max-width: 600px;
}

.hero-content h1 {
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(102, 252, 241, 0.3);
}

.typed-wrapper {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

#typed-text {
    font-weight: 700;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem;
}

.tag {
    background: rgba(102, 252, 241, 0.1);
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--accent-teal);
    color: var(--bg-primary);
}

/* =============================================
   Mission Bio Section
   ============================================= */
#mission-bio {
    padding: 80px 0;
    background-color: #0b0c10;
}

.bio-photo {
    border-radius: 20px;
    border: 2px solid #66fcf1;
    box-shadow: 15px 15px 0px rgba(69, 162, 158, 0.2);
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.bio-photo:hover {
    filter: grayscale(0%);
    box-shadow: 10px 10px 0px #66fcf1;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.bio-signature {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.signature-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background: var(--accent-teal);
}

/* =============================================
   Section Styles
   ============================================= */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

/* =============================================
   Project Cards
   ============================================= */
.project-card {
    background: #1f2833;
    border: 1px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: #66fcf1;
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.2);
}

.project-card .card-img-top {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-card .card-body {
    padding: 1.5rem;
}

.project-label {
    display: inline-block;
    background: rgba(102, 252, 241, 0.1);
    color: var(--accent-teal);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card .card-title {
    font-size: 1.25rem;
    margin-top: 0.75rem;
}

.project-card .card-text {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.methodology-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(102, 252, 241, 0.05) 100%);
    border: 1px solid rgba(102, 252, 241, 0.2);
}

/* =============================================
   Vault Section
   ============================================= */
#vault {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.vault-card {
    background: var(--bg-primary);
    border: 1px solid rgba(102, 252, 241, 0.2);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.vault-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.15);
}

.vault-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vault-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.vault-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.vault-badge {
    display: inline-block;
    background: var(--accent-teal);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* =============================================
   Bento Grid
   ============================================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-item {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(102, 252, 241, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.bento-item:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.1);
}

.bento-mentor {
    grid-column: span 2;
}

.bento-mentor img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.bento-chess {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bento-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.bento-award {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bento-award-featured {
    border-color: var(--accent-teal) !important;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(102, 252, 241, 0.1) 100%);
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.2);
}

.bento-award-featured .bento-icon {
    font-size: 2.5rem;
    animation: pulse-heart 1.5s ease-in-out infinite;
}

@keyframes pulse-heart {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.bento-award h5 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.bento-award p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.bento-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(102, 252, 241, 0.1) 100%);
}

.decoration-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    opacity: 0.5;
}

.bento-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.bento-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* =============================================
   Journey Timeline (Circuit Board)
   ============================================= */
#journey {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.circuit-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #1f2833;
    top: 0;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item.timeline-left {
    left: 0;
    text-align: right;
    padding-right: 60px;
}

.timeline-item.timeline-right {
    left: 50%;
    text-align: left;
    padding-left: 60px;
}

.timeline-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-teal-dark);
    border-radius: 50%;
    top: 30px;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.5);
}

.timeline-left .timeline-node {
    right: -10px;
}

.timeline-right .timeline-node {
    left: -10px;
}

.timeline-card {
    background: var(--bg-primary);
    border: 1px solid var(--accent-teal-dark);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 35px;
    width: 40px;
    height: 3px;
    background: var(--accent-teal-dark);
    transition: all 0.3s ease;
}

.timeline-left .timeline-card::before {
    right: -40px;
}

.timeline-right .timeline-card::before {
    left: -40px;
}

.timeline-year {
    display: inline-block;
    background: rgba(102, 252, 241, 0.1);
    color: var(--accent-teal);
    padding: 4px 12px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.timeline-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-primary);
}

/* Highlighted 2025 Timeline Node */
.timeline-node-highlight {
    background: var(--accent-teal) !important;
    border-color: var(--accent-teal) !important;
    box-shadow: 0 0 20px var(--accent-teal), 0 0 40px rgba(102, 252, 241, 0.3) !important;
    animation: pulse-glow 2s ease-in-out infinite;
}

.timeline-card-highlight {
    border-color: var(--accent-teal) !important;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(102, 252, 241, 0.05) 100%) !important;
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.2);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px var(--accent-teal), 0 0 40px rgba(102, 252, 241, 0.3);
    }
    50% {
        box-shadow: 0 0 30px var(--accent-teal), 0 0 60px rgba(102, 252, 241, 0.5);
    }
}

/* Hover Effects */
.timeline-item:hover .timeline-node {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    box-shadow: 0 0 20px var(--accent-teal);
}

.timeline-item:hover .timeline-card {
    border-color: var(--accent-teal);
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.2);
}

.timeline-item:hover .timeline-card::before {
    background: var(--accent-teal);
    box-shadow: 0 0 10px var(--accent-teal);
}

/* Responsive Timeline */
@media (max-width: 767.98px) {
    .circuit-line {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 60px !important;
        padding-right: 20px !important;
    }
    
    .timeline-node {
        left: 10px !important;
        right: auto !important;
    }
    
    .timeline-card::before {
        left: -40px !important;
        right: auto !important;
    }
}

/* =============================================
   Footer
   ============================================= */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(102, 252, 241, 0.1);
}

footer p {
    color: var(--text-primary);
    font-size: 0.9rem;
}

footer .attribution {
    font-size: 0.7rem;
    opacity: 0.7;
}

footer .attribution a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer .attribution a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* =============================================
   Responsive Styles
   ============================================= */
@media (max-width: 991.98px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-mentor {
        grid-column: span 2;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .typed-wrapper {
        font-size: 1.2rem;
    }
    
    .tag {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-mentor {
        grid-column: span 1;
    }
    
    .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }
}

/* =============================================
   Scrollbar Styling
   ============================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-teal-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-teal);
}

/* =============================================
   Selection Styling
   ============================================= */
::selection {
    background: var(--accent-teal);
    color: var(--bg-primary);
}

/* =============================================
   AOS Custom Animations
   ============================================= */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* =============================================
   Button Styles
   ============================================= */
.btn-outline-teal {
    border: 2px solid var(--accent-teal);
    color: var(--accent-teal);
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 1px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-teal:hover {
    background: var(--accent-teal);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.3);
}

/* =============================================
   Academic Appointments Section
   ============================================= */
#appointments {
    background-color: var(--bg-secondary);
}

.appointment-card {
    background: rgba(102, 252, 241, 0.05);
    border: 1px solid rgba(102, 252, 241, 0.2);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.appointment-card:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 0 30px rgba(102, 252, 241, 0.1);
    transform: translateY(-5px);
}

.appointment-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.appointment-content h4 {
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.appointment-content h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.appointment-content p {
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 0;
}

.appointment-badge {
    display: inline-block;
    background: rgba(102, 252, 241, 0.15);
    color: var(--accent-teal);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

/* =============================================
   Page Header (for secondary pages)
   ============================================= */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header .lead {
    color: var(--text-primary);
    font-size: 1.25rem;
}

/* =============================================
   Project Header (for project detail pages)
   ============================================= */
.project-header {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid rgba(102, 252, 241, 0.1);
}

.project-label-large {
    display: inline-block;
    background: rgba(102, 252, 241, 0.15);
    color: var(--accent-teal);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =============================================
   Teaching Cards
   ============================================= */
.teaching-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(102, 252, 241, 0.15);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.teaching-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-5px);
}

.teaching-badge {
    display: inline-block;
    background: rgba(102, 252, 241, 0.15);
    color: var(--accent-teal);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.teaching-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.teaching-role {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.teaching-institution {
    color: rgba(197, 198, 199, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* =============================================
   Volunteer Card
   ============================================= */
.volunteer-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(102, 252, 241, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.volunteer-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.volunteer-content h4 {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.volunteer-content h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.volunteer-period {
    color: var(--accent-teal);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
}

.volunteer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.volunteer-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.volunteer-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
}

/* =============================================
   Vault Detailed Cards
   ============================================= */
.vault-card-detailed {
    background: var(--bg-secondary);
    border: 1px solid rgba(102, 252, 241, 0.15);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.vault-card-detailed:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 0 40px rgba(102, 252, 241, 0.1);
}

.vault-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vault-card-detailed h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.vault-card-detailed h5 {
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.vault-description {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.7;
    flex-grow: 1;
}

.vault-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-tag {
    background: rgba(102, 252, 241, 0.1);
    color: var(--accent-teal);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-family: 'Montserrat', sans-serif;
}

.vault-citation {
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--accent-teal);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 10px 10px 0;
}

.citation-text {
    font-size: 0.8rem;
    color: var(--text-primary);
    margin-bottom: 0;
    line-height: 1.6;
}

.citation-text em {
    color: var(--accent-teal);
}

.vault-badge-large {
    display: inline-block;
    background: rgba(102, 252, 241, 0.15);
    color: var(--accent-teal);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
}

/* =============================================
   Skills Section
   ============================================= */
.skill-category {
    background: var(--bg-secondary);
    border: 1px solid rgba(102, 252, 241, 0.15);
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
}

.skill-category h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(102, 252, 241, 0.08);
    border: 1px solid rgba(102, 252, 241, 0.3);
    color: var(--text-primary);
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(102, 252, 241, 0.15);
    color: var(--accent-teal);
    border-color: var(--accent-teal);
}

/* =============================================
   Project Detail Page Styles
   ============================================= */
.project-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.project-meta-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(102, 252, 241, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(102, 252, 241, 0.1);
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-label {
    color: rgba(197, 198, 199, 0.7);
    font-size: 0.85rem;
}

.meta-value {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
}

.bg-dark-alt {
    background-color: var(--bg-secondary);
}

/* Method Cards */
.method-card {
    background: var(--bg-primary);
    border: 1px solid rgba(102, 252, 241, 0.15);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    position: relative;
}

.method-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--accent-teal);
    color: var(--bg-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.method-card h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.method-card p {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0;
}

/* Contribution Cards */
.contribution-card {
    background: var(--bg-secondary);
    border: 1px solid rgba(102, 252, 241, 0.15);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.contribution-card:hover {
    border-color: var(--accent-teal);
}

.contribution-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contribution-card h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.contribution-card p {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0;
    flex-grow: 1;
}

/* Citation Card */
.citation-card {
    background: var(--bg-primary);
    border: 1px solid rgba(102, 252, 241, 0.2);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.citation-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.citation-full {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.citation-full strong {
    color: var(--accent-teal);
}

.citation-full em {
    color: var(--accent-teal);
    font-style: italic;
}

.citation-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* =============================================
   Responsive Adjustments for New Components
   ============================================= */
@media (max-width: 991.98px) {
    .page-header,
    .project-header {
        padding: 140px 0 60px;
    }
    
    .volunteer-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .volunteer-list li {
        text-align: left;
    }
    
    .citation-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .appointment-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .page-header h1,
    .project-header h1 {
        font-size: 2rem;
    }
}
