/* Highlight the extra experience stat in CTA stats */
.cta-stat-value-{$sNum}, .cta-stat-value-8 {
    background: linear-gradient(135deg, #ff8c00, #ff0080, #00d4ff);
    color: #fff;
    border-radius: 12px;
    padding: 8px 18px;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(255, 140, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.2);
    display: inline-block;
}
/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0a0e27;
    overflow-x: hidden;
}

/* REVOLUTIONARY NAVBAR DESIGN */
.cosmic-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    padding: 0;
    border: none;
}

.navbar-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 50px;
    background: linear-gradient(135deg, 
        rgba(255, 0, 128, 0.15) 0%, 
        rgba(138, 43, 226, 0.15) 25%,
        rgba(0, 191, 255, 0.15) 50%,
        rgba(255, 215, 0, 0.15) 75%,
        rgba(255, 20, 147, 0.15) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(255, 0, 255, 0.2),
                0 -2px 20px rgba(0, 255, 255, 0.1) inset;
    transition: all 0.3s ease;
}

/* Compact navbar on scroll */
.cosmic-navbar.scrolled .navbar-container {
    padding: 8px 50px;
}

.cosmic-navbar.scrolled .nav-link-cosmic {
    padding: 8px 20px;
    font-size: 14px;
}

.cosmic-navbar.scrolled .nav-cta-cosmic {
    padding: 10px 28px;
    font-size: 14px;
}

.navbar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 0, 255, 0.1) 25%,
        rgba(0, 255, 255, 0.1) 50%,
        rgba(255, 255, 0, 0.1) 75%,
        transparent 100%);
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; transform: translateX(-100%); }
    50% { opacity: 0.8; transform: translateX(100%); }
}

/* FUTURISTIC LOGO */
.navbar-brand-cosmic {
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, #ff0080, #ff8c00, #40e0d0, #ff1493);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s ease infinite;
    position: relative;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(255, 0, 128, 0.5);
}

.navbar-brand-cosmic::after {
    content: '◆';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    color: #00ffff;
    font-size: 16px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translateY(-50%) rotate(45deg) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) rotate(45deg) scale(1.3); }
}

/* INNOVATIVE NAV ITEMS */
.nav-menu-cosmic {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
}

.nav-item-cosmic {
    position: relative;
}

.nav-link-cosmic {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 25px;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 30px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    letter-spacing: 0.5px;
}

.nav-link-cosmic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #ff0080, #7928ca, #00d4ff);
    border-radius: 30px;
    transition: width 0.4s ease;
    z-index: -1;
}

.nav-link-cosmic:hover {
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.4),
                0 0 50px rgba(0, 255, 255, 0.3);
}

.nav-link-cosmic:hover::before {
    width: 100%;
}

/* EXTRAORDINARY CTA BUTTON */
.nav-cta-cosmic {
    position: relative;
    padding: 14px 35px;
    background: linear-gradient(135deg, #ff0080, #ff8c00, #00d4ff);
    background-size: 200% 200%;
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.6),
                0 0 60px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-cta-cosmic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.nav-cta-cosmic:hover::before {
    transform: scale(1);
}

.nav-cta-cosmic:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 0 50px rgba(255, 0, 128, 0.9),
                0 0 80px rgba(0, 212, 255, 0.6),
                0 10px 40px rgba(255, 140, 0, 0.5);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* MOBILE TOGGLE */
.navbar-toggler-cosmic {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.navbar-toggler-cosmic span {
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #ff0080, #00d4ff);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .navbar-toggler-cosmic {
        display: flex;
    }
    
    .nav-menu-cosmic {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        gap: 10px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }
    
    .nav-menu-cosmic.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-container {
        padding: 20px 30px;
    }
}

/* REST OF THE PAGE STYLES */
.gradient-bg {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.2) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    animation: float 6s ease-in-out infinite;
}

.gradient-bg::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 50px); }
}

.hero {
    padding: 60px 0 60px 0;
    position: relative;
}

