/*
|--------------------------------------------------------------------------
| Linikie Portfolio — Master Stylesheet
| Bootstrap 5 + Custom Premium Dark Design System
|--------------------------------------------------------------------------
*/

/* ═══════════════════════════════════════════════════════════════════════
   1. GOOGLE FONTS
═══════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ═══════════════════════════════════════════════════════════════════════
   2. CSS VARIABLES — Design Token System
═══════════════════════════════════════════════════════════════════════ */
:root {
    /* Background Palette — Light (default) */
    --deep-black:    #F8FAFC;
    --primary-dark:  #FFFFFF;
    --soft-black:    #F1F5F9;
    --section-bg:    #F8FAFC;
    --card-bg:       #FFFFFF;
    --card-bg-hover: #F8FAFC;

    /* Text Colors */
    --text-main:     #0F172A;
    --text-muted:    #64748B;
    --text-soft:     #475569;

    /* Brand Colors */
    --blue:          #3B82F6;
    --cyan:          #0891B2;
    --purple:        #7C3AED;

    /* Glass & Borders */
    --glass-bg:      rgba(15, 23, 42, 0.04);
    --glass-bg-2:    rgba(15, 23, 42, 0.02);
    --border-light:  rgba(15, 23, 42, 0.10);
    --border-hover:  rgba(59, 130, 246, 0.35);

    /* Gradients */
    --gradient-main:   linear-gradient(135deg, #3B82F6 0%, #22D3EE 45%, #7C3AED 100%);
    --gradient-blue:   linear-gradient(135deg, #3B82F6, #22D3EE);
    --gradient-purple: linear-gradient(135deg, #7C3AED, #3B82F6);
    --gradient-glow:   linear-gradient(135deg, rgba(59,130,246,0.08), rgba(34,211,238,0.08), rgba(124,58,237,0.08));

    /* Glow Shadows */
    --glow-blue:    0 0 30px rgba(59, 130, 246, 0.25);
    --glow-cyan:    0 0 30px rgba(34, 211, 238, 0.25);
    --glow-purple:  0 0 30px rgba(124, 58, 237, 0.25);
    --glow-card:    0 8px 40px rgba(15, 23, 42, 0.08);

    /* Theme extras */
    --navbar-scrolled-bg: rgba(255, 255, 255, 0.92);
    --navbar-mobile-bg: rgba(255, 255, 255, 0.98);
    --navbar-shadow: 0 4px 30px rgba(15, 23, 42, 0.08);
    --toggler-invert: 0;
    --card-overlay-end: rgba(255, 255, 255, 0.95);
    --skill-track-bg: rgba(15, 23, 42, 0.08);
    --divider-subtle: rgba(15, 23, 42, 0.06);
    --floating-tag-bg: rgba(255, 255, 255, 0.88);
    --cursor-blend: multiply;
    --scrollbar-track: #F1F5F9;
    --glass-pill-bg: rgba(15, 23, 42, 0.04);
    --glass-pill-border: rgba(15, 23, 42, 0.10);
    --hero-grid-color: rgba(59, 130, 246, 0.06);
    --hero-radial-opacity: 0.06;

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body:    'Inter', sans-serif;

    /* Spacing & Radius */
    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  32px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --deep-black:    #050507;
    --primary-dark:  #0B0B0F;
    --soft-black:    #111217;
    --section-bg:    #0F1015;
    --card-bg:       #16171D;
    --card-bg-hover: #1c1d25;

    --text-main:     #FFFFFF;
    --text-muted:    #A1A1AA;
    --text-soft:     #D4D4D8;

    --blue:          #3B82F6;
    --cyan:          #22D3EE;
    --purple:        #7C3AED;

    --glass-bg:      rgba(255, 255, 255, 0.06);
    --glass-bg-2:    rgba(255, 255, 255, 0.03);
    --border-light:  rgba(255, 255, 255, 0.12);
    --border-hover:  rgba(59, 130, 246, 0.4);

    --gradient-glow: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(34,211,238,0.15), rgba(124,58,237,0.15));

    --glow-blue:    0 0 30px rgba(59, 130, 246, 0.4);
    --glow-cyan:    0 0 30px rgba(34, 211, 238, 0.4);
    --glow-purple:  0 0 30px rgba(124, 58, 237, 0.4);
    --glow-card:    0 8px 40px rgba(0, 0, 0, 0.6);

    --navbar-scrolled-bg: rgba(11, 11, 15, 0.92);
    --navbar-mobile-bg: rgba(11, 11, 15, 0.98);
    --navbar-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    --toggler-invert: 1;
    --card-overlay-end: rgba(22, 23, 29, 0.9);
    --skill-track-bg: rgba(255, 255, 255, 0.08);
    --divider-subtle: rgba(255, 255, 255, 0.06);
    --floating-tag-bg: rgba(5, 5, 7, 0.65);
    --cursor-blend: screen;
    --scrollbar-track: var(--deep-black);
    --glass-pill-bg: rgba(255, 255, 255, 0.05);
    --glass-pill-border: rgba(255, 255, 255, 0.12);
    --hero-grid-color: rgba(59, 130, 246, 0.035);
    --hero-radial-opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════
   3. RESET & BASE
═══════════════════════════════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition), color var(--transition);
}

/* Global Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb {
    background: var(--gradient-main);
    border-radius: 3px;
}

/* Selection */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--text-main);
}

