:root {
    --neon-blue: #36a8de;
    --neon-pink: #ff489f;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --medium-bg: #121212;
    --light-bg: #1a1a1a;
    --metallic-gray: #252525;
    --metallic-accent: #454545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

body {
    background-image: none; /* Remove this line completely */
    background-color: #000000; /* Pure black */
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: white;
}

h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: var(--neon-blue);
    margin-bottom: 0.5rem;
}

/* .related-article h4 {
font-family: 'Orbitron', sans-serif;
font-weight: 150;
} */


p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Messages Notification Bar System */
.messages {
    list-style: none;
    margin: 10px auto;
    padding: 0;
    text-align: center;
    width: fit-content;
}

.messages li {
    margin: 4px 0;
    font-size: 0.95rem;
    font-family: sans-serif;
    font-weight: bold;
}

/* Color per message type */
.messages .success {
    color: rgb(30, 255, 0);
}

.messages .error {
    color: red;
}

.messages .warning {
    color: orange;
}

.messages .info {
    color: dodgerblue;
}

.messages .debug {
    color: rgb(189, 209, 11);
}

.messages li:not([class]),
.messages .default {
    color: hotpink;
}


/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--metallic-gray);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(5, 5, 5, 0.98);
    box-shadow: 0 2px 20px rgba(54, 168, 222, 0.1);
}

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

.nav-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 800;
    color: var(--neon-blue);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-wrap: nowrap;
}

.nav-brand-highlight {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon-pink);
}

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

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    transition: width 0.3s ease;
}

.page-wrapper {
    background-color: var(--dark-bg);
    min-height: 100vh;
}

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

.nav-links a:hover {
    color: var(--neon-pink);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--neon-blue);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Base styles for desktop */
/* Navigation Search Specific Styles */
.nav-search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-search-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-search-input {
    background: transparent;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, var(--neon-pink), var(--neon-blue)) 1;
    color: white;
    font-weight: 500;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    outline: none;
    padding: 0.4rem 0;
    width: 100%;
    max-width: 300px;
    flex: 1;
    transition: all 0.3s ease;
}

.nav-search-input:focus {
    border-image: linear-gradient(90deg, var(--neon-blue), var(--neon-pink)) 1;
}

.nav-search-btn {
    color: white;
    background: transparent;
    border: none;
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
    clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%, 5% 50%);
}

.nav-search-btn:hover {
    transform: translateY(-1px);
    color: var(--neon-blue);
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-search-form {
        justify-content: center;
    }
    
    .nav-search-input {
        width: 150px;
    }
    
    .nav-search-btn {
        position: relative;
        right: auto;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    height: auto;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 1000px;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    line-height: 1.1;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #cccccc;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 400;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(transparent 0%, rgba(54, 168, 222, 0.05) 2%, transparent 5%),
        linear-gradient(90deg, transparent 0%, rgba(255, 72, 159, 0.05) 2%, transparent 5%);
    background-size: 50px 50px;
    z-index: 1;
    animation: gridAnimation 30s linear infinite;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border: 2px solid var(--neon-blue);
    opacity: 0.15;
}

.hero-shape:nth-child(1) {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    top: -150px;
    right: -150px;
    border-color: var(--neon-pink);
    animation: float 8s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -50px;
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite reverse;
}

.hero-shape:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 10%;
    border-color: var(--neon-pink);
    transform: rotate(30deg);
    animation: float 10s ease-in-out infinite;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(135, 206, 235, 0.2);
    z-index: 9999;
    order: 2;
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue));
    width: 0%;
    transition: width 0.1s ease;
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--medium-bg);
    font-weight: 600;
    padding: 1rem 0;
    border-bottom: 1px solid var(--metallic-gray);
    margin-top: 70px;
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    white-space: nowrap;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav > * {
    white-space: nowrap;
    flex-shrink: 0;
}

.breadcrumb-nav a:hover {
    color: var(--neon-pink);
}

.breadcrumb-nav span {
    margin: 0 0.5rem;
    color: #666;
}

.breadcrumb-nav .current {
    color: #cccccc;
    font-size: clamp(0.8rem, 2.4vw, 0.9rem);
}

.breadcrumb-details-wrapper {
    display: inline-flex;
    align-items: center;
}

.current {
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chevron {
    display: none;
}

.breadcrumb-details-wrapper.centered-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -20px;
    gap: 0.5rem;
}

