/* ==========================================================================
   Avian NextGen - Enterprise IT Solutions & NextGen Software
   Cyber-Futuristic Modern IT Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --bg-dark: #040812;
    --bg-surface: #081020;
    --bg-card: rgba(11, 22, 42, 0.75);
    --bg-card-hover: rgba(16, 31, 60, 0.88);
    --bg-glass: rgba(10, 19, 36, 0.65);

    --primary: #00f2fe;
    --primary-glow: rgba(0, 242, 254, 0.35);
    --secondary: #4facfe;
    --accent: #6366f1;
    --accent-purple: #8b5cf6;
    --accent-emerald: #10b981;

    --gradient-tech: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #6366f1 100%);
    --gradient-cyber: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-purple: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-blue: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    --gradient-dark: linear-gradient(180deg, #040812 0%, #081020 100%);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 242, 254, 0.28);
    --border-accent: rgba(99, 102, 241, 0.3);
    --border-emerald: rgba(16, 185, 129, 0.3);

    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-dim: #94a3b8;
    --text-glow: #e0f2fe;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --shadow-card: 0 16px 36px -12px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
    --shadow-glow: 0 10px 30px -8px rgba(0, 242, 254, 0.35);
    --shadow-purple: 0 10px 30px -8px rgba(99, 102, 241, 0.35);
    --shadow-emerald: 0 10px 30px -8px rgba(16, 185, 129, 0.35);
}

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-main);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

/* High-Legibility Universal Paragraph & Text Styling */
p {
    color: #cbd5e1;
    line-height: 1.72;
}

/* Force override Bootstrap's dim text-muted & text-white-50 defaults */
.text-muted,
p.text-muted,
span.text-muted,
div.text-muted,
small.text-muted,
li.text-muted {
    color: #cbd5e1 !important;
}

.text-white-50,
p.text-white-50,
span.text-white-50,
div.text-white-50,
small.text-white-50,
label.text-white-50 {
    color: #cbd5e1 !important;
}

.text-secondary {
    color: #94a3b8 !important;
}

.lead {
    color: #e2e8f0 !important;
    font-size: 1.15rem;
    line-height: 1.7;
}

.card-text,
.section-subtitle,
.service-desc,
.project-desc,
.blog-desc {
    color: #cbd5e1 !important;
}

.small.text-muted,
.small.text-white-50 {
    color: #b8c7db !important;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Asteroid & Falling Meteor Canvas Background
   ========================================================================== */
#space-asteroid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

#frontend-app {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================================================
   Header & Navbar (Sticky Glassmorphic)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1030;
    background: rgba(4, 8, 18, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.site-header.header-scrolled {
    background: rgba(4, 8, 18, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(0, 242, 254, 0.15);
    border-bottom-color: rgba(0, 242, 254, 0.2);
}

.navbar {
    padding: 8px 0;
}

.header-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
    margin: 0;
    text-decoration: none;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.navbar-brand-logo {
    height: 48px;
    max-height: 52px;
    width: auto;
    max-width: 270px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 210, 255, 0.22));
    transition: filter 0.3s ease;
}

.navbar-brand:hover .navbar-brand-logo {
    filter: drop-shadow(0 4px 18px rgba(0, 242, 254, 0.6));
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.footer-brand:hover {
    transform: translateY(-1px);
}

.footer-brand-logo {
    height: 44px;
    max-height: 48px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 210, 255, 0.2));
}

.brand-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gradient-tech);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #050b14;
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: 0 0 18px var(--primary-glow);
}

.brand-text-accent {
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.96rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-full);
    transition: all 0.25s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(0, 242, 254, 0.08);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary);
}

.navbar-toggler {
    border: 1px solid var(--border-glow);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    color: var(--primary);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.25);
}

/* ==========================================================================
   BUTTON SYSTEM (Differentiated, purposeful, not identical!)
   ========================================================================== */

/* 1. Navbar Action Button */
.btn-nav-action {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.45);
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-nav-action:hover {
    background: var(--primary);
    color: #040812 !important;
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px);
}

/* 2. Hero Primary High-Energy Button */
.btn-hero-primary {
    background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%);
    color: #040812 !important;
    font-weight: 800;
    font-size: 0.98rem;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 242, 254, 0.45);
    transition: all 0.25s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px -5px rgba(0, 242, 254, 0.65);
    color: #040812 !important;
}

