html {
    scrollbar-gutter: stable;
}

:root {
    --brand-primary: #01a6ff;
    --brand-secondary: #6d6a6a;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --border-color: rgba(128, 128, 128, 0.15);

    /* Platform & Service Colors (Standardized) */
    --color-collecto: #4f46e5;
    /* Replaced legacy colors with Indigo */
    --color-eworker: #0055FF;
    --color-rentpay: #ffb800;
    --color-menu: #FF4A5A;
    --color-cissyai: #01a6ff;

    /* Icon Accent Colors */
    --icon-cyan: #38b2ac;
    --icon-orange: #ed8936;
    --icon-red: #e53e3e;
    --icon-indigo: #4f46e5;
    /* Replaces legacy color */
}

[data-bs-theme="dark"] {
    --card-bg: #111111;
    --nav-bg: rgba(15, 15, 15, 0.85);
    --border-color: rgba(255, 255, 255, 0.1);

    /* Slightly brighten brand colors for dark UI */
    --brand-primary: color-mix(in srgb, #fff 20%, #01a6ff);
    --brand-secondary: color-mix(in srgb, #fff 20%, #6d6a6a);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bs-body-bg);
}

body.offcanvas-open {
    overflow: hidden !important;
}

@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;
    }
}

/* ===================================================
   PRIMARY BUTTON
   ========================================================= */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);

    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: color-mix(in srgb, var(--brand-primary), #000 15%);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--brand-primary), #000 20%);

    --bs-btn-active-bg: color-mix(in srgb, var(--brand-primary), #000 25%);
    --bs-btn-active-border-color: color-mix(in srgb, var(--brand-primary), #000 30%);
}

.btn-primary:disabled,
.btn-primary.disabled {
    --bs-btn-disabled-bg: var(--brand-primary);
    --bs-btn-disabled-border-color: var(--brand-primary);
    opacity: 0.65;
}

/* =========================================================
   OUTLINE PRIMARY BUTTON
   ========================================================= */
.btn-outline-primary {
    --bs-btn-color: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);

    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-primary);
    --bs-btn-hover-border-color: var(--brand-primary);

    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: color-mix(in srgb, var(--brand-primary), #000 15%);
    --bs-btn-active-border-color: color-mix(in srgb, var(--brand-primary), #000 20%);
}

.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
    --bs-btn-disabled-color: var(--brand-primary);
    --bs-btn-disabled-border-color: var(--brand-primary);
    opacity: 0.5;
}

/* =========================================================
   SECONDARY BUTTON
   ========================================================= */
.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand-secondary);
    --bs-btn-border-color: var(--brand-secondary);

    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: color-mix(in srgb, var(--brand-secondary), #000 15%);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--brand-secondary), #000 20%);

    --bs-btn-active-bg: color-mix(in srgb, var(--brand-secondary), #000 25%);
    --bs-btn-active-border-color: color-mix(in srgb, var(--brand-secondary), #000 30%);
}

.btn-secondary:disabled,
.btn-secondary.disabled {
    --bs-btn-disabled-bg: var(--brand-secondary);
    --bs-btn-disabled-border-color: var(--brand-secondary);
    opacity: 0.65;
}

/* =========================================================
   OUTLINE SECONDARY BUTTON
   ========================================================= */
.btn-outline-secondary {
    --bs-btn-color: var(--brand-secondary);
    --bs-btn-border-color: var(--brand-secondary);

    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-secondary);
    --bs-btn-hover-border-color: var(--brand-secondary);

    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: color-mix(in srgb, var(--brand-secondary), #000 15%);
    --bs-btn-active-border-color: color-mix(in srgb, var(--brand-secondary), #000 20%);
}

.btn-outline-secondary:disabled,
.btn-outline-secondary.disabled {
    --bs-btn-disabled-color: var(--brand-secondary);
    --bs-btn-disabled-border-color: var(--brand-secondary);
    opacity: 0.5;
}


.material-symbols-outlined {
    vertical-align: middle;
}


/* --- CIRCUIT BACKGROUND --- */
.circuit-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.circuit-map {
    width: 100%;
    height: 100%;
    opacity: 0.12;
    color: var(--brand-primary);
}

[data-bs-theme="dark"] .circuit-map {
    opacity: 0.06;
}

.pulse-line {
    stroke-dasharray: 5, 15;
    animation: flow 20s linear infinite;
    stroke-width: 1.5;
}

@keyframes flow {
    from {
        stroke-dashoffset: 500;
    }

    to {
        stroke-dashoffset: 0;
    }
}

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

.text-brand-secondary {
    color: var(--brand-secondary);
}

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}



/* --- NAVBAR --- */
.navbar-custom {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1400px;
    padding: 12px 20px;
    background: rgba(var(--bs-body-bg-rgb), 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    z-index: 1050;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity;
}

.navbar-custom.menu-active {
    background: var(--bs-body-bg) !important;
    backdrop-filter: none;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
}

.navbar-hidden {
    transform: translateX(-50%) translateY(-150%) !important;
    opacity: 0;
}

.navbar-custom.scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    padding: 8px 40px;
}

/* --- HERO & MARQUEES --- */
.hero-area {
    padding-top: 120px;
    padding-bottom: 40px;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    overflow: visible;
}

/* Hero animation targets - initial positioning handled by GSAP to prevent conflicts */
.reveal-stagger>* {
    will-change: transform, opacity;
}

.hero-scroll-container {
    height: 550px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.hero-scroll-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: scrollV 25s linear infinite;
}

@keyframes scrollV {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

.marquee-container {
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 80px;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 100px;
    animation: scrollH 30s linear infinite;
    padding: 0;
    will-change: transform;
}

@keyframes scrollH {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.marquee-item {
    font-size: 1.25rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--brand-secondary);
    white-space: nowrap;
    opacity: 1;
    transition: all 0.3s ease;
}

.marquee-item.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    opacity: 1;
    filter: none;
    transition: all 0.4s ease;
}

.marquee-item.partner-logo:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.1);
}