.details-toggle-link {
    color: var(--neon-blue);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.details-toggle-link:hover {
    color: var(--neon-pink);
}

.breadcrumb-details-wrapper .chevron {
    display: inline-block;
    color: var(--neon-blue);
}


/* Blog Header */
.blog-header {
    padding: 3rem 0;
    background-color: var(--darker-bg);
    border-bottom: 1px solid var(--metallic-gray);
}

.blog-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.blog-title .highlight {
    color: var(--neon-pink);
}

.blog-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-left: 3px solid var(--neon-pink);
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    min-width: 0;
    white-space: nowrap;
}

.meta-item i {
    color: var(--neon-blue);
    margin-right: 0.5rem;
    width: 16px;
    flex-shrink: 0;
}

.meta-label {
    color: #999;
    margin-right: 0.5rem;
}

.meta-value {
    color: #fff;
    font-weight: 600;
}

.category-tag {
    background-color: var(--neon-pink);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-right: 0.5rem;
}

.subcategory-tag {
    background-color: var(--neon-blue);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Dashboard Section */
.dashboard-section {
    padding: 6rem 0 3rem; /* Adjusted top padding to account for fixed navbar */
    background-color: var(--darker-bg);
    min-height: calc(100vh - 70px); /* Subtract navbar height */
    display: flex;
    flex-direction: column;
}

.dashboard-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex: 1;
}

.dashboard-header {
    text-align: center;
    margin: 1rem 0 2rem;
}

.dashboard-header h1 {
    color: var(--neon-blue);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: #cccccc;
    font-size: 1.1rem;
}

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

.dashboard-widget {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-left: 3px solid var(--neon-pink);
    transition: all 0.3s ease;
    clip-path: polygon(0 0, 98% 0, 100% 13%, 100% 100%, 2% 100%, 0 87%);
}

.dashboard-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-left-color: var(--neon-blue);
}

.dashboard-widget h3 {
    color: var(--neon-pink);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.dashboard-widget h3 i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.dashboard-widget p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.dashboard-footer {
    text-align: center;
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--metallic-gray);
}

.logout-btn {
    background-color: transparent;
    color: var(--neon-pink);
    border: 2px solid var(--neon-pink);
    padding: 0.75rem 2rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    clip-path: polygon(0 0, 95% 0, 100% 25%, 100% 100%, 5% 100%, 0 75%);
}

.logout-btn:hover {
    background-color: var(--neon-pink);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(255, 72, 159, 0.5);
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0 2rem;
}