/* ═══════════════════════════════════════════════════════════════════════
   4. TYPOGRAPHY
═══════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

p { color: var(--text-muted); line-height: 1.8; }

a {
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--cyan); }

/* ═══════════════════════════════════════════════════════════════════════
   5. UTILITY CLASSES
═══════════════════════════════════════════════════════════════════════ */
#home,
#projects,
#services,
#process,
#testimonials,
#contact {
    scroll-margin-top: 6rem;
}

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

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

.section-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--blue);
    display: inline-block;
    margin-bottom: 1rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
    display: inline-block;
}

.text-muted-custom { color: var(--text-muted) !important; }
.text-soft { color: var(--text-soft) !important; }
.bg-section { background-color: var(--section-bg); }
.bg-card { background-color: var(--card-bg); }

/* ═══════════════════════════════════════════════════════════════════════
   6. BUTTONS
═══════════════════════════════════════════════════════════════════════ */
.btn-lk {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-lk::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: var(--transition);
}

.btn-lk:hover::before { opacity: 1; }

.btn-primary-lk {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-primary-lk:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
    color: #fff;
}

.btn-outline-lk {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-light);
}

.btn-outline-lk:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
    box-shadow: var(--glow-blue);
}

.btn-ghost-lk {
    background: var(--glass-bg);
    color: var(--text-soft);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-ghost-lk:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════
   7. BADGES & TAGS
═══════════════════════════════════════════════════════════════════════ */
.lk-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid;
    transition: var(--transition);
}

.lk-badge-blue {
    background: rgba(59, 130, 246, 0.12);
    color: var(--blue);
    border-color: rgba(59, 130, 246, 0.3);
}

.lk-badge-cyan {
    background: rgba(34, 211, 238, 0.12);
    color: var(--cyan);
    border-color: rgba(34, 211, 238, 0.3);
}

.lk-badge-purple {
    background: rgba(124, 58, 237, 0.12);
    color: #a78bfa;
    border-color: rgba(124, 58, 237, 0.3);
}

.lk-badge-green {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.3);
}

.lk-badge-red {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════
   8. GLASS CARDS
═══════════════════════════════════════════════════════════════════════ */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.1);
    transform: translateY(-4px);
}

.dark-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.dark-card:hover {
    background: var(--card-bg-hover);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--glow-card);
    transform: translateY(-4px);
}

/* Glow Borders */
.glow-border-blue  { border-color: rgba(59, 130, 246, 0.5) !important; box-shadow: 0 0 20px rgba(59, 130, 246, 0.2); }
.glow-border-cyan  { border-color: rgba(34, 211, 238, 0.5) !important; box-shadow: 0 0 20px rgba(34, 211, 238, 0.2); }
.glow-border-purple{ border-color: rgba(124, 58, 237, 0.5) !important; box-shadow: 0 0 20px rgba(124, 58, 237, 0.2); }

/* ═══════════════════════════════════════════════════════════════════════
   9. NAVBAR
═══════════════════════════════════════════════════════════════════════ */
.lk-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.lk-navbar.scrolled {
    background: var(--navbar-scrolled-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border-light);
    padding: 0.8rem 0;
    box-shadow: var(--navbar-shadow);
}

.lk-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-logo-svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 7px rgba(34, 211, 238, 0.45));
    transition: filter 0.3s ease;
}

.lk-navbar .navbar-brand:hover .nav-logo-svg {
    filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.75));
}

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

.lk-navbar .nav-link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-soft) !important;
    padding: 0.4rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.lk-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
    transition: var(--transition);
}

.lk-navbar .nav-link:hover,
.lk-navbar .nav-link.active {
    color: var(--text-main) !important;
}

.lk-navbar .nav-link:hover::after,
.lk-navbar .nav-link.active::after {
    width: 60%;
}

.lk-navbar .navbar-toggler {
    border: 1px solid var(--border-light);
    padding: 0.4rem 0.7rem;
    border-radius: var(--radius-sm);
}

.lk-navbar .navbar-toggler-icon {
    filter: invert(var(--toggler-invert));
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
    background: var(--navbar-mobile-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   10. HERO SECTION
═══════════════════════════════════════════════════════════════════════ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--deep-black);
    padding-top: 5rem;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 75% 50%, rgba(59, 130, 246, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 15% 25%, rgba(124, 58, 237, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 70% at 50% 85%, rgba(34, 211, 238, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* Subtle grid texture overlay */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
    background-size: 55px 55px;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 80% 90% at 60% 50%, black 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 90% at 60% 50%, black 10%, transparent 75%);
}

/* Hero container & row */
.hero-container { position: relative; z-index: 2; }
.min-vh-hero    { min-height: calc(100vh - 80px); padding: 4rem 0 5rem; }

/* Hero badge ("01 / Digital Studio") */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 1.05rem;
    border-radius: 100px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.22);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1rem;
    width: fit-content;
}