.marquee-item.partner-logo img {
    height: 55px;
    /* Default height for desktop */
    width: auto;
    max-width: 150px;
    /* Constrain max width more aggressively */
    object-fit: contain;
}

/* --- STACKING CARDS --- */
.stack-card {
    position: sticky;
    top: 120px;
    min-height: 400px;
    background: var(--card-bg);
    border-radius: 32px;
    padding: 50px;
    margin-bottom: 50px;
    border: 1px solid rgba(128, 128, 128, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* --- UI COMPONENTS --- */
.ui-card {
    background: var(--card-bg);
    border: 1px solid rgba(128, 128, 128, 0.15);
    border-radius: 20px;
    padding: 25px;
}

.loading-bar {
    height: 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.loading-box {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 15px;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--brand-primary);
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 15px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.8rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}


.faq-item {
    background: var(--card-bg);
    border: 1px solid rgba(128, 128, 128, 0.15);
    border-radius: 20px;
    margin-bottom: 15px;
}

.faq-btn {
    width: 100%;
    border: none;
    background: transparent;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    font-weight: 900;
    font-size: 1rem;
}

.faq-content {
    padding: 0 25px 25px;
    color: var(--brand-secondary);
    display: none;
}

.faq-item.active .faq-content {
    display: block;
}

.faq-item.active .material-symbols-outlined {
    transform: rotate(180deg);
}

/* --- LINKS --- */
.nav-link-custom {
    color: var(--brand-secondary);
    cursor: pointer;
    transition: color 0.1s;
    padding: 10px;
    font-size: 0.82rem;
    text-align: center;
}

.nav-link-custom:hover {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

/* --- ENHANCEMENTS & REVEALS --- */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    will-change: transform, opacity;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal.active,
.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

.glow-card {
    position: relative;
    overflow: hidden;
}

.glow-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(1, 166, 255, 0.08), transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.glow-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(1, 166, 255, 0.2);
}

.glow-button:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(1, 166, 255, 0.4);
}

.glow-button::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.glow-button:hover::after {
    opacity: 1;
}

.theme-btn {
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
}

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--card-bg);
    color: var(--bs-body-color);
    border-radius: 32px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--brand-primary);
}

