/* ===================================
   NEON TOPBAR STYLES
   =================================== */
.topbar {
    width: 100%;
    height: 38px;
    background: #0a0a0a;
    border-bottom: 1px solid #00ffff;
    box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.topbar-container {
    max-width:1900px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00ffff;
    font-size: 13px;
    font-weight: 400;
    /* text-shadow: 0 0 4px #00ffff, 0 0 10px #00ffff, 0 0 15px #00ffff; */
    transition: all 0.3s ease;
}

.topbar-item a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.topbar-item a:hover {
    color: #ffffff;
    text-shadow: 0 0 12px #00ffff, 0 0 25px #00ffff, 0 0 35px #00ffff;
}

.topbar-item i {
    color: #00ffff;
    font-size: 12px;
    /* text-shadow: 0 0 8px #00ffff, 0 0 15px #00ffff, 0 0 20px #00ffff; */
}

.topbar-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #00ffff;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px #00ffff, 0 0 15px #00ffff, 0 0 20px #00ffff;
}

.topbar-social:hover {
    background: rgba(0, 255, 255, 0.15);
    transform: scale(1.15);
    color: #ffffff;
    text-shadow: 0 0 12px #00ffff, 0 0 25px #00ffff, 0 0 35px #00ffff;
}

.topbar-item:hover {
    color: #ffffff;
    text-shadow: 0 0 12px #00ffff, 0 0 25px #00ffff, 0 0 35px #00ffff;
}

/* Adjust navbar position to account for topbar */
.navbar {
    top: 38px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .topbar-container {
        padding: 0 15px;
    }
    
    .topbar-left {
        gap: 15px;
    }
    
    .topbar-item {
        font-size: 12px;
    }
    
    .topbar-item span {
        display: none;
    }
    
    .topbar-right {
        gap: 12px;
    }
    
    .topbar-social {
        width: 24px;
        height: 24px;
    }
    
    .navbar {
        top: 38px !important;
    }
}

@media (max-width: 480px) {
    .topbar-left {
        gap: 10px;
    }
    
    .topbar-right {
        gap: 8px;
    }
}

/* ===== Blog Page Styles ===== */
.table-of-contents {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.table-of-contents h3 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.toc-list {
    list-style: none;
    counter-reset: toc-counter;
}

.toc-list li {
    counter-increment: toc-counter;
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
}

.toc-list li::before {
    content: counter(toc-counter) ".";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
    font-family: 'Orbitron', monospace;
}

.toc-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.toc-list a:hover {
    color: var(--accent-cyan);
}

/* Blog listing page section */
.blog-section {
    padding: 100px 0;
}

/* Blog article page sections */
.service-details .blog-section {
    margin: 1rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    scroll-margin-top: 70px;
}

.service-details .blog-section:last-child {
    border-bottom: none;
}

/* Section Images */
.section-image {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.section-image .section-img {
    max-width: 500px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background: white;
}

.figure-caption {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 1rem 0 0 0;
    font-style: italic;
}

.figure-caption strong {
    color: var(--accent-cyan);
    font-style: normal;
}

/* Command Table */
.command-table {
    max-width: 800px;
    margin: 2rem auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.command-table h4 {
    padding: 1.5rem;
    margin: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 255, 0.05));
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.command-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.command-table th {
    background: rgba(0, 255, 255, 0.1);
    color: var(--accent-cyan);
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    border-bottom: 2px solid var(--accent-cyan);
}

.command-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    color: var(--text-primary);
    vertical-align: middle;
}

.command-table tr:last-child td {
    border-bottom: none;
}

.command-table tr:hover {
    background: rgba(0, 255, 255, 0.05);
}

.command-table td code {
    background: rgba(0, 255, 255, 0.15);
    color: var(--accent-cyan);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    min-width: 60px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 255, 255, 0.2);
}

/* Responsive Command Table */
@media (max-width: 768px) {
    .command-table {
        max-width: 100%;
        margin: 1rem;
    }
    
    .command-table th,
    .command-table td {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .command-table td code {
        font-size: 1rem;
        min-width: 50px;
        padding: 0.4rem 0.8rem;
    }
    
    .command-table h4 {
        padding: 1rem;
        font-size: 1.1rem;
    }
}

.section-img {
    max-width: 40%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.4);
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
    background: none;
    padding: 0;
    border: none;
    filter: none;
}

.section-img:hover {
    transform: scale(1.05);
}

.service-details .blog-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    margin: 1rem 0;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.service-details .blog-content p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.service-details .blog-content code {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--accent-cyan);
    display: block;
    margin: 1rem 0;
    white-space: pre-wrap;
    word-break: break-all;
}

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

.char-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.char-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.char-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.char-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-bg);
}

.char-item h4 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.char-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* UART Specific Styles */
.uart-structure {
    gap: 2rem;
}

.structure-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.structure-item:hover {
    transform: translateX(10px);
}

.structure-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
}

.structure-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-cyan);
}

.structure-content {
    flex: 1;
}

.structure-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.structure-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.structure-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    font-size: 1.5rem;
}

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

.adv-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
}

.adv-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.adv-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--accent-cyan);
}

.adv-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.adv-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    word-wrap: break-word;
}

.limitations-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.limit-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
}

.limit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.limit-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--accent-cyan);
}

.limit-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.limit-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.app-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05); /* Subtle background */
    border-radius: 8px; /* Softer border-radius */
    border: 1px solid rgba(0, 255, 255, 0.05); /* Very subtle border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    overflow: hidden;
    word-wrap: break-word;
}

.app-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--accent-cyan);
}

.app-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.app-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    word-wrap: break-word;
}

.concept-box {
    background: rgba(0, 255, 255, 0.05);
    border-left: 4px solid var(--accent-cyan);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.concept-box h4 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.concept-list {
    list-style: none;
    padding-left: 0;
}

.concept-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.concept-list li strong {
    color: var(--text-primary);
}

.emphasis {
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid var(--accent-magenta);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-primary);
    box-shadow: 0 3px 10px rgba(255, 0, 255, 0.2);
}

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

.role-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.role-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--primary-bg);
}

.role-card h4 {
    color: var(--accent-magenta);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.note {
    background: rgba(255, 255, 0, 0.1);
    border: 1px solid rgba(255, 255, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    color: var(--text-secondary);
}

.advertising-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 25px;
    height: 25px;
    stroke: var(--primary-bg);
}

.feature-item h4 {
    color: var(--accent-cyan);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.code-example {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid var(--accent-green);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.code-example h4 {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.connection-points {
    list-style: none;
    padding: 0;
}

.connection-points li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.connection-points li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

.gatt-structure {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 2rem 0;
    gap: 1rem;
}

.structure-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.structure-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.structure-icon svg {
    width: 25px;
    height: 25px;
    stroke: var(--primary-bg);
}

.structure-item h4 {
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.structure-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.structure-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
}

.structure-arrow svg {
    width: 30px;
    height: 30px;
}

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

.security-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.security-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-bg);
}

.security-content h4 {
    color: var(--accent-magenta);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.security-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.association-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.model-card {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid var(--accent-cyan);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.2);
}

.model-card h4 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.model-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

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

.step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-bg);
}

.step-content h4 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.final-note {
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid var(--accent-magenta);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-style: italic;
}

/* BLE Comparison Table Styles */
.comparison-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    background: var(--card-bg);
    border-radius: 10px;
}

.comparison-title {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Orbitron', monospace;
}

