/* ===== global.css ===== */
/* assets/css/global.css */



/* Import Inter and Sora fonts */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=Sora:wght@300;400;500;600;700&display=swap');



:root {

    /* Color System */

    --primary-blue: #2484c6;

    --primary-blue-light: #3a9bdc;

    --primary-blue-dark: #1a5fa6;

    --deep-bg-start: #1e2f8f;

    --deep-bg-mid: #0f1e4a;

    --deep-bg-end: #020617;

    

    /* Typography */

        --font-body: 'Lexend', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --font-heading: 'Sora', sans-serif;

    

    /* Spacing */

    --header-height: 85px;

    --container-max: 1400px;

    --section-padding: 100px 24px;

    

    /* Glass Effects */

    --glass-bg: rgba(45, 63, 148, 0.25);

    --glass-border: rgba(255, 255, 255, 0.15);

    --blur-amount: 20px;

    

    /* Shadows */

    --shadow-sm: 0 8px 20px -5px rgba(0, 0, 0, 0.2);

    --shadow-md: 0 15px 35px -8px rgba(0, 0, 0, 0.3);

    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.4);

    --glow-blue: 0 0 30px rgba(36, 132, 198, 0.3);

    

    /* Transitions */

    --transition-fast: 0.2s ease;

    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

}



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

}



body {

    font-family: var(--font-body);

    color: white;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

    background: radial-gradient(

        circle at 50% 30%,

        #1e2f8f 0%,

        #0f1e4a 30%,

        #070f2a 55%,

        #020617 100%

    );

    background-attachment: fixed;

    min-height: 100vh;

}



body::before {

    content: "";

    position: fixed;

    inset: 0;

    background: radial-gradient(

        circle at 50% 20%,

        rgba(120, 150, 255, 0.12),

        transparent 60%

    );

    pointer-events: none;

    z-index: -1;

}



/* Typography */

h1, h2, h3, h4, h5, h6 {

    font-family: var(--font-heading);

    font-weight: 600;

    line-height: 1.2;

    letter-spacing: -0.02em;

}



h1 {

    font-size: clamp(2.8rem, 9vw, 5.2rem);

    font-weight: 700;

}



h2 {

    font-size: clamp(2.2rem, 5vw, 3.5rem);

    margin-bottom: 1rem;

}



h3 {

    font-size: clamp(1.5rem, 3vw, 2rem);

}



p {

    margin-bottom: 1rem;

    color: rgba(255, 255, 255, 0.85);

}



a {

    text-decoration: none;

    color: inherit;

}



/* Container */

.container {

    max-width: var(--container-max);

    margin: 0 auto;

    padding: 0 24px;

}



/* Section Base */

.section {

    position: relative;

    padding: var(--section-padding);

    overflow: hidden;

}



.section-header {

    text-align: center;

    margin-bottom: 60px;

}



.section-subtitle {

    display: inline-block;

    font-family: var(--font-heading);

    font-size: 0.9rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 3px;

    color: var(--primary-blue-light);

    margin-bottom: 16px;

    padding: 6px 16px;

    background: rgba(36, 132, 198, 0.15);

    border-radius: 30px;

    backdrop-filter: blur(8px);

    border: 1px solid rgba(36, 132, 198, 0.3);

}



.section-title {

    margin-bottom: 20px;

    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);

}



.section-description {

    max-width: 700px;

    margin: 0 auto;

    font-size: 1.1rem;

}



/* Buttons */

.btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 14px 32px;

    border-radius: 50px;

    font-weight: 600;

    font-size: 1rem;

    transition: var(--transition-base);

    border: 1px solid transparent;

    cursor: pointer;

    white-space: nowrap;

}



.btn-primary {

    background: var(--primary-blue);

    color: white;

    box-shadow: 0 8px 20px -5px rgba(36, 132, 198, 0.4);

}



.btn-primary:hover {

    background: var(--primary-blue-light);

    transform: translateY(-2px);

    box-shadow: 0 12px 25px -5px rgba(36, 132, 198, 0.5);

}



.btn-outline {

    background: transparent;

    border-color: rgba(255, 255, 255, 0.3);

    color: white;

    backdrop-filter: blur(8px);

}



.btn-outline:hover {

    background: rgba(255, 255, 255, 0.1);

    border-color: rgba(255, 255, 255, 0.5);

}



.btn-large {

    padding: 18px 40px;

    font-size: 1.1rem;

}



/* Glass Card */