/* 3. Hero Secondary Dark Outline Button */
.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* 4. Service Card Action Link (Clean, interactive link, NOT a block button) */
.btn-service-action {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.92rem;
    background: transparent;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-service-action i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.btn-service-action:hover {
    color: #ffffff;
}

.btn-service-action:hover i {
    background: var(--primary);
    color: #040812;
    transform: translateX(4px);
}

/* 5. Services Directory Pill Button (Royal Purple) */
.btn-services-directory {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.96rem;
    padding: 14px 34px;
    border-radius: var(--radius-full);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.45);
    transition: all 0.25s ease;
}

.btn-services-directory:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px -5px rgba(99, 102, 241, 0.65);
    color: #ffffff !important;
}

/* 6. Phone Contact Button (Professional Emerald Green) */
.btn-phone-contact {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981 !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 9px 20px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-phone-contact:hover {
    background: var(--accent-emerald);
    color: #040812 !important;
    box-shadow: var(--shadow-emerald);
    transform: translateY(-2px);
}

/* 7. Case Study / Project Link Button */
.btn-case-study {
    background: rgba(13, 25, 48, 0.7);
    border: 1px solid var(--border-subtle);
    color: var(--text-main) !important;
    font-weight: 600;
    font-size: 0.84rem;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.btn-case-study:hover {
    background: rgba(0, 242, 254, 0.12);
    border-color: var(--border-glow);
    color: var(--primary) !important;
    transform: translateY(-1px);
}

/* 8. Main Call-to-Action Launch Button */
.btn-cta-launch {
    background: linear-gradient(135deg, #2563eb 0%, #4facfe 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 15px 38px;
    border-radius: var(--radius-full);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 30px -5px rgba(37, 99, 235, 0.5);
    transition: all 0.3s ease;
}

.btn-cta-launch:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -5px rgba(37, 99, 235, 0.7);
    color: #ffffff !important;
}

/* 9. Modal Submit Button */
.btn-modal-submit {
    background: var(--gradient-tech);
    color: #040812;
    font-weight: 800;
    font-size: 1rem;
    padding: 13px 26px;
    border-radius: var(--radius-md);
    border: none;
    width: 100%;
    box-shadow: var(--shadow-glow);
    transition: all 0.25s ease;
}

.btn-modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px var(--primary-glow);
    color: #040812;
}

/* 10. Floating Quick Enquiry Widget (Subtle, sleek, luxury widget) */
.floating-enquiry-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1020;
    background: rgba(8, 16, 32, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 242, 254, 0.4);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 242, 254, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.floating-enquiry-btn:hover {
    background: rgba(14, 28, 56, 0.98);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 242, 254, 0.4);
}

/* ==========================================================================
   Hero Section & Modern Swiper Slider (NO OVERLAY, NO TEXT OVER SLIDER)
   ========================================================================== */
.hero-slider-section {
    position: relative;
    padding-top: 24px;
    padding-bottom: 48px;
    display: block;
    width: 100%;
    clear: both;
}

.hero-slider-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
}

.modern-hero-swiper {
    width: 100%;
    height: 520px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border-subtle);
    border: 1px solid rgba(0, 242, 254, 0.22);
}

@media (max-width: 991px) {
    .modern-hero-swiper {
        height: 380px;
        border-radius: var(--radius-lg);
    }
}

@media (max-width: 576px) {
    .modern-hero-swiper {
        height: 240px;
        border-radius: var(--radius-md);
    }
}

.modern-hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #060e1a;
    overflow: hidden;
}

/* PURE SLIDER IMAGE: NO TEXT OVERLAY AND NO COLOR OVERLAY */
.hero-pure-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.modern-hero-swiper .swiper-slide-active .hero-pure-image {
    transform: scale(1.03);
}

/* Swiper Controls */
.modern-hero-swiper .swiper-button-next,
.modern-hero-swiper .swiper-button-prev {
    width: 48px;
    height: 48px;
    background: rgba(4, 8, 18, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glow);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
}