.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.ble-comparison {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.ble-comparison thead {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
}

.ble-comparison th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    color: var(--primary-bg);
    font-size: 0.9rem;
    border-bottom: 2px solid var(--primary-bg);
}

.ble-comparison td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.ble-comparison tbody tr:hover {
    background: rgba(0, 255, 255, 0.05);
}

.ble-comparison tbody tr:last-child td {
    border-bottom: none;
}

.ble-comparison td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(0, 255, 255, 0.05);
}

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

.summary-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.summary-card h4 {
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-family: 'Orbitron', monospace;
}

.summary-card ul {
    list-style: none;
    padding: 0;
}

.summary-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.summary-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.comparison-summary .summary-card:first-child {
    border-color: var(--accent-cyan);
}

.comparison-summary .summary-card:first-child h4 {
    color: var(--accent-cyan);
}

.comparison-summary .summary-card:last-child {
    border-color: var(--accent-magenta);
}

.comparison-summary .summary-card:last-child h4 {
    color: var(--accent-magenta);
}

.comparison-summary .summary-card:last-child li::before {
    color: var(--accent-magenta);
}

/* ===== Responsive Design for Blog ===== */
@media (max-width: 768px) {
    .service-details .gatt-structure {
        flex-direction: column;
        align-items: center;
    }
    
    .service-details .structure-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .service-details .characteristics-grid,
    .service-details .roles-comparison,
    .service-details .security-concepts,
    .service-details .association-models,
    .service-details .next-steps {
        grid-template-columns: 1fr;
    }
    
    .service-details .advertising-features {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .service-details .security-item {
        flex-direction: column;
        text-align: center;
    }
    
    .service-details .step-card {
        flex-direction: column;
        text-align: center;
    }
    
    .service-details .comparison-summary {
        grid-template-columns: 1fr;
    }
    
    .service-details .ble-comparison {
        font-size: 0.8rem;
    }
    
    .service-details .ble-comparison th,
    .service-details .ble-comparison td {
        padding: 0.5rem;
    }
    
    .service-details .section-img {
        max-width: 500px;
        margin: 0 auto 1.5rem;
        border-radius: 8px;
    }
}

/* ===== CSS Variables ===== */
:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --card-bg: #151515;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-cyan: #00ffff;
    --accent-magenta: #ff00ff;
    --accent-green: #00ff00;
    --border-color: var(--accent-cyan);
    --gradient-primary: linear-gradient(135deg, #00ffff, #ff00ff);
    --gradient-secondary: linear-gradient(135deg, #ff00ff, #00ff00);
}

/* ===== Service Card Link Styles ===== */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

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

html {
    scroll-behavior: smooth;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    line-height: 1.2;
}

/* ===== Layout Components ===== */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 10px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto;
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-cyan);
}

/* ===== Matrix Rain Background ===== */
#matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

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

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

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

.nav-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.5) contrast(1.3) saturate(1.1);
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.nav-logo img:hover {
    filter: brightness(1.7) contrast(1.4) saturate(1.2);
    transform: scale(1.05);
}

.nav-logo {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
}

.logo-text {
    color: var(--text-primary);
}

.logo-glitch {
    color: var(--accent-cyan);
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
}

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

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

/* ===== Mega Dropdown ===== */
.nav-dropdown {
    position: relative;
}

.services-dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.services-dropdown-toggle:hover::after {
    transform: rotate(180deg);
}

.blogs-dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blogs-dropdown-toggle:hover::after {
    transform: rotate(180deg);
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--accent-cyan);
    border-radius: 10px;
    min-width: 450px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.nav-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-dropdown-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

/* 3-column layout for Blogs dropdown */
.nav-dropdown:nth-child(4) .mega-dropdown-content {
    grid-template-columns: 1fr 1fr 1fr;
    min-width: 400px;
}

.mega-dropdown-section h4 {
    color: var(--accent-cyan);
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mega-dropdown-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-dropdown-section li {
    margin-bottom: 8px;
}

.mega-dropdown-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.mega-dropdown-section a:hover {
    color: var(--accent-cyan);
    transform: translateX(5px);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    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);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 50px 0;
    z-index: 1;
    overflow: hidden;
    /* background: #0a0a0a; */
}

/* ===== Hero Image Slider ===== */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out, filter 1s ease-in-out;
    filter: blur(3px);
}

.hero-slide.active {
    opacity: 1;
    filter: blur(2px);
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* ===== Terminal-style Background ===== */
.terminal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.code-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 255, 0, 0.02) 50%,
        transparent 100%
    );
    animation: code-fall 15s linear infinite;
}

@keyframes code-fall {
    0% { background-position: 0 0; }
    100% { background-position: 0 100vh; }
}

.hex-stream {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    color: rgba(0, 255, 255, 0.1);
    white-space: pre;
    overflow: hidden;
    animation: hex-scroll 20s linear infinite;
}

.hex-stream::before {
    content: "0x7F3A 0x2B8C 0x9D4F 0x1E6A 0x5C9B 0x3F2D 0x8A7E 0x4B1C 0x6D9F 0x2E5A 0x7C8B 0x1F3D 0x9A6E 0x4B2C 0x8D5F 0x3E1A 0x6C9B 0x2F7D 0x8A4E 0x5D1C 0x9B3F 0x2E6A 0x7C8B 0x1F3D 0x9A6E 0x4B2C 0x8D5F 0x3E1A 0x6C9B 0x2F7D 0x8A4E 0x5D1C 0x9B3F 0x2E6A 0x7C8B 0x1F3D 0x9A6E 0x4B2C 0x8D5F 0x3E1A 0x6C9B 0x2F7D 0x8A4E 0x5D1C 0x9B3F";
    display: block;
    transform: rotate(-45deg);
}

@keyframes hex-scroll {
    0% { transform: rotate(-45deg) translateY(0); }
    100% { transform: rotate(-45deg) translateY(100vh); }
}

#terminal-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.05;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

/* ===== Hero Text Container ===== */
.hero-text-container {
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 60px 50px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    max-width: 600px;
}

.hero-text-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), transparent, rgba(0, 255, 255, 0.02));
    border-radius: 20px;
    z-index: -1;
}

.hero-text {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #e0f7ff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.4), 0 0 40px rgba(0, 255, 255, 0.2);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #b8e6ff;
    margin: 20px 0 30px 0;
    max-width: 500px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    margin-top: 30px;
}