.hero h1 span {
    background: linear-gradient(90deg, #ffdd00, #ff7a00, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.icon-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: #ffffff;
}

.icon-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(255, 0, 128, 0.3);
}

.icon-box i {
    font-size: 40px;
    margin-bottom: 20px;
    color: #00d4ff;
}

/* Service card links */
a.text-decoration-none {
    display: block;
    height: 100%;
}

a.text-decoration-none:hover .icon-box {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(255, 0, 128, 0.3);
}

a.text-decoration-none h3,
a.text-decoration-none p {
    color: inherit;
}

section {
    background: #0a0e27;
    color: #ffffff;
}

.bg-light {
    background: #1a1f3a !important;
}

.text-muted {
    color: #b0b8c8 !important;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(#ff0080, #00d4ff);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.stats {
    background: linear-gradient(135deg, #ff0080, #ff8c00, #00d4ff);
    color: #fff;
}

/* Stat numbers styling to match previous h2 appearance */
.stat-number {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

/* Service titles h3 to match previous h5 size */
.icon-box h3 {
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Timeline h4 to match previous h6 appearance */
.timeline-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Service detail page feature h4 to match previous h5 */
.col-md-6 h4.fw-bold,
.col-md-4 h4.fw-bold,
.col-md-3 h4.fw-bold,
.d-flex h4.fw-bold,
.bg-dark h4.fw-bold {
    font-size: 1.25rem;
}

/* H4 in card boxes */
.p-4.bg-dark h4 {
    font-size: 1.125rem;
}

footer {
    background: #050814;
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
}

footer a:hover {
    color: #00d4ff;
}

.btn-light {
    background: #ffffff;
    border: none;
    color: #0a0e27;
    font-weight: 600;
}

.btn-outline-light {
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 600;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #0a0e27;
}

.btn-warning {
    background: linear-gradient(135deg, #ff8c00, #ffd700);
    border: none;
    color: #000;
    font-weight: 700;
}

/* ============================================
   BLOG ARTICLE STYLES - Optimized for Readability
   ============================================ */
.blog-article {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1629 100%);
    min-height: 100vh;
    padding: 120px 0 80px;
}

/* Hero Section */
.blog-hero {
    background: linear-gradient(135deg, 
        rgba(255, 0, 128, 0.1) 0%, 
        rgba(0, 212, 255, 0.1) 50%, 
        rgba(121, 40, 202, 0.1) 100%);
    border-radius: 30px;
    padding: 60px 40px;
    margin-bottom: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff0080, #00d4ff, #7928ca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.blog-meta-item i {
    color: #00d4ff;
    font-size: 1.1rem;
}

.blog-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.keyword-tag {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.2), rgba(121, 40, 202, 0.2));
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 0, 128, 0.3);
    backdrop-filter: blur(10px);
}

/* Content Container */
.blog-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(26, 31, 58, 0.4);
    border-radius: 30px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

/* Table of Contents */
.table-of-contents {
    position: absolute;
    left: -280px;
    top: 0;
    width: 250px;
    background: rgba(26, 31, 58, 0.6);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.table-of-contents.sticky {
    position: fixed;
    top: 120px;
    left: calc((100vw - 900px) / 2 - 280px);
}

.table-of-contents::-webkit-scrollbar {
    width: 6px;
}

.table-of-contents::-webkit-scrollbar-track {
    background: transparent;
}

.table-of-contents::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.table-of-contents::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.toc-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
}

.toc-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    padding: 0;
    line-height: 1;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.toc-item {
    margin: 8px 0;
}

.toc-h2 {
    margin-left: 0;
    counter-increment: toc-counter;
    counter-reset: toc-counter-h3;
}

.toc-h2 .toc-link::before {
    content: counter(toc-counter) ". ";
    font-weight: 700;
    color: #00d4ff;
}

.toc-h3 {
    margin-left: 15px;
    counter-increment: toc-counter-h3;
    counter-reset: toc-counter-h4;
}

