/* =========================================================
   Cyber7 IT Support - style.css (v2: premium + mobile)
   Same colours, font and class names as before.
   ========================================================= */
:root {
    --bg-dark: #030a16;
    --surface: #0b1628;
    --card-bg: rgba(14, 24, 42, 0.72);
    --line: rgba(148, 178, 255, 0.12);
    --primary-cyan: #00f0ff;
    --primary-purple: #7000ff;
    --purple-soft: #8f5bff;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --wa: #25d366;
    --radius-lg: 22px;
    --radius: 16px;
    --nav-h: 76px;
    --wrap: min(1200px, calc(100% - 40px));
    --ease: cubic-bezier(.2, .7, .2, 1);
    --card-border: linear-gradient(150deg, rgba(0,240,255,.30), rgba(148,178,255,.06) 38%, rgba(148,178,255,.06) 62%, rgba(112,0,255,.32));
    --card-fill: linear-gradient(180deg, rgba(17,29,51,.82), rgba(9,18,34,.82));
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 12px);
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) {
    html, body { overflow-x: clip; }
}

img { max-width: 100%; }
[hidden] { display: none !important; }

/* Page background: soft glows + faint grid (only on Cyber7 pages) */
body.c7 { position: relative; min-height: 100vh; }
body.c7::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(60% 45% at 50% -8%, rgba(0, 140, 255, 0.20), transparent 70%),
        radial-gradient(38% 40% at 100% 35%, rgba(112, 0, 255, 0.10), transparent 70%),
        radial-gradient(38% 40% at 0% 75%, rgba(0, 240, 255, 0.06), transparent 70%),
        var(--bg-dark);
}
body.c7::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 178, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 178, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 80%);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100000;
    background: var(--primary-cyan);
    color: #00131a;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
    outline: 2px solid var(--primary-cyan);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------------- Navbar ---------------- */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(5, 11, 22, 0.55);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: padding .3s var(--ease), background .3s, box-shadow .3s, border-color .3s;
}
.glass-nav.scrolled {
    padding: 9px 0;
    background: rgba(5, 11, 22, 0.88);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav-container {
    width: var(--wrap);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    gap: 12px;
    min-width: 0;
}
.brand-logo {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.55));
}
.brand-name {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: .5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: .98rem;
    padding: 8px 14px;
    border-radius: 999px;
    transition: color .2s, background .2s, box-shadow .2s;
}
.nav-links a:hover { color: var(--primary-cyan); }

.btn-nav {
    border: 1px solid var(--primary-cyan);
    padding: 8px 18px !important;
    margin-left: 6px;
    color: var(--primary-cyan) !important;
}
.btn-nav.btn-nav-ghost { border-color: rgba(0, 240, 255, 0.45); }
.btn-nav.btn-nav-solid {
    background: var(--primary-cyan);
    color: #00131a !important;
    font-weight: 600;
    box-shadow: 0 0 16px -4px rgba(0, 240, 255, 0.6);
}
.btn-nav:hover {
    background: var(--primary-cyan);
    color: #00131a !important;
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.55);
}

/* Hamburger button */
.hamburger-wrap { position: relative; margin-left: 10px; }
.hamburger-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 42px;
    padding: 0;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.75);
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
}
.hamburger-menu:hover {
    background: rgba(0, 240, 255, 0.12);
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.35);
}
.hamburger-menu span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--primary-cyan);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s;
}
body.menu-open .hamburger-menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger-menu span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger-menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Side drawer (opens from the right) */
.hamburger-dropdown {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100%;
    height: 100dvh;
    background: linear-gradient(180deg, #0b1a2e 0%, #071222 100%);
    border-left: 1px solid rgba(0, 240, 255, 0.18);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
    z-index: 99999;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .38s var(--ease), visibility 0s linear .38s;
}
.hamburger-dropdown.open {
    transform: none;
    visibility: visible;
    transition: transform .38s var(--ease);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 14px 20px;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: #0b1a2e;
    z-index: 1;
}
.drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}
.drawer-brand img { height: 32px; width: auto; filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.5)); }
.drawer-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--primary-cyan);
    font-size: 1.1rem;
    cursor: pointer;
}
.drawer-close:hover { background: rgba(0, 240, 255, 0.08); }

.mobile-nav-links {
    display: none;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}
.drawer-links { padding: 8px 0; }