.btn-cyber {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    color: #0a0a0a;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1rem;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

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

.btn-cyber:hover {
    background: linear-gradient(135deg, #00e4ff, #00aadd);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
    color: #0a0a0a;
}

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

.hero-visual {
    margin-left: 40px;
    position: relative;
    z-index: 1;
}

.hero-line {
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-line:hover {
    transform: translateX(5px);
    color: var(--accent-cyan);
}

.page-line {
    display: inline-block;
    transition: all 0.3s ease;
}

.page-line:hover {
    transform: translateX(5px);
    color: var(--accent-cyan);
}

.error-text {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 2rem;
    color: var(--accent-magenta);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== Glitch Text Animation ===== */
.glitch-text {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 3rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    animation: glitch 2s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: var(--accent-cyan);
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: var(--accent-magenta);
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { text-shadow: 0 0 5px var(--accent-cyan); }
    25% { text-shadow: -2px 0 var(--accent-magenta), 2px 0 var(--accent-cyan); }
    50% { text-shadow: 2px 0 var(--accent-cyan), -2px 0 var(--accent-magenta); }
    75% { text-shadow: 0 0 10px var(--accent-cyan), 0 0 10px var(--accent-magenta); }
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20% { clip-path: inset(20% 0 30% 0); transform: translate(-2px, 2px); }
    40% { clip-path: inset(50% 0 20% 0); transform: translate(2px, -2px); }
    60% { clip-path: inset(10% 0 60% 0); transform: translate(-2px, 1px); }
    80% { clip-path: inset(80% 0 5% 0); transform: translate(1px, -1px); }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 3.5rem;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 50px;
    text-shadow: 0 0 20px var(--accent-cyan);
}

.hero-subtitle-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    gap: 12px;
}

.subtitle-line {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 2.8rem;
    /* color: var(--text-primary); */
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 0 0 15px currentColor;
    animation: subtitle-pulse 3s ease-in-out infinite;
    position: relative;
    line-height: 1;
}

.subtitle-line:nth-child(1) { 
    color: var(--accent-cyan);
    animation-delay: 0s;
}
.subtitle-line:nth-child(2) { 
    color: var(--accent-magenta);
    animation-delay: 0.3s;
}
.subtitle-line:nth-child(3) { 
    color: var(--accent-cyan);
    animation-delay: 0.6s;
}
.subtitle-line:nth-child(4) { 
    color: var(--accent-magenta);
    animation-delay: 0.9s;
}

@keyframes subtitle-pulse {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.02);
    }
}

/* ===== Cyber Grid ===== */
.cyber-grid {
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-line {
    position: absolute;
    background: var(--accent-cyan);
    opacity: 0.3;
    animation: grid-pulse 4s ease-in-out infinite;
}

.grid-line:nth-child(1) {
    width: 100%;
    height: 1px;
    top: 20%;
    animation-delay: 0s;
}

.grid-line:nth-child(2) {
    width: 100%;
    height: 1px;
    top: 40%;
    animation-delay: 0.5s;
}

.grid-line:nth-child(3) {
    width: 100%;
    height: 1px;
    top: 60%;
    animation-delay: 1s;
}

.grid-line:nth-child(4) {
    width: 100%;
    height: 1px;
    top: 80%;
    animation-delay: 1.5s;
}

.grid-line:nth-child(5) {
    width: 1px;
    height: 100%;
    left: 50%;
    animation-delay: 2s;
}

.grid-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-magenta);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-magenta);
    animation: node-blink 2s ease-in-out infinite;
}

.grid-node:nth-child(6) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.grid-node:nth-child(7) {
    top: 20%;
    right: 20%;
    animation-delay: 0.4s;
}

.grid-node:nth-child(8) {
    bottom: 20%;
    left: 20%;
    animation-delay: 0.8s;
}

.grid-node:nth-child(9) {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.2s;
}

.grid-node:nth-child(10) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
    animation-delay: 1.6s;
}

@keyframes grid-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes node-blink {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

@keyframes subtitle-pulse {
    0%, 100% { 
        opacity: 0.7;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.05);
    }
}

.main-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1rem;
    color: var(--accent-cyan);
    text-align: center;
    letter-spacing: 2px;
}

/* ===== Enhanced Logo Showcase ===== */
.enhanced-logo-showcase {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #0a0a0a);
    border: 3px solid var(--accent-cyan);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3), inset 0 0 30px rgba(0, 255, 255, 0.1);
    overflow: hidden;
}

.enhanced-logo-showcase::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta), var(--accent-cyan));
    border-radius: 20px;
    z-index: -1;
    animation: border-glow 3s linear infinite;
}

.logo-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.enhanced-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: none;
    z-index: 10;
    position: relative;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.3s ease;
}

.enhanced-logo:hover {
    transform: scale(1.05);
}

.logo-glow-effect {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-magenta), transparent);
    opacity: 0.3;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-glow 2s ease-in-out infinite;
}

.company-info {
    text-align: center;
    z-index: 2;
}

.company-name {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: 3px;
    margin: 0 0 10px 0;
    text-shadow: 0 0 15px var(--accent-cyan);
    animation: text-pulse 3s ease-in-out infinite;
}

.company-tagline {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-magenta);
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
}

.company-name-enhanced {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: 3px;
    margin: 0 0 10px 0;
    text-shadow: 0 0 15px var(--accent-cyan);
    animation: text-pulse 3s ease-in-out infinite;
}

.tagline {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-magenta);
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

@keyframes border-glow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

@keyframes text-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.neon-cyan {
    color: var(--accent-cyan);
    text-shadow: 0 0 20px var(--accent-cyan);
}

.hero-subtitle {
    font-size: 1.2rem;
    color:#ffffff;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.terminal-window {
    width: 100%;
    max-width: 500px;
    background: rgba(5, 5, 15, 0.98);
    border: 1px solid rgba(0, 255, 255, 0.6);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.4), 0 0 50px rgba(0, 255, 255, 0.2), inset 0 0 25px rgba(0, 255, 255, 0.15);
    filter: none;
    position: relative;
}

.terminal-window::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    border-radius: 8px;
    z-index: 1;
    animation: terminal-glow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes terminal-glow {
    0% { box-shadow: 0 0 15px rgba(0, 255, 255, 0.3), inset 0 0 15px rgba(0, 255, 255, 0.1); }
    100% { box-shadow: 0 0 25px rgba(0, 255, 255, 0.5), inset 0 0 25px rgba(0, 255, 255, 0.2); }
}

.terminal-header {
    background: rgba(15, 15, 25, 0.98);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.5);
    filter: none;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close {
    background: #ff5f56;
    box-shadow: 0 0 5px rgba(255, 95, 86, 0.5);
}

.btn-minimize {
    background: #ffbd2e;
    box-shadow: 0 0 5px rgba(255, 189, 46, 0.5);
}

.btn-maximize {
    background: #27c93f;
    box-shadow: 0 0 5px rgba(39, 201, 63, 0.5);
}

.terminal-title {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #00ff88;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
    filter: none;
}

.terminal-body {
    padding: 20px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    min-height: 200px;
    background: rgba(0, 0, 10, 0.95);
    filter: none;
}