.hero-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan);
    animation: pulse-cyan-dot 2.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-cyan-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
    50%       { box-shadow: 0 0 0 5px rgba(34, 211, 238, 0); }
}

/* Available dot */
.hero-available {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    width: fit-content;
}

.hero-available-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-green 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    flex-shrink: 0;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    50%       { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

/* Hero headline */
.hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 1.4rem;
}

/* Hero subtitle */
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2.4rem;
    line-height: 1.85;
}

/* CTA Buttons (pill style) */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    align-items: center;
}

.btn-primary-pill {
    background: var(--gradient-main);
    color: #fff;
    border-radius: 100px;
    padding: 0.8rem 1.85rem;
    box-shadow: 0 4px 22px rgba(59, 130, 246, 0.35);
    font-size: 0.9rem;
    font-weight: 600;
    gap: 0.5rem;
}

.btn-primary-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.55);
    color: #fff;
}

.btn-primary-pill:hover .btn-arrow { transform: translateX(4px); }
.btn-arrow { transition: transform 0.3s ease; }

.btn-glass-pill {
    background: var(--glass-pill-bg);
    color: var(--text-soft);
    border: 1px solid var(--glass-pill-border);
    border-radius: 100px;
    padding: 0.8rem 1.85rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.9rem;
    font-weight: 600;
    gap: 0.5rem;
}

.btn-glass-pill:hover {
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.35);
    color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.15);
}

/* Tech row */
.hero-tech-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.hero-tech-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    pointer-events: none;
}
.scroll-text {
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.6;
}
.scroll-line {
    width: 1px;
    height: 38px;
    background: linear-gradient(to bottom, var(--cyan), transparent);
    animation: scroll-pulse 2.2s ease-in-out infinite;
}
@keyframes scroll-pulse {
    0%, 100% { opacity: 0.8; transform: scaleY(1); }
    50%       { opacity: 0.2; transform: scaleY(0.55); }
}

/* ═══════════════════════════════════════════════════════════════════════
   11. 3D GLASS LOGO CARD (replaces old cube)
═══════════════════════════════════════════════════════════════════════ */

/* Visual container */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glow blobs */
.hero-glow-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hgb-1 {
    width: 360px; height: 360px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(34,211,238,0.14) 0%, rgba(59,130,246,0.07) 40%, transparent 70%);
    animation: glow-pulse 5s ease-in-out infinite;
}
.hgb-2 {
    width: 260px; height: 260px;
    top: 18%; right: 8%;
    background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
    animation: glow-pulse 7s ease-in-out infinite -2.5s;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%,-50%) scale(1); }
    50%       { opacity: 1;   transform: translate(-50%,-50%) scale(1.15); }
}
.hgb-2 { animation-name: glow-pulse-2; }
@keyframes glow-pulse-2 {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.2); }
}

/* Orbit wrapper — holds all rings centered */
.orbit-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Orbit rings — flat 2D spinning in the XY plane */
.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed;
}

.orbit-ring-1 {
    width: 310px; height: 310px;
    border-color: rgba(34, 211, 238, 0.18);
    animation: ring-spin 10s linear infinite;
}
.orbit-ring-2 {
    width: 420px; height: 420px;
    border-color: rgba(59, 130, 246, 0.13);
    animation: ring-spin 17s linear infinite reverse;
}
.orbit-ring-3 {
    width: 510px; height: 510px;
    border-color: rgba(124, 58, 237, 0.09);
    animation: ring-spin 26s linear infinite;
}

@keyframes ring-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Glowing dot that rides the ring */
.orbit-dot {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    top: -4px; left: 50%;
    transform: translateX(-50%);
}
.od-cyan   { background:#22D3EE; box-shadow: 0 0 10px #22D3EE, 0 0 22px rgba(34,211,238,0.4); }
.od-blue   { background:#3B82F6; box-shadow: 0 0 10px #3B82F6, 0 0 22px rgba(59,130,246,0.4); }
.od-purple { background:#a78bfa; box-shadow: 0 0 10px #a78bfa, 0 0 22px rgba(124,58,237,0.4); }

/* Central 3D Glass Cube with Logo */

/* Perspective container */
.cube-scene {
    width: 200px;
    height: 200px;
    perspective: 750px;
    perspective-origin: 50% 50%;
    position: relative;
    z-index: 3;
}

/* Tilt layer — receives JS mouse transform */
.cube-tilt {
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    transition: transform 0.05s linear;
}

/* Rotation layer — CSS animation */
.cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: hero-cube-spin 14s linear infinite;
}

@keyframes hero-cube-spin {
    0%   { transform: rotateX(12deg) rotateY(0deg); }
    100% { transform: rotateX(12deg) rotateY(360deg); }
}

/* All cube faces */
.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
    overflow: hidden;
}

/* Face transforms (half-width = 100px = translateZ) */
.cube-face-front  {
    background: rgba(34, 211, 238, 0.07);
    border: 1px solid rgba(34, 211, 238, 0.35);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 0 40px rgba(34,211,238,0.15);
    transform: translateZ(100px);
}
.cube-face-back   {
    background: rgba(59, 130, 246, 0.07);
    border: 1px solid rgba(59, 130, 246, 0.3);
    transform: rotateY(180deg) translateZ(100px);
}
.cube-face-right  {
    background: rgba(124, 58, 237, 0.07);
    border: 1px solid rgba(124, 58, 237, 0.3);
    transform: rotateY(90deg) translateZ(100px);
}
.cube-face-left   {
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.2);
    transform: rotateY(-90deg) translateZ(100px);
}
.cube-face-top    {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transform: rotateX(90deg) translateZ(100px);
}
.cube-face-bottom {
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.2);
    transform: rotateX(-90deg) translateZ(100px);
}