.hamburger-dropdown a {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 2px 12px;
    padding: 12px 14px;
    color: #e8eef7;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15.5px;
    font-weight: 500;
    transition: background .2s, color .2s;
}
.hamburger-dropdown a i {
    width: 20px;
    text-align: center;
    color: var(--primary-cyan);
}
.hamburger-dropdown a:hover {
    background: rgba(0, 240, 255, 0.08);
    color: var(--primary-cyan);
}
.drawer-cta { margin-top: auto; padding: 16px 16px 0; }
.hamburger-dropdown .drawer-cta a {
    margin: 0;
    justify-content: center;
    background: var(--wa);
    color: #03170a;
    font-weight: 700;
}
.hamburger-dropdown .drawer-cta a i { color: #03170a; }
.hamburger-dropdown .drawer-cta a:hover { background: #2ee374; color: #03170a; }

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 14, 0.62);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility 0s linear .3s;
}
.menu-overlay.open {
    opacity: 1;
    visibility: visible;
    transition: opacity .3s;
}
body.menu-open { overflow: hidden; }

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 40px) 20px 90px;
    overflow: hidden;
    isolation: isolate;
}
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse 46% 40% at 50% 52%, rgba(3, 10, 22, 0.78), transparent 75%);
}
.hero-bg-glow {
    position: absolute;
    width: min(640px, 130vw);
    aspect-ratio: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -55%);
    background: radial-gradient(circle, rgba(0, 240, 255, 0.16) 0%, rgba(112, 0, 255, 0.08) 42%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}
.hero-content { position: relative; max-width: 880px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 240, 255, 0.08);
    color: var(--primary-cyan);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 26px;
    border: 1px solid rgba(0, 240, 255, 0.25);
    box-shadow: inset 0 0 14px rgba(0, 240, 255, 0.08);
}

.hero h1 {
    font-size: clamp(2.3rem, 6.2vw, 4.4rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin-bottom: 22px;
    text-wrap: balance;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-cyan), var(--purple-soft) 65%, var(--primary-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero .hero-slogan {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--primary-cyan);
    font-weight: 700;
    max-width: none;
    margin: 0 auto 12px;
}
.hero p {
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 34px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: .92rem;
}
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts i { color: var(--primary-cyan); }

/* ---------------- Buttons ---------------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-cyan);
    color: #00131a;
    padding: 15px 32px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
    box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.3), 0 10px 30px -8px rgba(0, 240, 255, 0.55);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.5), 0 14px 40px -8px rgba(0, 240, 255, 0.85);
}
.btn-primary.btn-sm { padding: 11px 26px; font-size: .98rem; }
.btn-primary.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}
.btn-primary.btn-ghost:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    box-shadow: 0 0 20px -6px rgba(0, 240, 255, 0.5);
}
.btn-primary.btn-wa {
    background: var(--wa);
    color: #03170a;
    box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.3), 0 10px 30px -8px rgba(37, 211, 102, 0.6);
}
.btn-primary.btn-wa:hover { box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.5), 0 14px 40px -8px rgba(37, 211, 102, 0.85); }

/* ---------------- Sections ---------------- */
.services-section, .video-section, .tech-section, .team-section, .websites-section, .section-wrap {
    width: var(--wrap);
    margin-left: auto;
    margin-right: auto;
    padding: 96px 0;
}
.page-top { padding-top: calc(var(--nav-h) + 64px); min-height: 80vh; }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section-header h2 {
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
}
.section-header p {
    color: var(--text-muted);
    font-size: clamp(1rem, 1.6vw, 1.1rem);
}
.section-more { text-align: center; margin-top: 44px; }
.scroll-dots { display: none; }

/* ---------------- Glass cards (services, team, profile) ---------------- */
.glass-card {
    position: relative;
    background: var(--card-fill) padding-box, var(--card-border) border-box;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 40px -24px rgba(0, 0, 0, 0.8);
    transition: transform .35s var(--ease), box-shadow .35s;
}

.card-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 1.5rem;
    color: var(--primary-cyan);
    background: linear-gradient(145deg, rgba(0, 240, 255, 0.16), rgba(112, 0, 255, 0.12));
    border: 1px solid rgba(0, 240, 255, 0.25);
    box-shadow: 0 0 24px -6px rgba(0, 240, 255, 0.45);
    margin-bottom: 22px;
}