.terminal-line {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prompt {
    color: #00ff88;
    font-weight: bold;
    text-shadow: 0 0 6px rgba(0, 255, 136, 0.8);
    filter: none;
}

.command {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
    filter: none;
}

.terminal-line.success .command {
    color: #00ff88;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 255, 136, 1);
    filter: none;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #00ffff;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
    animation: blink 1s infinite;
    filter: none;
}

/* ===== Mobile Overflow Fix ===== */
@media (max-width: 768px) {
    * {
        box-sizing: border-box;
    }
    
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    html {
        overflow-x: hidden;
    }
    
    #matrix-rain {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
        position: fixed;
    }
    
    .hero-slider,
    .hero-slide,
    .terminal-background,
    .code-rain {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
        position: relative;
    }
    
    .hero-slider::before {
        width: 100vw;
        max-width: 100vw;
    }
    
    .navbar {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
        position: relative;
    }
    
    .container {
        width: 100vw;
        max-width: 100vw;
        padding: 0 15px;
        overflow: hidden;
        position: relative;
    }
    
    .hero {
        padding: 80px 0;
        min-height: 80vh;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0;
        align-items: center;
        justify-content: center;
        min-height: 85vh;
        width: 100vw;
        max-width: 100vw;
    }
    
    .hero-text {
        padding: 40px 30px;
        background: rgba(10, 10, 10, 0.75);
        border-radius: 20px;
        border: 2px solid rgba(0, 255, 255, 0.6);
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 15px;
        padding: 0;
        color: var(--accent-cyan);
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
        word-wrap: break-word;
        overflow-wrap: break-word;
        font-weight: 700;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 100%;
        padding: 0;
        margin-bottom: 18px;
        color: var(--text-secondary);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-cta {
        margin-top: 18px;
    }
    
    .btn-cyber {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 200px;
        min-height: 48px;
        margin: 0 auto;
        font-weight: 600;
        letter-spacing: 0.8px;
    }
    
    .hero-slide {
        filter: blur(3px) brightness(0.7);
        background-position: center;
        background-size: cover;
    }
    
    .hero-slide.active {
        filter: blur(2px) brightness(0.8);
    }
    
    .terminal-background {
        opacity: 0.8;
    }
    
    .code-rain {
        animation-duration: 20s;
    }
    
    .hex-stream {
        font-size: 10px;
        animation-duration: 25s;
    }
    
    #terminal-canvas {
        opacity: 0.03;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 15px;
        text-align: left;
    }
    
    .footer-section {
        margin-bottom: 25px;
        text-align: left;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 12px;
        color: var(--accent-cyan);
    }
    
    .footer-section ul {
        list-style: none;
        padding: 0;
    }
    
    .footer-section li {
        margin-bottom: 8px;
    }
    
    .footer-section a {
        font-size: 0.85rem;
        line-height: 1.6;
        color: var(--text-secondary);
        transition: color 0.3s ease;
    }
    
    .footer-section a:hover {
        color: var(--accent-cyan);
    }
    
    .footer-bottom {
        padding: 15px;
        text-align: center;
        font-size: 0.8rem;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid var(--accent-cyan);
    background: transparent;
    color: var(--accent-cyan);
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-cyan);
    transition: left 0.3s ease;
    z-index: -1;
}

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

.btn:hover {
    color: var(--primary-bg);
    box-shadow: 0 0 20px var(--accent-cyan);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--primary-bg);
}

.btn-primary::before {
    background: var(--accent-magenta);
}

.btn-primary:hover {
    background: var(--accent-magenta);
    border-color: var(--accent-magenta);
    box-shadow: 0 0 20px var(--accent-magenta);
}

.btn-secondary {
    border-color: var(--accent-magenta);
    color: var(--accent-magenta);
}

.btn-secondary::before {
    background: var(--accent-magenta);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--secondary-bg);
    scroll-margin-top: 70px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'Orbitron', monospace;
    letter-spacing: 1px;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.circuit-board {
    width: 300px;
    height: 300px;
    background: 
        radial-gradient(circle at 20% 20%, var(--accent-cyan) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, var(--accent-magenta) 2px, transparent 2px),
        radial-gradient(circle at 20% 80%, var(--accent-green) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, var(--accent-cyan) 2px, transparent 2px),
        linear-gradient(45deg, transparent 48%, var(--accent-cyan) 49%, var(--accent-cyan) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, var(--accent-magenta) 49%, var(--accent-magenta) 51%, transparent 52%);
    background-size: 50px 50px, 50px 50px, 50px 50px, 50px 50px, 100px 100px, 100px 100px;
    background-position: 0 0, 250px 0, 0 250px, 250px 250px, 0 0, 0 0;
    border: 2px solid var(--accent-cyan);
    border-radius: 8px;
    animation: circuit-pulse 3s infinite;
}

/* ===== Services Scroll Container ===== */
.services-scroll-container {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    margin: 0;
}

.services-scroll-track {
    display: flex;
    gap: 30px;
    animation: scroll-services-horizontal 30s linear infinite;
    width: fit-content;
}

.scroll-item {
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(50px);
    animation: fade-in-right 0.8s ease-out forwards;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.scroll-item:nth-child(1) { animation-delay: 0.2s; }
.scroll-item:nth-child(2) { animation-delay: 0.4s; }
.scroll-item:nth-child(3) { animation-delay: 0.6s; }
.scroll-item:nth-child(4) { animation-delay: 0.8s; }
.scroll-item:nth-child(5) { animation-delay: 1.0s; }
.scroll-item:nth-child(6) { animation-delay: 1.2s; }
.scroll-item:nth-child(7) { animation-delay: 1.4s; }
.scroll-item:nth-child(8) { animation-delay: 1.6s; }
.scroll-item:nth-child(9) { animation-delay: 1.8s; }
.scroll-item:nth-child(10) { animation-delay: 2.0s; }
.scroll-item:nth-child(11) { animation-delay: 2.2s; }

@keyframes fade-in-right {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scroll-services-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===== Services Carousel ===== */
.services-carousel {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    margin: 0 -20px;
}

.services-track {
    display: flex;
    gap: 30px;
    animation: scroll-services 30s linear infinite;
    width: fit-content;
}

.services-track:hover {
    animation-play-state: paused;
}

.services-carousel .service-card {
    min-width: 350px;
    flex-shrink: 0;
}

@keyframes scroll-services {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.services-cta {
    text-align: center;
    margin-top: 40px;
}

.services-cta .btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    background: var(--gradient-primary);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.services-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.5);
    background: var(--gradient-secondary);
}

/* ===== Services Section ===== */
.services {
    padding: 60px 0;
    scroll-margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.services .container {
    padding: 0;
    max-width: 100%;
}

/* Services Page Specific Styling */
.services-page .container {
    padding: 0 20px;
    max-width: 1500px;
    margin: 0 auto;
}

.services-page .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-page .service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    align-items: stretch;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    height: 420px;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: transform 0.3s ease;
    border-radius: 12px 12px 0 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: transform 0.3s ease;
    border-radius: 12px 12px 0 0;
    transform: scaleX(0);
    opacity: 0;
}

.service-card:hover::before {
    transform: translateX(0);
}

.service-card:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.1);
}

.service-card .service-icon {
    margin-bottom: 20px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

.service-card .service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    flex-shrink: 0;
}

.service-card .service-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-card .service-link {
    margin-top: auto;
    flex-shrink: 0;
    color: var(--accent-cyan);
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    text-align: center;
}