.modern-hero-swiper .swiper-button-next:after,
.modern-hero-swiper .swiper-button-prev:after {
    font-size: 1.1rem;
    font-weight: 800;
}

.modern-hero-swiper .swiper-button-next:hover,
.modern-hero-swiper .swiper-button-prev:hover {
    background: var(--primary);
    color: #040812;
    box-shadow: 0 0 20px var(--primary-glow);
}

.modern-hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.3s ease;
}

.modern-hero-swiper .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 6px;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
}

/* Hero Bottom Quick Intro Strip */
.hero-intro-strip {
    margin-top: 24px;
    padding: 24px 30px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
}

.hero-chip-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--border-glow);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* ==========================================================================
   Section Structural Containers (NO COLLAPSE, INDEPENDENT BLOCKS)
   ========================================================================== */
.section-py {
    padding-top: 90px;
    padding-bottom: 90px;
    position: relative;
    display: block;
    width: 100%;
    clear: both;
    overflow: visible;
}

.section-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-tagline i {
    font-size: 0.95rem;
}

.section-heading {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    line-height: 1.18;
}

.text-gradient {
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtext {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.7;
}

/* ==========================================================================
   Cards & Glassmorphism (FIXED HEIGHT REMOVED TO PREVENT COLLAPSE)
   ========================================================================== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6), 0 0 25px -5px var(--primary-glow);
}

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

/* ==========================================================================
   Services Section & Dynamic Service Cards: PERFECT 16:9 IMAGE FIT
   ========================================================================== */
.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-card);
    position: relative;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px -5px var(--primary-glow);
}

/* PERFECT 16:9 RATIO FIT FOR 1600x900 MANUAL IMAGES WITHOUT CROPPING */
.service-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    background: #060e1a;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.service-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(4, 8, 18, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glow);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
}

.service-card-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--border-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
    background: var(--gradient-tech);
    color: #040812;
    box-shadow: 0 0 25px var(--primary-glow);
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.service-card-desc {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   Stats & Metrics Ribbon
   ========================================================================== */
.stats-ribbon {
    background: rgba(8, 16, 32, 0.9);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 40px 0;
    display: block;
    width: 100%;
    clear: both;
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Leadership & Team Member Cards
   ========================================================================== */
.team-leader-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: all 0.35s ease;
    text-align: center;
    position: relative;
    height: 100%;
}

.team-leader-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-emerald);
    box-shadow: var(--shadow-emerald);
}

.team-avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
}

.team-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-emerald);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.team-avatar-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-emerald);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 2px solid #040812;
}

.team-leader-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.team-leader-role {
    color: var(--accent-emerald);
    font-size: 0.86rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.team-leader-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
}

/* ==========================================================================
   Technologies & Projects
   ========================================================================== */
.tech-pill {
    background: rgba(11, 22, 42, 0.85);
    border: 1px solid var(--border-subtle);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
    height: 100%;
}

.tech-pill:hover {
    border-color: var(--border-glow);
    background: rgba(16, 31, 60, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -8px var(--primary-glow);
}

.tech-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(0, 242, 254, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-purple);
}

.project-card-header {
    padding: 24px 24px 14px;
}

.project-category {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.project-card-body {
    padding: 0 24px 24px;
    flex-grow: 1;
}

/* ==========================================================================
   Page Hero Header (For About, Services, Projects, Careers, Contact)
   ========================================================================== */
.page-hero-header {
    padding: 70px 0 50px;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
    background: radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.12), transparent 75%);
    display: block;
    width: 100%;
    clear: both;
}

.page-hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.page-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.page-breadcrumbs a {
    color: var(--text-muted);
}

.page-breadcrumbs a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Full Width Google Map
   ========================================================================== */
.contact-map-wrapper {
    width: 100%;
    margin-top: 60px;
    margin-bottom: 0;
    border-top: 1px solid var(--border-glow);
    border-bottom: 1px solid var(--border-glow);
    position: relative;
    overflow: hidden;
    line-height: 0;
    display: block;
    clear: both;
}

.contact-map-iframe {
    width: 100%;
    height: 440px;
    border: none;
    filter: invert(90%) hue-rotate(180deg) contrast(1.1) brightness(0.9);
}

@media (max-width: 768px) {
    .contact-map-iframe {
        height: 320px;
    }
}