.stat-card {
    background-color: var(--light-bg);
    padding: 1.5rem;
    text-align: center;
    border-top: 3px solid var(--neon-blue);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.stat-label {
    color: #cccccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Recent Activity */
.activity-list {
    margin: 1rem 0 2rem;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--metallic-gray);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background-color: var(--neon-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
}

.activity-content {
    flex: 1;
}

.activity-title {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.activity-time {
    color: #999;
    font-size: 0.8rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-section {
        padding: 5rem 0 2rem;
    }
    
    .dashboard-widgets {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .dashboard-section {
        padding: 4rem 0 2rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header h1 {
        font-size: 1.8rem;
    }
    
    .dashboard-widget {
        padding: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

/* Authentication Section */
.auth-section {
padding: 4rem 0;
background-color: var(--darker-bg);
}

.auth-card {
max-width: 500px;
margin-top: 3rem;
margin-left: auto;
margin-right: auto;
padding: 2rem;
}

.avatar-circle {
width: 60px;
height: 60px;
border-radius: 50%;
background-color: var(--neon-blue);
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1rem;
color: white;
font-size: 1.8rem;
}

.auth-header h2 {
margin-bottom: 0.5rem;
}

.divider {
text-align: center;
margin: 1.5rem 0;
}
.divider span {
background-color: var(--dark-bg);
padding: 0 1rem;
color: #999;
font-size: 0.9rem;
}

.form-row {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
}

.half {
flex: 1;
}

.position-relative {
position: relative;
}

.toggle-password {
position: absolute;
right: 10px;
top: 32px;
cursor: pointer;
color: #ccc;
}

.remember-forgot {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
font-size: 0.9rem;
color: white;
font-weight: 500;
}

.forgot-link {
color: var(--neon-blue);
}

.forgot-link:hover {
color: var(--neon-pink);
}

.w-100 {
width: 100%;
}

.text-center {
text-align: center;
}


.toggle-password:hover {
    color: var(--neon-blue);
}

/* Add this to your Authentication Section styles */
.auth-section .form-group input {
    background-color: var(--dark-bg);
    border: 1px solid var(--metallic-accent);
    color: white;
    padding: 0.75rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold; /* Makes input text bold */
    width: 100%;
}

/* This ensures the password toggle icon stays visible */
.auth-section .form-group.position-relative {
    position: relative;
}

.auth-section .toggle-password {
    position: absolute;
    right: 10px;
    top: 48px; /* Adjust this if needed to align properly */
    cursor: pointer;
    color: #ccc;
    z-index: 2;
}

/* Ensure input has enough padding for the icon */
.position-relative input[type="password"],
.position-relative input[type="text"] {
    padding-right: 35px; /* Make space for the eye icon */
}

.gsi-material-button {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
-webkit-appearance: none;
background-color: WHITE;
background-image: none;
border: 0;
-webkit-border-radius: 0;
border-radius: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #1f1f1f;
cursor: pointer;
font-family: 'Roboto', arial, sans-serif;
font-size: 14px;
height: 40px;
letter-spacing: 0.25px;
outline: none;
overflow: hidden;
padding: 0 12px;
position: relative;
text-align: center;
-webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
transition: background-color .218s, border-color .218s, box-shadow .218s;
vertical-align: middle;
white-space: nowrap;
width: 100%;
min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
height: 20px;
margin-right: 12px;
min-width: 20px;
width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
-webkit-align-items: center;
align-items: center;
display: flex;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
flex-wrap: nowrap;
height: 100%;
justify-content: space-between;
position: relative;
width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
-webkit-flex-grow: 1;
flex-grow: 1;
font-family: 'Roboto', arial, sans-serif;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
-webkit-transition: opacity .218s;
transition: opacity .218s;
bottom: 0;
left: 0;
opacity: 0;
position: absolute;
right: 0;
top: 0;
}

.gsi-material-button:disabled {
cursor: default;
background-color: #ffffff61;
border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
background-color: #303030;
opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
-webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
background-color: #303030;
opacity: 8%;
}


/* Responsive adjustments for small screens */
@media (max-width: 768px) {
.form-row {
    flex-direction: column;
}

.form-row .half {
    width: 100%;
    margin-bottom: 1rem;
}
}

/* Image Gallery */
.gallery-section {
    padding: 3rem 0;
    background-color: var(--medium-bg);
    display: flex;
    justify-content: center;
}

.gallery-container {
    position: relative;
    display: inline-block;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    background-color: var(--light-bg);
    margin: 0 auto;
    clip-path: polygon(0 0, 98% 0, 100% 13%, 100% 100%, 2% 100%, 0 87%);
    overflow: hidden;
}

.gallery-slides-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.gallery-slide.active {
    opacity: 1;
    position: relative;
}

.gallery-slide img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Navigation buttons */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--neon-blue);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-nav:hover {
    background-color: var(--neon-pink);
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

/* Dots indicator */
.gallery-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background-color: var(--neon-pink);
    transform: scale(1.2);
}

/* Blog Content */
.blog-content {
    padding: 4rem 0;
    background-color: var(--dark-bg);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.main-content {
    background-color: rgb(247, 243, 238);
    padding: 2rem;
    border-left: 3px solid var(--neon-blue);
}

.content-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    margin: 2rem 0;
    border: 1px solid var(--metallic-gray);
}

.content-section {
    margin-bottom: 2rem;
}

.content-section a {
    color: var(--neon-pink);
    text-decoration: none;
    transition: all 0.3s ease;
}

.content-section a:hover {
    color: var(--neon-pink);
    border-bottom: 1px solid var(--neon-blue);
}

.content-section h2 {
    color: var(--neon-blue);
    font-size: 1.8rem;
    border-bottom: 2px solid var(--metallic-gray);
    padding-bottom: 0.5rem;
}

.content-section h3 {
    color: var(--neon-blue);
    font-size: 1.4rem;
}

.content-section h4 {
    color: var(--neon-blue);
    font-size: 1.4rem;
    text-decoration: underline;
    text-underline-offset: 0.25rem; /* Optional: adds space between text and underline */
    text-decoration-color: var(--neon-blue); /* Optional: matches underline color to text */
}

.content-section h5 {
    color: var(--neon-blue);
    font-size: 1.2rem;
    text-decoration: underline;
    text-underline-offset: 0.25rem; /* Optional: adds space between text and underline */
    text-decoration-color: var(--neon-blue); /* Optional: matches underline color to text */
}
.highlight-box {
    background-color: var(--metallic-gray);
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--neon-pink);
}

.highlight-box h4 {
    color: var(--neon-pink);
    margin-bottom: 0.5rem;
}

.blog-content .content-section,
.blog-content .content-section p,
.blog-content .content-section div,
.blog-content .content-section span {
    color: black;
    font-weight: 600;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid var(--metallic-gray);
}

table th,
table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--metallic-gray);
    border-right: 1px solid var(--neon-blue); 
}

/* Remove right border from last column */
table th:last-child,
table td:last-child {
    border-right: none;
}

table th {
    background-color: var(--metallic-gray);
    color: var(--neon-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
    position: relative;
}

/* Strong horizontal line after thead */
table thead tr {
    border-bottom: 2px solid var(--neon-blue);
}

table td {
    color: var(--dark-bg);
    font-weight: 600;
}

/* Special header row styling */
.table.table-bordered tr:first-child td {
    background-color: var(--metallic-gray);
    color: var(--neon-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--neon-blue);
}

ul, ol {
    list-style-type: disc;
    margin-left: 1.5rem;
    padding-left: 1rem;
    color: var(--darker-bg);
    font-weight: bold;
}

li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--darker-bg);
    font-weight: bold;
}



/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-left: 3px solid var(--neon-pink);
}

.widget-title {
    color: var(--neon-pink);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.related-article {
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--metallic-gray);
}

.related-article:last-child {
    border-bottom: none;
}

.related-article h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-article p {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-weight: 400;}

.related-article h4:hover {
    color: var(--neon-blue);
    cursor: pointer;
}

.related-meta {
    padding: 0 0.25rem;
    font-size: 0.8rem;
    color: var(--neon-blue);
    font-weight: 500;
}

.tool-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--metallic-gray);
}

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

