/* ============================================
   ELITE MECHATRONICS PORTFOLIO CSS
   Pure Black | Chrome Silver | Workshop Interactive
============================================ */

/* ============================================
   ROOT VARIABLES
============================================ */
:root {
    --pure-black: #000000;
    --dark-gray: #1A1A1A;
    --chrome-silver: #C0C0C0;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   BASE STYLES
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--pure-black);
    color: var(--chrome-silver);
    line-height: 1.6;
}

.bg-pure-black {
    background-color: var(--pure-black);
}

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

.text-chrome-silver {
    color: var(--chrome-silver);
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* ============================================
   NAVBAR - PROFESSIONAL ALIGNMENT (CR7 STYLE)
============================================ */
.navbar-elite {
    background: transparent;
    backdrop-filter: none;
    transition: all var(--transition-smooth);
    border-bottom: 1px solid transparent;
    padding: 1rem 0;
}

.navbar-elite.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom-color: rgba(192, 192, 192, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    padding: 0.75rem 0;
}

/* Navbar Container - Simple Flex Row */
.navbar-elite > div.container {
    max-width: 100%;
    padding: 0 2rem;
}

.navbar-flex-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

/* ============================================
   LOGO STYLING - FIXED LEFT POSITION
============================================ */
.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--chrome-silver);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.logo:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
}

.logo span {
    color: var(--chrome-silver);
    margin-left: 0.25rem;
    font-size: 1.5rem;
    display: inline-block;
}

/* Desktop Logo */
@media (min-width: 1024px) {
    .logo {
        font-size: 1.5rem;
        letter-spacing: 0.1em;
    }

    .logo span {
        font-size: 1.75rem;
        margin-left: 0.3rem;
    }
}

/* Tablet Logo */
@media (min-width: 768px) and (max-width: 1023px) {
    .logo {
        font-size: 1.3rem;
        letter-spacing: 0.08em;
    }

    .logo span {
        font-size: 1.4rem;
    }
}

/* Mobile Logo */
@media (max-width: 767px) {
    .logo {
        font-size: 1.125rem;
        letter-spacing: 0.05em;
    }

    .logo span {
        font-size: 1.25rem;
        margin-left: 0.2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
        letter-spacing: 0.05em;
    }

    .logo span {
        font-size: 1.125rem;
    }
}

/* ============================================
   DESKTOP NAVIGATION MENU - FLEX END
============================================ */
.navbar-desktop-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 2.5rem;
    flex-grow: 0;
    margin-left: auto;
}

@media (min-width: 768px) {
    .navbar-desktop-menu {
        display: flex;
        gap: 2rem;
    }

    @media (min-width: 1024px) {
        .navbar-desktop-menu {
            gap: 3rem;
        }
    }
}

.nav-link {
    color: rgba(192, 192, 192, 0.7);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.5rem;
    transition: color 0.3s ease;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-block;
}

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

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

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

/* ============================================
   MOBILE HAMBURGER BUTTON
============================================ */
.mobile-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.5rem;
    border-radius: 0.375rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--chrome-silver);
    transition: all 0.3s ease;
    z-index: 50;
    margin-left: auto;
}

.mobile-toggle-btn:hover {
    background: rgba(192, 192, 192, 0.1);
}

.mobile-toggle-btn:focus {
    outline: 2px solid rgba(192, 192, 192, 0.3);
    outline-offset: 2px;
}

.mobile-toggle-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2;
}

@media (min-width: 768px) {
    .mobile-toggle-btn {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .mobile-toggle-btn {
        padding: 0.375rem;
    }

    .mobile-toggle-btn svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* ============================================
   MOBILE MENU OVERLAY
============================================ */
#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    z-index: 40;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

#mobile-menu.hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

@media (min-width: 768px) {
    #mobile-menu {
        display: none !important;
        opacity: 0;
        visibility: hidden;
    }
}

/* ============================================
   MOBILE CLOSE BUTTON
============================================ */
.mobile-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.3);
    color: var(--chrome-silver);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    transition: all 0.3s ease;
    border-radius: 0.375rem;
}

