:root {
    --primary: #CFFE01; /* Dominant Logo Green */
    --accent: #CFFE01; /* Dominant Logo Green */
    --bg-color: #050505; /* Black Background */
    --bg-alt: #121212; /* Slightly lighter black */
    --text-main: #f5ffe5; /* Warm light green text */
    --text-light: #9eb88d; /* Warm muted green subtext */
    --border-color: #2c3504; /* Warm dark olive-green border */
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Barlow', sans-serif;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1); /* Premium spring transition */
}

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

html {
    scroll-behavior: smooth;
}

#global-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

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

h1, h2, h3, h4, h5, h6, .logo {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: normal;
}

/* 1. Router Sections visibility */
.router-section {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.router-section.active-route {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* 2. Glassmorphism Sticky Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.logo a {
    text-decoration: none;
    display: inline-block;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    margin: 0 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

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

/* Navbar CTA and Buttons */
.nav-contact-btn {
    border: 2px solid var(--accent);
    padding: 0.5rem 1.25rem !important;
    background-color: rgba(207, 254, 1, 0.05);
    color: var(--accent) !important;
    font-family: var(--font-heading);
    font-size: 1.2rem !important;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.nav-contact-btn::after {
    display: none !important;
}

.nav-contact-btn:hover {
    background-color: var(--accent) !important;
    color: var(--bg-color) !important;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary);
    color: var(--bg-color);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background-color: var(--bg-color);
    z-index: -1;
    transition: var(--transition);
}

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

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

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-transform: uppercase;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(207, 254, 1, 0.05);
}

/* Hamburger Menu Icon */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

.hamburger-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-active span:nth-child(2) {
    opacity: 0;
}

.hamburger-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(5, 5, 5, 0.98);
    z-index: 95;
    padding: 100px 2rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.drawer-active {
    display: block;
    transform: translateX(0);
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.drawer-links a {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
    transition: var(--transition);
}

.drawer-links a:hover {
    color: var(--accent);
    padding-left: 10px;
}

.drawer-contact-btn {
    color: var(--accent) !important;
    border-bottom: none !important;
}

/* Layout Grid */
.container {
    display: flex;
    margin-top: 80px; /* Space for navbar */
    min-height: calc(100vh - 80px);
}

/* Sidebar Layout & Polish */
.sidebar {
    width: 380px;
    background-color: var(--bg-alt);
    padding: 3rem 2rem;
    position: fixed;
    left: 0;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
    z-index: 50;
}

.profile-image-container {
    position: relative;
    margin-bottom: 2.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.profile-img {
    width: 100%;
    aspect-ratio: 723 / 1024;
    object-fit: cover;
    filter: grayscale(15%) contrast(110%);
    border: 3px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.profile-img:hover {
    filter: grayscale(0%) contrast(100%);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(207, 254, 1, 0.2);
}

/* Sleek Badge Indicator */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 6px 12px;
    background-color: rgba(207, 254, 1, 0.05);
    border: 1px solid rgba(207, 254, 1, 0.2);
    border-radius: 50px;
}

.status-text {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent);
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(207, 254, 1, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(207, 254, 1, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(207, 254, 1, 0); }
}

/* Sidebar Profile text */
.profile-info h1 {
    font-size: 2.6rem;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.profile-info h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    line-height: 0.95;
    letter-spacing: 0.5px;
    color: #fff;
    margin-top: 0.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.bio {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* Profile Contact list grid style */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 0.9rem;
}

.contact-item strong {
    color: var(--text-light);
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    text-decoration: underline;
    color: #fff;
}

.contact-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Main Content Area */
.content {
    margin-left: 380px;
    padding: 4rem 5rem;
    width: calc(100% - 380px);
}

/* Titles and subheadings */
.section-title {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 3.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-shadow: 2px 2px 0px #000;
}

.sub-section-title {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}

/* SECTION 1: HERO VIEW STYLES */
.hero-area {
    padding: 3rem 0;
    margin-bottom: 5rem;
}

.hero-title {
    font-size: 5.5rem;
    line-height: 0.95;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-subtitles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 15px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-subtitles .sep {
    color: var(--text-light);
    opacity: 0.4;
}

.hero-desc {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 700px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* SECTION 2: SERVICES STYLES */
.services-area {
    margin-bottom: 6rem;
}

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

.service-card {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(207, 254, 1, 0.05);
}

.service-card-num {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--font-heading);
    color: var(--accent);
    opacity: 0.2;
    font-size: 2.2rem;
    line-height: 1;
}

.service-card h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* SECTION 3: INTERACTIVE TOOLS GRID STYLES */
.tools-area {
    margin-bottom: 4rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.tool-item {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 1.25rem 0.5rem;
    text-align: center;
    border-radius: 4px;
    transition: var(--transition);
    cursor: default;
}

.tool-item span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--text-light);
}

.tool-item:hover {
    border-color: var(--accent);
    background-color: rgba(207, 254, 1, 0.05);
}

.tool-item:hover span {
    color: var(--accent);
}

/* SECTION 4: CASE STUDIES SHOWCASE */
.case-studies-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.case-card {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    transition: var(--transition);
}

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

.case-meta {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.case-card h3 {
    font-size: 2.4rem;
    color: #fff;
    margin: 0.5rem 0 1.5rem 0;
    text-transform: uppercase;
}

.case-card-body p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.case-card-body strong {
    color: #fff;
}

/* SECTION 5: AI LAB SHOWCASE */
.lab-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    flex-wrap: wrap;
}

.lab-tab-btn {
    background: none;
    border: 1px solid transparent;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 6px 16px;
    border-radius: 4px;
    transition: var(--transition);
}

.lab-tab-btn:hover, .lab-tab-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(207, 254, 1, 0.05);
}

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

.lab-item {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
}

.lab-item:hover {
    border-color: var(--accent);
}

.lab-badge {
    display: inline-block;
    padding: 3px 8px;
    background-color: rgba(207, 254, 1, 0.1);
    border: 1px solid rgba(207, 254, 1, 0.2);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.lab-item h4 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.lab-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.lab-item p strong {
    color: #fff;
}

/* SECTION 6: INSIGHTS ARTICLES STYLES */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.insight-preview-card {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.insight-preview-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(207, 254, 1, 0.04);
}

.insight-meta {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.8px;
}

.insight-preview-card h3 {
    font-size: 2.2rem;
    color: #fff;
    margin: 0.8rem 0 1rem 0;
    text-transform: uppercase;
}

.insight-preview-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn-read-more {
    background: none;
    border: none;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.insight-preview-card:hover .btn-read-more {
    color: #fff;
    transform: translateX(5px);
}

/* Insights Single Article View layout */
.insight-single-view {
    animation: fadeIn 0.4s ease;
}

.btn-back-insights {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 2.5rem;
    transition: var(--transition);
}

.btn-back-insights:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.insight-article-layout {
    display: flex;
    gap: 40px;
}

.insight-article-body {
    flex: 7;
}

.insight-article-body h1 {
    font-size: 3.5rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.article-meta-row {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    gap: 10px;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.article-meta-row .sep {
    opacity: 0.3;
}

.article-rich-text h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin: 2.5rem 0 1rem 0;
    text-transform: uppercase;
}

.article-rich-text p {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.article-toc-sidebar {
    flex: 3;
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 110px;
}

.article-toc-sidebar h4 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.article-toc-sidebar ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-toc-sidebar li {
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.article-toc-sidebar li:hover {
    color: var(--accent);
}

/* SECTION 7: RESOURCES PACKS STYLES */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.resource-card {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

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

.resource-card h4 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.resource-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.resource-download-btn {
    display: block;
    width: 100%;
    text-align: center;
    border: 2px solid var(--accent);
    background-color: rgba(207, 254, 1, 0.05);
    color: var(--accent);
    padding: 8px 0;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    border-radius: 4px;
    transition: var(--transition);
}

.resource-download-btn:hover {
    background-color: var(--accent);
    color: var(--bg-color);
}

/* SECTION 8: FAQ ACCORDION STYLES */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
}

.faq-item {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon-arrow {
    font-size: 1.6rem;
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* SECTION 9: HAKKIMDA (About Standalone View) */
.about-narrative {
    max-width: 800px;
}

.about-lead {
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--primary);
    margin-bottom: 2rem;
}

.about-narrative p {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-narrative strong {
    color: var(--accent);
}

/* SECTION 10: İLETİŞİM (Contact View) */
.contact-layout-box {
    display: flex;
    gap: 40px;
}

.contact-info-panel {
    flex: 4;
}

.contact-info-panel h3 {
    font-size: 3.2rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.contact-info-panel p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contact-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 24px;
    background-color: rgba(207, 254, 1, 0.05);
    border: 1px solid rgba(207, 254, 1, 0.15);
    border-radius: 8px;
}

.status-pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}

.badge-title {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
}

.badge-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-form {
    flex: 6;
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px 16px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 8px rgba(207, 254, 1, 0.1);
}

/* Accessibility Focus States */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* Portfolio grid container */
.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin-bottom: 5rem;
}

.portfolio-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portfolio-subheading {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid var(--accent);
    padding-left: 10px;
    margin-bottom: 4px;
}

.sub-portfolio-grid {
    display: grid;
    gap: 24px 16px;
    align-items: start;
}

.sub-portfolio-grid.horizontal-grid {
    grid-template-columns: repeat(3, 1fr);
}

.sub-portfolio-grid.vertical-grid {
    grid-template-columns: repeat(5, 1fr);
}

/* Video Card Structure */
.video-card {
    position: relative;
    cursor: pointer;
    display: block;
    width: 100%;
    background-color: transparent;
    border: none !important;
    box-shadow: none !important;
}

.video-card.vertical .thumbnail-wrapper {
    aspect-ratio: 9 / 16 !important;
}

.video-card.horizontal .thumbnail-wrapper {
    aspect-ratio: 16 / 9 !important;
}

.thumbnail-wrapper {
    position: relative;
    overflow: hidden;
    background: #000;
    width: 100%;
    border-radius: 12px !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover .thumbnail-wrapper {
    transform: scale(1.025);
}

/* Dynamic Format Badges overlay */
.video-type-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: var(--accent);
    color: var(--bg-color);
    padding: 3px 6px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 5;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.thumbnail {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: var(--transition);
}

.video-card:hover .thumbnail {
    opacity: 1;
}

/* Play button overlay */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(207, 254, 1, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.play-icon {
    width: 30px;
    height: 30px;
    fill: var(--bg-color);
    margin-left: 3px;
}

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

.video-info {
    position: relative;
    padding: 12px 4px 0 4px;
}

.video-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.video-title {
    font-family: var(--font-heading) !important;
    font-size: 1.6rem !important;
    line-height: 1.1;
    color: var(--primary) !important;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-dots-btn {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.video-meta {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Video Duration Overlay */
.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 3px 6px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 5;
    font-family: var(--font-body);
}

.watch-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 65%;
    background-color: var(--accent);
    z-index: 6;
}

/* Skills progress tracks polish */
.skills-section {
    background-color: var(--bg-alt);
    padding: 3rem;
    border: 1px solid var(--border-color);
    position: relative;
    border-radius: 8px;
}

.skill {
    margin-bottom: 2rem;
}

.skill:last-child {
    margin-bottom: 0;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background-color: #161616; /* Clean dark track */
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--accent);
    width: 0;
    border-radius: 20px;
    box-shadow: 0 0 10px var(--accent); /* Soft glow */
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Portfolio Tabs filtering buttons styling */
.portfolio-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: 1px solid transparent;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-light);
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
    padding: 6px 16px;
    border-radius: 4px;
}

.tab-btn:hover {
    color: var(--accent);
}

.tab-btn.active {
    border-color: var(--accent);
    background-color: rgba(207, 254, 1, 0.05);
    color: var(--accent);
}

/* Dynamic Hypno Texture animations */
.hypno-texture {
    width: 50px;
    height: 50px;
    margin-right: 12px;
    vertical-align: middle;
}

.spin-outer {
    transform-origin: 50px 50px;
    animation: spin 12s linear infinite;
}

.fold-inner {
    transform-origin: 50px 50px;
    animation: fold-rotate 4s ease-in-out infinite alternate;
}

.spin-center {
    transform-origin: 50px 50px;
    animation: spin-rev 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-rev {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes fold-rotate {
    0% { transform: rotate(0deg) scale(0.6); opacity: 0.4; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 1; }
    100% { transform: rotate(360deg) scale(0.6); opacity: 0.4; }
}

/* Web Canvas Overlay settings */
.web-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 4;
    pointer-events: none;
}

/* Scrollable YouTube Watch Page Modal details */
.video-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(5, 5, 5, 0.98);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    background-color: #0c0c0c;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px 24px;
    overflow-y: auto;
}

.modal-body-layout {
    display: flex;
    gap: 30px;
}

.modal-main-player {
    flex: 7;
}

.iframe-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.iframe-container.vertical-player {
    aspect-ratio: 9 / 16;
    max-width: 360px;
    margin: 0 auto;
}

/* Project dynamic case breakdown */
.modal-project-breakdown {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.breakdown-section h5 {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.breakdown-section p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Modal Sidebar Recommendations */
.modal-recommendations {
    flex: 3;
    max-height: 80vh;
    overflow-y: auto;
    border-left: 1px solid var(--border-color);
    padding-left: 20px;
}

.modal-recommendations::-webkit-scrollbar {
    width: 4px;
}
.modal-recommendations::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 2px;
}

.modal-recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-rec-card {
    display: flex;
    gap: 12px;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: var(--transition);
}

.modal-rec-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.modal-rec-card.active-rec {
    background-color: rgba(207, 254, 1, 0.05);
    border: 1px solid rgba(207, 254, 1, 0.2);
}

.modal-rec-thumb-wrapper {
    width: 100px;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.modal-rec-thumb-wrapper.vertical-thumb {
    aspect-ratio: 9 / 16;
    width: 55px;
}

.modal-rec-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-rec-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-rec-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
    text-transform: uppercase;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2px;
}

.modal-rec-meta {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-main);
    font-weight: 600;
    text-transform: uppercase;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2.2rem;
    color: #aaa;
    cursor: pointer;
    z-index: 1010;
}

.close-modal:hover {
    color: #fff;
}

/* Halftone Grid Pattern */
.halftone-effect {
    position: relative;
}

.halftone-effect::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--accent) 20%, transparent 20%),
                      radial-gradient(var(--accent) 20%, transparent 20%);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    pointer-events: none;
    mix-blend-mode: overlay;
    opacity: 0.4;
    transition: var(--transition);
    z-index: 3;
}

.halftone-effect:hover::after {
    opacity: 0.1;
}

/* Pop Divider */
.pop-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 5rem 0;
    width: 100%;
}

.pop-divider span {
    flex: 1;
    height: 1px;
    background-color: var(--border-color);
    position: relative;
}

.divider-icon {
    width: 30px;
    height: 30px;
    color: var(--accent);
    filter: drop-shadow(2px 2px 0px #000);
}

/* Footer Section */
footer {
    background-color: var(--bg-alt);
    color: var(--text-main);
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 380px;
    border-top: 1px solid var(--border-color);
}

.social-links a {
    color: var(--accent);
    text-decoration: none;
    margin-right: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
}

.social-links a:hover {
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Dynamic Responsive breakpoints */
@media (max-width: 1200px) {
    .content {
        padding: 3rem;
    }
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        width: 320px;
        padding: 2rem 1.5rem;
    }
    .content, footer {
        margin-left: 320px;
        width: calc(100% - 320px);
    }
    .navbar {
        padding: 1rem 2rem;
    }
    .nav-links a {
        margin: 0 0.8rem;
        font-size: 0.8rem;
    }
    .sub-portfolio-grid.horizontal-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .sub-portfolio-grid.vertical-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .modal-body-layout {
        flex-direction: column;
    }
    .modal-recommendations {
        border-left: none;
        padding-left: 0;
        max-height: none;
        overflow-y: visible;
        margin-top: 20px;
    }
    .navbar {
        padding: 1rem 2rem;
    }
    .nav-links {
        display: none;
    }
    .hamburger-menu {
        display: flex;
    }
    .mobile-drawer {
        display: block;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        top: 80px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 2.5rem 2rem;
    }
    .content, footer {
        margin-left: 0;
        width: 100%;
        padding: 3rem 2rem;
    }
    footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-desc {
        font-size: 1.1rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .sub-portfolio-grid.horizontal-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .sub-portfolio-grid.vertical-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px 10px;
    }
    .contact-layout-box {
        flex-direction: column;
        gap: 30px;
    }
    .contact-info-panel h3 {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