.service-cta {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

/* ===== Service Details Page ===== */
.service-details {
    padding: 80px 0;
    scroll-margin-top: 70px;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url('images/automotive-security-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: 20px;
    padding: 60px 0;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-image-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

.hero-badge {
    color: var(--primary-bg);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-description {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    font-size: 1rem;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
    animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 25px 50px rgba(0, 255, 255, 0.5);
    }
}

.hero-text {
    color: var(--primary-bg);
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: #00ffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color:white;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

/* Force hero section visibility */
.service-hero {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-content {
    display: grid !important;
    visibility: visible !important;
}

.hero-image {
    display: block !important;
    visibility: visible !important;
}

.hero-text {
    display: block !important;
    visibility: visible !important;
}

.challenge-points {
    background: var(--secondary-bg);
    border-radius: 15px;
    padding: 40px;
    margin-top: 40px;
}

.challenge-points h3 {
    color: var(--accent-cyan);
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.challenge-list {
    list-style: none;
    padding: 0;
}

.challenge-list li {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent-cyan);
    transition: all 0.3s ease;
}

.challenge-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.1);
}

.challenge-list strong {
    color: var(--accent-cyan);
    display: block;
    margin-bottom: 8px;
}

.service-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.service-overview {
    margin-bottom: 60px;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.overview-text {
    max-width: 600px;
}

.overview-image {
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 150, 255, 0.1));
    padding: 20px;
}

.overview-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    transition: all 0.5s ease;
    object-fit: contain;
}

@keyframes imagePulse {
    0%, 100% {
        transform: scale(1) translateY(0px);
        filter: brightness(1) saturate(1) hue-rotate(0deg);
        box-shadow: 0 25px 50px rgba(255, 100, 100, 0.3);
    }
    25% {
        transform: scale(1.05) translateY(-5px);
        filter: brightness(1.1) saturate(1.2) hue-rotate(30deg);
        box-shadow: 0 30px 60px rgba(255, 150, 100, 0.4);
    }
    50% {
        transform: scale(1.02) translateY(-8px);
        filter: brightness(1.2) saturate(1.3) hue-rotate(60deg);
        box-shadow: 0 35px 70px rgba(255, 200, 100, 0.5);
    }
    75% {
        transform: scale(1.03) translateY(-5px);
        filter: brightness(1.1) saturate(1.1) hue-rotate(90deg);
        box-shadow: 0 40px 80px rgba(255, 50, 150, 0.4);
    }
    100% {
        transform: scale(1) translateY(-8px);
        filter: brightness(1) saturate(1) hue-rotate(120deg);
        box-shadow: 0 25px 50px rgba(255, 100, 100, 0.3);
    }
}

.service-features {
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-top: 10px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--accent-cyan);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-item h4 {
    color: var(--accent-cyan);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-process {
    background: var(--secondary-bg);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 60px;
}

.process-title {
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    background: var(--gradient-primary);
    color: var(--primary-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-benefits {
    margin-bottom: 60px;
}

.benefits-intro {
    background: var(--secondary-bg) !important;
    border-radius: 15px !important;
    padding: 30px !important;
    margin-bottom: 40px !important;
    text-align: center !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    color: var(--text-secondary) !important;
    display: block !important;
}

.benefits-title {
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

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

.benefit-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-item h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.service-cta {
    background: var(--gradient-primary);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    color: var(--primary-bg);
}

.service-cta h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.service-cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.service-cta .btn {
    background: var(--primary-bg);
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
    padding: 15px 30px;
    font-size: 1.1rem;
}

.service-cta .btn:hover {
    background: var(--accent-cyan);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: translateX(0);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.1);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 36px;
    color: var(--primary-bg);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-bg);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.service-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.service-link:hover {
    color: var(--accent-magenta);
    transform: translateX(5px);
}

/* ===== CTA Section ===== */
.cta {
    padding: 100px 0;
    background: var(--secondary-bg);
    text-align: center;
    scroll-margin-top: 70px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 30px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    scroll-margin-top: 70px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.contact-icon svg {
    width: 25px;
    height: 25px;
    stroke: var(--primary-bg);
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent-cyan);
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-details a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent-magenta);
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-secondary);
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    background: var(--card-bg);
    padding: 0 10px;
    color: var(--accent-cyan);
    font-size: 0.8rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Tablet responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(1.3) contrast(1.2) saturate(1.1);
    transition: transform 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.footer-logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.5) contrast(1.3) saturate(1.2);
}

.footer-section h3,
.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-cyan);
    font-weight: bold;
}

.footer-section p {
    color: white;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
}

.footer-section ul li a:hover {
    color: var(--accent-cyan);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-cyan);
    color: var(--primary-bg);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

/* ===== Animations ===== */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes circuit-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* ===== Page Header ===== */
.page-header {
    padding: 250px 0 60px;
    text-align: center;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    z-index: 1;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.page-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ===== Blog Section ===== */
.blog-filters {
    padding: 50px 0;
    background: var(--secondary-bg);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-cyan);
    color: var(--primary-bg);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.blog-card:hover::before {
    transform: translateX(0);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.1);
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.blog-category {
    background: var(--gradient-primary);
    color: var(--primary-bg);
    padding: 5px 15px;
    border-radius: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-date {
    color: var(--text-secondary);
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    background: var(--secondary-bg);
    color: var(--accent-cyan);
    padding: 5px 12px;
    border-radius: 15px;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    border: 1px solid var(--accent-cyan);
}

.blog-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.blog-link:hover {
    color: var(--accent-magenta);
    transform: translateX(5px);
}

/* ===== Conference Talks ===== */
.talks-stats {
    padding: 50px 0;
    background: var(--secondary-bg);
}

.talks-timeline {
    padding: 100px 0;
}

.timeline {
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-year {
    background: var(--gradient-primary);
    color: var(--primary-bg);
    padding: 10px 20px;
    border-radius: 25px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.timeline-content {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Talk Filters Section */
.talk-filters {
    padding: 60px 0;
    background: var(--secondary-bg);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 25px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover {
    border-color: var(--accent-cyan);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--accent-cyan);
    color: var(--primary-bg);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Talk card filtering */
.talk-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.8);
}

.talk-card.visible {
    display: block;
    opacity: 1;
    transform: scale(1);
}

/* Blog Navigation */
.blog-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px 0;
    gap: 30px;
}

.blog-nav-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 25px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    flex: 1;
    max-width: 300px;
}

.blog-nav-btn:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.15);
}

.blog-nav-prev {
    justify-content: flex-start;
}

.blog-nav-next {
    justify-content: flex-end;
    text-align: right;
}

.nav-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}

.blog-nav-btn:hover .nav-icon {
    transform: scale(1.2);
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.nav-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
}

/* Talk Filters Section */
.talk-left {
    margin-left: auto !important;    /* RIGHT side */
    margin-right: 0 !important;
}

.talk-right {
    margin-right: auto !important;   /* LEFT side */
    margin-left: 0 !important;
}

.talk-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    max-width: 600px;
}

.talk-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.1);
}

.talk-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.talk-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    line-height: 1.3;
    flex: 1;
    margin-right: 15px;
}

.talk-date {
    color: var(--accent-cyan);
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    white-space: nowrap;
}

.talk-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.talk-conference {
    color: var(--accent-magenta);
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
}

.talk-location {
    color: var(--text-secondary);
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

.talk-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.talk-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.talks-topics {
    padding: 100px 0;
    background: var(--secondary-bg);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.topic-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.1);
}

.topic-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.topic-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-bg);
}

.topic-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.topic-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== About Page ===== */
.story-section {
    padding: 120px 0;
    background: var(--secondary-bg);
    position: relative;
    margin-top: -60px;
    z-index: 2;
    scroll-margin-top: 70px;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.story-description strong {
    color: var(--accent-cyan);
}

.logo-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-circle {
    width: 200px;
    height: 200px;
    border: 3px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s infinite;
    position: relative;
}

.logo-circle::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid var(--accent-magenta);
    border-radius: 50%;
    animation: rotate-slow 20s linear infinite;
}

.logo-text-large {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--accent-cyan);
    text-align: center;
    line-height: 1.2;
}

/* ===== Security Shield ===== */
.security-shield {
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
    border-radius: 50%;
    position: relative;
    animation: pulse 3s infinite;
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.3);
}

.shield-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.shield-icon svg {
    width: 60px;
    height: 60px;
    stroke: var(--primary-bg);
    stroke-width: 2;
    fill: none;
}

.shield-text {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1rem;
    color: var(--primary-bg);
    letter-spacing: 2px;
}

.mission-vision {
    padding: 120px 0;
    position: relative;
    scroll-margin-top: 70px;
}

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

.mv-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.1);
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.mv-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-bg);
}

.mv-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.mv-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.expertise-section {
    padding: 120px 0;
    background: var(--secondary-bg);
    position: relative;
    scroll-margin-top: 70px;
}

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

