:root {
    /* Mondragon Data Services Official Brand Colors */
    --brand-primary: #11111E;        /* Azul Escuro Principal */
    --brand-secondary: #2B2B35;      /* Azul Escuro Secundário */
    --brand-dark: #19181D;           /* Preto */
    --brand-light: #F6F4F5;          /* Branco/Cinza Claro */
    
    /* Applied Colors */
    --primary-color: #2B2B35;
    --secondary-color: #11111E;
    --accent-color: #4A5568;         /* Cinza médio derivado */
    --text-color: #E8E6E7;           /* Texto claro sobre escuro */
    --text-dark: #19181D;            /* Texto escuro sobre claro */
    --bg-color: #11111E;             /* Fundo principal */
    --card-bg: #2B2B35;              /* Fundo dos cards */
    --white: #F6F4F5;                /* Branco da marca */
    --border-color: #3A3A45;         /* Bordas sutis */
    
    --font-family: 'Segoe UI Variable', 'Segoe UI', Arial, Helvetica, sans-serif;
    --heading-font: 'Segoe UI Variable', 'Segoe UI', Arial, Helvetica, sans-serif;
    
    /* Light Mode - Para áreas específicas */
    --light-bg: #F6F4F5;
    --light-card-bg: #FFFFFF;
    --light-text: #19181D;
    --light-text-secondary: #2B2B35;
    --light-border: #D8D6D7;
    
    /* Status Colors - Ajustados para harmonia com a marca */
    --success-color: #27AE60;
    --warning-color: #F39C12;
    --info-color: #5A6C84;
    --neutral-color: #6B7280;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

/* Header */
.header {
    background-color: var(--card-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--border-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 80px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
    font-family: var(--font-family);
}

.nav-link:hover {
    color: var(--white);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(43, 43, 53, 0.3) 0%, transparent 70%);
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(43, 43, 53, 0.5));
}


.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-family: var(--heading-font);
    background: linear-gradient(to right, var(--white), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #E0E0E0;
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 43, 53, 0.4);
}

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

.btn-secondary:hover {
    background-color: rgba(43, 43, 53, 0.1);
    transform: translateY(-2px);
}

/* About/Profile Section */
.about-section {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.profile-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.profile-photo {
    flex-shrink: 0;
}

.profile-photo img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(43, 43, 53, 0.4);
}

.profile-content {
    flex: 1;
}

.profile-name {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: var(--heading-font);
}