/* ==========================================================================
   ENHANCED SUITABLE FOOTER
   ========================================================================== */
.site-footer {
    background: #02050c;
    border-top: 1px solid rgba(0, 242, 254, 0.25);
    position: relative;
    padding-top: 70px;
    padding-bottom: 24px;
    overflow: hidden;
    display: block;
    width: 100%;
    clear: both;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-tech);
    box-shadow: 0 0 15px var(--primary);
}

/* Footer Top Bar */
.footer-top-strip {
    padding-bottom: 40px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 22px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

/* Leadership Contact Cards in Footer */
.footer-leader-card {
    background: rgba(11, 22, 42, 0.7);
    border: 1px solid var(--border-subtle);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-leader-card:hover {
    border-color: var(--border-emerald);
    background: rgba(16, 31, 60, 0.9);
}

.footer-leader-info {
    flex-grow: 1;
}

.footer-leader-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.3;
}

.footer-leader-role {
    font-size: 0.75rem;
    color: var(--accent-emerald);
}

.footer-leader-call-btn {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.footer-leader-call-btn:hover {
    background: var(--accent-emerald);
    color: #040812;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
    transform: scale(1.08);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: var(--text-muted);
    font-size: 0.93rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.footer-links-list a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Visitor Counter Widget in Footer */
.visitor-counter-widget {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
}

.visitor-counter-number {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.05em;
}

/* Footer Bottom Bar & Admin Link */
.footer-bottom-bar {
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.86rem;
    color: var(--text-dim);
}

/* Small login url in footer, NOT in navbar */
.footer-admin-link {
    color: var(--text-dim) !important;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
}

.footer-admin-link:hover {
    color: var(--primary) !important;
    border-color: var(--border-glow);
    background: rgba(0, 242, 254, 0.08);
}

/* ==========================================================================
   Modals & Forms
   ========================================================================== */
.modal-content.dark-cyber-modal {
    background: #070e1c;
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.2);
    color: var(--text-main);
    overflow: hidden;
}

.modal-header.dark-cyber-header {
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px 28px 16px;
    background: rgba(0, 242, 254, 0.04);
}

.modal-body.dark-cyber-body {
    padding: 28px;
}

.btn-close-white-cyber {
    filter: invert(1);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.btn-close-white-cyber:hover {
    opacity: 1;
}

.form-control-cyber {
    background: rgba(11, 22, 42, 0.85) !important;
    border: 1px solid var(--border-subtle) !important;
    color: #ffffff !important;
    border-radius: var(--radius-md) !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    transition: all 0.25s ease !important;
}

.form-control-cyber:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.2) !important;
    background: rgba(16, 31, 60, 0.95) !important;
}

.form-control-cyber::placeholder {
    color: var(--text-dim) !important;
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 440px;
    z-index: 1050;
    background: rgba(7, 14, 28, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 242, 254, 0.2);
    display: none;
    animation: cookieSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.cookie-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.btn-cookie-accept {
    background: var(--gradient-tech);
    color: #040812;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    border: none;
    box-shadow: 0 0 12px var(--primary-glow);
    transition: all 0.2s ease;
}

.btn-cookie-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px var(--primary-glow);
}

.btn-cookie-decline {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.84rem;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

.btn-cookie-decline:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */
@media (max-width: 991px) {
    .floating-enquiry-btn {
        bottom: 20px;
        right: 20px;
        font-size: 0.85rem;
        padding: 9px 16px;
    }
    .cookie-consent-banner {
        left: 16px;
        right: 16px;
        max-width: calc(100% - 32px);
        bottom: 16px;
    }
    .section-py {
        padding-top: 65px;
        padding-bottom: 65px;
    }
}

/* ==========================================================================
   9. DYNAMIC TOP PROMOTIONAL OFFER STRIP (40% OFF BANNER)
   ========================================================================== */
.top-offer-strip {
    background: linear-gradient(90deg, #021631 0%, #06316b 35%, #18235e 70%, #031838 100%);
    border-bottom: 1px solid rgba(0, 242, 254, 0.3);
    position: relative;
    z-index: 1040;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.top-offer-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    animation: offerShimmer 6s infinite;
}

@keyframes offerShimmer {
    0% { left: -100%; }
    40%, 100% { left: 200%; }
}

.offer-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 7px 20px;
}

.offer-strip-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 0.85rem;
}

.offer-badge-wrap {
    flex-shrink: 0;
}

.offer-strip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    color: #040812;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
}