.expertise-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.1);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.expertise-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary-bg);
}

.expertise-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.expertise-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.team-section {
    padding: 120px 0;
    position: relative;
    scroll-margin-top: 70px;
}

.team-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.team-main {
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
}

.member-avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: visible;
    border: 3px solid var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    background: var(--card-bg);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute;
    top: 0;
    left: 0;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.avatar-placeholder.section-img {
    max-width: 1200px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 3rem auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.section-img:hover {
    transform: scale(1.02);
}

.overview-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    transition: all 0.5s ease;
    object-fit: contain;
}

.overview-img:hover {
    transform: scale(1.02);
}

.avatar-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.avatar-placeholder img:hover {
    transform: scale(1.05);
}

.avatar-placeholder svg {
    width: 80px;
    height: 80px;
    fill: var(--primary-bg);
}

.member-name {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.member-title {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-expertise {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.expertise-tag {
    background: var(--secondary-bg);
    color: var(--accent-magenta);
    padding: 5px 12px;
    border-radius: 15px;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    border: 1px solid var(--accent-magenta);
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: var(--card-bg);
    border: 2px solid var(--accent-cyan);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-magenta);
    box-shadow: 0 12px 35px rgba(255, 0, 255, 0.4);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 0 15px currentColor;
}

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

.faq-section {
    padding: 120px 0;
    background: var(--secondary-bg);
    position: relative;
    scroll-margin-top: 70px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

.faq-toggle {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== 404 Page ===== */
.error-404 {
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.error-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.error-code {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.code-digit {
    font-size: 8rem;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.error-message {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.error-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.error-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-terminal {
    margin-bottom: 40px;
}

.error-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

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

.helpful-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.help-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.help-link:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.1);
}

.help-link svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-cyan);
    flex-shrink: 0;
}

.help-link span {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
}

.terminal-line.error .command {
    color: var(--accent-magenta);
}


/* ===============================
   HERO – MOBILE-FIRST REDESIGN
================================ */
@media (max-width: 768px) {

  /* Kill heavy visuals */
  .hero-slider,
  .terminal-background,
  #terminal-canvas,
  .code-rain,
  .hex-stream,
  .hero-visual,
  .scroll-indicator {
    display: none !important;
  }

  .hero {
    min-height: 100vh;
    background:
      linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)),
      url('images/services/Information_security.jpeg');
    background-size: cover;
    background-position: center;
    padding: 100px 20px 80px;
    display: flex;
    align-items: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .hero-title {
    font-size: 1.9rem;
    line-height: 1.25;
    letter-spacing: 0.5px;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-cta {
    margin-top: 10px;
  }

  .btn-cyber {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {

  .hero-title {
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    font-weight: 700;
  }

  .hero-description {
    color: #E8F8FF;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  }

  .btn-cyber {
    background: #00E5FF;
    color: #000;
    font-weight: bold;
    text-shadow: none;
  }

  .btn-cyber:hover {
    background: #00C8E0;
    color: #000;
  }
}
@media (max-width: 768px) {
  .hero-title {
    color: #00FFFF;
    text-shadow:
      0 0 4px #00FFFF,
      0 0 10px #00C8E0,
      0 0 20px #0099CC,
      0 0 30px #006699;
    animation: neonGlow 2s infinite alternate;
  }

  @keyframes neonGlow {
    from {
      text-shadow:
        0 0 6px #00FFFF,
        0 0 12px #00C8E0,
        0 0 22px #0099CC,
        0 0 30px #006699;
    }
    to {
      text-shadow:
        0 0 12px #00FFFF,
        0 0 22px #00C8E0,
        0 0 32px #0099CC,
        0 0 42px #006699;
    }
  }
}














/* ===== Responsive Design ===== */
/* ===============================
   MOBILE NAVIGATION
================================ */
@media (max-width: 768px) {

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 10, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1000;
    padding: 10px;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .nav-dropdown {
    width: 100%;
  }

  .services-dropdown-toggle::after {
    content: ' ▼';
  }

  .mega-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-top: 10px;
  }

  .mega-dropdown-content {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 20px;
  }

  .nav-dropdown:nth-child(4) .mega-dropdown-content {
    grid-template-columns: 1fr;
  }

  .mega-dropdown-section {
    margin-bottom: 20px;
  }

  .mega-dropdown-section h4 {
    margin-bottom: 10px;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 15px 25px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ===============================
   HERO SECTION (FIXED & CLEAN)
================================ */
.hero {
  position: relative;
  overflow: hidden;
}

/* Mobile & Tablet */
@media (max-width: 768px) {

  .hero {
    min-height: 100vh;
    padding: 90px 15px 60px;
  }

  /* Dark overlay for readability */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
  }

  .hero > * {
    position: relative;
    z-index: 2;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 0 20px;
  }

  .hero-text-container {
    width: 100%;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
  }

  .hero-cta {
    display: flex;
    justify-content: center;
  }

  .btn-cyber {
    width: 100%;
    max-width: 280px;
    padding: 15px 30px;
    font-size: 1rem;
    min-height: 50px;
  }

  /* Show terminal on mobile */
  .hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .terminal-window {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    transform: scale(0.9);
  }

  .terminal-body {
    font-size: 0.8rem;
    max-height: 180px;
    overflow: hidden;
  }

  /* Slider background */
  .hero-slide {
    background-position: center;
    background-size: cover;
  }

  /* Scroll indicator */
  .scroll-indicator {
    bottom: 15px;
    transform: scale(0.8);
  }
}

/* Extra small devices */
@media (max-width: 480px) {

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

  /* Hide terminal for clean UX */
  .hero-visual {
    display: none;
  }
}

/* ===============================
   EVENTS PAGE STYLING
================================ */

/* Events Hero Section */
.events-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.events-hero .hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.events-hero .hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.events-hero .neon-cyan {
    color: #00f0ff;
    text-shadow: 
        0 0 10px #00f0ff,
        0 0 20px #00f0ff,
        0 0 30px #00f0ff,
        0 0 40px #00f0ff,
        0 0 50px #00f0ff;
    animation: neonPulse 2s ease-in-out infinite alternate;
}

.events-hero .hero-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #b8b8c8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Events Section */
.events-section {
    padding: 100px 0;
    background: #0a0a0f;
    position: relative;
}

/* Event Tabs */
.event-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(10, 10, 15, 0.8);
    border: 2px solid transparent;
    color: #b8b8c8;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

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

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

.tab-btn:hover {
    border-color: #00f0ff;
    color: #00f0ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.3);
}

.tab-btn.active {
    background: linear-gradient(135deg, #00f0ff, #9d00ff);
    color: #ffffff;
    border-color: #00f0ff;
    box-shadow: 
        0 0 20px rgba(0, 240, 255, 0.5),
        0 0 40px rgba(157, 0, 255, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.tab-btn i {
    font-size: 1.2rem;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeInUp 0.6s ease;
}

.tab-content.active {
    display: block;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Event Cards - Simplified Structure */
.event-card {
    background: rgba(20, 20, 30, 0.8);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    height: auto;
    min-height: 700px;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.5);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 240, 255, 0.3),
        inset 0 0 20px rgba(157, 0, 255, 0.1);
}

/* Banner Section */
.event-banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0f;
}

.event-banner img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.event-banner:hover img {
    transform: scale(1.05);
}

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #00f0ff, #00d4ff);
    color: #0a0a0f;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    z-index: 2;
}

/* Content Section */
.event-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.event-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-description {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    color: #b8b8c8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.event-date,
.event-location {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: #00f0ff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-date i,
.event-location i {
    font-size: 1rem;
    width: 20px;
}

.event-countdown {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

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

.countdown-value {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00f0ff;
    display: block;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.countdown-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    color: #b8b8c8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Buttons - Guaranteed Clickable */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: 2px solid #00f0ff;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(0, 240, 255, 0.2));
    color: #00f0ff;
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 99999;
    margin: 0 auto;
    align-self: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
    background: linear-gradient(135deg, #00f0ff, #9d00ff);
    color: #000000;
    text-decoration: none;
}

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

.event-card-front, .event-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.2);
    pointer-events: auto;
}

/* Front Side - Banner Only */
.event-card-front {
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(20px);
}

.event-card-front .event-banner {
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0f;
}

.event-card-front .event-banner img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.event-card-front:hover .event-banner img {
    transform: scale(1.05);
}

.event-card-front .event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #00f0ff, #00d4ff);
    color: #0a0a0f;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    z-index: 2;
}

/* Back Side - All Information */
.event-card-back {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(30, 30, 45, 0.95));
    backdrop-filter: blur(20px);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 
        0 0 30px rgba(0, 240, 255, 0.4),
        inset 0 0 20px rgba(157, 0, 255, 0.1);
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.event-card-back .event-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-card-back .event-description {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: #b8b8c8;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    overflow-y: auto;
    max-height: 120px;
}

.event-card-back .event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.event-card-back .event-date,
.event-card-back .event-location {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: #00f0ff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-card-back .event-date i,
.event-card-back .event-location i {
    font-size: 1rem;
    width: 20px;
}

/* Countdown in flip card */
.event-card-back .event-countdown {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.event-card-back .countdown-item {
    text-align: center;
}

.event-card-back .countdown-value {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00f0ff;
    display: block;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.event-card-back .countdown-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    color: #b8b8c8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Ensure all links in flip cards are clickable - Payatu style */
.event-card-back a,
.event-card-back .btn,
.event-card a,
.event-card .btn {
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Prevent flip when hovering over buttons - Payatu style */
.event-card-back .btn:hover,
.event-card-back a:hover,
.event-card .btn:hover,
.event-card a:hover {
    transform: none !important;
}

.event-card:hover:has(.btn:hover) .event-card-inner,
.event-card:hover:has(a:hover) .event-card-inner {
    transform: rotateY(180deg);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 240, 255, 0.1) 0%, 
        rgba(157, 0, 255, 0.05) 50%, 
        rgba(0, 240, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.event-card:hover::before {
    opacity: 1;
}

.event-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 240, 255, 0.5);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 240, 255, 0.3),
        inset 0 0 20px rgba(157, 0, 255, 0.1);
}

/* Event Banner */
.event-banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    cursor: pointer;
}

.event-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.event-card:hover .event-banner img {
    transform: scale(1.05);
}

/* Modal Overlay for Full View */
.event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.event-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid rgba(0, 240, 255, 0.3);
    box-shadow: 
        0 0 50px rgba(0, 240, 255, 0.5),
        0 0 100px rgba(157, 0, 255, 0.3);
    animation: slideUp 0.4s ease;
}

.event-modal-banner {
    width: 100%;
    max-height: 60vh;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #0a0a0f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-modal-banner img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    background: #0a0a0f;
}

.event-modal-body {
    padding: 2rem;
}

.event-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 0, 64, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.event-modal-close:hover {
    background: #ff0040;
    transform: scale(1.1);
}

/* Banner overlay for full view hint */
.event-banner::after {
    content: 'Click to view full banner';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 240, 255, 0.9);
    color: #0a0a0f;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-family: 'Rajdhani', sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.event-banner:hover::after {
    opacity: 1;
}

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.event-badge:not(.completed) {
    background: linear-gradient(135deg, #00f0ff, #00d4ff);
    color: #0a0a0f;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.event-badge.completed {
    background: linear-gradient(135deg, #ff0040, #ff0066);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 0, 64, 0.5);
}

/* Event Content */
.event-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.event-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-description {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    color: #b8b8c8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Event Meta */
.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.event-date,
.event-location {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: #00f0ff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-date i,
.event-location i {
    width: 20px;
    text-align: center;
}

/* Event Countdown */
.event-countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.countdown-item {
    text-align: center;
    min-width: 60px;
}

.countdown-value {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00f0ff;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.countdown-label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: #b8b8c8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Event Buttons */
.btn-register {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #00f0ff, #9d00ff);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(0, 240, 255, 0.4),
        0 0 30px rgba(157, 0, 255, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn-outline {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
    color: #00f0ff;
    border: 2px solid #00f0ff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(0, 240, 255, 0.3),
        inset 0 0 20px rgba(0, 240, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* Previous Events Styling */
.event-card.previous {
    opacity: 0.85;
}

.event-card.previous:hover {
    opacity: 1;
}

.event-card.previous .event-title {
    color: #b8b8c8;
}

.event-card.previous .event-description {
    color: #888898;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 50%, #16213e 100%);
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.cta-description {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    color: #b8b8c8;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

/* Neon Button Styles */
.btn-neon {
    position: relative;
    background: linear-gradient(135deg, #00f0ff, #9d00ff);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

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

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

.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(0, 240, 255, 0.4),
        0 0 30px rgba(157, 0, 255, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Particles Background */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particles-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(0, 240, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(157, 0, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(0, 240, 255, 0.2), transparent),
        radial-gradient(1px 1px at 80% 20%, rgba(157, 0, 255, 0.2), transparent);
    background-size: 200px 200px;
    animation: particles 20s linear infinite;
}

@keyframes particles {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50px, -50px); }
}

/* Neon Pulse Animation */
@keyframes neonPulse {
    0% {
        text-shadow: 
            0 0 10px #00f0ff,
            0 0 20px #00f0ff,
            0 0 30px #00f0ff,
            0 0 40px #00f0ff,
            0 0 50px #00f0ff;
    }
    50% {
        text-shadow: 
            0 0 15px #00f0ff,
            0 0 25px #00f0ff,
            0 0 35px #00f0ff,
            0 0 45px #00f0ff,
            0 0 60px #00f0ff,
            0 0 70px #9d00ff;
    }
    100% {
        text-shadow: 
            0 0 10px #00f0ff,
            0 0 20px #00f0ff,
            0 0 30px #00f0ff,
            0 0 40px #00f0ff,
            0 0 50px #00f0ff;
    }
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   EVENTS RESPONSIVE DESIGN
================================ */

@media (max-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .events-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .events-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .events-section {
        padding: 60px 0;
    }
    
    .event-tabs {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-banner {
        height: 200px;
    }
    
    .event-content {
        padding: 1.5rem;
    }
    
    .event-title {
        font-size: 1.3rem;
    }
    
    .event-description {
        font-size: 1rem;
    }
    
    .event-countdown {
        gap: 0.5rem;
        padding: 0.8rem;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .events-hero {
        min-height: 50vh;
    }
    
    .events-hero .hero-title {
        font-size: 2rem;
    }
    
    .events-hero .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .event-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .event-banner {
        height: 180px;
    }
    
    .event-content {
        padding: 1rem;
    }
    
    .event-meta {
        gap: 0.5rem;
    }
    
    .event-countdown {
        gap: 0.3rem;
        padding: 0.6rem;
    }
    
    .countdown-item {
        min-width: 45px;
    }
    
    .countdown-value {
        font-size: 1.3rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    .cta-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* ===============================
   KNOWLEDGE HUB STYLES
================================ */
.knowledge-hub {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.hero-video {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 15px;
}

.video-gallery {
    padding: 80px 0;
    background: var(--primary-bg);
}

.video-categories {
    margin-bottom: 60px;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.video-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.15);
    border-color: var(--accent-cyan);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.video-overlay i {
    font-size: 3rem;
    color: var(--accent-cyan);
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: 'Orbitron', monospace;
}

.video-info p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.video-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.video-loading i {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-cyan);
}

.video-notice {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 40px;
    clear: both;
}

.video-notice a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
}

.video-notice a:hover {
    text-decoration: underline;
}

.subscribe-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
    clear: both;
}

.subscribe-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-family: 'Orbitron', monospace;
}

.subscribe-section p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.featured-playlists {
    padding: 80px 0;
    background: var(--section-bg);
}

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

.playlist-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.playlist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.15);
    border-color: var(--accent-cyan);
}

.playlist-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.playlist-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.playlist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.playlist-overlay i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
}

.playlist-content {
    padding: 20px;
}

.playlist-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: 'Orbitron', monospace;
}

.playlist-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.playlist-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.video-count, .playlist-duration {
    background: var(--section-bg);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.learning-resources {
    padding: 80px 0;
    background: var(--primary-bg);
}

.community-section {
    padding: 80px 0;
    background: var(--section-bg);
}

.training-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--section-bg) 100%);
    margin-top: 120px; /* Increased from 100px */
    position: relative; /* Added positioning context */
    z-index: 1; /* Ensure proper stacking */
}

.training-hero {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 60px 0;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.training-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
}

.training-brand {
    flex: 1;
    text-align: center;
}

.training-logo img {
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3));
}

.ownership-text {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.uno-logo {
    max-width: 320px;
    height: auto;
    margin: 20px auto;
    transition: transform 0.3s ease;
    display: block !important;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.3);
    background: #fff;
    padding: 15px;
    border: 2px solid var(--accent-cyan);
    position: relative;
    z-index: 10;
    opacity: 1 !important;
    visibility: visible !important;
}

.uno-brand:hover .uno-logo {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5);
    border-color: var(--accent-magenta);
}

.uno-brand h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-cyan);
    margin-bottom: 5px;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.uno-brand p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.training-description {
    flex: 1.5;
}

.training-description p {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.training-modes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin: 80px 0; /* Increased from 60px */
    padding: 0 20px; /* Add side padding */
}

.training-mode-card {
    background: var(--card-bg);
    border: 2px solid var(--accent-cyan);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.15);
    z-index: 10; /* Ensure cards stack above other elements */
}

.training-mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.training-mode-card:hover::before {
    transform: translateY(0);
}

.training-mode-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.25);
    border-color: var(--accent-magenta);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 255, 255, 0.05) 100%);
}

.mode-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
    font-size: 3rem;
    color: #000;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.3);
    position: relative;
    z-index: 5;
}

.training-mode-card:hover .mode-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
}

.mode-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.mode-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.5;
    font-size: 1.1rem;
}

.mode-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.mode-features li {
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    background: rgba(0, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mode-features li:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(5px);
}

.mode-features i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    min-width: 20px;
}

.training-mode-card .btn-secondary {
    width: 100%;
    padding: 15px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 2px solid var(--accent-cyan);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
    color: #000;
    position: relative; /* Added positioning */
    z-index: 20; /* Ensure buttons are on top */
}

.training-mode-card .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
    border-color: var(--accent-magenta);
}

.training-highlights {
    margin-top: 60px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.15);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
    font-size: 1.5rem;
    color: #000;
}

.highlight-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: 'Orbitron', monospace;
}