.glass-card {

    background: rgba(45, 63, 148, 0.15);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 24px;

    padding: 32px;

    transition: var(--transition-base);

}



.glass-card:hover {

    background: rgba(45, 63, 148, 0.25);

    border-color: rgba(255, 255, 255, 0.2);

    transform: translateY(-5px);

    box-shadow: var(--shadow-md);

}



/* Grid System */

.grid {

    display: grid;

    gap: 30px;

}



.grid-2 {

    grid-template-columns: repeat(2, 1fr);

}



.grid-3 {

    grid-template-columns: repeat(3, 1fr);

}



.grid-4 {

    grid-template-columns: repeat(4, 1fr);

}



/* Animations */

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



@keyframes fadeIn {

    from { opacity: 0; }

    to { opacity: 1; }

}



@keyframes scaleIn {

    from {

        opacity: 0;

        transform: scale(0.9);

    }

    to {

        opacity: 1;

        transform: scale(1);

    }

}



.fade-up {

    animation: fadeUp 0.6s ease-out forwards;

}



/* Utility Classes */

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

.text-gradient {

    background: linear-gradient(135deg, #fff 0%, #aad0ff 100%);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

}



.mb-1 { margin-bottom: 0.5rem; }

.mb-2 { margin-bottom: 1rem; }

.mb-3 { margin-bottom: 1.5rem; }

.mb-4 { margin-bottom: 2rem; }

.mb-5 { margin-bottom: 3rem; }



/* Scrollbar */

::-webkit-scrollbar {

    width: 8px;

}



::-webkit-scrollbar-track {

    background: rgba(0, 0, 0, 0.2);

}



::-webkit-scrollbar-thumb {

    background: var(--primary-blue);

    border-radius: 4px;

}



::-webkit-scrollbar-thumb:hover {

    background: var(--primary-blue-light);

}



/* Responsive */

@media (max-width: 992px) {

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

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

    :root { --section-padding: 80px 20px; }

}



@media (max-width: 768px) {

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

    :root { --section-padding: 60px 16px; }

    .section-header { margin-bottom: 40px; }

}



/* Fix horizontal overflow */

html, body {

    overflow-x: hidden;

    width: 100%;

    max-width: 100vw;

}



* {

    box-sizing: border-box;

}



/* Ensure no element overflows */

img, video, iframe, .container, section, div {

    max-width: 100%;

}

/* =========================================================
   SITE-WIDE LAYOUT / TYPE CONSISTENCY
   Same content width and readable sizing on every page.
   ========================================================= */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* One shared page width matching the Home page/header/footer container. */
.page-container,
.services-hero,
.categories-container,
.why-choose-section,
.cta-section-full,
.portfolio-hero,
.category-selector-container,
.portfolio-grid-container,
.blog-content-section,
.contact-info-section,
.contact-form-section,
.policy-container,
.team-hero-container,
.vision-mission-container,
.service-view-section,
.work-detail-section {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

/* Consistent horizontal gutters across all screens. */
@media (min-width: 769px) {
    .page-container,
    .portfolio-hero,
    .contact-info-section,
    .contact-form-section,
    .policy-container,
    .team-hero-container,
    .service-view-section,
    .work-detail-section {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 768px) {
    :root { --page-gutter: 16px; }
    .container,
    .header-container,
    .page-container,
    .services-hero,
    .categories-container,
    .why-choose-section,
    .cta-section-full,
    .portfolio-hero,
    .category-selector-container,
    .blog-content-section,
    .contact-info-section,
    .contact-form-section,
    .policy-container,
    .team-hero-container,
    .service-view-section,
    .work-detail-section {
        padding-left: var(--page-gutter) !important;
        padding-right: var(--page-gutter) !important;
    }

    body, p, a, button, input, textarea, select, label, li {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* ===== navbar.css ===== */
/* Fixed Header */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;

}

.header-frame {
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    position: relative;
    transition: var(--transition-base);

}

.header-frame.scrolled {
    background: rgba(15, 30, 74, 0.7);
    backdrop-filter: blur(25px);

}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;

}

.main-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    background: transparent;
    position: relative;

}

/* Logo */

.nav-left {
    display: flex;
    align-items: center;

}

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

}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-base);

}

/* Navigation Links */

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

}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;

}

.nav-item {
    position: relative;

}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    background: transparent;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);

}

.nav-link i {
    font-size: 1rem;
    opacity: 0.9;
    transition: var(--transition-base);

}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);

}

.nav-link:hover i {
    transform: translateY(-1px);

}

/* Active Link */