.glass-card h3 {
    font-size: 1.22rem;
    line-height: 1.3;
    margin-bottom: 14px;
    color: #fff;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr));
    gap: 22px;
}
.service-list-card { display: flex; flex-direction: column; }
.service-details { list-style: none; margin-top: 4px; padding-left: 0; }
.service-details li {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: 11px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}
.service-details li:last-child { margin-bottom: 0; }
.service-details li i {
    color: var(--primary-cyan);
    font-size: .78rem;
    margin-top: 5px;
}

/* ---------------- Websites showcase ---------------- */
.site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 372px));
    justify-content: center;
    gap: 26px;
}
.site-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    background: var(--card-fill) padding-box, var(--card-border) border-box;
    border: 1px solid transparent;
    overflow: hidden;
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.8);
    transition: transform .35s var(--ease), box-shadow .35s;
}
.browser {
    margin: 14px 14px 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(148, 178, 255, 0.16);
    background: #060d19;
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: #0d192c;
    border-bottom: 1px solid rgba(148, 178, 255, 0.10);
}
.dots { display: flex; gap: 6px; flex-shrink: 0; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.browser-url {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: .78rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    padding: 4px 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.browser-url i { color: var(--wa); font-size: .68rem; }
.browser-view {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 20%, rgba(0, 240, 255, 0.16), transparent 60%),
        linear-gradient(135deg, #0b1a30, #130a2e);
}
.browser-view img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: object-position 6s linear;
}
.shot-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: rgba(226, 232, 240, 0.8);
}
.site-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.site-cat {
    align-self: flex-start;
    font-size: .78rem;
    font-weight: 600;
    color: var(--primary-cyan);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.22);
    padding: 3px 12px;
    border-radius: 999px;
}
.site-body h3 { font-size: 1.25rem; line-height: 1.3; color: #fff; }
.site-body p { color: var(--text-muted); font-size: .95rem; }
.tech-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tech-tags li {
    font-size: .75rem;
    color: #c7d2fe;
    background: rgba(112, 0, 255, 0.14);
    border: 1px solid rgba(143, 91, 255, 0.3);
    padding: 3px 10px;
    border-radius: 6px;
}
.site-link {
    margin-top: auto;
    padding-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 600;
}
.site-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.site-card.site-cta {
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    padding: 34px 30px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(160deg, rgba(0, 240, 255, 0.07), rgba(112, 0, 255, 0.10));
    border: 1px dashed rgba(0, 240, 255, 0.4);
}
.site-cta .card-icon { margin-bottom: 4px; }
.site-cta h3 { font-size: 1.35rem; color: #fff; line-height: 1.25; }
.site-cta p { color: var(--text-muted); }
.site-cta .btn-primary { margin-top: 8px; }

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: -24px 0 40px;
}
.filter-chip {
    font: inherit;
    font-size: .92rem;
    font-weight: 500;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.filter-chip:hover { border-color: rgba(0, 240, 255, 0.5); }
.filter-chip[aria-pressed="true"] {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    color: #00131a;
}

/* ---------------- Videos ---------------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 28px;
    width: 100%;
}
.video-container {
    width: 100%;
    background: #000;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 240, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.05), 0 20px 50px -20px rgba(0, 240, 255, 0.4);
    overflow: hidden;
}
.video-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

/* ---------------- Portfolio / clients ---------------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 22px;
}
.portfolio-card {
    background: var(--card-fill) padding-box, var(--card-border) border-box;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 12px 12px 16px;
    text-align: center;
    box-shadow: 0 16px 36px -22px rgba(0, 0, 0, 0.9);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.portfolio-card img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    margin-bottom: 14px;
    background: #060c17;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.portfolio-card h4 {
    color: var(--text-main);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
    padding: 0 6px;
}

/* ---------------- Team ---------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
    gap: 22px;
}
.team-card {
    text-align: center;
    padding: 36px 18px 28px;
    overflow: hidden;
}
.team-card > a { display: block; text-decoration: none; color: inherit; }
.team-image-wrapper {
    width: 118px;
    height: 118px;
    margin: 0 auto 18px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-purple));
    box-shadow: 0 0 30px -6px rgba(0, 240, 255, 0.5);
}
.team-image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
}
.team-badge {
    position: absolute;
    top: 16px;
    right: -32px;
    background: var(--primary-purple);
    color: #fff;
    font-size: .72rem;
    padding: 5px 34px;
    transform: rotate(45deg);
    font-weight: 600;
    letter-spacing: .5px;
    box-shadow: 0 2px 10px rgba(112, 0, 255, 0.45);
}
.team-card h3 {
    font-size: 1.12rem;
    margin-bottom: 6px;
    color: var(--text-main);
}
.team-card .designation {
    color: var(--primary-cyan);
    font-weight: 500;
    font-size: .92rem;
    line-height: 1.4;
}

/* ---------------- Profile page ---------------- */
.profile-card {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 52px 46px;
}
.team-image-wrapper.profile-photo { width: 200px; height: 200px; margin-bottom: 28px; }
.profile-card h1 {
    font-size: clamp(1.9rem, 4.5vw, 2.5rem);
    line-height: 1.15;
    color: #fff;
    margin-bottom: 8px;
}
.profile-role {
    color: var(--primary-cyan);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.profile-divider { border: 0; height: 1px; background: var(--line); margin: 30px 0; }
.profile-bio { text-align: left; }
.profile-bio h2 { font-size: 1.5rem; margin-bottom: 14px; }
.profile-bio p { color: var(--text-muted); line-height: 1.85; font-size: 1.05rem; }
.profile-bio p b { color: var(--text-main); }
.profile-socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.profile-socials a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    font-size: 1.15rem;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.profile-socials a:hover { background: var(--primary-cyan); border-color: var(--primary-cyan); color: #00131a; }
.profile-back { margin-top: 40px; }

/* ---------------- Call-to-action band ---------------- */
.cta-band {
    width: var(--wrap);
    margin: 10px auto 96px;
    padding: 54px 52px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(55% 140% at 100% 0%, rgba(112, 0, 255, 0.28), transparent 65%) padding-box,
        radial-gradient(45% 120% at 0% 100%, rgba(0, 240, 255, 0.16), transparent 65%) padding-box,
        linear-gradient(#071327, #071327) padding-box,
        linear-gradient(120deg, rgba(0, 240, 255, 0.65), rgba(112, 0, 255, 0.65)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 30px 80px -40px rgba(0, 240, 255, 0.35);
}
.cta-band h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    max-width: 580px;
}
.cta-band p { color: var(--text-muted); margin-top: 10px; max-width: 540px; }
.cta-band p a { color: var(--primary-cyan); text-decoration: none; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- Footer ---------------- */
.main-footer {
    background: rgba(6, 11, 20, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
    padding: 90px 0 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.footer-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
    z-index: -1;
}
.footer-container {
    width: var(--wrap);
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 60px;
}
.footer-col h4 {
    color: var(--primary-cyan);
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.footer-logo { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.footer-logo img { height: 50px; width: auto; filter: drop-shadow(0 0 5px var(--primary-cyan)); }
.footer-logo span { font-size: 1.8rem; font-weight: 700; color: #fff; }
.footer-slogan { color: var(--text-muted); font-style: italic; margin-bottom: 25px; max-width: 320px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background .3s, color .3s, transform .3s, box-shadow .3s;
}
.footer-socials a:hover {
    background: var(--primary-cyan);
    color: #000;
    transform: translateY(-4px);
    box-shadow: 0 0 15px var(--primary-cyan);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color .3s, padding .3s;
}
.footer-links a i { font-size: .7rem; color: var(--purple-soft); }
.footer-links a:hover { color: var(--primary-cyan); padding-left: 6px; }
.contact-info p {
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.contact-info a { color: inherit; text-decoration: none; }
.contact-info a:hover { color: var(--primary-cyan); }
.contact-info i { color: var(--primary-cyan); font-size: 1.1rem; margin-top: 4px; width: 18px; text-align: center; }

.footer-copyright {
    text-align: center;
    padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: .9rem;
}
.footer-copyright span { color: var(--primary-cyan); font-weight: 600; }
.footer-copyright .privacy-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 10px;
    border-bottom: 1px solid transparent;
    transition: color .3s, border-color .3s;
}
.footer-copyright .privacy-link:hover { color: var(--primary-cyan); border-bottom-color: var(--primary-cyan); }
.fb-login-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    font-size: .85rem;
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background-color: var(--wa);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5), 0 10px 24px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    transition: transform .3s, box-shadow .3s;
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 0 30px rgba(37, 211, 102, 0.8); color: #fff; }

/* ---------------- Hover effects (mouse only) ---------------- */
@media (hover: hover) {
    .glass-card:hover {
        transform: translateY(-6px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 26px 50px -22px rgba(0, 240, 255, 0.35);
    }
    .site-card:hover, .portfolio-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 26px 50px -22px rgba(0, 240, 255, 0.35);
    }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .site-card:hover .browser-view img { object-position: bottom center; }
}

/* ---------------- Hero entrance (one time) ---------------- */
@media (prefers-reduced-motion: no-preference) {
    .hero-content > * { animation: c7rise .8s var(--ease) both; }
    .hero-content > *:nth-child(2) { animation-delay: .08s; }
    .hero-content > *:nth-child(3) { animation-delay: .16s; }
    .hero-content > *:nth-child(4) { animation-delay: .24s; }
    .hero-content > *:nth-child(5) { animation-delay: .32s; }
    .hero-content > *:nth-child(6) { animation-delay: .40s; }
}
@keyframes c7rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
    .cta-band { padding: 44px 36px; }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .mobile-nav-links { display: block; }
}

@media (max-width: 768px) {
    :root { --nav-h: 64px; --wrap: calc(100% - 32px); }
    .glass-nav { padding: 10px 0; }
    .glass-nav.scrolled { padding: 8px 0; }
    .brand { gap: 10px; }
    .brand-logo { height: 36px; }
    .brand-name { font-size: 1.25rem; }

    .hero {
        min-height: auto;
        padding: calc(var(--nav-h) + 52px) 16px 60px;
    }
    .badge { font-size: .82rem; padding: 7px 14px; margin-bottom: 22px; }
    .hero h1 { font-size: clamp(2.05rem, 9vw, 2.6rem); margin-bottom: 18px; }
    .hero p { margin-bottom: 28px; }
    .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
    .hero-actions .btn-primary { width: 100%; max-width: 340px; padding: 14px 24px; }
    .hero-facts { flex-direction: column; align-items: center; gap: 8px; margin-top: 30px; font-size: .88rem; }

    .services-section, .video-section, .tech-section, .team-section, .websites-section, .section-wrap { padding: 54px 0; }
    .site-grid { grid-template-columns: 1fr; }
    .page-top { padding-top: calc(var(--nav-h) + 40px); }
    .section-header { margin-bottom: 32px; }
    .section-more { margin-top: 28px; }

    .glass-card { padding: 26px 22px; border-radius: 18px; }
    .card-icon { width: 50px; height: 50px; font-size: 1.3rem; border-radius: 14px; margin-bottom: 18px; }

    .site-grid { gap: 18px; }
    .site-body { padding: 18px 18px 22px; }
    .filter-bar { margin: -8px 0 26px; }

    .video-container iframe { height: 480px; }

    .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .team-card { padding: 22px 10px 18px; }
    .team-image-wrapper { width: 86px; height: 86px; padding: 3px; margin-bottom: 12px; }
    .team-badge {
        position: static;
        display: inline-block;
        transform: none;
        font-size: .68rem;
        padding: 3px 10px;
        border-radius: 999px;
        margin-bottom: 8px;
        background: rgba(112, 0, 255, 0.3);
        border: 1px solid rgba(143, 91, 255, 0.5);
        box-shadow: none;
    }
    .team-card h3 { font-size: .98rem; }
    .team-card .designation { font-size: .8rem; }

    .profile-card { padding: 34px 20px; }
    .team-image-wrapper.profile-photo { width: 150px; height: 150px; }

    .cta-band { padding: 34px 22px; border-radius: 22px; margin-bottom: 64px; }
    .cta-actions { width: 100%; }
    .cta-actions .btn-primary { flex: 1 1 100%; }

    .main-footer { padding-top: 64px; }
    .footer-container { grid-template-columns: 1fr; text-align: center; gap: 40px; padding-bottom: 44px; }
    .footer-logo, .footer-socials, .contact-info p, .footer-links a { justify-content: center; }
    .footer-slogan { margin-left: auto; margin-right: auto; }
    .footer-col h4 { margin-bottom: 18px; }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 30px;
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom));
    }
}

/* Swipe rows on phones: services, videos and client work */
@media (max-width: 640px) {
    .m-scroller {
        display: flex;
        width: auto;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 14px;
        margin-left: -16px;
        margin-right: -16px;
        padding: 4px 16px 16px;
        scroll-padding-left: 16px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }
    .m-scroller::-webkit-scrollbar { display: none; }
    .m-scroller > * {
        flex: 0 0 86%;
        min-width: 0;
        scroll-snap-align: start;
    }
    .scroll-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 4px;
    }
    .scroll-dots span {
        width: 7px;
        height: 7px;
        border-radius: 4px;
        background: rgba(148, 178, 255, 0.3);
        transition: width .25s var(--ease), background .25s;
    }
    .scroll-dots span.active { width: 22px; background: var(--primary-cyan); }
}