/* Linkie logo SVG on each cube face */
.cube-logo {
    width: 105px;
    height: 105px;
    filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.6));
    animation: cube-logo-glow 3.5s ease-in-out infinite;
}

@keyframes cube-logo-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(34,211,238,0.55)); }
    50%       { filter: drop-shadow(0 0 22px rgba(34,211,238,0.9)) drop-shadow(0 0 36px rgba(59,130,246,0.4)); }
}

/* ═══════════════════════════════════════════════════════════════════════
   12. FLOATING TECH TAGS (new — positioned around card)
═══════════════════════════════════════════════════════════════════════ */
.hero-floating-tags {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ft-tag {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.8rem;
    border-radius: 100px;
    font-size: 0.69rem;
    font-weight: 600;
    font-family: var(--font-heading);
    white-space: nowrap;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: var(--floating-tag-bg);
    letter-spacing: 0.3px;
}

/* Individual tag positions & colors */
.ft-1 { top:6%;   left:4%;   color:var(--cyan);   border:1px solid rgba(34,211,238,0.32);  animation: float-tag 7s ease-in-out infinite 0s; }
.ft-2 { top:15%;  right:2%;  color:var(--blue);   border:1px solid rgba(59,130,246,0.32);  animation: float-tag 6s ease-in-out infinite -1.5s; }
.ft-3 { top:52%;  left:-1%;  color:#a78bfa;       border:1px solid rgba(124,58,237,0.32); animation: float-tag 8s ease-in-out infinite -3s; }
.ft-4 { bottom:8%; right:4%; color:var(--cyan);   border:1px solid rgba(34,211,238,0.32);  animation: float-tag 9s ease-in-out infinite -2s; }
.ft-5 { top:37%;  left:1%;   color:var(--blue);   border:1px solid rgba(59,130,246,0.32);  animation: float-tag 5.5s ease-in-out infinite -4s; }
.ft-6 { bottom:20%; right:1%; color:#a78bfa;      border:1px solid rgba(124,58,237,0.32); animation: float-tag 7.5s ease-in-out infinite -1s; }

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

/* Decorative tiny glowing nodes */
.tech-node {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: node-pulse 3.5s ease-in-out infinite;
}
.tn-1 { width:5px; height:5px; background:var(--cyan);  box-shadow:0 0 8px var(--cyan);  top:11%; left:44%;  animation-delay:0s; }
.tn-2 { width:4px; height:4px; background:var(--blue);  box-shadow:0 0 8px var(--blue);  top:76%; left:14%;  animation-delay:-1.2s; }
.tn-3 { width:6px; height:6px; background:#a78bfa;      box-shadow:0 0 9px #a78bfa;      top:63%; right:11%; animation-delay:-2.4s; }
.tn-4 { width:4px; height:4px; background:var(--cyan);  box-shadow:0 0 7px var(--cyan);  bottom:17%; left:52%; animation-delay:-0.8s; }

@keyframes node-pulse {
    0%, 100% { opacity:0.4; transform:scale(1); }
    50%       { opacity:1;   transform:scale(2); }
}

/* ═══════════════════════════════════════════════════════════════════════
   13. PARTICLES BACKGROUND
═══════════════════════════════════════════════════════════════════════ */
.particles-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--blue);
    border-radius: 50%;
    opacity: 0;
    animation: particle-rise linear infinite;
}

.particle:nth-child(2n)   { background: var(--cyan); width: 1.5px; height: 1.5px; }
.particle:nth-child(3n)   { background: var(--purple); width: 2.5px; height: 2.5px; }

@keyframes particle-rise {
    0%   { opacity: 0;   transform: translateY(0) scale(0); }
    10%  { opacity: 0.6; transform: translateY(-10px) scale(1); }
    90%  { opacity: 0.3; }
    100% { opacity: 0;   transform: translateY(-300px) scale(0.5); }
}

/* ═══════════════════════════════════════════════════════════════════════
   14. SECTIONS — Base Layout
═══════════════════════════════════════════════════════════════════════ */
.lk-section {
    padding: 7rem 0;
    position: relative;
}

.lk-section-alt {
    background: var(--section-bg);
}

.lk-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.lk-section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.8;
}

/* Divider line */
.lk-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   15. STATS SECTION
═══════════════════════════════════════════════════════════════════════ */
.stats-section {
    background: var(--soft-black);
    padding: 5rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    pointer-events: none;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
}

.stat-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border-light);
}