.toc-h3 .toc-link::before {
    content: counter(toc-counter) "." counter(toc-counter-h3) " ";
    font-weight: 600;
    color: #00d4ff;
}

.toc-h4 {
    margin-left: 30px;
    counter-increment: toc-counter-h4;
}

.toc-h4 .toc-link::before {
    content: counter(toc-counter) "." counter(toc-counter-h3) "." counter(toc-counter-h4) " ";
    font-weight: 500;
    color: #00d4ff;
}

.toc-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    line-height: 1.4;
}

.toc-link:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.toc-link.active {
    color: #00d4ff;
    font-weight: 600;
    background: rgba(0, 212, 255, 0.15);
    border-left: 3px solid #00d4ff;
    padding-left: 12px;
}

.blog-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.8;
    counter-reset: section-counter;
}

/* Typography */
.blog-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin: 50px 0 25px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.1), rgba(0, 212, 255, 0.1));
    border-left: 4px solid #00d4ff;
    border-radius: 15px;
    counter-increment: section-counter;
    counter-reset: subsection-counter;
}

.blog-content h2::before {
    content: counter(section-counter) ". ";
    color: #00d4ff;
    margin-right: 0.75rem;
    font-weight: 900;
}

.blog-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    margin: 40px 0 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    counter-increment: subsection-counter;
    counter-reset: subsubsection-counter;
}

.blog-content h3::before {
    content: counter(section-counter) "." counter(subsection-counter) " ";
    color: #00d4ff;
    margin-right: 0.65rem;
    font-weight: 800;
}

.blog-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #00d4ff;
    margin: 30px 0 15px;
    counter-increment: subsubsection-counter;
}

.blog-content h4::before {
    content: counter(section-counter) "." counter(subsection-counter) "." counter(subsubsection-counter) " ";
    color: #00d4ff;
    margin-right: 0.5rem;
}

/* Exclude CTA heading from numbering */
.blog-content .cta-headline::before {
    content: none;
}

.blog-content h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ff8c00;
    margin: 25px 0 12px;
}

.blog-content h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffd700;
    margin: 20px 0 10px;
}

.blog-content p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.85);
}

/* Lists */
.blog-content ul,
.blog-content ol {
    margin: 25px 0;
    padding-left: 30px;
}

.blog-content li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.blog-content li::marker {
    color: #00d4ff;
}

/* Code Blocks */
.code-block {
    background: #0a0e27;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    overflow-x: auto;
}

.code-language {
    color: #00d4ff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.code-block pre {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.code-block code {
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Blockquotes */
.content-quote {
    background: linear-gradient(135deg, rgba(121, 40, 202, 0.2), rgba(255, 0, 128, 0.2));
    border-left: 4px solid #ff0080;
    padding: 30px 40px;
    margin: 40px 0;
    border-radius: 15px;
    font-style: italic;
    backdrop-filter: blur(10px);
}

.content-quote p {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #fff;
}

.content-quote cite {
    color: #00d4ff;
    font-style: normal;
    font-weight: 600;
}

/* Contextual Service Links - Simple solid color style */
.blog-content .contextual-service-link {
    color: #00d4ff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(0, 212, 255, 0.4);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.blog-content .contextual-service-link:hover {
    color: #ff0080;
    text-decoration-color: rgba(255, 0, 128, 0.6);
}

/* Images */
.content-image {
    margin: 40px 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-image figcaption {
    margin-top: 15px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Callouts */
.callout {
    padding: 25px 30px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 4px solid;
}

.callout-info {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
}

.callout-warning {
    background: rgba(255, 140, 0, 0.1);
    border-color: #ff8c00;
}

.callout-success {
    background: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
}

.callout-error {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.2), rgba(121, 40, 202, 0.2));
    border-radius: 20px;
    padding: 50px;
    margin: 60px 0;
    text-align: center;
    border: 2px solid rgba(255, 0, 128, 0.3);
}

.cta-headline {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff0080, #7928ca);
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 128, 0.4);
    color: #fff;
}