.mobile-close-btn:hover {
    background: var(--chrome-silver);
    color: var(--pure-black);
    transform: translateY(-2px);
}

.mobile-close-btn:focus {
    outline: 2px solid rgba(192, 192, 192, 0.3);
    outline-offset: 2px;
}

.mobile-close-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2;
}

@media (max-width: 480px) {
    .mobile-close-btn {
        width: 40px;
        height: 40px;
        top: 1rem;
        right: 1rem;
    }

    .mobile-close-btn svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* ============================================
   MOBILE MENU LINKS CONTAINER
============================================ */
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

/* ============================================
   MOBILE MENU LINKS
============================================ */
.nav-link-mobile {
    color: rgba(192, 192, 192, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
    padding: 0.75rem 1rem;
    display: inline-block;
    font-size: 1.25rem;
}

.nav-link-mobile::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--chrome-silver);
    transition: width 0.3s ease;
}

.nav-link-mobile:hover {
    color: var(--chrome-silver);
}

.nav-link-mobile:hover::before {
    width: 0.75rem;
}

.nav-link-mobile:focus {
    outline: 2px solid rgba(192, 192, 192, 0.3);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

@media (max-width: 480px) {
    .nav-link-mobile {
        font-size: 1.125rem;
        padding: 0.5rem 0.75rem;
    }
}

/* ============================================
   HERO SECTION
============================================ */
.hero-section {
    padding-top: 6rem;
    padding-bottom: 3rem;
}

@media (min-width: 1024px) {
    .hero-section {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 5rem;
        padding-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 4rem;
        padding-bottom: 1.5rem;
    }
}

.hero-section > div.container {
    max-width: 100%;
}

.hero-section .grid {
    gap: 3rem;
}

@media (max-width: 1024px) {
    .hero-section .grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section .grid {
        gap: 1.5rem;
        grid-template-columns: 1fr !important;
    }
}

/* Hero Text Content */
.hero-section .space-y-8 {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-section .space-y-8 {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section .space-y-8 {
        gap: 1rem;
    }
}

/* Hero Name */
.hero-name {
    letter-spacing: -0.03em;
    text-shadow: 0 4px 30px rgba(192, 192, 192, 0.2);
    line-height: 1;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-name {
        font-size: 5.5rem;
    }
}

@media (min-width: 1280px) {
    .hero-name {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .hero-name {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
}

/* Hero Subtitle */
.hero-section > div > div > div > div > p:first-of-type {
    color: rgba(192, 192, 192, 0.7);
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}

@media (max-width: 480px) {
    .hero-section > div > div > div > div > p:first-of-type {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: var(--chrome-silver);
    margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
    .hero-divider {
        width: 60px;
        margin-bottom: 1rem;
    }
}

.specialization-text {
    color: var(--chrome-silver);
    line-height: 1.8;
    font-size: 1.125rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .specialization-text {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .specialization-text {
        font-size: 0.875rem;
        line-height: 1.5;
    }
}

/* Hero Description */
.hero-section > div > div > div > div > p:not(:first-of-type) {
    color: rgba(192, 192, 192, 0.7);
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .hero-section > div > div > div > div > p:not(:first-of-type) {
        font-size: 0.95rem;
        margin-top: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .hero-section > div > div > div > div > p:not(:first-of-type) {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-top: 0.75rem;
    }
}

/* ============================================
   BUTTONS - RESPONSIVE OVERHAUL
============================================ */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 2.5rem;
    width: 100%;
}

@media (max-width: 1024px) {
    .hero-buttons {
        gap: 1.25rem;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        gap: 1rem;
        margin-top: 1.5rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .hero-buttons {
        gap: 0.75rem;
        margin-top: 1rem;
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--chrome-silver);
    color: var(--pure-black);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .btn-primary {
        padding: 0.875rem 1.75rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 640px) {
    .btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.75rem;
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .btn-primary {
        padding: 0.75rem 1.25rem;
        font-size: 0.7rem;
        width: 100%;
    }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 192, 192, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--chrome-silver);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid var(--chrome-silver);
    transition: all 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    .btn-secondary {
        padding: 0.875rem 1.75rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 640px) {
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.75rem;
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.7rem;
        width: 100%;
    }
}

.btn-secondary:hover {
    background: var(--chrome-silver);
    color: var(--pure-black);
    transform: translateY(-2px);
}

/* ============================================
   PHOTO MASK - RESPONSIVE
============================================ */
.photo-mask-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .photo-mask-container {
        max-width: 450px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .photo-mask-container {
        max-width: 320px;
        margin: 2rem auto 0;
    }
}

@media (max-width: 480px) {
    .photo-mask-container {
        max-width: 250px;
        margin: 1.5rem auto 0;
    }
}

.photo-mask {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.05), rgba(192, 192, 192, 0.02));
    clip-path: polygon(20% 0%, 100% 0%, 100% 80%, 80% 100%, 0% 100%, 0% 20%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(192, 192, 192, 0.2);
    overflow: hidden;
}

.photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.photo-mask:hover .photo-image {
    transform: scale(1.05);
}

.photo-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.photo-placeholder svg {
    width: 100px;
    height: 100px;
}

@media (max-width: 480px) {
    .photo-placeholder {
        padding: 1.5rem;
    }

    .photo-placeholder svg {
        width: 70px;
        height: 70px;
    }

    .photo-placeholder p {
        font-size: 0.7rem !important;
    }
}

.photo-placeholder p {
    color: rgba(192, 192, 192, 0.4);
    font-size: 0.8rem;
    margin-top: 1rem;
    line-height: 1.4;
}

/* ============================================
   SECTION ELEMENTS
============================================ */
.section-title {
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--chrome-silver);
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--chrome-silver);
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(192, 192, 192, 0.03);
    border: 1px solid rgba(192, 192, 192, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(192, 192, 192, 0.05);
    border-color: rgba(192, 192, 192, 0.3);
    transform: translateY(-4px);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--chrome-silver);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: rgba(192, 192, 192, 0.7);
    font-weight: 600;
    text-transform: uppercase;
}

/* ============================================
   WORKSHOP CARDS (CLICKABLE)
============================================ */
.workshop-card {
    background: var(--dark-gray);
    border: 1px solid rgba(192, 192, 192, 0.15);
    padding: 2rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
}

.workshop-card:hover {
    background: rgba(26, 26, 26, 0.8);
    border-color: rgba(192, 192, 192, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.workshop-icon {
    width: 64px;
    height: 64px;
    background: rgba(192, 192, 192, 0.05);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--chrome-silver);
    transition: all 0.3s ease;
}

.workshop-card:hover .workshop-icon {
    background: rgba(192, 192, 192, 0.1);
    border-color: var(--chrome-silver);
}

.workshop-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--chrome-silver);
    margin-bottom: 0.5rem;
}

.workshop-desc {
    color: rgba(192, 192, 192, 0.6);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.workshop-detail {
    color: rgba(192, 192, 192, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1rem;
}

.workshop-click-hint {
    color: var(--chrome-silver);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.workshop-card:hover .workshop-click-hint {
    opacity: 1;
}

.workshop-card.coming-soon {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(100%);
}

.workshop-card.coming-soon .workshop-click-hint {
    display: none;
}

/* ============================================
   FILTER BUTTONS
============================================ */
.filter-container-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.filter-container {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 0.5rem 0;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar styling */
.filter-container::-webkit-scrollbar {
    height: 6px;
}

.filter-container::-webkit-scrollbar-track {
    background: rgba(192, 192, 192, 0.05);
    border-radius: 3px;
}

.filter-container::-webkit-scrollbar-thumb {
    background: rgba(192, 192, 192, 0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.filter-container::-webkit-scrollbar-thumb:hover {
    background: rgba(192, 192, 192, 0.5);
}

.filter-button {
    padding: 0.875rem 2rem;
    background: transparent;
    color: rgba(192, 192, 192, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid rgba(192, 192, 192, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button:hover {
    border-color: var(--chrome-silver);
    color: var(--chrome-silver);
}

.filter-button.active {
    background: var(--chrome-silver);
    color: var(--pure-black);
    border-color: var(--chrome-silver);
}

/* ============================================
   CERTIFICATE CARDS
============================================ */
.certificate-card {
    background: var(--dark-gray);
    border: 1px solid rgba(192, 192, 192, 0.15);
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.certificate-card:hover {
    background: rgba(26, 26, 26, 0.8);
    border-color: rgba(192, 192, 192, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8);
}

.certificate-card.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.certificate-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.3);
    color: var(--chrome-silver);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.certificate-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--chrome-silver);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.certificate-desc {
    color: rgba(192, 192, 192, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   CONTACT LINKS
============================================ */
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid rgba(192, 192, 192, 0.3);
    color: var(--chrome-silver);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--chrome-silver);
    color: var(--pure-black);
    transform: translateY(-2px);
}

/* ============================================
   WORKSHOP MODAL (WITH NEXT/PREV NAVIGATION)
============================================ */
.workshop-modal-container {
    background: var(--dark-gray);
    border: 1px solid rgba(192, 192, 192, 0.2);
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-smooth);
}

.modal-overlay.active .workshop-modal-container {
    transform: scale(1);
}

.workshop-modal-content {
    padding: 4rem 3rem 3rem;
}

.workshop-modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--chrome-silver);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.workshop-modal-category {
    color: rgba(192, 192, 192, 0.6);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.workshop-section {
    margin-bottom: 3rem;
}

.workshop-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--chrome-silver);
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);
}

.workshop-image-container {
    background: var(--pure-black);
    border: 1px solid rgba(192, 192, 192, 0.2);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    transition: opacity 0.4s ease;
}

.workshop-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.workshop-image:hover {
    transform: scale(1.02);
}

.workshop-video-container {
    background: var(--pure-black);
    border: 1px solid rgba(192, 192, 192, 0.2);
    padding: 2rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.workshop-description {
    color: rgba(192, 192, 192, 0.8);
    font-size: 1rem;
    line-height: 1.8;
}

/* Navigation Arrows */
.workshop-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.3);
    color: var(--chrome-silver);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.workshop-nav-arrow:hover {
    background: var(--chrome-silver);
    color: var(--pure-black);
}

.workshop-nav-prev {
    left: 1rem;
}

.workshop-nav-next {
    right: 1rem;
}

/* ============================================
   MODAL BASE (SHARED)
============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
    overflow-y: auto;
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 1rem;
    }
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--dark-gray);
    border: 1px solid rgba(192, 192, 192, 0.2);
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-smooth);
    border-radius: 0.5rem;
    padding: 2rem;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .modal-container {
        max-width: 100%;
        width: 100%;
        max-height: 95vh;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .modal-container {
        max-width: 100%;
        width: 100%;
        max-height: 95vh;
        padding: 1.5rem;
        border-radius: 0.25rem;
    }
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute !IMPORTANT;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.3);
    color: var(--chrome-silver);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 0.25rem;
}

@media (max-width: 480px) {
    .modal-close {
        width: 44px;
        height: 44px;
        top: 1rem;
        right: 1rem;
    }
}

.modal-close:hover {
    background: var(--chrome-silver);
    color: var(--pure-black);
    transform: translateY(-2px);
}

.modal-content {
    padding: 3rem;
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--chrome-silver);
    margin-bottom: 2rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .modal-title {
        font-size: 1.75rem;
        margin-bottom: 1.75rem;
    }
}

@media (max-width: 480px) {
    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }
}

/* TAB SYSTEM REMOVED */
/* Linear Modal Styles */
.modal-text-section {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 480px) {
    .modal-text-section {
        margin-bottom: 1.5rem;
    }
}


.modal-text {
    color: rgba(192, 192, 192, 0.8);
    font-size: 1rem;
    line-height: 1.8;
}

/* ============================================
   CERTIFICATE TAB NAVIGATION
============================================ */
.cert-tab-container {
    border-bottom: 2px solid rgba(192, 192, 192, 0.2);
    display: flex;
    justify-content: center;
}

.cert-tab-nav {
    display: flex;
    gap: 0;
    align-items: center;
}

.cert-tab-btn {
    padding: 1rem 2.5rem;
    background: transparent;
    color: rgba(192, 192, 192, 0.5);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cert-tab-btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cert-tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        letter-spacing: 0.08em;
    }
}

.cert-tab-btn:hover {
    color: rgba(192, 192, 192, 0.8);
}

.cert-tab-btn.active {
    color: var(--chrome-silver);
    border-bottom-color: var(--chrome-silver);
}

.cert-tab-content {
    display: none;
    opacity: 0;
    animation: fadeIn 0.4s ease-out forwards;
}

.cert-tab-content.active {
    display: block;
    opacity: 1;
}

/* ============================================
   DOCUMENTATION SECTION
============================================ */
.documentation-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.documentation-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.documentation-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--chrome-silver);
    text-transform: uppercase;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .documentation-title {
        font-size: 1.05rem;
        letter-spacing: 0.12em;
    }
}

@media (max-width: 480px) {
    .documentation-title {
        font-size: 1rem;
        letter-spacing: 0.1em;
        padding-bottom: 0.6rem;
    }
}

.documentation-image-container {
    background: var(--pure-black);
    border: 1px solid rgba(192, 192, 192, 0.2);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border-radius: 0.5rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .documentation-image-container {
        min-height: 350px;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .documentation-image-container {
        min-height: 300px;
        padding: 0.75rem;
    }
}

/* Image Carousel */
.image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.documentation-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.6s ease-in-out;
}

.documentation-image.fade-out {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(192, 192, 192, 0.3);
    color: var(--chrome-silver);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--chrome-silver);
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.2);
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(192, 192, 192, 0.3);
    border: 1px solid rgba(192, 192, 192, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-indicator.active {
    background: var(--chrome-silver);
    border-color: var(--chrome-silver);
    width: 28px;
    border-radius: 5px;
}

.carousel-indicator:hover {
    background: rgba(192, 192, 192, 0.6);
}

.documentation-text {
    background: rgba(192, 192, 192, 0.05);
    border: 1px solid rgba(192, 192, 192, 0.15);
    padding: 2rem;
    border-radius: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .documentation-text {
        padding: 1.75rem;
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    .documentation-text {
        padding: 1.5rem;
        max-height: 400px;
    }
}

.documentation-desc {
    color: rgba(192, 192, 192, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .documentation-desc {
        font-size: 1rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .documentation-desc {
        font-size: 1rem;
        line-height: 1.8;
    }
}

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

    .documentation-image-container {
        min-height: 300px;
    }
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   ELITE UNDER CONSTRUCTION (LOCKED CARDS)
============================================ */
.workshop-card.locked {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(192, 192, 192, 0.15);
    cursor: not-allowed;
}

.workshop-card.locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--chrome-silver), transparent);
    opacity: 0.5;
}

/* Icons Animation */
.spin-gear {
    animation: spin 8s linear infinite;
    transform-origin: center;
}

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

    to {
        transform: rotate(360deg);
    }
}

.pulse-circuit {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.6;
        filter: drop-shadow(0 0 2px rgba(192, 192, 192, 0.2));
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(192, 192, 192, 0.6));
    }
}

/* Progress Bar */
.progress-container {
    margin-top: 1.5rem;
    width: 100%;
}

.progress-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    color: var(--chrome-silver);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.progress-track {
    width: 100%;
    height: 6px;
    background: rgba(192, 192, 192, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--chrome-silver);
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
    background-image: repeating-linear-gradient(45deg,
            transparent,
            transparent 5px,
            rgba(0, 0, 0, 0.2) 5px,
            rgba(0, 0, 0, 0.2) 10px);
    animation: progress-slide 20s linear infinite;
    width: 0%;
    /* Will be set inline */
}

@keyframes progress-slide {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 0;
    }
}