.nav-link.active {
    background: rgba(36, 132, 198, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);

}

/* Services Mega Menu Trigger */

.nav-item.mega-menu-trigger {
    position: relative;

}

/* Contact Button */

.nav-link.btn-contact {
    background: var(--primary-blue);
    box-shadow: 0 8px 16px -5px #0f2c4e;
    margin-left: 8px;

}

.nav-link.btn-contact:hover {
    background: var(--primary-blue-light);
    transform: translateY(-1px);

}

/* ========== HIRING PILL (Next to Our Team) ========== */

.hiring-nav-item {
    margin-left: 4px;

}

.hiring-pill {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 40px;
    transition: var(--transition-base);
    animation: gentlePulse 2s infinite ease-in-out;

}

.hiring-pill:hover {
    transform: scale(1.05);
}

.hiring-pill-img {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));

}

/* ========== MOBILE HIRING BADGE (Next to Logo) ========== */

.mobile-hiring-badge {
    display: none;
    margin-left: 12px;
    cursor: pointer;
    transition: var(--transition-base);
    animation: gentlePulse 2s infinite ease-in-out;

}

.mobile-hiring-badge:hover {
    transform: scale(1.05);
}

.mobile-hiring-img {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));

}

/* Show mobile hiring only on mobile */

@media (max-width: 1100px) {
    .mobile-hiring-badge {
        display: flex;
    }

    /* Hide desktop hiring pill on mobile */
    .hiring-nav-item {
        display: none;
    }

}

/* Responsive adjustments */

@media (max-width: 768px) {
    .mobile-hiring-img {
        height: 28px;
    }

}

/* Nav Right */

.nav-right {
    display: flex;
    align-items: center;

}

/* Hiring Button */
.hiring-btn:hover {
    transform: scale(1.05);

}

@keyframes gentlePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

}

/* ========== MEGA MENU ========== */

.mega-menu-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-base);
    pointer-events: none;
    z-index: 999;

}

.mega-menu-trigger:hover+.mega-menu-container,

.mega-menu-container:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;

}

.mega-menu {
    background: rgba(15, 30, 74, 0.85);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    margin-top: 10px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;

}

.mega-menu-category {
    min-width: 180px;

}

.mega-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-blue);

}

.mega-category-title i {
    color: var(--primary-blue-light);
    font-size: 1.2rem;

}

.mega-service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;

}

.mega-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);

}

.mega-service-item i {
    color: var(--primary-blue-light);
    font-size: 0.9rem;
    width: 18px;
    opacity: 0.8;

}

.mega-service-item:hover {
    background: rgba(36, 132, 198, 0.25);
    color: white;
    transform: translateX(5px);

}

.mega-service-item:hover i {
    opacity: 1;

}

.service-count {
    margin-left: auto;
    font-size: 0.75rem;
    background: rgba(36, 132, 198, 0.3);
    padding: 2px 8px;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.9);

}

/* ========== MOBILE STYLES ========== */

.mobile-actions {
    display: none;
    align-items: center;
    gap: 10px;

}

.menu-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition-base);

}

.menu-btn:hover {
    background: var(--primary-blue);

}

.mobile-hiring {
    display: none;
    cursor: pointer;

}

/* Mobile Menu Panel */

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85%, 360px);
    height: 100vh;
    background: rgba(15, 30, 74, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.3);
    padding: 28px 20px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;

}

.mobile-menu-panel.open {
    transform: translateX(0);

}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;

}

.close-menu {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition-base);

}

.close-menu:hover {
    background: var(--primary-blue);

}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;

}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    border-radius: 48px;
    color: white;
    font-weight: 600;
    font-size: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);

}

.mobile-nav-link i {
    width: 24px;
    color: var(--primary-blue-light);

}

.mobile-nav-link:hover {
    background: var(--primary-blue);
    border-color: white;

}

.mobile-panel-footer {
    margin-top: auto;
    padding: 24px 0 8px;
    color: #c2d9ff;
    font-size: 0.8rem;
    text-align: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);

}

/* Menu Overlay */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
    pointer-events: none;

}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

}

/* Responsive Breakpoints */

@media (max-width: 1100px) {
    .nav-center {
        display: none;
    }

    .nav-right {
        display: none;
    }

    .mobile-actions {
        display: flex;
    }

    .mega-menu-container {
        display: none;
    }

}

@media (max-width: 768px) {
    .header-container {
        padding: 8px 16px;
    }

    .main-navbar {
        height: 60px !important;
    }

    .logo-img {
        height: 40px;
    }

}