.tool-name {
    color: #cccccc;
    flex: 1;
}

.tool-price {
    color: var(--neon-blue);
    font-weight: 600;
}

.hero-btn {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid var(--neon-blue);
    padding: 1rem 2.5rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    clip-path: polygon(0 0, 95% 0, 100% 25%, 100% 100%, 5% 100%, 0 75%);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(54, 168, 222, 0.2), rgba(255, 72, 159, 0.2));
    transition: all 0.4s ease;
    z-index: -1;
}

.hero-btn:hover::before {
    left: 0;
}

.hero-btn:hover {
    box-shadow: 0 0 25px rgba(54, 168, 222, 0.5);
    transform: translateY(-2px);
}

.hero-btn-primary {
    background-color: var(--neon-blue);
    color: var(--dark-bg);
    border-color: var(--neon-blue);
}

.hero-btn-primary:hover {
    background-color: var(--neon-pink);
    border-color: var(--neon-pink);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    justify-content: center;
    max-height: fit-content;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 1rem 0.5rem;
    transition: all 0.3s ease;
}

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

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.neon-blue {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(54, 168, 222, 0.5);
}

.neon-pink {
    color: var(--neon-pink);
    text-shadow: 0 0 10px rgba(255, 72, 159, 0.5);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Comments Section */
.comments-section {
    padding: 3rem 0;
    background-color: var(--medium-bg);
}

.comments-container {
    background-color: var(--light-bg);
    padding: 2rem;
    border-left: 3px solid var(--neon-blue);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--metallic-gray);
    padding-bottom: 1rem;
}

.comments-title {
    color: var(--neon-blue);
    font-size: 1.8rem;
}

.comment-form {
    background-color: var(--metallic-gray);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    color: var(--neon-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: var(--dark-bg);
    border: 1px solid var(--metallic-accent);
    color: white;
    padding: 0.75rem;
    font-family: 'Rajdhani', sans-serif;
}

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

.submit-btn {
    background-color: var(--neon-blue);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--neon-pink);
}

/* Related Articles Grid */
.related-section {
    padding: 3rem 0;
    background-color: var(--darker-bg);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--neon-blue);
    border-bottom: 2px solid var(--metallic-gray);
    padding-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 4px solid var(--neon-pink);
}

.section-title::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -4px;
    width: 4px;
    height: 20px;
    background-color: var(--neon-blue);
}

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

.related-card {
    background-color: var(--light-bg);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.related-card-category {
    position: absolute;
    top: 1rem;
    right: 0;
    background-color: var(--neon-pink);
    color: white;
    padding: 0.25rem 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.related-card-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-card-excerpt {
    color: #cccccc;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.related-card-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.8rem;
}

/* Featured Content Slider */
.feature-section {
    padding: 6rem 0;
    background-color: var(--medium-bg);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 4px solid var(--neon-pink);
}

.section-title::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -4px;
    width: 4px;
    height: 20px;
    background-color: var(--neon-blue);
}

.sharp-card {
    border: 2px solid rgba(59, 169, 235, 0.25);
    background: var(--metallic-gray);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
    box-shadow: none;
    clip-path: polygon(0 0, 98% 0, 100% 13%, 100% 100%, 2% 100%, 0 87%);
}

.sharp-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 4px 32px 0 rgba(54, 168, 222, 0.13), 0 0 0 3px var(--neon-pink);
    transform: translateY(-3px) scale(1.015);
    z-index: 2;
}