.highlight-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Mobile Responsive for Training Section */
@media (max-width: 768px) {
    .training-hero {
        flex-direction: column;
        gap: 40px;
        padding: 30px 20px;
    }
    
    .training-brand,
    .training-description {
        flex: 1;
    }
    
    .uno-brand h3 {
        font-size: 1.5rem;
    }
    
    .training-modes {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .training-mode-card {
        padding: 30px 20px;
    }
    
    .mode-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .highlight-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.community-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 15; /* Ensure cards have proper stacking */
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.community-card:hover::before {
    transform: translateY(0);
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
    border-color: var(--accent-cyan);
}

.community-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
    font-size: 2rem;
    color: #000;
    transition: all 0.3s ease;
}

.community-card:hover .community-logo {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.community-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: 'Orbitron', monospace;
}

.community-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.community-handle {
    color: var(--accent-cyan);
    font-weight: 600;
    font-family: 'Fira Code', monospace;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.community-card .btn-primary {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 30; /* Ensure buttons are on top */
    margin-top: 10px; /* Add space above button */
}

.community-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
}

/* Mobile Responsive for Community Section */
@media (max-width: 768px) {
    .community-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .community-card {
        padding: 25px 20px;
    }
    
    .community-logo {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .community-content h3 {
        font-size: 1.3rem;
    }
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.resource-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.15);
    border-color: var(--accent-cyan);
}

.resource-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-icon i {
    font-size: 1.5rem;
    color: var(--primary-bg);
}

.resource-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: 'Orbitron', monospace;
}