/* Bento Layout - Sketch Implementation */
.bento-tall {
    grid-row: span 2;
}

/* Components matching reference */
.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(1, 166, 255, 0.1);
    color: var(--brand-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 24px;
}

.service-card h3 {
    font-weight: 900;
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--bs-heading-color, inherit);
}

.service-card p {
    color: var(--brand-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--brand-primary);
    font-size: 0.95rem;
}

.service-list li .material-symbols-outlined {
    font-size: 18px;
    color: var(--brand-primary);
    font-weight: 600;
}

.btn-dark-pill {
    background: #111;
    color: #fff;
    border-radius: 50px;
    padding: 14px 28px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    width: max-content;
    text-decoration: none;
}

.btn-dark-pill:hover {
    background: #333;
    color: #fff;
    transform: translateX(4px);
}

/* Background blob decoration */
.card-decoration-blob {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(1, 166, 255, 0.08) 0%, transparent 70%);
    z-index: 0;
    border-radius: 50%;
}

.service-card * {
    position: relative;
    z-index: 1;
}

.service-card.highlighted {
    border-color: rgba(1, 166, 255, 0.3);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(1, 166, 255, 0.05) 100%);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(1, 166, 255, 0.1);
    color: var(--brand-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--brand-primary);
}

.service-list li .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--brand-primary);
}

/* --- MOBILE & TABLET --- */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 20px;
    }

    .bento-featured,
    .bento-wide,
    .bento-wide-footer {
        grid-column: span 1;
        grid-row: auto;
    }
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    /* Standard Grid handling is sufficient */

    .service-card {
        padding: 30px;
    }

    .hero-area {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 30px;
        /* px-based mobile override */
        /* px-based mobile: fixed regardless of browser font settings */
    }

    /* Mobile adjustments for Platform Cards */
    /* Restored pointer-events for mobile button accessibility */

    /* Services Mobile adjustment */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Standard Grid handling is sufficient */

    .platform-visual {
        min-height: 200px;
        /* Smaller minimum height on mobile */
        margin-top: 30px;
        padding: 20px;
    }

    .platform-logo {
        max-height: 80px;
        /* Scale down logos on mobile */
        max-width: 80%;
        /* Ensure it doesn't break out horizontally */
        object-fit: contain;
    }

    .marquee-item.partner-logo img {
        height: 40px;
        /* Reduce height of marquee logos on mobile */
        max-width: 120px;
    }

    .stack-card {
        padding: 30px;
        /* Reduce massive padding on stack cards */
        min-height: auto;
    }
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Tablet Adjustments (between mobile and full desktop) */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-wide {
        grid-column: span 2;
    }
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: none;
    flex-direction: column;
    padding: 20px 24px 40px;
    background: var(--bs-body-bg);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.mobile-menu.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    font-weight: 900;
    display: flex;
    justify-content: space-between;
    color: var(--bs-body-color);
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}

.mobile-menu-header {
    margin-bottom: 2rem;
}

.mobile-menu-header .material-symbols-outlined {
    cursor: pointer;
}

.mobile-link:last-of-type {
    border-bottom: none;
}