@media (min-width: 1101px) {

    .mobile-menu-panel,
    .menu-overlay {
        display: none;
    }

}

/* Reduce navbar height on mobile */

@media (max-width: 768px) {
    .main-navbar {
        height: 56px !important;
    }

}

@media (max-width: 480px) {
    .main-navbar {
        height: 50px !important;
    }

}

/* Active state consistency for the Careers / hiring control */
/* .hiring-pill.active,
.mobile-hiring-badge.active {
    background: rgba(36, 132, 198, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
} */

/* ===== our-work.css ===== */
.portfolio-section {
    padding-top: 85px;
    min-height: 100vh;
}

.portfolio-hero {
    text-align: center;
    padding: 40px 24px 25px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(36, 132, 198, 0.15);
    border: 1px solid rgba(36, 132, 198, 0.3);
    border-radius: 40px;
    color: #6db3ff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.text-gradient {
    background: linear-gradient(135deg, #aad0ff, #6db3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* ── Category Selector Bar (Desktop) ── */
.category-selector-wrapper {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 85px;
    z-index: 50;
}

.category-selector-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.selector-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6db3ff;
    white-space: nowrap;
}

.category-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-chip i {
    color: #6db3ff;
}

.category-chip .chip-count {
    background: rgba(36, 132, 198, 0.3);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 4px;
}

.category-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.category-chip.active {
    background: #2484c6;
    border-color: #2484c6;
    color: white;
    box-shadow: 0 8px 20px rgba(36, 132, 198, 0.3);
}

.category-chip.active i {
    color: white;
}

.category-chip.active .chip-count {
    background: rgba(255, 255, 255, 0.25);
}

/* ─────────────────────────────   DESKTOP STICKY SIDEBAR───────────────────────────── */
.work-dashboard {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 24px 40px;
    align-items: start;
}

.work-sidebar {
    position: sticky;
    top: 140px;
    align-self: start;
    height: fit-content;
}

.sidebar-content {
    background: rgba(30, 47, 143, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 14px;
    z-index: 20;
    margin-top: 50px;
    height: fit-content;
}

.work-sidebar::-webkit-scrollbar {
    width: 4px;
}

.work-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.work-sidebar::-webkit-scrollbar-thumb {
    background: rgba(36, 132, 198, 0.4);
    border-radius: 4px;
}

.sidebar-search {
    position: relative;
    margin-bottom: 12px;
}

.sidebar-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.sidebar-search input {
    width: 100%;
    padding: 10px 14px 10px 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
    outline: none;
    box-sizing: border-box;
}

.sidebar-search input:focus {
    border-color: #2484c6;
}

.sidebar-search input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Sidebar Nav Items */
.nav-sub-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
    margin-bottom: 2px;
}

.nav-sub-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.nav-sub-item.active {
    background: rgba(36, 132, 198, 0.2);
    color: white;
    border-left: 3px solid #2484c6;
}

.nav-sub-item i {
    width: 16px;
    color: #6db3ff;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.nav-sub-item.active i {
    color: #aad0ff;
}

/* Mobile Trigger */
.mobile-trigger {
    display: none;
    padding: 10px 16px;
    background: rgba(30, 47, 143, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 14px;
}

.mobile-trigger i:first-child {
    color: #6db3ff;
    margin-right: 8px;
}

.mobile-trigger span {
    color: white;
    font-size: 0.9rem;
}

.mobile-trigger i:last-child {
    color: rgba(255, 255, 255, 0.5);
    float: right;
    transition: transform 0.3s;
}

.mobile-trigger.active {
    background: rgba(36, 132, 198, 0.25);
    border-color: rgba(36, 132, 198, 0.4);
}

.mobile-trigger.active i:last-child {
    transform: rotate(180deg);
}

/* ── Work Content — centered ── */
.work-content {
    width: 100%;
    min-width: 0;
}

.portfolio-grid {
    width: 100%;
}

/* ── Subcategory sections ── */
.subcategory-section {
    margin-bottom: 40px;
    width: 100%;
}

.subcategory-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(36, 132, 198, 0.3);
    text-align: center;
}

.subcategory-title i {
    color: #6db3ff;
    font-size: 1.4rem;
    background: rgba(36, 132, 198, 0.12);
    padding: 10px;
    border-radius: 12px;
}

.subcategory-title h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.subcategory-title span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-left: 8px;
    background: rgba(36, 132, 198, 0.1);
    padding: 4px 14px;
    border-radius: 20px;
}