.view-all {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: var(--neon-pink);
}

.feature-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 10px rgba(54, 168, 222, 0.5);
}

.feature-image {
    height: 200px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.feature-category {
    position: absolute;
    top: 1rem;
    right: 0;
    background-color: var(--neon-pink);
    color: white;
    padding: 0.25rem 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
}

.feature-content {
    padding: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.feature-excerpt {
    color: #cccccc;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 0.8rem;
    border-top: 1px solid var(--metallic-gray);
    padding-top: 1rem;
}

.feature-date, .feature-comments {
    display: flex;
    align-items: center;
}

.feature-date i, .feature-comments i {
    margin-right: 0.5rem;
    color: var(--neon-blue);
}

/* Interactive Engine Diagram */
.interactive-section {
    padding: 6rem 0;
    background-color: var(--darker-bg);
}

.diagram-container {
    display: flex;
    flex-direction: row;
    background-color: var(--light-bg);
    margin-top: 3rem;
    clip-path: polygon(0 0, 98% 0, 100% 13%, 100% 100%, 2% 100%, 0 87%);
    border: 2px solid rgba(59, 169, 235, 0.25);
    overflow: hidden;
    height: auto;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.diagram-image {
    width: 60%;
    aspect-ratio: 16 / 9;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    flex-shrink: 0;
    flex-grow: 0;
    position: relative;
}

.diagram-info {
    width: 40%;
    padding: 2rem;
    background-color: var(--metallic-gray);
    border-left: 2px solid var(--neon-blue);
    overflow-y: auto;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-pink) var(--metallic-gray);
}

/* For Webkit browsers (Chrome, Edge, Safari) */
.diagram-info::-webkit-scrollbar {
    width: 8px;
}

.diagram-info::-webkit-scrollbar-track {
    background-color: var(--metallic-gray);
}

.diagram-info::-webkit-scrollbar-thumb {
    background-color: var(--neon-blue);
    border-radius: 4px;
}

.info-panel {
    display: none;
}

.info-panel.active {
    display: block;
}

.info-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
}

.info-description {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-specs {
    background-color: var(--dark-bg);
    padding: 1rem;
    margin-top: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.spec-name {
    color: #999;
}

.spec-value {
    font-weight: 600;
    color: var(--neon-pink);
}

.hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--neon-pink);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 2;
}

.hotspot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 72, 159, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.hotspot-1 {
    top: 25%;
    left: 35%;
}

.hotspot-2 {
    top: 40%;
    left: 50%;
}

.hotspot-3 {
    top: 60%;
    left: 30%;
}

.hotspot-4 {
    top: 70%;
    left: 60%;
}

/* DIY Tutorials Section */
.tutorials-section {
    padding: 6rem 0;
    background-color: var(--medium-bg);
}

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

.tutorial-card {
    background-color: var(--light-bg);
    transition: transform 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--neon-blue);
}