.stat-card:last-child::after { display: none; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--blue);
    margin-bottom: 1rem;
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════════════
   16. PROJECT CARDS (with 3D tilt)
═══════════════════════════════════════════════════════════════════════ */
.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0) rotateY(0);
}

.project-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px rgba(59, 130, 246, 0.1);
}

.project-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

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

.project-card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--card-overlay-end) 100%);
}

.project-card-body {
    padding: 1.5rem;
}

.project-card-category {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

.project-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.project-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

/* Featured badge */
.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-main);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════════
   17. SERVICE CARDS
═══════════════════════════════════════════════════════════════════════ */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--card-bg-hover);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(59, 130, 246, 0.08);
}

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

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.service-icon-wrapper.blue   { background: rgba(59, 130, 246, 0.12); color: var(--blue); }
.service-icon-wrapper.cyan   { background: rgba(34, 211, 238, 0.12); color: var(--cyan); }
.service-icon-wrapper.purple { background: rgba(124, 58, 237, 0.12); color: #a78bfa; }

.service-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.service-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 0.8rem;
    color: var(--text-soft);
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gradient-main);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   18. PROCESS SECTION
═══════════════════════════════════════════════════════════════════════ */
.process-section { position: relative; }

.process-step {
    position: relative;
    padding: 2rem;
    text-align: center;
}

.process-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    opacity: 0.3;
    transition: var(--transition);
}

.process-step:hover .process-number { opacity: 1; }

.process-icon {
    width: 70px;
    height: 70px;
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.25rem;
    color: var(--blue);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.process-step:hover .process-icon {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: var(--glow-blue);
    color: var(--cyan);
}

.process-title {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.process-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Connector line between steps */
.process-connector {
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--border-light), transparent);
}

/* ═══════════════════════════════════════════════════════════════════════
   19. TESTIMONIALS
═══════════════════════════════════════════════════════════════════════ */
.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 2rem;
    font-size: 6rem;
    font-family: serif;
    line-height: 1;
    color: var(--blue);
    opacity: 0.2;
}

.testimonial-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.15rem;
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   20. CTA BANNER
═══════════════════════════════════════════════════════════════════════ */
.cta-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 7rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(59,130,246,0.1) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 20%, rgba(124,58,237,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   21. ABOUT PAGE
═══════════════════════════════════════════════════════════════════════ */
.about-hero {
    padding: 10rem 0 6rem;
    background: var(--deep-black);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(59,130,246,0.07) 0%, transparent 60%);
    pointer-events: none;
}

.about-intro-text {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--text-soft);
    line-height: 1.8;
    font-weight: 300;
}

/* Skills bars */
.skill-item { margin-bottom: 1.75rem; }

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

.skill-name {
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-main);
}

.skill-percent {
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
}

.skill-bar {
    height: 6px;
    background: var(--skill-track-bg);
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--gradient-main);
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-fill.blue   { background: var(--gradient-blue); }
.skill-fill.cyan   { background: linear-gradient(to right, var(--cyan), var(--blue)); }
.skill-fill.purple { background: var(--gradient-purple); }

.skill-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Tech stack */
.tech-item {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: default;
}

.tech-item:hover {
    border-color: rgba(59,130,246,0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.tech-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.tech-icon.blue   { color: var(--blue); }
.tech-icon.cyan   { color: var(--cyan); }
.tech-icon.purple { color: #a78bfa; }

.tech-name {
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-soft);
}

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--blue), var(--purple));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding: 0 0 2.5rem 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--gradient-main);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(59,130,246,0.5);
}

.timeline-year {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════
   22. PROJECTS PAGE — Filter
═══════════════════════════════════════════════════════════════════════ */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-heading);
    background: var(--glass-bg);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.filter-btn.active {
    background: var(--gradient-main);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(59,130,246,0.35);
}

/* Project grid item hide/show */
.project-grid-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-grid-item.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   23. PROJECT DETAIL PAGE
═══════════════════════════════════════════════════════════════════════ */
.project-hero {
    padding: 10rem 0 6rem;
    background: var(--deep-black);
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 30% 50%, rgba(59,130,246,0.06) 0%, transparent 70%);
}

.project-main-img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    display: block;
    max-height: 520px;
    object-fit: cover;
}

.project-content-block {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.project-content-block h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.project-content-block p {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.8;
}

.project-sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: sticky;
    top: 6rem;
}

.project-sidebar-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--divider-subtle);
}

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

.project-sidebar-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.project-sidebar-value {
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-main);
}

.project-gallery-img {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    object-fit: cover;
    height: 200px;
    transition: var(--transition);
}

.project-gallery-img:hover {
    border-color: rgba(59,130,246,0.4);
    transform: scale(1.02);
}