.profile-title {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.profile-location,
.profile-experience {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.profile-bio {
    color: var(--text-color);
    line-height: 1.8;
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.profile-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.profile-link {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.profile-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 43, 53, 0.4);
}

@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-photo img {
        width: 200px;
        height: 200px;
    }
    
    .profile-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Services */
.services {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--white);
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(43, 43, 53, 0.3);
    border-color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-family: var(--heading-font);
}

.service-card p {
    color: #B0B0B0;
}

/* Contact */
.contact {
    background-color: var(--card-bg);
    padding: 6rem 0;
    text-align: center;
    border-top: 2px solid var(--border-color);
}

.contact-subtitle {
    margin-bottom: 3rem;
    font-size: 1.15rem;
    color: #B0B0B0;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-card,
.contact-info-card {
    background: var(--bg-color);
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.contact-card-title {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: var(--heading-font);
    font-weight: 700;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    color: #B0B0B0;
    margin-bottom: 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--card-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #5A6C84;
    box-shadow: 0 0 0 3px rgba(90, 108, 132, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #606068;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-input.input-error,
.form-textarea.input-error {
    border-color: #E74C3C;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.field-error {
    display: block;
    color: #E74C3C;
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

/* Submit Button */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3A3A45 0%, #2B2B35 100%);
    color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #4A4A55 0%, #3A3A45 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    border-color: #5A6C84;
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Feedback */
.form-feedback {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    animation: fadeSlideIn 0.4s ease;
}

.form-success {
    background: rgba(39, 174, 96, 0.12);
    color: #27AE60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.form-error {
    background: rgba(231, 76, 60, 0.12);
    color: #E74C3C;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Info Card */
.contact-info-text {
    color: #B0B0B0;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border-radius: 0.75rem;
    border: 1.5px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.contact-info-item:hover {
    border-color: #5A6C84;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(90, 108, 132, 0.12);
    border-radius: 0.625rem;
    color: #8A9AB5;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    background: rgba(90, 108, 132, 0.22);
    color: var(--white);
}

.contact-info-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-info-label {
    font-size: 0.75rem;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.contact-info-value {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
}

.contact-decoration {
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.decoration-line {
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--border-color), #5A6C84, var(--border-color));
    opacity: 0.5;
}

/* Contact Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 2rem 1.5rem;
    }

    .contact {
        padding: 4rem 0;
    }
}

/* Footer */
.footer {
    background-color: #050812;
    color: #808080;
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

/* Language Switcher */
.language-form select {
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 2px solid #333;
    padding: 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-family: var(--font-family);
}

.language-form select:hover {
    border-color: var(--primary-color);
}
/* Blog Styles */
.blog-header {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.blog-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #E0E0E0;
    margin-top: 1rem;
}

.blog-posts {
    padding: 4rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.post-card {
    background: var(--card-bg);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(43, 43, 53, 0.3);
    border-color: var(--primary-color);
}

.post-card-content {
    padding: 2rem;
}

.post-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    text-decoration: none;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-category:hover {
    background: var(--secondary-color);
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--heading-font);
}

.post-title a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

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

.post-excerpt {
    color: #B0B0B0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #808080;
    margin-bottom: 1.5rem;
}

.no-posts {
    text-align: center;
    color: #B0B0B0;
    font-size: 1.1rem;
    padding: 3rem 0;
}

/* Blog Post Detail */
.blog-post-detail {
    padding: 4rem 0;
}

.post-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--card-bg);
}

.post-content {
    color: #E0E0E0;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-footer {
    padding-top: 2rem;
    border-top: 2px solid var(--card-bg);
}

.category-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Videos Styles */
.videos-header {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.videos-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #E0E0E0;
    margin-top: 1rem;
}

.videos-content {
    padding: 4rem 0;
}

.video-categories {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    justify-content: center;
}

.category-chip {
    padding: 0.5rem 1.5rem;
    background: var(--card-bg);
    color: var(--text-color);
    border-radius: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-chip:hover,
.category-chip.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.video-card {
    background: var(--card-bg);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(43, 43, 53, 0.3);
    border-color: var(--primary-color);
}

.video-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card-content {
    padding: 1.5rem;
}

.video-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.video-category:hover {
    background: var(--secondary-color);
}

.video-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: var(--heading-font);
}

.video-title a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

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

.video-description {
    color: #B0B0B0;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.video-meta {
    font-size: 0.875rem;
    color: #808080;
}

.no-videos {
    text-align: center;
    color: #B0B0B0;
    font-size: 1.1rem;
    padding: 3rem 0;
}

/* Video Detail */
.video-detail {
    padding: 4rem 0;
}

.video-player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    margin-bottom: 3rem;
}

.video-info .video-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.video-info .video-description {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.video-info .video-description h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.related-videos {
    margin-bottom: 3rem;
}

.related-videos h2 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.video-footer {
    padding-top: 2rem;
    border-top: 2px solid var(--card-bg);
}

/* Projects Styles */
.projects-header {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F4F8 100%);
    color: var(--light-text);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--light-border);
}

.projects-header .section-title {
    color: var(--light-text);
}

.projects-subtitle {
    font-size: 1.1rem;
    color: var(--light-text-secondary);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.projects-content {
    padding: 4rem 0;
    background: var(--light-bg);
}

.project-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    justify-content: center;
}

.filter-chip {
    padding: 0.6rem 1.5rem;
    background: var(--light-card-bg);
    color: var(--light-text-secondary);
    border-radius: 2rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid var(--light-border);
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-chip:hover {
    background: var(--light-bg);
    color: var(--accent-soft);
    border-color: var(--accent-soft);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filter-chip.active {
    background: var(--accent-soft);
    color: var(--white);
    border-color: var(--accent-soft);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.25);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-card {
    background: var(--light-card-bg);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid var(--light-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-soft);
}

.project-image {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    overflow: hidden;
    background: linear-gradient(135deg, #F5F7FA 0%, #E8EDF2 100%);
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 3.5rem;
    opacity: 0.2;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card-content {
    padding: 1.75rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-category {
    display: inline-block;
    background: var(--light-bg);
    color: var(--accent-soft);
    padding: 0.3rem 0.85rem;
    border-radius: 0.35rem;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--light-border);
    letter-spacing: 0.3px;
}

.project-category:hover {
    background: var(--accent-soft);
    color: var(--white);
    border-color: var(--accent-soft);
}

.project-status {
    padding: 0.35rem 0.85rem;
    border-radius: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-planning {
    background: #FFF4E5;
    color: #E67E22;
    border: 1px solid #F39C12;
}

.status-progress {
    background: #E8F4FD;
    color: #2980B9;
    border: 1px solid #3498DB;
}

.status-completed {
    background: #E8F8F0;
    color: #229954;
    border: 1px solid #27AE60;
}

.status-hold {
    background: #F4F4F4;
    color: #7F8C8D;
    border: 1px solid #95A5A6;
}

.project-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-family: var(--heading-font);
    line-height: 1.4;
}

.project-title a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.2s;
}

.project-title a:hover {
    color: var(--accent-soft);
}

.project-description {
    color: var(--light-text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-badge {
    padding: 0.35rem 0.8rem;
    background: #F0F7FF;
    color: #4A90E2;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    border: 1px solid #D6E9FF;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tech-badge:hover {
    background: #E3F2FF;
    border-color: #4A90E2;
}

.project-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--light-text-secondary);
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px solid var(--light-border);
}

.no-projects {
    text-align: center;
    color: var(--light-text-secondary);
    font-size: 1.1rem;
    padding: 4rem 0;
    background: var(--light-card-bg);
    border-radius: 0.75rem;
    border: 1px dashed var(--light-border);
}

/* Project Detail */
.project-detail {
    padding: 4rem 0;
    background: var(--light-bg);
}

.project-detail-header {
    margin-bottom: 3rem;
    background: var(--light-card-bg);
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--light-border);
}

.project-detail-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.project-detail-title {
    font-size: 2.5rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.project-info-bar {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    border: 1px solid var(--light-border);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.info-label {
    font-size: 0.8rem;
    color: var(--light-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-value {
    color: var(--light-text);
    font-weight: 600;
    font-size: 1.05rem;
}

.project-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-actions .btn span {
    margin-right: 0.5rem;
}

.project-detail-image {
    margin-bottom: 3rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--light-border);
}

.project-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-detail-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 968px) {
    .project-detail-content {
        grid-template-columns: 1fr;
    }
}

.project-main-content {
    background: var(--light-card-bg);
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--light-border);
}

.project-main-content h2 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-soft);
}

.project-main-content .project-description {
    color: var(--light-text);
    line-height: 1.8;
}

.project-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-section {
    background: var(--light-card-bg);
    padding: 1.75rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--light-border);
}

.sidebar-section h3 {
    color: var(--light-text);
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.info-list strong {
    color: var(--light-text-secondary);
    font-size: 0.9rem;
}

.related-projects {
    margin-bottom: 3rem;
}

.related-projects h2 {
    color: var(--light-text);
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.project-footer {
    padding-top: 2rem;
    text-align: center;
}