/* --- PLATFORM CARD ENHANCEMENTS --- */
.platform-visual {
    background: rgba(128, 128, 128, 0.03);
    border: 1px solid rgba(128, 128, 128, 0.08);
    border-radius: 24px;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

[data-bs-theme="dark"] .platform-visual {
    background: rgba(255, 255, 255, 0.02);
}

.bg-blur-blob {
    position: absolute;
    width: 65%;
    height: 65%;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    z-index: 0;
}

/* Optimize blur and animations for better mobile stability */
@media (max-width: 768px) {
    .bg-blur-blob {
        filter: blur(30px);
        opacity: 0.2;
    }

    .navbar-custom {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

[data-bs-theme="dark"] .bg-blur-blob {
    opacity: 0.15;
}

/* --- GnG Logo Gradient Text (Cross-browser) --- */
.gng-gradient-text {
    background: linear-gradient(90deg, var(--color-collecto), #ff7b00, #f5c518);
    /* Standard (Firefox 89+) */
    background-clip: text;
    color: transparent;
    /* Webkit (Chrome, Safari, Edge) */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gng-gradient-badge {
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.1), rgba(245, 197, 24, 0.1));
    color: #ff7b00;
    border: 1px solid rgba(255, 123, 0, 0.3);
}

/* --- Platform Logos (overflow safety) --- */
.platform-logo {
    position: relative;
    z-index: 1;
    max-height: 110px;
    max-width: 100%;
    /* FIX: prevents overflow/clipping on narrow viewports */
    width: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-bs-theme="dark"] .platform-logo {
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
}

.stack-card:hover .platform-logo {
    transform: scale(1.1) translateY(-8px);
}

.stack-card:hover .bg-blur-blob {
    opacity: 0.5;
    transition: opacity 0.4s;
}

[data-bs-theme="dark"] .stack-card:hover .bg-blur-blob {
    opacity: 0.3;
}

.ani-float {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.btn-arrow-hover {
    transition: transform 0.3s ease;
}

.btn-arrow-hover:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* =========================================================
   FOOTER STYLING
   ========================================================= */
.footer-main {
    border-top: 1px solid rgba(128, 128, 128, 0.1);
    background: rgba(0, 0, 0, 0.02);
    margin-top: 100px;
}

[data-bs-theme="dark"] .footer-main {
    background: rgba(255, 255, 255, 0.02);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 80px 0;
}

.footer-col-title {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    color: var(--brand-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    text-decoration: none;
    color: var(--brand-secondary);
    font-size: 0.9rem;
    padding: 8px 12px;
    margin-left: -12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    cursor: pointer;
}

.footer-link:hover {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    color: var(--brand-primary);
}

[data-bs-theme="dark"] .footer-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

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

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-secondary);
    transition: all 0.3s;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--brand-primary);
    color: #fff;
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--brand-secondary);
    font-size: 0.9rem;
}

.contact-item .material-symbols-outlined {
    color: var(--brand-primary);
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 60px 20px;
    }
}

/* =========================================================
   NEW SECTIONS: VIDEOS, SOCIAL, ADS
   ========================================================= */

/* --- YouTube Showcase --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 24px;
}

.video-info h4 {
    font-weight: 900;
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--bs-heading-color);
}

.video-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: 0.05em;
}

/* --- Professional Services (Bento Grid) --- */
.services-grid {
    grid-auto-rows: minmax(280px, auto);
    gap: 24px;
    margin-top: 3rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 32px;
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--brand-primary);
}