.offer-pulse-dot {
    width: 6px;
    height: 6px;
    background: #040812;
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
}

.offer-text-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
}

.offer-headline {
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #ffffff;
}

.offer-coupon-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(0, 242, 254, 0.6);
    color: #00f2fe;
    padding: 2px 9px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-family: monospace;
    cursor: pointer;
    transition: all 0.2s ease;
}

.offer-coupon-pill:hover {
    background: rgba(0, 242, 254, 0.25);
    color: #ffffff;
}

.offer-expiry {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
}

.offer-actions-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.offer-cta-btn {
    background: #ffffff;
    color: #040812;
    border: none;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.offer-cta-btn:hover {
    background: #00f2fe;
    color: #040812;
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.6);
    transform: translateY(-1px);
}

.offer-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    line-height: 1;
    padding: 2px 6px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.offer-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .offer-strip-content {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .offer-actions-wrap {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   10. FOOTER BOTTOM REAL VISITOR BADGE
   ========================================================================== */
.footer-bottom-visitor {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.footer-bottom-visitor:hover {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.4);
}

.footer-bottom-visitor .visitor-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.footer-bottom-visitor .visitor-number {
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: #00f2fe;
}

.visitor-count-pulse {
    animation: countPulseFlash 0.8s ease;
}

@keyframes countPulseFlash {
    0% { transform: scale(1); color: #00f2fe; }
    50% { transform: scale(1.25); color: #10b981; }
    100% { transform: scale(1); color: #00f2fe; }
}

/* ==========================================================================
   11. BLOG & EVENT COVERAGE (PORTRAIT & LANDSCAPE HANDLING)
   ========================================================================== */
.blog-search-box {
    max-width: 600px;
    margin: 0 auto;
}

.category-filter-pills {
    margin-top: 18px;
}

.category-pill {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.category-pill:hover,
.category-pill.active {
    background: rgba(0, 242, 254, 0.15);
    border-color: #00f2fe;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.3);
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 242, 254, 0.15);
}

.blog-media-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #020713;
}

/* Dynamic Aspect Ratios */
.blog-media-wrap.orientation-landscape {
    aspect-ratio: 16 / 9;
}

.blog-media-wrap.orientation-portrait {
    aspect-ratio: 4 / 3; /* Card view keeps uniform grid height, image centered with ambient glow */
    background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, #030814 80%);
}

.blog-card-img.img-landscape {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card-img.img-portrait {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevents vertical heads/faces/banners from being cropped */
    padding: 8px;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.04);
}

.blog-media-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
}

.blog-category-badge {
    background: rgba(4, 8, 18, 0.85);
    backdrop-filter: blur(8px);
    color: #00f2fe;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.blog-orientation-tag.portrait {
    background: rgba(99, 102, 241, 0.85);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.04em;
}

.blog-card-body {
    padding: 22px;
}

.blog-card-meta {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #00f2fe;
}

.blog-card-desc {
    font-size: 0.88rem;
    line-height: 1.6;
}

.btn-blog-like {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.82rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-blog-like:hover,
.btn-blog-like.liked {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
}

.btn-blog-like.liked i {
    animation: heartBeat 0.4s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.35); }
}

.blog-read-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-read-link:hover {
    background: #00f2fe;
    color: #040812;
    transform: translateX(2px);
}

/* Detail Page Media Containers */
.blog-detail-media-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: #020713;
}

.detail-landscape-container img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.detail-portrait-container {
    text-align: center;
    padding: 20px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, #030815 80%);
}

.detail-portrait-container img {
    max-height: 580px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.blog-detail-content {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.85;
}

.blog-detail-content p {
    margin-bottom: 1.5rem;
}

.blog-detail-actions {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
}

.blog-comments-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.blog-comment-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.comment-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f2fe, #6366f1);
    color: #040812;
    font-weight: 800;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.recent-post-thumb {
    width: 72px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
}

.recent-post-thumb-placeholder {
    width: 72px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