/* ═══════════════════════════════════════════════════════════════════════
   24. CONTACT PAGE
═══════════════════════════════════════════════════════════════════════ */
.contact-hero {
    padding: 10rem 0 6rem;
    background: var(--deep-black);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 40% 50% at 80% 30%, rgba(59,130,246,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 30% 40% at 20% 70%, rgba(124,58,237,0.06) 0%, transparent 60%);
}

.contact-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 3rem;
}

.contact-info-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: rgba(59,130,246,0.3);
    transform: translateY(-4px);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-info-icon.blue   { background: rgba(59,130,246,0.12); color: var(--blue); }
.contact-info-icon.cyan   { background: rgba(34,211,238,0.12); color: var(--cyan); }
.contact-info-icon.purple { background: rgba(124,58,237,0.12); color: #a78bfa; }
.contact-info-icon.green  { background: rgba(37, 211, 102, 0.12); color: #25D366; }

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

.lk-form-label {
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-soft);
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 0.3px;
}

.lk-form-control {
    width: 100%;
    background: var(--glass-bg-2);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.lk-form-control::placeholder { color: var(--text-muted); }

.lk-form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
    background: rgba(59,130,246,0.04);
}

textarea.lk-form-control { resize: vertical; min-height: 140px; }

/* Social links */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(59,130,246,0.15);
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-3px);
    box-shadow: var(--glow-blue);
}

.social-link-whatsapp:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25D366;
    color: #25D366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.25);
}

/* ═══════════════════════════════════════════════════════════════════════
   25. FOOTER
═══════════════════════════════════════════════════════════════════════ */
.lk-footer {
    background: var(--deep-black);
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 1.5rem;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

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

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

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-main);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--divider-subtle);
    padding-top: 1.5rem;
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════
   26. ADMIN LAYOUT
═══════════════════════════════════════════════════════════════════════ */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--deep-black);
    overflow-x: hidden;
    max-width: 100vw;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    background: var(--soft-black);
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    z-index: 100;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.admin-sidebar-header {
    padding: 1.75rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.admin-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.25rem;
}

.admin-logo-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.admin-nav {
    padding: 1.5rem 1rem;
    flex: 1;
}

.admin-nav-section {
    margin-bottom: 1.5rem;
}

.admin-nav-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0 0.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-heading);
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 0.15rem;
}

.admin-nav-link:hover {
    background: var(--glass-bg);
    color: var(--text-main);
}

.admin-nav-link.active {
    background: rgba(59,130,246,0.12);
    color: var(--blue);
    border: 1px solid rgba(59,130,246,0.2);
}

.admin-nav-link i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Admin main content */
.admin-main {
    margin-left: 260px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    max-width: 100%;
}

/* Admin Topbar */
.admin-topbar {
    background: var(--soft-black);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    gap: 0.75rem;
    min-width: 0;
}

.admin-topbar > .d-flex:first-child {
    min-width: 0;
    flex: 1;
}

.admin-topbar-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-topbar-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.admin-topbar-btn:hover { color: var(--text-main); border-color: var(--blue); }

.admin-topbar-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: var(--blue);
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.admin-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
}

/* Admin Content */
.admin-content {
    padding: 2rem 1.75rem;
    flex: 1;
    max-width: 100%;
    overflow-x: hidden;
}

/* Admin Stat Cards */
.admin-stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.admin-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
}

.admin-stat-card.blue::before   { background: var(--gradient-blue); }
.admin-stat-card.cyan::before   { background: linear-gradient(to right, var(--cyan), var(--blue)); }
.admin-stat-card.purple::before { background: var(--gradient-purple); }

.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.admin-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.admin-stat-icon.blue   { background: rgba(59,130,246,0.12); color: var(--blue); }
.admin-stat-icon.cyan   { background: rgba(34,211,238,0.12); color: var(--cyan); }
.admin-stat-icon.purple { background: rgba(124,58,237,0.12); color: #a78bfa; }

.admin-stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.admin-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Admin Tables */
.admin-table-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.admin-table th {
    background: var(--soft-black);
    padding: 0.85rem 1.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
}

.admin-table td {
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-soft);
    border-bottom: 1px solid var(--divider-subtle);
    vertical-align: middle;
}

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

.admin-table tr:hover td { background: var(--glass-bg); }