/* ── Projects grid (desktop) ── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

/* ── Project cards ── */
.project-card {
    background: rgba(30, 47, 143, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(36, 132, 198, 0.4);
}

.card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, #1a5fa6, #0f1e4a);
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s;
}

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

.card-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
    background: #020617;
}

.project-card:hover .card-image video {
    transform: scale(1.03);
}

.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
}

.video-badge i {
    color: #6db3ff;
    font-size: 0.62rem;
}

.image-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-fallback i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.4);
}

.card-content {
    padding: 14px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}

.tag {
    padding: 3px 8px;
    background: rgba(36, 132, 198, 0.15);
    border-radius: 15px;
    font-size: 0.65rem;
    color: #aad0ff;
}

.card-title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.card-client {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-client i {
    color: #2484c6;
    font-size: 0.6rem;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.4);
}

/* ── CTA ── */
.portfolio-cta {
    padding: 40px 24px 80px;
}

.cta-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(36, 132, 198, 0.1), rgba(45, 63, 148, 0.05));
    border: 1px solid rgba(36, 132, 198, 0.2);
    border-radius: 24px;
}

.cta-card h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #2484c6;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #3a9bdc;
    transform: translateY(-2px);
}

/* ── Mobile Tab Bar ── */
.mobile-tab-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 30, 74, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 4px;
    z-index: 95;
    justify-content: space-around;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 5px 8px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    min-width: 44px;
}

.tab-item i {
    font-size: 1.05rem;
}