.service-card p {
    color: var(--brand-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

.service-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    flex-shrink: 0;
}

/* Theme-agnostic icon accent colors */
.icon-cyan {
    background: rgba(56, 178, 172, 0.1) !important;
    color: var(--icon-cyan) !important;
}

.icon-orange {
    background: rgba(237, 137, 54, 0.1) !important;
    color: var(--icon-orange) !important;
}

.icon-indigo {
    background: rgba(79, 70, 229, 0.1) !important;
    color: var(--icon-indigo) !important;
}

.icon-red {
    background: rgba(229, 62, 62, 0.1) !important;
    color: var(--icon-red) !important;
}

.bento-featured {
    background: linear-gradient(145deg, #01a6ff, #008be5);
    color: white;
}

.bento-featured h3,
.bento-featured p {
    color: white;
}

.bento-featured .service-icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.bento-featured .service-list {
    margin-top: 2rem;
    list-style: none;
    padding-left: 0;
}

.bento-featured .service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.bento-wide {
    background: var(--card-bg);
}

/* --- Components --- */
/* --- Social Hub --- */
.social-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.social-platform-card {
    padding: 40px 30px;
    border-radius: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.social-platform-card .material-symbols-outlined {
    font-size: 3rem;
    color: var(--brand-primary);
    margin-bottom: 10px;
}

.social-platform-card h5 {
    font-weight: 900;
    margin: 0;
}

.social-platform-card p {
    font-size: 0.9rem;
    color: var(--brand-secondary);
    margin: 0;
}

.social-platform-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: all 0.3s;
}

.social-platform-card.tiktok:hover {
    border-color: #ff0050;
}

.social-platform-card.tiktok:hover::after {
    background: #ff0050;
}

.social-platform-card.instagram:hover {
    border-color: #e1306c;
}

.social-platform-card.instagram:hover::after {
    background: #e1306c;
}

.social-platform-card.twitter:hover {
    border-color: #1da1f2;
}

.social-platform-card.twitter:hover::after {
    background: #1da1f2;
}

/* --- Ads & Deals Gallery --- */
.promo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.promo-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.promo-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(1, 166, 255, 0.1), rgba(0, 210, 255, 0.05));
}

.promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.promo-overlay {
    padding: 30px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.promo-overlay h4 {
    font-weight: 900;
    margin-bottom: 8px;
}

.promo-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--brand-primary);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 10px 20px rgba(1, 166, 255, 0.3);
    z-index: 2;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .promo-gallery {
        grid-template-columns: 1fr;
    }
}

/* --- HARDWARE SHOWCASE --- */
.hardware-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, transparent, rgba(1, 166, 255, 0.03), transparent);
}

#hardware .hardware-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 30px;
    padding: 60px 10%;
    margin-top: 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    scroll-snap-type: x mandatory;
}

/* Hard-lock desktop horizontal layout */
@media (min-width: 992px) {
    #hardware .hardware-scroll-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
    }
}

.hardware-scroll-container::-webkit-scrollbar {
    display: none;
    /* Safari/Chrome */
}

.hardware-scroll-container:active {
    cursor: grabbing;
}

.hardware-card {
    flex: 0 0 350px !important;
    width: 350px !important;
    min-width: 350px !important;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 30px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    scroll-snap-align: center;
}

.hardware-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--brand-primary);
    box-shadow: 0 20px 40px rgba(1, 166, 255, 0.1);
}

.hardware-img-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
    background: rgba(128, 128, 128, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hardware-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.8s ease;
}

.hardware-card:hover .hardware-img-wrapper img {
    transform: scale(1.1);
}