/* Divider */
.content-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
    margin: 50px 0;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(10, 14, 39, 0.5);
    border-radius: 15px;
    overflow: hidden;
}

.content-table thead {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.2), rgba(0, 212, 255, 0.2));
}

.content-table th {
    padding: 18px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.content-table td {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
}

.content-table tr:last-child td {
    border-bottom: none;
}

.content-table tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

/* Accordion */
.accordion {
    margin: 30px 0;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    background: rgba(26, 31, 58, 0.4);
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(0, 212, 255, 0.1);
}

.accordion-icon {
    color: #00d4ff;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 0 25px 25px;
}

/* Video */
.content-video {
    margin: 40px 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* Back to Blog Link */
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    color: #ff0080;
    transform: translateX(-5px);
}

.back-to-blog i {
    font-size: 1.2rem;
}

/* Floating CTA Button */
.floating-cta-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff0080, #7928ca);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(255, 0, 128, 0.4);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
    animation: blogPulse 2s infinite;
}

.floating-cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 0, 128, 0.6);
    animation: none;
    color: white;
}

@keyframes blogPulse {
    0% {
        box-shadow: 0 6px 20px rgba(255, 0, 128, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(255, 0, 128, 0.7);
    }
    100% {
        box-shadow: 0 6px 20px rgba(255, 0, 128, 0.4);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #ff0080, #7928ca);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 128, 0.5);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Blog Responsive Styles */
@media (max-width: 1500px) {
    .table-of-contents {
        display: block;
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .table-of-contents.collapsed .toc-nav {
        display: none;
    }
    
    .toc-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 40px 25px;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-content-wrapper {
        padding: 30px 25px;
    }
    
    .blog-content {
        font-size: 1rem;
    }
    
    .blog-content h2 {
        font-size: 1.75rem;
        padding: 15px 18px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .blog-content h3 {
        font-size: 1.4rem;
    }
    
    .cta-section {
        padding: 30px 25px;
    }
    
    .floating-cta-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .back-to-top {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ============================================
   ACCESSIBILITY & PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Respect user's motion preferences (WCAG 2.1 Level AA) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Disable specific animations */
    .navbar-container::before,
    .navbar-container::after,
    .nav-link-cosmic::before,
    .icon-box::before,
    .icon-box::after,
    .floating-cta-btn,
    .back-to-top {
        animation: none !important;
    }
}

/* Disable heavy animations on mobile for better performance */
@media (max-width: 768px) {
    /* Remove expensive animations that can cause jank */
    .navbar-container::before,
    .navbar-container::after {
        animation: none;
        background: transparent;
    }
    
    .nav-link-cosmic::before {
        animation: none;
    }
    
    .icon-box::before,
    .icon-box::after {
        animation: none;
    }
    
    /* Simplify gradient backgrounds on mobile */
    .navbar-container {
        background: linear-gradient(135deg, 
            rgba(255, 0, 128, 0.15) 0%, 
            rgba(0, 191, 255, 0.15) 100%);
    }
    
    /* Keep only essential animations */
    .floating-cta-btn,
    .back-to-top {
        animation-duration: 3s; /* Slower, less resource-intensive */
    }
}

/* Optimize animations for slow connections */
@media (prefers-reduced-data: reduce) {
    .navbar-container::before,
    .navbar-container::after,
    .icon-box::before,
    .icon-box::after {
        animation: none;
    }
}

/* ============================================
   BREADCRUMB NAVIGATION STYLES
   ============================================ */
.breadcrumb {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb-item {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #00d4ff;
}

.breadcrumb-item.active {
    color: #00d4ff;
    font-weight: 500;
}

@media (max-width: 768px) {
    nav[aria-label="breadcrumb"] {
        padding: 10px 0 !important;
        margin-top: 70px !important;
    }
    
    .breadcrumb-item {
        font-size: 0.85rem;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 6px;
    }
}