/* Override hover effect for locked cards */
.workshop-card.locked:hover {
    transform: scale(1.02);
    border-color: rgba(192, 192, 192, 0.5);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.1);
}

.workshop-card.locked .workshop-click-hint {
    color: rgba(192, 192, 192, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}

/* ============================================
   TOAST NOTIFICATION (TERMINAL STYLE)
============================================ */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--chrome-silver);
    border-left: 4px solid var(--chrome-silver);
    padding: 1rem 1.5rem 1rem 3.5rem;
    /* Left padding for icon */
    border-radius: 2px;
    color: var(--chrome-silver);
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.85rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    max-width: 350px;
}

.toast-notification.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.toast-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    animation: pulse-glow 2s infinite;
}

.toast-title {
    display: block;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #fff;
}

.toast-message {
    opacity: 0.8;
}

@media (max-width: 640px) {
    .toast-notification {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* ============================================
   CERTIFICATE FRAME & STORY
============================================ */
.cert-frame-container {
    padding: 2rem;
    background: radial-gradient(circle at center, rgba(192, 192, 192, 0.05) 0%, transparent 70%);
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .cert-frame-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cert-frame-container {
        padding: 1rem;
    }
}

.cert-frame {
    position: relative;
    padding: 10px;
    background: #000;
    box-shadow:
        0 0 0 1px rgba(192, 192, 192, 0.3),
        /* Inner border */
        0 0 0 4px #000,
        /* Spacing */
        0 0 0 5px rgba(192, 192, 192, 0.5),
        /* Outer Silver Border */
        0 20px 50px rgba(0, 0, 0, 0.8);
    /* Shadow */
    display: inline-block;
}

.cert-frame::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(192, 192, 192, 0.1);
    z-index: -1;
}

/* Corner Accents */
.cert-frame::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--chrome-silver);
    border-left: 2px solid var(--chrome-silver);
}

.modal-story-section {
    position: relative;
    padding-top: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .modal-story-section {
        padding-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .modal-story-section {
        padding-top: 1rem;
    }
}

.modal-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--chrome-silver);
    opacity: 0.3;
}

/* ============================================
   IMAGE LIGHTBOX
============================================ */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: lightboxFadeIn 0.3s ease-out;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Lightbox Close Button */
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.3);
    color: var(--chrome-silver);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--chrome-silver);
    color: var(--pure-black);
    transform: translateY(-2px);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* Lightbox Info Counter */
.lightbox-info {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(192, 192, 192, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    backdrop-filter: blur(5px);
}

.lightbox-counter {
    color: var(--chrome-silver);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Clickable Images */
.documentation-image,
.modal-image,
.workshop-image {
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

.documentation-image:hover,
.modal-image:hover,
.workshop-image:hover {
    opacity: 0.85;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-overlay {
        padding: 1rem;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        top: 1rem;
        right: 1rem;
    }

    .lightbox-close svg {
        width: 20px;
        height: 20px;
    }

    .lightbox-info {
        bottom: 1rem;
        padding: 0.5rem 1rem;
    }

    .lightbox-counter {
        font-size: 0.75rem;
    }
}