.hardware-card h4 {
    font-weight: 900;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.hardware-card p {
    color: var(--brand-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.hardware-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(1, 166, 255, 0.1);
    color: var(--brand-primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

/* --- PREMIUM OFFCANVAS (FULL SCREEN) --- */
.premium-offcanvas {
    background: var(--bs-body-bg) !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.premium-offcanvas .offcanvas-body {
    padding: 0;
    overflow-x: hidden;
}

.profile-hero {
    padding: 120px 0 80px;
    background: radial-gradient(circle at 70% 20%, rgba(1, 166, 255, 0.1), transparent 40%);
    border-bottom: 1px solid var(--border-color);
}

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

.division-card {
    padding: 25px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.division-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-5px);
    background: rgba(var(--brand-primary-rgb), 0.02);
}

.division-num {
    width: 40px;
    height: 40px;
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

.approach-section {
    padding: 80px 0;
    background: rgba(var(--brand-primary-rgb), 0.02);
}

.value-card {
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    height: 100%;
    transition: all 0.3s ease;
}

.value-card .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: 20px;
}

.value-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.back-btn-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(var(--bs-body-color-rgb), 0.05);
    color: var(--bs-body-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.back-btn-custom:hover {
    background: var(--brand-primary);
    color: white;
}

.achievement-pill {
    padding: 10px 20px;
    background: rgba(var(--brand-primary-rgb), 0.05);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.1);
    border-radius: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

/* --- Immersive Profile V3: Softer Tech Aesthetic (Landing Page Sync) --- */
:root {
    --v3-brutalist-border: 1px solid var(--border-color);
    --v3-accent: var(--brand-primary);
    --v3-bg-dark: #0a0a0a;
    --v3-card-bg: var(--card-bg);
    --v3-text-main: var(--bs-body-color);
    --v3-radius: 32px;
}

[data-bs-theme="dark"] {
    --v3-brutalist-border: 1px solid rgba(255, 255, 255, 0.1);
    --v3-card-bg: #151515;
}

.profile-v3-header {
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--v3-bg-dark);
    border-bottom: var(--v3-brutalist-border);
}

.profile-v3-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Removed saturated/grayscale filters for a natural look */
}

.profile-v3-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-v3-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-v3-title .text-blue {
    color: var(--brand-primary);
}

.hero-v3-title .text-black {
    color: #000;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
}

/* Asymmetric Section */
.v3-asymmetric-section {
    padding: 120px 0;
    overflow: hidden;
}

.v3-overlap-card {
    background: var(--v3-card-bg);
    border: var(--v3-brutalist-border);
    padding: 3rem;
    position: relative;
    z-index: 2;
    margin-right: -15%;
    border-radius: var(--v3-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.v3-feature-img-container {
    padding-left: 10%;
}

.v3-feature-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border: var(--v3-brutalist-border);
    border-radius: var(--v3-radius);
    transition: transform 0.5s ease;
}

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

/* Brutalist List */
.brutalist-list {
    list-style: none;
    padding: 0;
}

.brutalist-list-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

[data-bs-theme="dark"] .brutalist-list-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brutalist-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    /* Squircle style */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
    border: var(--v3-brutalist-border);
}

/* Partnerships V3 - Auto-Scrolling Marquee */
.partner-v3-container {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    width: 100%;
}

.partner-v3-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: partner-marquee 40s linear infinite;
}

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

@keyframes partner-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.v3-partner-card {
    flex: 0 0 350px;
    background: var(--card-bg);
    border: var(--v3-brutalist-border);
    border-radius: var(--v3-radius);
    padding: 35px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.v3-partner-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-primary);
    box-shadow: 0 20px 40px rgba(var(--brand-primary-rgb), 0.1);
}

.v3-partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.v3-partner-card:hover::before {
    opacity: 1;
}

.v3-partner-logo-box {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.v3-partner-logo {
    max-height: 45px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.v3-partner-card:hover .v3-partner-logo {
    transform: scale(1.05);
}

.v3-partner-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.v3-partner-info p {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    line-height: 1.6;
    margin: 0;
}

.partner-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 8px;
    display: block;
}

[data-bs-theme="dark"] .v3-partner-card {
    background: rgba(255, 255, 255, 0.02);
}

[data-bs-theme="dark"] .v3-partner-logo {
    filter: none;
}

/* Why Choose Us Cards V3 */
.v3-why-card {
    border: var(--v3-brutalist-border);
    padding: 2.5rem;
    height: 100%;
    background: var(--v3-card-bg);
    border-radius: var(--v3-radius);
    transition: all 0.3s ease;
}

.v3-why-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-primary);
    box-shadow: 0 20px 40px rgba(var(--brand-primary-rgb), 0.1);
}

.v3-why-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--v3-accent);
}