/* Admin table actions */
.table-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.table-action-btn:hover         { color: var(--blue); border-color: var(--blue); background: rgba(59,130,246,0.1); }
.table-action-btn.danger:hover  { color: #f87171; border-color: rgba(239,68,68,0.4); background: rgba(239,68,68,0.1); }

/* Admin section headers */
.admin-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-section-header form,
.admin-section-header > .d-flex {
    flex: 1 1 auto;
    min-width: 0;
}

.admin-section-header input[type="text"],
.admin-section-header input[type="search"],
.admin-section-header input[type="email"],
.admin-section-header select {
    max-width: 100%;
}

.admin-section-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Admin Form */
.admin-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.admin-form-section-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

/* Upload box */
.upload-box {
    border: 2px dashed var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.upload-box:hover {
    border-color: var(--blue);
    background: rgba(59,130,246,0.04);
}

.upload-icon { font-size: 2rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.upload-text { font-size: 0.875rem; color: var(--text-muted); }
.upload-subtext { font-size: 0.75rem; color: rgba(161,161,170,0.6); margin-top: 0.25rem; }

/* Admin mobile toggle */
.admin-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
}

.admin-login-wrap {
    min-height: 70vh;
    padding: 1rem;
}

.admin-login-card {
    max-width: 420px;
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════
   27. CSS PROGRESS BAR (Admin chart alternative)
═══════════════════════════════════════════════════════════════════════ */
.css-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    padding: 0 0.5rem;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-main);
    border-radius: 3px 3px 0 0;
    opacity: 0.7;
    transition: opacity var(--transition), height 0.8s ease;
    min-height: 4px;
}

.chart-bar:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════════
   28. SCROLL ANIMATIONS
═══════════════════════════════════════════════════════════════════════ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.7s ease;
}

.fade-in.visible { opacity: 1; }

.slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* ═══════════════════════════════════════════════════════════════════════
   29. CURSOR GLOW
═══════════════════════════════════════════════════════════════════════ */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: 0.12s linear;
    mix-blend-mode: var(--cursor-blend);
}