.tutorial-image {
    height: 180px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.difficulty-badge {
    position: absolute;
    top: 1rem;
    right: 0;
    padding: 0.25rem 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.difficulty-easy {
    background-color: #4CAF50;
}

.difficulty-medium {
    background-color: #FF9800;
}

.difficulty-hard {
    background-color: #F44336;
}

.difficulty-neon-blue {
    background-color: var(--neon-blue, #36a8de);
}

.difficulty-neon-pink {
    background-color: var(--neon-pink, #ff489f);
}

.difficulty-purple {
    background-color: #9c27b0;
}

.difficulty-teal {
    background-color: #009688;
}

.difficulty-yellow {
    background-color: #ffeb3b;
    color: #000;
}

.difficulty-indigo {
    background-color: #3f51b5;
}

.tutorial-content {
    padding: 1.5rem;
}

.tutorial-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.tutorial-excerpt {
    color: #cccccc;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.tutorial-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.8rem;
}

.tutorial-time, .tutorial-tools {
    display: flex;
    align-items: center;
}

.tutorial-time i, .tutorial-tools i {
    margin-right: 0.5rem;
    color: var(--neon-blue);
}

/* Letter Navigation */
.letter-navigation {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 10px 0;
    margin: -50px 0 15px 0;
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: var(--neon-pink) var(--metallic-gray);
}

/* For Webkit browsers */
.letter-navigation::-webkit-scrollbar {
    height: 6px;
}
.letter-navigation::-webkit-scrollbar-track {
    background: var(--metallic-gray);
}
.letter-navigation::-webkit-scrollbar-thumb {
    background-color: var(--neon-pink);
    border-radius: 6px;
}

.letter-link {
    padding: 8px 16px;
    background-color: var(--metallic-gray);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 0 0 auto;
}

.letter-link:hover, .letter-link.active {
    background-color: var(--neon-blue);
    color: black;
    font-weight: bold;
}

/* pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-link {
    padding: 8px 16px;
    background-color: var(--metallic-gray);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background-color: var(--neon-blue);
    color: black;
}

.current-page {
    padding: 8px 16px;
    background-color: var(--neon-pink);
    color: black;
    font-weight: bold;
}

/* Latest Reviews Section */
.reviews-section {
    padding: 6rem 0;
    background-color: var(--darker-bg);
}

.review-card {
    display: flex;
    background-color: var(--light-bg);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateX(10px);
    box-shadow: -5px 0 10px rgba(54, 168, 222, 0.5);
}

.review-image {
    width: 300px;
    background-position: center;
    background-size: cover;
}

.review-content {
    flex: 1;
    padding: 2rem;
}

.review-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.review-subtitle {
    color: var(--neon-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.spec-box {
    background-color: var(--metallic-gray);
    padding: 1rem;
    text-align: center;
}

.spec-box .spec-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-pink);
    margin-bottom: 0.25rem;
}

.spec-label {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
}

.review-rating {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.rating-value {
    font-size: 3rem;
    font-weight: 700;
    margin-right: 1rem;
    color: var(--neon-blue);
    line-height: 1;
}

.rating-stars {
    color: var(--neon-pink);
    font-size: 1.2rem;
}

/* Performance Chart Section */
.performance-section {
    padding: 6rem 0;
    background-color: var(--medium-bg);
}

.chart-container {
    height: 400px;
    background-color: var(--light-bg);
    padding: 2rem;
    margin-top: 3rem;
}

.chart-filters {
    display: flex;
    margin-bottom: 2rem;
    gap: 1rem;
}

.chart-filter-btn {
    background-color: var(--metallic-gray);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.chart-filter-btn.active {
    background-color: var(--neon-blue);
}

.chart-filter-btn:hover:not(.active) {
    background-color: var(--metallic-accent);
}

/* Community Q&A Section */
.community-section {
    padding: 6rem 0;
    background-color: var(--darker-bg);
}

.qa-container {
    background-color: var(--light-bg);
    padding: 2rem;
    margin-top: 3rem;
}

.qa-item {
    border-bottom: 1px solid var(--metallic-gray);
    padding: 1.5rem 0;
}

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

.qa-question {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.qa-user-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--neon-blue);
    border-radius: 0;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.qa-question-content {
    flex: 1;
}

.qa-user-name {
    color: var(--neon-pink);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.qa-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.qa-question-meta {
    font-size: 0.8rem;
    color: #999;
    font-weight: 600;
}

.qa-answers {
    margin-left: 3.5rem;
}

.qa-answer {
    padding: 1rem;
    background-color: var(--metallic-gray);
    margin-bottom: 1rem;
    position: relative;
}

.qa-answer::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--metallic-gray);
}

.qa-answer-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #999;
    margin-top: 1rem;
}

.qa-answer-user {
    color: var(--neon-blue);
    font-weight: 600;
}

.qa-answer-actions a {
    margin-left: 1rem;
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.qa-answer-actions a:hover {
    color: var(--neon-pink);
}

.comments-section .qa-answers {
    margin-left: 5px;
    border-right: 3px solid var(--neon-pink);
}

.comments-section .qa-container {
    padding: 0.1rem;
    background-color: var(--dark-bg);
    border-left: 3px solid var(--neon-blue);
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 5px;
}


.qa-form {
    margin-top: 2rem;
    background-color: var(--metallic-gray);
    padding: 1.5rem;
}

.qa-form-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.qa-form textarea {
    width: 100%;
    background-color: var(--dark-bg);
    border: 1px solid var(--metallic-accent);
    color: white;
    padding: 1rem;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
}

.qa-form-btn {
    background-color: var(--neon-blue);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.qa-form-btn:hover {
    background-color: var(--neon-pink);
}

/* Newsletter Section */
.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-subtitle {
    color: #cccccc;
    margin-top: -50px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    align-items: stretch;
    max-width: 600px;
    margin: 0 auto 1.2rem;
    border: 1px solid var(--metallic-accent);;
    overflow: hidden; 
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-input {
    flex: 1;
    padding: 1rem;
    background-color: transparent;
    border: none;
    color: white;
    outline: none;
    font-size: 1rem;
}

.newsletter-btn {
    background-color: var(--neon-pink);
    color: white;
    border: none;
    padding: 0 2rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: var(--neon-blue);
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--neon-blue);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--neon-blue);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

.footer-social {
    display: flex;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    color: white;
    background-color: var(--metallic-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--neon-pink);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--metallic-gray);
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .main-content,
    .sidebar {
        width: 100%;
    }

    .gallery-container {
        height: auto;
        aspect-ratio: 16 / 9;
    }
    
    .feature-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3.5rem;
    }
    
    .sidebar {
        order: 1;
    }
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 1;
    }

    .diagram-container {
        max-width: 95vw;
    }

    .diagram-image {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 100%;
        padding-left: 0;
        margin-left: 0;
        height: 100vh;
        width: 100%;
        background-color: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: left 0.3s ease;
        backdrop-filter: blur(10px);

    }

    .breadcrumb .container {
        padding-left: 0; /* Remove left padding */
        padding-right: 0; /* Remove right padding for consistency */
    }
    
    .breadcrumb-nav {
        padding-left: 1rem; /* Add some padding to prevent text from touching screen edge */
    }

    .nav-links.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .diagram-container {
        flex-direction: column;
        height: auto;
    }
    
    .diagram-image {
        width: 100%;
        height: 400px;
    }
    
    .diagram-info {
        width: 100%;
        border-left: none;
        border-top: 2px solid var(--neon-blue);
    }

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

    .hero-title {
        font-size: 3rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .review-card {
        flex-direction: column;
    }

    .review-image {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 1rem;
    }

    .hero {
        height: 90vh;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .feature-slider {
        grid-template-columns: 1fr;
    }
    
    .tutorial-card {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        margin-bottom: 1rem;
    }
    
    .newsletter-btn {
        padding: 1rem;
    }
    
    .newsletter-benefits {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .benefit {
        margin: 0.5rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }

    .chart-filters {
        flex-wrap: wrap;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .blog-title {
        font-size: 1.4rem;
        text-align: center;
    }

    .blog-meta {
        display: none;
    }

    .blog-meta.show {
        display: grid;
        margin-top: 1rem;
    }

    .details-toggle-link {
        display: inline-block;
        color: var(--neon-blue);
        font-weight: 600;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .details-toggle-link:hover {
        color: var(--neon-pink);
    }

    .content-image {
        height: 200px;
    }

    .gallery-container {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .gallery-dot {
        width: 10px;
        height: 10px;
    }

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

    .breadcrumb-nav {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .current {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .chevron {
        display: inline-block;
    }

    .diagram-container {
        flex-direction: column;
        border-radius: 0;
    }

    .diagram-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .diagram-info {
        width: 100%;
        overflow-y: auto;
        border-left: none;
        border-top: 2px solid var(--neon-blue);
        max-height: 400px;
        padding: 1.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .info-panel {
        overflow-y: visible;
    }

    .pagination {
        gap: 6px;
        margin-top: 30px;
    }
    
    .pagination-link,
    .current-page {
        padding: 6px 12px;
        font-size: 0.875rem;
    }
}

@media (min-width: 769px) {
    .details-toggle-link {
        display: none;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .blog-title {
        font-size: 1.3rem;
        line-height: 1.3;
        padding: 0 1rem;
    }

    .meta-item {
        font-size: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section h3 {
        font-size: 1.2rem;
    }

    .content-section h4 {
        font-size: 1rem;
    }

    .content-section h5 {
        font-size: 1rem;
    }

    .highlight-box {
        padding: 1rem;
    }

    table th,
    table td {
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
    }

    .submit-btn {
        width: 100%;
    }

    .pagination {
        gap: 4px;
        margin-top: 20px;
    }
    
    .pagination-link,
    .current-page {
        padding: 4px 8px;
        font-size: 0.8125rem;
    }
    
    .pagination-link:first-child,
    .pagination-link:last-child {
        display: none;
    }
}

@media (max-width: 375px) {
    .hero {
        height: auto;
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-btns button {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.55rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .feature-card img,
    .tutorial-card img {
        width: 100%;
        height: auto;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-input {
        width: 100%;
    }

    .newsletter-btn {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .nav-toggle {
        top: 1rem;
        right: 1rem;
    }

    .review-image {
        height: 200px;
    }
}

/* BLOG RESPONSIVENESS FIX */
@media (max-width: 1200px) {
    .content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .main-content,
    .sidebar {
        width: 100%;
    }

    .gallery-container {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 1.2rem;
        text-align: center;
    }

    .blog-meta {
        display: none;
    }

    .blog-meta.show {
        display: grid;
        margin-top: 1rem;
    }

    .details-toggle-link {
        display: inline-block;
        color: var(--neon-blue);
        font-weight: 600;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .details-toggle-link:hover {
        color: var(--neon-pink);
    }

    .content-image {
        height: 200px;
    }

    .gallery-container {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .gallery-dot {
        width: 10px;
        height: 10px;
    }

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

    .breadcrumb-nav {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .current {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .chevron {
        display: inline-block;
    }
}

@media (min-width: 769px) {
    .details-toggle-link {
        display: none;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 1.2rem;
        line-height: 1.3;
        padding: 0 1rem;
    }

    .meta-item {
        font-size: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section h3 {
        font-size: 1.2rem;
    }

    .content-section h4 {
        font-size: 1rem;
    }

    .content-section h5 {
        font-size: 1rem;
    }

    .highlight-box {
        padding: 1rem;
    }

    table th,
    table td {
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
    }

    .submit-btn {
        width: 100%;
    }
}

.qa-form-category {
    width: 100%;
    background-color: var(--dark-bg);
    border: 1px solid var(--metallic-accent);
    color: white;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-family: 'Rajdhani', sans-serif;
    border-radius: 0;
}

.qa-reply-form textarea {
    width: 100%;
    background-color: var(--dark-bg);
    border: 1px solid var(--metallic-accent);
    color: white;
    padding: 0.75rem;
    resize: vertical;
    min-height: 60px;
    margin-bottom: 8px;
    font-family: 'Rajdhani', sans-serif;
}

.qa-reply-form button {
    background-color: var(--neon-blue);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.qa-reply-form button:hover {
    background-color: var(--neon-pink);
}

.like-btn:hover {
    color: var(--neon-pink);
}

.qa-replies {
    margin-left: 20px;
    border-left: 2px solid var(--neon-pink);
    padding-left: 20px;
    margin-top: 10px;
    position: relative;
}

.qa-reply-thread {
    position: relative;
    padding-left: 10px;
    margin-bottom: 15px;
}

.qa-reply-thread::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -20px;
    width: 20px;
    height: 2px;
    background-color: var(--neon-pink);
}

.qa-reply {
    background: #111821;
    padding: 10px 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border-right: 3px solid var(--neon-blue);
    transition: background 0.2s ease-in-out;
    margin-bottom: 5px;
}

.qa-reply p {
    margin: 0;
    line-height: 1.5;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--neon-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.search-line-input {
    width: 100%;
    background-color: var(--dark-bg);
    border: 1px solid var(--metallic-accent);
    color: white;
    padding: 0.75rem 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    margin-bottom: 0.25rem;
    border-radius: 0;
    border-bottom: 2px solid var(--neon-blue);
    transition: all 0.3s ease;
}

.search-line-input:focus {
    border-bottom-color: var(--neon-pink);
    outline: none;
}

.form-textarea {
    width: 100%;
    background-color: var(--dark-bg);
    border: 1px solid var(--metallic-accent);
    color: white;
    padding: 1rem;
    min-height: 150px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    margin-bottom: 0.25rem;
    border-radius: 0;
    border-left: 3px solid var(--neon-blue);
    transition: all 0.3s ease;
    resize: vertical;
}

.form-textarea:focus {
    border-left-color: var(--neon-pink);
    outline: none;
}

.form-hint {
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
}

.qa-form-category {
    width: 100%;
    background-color: var(--dark-bg);
    border: 1px solid var(--metallic-accent);
    color: white;
    padding: 0.75rem 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    margin-bottom: 0.25rem;
    border-radius: 0;
    border-right: 3px solid var(--neon-blue);
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237a8ba9' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.qa-form-category:focus {
    border-right-color: var(--neon-pink);
    outline: none;
}

.qa-form-btn:disabled {
    background-color: var(--metallic-gray);
    color: #7a8ba9;
    cursor: not-allowed;
    opacity: 0.7;
}

.qa-form-btn:disabled:hover {
    background-color: var(--metallic-gray);
    box-shadow: none;
    transform: none;
}

/* Toast Messages */
.toast-message {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast-message i {
    font-size: 1.2rem;
}

.toast-message.success {
    background-color: #4CAF50;
    color: white;
}

.toast-message.error {
    background-color: #F44336;
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