.resource-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

/* Mobile Responsive for Knowledge Hub */
@media (max-width: 768px) {
    .hero-video-container {
        max-width: 100%;
        margin: 20px 0;
    }
    
    .hero-video {
        height: 250px;
    }
    
    /* Knowledge Hub Hero Section Mobile Improvements */
    .hero-content {
        text-align: center;
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 280px;
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .playlist-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-filters {
        justify-content: center;
        gap: 10px;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}

/* ===============================
   GENERAL SECTIONS RESPONSIVE
================================ */
@media (max-width: 768px) {

  section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  .about-content,
  .stats-grid,
  .services-grid,
  .contact-content,
  .footer-content,
  .topics-grid,
  .story-content,
  .mv-grid,
  .expertise-grid,
  .faq-grid,
  .links-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-title,
  .cta-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-header {
    padding: 150px 0 80px;
    min-height: 50vh;
  }
}

/* ===============================
   TIMELINE
================================ */
@media (max-width: 768px) {

  .timeline::before {
    left: 30px;
  }

  .timeline-marker {
    left: 30px;
  }

  .timeline-content {
    display: flex !important;
    flex-direction: column !important;
    margin-left: 60px;
  }
}

/* ===============================
   TEAM SECTION
================================ */
@media (max-width: 768px) {

  .team-member {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .member-avatar {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }

  .team-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===============================
   BLOG CARD LINK – FINAL FIX
================================ */

/* Anchor wrapping the card */
.blog-card-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  border: none !important;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* Kill mobile forced underline */
.blog-card-link:link,
.blog-card-link:visited,
.blog-card-link:hover,
.blog-card-link:active {
  text-decoration: none !important;
  color: inherit !important;
}

/* Extra mobile hard reset */
@media (max-width: 768px) {
  .blog-card-link {
    text-decoration: none !important;
    border-bottom: none !important;
  }

  /* Blog Navigation Mobile */
  .blog-navigation {
    flex-direction: column;
    gap: 20px;
  }

  .blog-nav-btn {
    max-width: 100%;
    padding: 15px 20px;
  }

  .nav-content {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

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

  .nav-title {
    font-size: 0.9rem;
  }
}