/* ═══════════════════════════════════════════════════════════════════════
   30. PAGE HERO (shared)
═══════════════════════════════════════════════════════════════════════ */
.page-hero {
    padding: 9rem 0 5rem;
    background: var(--deep-black);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(59,130,246,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   31. MISC — breadcrumb, back link, etc.
═══════════════════════════════════════════════════════════════════════ */
.breadcrumb-lk {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumb-lk a { color: var(--text-muted); }
.breadcrumb-lk a:hover { color: var(--blue); }
.breadcrumb-lk .active { color: var(--text-soft); }

/* ═══════════════════════════════════════════════════════════════════════
   32. RESPONSIVE
═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    /* Hero */
    .hero-section { padding-top: 6rem; text-align: center; }
    .hero-visual { height: 340px; margin-top: 3rem; }
    .cube-scene { width: 140px; height: 140px; }
    .cube-tilt { width: 140px; height: 140px; }
    .cube { width: 140px; height: 140px; }
    .cube-face { width: 140px; height: 140px; border-radius: 20px; }
    .cube-face-front  { transform: translateZ(70px); }
    .cube-face-back   { transform: rotateY(180deg) translateZ(70px); }
    .cube-face-right  { transform: rotateY(90deg) translateZ(70px); }
    .cube-face-left   { transform: rotateY(-90deg) translateZ(70px); }
    .cube-face-top    { transform: rotateX(90deg) translateZ(70px); }
    .cube-face-bottom { transform: rotateX(-90deg) translateZ(70px); }
    .cube-logo { width: 75px; height: 75px; }
    .orbit-ring-1 { width: 220px; height: 220px; }
    .orbit-ring-2 { width: 280px; height: 280px; }
    .orbit-ring-3 { width: 340px; height: 340px; }
    .hero-glow-blob { width: 200px; height: 200px; }
    .hero-buttons { justify-content: center; }
    .hero-available { justify-content: center; }
    .hero-section .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-tech-row { align-items: center; text-align: center; }
    .hero-tech-row .d-flex { justify-content: center; }
    
    /* Hide floating tags on tablet/mobile to prevent overflow and keep cube centered */
    .hero-floating-tags { display: none; }
    .floating-tags { display: none; }

    /* Project Details Sidebar (Stacks on tablet < 991px) */
    .project-sidebar-card { position: static; margin-top: 2rem; }

    /* Collapsed Navbar Link Spacing */
    .lk-navbar .navbar-nav {
        gap: 0.5rem;
        padding-top: 0.5rem;
    }
    .lk-navbar .nav-link {
        padding: 0.6rem 1rem !important;
    }
    .lk-navbar .nav-item:last-child {
        margin-top: 0.5rem;
        padding-left: 1rem;
    }

    /* Stats */
    .stat-card::after { display: none; }

    /* Admin */
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; width: 100%; }
    .admin-menu-toggle { display: flex; }
    .admin-topbar { padding: 0.75rem 1rem; }
    .admin-topbar-title {
        font-size: 0.95rem;
        max-width: min(200px, 42vw);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .admin-topbar-right { gap: 0.5rem; flex-shrink: 0; }
}

@media (max-width: 767.98px) {
    .lk-section { padding: 5rem 0; }
    .hero-visual { height: 340px; margin-top: 1.5rem; }
    .orbit-ring-3 { display: none; }
    .contact-form-card { padding: 1.75rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .admin-content { padding: 1.25rem 1rem; }
    .admin-section-header,
    form.admin-section-header {
        flex-direction: column;
        align-items: stretch;
    }
    form.admin-section-header .d-flex {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
    }
    form.admin-section-header input[type="text"],
    form.admin-section-header select {
        width: 100% !important;
    }
    form.admin-section-header .btn-lk,
    form.admin-section-header > .btn-lk,
    .admin-section-header > .btn-lk {
        width: 100%;
        justify-content: center;
    }
    .admin-stat-card { padding: 1.25rem; }
    .admin-stat-value { font-size: 1.5rem; }
    .admin-table { min-width: 520px; }
    .admin-table th,
    .admin-table td { padding: 0.75rem 0.85rem; }
    .admin-topbar-title { max-width: min(150px, 38vw); }
    .process-step { padding: 1rem; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 2.2rem; letter-spacing: -0.5px; }
    .hero-visual { height: 260px; }
    .cube-scene { width: 110px; height: 110px; }
    .cube-tilt { width: 110px; height: 110px; }
    .cube { width: 110px; height: 110px; }
    .cube-face { width: 110px; height: 110px; border-radius: 16px; }
    .cube-face-front  { transform: translateZ(55px); }
    .cube-face-back   { transform: rotateY(180deg) translateZ(55px); }
    .cube-face-right  { transform: rotateY(90deg) translateZ(55px); }
    .cube-face-left   { transform: rotateY(-90deg) translateZ(55px); }
    .cube-face-top    { transform: rotateX(90deg) translateZ(55px); }
    .cube-face-bottom { transform: rotateX(-90deg) translateZ(55px); }
    .cube-logo { width: 58px; height: 58px; }
    .orbit-ring-2 { display: none; }
    .btn-primary-pill, .btn-glass-pill { padding: 0.7rem 1.4rem; font-size: 0.85rem; }
    .hero-buttons { flex-direction: column; align-items: center; width: 100%; }
    .hero-buttons .btn-lk { width: 100%; justify-content: center; }
    .admin-form-card { padding: 1.25rem; }
    .admin-stat-value { font-size: 1.25rem; }
    .admin-stat-label { font-size: 0.7rem; }
    .admin-topbar-btn { width: 34px; height: 34px; font-size: 0.85rem; }
    .admin-user-avatar { width: 34px; height: 34px; font-size: 0.75rem; }
    .admin-topbar .theme-toggle { transform: scale(0.9); }
    .admin-topbar-title { max-width: min(120px, 32vw); font-size: 0.85rem; }
    .admin-content { padding: 1rem 0.75rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   33. SIDEBAR OVERLAY (mobile admin)
═══════════════════════════════════════════════════════════════════════ */
.admin-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99;
    backdrop-filter: blur(4px);
}

.admin-sidebar-overlay.active { display: block; }

/* ═══════════════════════════════════════════════════════════════════════
   34. MISC HELPERS
═══════════════════════════════════════════════════════════════════════ */
.rounded-lk { border-radius: var(--radius-md) !important; }
.border-lk  { border: 1px solid var(--border-light) !important; }

/* Gradient border trick */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: var(--gradient-main);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.gradient-border:hover::before { opacity: 1; }

/* Page transition fade */
.page-fade {
    animation: pageFadeIn 0.5s ease forwards;
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════
   35. THEME TOGGLE
═══════════════════════════════════════════════════════════════════════ */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: var(--glass-bg);
    color: var(--text-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    flex-shrink: 0;
    padding: 0;
}

.theme-toggle:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(59, 130, 246, 0.1);
}

.theme-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.theme-icon-sun { display: none; }

[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: inline-block; }

.admin-topbar .theme-toggle {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
}

.contact-info-grid {
    max-width: 520px;
    margin-left: auto;
}

.contact-info-grid-centered {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-grid-3 {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767.98px) {
    .contact-info-grid-3 .contact-info-card {
        text-align: center;
    }
}

.contact-info-grid .contact-info-card {
    padding: 1.25rem;
}

.contact-page-simple {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding-bottom: 6rem;
}

.contact-card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.contact-card-value {
    color: var(--text-main);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    word-break: break-word;
    text-decoration: none;
    transition: var(--transition);
}

a.contact-card-value:hover {
    color: var(--blue);
}

.contact-whatsapp-btn {
    background: #25D366 !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35) !important;
}

.contact-whatsapp-btn:hover {
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5) !important;
    color: #fff !important;
}

/* Floating WhatsApp button */
.floating-whatsapp {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 9999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    animation: whatsapp-bounce 2.5s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp i {
    position: relative;
    z-index: 2;
}

.floating-whatsapp:hover {
    color: #fff;
    animation-play-state: paused;
    transform: scale(1.08);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp::before,
.floating-whatsapp::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.45);
    pointer-events: none;
    z-index: 0;
}

.floating-whatsapp::before {
    animation: whatsapp-ring 2s ease-out infinite;
}

.floating-whatsapp::after {
    animation: whatsapp-ring 2s ease-out infinite 1s;
}

@keyframes whatsapp-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

@keyframes whatsapp-ring {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

@media (max-width: 575.98px) {
    .floating-whatsapp {
        right: 1rem;
        bottom: 1rem;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   36. PREFERS REDUCED MOTION (Accessibility)
═══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}