@media (max-width: 991.98px) {
    .v3-overlap-card {
        margin-right: 0;
        margin-bottom: 2rem;
        padding: 2rem;
    }

    .v3-feature-img-container {
        padding-left: 0;
    }
}

.image-story-wrap {
    position: relative;
    padding: 20px;
}

.story-image-main {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.story-image-main:hover {
    transform: scale(1.02);
}

.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 50%);
}

.glass-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.feature-story-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-5px);
    background: rgba(var(--brand-primary-rgb), 0.02);
}

.partner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-primary);
    flex-shrink: 0;
}

.line-height-tight {
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(90deg, var(--brand-primary), #00d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Scrollbar for Offcanvas */
.premium-offcanvas .offcanvas-body::-webkit-scrollbar {
    width: 8px;
}

.premium-offcanvas .offcanvas-body::-webkit-scrollbar-track {
    background: transparent;
}

.premium-offcanvas .offcanvas-body::-webkit-scrollbar-thumb {
    background: rgba(128, 128, 128, 0.2);
    border-radius: 10px;
}

/* --- Immersive Profile Redesign Styles --- */

/* Hide main navbar when premium offcanvas is open without collapsing layout */
body.offcanvas-open #mainNav,
#mainNav.navbar-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.premium-offcanvas .offcanvas-body {
    padding: 0;
    /* Let sections handle padding for bleed effects */
    background-color: var(--bs-body-bg);
}

.story-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.alternate-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.alternate-layout.reverse {
    flex-direction: row-reverse;
}

.story-text-content {
    flex: 1;
}

.story-visual-content {
    flex: 1;
    position: relative;
}

.story-image {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.story-image:hover {
    transform: scale(1.02) translateY(-10px);
}

.stat-card-glass {
    background: rgba(var(--brand-primary-rgb), 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.1);
    border-radius: 24px;
    padding: 25px;
    transition: all 0.3s ease;
}

.stat-card-glass:hover {
    background: rgba(var(--brand-primary-rgb), 0.1);
    transform: translateY(-5px);
}

.mission-vision-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mission-vision-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 25px 50px -12px rgba(var(--brand-primary-rgb), 0.15);
}

.partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.partner-logo-item {
    background: white;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    filter: grayscale(1);
    opacity: 0.7;
}

[data-bs-theme="dark"] .partner-logo-item {
    background: rgba(255, 255, 255, 0.05);
}

.partner-logo-item:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.profile-footer {
    padding: 100px 0 60px;
    background: linear-gradient(to bottom, transparent, rgba(var(--brand-primary-rgb), 0.03));
}

/* Profile Redesign v2 Styles */
.profile-hero {
    padding: 120px 0 80px;
    background: radial-gradient(circle at top right, rgba(var(--brand-primary-rgb), 0.1), transparent);
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--brand-primary-rgb), 0.3);
    box-shadow: var(--shadow-xl);
}

.product-card .icon-box {
    width: 64px;
    height: 64px;
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-item {
    padding: 24px;
    border-radius: 20px;
    background: rgba(var(--brand-primary-rgb), 0.02);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: var(--bg-card);
    border-color: var(--border-color);
}

.partner-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    filter: grayscale(1);
    opacity: 0.7;
}

.partner-card:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.category-tag {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-primary);
    background: rgba(var(--brand-primary-rgb), 0.1);
    padding: 4px 12px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 12px;
}


/* --- Responsiveness for Storytelling --- */
@media (max-width: 991px) {

    .alternate-layout,
    .alternate-layout.reverse {
        flex-direction: column !important;
        gap: 40px;
    }

    .story-text-content,
    .story-visual-content {
        width: 100%;
        text-align: center;
    }

    .story-section {
        padding: 60px 0;
    }
}


/* Responsiveness for hardware scroll */
@media (max-width: 768px) {
    .hardware-card {
        flex: 0 0 280px;
        padding: 20px;
    }

    .hardware-img-wrapper {
        height: 160px;
    }
}