.tab-item span {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-item.active {
    color: #6db3ff;
    background: rgba(36, 132, 198, 0.15);
}

/* ================================================================   MOBILE  ≤ 900px   ================================================================ */
@media (max-width: 900px) {

    /* Hide desktop category bar */
    .category-selector-wrapper {
        display: none;
    }

    /* Single-column dashboard */
    .work-dashboard {
        grid-template-columns: 1fr;
        padding: 0 0 30px;
        gap: 0;
    }

    /* ── Mobile sidebar trigger — sticky below navbar ── */
    .work-sidebar {
        position: sticky;
        top: 66px;
        z-index: 60;
        max-height: none;
        overflow: visible;
        background: rgba(2, 6, 23, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 10px 16px;
    }

    .mobile-trigger {
        display: flex;
        gap: 10px;
        align-items: center;
        margin-bottom: 0;
        border-radius: 10px;
    }

    .sidebar-content {
        display: none;
        position: absolute;
        top: calc(100% + 4px);
        left: 16px;
        right: 16px;
        z-index: 100;
        max-height: 340px;
        overflow-y: auto;
        background: rgba(15, 30, 74, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
        padding: 14px;
    }

    .sidebar-content.show {
        display: block;
    }

    /* ── Content padding on mobile ── */
    .work-content {
        padding: 20px 14px 20px;
    }

    /* ── Mobile: horizontal swipe row per subcategory ── */
    .subcategory-section {
        margin-bottom: 32px;
    }

    .subcategory-title {
        justify-content: flex-start;
        padding-bottom: 10px;
        margin-bottom: 14px;
    }

    /* Override desktop grid → horizontal scroll row */
    .projects-grid {
        display: flex;
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        /* hide scrollbar but keep scroll */
        scrollbar-width: none;
    }

    .projects-grid::-webkit-scrollbar {
        display: none;
    }

    /* Each card: show exactly 2 per viewport width */
    .project-card {
        flex: 0 0 calc(50% - 6px);
        min-width: 0;
        scroll-snap-align: start;
        border-radius: 14px;
    }

    /* Slightly taller image ratio on small cards */
    .card-image {
        aspect-ratio: 4/3;
    }

    /* Tighter card text */
    .card-content {
        padding: 10px 11px;
    }

    .card-title {
        font-size: 0.82rem;
    }

    .card-client {
        font-size: 0.68rem;
    }

    .tag {
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    /* Show tab bar */
    .mobile-tab-bar {
        display: flex;
    }

    .portfolio-section {
        padding-bottom: 70px;
    }

    #footer-placeholder {
        margin-bottom: 70px;
    }
}

/* ── Very small phones ── */
@media (max-width: 400px) {
    .project-card {
        flex: 0 0 calc(50% - 6px);
    }

    .card-title {
        font-size: 0.76rem;
    }

    .tab-item span {
        font-size: 0.55rem;
    }

    .tab-item i {
        font-size: 0.95rem;
    }

    .subcategory-title h3 {
        font-size: 17px;
    }
}

html,
body,
.portfolio-section,
.work-dashboard {
    overflow: visible !important;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
}

.portfolio-section,
.work-dashboard,
.work-sidebar,
.work-content {
    overflow: visible !important;
}

/* Make "All" tab bigger on mobile */
@media (max-width: 900px) {
    .mobile-tab-bar .tab-item:first-child {
        min-width: 60px;
        padding: 8px 18px;
        background: rgba(36, 132, 198, 0.2);
        border: 1px solid rgba(36, 132, 198, 0.4);
        border-radius: 25px;
    }

    .mobile-tab-bar .tab-item:first-child i {
        font-size: 1.4rem;
    }

    .mobile-tab-bar .tab-item:first-child span {
        font-size: 0.7rem;
        font-weight: 700;
    }

    .mobile-tab-bar .tab-item:first-child.active {
        background: #2484c6;
        border-color: #2484c6;
    }
}

/* ===== footer.css ===== */
/* FOOTER WITH RADIAL GRADIENT + MATRIX RAIN */
.site-footer {
    position: relative;
    min-height: 500px;
    background: radial-gradient(circle at 50% 30%, #1e2f8f 0%, #0f1e4a 30%, #070f2a 55%, #020617 100%);
    overflow: hidden;
    isolation: isolate;
}

/* Canvas Background - Matrix Rain */
.footer-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
    opacity: 0.7;
    pointer-events: none;
}

/* Footer Content Overlay - Transparent to see animation */
.footer-overlay {
    position: relative;
    z-index: 10;
    padding: 60px 0 20px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid rgba(36, 132, 198, 0.3);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer Brand - Semi-transparent for readability */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    height: 58px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(1.1);
    margin-top: -24px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(36, 132, 198, 0.2);
    border: 1px solid rgba(36, 132, 198, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.social-link:hover {
    background: #2484c6;
    border-color: #2484c6;
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(36, 132, 198, 0.6);
}

/* Footer Links */
.footer-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #2484c6, transparent);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer-links a i {
    font-size: 0.8rem;
    color: #6db3ff;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
    text-shadow: 0 0 15px rgba(109, 179, 255, 0.5);
}

.footer-links a:hover i {
    transform: translateX(3px);
    color: #aad0ff;
}

/* Newsletter */
.footer-newsletter p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 30px;
    border: 1px solid rgba(36, 132, 198, 0.4);
    background: rgba(2, 6, 23, 0.3);
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.newsletter-form input:focus {
    border-color: #2484c6;
    background: rgba(36, 132, 198, 0.2);
    box-shadow: 0 0 20px rgba(36, 132, 198, 0.3);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    padding: 12px 20px;
    border-radius: 30px;
    border: none;
    background: #2484c6;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #3a9bdc;
    box-shadow: 0 0 25px rgba(36, 132, 198, 0.5);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(36, 132, 198, 0.25);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer-legal a:hover {
    color: #aad0ff;
    text-shadow: 0 0 15px rgba(109, 179, 255, 0.4);
}

/* ============================================   RESPONSIVE   ============================================ */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        min-height: auto;
    }

    .footer-overlay {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-title {
        display: block;
    }

    .footer-title::after {
        left: 5%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
    }
    .footer-description
    {
        max-width: 370px;
    }
}

/* Newsletter Form */
.footer-newsletter p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 30px;
    border: 1px solid rgba(36, 132, 198, 0.3);
    background: rgba(2, 6, 23, 0.5);
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.newsletter-form input:focus {
    border-color: #2484c6;
    background: rgba(36, 132, 198, 0.15);
    box-shadow: 0 0 15px rgba(36, 132, 198, 0.2);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 14px 20px;
    border-radius: 30px;
    border: none;
    background: #2484c6;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #3a9bdc;
    box-shadow: 0 0 20px rgba(36, 132, 198, 0.4);
}

/* Success Message */
.form-success-message {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 16px;
    background: rgba(76, 217, 100, 0.15);
    border: 1px solid rgba(76, 217, 100, 0.3);
    border-radius: 30px;
    color: #4cd964;
    font-size: 0.85rem;
}

.form-success-message.show {
    display: flex;
}

.form-success-message i {
    font-size: 1rem;
}

/* Footer Contact Button */
.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2484c6, #1a5fa6);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(36, 132, 198, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-contact-btn:hover {
    background: linear-gradient(135deg, #3a9bdc, #2484c6);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(36, 132, 198, 0.4);
    color: white;
}

.footer-contact-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.footer-contact-btn:hover i {
    transform: translateX(3px);
}
