/* Tech Aventure - IT Solutions Theme */
:root {
    --bg-dark: #060a14;
    --bg-card: #0c1425;
    --bg-card-hover: #121e38;
    --primary: #1857ff;
    --primary-dark: #0e42d6;
    --accent: #4f8bff;
    --text: #e2e8f0;
    --text-muted: #b8c4d4;
    --border: rgba(24, 87, 255, 0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

/* Image Loading Optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Optimize lazy-loaded images */
img[loading="lazy"] {
    content-visibility: auto;
    image-rendering: -webkit-optimize-contrast;
}

/* Critical images - load immediately */
img[loading="eager"],
img[fetchpriority="high"] {
    content-visibility: visible;
}

.container {
    width: 90%;
    max-width: min(90vw, 100%);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.nowrap {
    white-space: nowrap;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s, backdrop-filter 0.3s;
}

.main-header.scrolled {
    background: rgba(6, 10, 20, 0.95);
    backdrop-filter: blur(12px);
}

.main-header .container {
    width: 90%;
    max-width: 90vw;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}
.main-header .logo .logo-image,
.main-header .logo img {
    max-width: 77px;
    height: 40px;
    width: auto;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.main-nav li {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.main-nav a {
    color: rgba(226, 232, 240, 0.95);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--primary);
    background: rgba(24, 87, 255, 0.08);
}

.main-nav a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.main-nav a.active {
    color: var(--primary);
    background: rgba(24, 87, 255, 0.12);
    font-weight: 600;
}

/* Dropdown Menu Styles */
.has-dropdown {
    position: relative !important;
}

.dropdown-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding-right: 20px !important;
}

.caret {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
    opacity: 0.8;
    margin-left: 2px;
}

.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(10px) !important;
    width: min(300px, 90vw) !important;
    margin-top: 6px !important;
    background: rgba(6, 10, 20, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(24, 87, 255, 0.06) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s cubic-bezier(0.23, 1, 0.32, 1) !important;
    z-index: 9999 !important;
    display: block !important;
}

/* Add a pseudo-element to bridge the gap for hover */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.dd-open .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.has-dropdown:hover .caret,
.has-dropdown.dd-open .caret {
    transform: rotate(180deg);
}

.dropdown-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    background: transparent !important;
    text-align: left !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

.dropdown-item:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.dropdown-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover .dropdown-icon {
    color: var(--primary);
}

.dropdown-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
}

.dropdown-item:hover .dropdown-label {
    color: var(--primary);
}

.nav-item-two-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    text-align: center;
}

.nav-line-1,
.nav-line-2 {
    display: block;
    font-size: 0.95rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: currentColor;
    color: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =============================================
   OFF-CANVAS MOBILE MENU
   ============================================= */

.off-canvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 9998;
}

body.off-canvas-open .off-canvas-overlay {
    opacity: 1;
    pointer-events: all;
}

.off-canvas-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(400px, 92vw);
    height: 100dvh;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.off-canvas-menu.active {
    transform: translateX(0);
    pointer-events: all;
}

/* Inner scroll container */
.oc-inner {
    width: 100%; height: 100%;
    background: #060a14;
    border-left: 1px solid rgba(24,87,255,0.15);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0 0 32px;
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}

/* Header row */
.oc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.oc-logo img {
    height: 34px;
    width: auto;
    object-fit: contain;
    display: block;
}

.oc-close {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease, transform 0.3s ease;
    flex-shrink: 0;
}
.oc-close:hover { background: rgba(255,255,255,0.12); transform: rotate(90deg); }

/* Navigation */
.oc-nav {
    padding: 16px 16px 0;
    flex: 1;
}

.oc-item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.oc-item-row {
    display: flex;
    align-items: center;
}

.oc-link {
    display: block;
    flex: 1;
    padding: 14px 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}
.oc-link:hover { color: var(--accent); }
.oc-link.active {
    color: var(--text);
    font-weight: 600;
    background: rgba(24, 87, 255, 0.15);
    border-radius: 8px;
    margin: 0 8px;
    padding-left: 16px;
}

.oc-sub-toggle {
    width: 36px; height: 36px;
    background: none; border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.3s ease;
    flex-shrink: 0;
}
.oc-sub-toggle:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.oc-has-sub.open .oc-sub-toggle { transform: rotate(180deg); color: var(--primary); }

/* Submenu */
.oc-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 8px 16px;
    border-left: 2px solid rgba(24,87,255,0.25);
    margin-left: 8px;
    display: none;
}
.oc-has-sub.open .oc-submenu { display: block; }

.oc-sub-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    border-radius: 6px;
}
.oc-sub-link:hover { color: var(--primary); background: rgba(24,87,255,0.06); }
.oc-sub-link i { font-size: 0.75rem; color: var(--primary); width: 16px; text-align: center; flex-shrink: 0; }

/* Divider */
.oc-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 20px 24px;
    flex-shrink: 0;
}

/* Contact info */
.oc-contact {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.oc-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.5;
    transition: color 0.2s ease;
}
a.oc-contact-row:hover { color: var(--primary); }

.oc-contact-icon {
    width: 32px; height: 32px;
    background: rgba(24,87,255,0.1);
    border: 1px solid rgba(24,87,255,0.18);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 0.78rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* CTA button */
.oc-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 24px;
    padding: 14px 24px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 20px rgba(24,87,255,0.35);
    flex-shrink: 0;
}
.oc-cta-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 28px rgba(24,87,255,0.5);
    transform: translateY(-1px);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(24, 87, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(24, 87, 255, 0.5);
}

/* Header actions (CTA + hamburger) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-header {
    background: var(--primary);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 16px rgba(24, 87, 255, 0.35);
}

.btn-header:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(24, 87, 255, 0.5);
}

.btn-header:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Main content - offset for fixed header */
.main-content {
    padding-top: 72px;
    min-height: calc(100vh - 72px);
    max-width: 100%;
    overflow-x: hidden;
}

/* Section common */
.section {
    padding: 100px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(24, 87, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.section>.container {
    position: relative;
    z-index: 1;
}

.section-about-strip {
    padding-top: 0;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
    position: relative;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #fff;
    position: relative;
    display: inline-block;
    text-shadow:
        1px 1px 0px rgba(0, 0, 0, 0.8),
        2px 2px 0px rgba(0, 0, 0, 0.7),
        3px 3px 0px rgba(0, 0, 0, 0.6),
        4px 4px 0px rgba(0, 0, 0, 0.5),
        5px 5px 0px rgba(0, 0, 0, 0.4),
        6px 6px 10px rgba(0, 0, 0, 0.3),
        7px 7px 15px rgba(0, 0, 0, 0.2);
    transform: perspective(400px) rotateX(3deg);
    transform-style: preserve-3d;
}

.section-head .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Hero - base */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* =============================================
   HERO — SPLIT LAYOUT (home page)
   ============================================= */

/* ── Keyframe animations ── */
@keyframes hs-fadeUp {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes hs-fadeRight {
    from { opacity: 0; transform: translateX(-32px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes hs-scaleIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes hs-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes hs-float {
    0%, 100% { transform: translateY(-50%) translateY(0px); }
    50%       { transform: translateY(-50%) translateY(-18px); }
}
@keyframes hs-float-mobile {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}
@keyframes hs-pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(24,87,255,0.5); }
    50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(24,87,255,0); }
}
@keyframes hs-particle {
    0%   { transform: translate(0, 0)   scale(1);   opacity: 0; }
    20%  { opacity: 0.7; }
    80%  { opacity: 0.4; }
    100% { transform: translate(var(--px,20px), var(--py,-60px)) scale(0.6); opacity: 0; }
}
@keyframes hs-shimmer-accent {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
@keyframes fc-entrance {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes float-card-1 {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50%       { transform: translateY(-10px) rotate(1deg); }
}
@keyframes float-card-2 {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50%       { transform: translateY(-8px) rotate(-1deg); }
}

/* Base */
.hero-split {
    background: #060a14;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Ambient glows (animated) */
.hs-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.hs-glow-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(24,87,255,0.18) 0%, transparent 70%);
    top: -150px; left: -180px;
    animation: hs-float-mobile 12s ease-in-out infinite;
}
.hs-glow-2 {
    width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(79,139,255,0.12) 0%, transparent 70%);
    bottom: 80px; right: -80px;
    animation: hs-float-mobile 10s ease-in-out infinite reverse;
}

/* Floating particles */
.hs-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.hs-p {
    position: absolute;
    width: 4px; height: 4px;
    background: rgba(24,87,255,0.6);
    border-radius: 50%;
    animation: hs-particle var(--dur,9s) var(--delay,0s) ease-in-out infinite;
}
.hs-p:nth-child(1) { left:8%;  top:70%; --dur:8s;  --delay:0s;   --px:30px;  --py:-80px; width:3px;height:3px; }
.hs-p:nth-child(2) { left:22%; top:40%; --dur:11s; --delay:1.5s; --px:-20px; --py:-100px; }
.hs-p:nth-child(3) { left:38%; top:80%; --dur:7s;  --delay:3s;   --px:10px;  --py:-60px;  width:5px;height:5px; background:rgba(79,139,255,0.5); }
.hs-p:nth-child(4) { left:55%; top:25%; --dur:13s; --delay:0.5s; --px:40px;  --py:-120px; width:2px;height:2px; }
.hs-p:nth-child(5) { left:70%; top:60%; --dur:9s;  --delay:2s;   --px:-30px; --py:-90px;  width:4px;height:4px; background:rgba(24,87,255,0.4); }
.hs-p:nth-child(6) { left:85%; top:35%; --dur:10s; --delay:4s;   --px:15px;  --py:-70px;  width:3px;height:3px; }
.hs-p:nth-child(7) { left:15%; top:85%; --dur:12s; --delay:2.5s; --px:-25px; --py:-110px; width:4px;height:4px; background:rgba(100,160,255,0.4); }
.hs-p:nth-child(8) { left:48%; top:55%; --dur:8s;  --delay:5s;   --px:20px;  --py:-75px;  width:2px;height:2px; }
.hs-p:nth-child(9) { left:92%; top:75%; --dur:14s; --delay:1s;   --px:-35px; --py:-95px;  width:5px;height:5px; background:rgba(79,139,255,0.35); }

/* Main two-column row */
.hs-inner {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding-top: 80px;
    padding-bottom: 40px;
    gap: 0;
    position: relative;
    z-index: 2;
}

/* LEFT: text — staggered entrance */
.hs-text {
    padding: 40px 48px 40px 0;
    max-width: 580px;
}

.hs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(24,87,255,0.1);
    border: 1px solid rgba(24,87,255,0.28);
    color: rgba(200,220,255,0.9);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 40px;
    margin-bottom: 28px;
    text-transform: uppercase;
    animation: hs-fadeUp 0.8s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}

.hs-badge-dot {
    display: inline-block;
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: hs-pulse-dot 2s ease-in-out infinite;
}

.hs-title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.18;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: hs-fadeUp 0.85s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}

.hs-title-accent {
    background: linear-gradient(120deg, var(--primary) 0%, #7eb3ff 50%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hs-shimmer-accent 4s linear 1.5s infinite;
}

.hs-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    color: rgba(148,163,184,0.9);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
    animation: hs-fadeUp 0.85s cubic-bezier(0.22,1,0.36,1) 0.6s both;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.hs-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: hs-fadeUp 0.85s cubic-bezier(0.22,1,0.36,1) 0.75s both;
}

.hs-btn-primary {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 10px;
}
.hs-btn-outline {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 10px;
}

/* Trust bar */
.hs-trust {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    animation: hs-fadeUp 0.85s cubic-bezier(0.22,1,0.36,1) 0.95s both;
}
.hs-trust-avatars {
    display: flex;
}
.hs-trust-avatars img {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid #060a14;
    object-fit: cover;
    margin-left: -10px;
}
.hs-trust-avatars img:first-child { margin-left: 0; }
.hs-trust-stars { color: #facc15; font-size: 0.78rem; margin-bottom: 2px; }
.hs-trust-text span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* RIGHT: image (opacity-only animation to avoid CLS from scale/translate) */
.hs-image {
    position: relative;
    height: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    animation: hs-fadeIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}

.hs-img {
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 720px;
    height: auto;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    animation: hs-float 8s ease-in-out 1.5s infinite;
}

/* Gradient fade on left edge of image */
.hs-image-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #060a14 0%, rgba(6,10,20,0.45) 30%, transparent 65%);
    z-index: 2;
    pointer-events: none;
}

/* Floating stat cards */
.hs-float-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(12,20,37,0.92);
    border: 1px solid rgba(24,87,255,0.25);
    border-radius: 14px;
    padding: 12px 18px;
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    pointer-events: none;
    white-space: nowrap;
}
.hs-float-card--1 {
    left: 0;
    bottom: 18%;
    animation: float-card-1 6s ease-in-out 2s infinite;
}
.hs-float-card--2 {
    right: 20px;
    top: 24%;
    animation: float-card-2 7s ease-in-out 2.5s infinite;
}
.hs-fc-icon {
    width: 36px; height: 36px;
    background: rgba(24,87,255,0.15);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}
.hs-float-card--2 .hs-fc-icon { color: #facc15; background: rgba(250,204,21,0.12); }
.hs-fc-text strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.hs-fc-text span {
    font-size: 0.74rem;
    color: var(--text-muted);
}

/* Feature cards strip */
.hs-features {
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(24,87,255,0.1);
    background: rgba(6,10,20,0.95);
    backdrop-filter: blur(14px);
}

.hs-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.hs-feature-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 28px;
    border-right: 1px solid rgba(255,255,255,0.05);
    transition: background 0.25s ease;
    animation: fc-entrance 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
.hs-feature-card:nth-child(1) { animation-delay: 1.1s; }
.hs-feature-card:nth-child(2) { animation-delay: 1.25s; }
.hs-feature-card:nth-child(3) { animation-delay: 1.4s; }
.hs-feature-card:last-child { border-right: none; }
.hs-feature-card:hover { background: rgba(24,87,255,0.05); }

/* Image thumbnail for feature strip */
.hs-feature-thumb {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border: 1px solid rgba(24,87,255,0.15);
}
.hs-feature-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transition: transform 0.4s ease, opacity 0.3s ease;
    display: block;
}
.hs-feature-card:hover .hs-feature-thumb img {
    transform: scale(1.08);
    opacity: 0.65;
}
.hs-feature-thumb-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(8,20,60,0.55);
    color: #a0c4ff;
    font-size: 1.3rem;
    transition: background 0.25s;
}
.hs-feature-card:hover .hs-feature-thumb-overlay {
    background: rgba(24,87,255,0.4);
    color: #fff;
}

.hs-feature-body h3,
.hs-feature-body h2.hs-feature-title {
    font-size: 0.93rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 4px;
    line-height: 1.3;
}
.hs-feature-body p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Responsive – tablet & mobile: single column, image first on small screens */
@media (max-width: 1024px) {
    .hero-split {
        overflow-x: hidden;
        overflow-y: visible;
        min-height: auto;
    }
    .hs-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 88px;
        padding-bottom: 40px;
        text-align: center;
        gap: 0;
    }
    /* Mobile: image first, then text – allow text to wrap (min-width: 0) */
    .hs-image {
        order: -1;
        min-height: 280px;
        justify-content: center;
        padding: 0 16px;
        min-width: 0;
    }
    .hs-text {
        order: 1;
        padding: 28px 20px 24px;
        max-width: 100%;
        min-width: 0;
    }
    .hs-subtitle {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 28px;
        max-width: 100%;
    }
    .hs-actions {
        justify-content: center;
        gap: 12px;
    }
    .hs-trust {
        justify-content: center;
        margin-top: 24px;
    }
    .hs-img {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 480px;
        animation: hs-float-mobile 8s ease-in-out 1.5s infinite;
    }
    .hs-image-fade {
        background: linear-gradient(to bottom, transparent 45%, #060a14 95%);
    }
    .hs-float-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-split .hs-inner {
        padding-top: 72px;
        padding-bottom: 48px;
    }
    .hero-split .container.hs-inner,
    .hero-split .hs-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
    .hero-split .hs-image {
        min-height: 220px;
        padding: 0 0;
    }
    .hero-split .hs-img {
        max-width: 100%;
    }
    .hero-split .hs-text {
        padding: 24px 0 20px;
        text-align: center;
    }
    .hero-split .hs-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
        margin-bottom: 18px;
        letter-spacing: 0.03em;
    }
    .hero-split .hs-title {
        font-size: clamp(1.65rem, 6.5vw, 2.35rem);
        margin-bottom: 14px;
        line-height: 1.28;
        letter-spacing: -0.02em;
    }
    .hero-split .hs-subtitle {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 22px;
        max-width: 100%;
        padding: 0 4px;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }
    .hero-split .hs-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .hero-split .hs-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    .hero-split .hs-trust {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 22px;
        gap: 10px;
    }
    .hero-split .hs-trust-avatars img {
        width: 28px;
        height: 28px;
    }
    .hero-split .hs-trust-text span {
        font-size: 0.8rem;
    }
    .hs-features-grid { grid-template-columns: 1fr; }
    .hs-feature-card {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding: 20px 24px;
    }
    .hs-feature-card:last-child { border-bottom: none; }
    .hs-title { font-size: clamp(2rem, 8vw, 2.8rem); }
}

/* Mobile hero: image as background, content overlaid – readability first */
@media (max-width: 768px) {
    .hero-split {
        overflow: hidden;
    }
    .hero-split .hs-inner {
        display: block;
        position: relative;
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 0;
        padding-bottom: 0;
    }
    .hero-split .hs-image {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        min-height: 100%;
        padding: 0;
        display: block;
        z-index: 0;
    }
    .hero-split .hs-image picture {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 100%;
    }
    .hero-split .hs-img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center 25%;
        transform: none;
        animation: none;
    }
    /* Strong dark overlay so text always sits on dark – bottom half is mostly solid */
    .hero-split .hs-image-fade {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: linear-gradient(
            to bottom,
            rgba(6, 10, 20, 0.75) 0%,
            rgba(6, 10, 20, 0.5) 25%,
            rgba(6, 10, 20, 0.88) 45%,
            rgba(6, 10, 20, 0.96) 60%,
            #060a14 100%
        );
    }
    /* Text block: dark backdrop so white text is always readable */
    .hero-split .hs-text {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 100px 20px 56px;
        max-width: 100%;
        text-align: center;
        background: linear-gradient(
            to top,
            rgba(6, 10, 20, 0.98) 0%,
            rgba(6, 10, 20, 0.96) 35%,
            rgba(6, 10, 20, 0.85) 60%,
            rgba(6, 10, 20, 0.4) 85%,
            transparent 100%
        );
    }
    .hero-split .hs-badge {
        display: inline-block;
        background: rgba(6, 10, 20, 0.92);
        border: 1px solid rgba(24, 87, 255, 0.5);
        color: #fff;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    }
    .hero-split .hs-title {
        color: #ffffff;
        overflow: visible;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        display: block;
        word-break: break-word;
        overflow-wrap: break-word;
        text-shadow:
            0 0 1px rgba(0, 0, 0, 0.95),
            0 1px 2px rgba(0, 0, 0, 0.9),
            0 2px 20px rgba(0, 0, 0, 0.8),
            0 4px 32px rgba(0, 0, 0, 0.6);
    }
    /* Accent text: solid color on mobile for readability (gradient can fail on small screens) */
    .hero-split .hs-title .hs-title-accent {
        color: #93c5fd;
        -webkit-text-fill-color: #93c5fd;
        background: none;
        background-clip: unset;
        text-shadow:
            0 0 1px rgba(0, 0, 0, 0.95),
            0 1px 3px rgba(0, 0, 0, 0.9),
            0 2px 12px rgba(0, 0, 0, 0.85);
    }
    .hero-split .hs-subtitle {
        color: rgba(226, 232, 240, 0.98);
        text-shadow:
            0 0 1px rgba(0, 0, 0, 0.95),
            0 1px 3px rgba(0, 0, 0, 0.9),
            0 2px 16px rgba(0, 0, 0, 0.7);
    }
    .hero-split .hs-trust-text span {
        color: rgba(226, 232, 240, 0.98);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #05070c;
    background: radial-gradient(ellipse 100% 80% at 30% 40%, rgba(15, 23, 42, 0.95) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 70% 80%, rgba(10, 14, 23, 0.98) 0%, #05070c 100%);
    pointer-events: none;
}

/* Hero - IT Infinite style */
.hero-infinite {
    min-height: 100vh;
    padding: 0;
    align-items: flex-end;
}

.hero-infinite .hero-bg {
    background: #000;
    background: linear-gradient(180deg, #05070c 0%, #0a0e14 40%, #080b12 100%);
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.hero-infinite .hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.7;
    pointer-events: none;
    background: #000;
    /* Ensure video is visible */
    display: block;
    visibility: visible;
}

.hero-infinite .hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 20% 30%, rgba(24, 87, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 80% 70%, rgba(79, 139, 255, 0.06) 0%, transparent 50%);
    animation: bg-shimmer 8s ease-in-out infinite, bg-flow 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.hero-infinite .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.5) 70%);
    pointer-events: none;
    z-index: 2;
}

@keyframes bg-shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes bg-flow {

    0%,
    100% {
        background-position: 0% 0%, 100% 100%;
    }

    50% {
        background-position: 100% 50%, 0% 50%;
    }
}

/* Page-wide decorative layer (visible top to bottom) */
.page-decor-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    /* Prevent decor from causing horizontal scroll */
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
}

.page-flowing-streaks {
    position: absolute;
    inset: 0;
}

.page-streak {
    position: absolute;
    top: 0;
    width: 2px;
    height: 14vh;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(24, 87, 255, 0.2) 30%,
            rgba(24, 87, 255, 0.5) 50%,
            rgba(24, 87, 255, 0.2) 70%,
            transparent 100%);
    filter: blur(1px);
    will-change: transform;
    animation: page-streak-move-down 3s linear infinite;
}

.page-streak-1 {
    right: 12%;
    animation-delay: 0s;
}

.page-streak-2 {
    right: 8%;
    width: 1px;
    height: 10vh;
    opacity: 0.8;
    animation-delay: 1s;
}

.page-streak-3 {
    right: 25%;
    width: 1.5px;
    height: 12vh;
    opacity: 0.7;
    animation-delay: 2s;
}

@keyframes page-streak-move-down {
    0% {
        transform: translateY(0);
        opacity: 0.5;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0.3;
    }
}

.page-decor-orb {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 1.5px solid rgba(24, 87, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: page-orb-pulse 2.5s ease-in-out infinite, page-orb-travel 10s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(24, 87, 255, 0.5), inset 0 0 15px rgba(24, 87, 255, 0.2);
}

.page-decor-orb::before {
    content: '';
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary), 0 0 24px rgba(24, 87, 255, 0.6);
}

.page-decor-orb::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(24, 87, 255, 0.25);
    border-radius: 50%;
    animation: page-orb-ring 3s ease-in-out infinite;
}

.page-orb-top {
    right: 11%;
    top: 25%;
    animation-delay: 0s, 0s;
}

.page-orb-bottom {
    right: 9%;
    bottom: 15%;
    animation-delay: 0.8s, 4s;
}

@keyframes page-orb-pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

@keyframes page-orb-ring {

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

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

@keyframes page-orb-travel {

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

    25% {
        transform: translateY(15vh) scale(1.05);
    }

    50% {
        transform: translateY(5vh) scale(1.1);
    }

    75% {
        transform: translateY(-10vh) scale(1.05);
    }
}

/* Ensure content stacks above decor layer */
.main-content {
    position: relative;
    z-index: 1;
}

.main-footer {
    position: relative;
    z-index: 1;
}

/* Flowing Light Streaks */
.hero-flowing-streaks {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

/* Hero flowing streaks - top to bottom */
.flowing-streak {
    position: absolute;
    top: 0;
    width: 2px;
    height: 15%;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(24, 87, 255, 0.2) 30%,
            rgba(24, 87, 255, 0.5) 50%,
            rgba(24, 87, 255, 0.2) 70%,
            transparent 100%);
    filter: blur(1px);
    box-shadow: 0 0 12px rgba(24, 87, 255, 0.25);
    will-change: transform;
    animation: streak-move-down 3s linear infinite;
}

.streak-1 {
    left: 15%;
    animation-delay: 0s;
}

.streak-2 {
    left: 35%;
    width: 1.5px;
    height: 12%;
    opacity: 0.6;
    animation-delay: 0.6s;
}

.streak-3 {
    left: 55%;
    width: 2px;
    height: 14%;
    opacity: 0.7;
    animation-delay: 1.2s;
}

.streak-4 {
    left: 75%;
    width: 1.5px;
    height: 10%;
    opacity: 0.5;
    animation-delay: 0.3s;
}

.streak-5 {
    left: 90%;
    width: 2px;
    height: 13%;
    opacity: 0.6;
    animation-delay: 0.9s;
}

@keyframes streak-move-down {
    0% {
        transform: translateY(0);
        opacity: 0.5;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0.3;
    }
}

/* Particle effects */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(24, 87, 255, 0.4);
    border-radius: 50%;
    animation: particle-float 8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(24, 87, 255, 0.6);
}

.hero-particles::before {
    animation: particle-flow 12s ease-in-out infinite;
}

.hero-particles::after {
    animation: particle-flow 15s ease-in-out infinite reverse;
}

@keyframes particle-flow {

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

    25% {
        transform: translate(50px, -100px) scale(1.2);
        opacity: 0.7;
    }

    50% {
        transform: translate(-30px, -200px) scale(0.8);
        opacity: 1;
    }

    75% {
        transform: translate(80px, -300px) scale(1.1);
        opacity: 0.6;
    }
}

.hero-particles::before {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
    box-shadow: 200px 300px 0 rgba(24, 87, 255, 0.3),
        400px 150px 0 rgba(79, 139, 255, 0.25),
        600px 450px 0 rgba(24, 87, 255, 0.2);
}

.hero-particles::after {
    top: 60%;
    left: 25%;
    animation-delay: 2s;
    box-shadow: 300px 200px 0 rgba(24, 87, 255, 0.3),
        500px 400px 0 rgba(79, 139, 255, 0.25),
        700px 100px 0 rgba(24, 87, 255, 0.2);
}

@keyframes particle-float {

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

    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-40px) translateX(-10px);
        opacity: 1;
    }

    75% {
        transform: translateY(-20px) translateX(5px);
        opacity: 0.8;
    }
}

/* Top-left decorative circle */
.hero-decor-circle {
    position: absolute;
    top: 22%;
    left: 12%;
    z-index: 4;
    width: 26px;
    height: 26px;
    border: 1.5px solid rgba(24, 87, 255, 0.65);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
    animation: pulse-ring 2.5s ease-in-out infinite, circle-float 6s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(24, 87, 255, 0.5), inset 0 0 12px rgba(24, 87, 255, 0.15);
}

.hero-decor-circle::after {
    content: '';
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary), 0 0 20px rgba(24, 87, 255, 0.6);
}

@keyframes circle-float {

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

    25% {
        transform: translate(10px, -10px) scale(1.05);
    }

    50% {
        transform: translate(-5px, -15px) scale(1.1);
    }

    75% {
        transform: translate(-10px, -5px) scale(1.05);
    }
}

.hero-decor-circle::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(24, 87, 255, 0.2);
    border-radius: 50%;
    animation: pulse-ring-outer 3s ease-in-out infinite;
}

@keyframes pulse-ring {

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

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes pulse-ring-outer {

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

    50% {
        opacity: 0.6;
        transform: scale(1.15);
    }
}

/* 3D Striped Torus (Donut) - left side */
.hero-torus-wrap {
    position: absolute;
    left: 0;
    bottom: auto;
    z-index: 4;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    max-width: 55%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    perspective: 1200px;
    perspective-origin: center center;
    z-index: 1;
    pointer-events: none;
}

.hero-torus-3d {
    width: auto;
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transform: rotateY(-8deg) rotateX(12deg) rotateZ(-5deg);
    animation: torus-float-smooth 15s ease-in-out infinite;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.hero-torus-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(24, 87, 255, 0.4)) drop-shadow(0 0 120px rgba(24, 87, 255, 0.2)) brightness(1.1);
    animation: torus-rotate-y 25s linear infinite,
        torus-glow-pulse-image 4s ease-in-out infinite;
    will-change: transform, filter;
    transform-style: preserve-3d;
}

@keyframes torus-glow-pulse-image {

    0%,
    100% {
        filter: drop-shadow(0 0 60px rgba(24, 87, 255, 0.4)) drop-shadow(0 0 120px rgba(24, 87, 255, 0.2)) brightness(1.1);
    }

    50% {
        filter: drop-shadow(0 0 90px rgba(24, 87, 255, 0.6)) drop-shadow(0 0 180px rgba(24, 87, 255, 0.3)) brightness(1.2);
    }
}

.torus-ring {
    position: relative;
    width: 500px;
    height: 500px;
    transform-style: preserve-3d;
    animation: torus-rotate-y 25s linear infinite;
}

.torus-stripe {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 20px solid transparent;
    border-top-color: #1857ff;
    border-bottom-color: #1857ff;
    box-sizing: border-box;
    transform-style: preserve-3d;
}

.torus-stripe:nth-child(odd) {
    border-top-color: #1857ff;
    border-bottom-color: #1857ff;
    border-left-color: transparent;
    border-right-color: transparent;
}

.torus-stripe:nth-child(even) {
    border-top-color: #000;
    border-bottom-color: #000;
    border-left-color: transparent;
    border-right-color: transparent;
}

.torus-stripe:nth-child(1) {
    transform: rotateY(0deg) rotateX(0deg);
}

.torus-stripe:nth-child(2) {
    transform: rotateY(22.5deg) rotateX(0deg);
}

.torus-stripe:nth-child(3) {
    transform: rotateY(45deg) rotateX(0deg);
}

.torus-stripe:nth-child(4) {
    transform: rotateY(67.5deg) rotateX(0deg);
}

.torus-stripe:nth-child(5) {
    transform: rotateY(90deg) rotateX(0deg);
}

.torus-stripe:nth-child(6) {
    transform: rotateY(112.5deg) rotateX(0deg);
}

.torus-stripe:nth-child(7) {
    transform: rotateY(135deg) rotateX(0deg);
}

.torus-stripe:nth-child(8) {
    transform: rotateY(157.5deg) rotateX(0deg);
}

.torus-stripe:nth-child(9) {
    transform: rotateY(180deg) rotateX(0deg);
}

.torus-stripe:nth-child(10) {
    transform: rotateY(202.5deg) rotateX(0deg);
}

.torus-stripe:nth-child(11) {
    transform: rotateY(225deg) rotateX(0deg);
}

.torus-stripe:nth-child(12) {
    transform: rotateY(247.5deg) rotateX(0deg);
}

.torus-stripe:nth-child(13) {
    transform: rotateY(270deg) rotateX(0deg);
}

.torus-stripe:nth-child(14) {
    transform: rotateY(292.5deg) rotateX(0deg);
}

.torus-stripe:nth-child(15) {
    transform: rotateY(315deg) rotateX(0deg);
}

.torus-stripe:nth-child(16) {
    transform: rotateY(337.5deg) rotateX(0deg);
}

/* Create the donut hole */
.torus-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, transparent 0%, #000 100%);
    z-index: 10;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
}

/* Add glow effect */
.torus-ring::after {
    content: '';
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 87, 255, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: torus-glow-pulse 4s ease-in-out infinite;
}

@keyframes torus-rotate-y {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

@keyframes torus-float-smooth {

    0%,
    100% {
        transform: rotateY(-8deg) rotateX(12deg) rotateZ(-5deg) translateY(0) scale(1);
    }

    25% {
        transform: rotateY(-10deg) rotateX(14deg) rotateZ(-6deg) translateY(-12px) scale(1.02);
    }

    50% {
        transform: rotateY(-8deg) rotateX(12deg) rotateZ(-5deg) translateY(-24px) scale(1.04);
    }

    75% {
        transform: rotateY(-6deg) rotateX(10deg) rotateZ(-4deg) translateY(-12px) scale(1.02);
    }
}

@keyframes torus-glow-pulse {

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

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* 3D Striped Torus using conic-gradient - smoother stripes */
.hero-torus-3d-alt {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            #1857ff 0deg,
            #1857ff 11.25deg,
            #000 11.25deg,
            #000 22.5deg,
            #1857ff 22.5deg,
            #1857ff 33.75deg,
            #000 33.75deg,
            #000 45deg,
            #1857ff 45deg,
            #1857ff 56.25deg,
            #000 56.25deg,
            #000 67.5deg,
            #1857ff 67.5deg,
            #1857ff 78.75deg,
            #000 78.75deg,
            #000 90deg,
            #1857ff 90deg,
            #1857ff 101.25deg,
            #000 101.25deg,
            #000 112.5deg,
            #1857ff 112.5deg,
            #1857ff 123.75deg,
            #000 123.75deg,
            #000 135deg,
            #1857ff 135deg,
            #1857ff 146.25deg,
            #000 146.25deg,
            #000 157.5deg,
            #1857ff 157.5deg,
            #1857ff 168.75deg,
            #000 168.75deg,
            #000 180deg,
            #1857ff 180deg,
            #1857ff 191.25deg,
            #000 191.25deg,
            #000 202.5deg,
            #1857ff 202.5deg,
            #1857ff 213.75deg,
            #000 213.75deg,
            #000 225deg,
            #1857ff 225deg,
            #1857ff 236.25deg,
            #000 236.25deg,
            #000 247.5deg,
            #1857ff 247.5deg,
            #1857ff 258.75deg,
            #000 258.75deg,
            #000 270deg,
            #1857ff 270deg,
            #1857ff 281.25deg,
            #000 281.25deg,
            #000 292.5deg,
            #1857ff 292.5deg,
            #1857ff 303.75deg,
            #000 303.75deg,
            #000 315deg,
            #1857ff 315deg,
            #1857ff 326.25deg,
            #000 326.25deg,
            #000 337.5deg,
            #1857ff 337.5deg,
            #1857ff 348.75deg,
            #000 348.75deg,
            #000 360deg);
    position: relative;
    transform-style: preserve-3d;
    animation: torus-rotate-y 25s linear infinite,
        torus-float-smooth 15s ease-in-out infinite;
    transform: rotateY(-8deg) rotateX(12deg) rotateZ(-5deg);
    filter: drop-shadow(0 0 60px rgba(24, 87, 255, 0.4)) drop-shadow(0 0 120px rgba(24, 87, 255, 0.2));
    mask: radial-gradient(circle, transparent 30%, black 35%, black 65%, transparent 70%);
    -webkit-mask: radial-gradient(circle, transparent 30%, black 35%, black 65%, transparent 70%);
    will-change: transform;
}

.hero-torus-3d-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-torus-3d-alt::after {
    content: '';
    position: absolute;
    inset: -50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 87, 255, 0.2) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
    animation: torus-glow-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

/* Right side: heading + CTA */
.hero-infinite-content {
    position: relative;
    z-index: 6;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 8vh;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero-infinite-text {
    text-align: left;
    margin-right: 5%;
}

.hero-infinite-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 40px 0;
    text-transform: none;
}

.hero-infinite-title .line1,
.hero-infinite-title .line2,
.hero-infinite-title .line3 {
    display: block;
}

.hero-infinite-title .line1,
.hero-infinite-title .line2,
.hero-infinite-title .line3 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3em;
}

.hero-infinite-title .word {
    display: inline-block;
    position: relative;
    overflow: visible;
    text-shadow:
        1px 1px 0px rgba(0, 0, 0, 0.8),
        2px 2px 0px rgba(0, 0, 0, 0.7),
        3px 3px 0px rgba(0, 0, 0, 0.6),
        4px 4px 0px rgba(0, 0, 0, 0.5),
        5px 5px 0px rgba(0, 0, 0, 0.4),
        6px 6px 0px rgba(0, 0, 0, 0.3),
        7px 7px 0px rgba(0, 0, 0, 0.2),
        8px 8px 0px rgba(0, 0, 0, 0.1),
        9px 9px 15px rgba(0, 0, 0, 0.3),
        10px 10px 20px rgba(0, 0, 0, 0.2);
    transform: perspective(500px) rotateX(5deg);
    transform-style: preserve-3d;
}

.hero-infinite-title .word::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: translateX(-100%);
    z-index: 1;
    animation: word-reveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-infinite-title .line1 .word:nth-child(1)::after {
    animation-delay: 0.1s;
}

.hero-infinite-title .line1 .word:nth-child(2)::after {
    animation-delay: 0.3s;
}

.hero-infinite-title .line2 .word:nth-child(1)::after {
    animation-delay: 0.5s;
}

.hero-infinite-title .line2 .word:nth-child(2)::after {
    animation-delay: 0.7s;
}

.hero-infinite-title .line3 .word:nth-child(1)::after {
    animation-delay: 0.9s;
}

.hero-infinite-title .line3 .word:nth-child(2)::after {
    animation-delay: 1.1s;
}

.hero-infinite-title .line1 .word {
    position: relative;
    opacity: 0;
    animation: word-fade-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-infinite-title .line1 .word:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-infinite-title .line1 .word:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-infinite-title .line2 .word {
    position: relative;
    opacity: 0;
    animation: word-fade-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-infinite-title .line2 .word:nth-child(1) {
    animation-delay: 0.5s;
}

.hero-infinite-title .line2 .word:nth-child(2) {
    animation-delay: 0.7s;
}

.hero-infinite-title .line3 .word {
    position: relative;
    opacity: 0;
    animation: word-fade-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-infinite-title .line3 .word:nth-child(1) {
    animation-delay: 0.9s;
}

.hero-infinite-title .line3 .word:nth-child(2) {
    animation-delay: 1.1s;
}

@keyframes word-reveal {
    0% {
        transform: translateX(-100%);
        opacity: 1;
    }

    50% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes word-fade-in {
    to {
        opacity: 1;
    }
}

/* Hero Intro Line - Who we are */
.hero-intro-line {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    margin: 0 0 12px 0;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeInUp 0.6s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Hero CTA buttons */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 14px 32px;
}

.btn-about {
    margin-top: 24px;
}

/* Hero Subtitle */
.hero-infinite-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-muted);
    margin: 0 0 20px 0;
    max-width: 540px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    visibility: visible;
    display: block;
}

/* Circular Get A Quote button */
.hero-quote-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: fadeInUp 0.8s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.hero-quote-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.hero-quote-btn:active {
    transform: scale(0.95);
}

.hero-quote-rings {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-quote-rings .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: ring-pulse 2s ease-in-out infinite;
}

.hero-quote-rings .ring-outer {
    inset: -6px;
    border-color: rgba(255, 255, 255, 0.25);
    animation: ring-pulse-outer 2.5s ease-in-out infinite;
}

.hero-quote-btn:hover .ring {
    border-color: rgba(24, 87, 255, 0.8);
    animation: ring-pulse-hover 1s ease-in-out infinite;
}

.hero-quote-btn:hover .ring-outer {
    border-color: rgba(24, 87, 255, 0.4);
    animation: ring-pulse-outer-hover 1s ease-in-out infinite;
}

@keyframes ring-pulse {

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

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes ring-pulse-outer {

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

    50% {
        transform: scale(1.08);
        opacity: 0.4;
    }
}

@keyframes ring-pulse-hover {

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

    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

@keyframes ring-pulse-outer-hover {

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

    50% {
        transform: scale(1.12);
        opacity: 0.5;
    }
}

.hero-quote-btn .hero-quote-label {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.hero-quote-btn .hero-quote-arrow {
    font-size: 0.75rem;
    margin-top: 4px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {

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

    50% {
        transform: translateY(4px);
    }
}

@keyframes ripple {
    from {
        transform: scale(0);
        opacity: 1;
    }

    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Bottom marquee / huge text */
.hero-marquee {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 5;
    bottom: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 30%, transparent 100%);
}

.hero-marquee-text {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(6rem, 18vw, 16rem);
    line-height: 0.85;
    letter-spacing: -0.03em;
    color: #fff;
    opacity: 0.08;
    white-space: nowrap;
    padding-left: 24px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.5) 50%, #fff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: marquee-shimmer 6s ease-in-out infinite, marquee-flow 15s linear infinite;
    will-change: background-position, transform;
    transform: translateX(0);
}

@keyframes marquee-shimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

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

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

/* Legacy hero (if used elsewhere) - minimal */
.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-visual-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.hero-stat .num {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.hero-stat .label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Features grid */
#features .container {
    width: 90%;
    max-width: 90vw;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.features-grid--five {
    grid-template-columns: repeat(5, 1fr);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24, 87, 255, 0.05) 0%, rgba(79, 139, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(24, 87, 255, 0.4);
    box-shadow: 0 25px 50px rgba(24, 87, 255, 0.2), 0 0 0 1px rgba(24, 87, 255, 0.1);
}

.feature-card:hover .feature-card-bg {
    opacity: 1;
}

.feature-card .icon,
.feature-card h3,
.feature-card p {
    position: relative;
    z-index: 1;
}

.feature-card .icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(24, 87, 255, 0.15), rgba(79, 139, 255, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: transform 0.4s, background 0.4s;
    border: 1px solid rgba(24, 87, 255, 0.2);
}

.feature-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(24, 87, 255, 0.25), rgba(79, 139, 255, 0.25));
    border-color: rgba(24, 87, 255, 0.4);
    box-shadow: 0 8px 20px rgba(24, 87, 255, 0.3);
}

.feature-card h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About section */
.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.about-content .section-desc {
    text-align: left;
    margin: 0 0 24px 0;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

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

.about-stat .icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.about-stat .value {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
}

.about-stat .label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.about-image {
    position: relative;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: calc(var(--radius-lg) + 4px);
    opacity: 0.2;
    z-index: -1;
    filter: blur(10px);
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: transform 0.4s, box-shadow 0.4s;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(24, 87, 255, 0.2);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s;
    z-index: 1;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(24, 87, 255, 0.35);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 30px 60px rgba(24, 87, 255, 0.15), var(--shadow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 24px;
    transition: transform 0.4s, box-shadow 0.4s;
    box-shadow: 0 8px 20px rgba(24, 87, 255, 0.3);
}

.service-card:hover .icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(24, 87, 255, 0.4);
}

.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
}

.service-card a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-card a:hover {
    text-decoration: underline;
}

/* ── Portfolio ── */
@keyframes overlay-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Portfolio / page hero - 90% width, never overflow viewport */
.portfolio-section .container,
.portfolio-cta-section .container,
.page-hero .container {
    width: 90%;
    max-width: min(90vw, 100%);
}

.portfolio-card {
    background: rgba(8,14,30,0.9);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.portfolio-card:hover {
    border-color: rgba(24, 87, 255, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(24, 87, 255, 0.18);
}

/* Thumbnail area */
.portfolio-card .thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #050c1e;
    position: relative;
}

.portfolio-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.portfolio-card:hover .thumb img {
    transform: scale(1.08);
}

/* Hover overlay — slides up from bottom */
.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,10,30,0.97) 0%, rgba(6,10,30,0.7) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 20px 20px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.portfolio-card:hover .portfolio-card-overlay,
.portfolio-card.touch-hover .portfolio-card-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pco-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    display: block;
}

.pco-title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.3;
}

.pco-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s ease, gap 0.2s ease;
}
.pco-btn:hover { background: var(--primary-dark); gap: 10px; }

/* Card info strip */
.portfolio-card .info {
    padding: 18px 20px;
    background: rgba(8,14,30,0.9);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.portfolio-card-category {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-block;
    margin-bottom: 5px;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

.portfolio-card h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #e2e8f0;
}

.portfolio-card p {
    color: var(--text-muted);
    font-size: 0.83rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .portfolio-grid { grid-template-columns: 1fr; }
}

/* ── Stats Counter Section ── */
@keyframes stat-pop {
    0%   { transform: scale(0.85) translateY(20px); opacity: 0; }
    70%  { transform: scale(1.06) translateY(-2px); }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.stats-section {
    background: #060a14;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(24,87,255,0.08);
    border-bottom: 1px solid rgba(24,87,255,0.08);
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(24,87,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 36px 28px;
    position: relative;
    border-right: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s ease;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(24,87,255,0.04); }

.stat-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    background: rgba(24,87,255,0.12);
    border: 1px solid rgba(24,87,255,0.22);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    transition: background 0.3s ease, transform 0.35s ease, border-color 0.3s ease;
}

.stat-item:hover .stat-icon {
    background: rgba(24,87,255,0.22);
    border-color: rgba(24,87,255,0.5);
    transform: scale(1.12) rotate(-6deg);
}

.stat-number {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    line-height: 1;
}

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

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .stat-item:nth-child(2n) { border-right: none; }
    .stat-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Testimonials ── */
.testimonials-section {
    background: rgba(6,10,20,0.95);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: rgba(8,14,30,0.9);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #7eb3ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(24, 87, 255, 0.3);
    box-shadow: 0 20px 48px rgba(24, 87, 255, 0.14);
}

.testimonial-card:hover::after { transform: scaleX(1); }

.tc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tc-quote-icon {
    width: 38px; height: 38px;
    background: rgba(24,87,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.testimonial-card .stars {
    color: #fbbf24;
    font-size: 0.85rem;
    display: flex;
    gap: 2px;
}

.testimonial-card .quote {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(226,232,240,0.85);
    flex: 1;
    margin-bottom: 24px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: auto;
}

.author-avatar {
    position: relative;
    flex-shrink: 0;
}

.author-avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7eb3ff);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.testimonial-card:hover .author-avatar::before { opacity: 1; }

.testimonial-card .author img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(24,87,255,0.3);
    transition: border-color 0.3s ease, transform 0.3s ease;
    display: block;
}

.testimonial-card:hover .author img {
    border-color: var(--primary);
    transform: scale(1.08);
}

.author-info { flex: 1; }

.testimonial-card .author-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: #e2e8f0;
}

.testimonial-card .author-role {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 2px;
}

@media (max-width: 1024px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* CTA strip */
.cta-strip {
    background: linear-gradient(135deg, #0e42d6 0%, #1857ff 60%, #2d6bff 100%);
    border: 1px solid rgba(79, 139, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.cta-strip:hover {
    border-color: rgba(79, 139, 255, 0.5);
    box-shadow: 0 20px 60px rgba(24, 87, 255, 0.4);
    transform: translateY(-4px);
}

.cta-strip:hover::before {
    opacity: 1;
}

.cta-strip .btn-primary {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.cta-strip .btn-primary:hover {
    background: #f0f4ff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cta-strip h2,
.cta-strip p,
.cta-strip .btn {
    position: relative;
    z-index: 1;
}

.cta-strip h2 {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-strip p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

/* =============================================
   UI SECTIONS — REFERENCE LAYOUT
   ============================================= */

/* Shared section layout */
.ui-section {
    padding: 90px 0;
}

/* Section heading with decorative lines */
.ui-section-head {
    text-align: center;
    margin-bottom: 56px;
}

.ui-title-lined {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 14px;
}

.ui-title-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2));
}

.ui-title-lined .ui-title-line:last-child {
    background: linear-gradient(to left, transparent, rgba(255,255,255,0.2));
}

.ui-title {
    font-family: var(--font-head);
    font-size: clamp(1.55rem, 2.8vw, 2.1rem);
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    margin: 0;
    letter-spacing: -0.01em;
}

.ui-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ── Our Services ── */
.ui-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ui-service-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(8,14,30,0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px 22px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.ui-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24,87,255,0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ui-service-card:hover {
    border-color: rgba(24, 87, 255, 0.4);
    box-shadow: 0 20px 48px rgba(24, 87, 255, 0.14);
    transform: translateY(-5px);
}

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

/* Thumbnail with real image + icon overlay */
.ui-service-thumb {
    width: 96px;
    height: 96px;
    min-width: 96px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(24, 87, 255, 0.14);
    flex-shrink: 0;
    background: #050c1e;
}

.ui-service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
    transition: transform 0.45s ease, opacity 0.35s ease;
    display: block;
}

.ui-service-card:hover .ui-service-thumb img {
    transform: scale(1.1);
    opacity: 0.55;
}

.ui-service-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 12, 40, 0.6);
    color: #7eb3ff;
    font-size: 1.6rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.ui-service-card:hover .ui-service-thumb-overlay {
    background: rgba(24, 87, 255, 0.35);
    color: #fff;
}

.ui-service-body {
    flex: 1;
    position: relative;
    z-index: 1;
}

.ui-service-body h3 {
    font-family: var(--font-head);
    font-size: 1.08rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.ui-service-card:hover .ui-service-body h3 { color: #c5d8ff; }

.ui-service-body p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 14px;
}

.ui-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.22s ease, color 0.2s ease;
}

.ui-learn-more:hover {
    gap: 11px;
    color: #7eb3ff;
}

/* ── Why Choose Us ── */
.ui-why-section {
    background: rgba(7, 10, 22, 0.75);
}

.ui-why-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.ui-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ui-why-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(8,14,30,0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 28px 22px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.ui-why-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #7eb3ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 0 0 16px 16px;
}

.ui-why-card:hover {
    border-color: rgba(24, 87, 255, 0.32);
    box-shadow: 0 20px 48px rgba(24, 87, 255, 0.13);
    transform: translateY(-6px);
}

.ui-why-card:hover::after { transform: scaleX(1); }

/* Image thumbnail for Why Choose Us */
.ui-why-thumb {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(24, 87, 255, 0.2);
    flex-shrink: 0;
    background: #050c1e;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.ui-why-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transition: transform 0.4s ease, opacity 0.3s ease;
    display: block;
}
.ui-why-thumb-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(5, 12, 40, 0.55);
    color: #7eb3ff;
    font-size: 1.1rem;
    transition: background 0.3s ease, color 0.3s ease;
}
.ui-why-card:hover .ui-why-thumb {
    border-color: rgba(24, 87, 255, 0.5);
    transform: scale(1.1) rotate(-5deg);
}
.ui-why-card:hover .ui-why-thumb img {
    transform: scale(1.1);
    opacity: 0.65;
}
.ui-why-card:hover .ui-why-thumb-overlay {
    background: rgba(24, 87, 255, 0.35);
    color: #fff;
}

.ui-why-body h3 {
    font-family: var(--font-head);
    font-size: 1.06rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.ui-why-card:hover .ui-why-body h3 { color: #c5d8ff; }

.ui-why-body p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

/* ── CTA Section ── */
@keyframes cta-pulse-bg {
    0%, 100% { transform: scale(1);   opacity: 0.07; }
    50%       { transform: scale(1.1); opacity: 0.12; }
}
@keyframes cta-btn-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

.ui-cta-section {
    padding: 110px 0;
    text-align: center;
    background: #060a14;
    position: relative;
    overflow: hidden;
}

.ui-cta-section::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(24,87,255,1) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: cta-pulse-bg 6s ease-in-out infinite;
    pointer-events: none;
}

.ui-cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(24,87,255,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 80% 20%, rgba(79,139,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.ui-cta-inner {
    position: relative;
    z-index: 1;
}

.ui-cta-title {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.ui-cta-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.ui-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--primary) 0%, #4f8bff 50%, var(--primary) 100%);
    background-size: 200% auto;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 52px;
    border-radius: 12px;
    text-decoration: none;
    transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.25s ease;
    box-shadow: 0 6px 28px rgba(24, 87, 255, 0.4);
    letter-spacing: 0.02em;
}

.ui-cta-btn:hover {
    background-position: right center;
    box-shadow: 0 12px 40px rgba(24, 87, 255, 0.6);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .ui-services-grid { grid-template-columns: 1fr; }
    .ui-why-grid { grid-template-columns: 1fr; }
    .ui-title-line { max-width: 60px; }
    .ui-service-card,
    .ui-why-card { padding: 20px 16px; gap: 14px; }
    .ui-service-thumb { width: 72px; height: 72px; min-width: 72px; }
    .ui-why-thumb  { width: 50px; height: 50px; min-width: 50px; }
    .hs-feature-thumb { width: 56px; height: 56px; min-width: 56px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .ui-why-grid { grid-template-columns: repeat(3, 1fr); }
    .ui-services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Contact */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    min-width: 0;
}
.contact-form-wrap {
    min-width: 0;
}

.contact-info h2 {
    font-family: var(--font-head);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-details .item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-details .item i {
    width: 44px;
    height: 44px;
    background: rgba(24, 87, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-details .item a {
    color: var(--text);
    text-decoration: none;
}

.contact-details .item a:hover {
    color: var(--primary);
}

.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    min-width: 0;
}

/* Contact page – location map iframe */
.contact-map-wrap {
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.contact-map-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 24px 0;
}

.contact-map-inner {
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.contact-map-inner iframe {
    display: block;
    width: 100%;
    height: 450px;
    max-height: 70vh;
}

@media (max-width: 768px) {
    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
        display: flex;
        flex-direction: column;
    }
    .contact-form-wrap {
        order: 1;
    }
    .contact-info {
        order: 2;
    }
    .contact-info h2 {
        font-size: 1.5rem;
    }
    .contact-map-wrap {
        margin-top: 40px;
        padding-top: 32px;
    }
    .contact-map-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    .contact-map-inner iframe {
        height: 320px;
        min-height: 260px;
    }
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300d4ff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 40px;
}

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

.contact-form-wrap .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
}

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

/* Page hero (inner pages) */
/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    min-width: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb li:last-child {
    color: var(--text);
    font-weight: 500;
}

.page-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(24, 87, 255, 0.08) 0%, transparent 50%);
    max-width: 100%;
    overflow-x: hidden;
}

.page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    margin-bottom: 16px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.page-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Portfolio page hero - matches techaventure.com/portfolio */
.portfolio-hero .portfolio-hero-content {
    max-width: 720px;
    margin: 0 auto;
}
.portfolio-hero .section-label {
    display: block;
    margin-bottom: 12px;
}
.portfolio-hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.75rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 12px 0;
    color: #fff;
    line-height: 1.1;
}
.portfolio-hero-subtitle {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    color: var(--text-muted);
    margin: 0 0 28px 0;
}
.portfolio-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-list--narrow {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(24, 87, 255, 0.15);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(24, 87, 255, 0.2);
}

.faq-question-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: background 0.3s ease;
}

.faq-question-btn:hover {
    background: rgba(24, 87, 255, 0.05);
}

.faq-question {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.faq-icon {
    color: var(--primary);
    font-size: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    color: var(--text-muted);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    margin: 0;
    padding-top: 8px;
}

/* ========== Service Detail Page (e.g. Web Development) ========== */
.service-detail-page .page-hero .container {
    width: 90%;
    max-width: 90vw;
}

/* Hero with background image */
.page-hero-with-bg {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-dark);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.92) 0%, rgba(10, 14, 23, 0.75) 50%, rgba(10, 14, 23, 0.92) 100%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
}

.page-hero-desc {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 28px;
}

.page-hero-actions .btn {
    padding: 14px 28px;
}

/* Intro section */
.section-intro {
    padding-top: 60px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.intro-content .section-label {
    display: inline-block;
    margin-bottom: 12px;
}

.intro-content h2 {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 20px;
    color: var(--text);
}

.intro-lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

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

.intro-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    font-size: 1.05rem;
    color: var(--text);
}

.intro-features li i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.intro-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Intro image with badge */
.intro-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border);
    max-width: 520px;
}

.intro-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 520 / 380;
    object-fit: cover;
}

.intro-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(24, 87, 255, 0.3);
    border-radius: 12px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.intro-image-badge i {
    font-size: 1.25rem;
}

/* Showcase - Our Work */
.section-showcase {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(17, 24, 39, 0.6) 50%, var(--bg-dark) 100%);
}

.section-showcase .section-head {
    margin-bottom: 40px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto 32px;
}

.showcase-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.showcase-card:hover {
    transform: translateY(-8px);
    border-color: rgba(24, 87, 255, 0.4);
    box-shadow: 0 24px 50px rgba(24, 87, 255, 0.15);
}

.showcase-card-image {
    position: relative;
    aspect-ratio: 400 / 250;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
}

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

.showcase-card:hover .showcase-card-image img {
    transform: scale(1.08);
}

.showcase-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(24, 87, 255, 0.25) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.showcase-card-overlay i {
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.showcase-card:hover .showcase-card-overlay {
    opacity: 1;
}

.showcase-card-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    padding: 20px 24px;
    margin: 0;
    color: var(--text);
    transition: color 0.25s ease;
}

.showcase-card:hover .showcase-card-title {
    color: var(--primary);
}

.showcase-cta {
    text-align: center;
    margin: 0;
}

/* Legacy intro card (kept for fallback) */
.intro-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 380px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.intro-card:hover {
    border-color: rgba(24, 87, 255, 0.3);
    box-shadow: 0 20px 50px rgba(24, 87, 255, 0.12);
}

.intro-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 24px;
}

.intro-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Process timeline */
.section-process .section-head {
    margin-bottom: 48px;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    transition: all 0.35s ease;
}

.process-step:hover {
    border-color: rgba(24, 87, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(24, 87, 255, 0.12), 0 0 30px rgba(24, 87, 255, 0.08);
}

.process-step-number {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: rgba(24, 87, 255, 0.15);
    color: var(--primary);
    border-radius: 50%;
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.process-step-content h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
}

.process-step-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Tech stack */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.tech-grid-three {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
}

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

.tech-category:hover {
    border-color: rgba(24, 87, 255, 0.25);
}

.tech-category-title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    padding: 8px 14px;
    background: rgba(24, 87, 255, 0.1);
    border: 1px solid rgba(24, 87, 255, 0.2);
    border-radius: 8px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.tech-tag:hover {
    background: rgba(24, 87, 255, 0.18);
    border-color: rgba(24, 87, 255, 0.4);
}

/* Use cases */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.usecase-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, background 0.2s;
    color: var(--text);
    transition: all 0.3s ease;
}

.usecase-item i {
    color: var(--primary);
    font-size: 1.25rem;
    width: 28px;
    text-align: center;
}

.usecase-item:hover {
    border-color: rgba(24, 87, 255, 0.35);
    background: var(--bg-card-hover);
}

.section-faq .section-head {
    margin-bottom: 36px;
}

.section-faq .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

/* Service detail responsive */
@media (max-width: 1024px) {
    .page-hero-with-bg {
        min-height: 460px;
        padding: 120px 0 80px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-visual {
        order: -1;
    }

    .intro-image-wrap {
        max-width: 100%;
    }

    .intro-card {
        max-width: 100%;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .tech-grid,
    .tech-grid-three {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .page-hero-with-bg {
        min-height: 420px;
        padding: 100px 0 60px;
    }

    .page-hero-actions {
        flex-direction: column;
    }

    .page-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .usecases-grid {
        grid-template-columns: 1fr;
    }

    .intro-card {
        padding: 28px;
    }
}

/* Footer */
.main-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 80px 0 0;
    margin-top: 80px;
}

.main-footer .container {
    width: 90%;
    max-width: 90vw;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-image {
    height: 45px;
    max-width: 220px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 280px;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    background: var(--bg-dark);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color 0.2s, background 0.2s;
}

.footer-social a:hover {
    color: var(--primary);
    background: rgba(24, 87, 255, 0.15);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4,
.footer-heading {
    font-family: var(--font-head);
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links a,
.footer-services a,
.footer-link {
    color: var(--text-muted) !important;
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 6px 0;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-services a:hover,
.footer-link:hover,
.footer-links a:focus,
.footer-services a:focus,
.footer-link:focus {
    color: var(--primary) !important;
}

.footer-links a:active,
.footer-services a:active,
.footer-link:active,
.footer-links a.active,
.footer-services a.active,
.footer-link.active {
    color: var(--text-muted) !important;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact a {
    color: var(--text);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Horizontal Scrolling Services Section */
.scrolling-services-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: var(--bg-dark);
}

.scrolling-services-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.scrolling-services-wrapper::before,
.scrolling-services-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.scrolling-services-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.scrolling-services-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.scrolling-services-track {
    display: flex;
    gap: 48px;
    animation: scrollHorizontal 30s linear infinite;
    will-change: transform;
}

.scrolling-services-track:hover {
    animation-play-state: paused;
}

.scrolling-service-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 180px;
    transition: transform 0.3s ease;
}

.scrolling-service-item:hover {
    transform: translateY(-8px);
}

.scrolling-service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(24, 87, 255, 0.15), rgba(79, 139, 255, 0.15));
    border: 2px solid rgba(24, 87, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.scrolling-service-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, transparent, rgba(24, 87, 255, 0.1), transparent 60deg);
    animation: rotate 3s linear infinite;
    border-radius: 50%;
}

.scrolling-service-icon:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(24, 87, 255, 0.4);
    transform: scale(1.1);
}

.scrolling-service-icon i {
    font-size: 2rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.scrolling-service-item:hover .scrolling-service-icon i {
    transform: scale(1.1) rotate(5deg);
}

.scrolling-service-label {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.scrolling-service-item:hover .scrolling-service-label {
    color: var(--primary);
}

@keyframes scrollHorizontal {
    0% {
        transform: translateX(0);
    }

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

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Careers Page - Hero & Openings section UI */
.page-hero-careers .page-hero-desc {
    margin-bottom: 0;
}

.container--narrow {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.careers-openings {
    padding-top: 100px;
    padding-bottom: 100px;
}

.careers-openings-head {
    margin-bottom: 48px;
    text-align: center;
}

.careers-openings-head .section-title {
    margin-bottom: 12px;
}

.careers-openings-head .section-desc {
    margin: 0;
    font-size: 1.15rem;
}

/* Careers Page - Job categories list */
.job-categories-list {
    font-family: var(--font-body);
    max-width: 100%;
}

.job-category {
    margin-bottom: 0;
}

.job-category .category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
    border-color: var(--border);
}

.job-category .category-header:hover {
    background: var(--bg-card-hover);
}

.job-category .category-header h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.category-chevron {
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.category-jobs {
    display: none;
    padding: 0;
}

.job-listing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
    padding-left: 0;
    border-color: var(--border);
}

.job-listing:hover {
    background: var(--bg-card-hover);
}

.job-listing > div {
    flex: 1;
}

.job-listing h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}

.job-listing p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.job-listing .apply-job-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: inherit;
}

.job-listing .apply-job-btn:hover {
    color: var(--primary);
}

/* Careers page – application modal (structure from careers.php) */
#applicationModal > div {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== Careers page responsive ========== */
@media (max-width: 768px) {
    .careers-openings {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .careers-openings-head {
        margin-bottom: 32px;
    }
    .careers-openings-head .section-title {
        font-size: 1.6rem;
    }
    .careers-openings-head .section-desc {
        font-size: 1rem;
    }
    .container--narrow {
        padding-left: 16px;
        padding-right: 16px;
    }
    .job-category .category-header {
        padding: 16px 0;
    }
    .job-category .category-header h3 {
        font-size: 1.1rem;
        padding-right: 8px;
    }
    .job-listing {
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px 0;
    }
    .job-listing > div {
        flex: 1 1 100%;
    }
    .job-listing .apply-job-btn {
        flex: 0 0 auto;
        min-height: 44px;
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    /* Application modal – full bleed on mobile, scrollable */
    #applicationModal {
        padding: 16px 0;
        align-items: flex-start;
    }
    #applicationModal > div {
        margin: 20px 16px 40px;
        padding: 24px 20px;
        max-width: none;
        width: calc(100% - 32px);
        box-sizing: border-box;
    }
    #applicationModal .form-group input,
    #applicationModal .form-group textarea,
    #applicationModal .form-group select {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .careers-openings {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .careers-openings-head {
        margin-bottom: 24px;
    }
    .careers-openings-head .section-title {
        font-size: 1.4rem;
    }
    .job-category .category-header {
        padding: 14px 0;
    }
    .job-category .category-header h3 {
        font-size: 1rem;
    }
    .job-listing h4 {
        font-size: 0.95rem;
    }
    .job-listing p {
        font-size: 0.85rem;
    }
    #applicationModal > div {
        margin: 12px 12px 32px;
        padding: 20px 16px;
        width: calc(100% - 24px);
    }
    #closeModal {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* Hero Infinite responsive */
@media (max-width: 1024px) {
    .hero-torus-wrap {
        max-width: 50%;
        max-height: 70%;
        left: 0;
        transform: translateY(-50%);
        top: 50%;
    }

    .hero-infinite-content {
        justify-content: center;
        padding-left: 24px;
    }

    .hero-infinite-text {
        margin-right: 0;
        text-align: center;
    }

    .hero-infinite-title {
        text-align: center;
    }

    .hero-intro-line {
        text-align: center;
    }

    .hero-infinite-subtitle {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-quote-btn {
        margin: 0 auto;
    }

    .hero-decor-circle {
        left: 8%;
        top: 18%;
    }
}

@media (max-width: 768px) {
    .page-decor-layer {
        opacity: 0.7;
    }

    .page-decor-orb {
        width: 20px;
        height: 20px;
    }

    .page-decor-orb::before {
        width: 4px;
        height: 4px;
    }

    .hero-infinite {
        min-height: 100vh;
        align-items: center;
    }

    .hero-torus-wrap {
        max-width: 80%;
        max-height: 45%;
        left: 50%;
        transform: translateX(-50%);
        top: 20%;
        bottom: auto;
    }

    .hero-torus-3d {
        transform: rotateY(-5deg) rotateX(15deg) scale(0.85) !important;
    }

    .hero-torus-image {
        max-width: 100%;
        max-height: 100%;
        animation: torus-rotate-y 25s linear infinite, torus-glow-pulse-image 4s ease-in-out infinite;
    }

    .hero-infinite-content {
        justify-content: center;
        align-items: center;
        padding-bottom: 0;
    }

    .hero-infinite-text {
        text-align: center;
        margin-right: 0;
    }

    .hero-infinite-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
        margin-bottom: 32px;
        text-align: center;
    }

    .hero-intro-line {
        font-size: 0.85rem;
    }

    .hero-quote-btn {
        width: 120px;
        height: 120px;
        font-size: 0.85rem;
    }

    .hero-marquee-text {
        font-size: clamp(4rem, 20vw, 8rem);
    }

    .hero-decor-circle {
        left: 50%;
        transform: translateX(-50%);
        top: 12%;
    }

    .hero-particles {
        display: none;
    }

    .hero-flowing-streaks {
        opacity: 0.5;
    }

    .flowing-streak {
        width: 1px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-torus-wrap {
        max-width: 90%;
        max-height: 38%;
    }

    .hero-torus-image {
        max-width: 100%;
        max-height: 100%;
    }

    .hero-infinite-title .line1,
    .hero-infinite-title .line2 {
        font-size: 2.25rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-wrap {
        grid-template-columns: 1fr;
    }

    .about-content .section-title,
    .about-content .section-desc {
        text-align: center;
    }

    .about-content .section-label {
        display: block;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

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

    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .features-grid--five {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* Hide desktop nav, show hamburger; keep CTA visible on tablet */
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    /* Hide CTA button on small screens — off-canvas menu has one */
    .btn-header {
        display: none;
    }
}

@media (max-width: 768px) {
    .features-grid--five {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .blog-meta {
        flex-direction: column;
        gap: 12px;
        font-size: 0.85rem;
    }

    .blog-post-content {
        padding: 0 16px;
    }

    .page-hero--blog-single {
        padding: 80px 0 32px;
    }

    .blog-single-title {
        font-size: 1.5rem;
    }

    .blog-content,
    .blog-content--prose {
        font-size: 1rem;
    }

    .blog-content h2,
    .blog-content--prose h2 {
        font-size: 1.75rem;
    }

    .logo-image {
        height: 35px;
        max-width: 160px;
    }

    .off-canvas-menu {
        max-width: 100%;
        width: 100%;
    }

    .off-canvas-content {
        padding: 50px 30px 30px;
    }

    .off-canvas-header h2 {
        font-size: 1.75rem;
    }

    .off-canvas-phone {
        font-size: 1.5rem;
    }

    .faq-question-btn {
        padding: 20px;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 20px !important;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px !important;
    }

    .off-canvas-overlay {
        display: block;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-social {
        justify-content: center;
    }

    .about-stats {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .features-grid--five {
        grid-template-columns: 1fr !important;
    }

    .section {
        padding: 60px 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========== Custom Cursor ========== */
.custom-cursor {
    width: 10px;
    height: 10px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    mix-blend-mode: difference;
}

.custom-cursor.cursor-hover {
    width: 40px;
    height: 40px;
    border-color: rgba(24, 87, 255, 0.5);
    background: rgba(24, 87, 255, 0.1);
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(24, 87, 255, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    mix-blend-mode: difference;
}

.cursor-follower.cursor-hover {
    width: 60px;
    height: 60px;
    border-color: rgba(24, 87, 255, 0.5);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 10000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(24, 87, 255, 0.5);
}

/* ========== Animations (IT Infinite style) ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

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

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

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(24, 87, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(24, 87, 255, 0.5);
    }
}

@keyframes icon-bounce {

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

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

@keyframes line-expand {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =============================================
   AOS — Animate on Scroll (custom engine)
   ============================================= */

/* Base: all animatable elements start hidden */
.aos {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.75s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* Per-type initial states */
.aos[data-aos="fade-up"]    { transform: translateY(44px); }
.aos[data-aos="fade-down"]  { transform: translateY(-32px); }
.aos[data-aos="fade-left"]  { transform: translateX(44px); }
.aos[data-aos="fade-right"] { transform: translateX(-44px); }
.aos[data-aos="fade-in"]    { transform: none; }
.aos[data-aos="zoom-in"]    { transform: scale(0.88) translateY(16px); }
.aos[data-aos="zoom-out"]   { transform: scale(1.12); }
.aos[data-aos="slide-left"] { transform: translateX(-56px); }
.aos[data-aos="slide-right"]{ transform: translateX(56px); }
.aos[data-aos="flip-up"]    { transform: perspective(600px) rotateX(18deg) translateY(30px); }

/* Animated (in-view) state */
.aos.aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) perspective(600px) rotateX(0);
}

/* Stagger delay helpers */
.aos { transition-delay: 0ms; }

.aos.aos-animate[data-aos-delay="80"]  { transition-delay: 80ms; }
.aos.aos-animate[data-aos-delay="100"] { transition-delay: 100ms; }
.aos.aos-animate[data-aos-delay="120"] { transition-delay: 120ms; }
.aos.aos-animate[data-aos-delay="150"] { transition-delay: 150ms; }
.aos.aos-animate[data-aos-delay="200"] { transition-delay: 200ms; }
.aos.aos-animate[data-aos-delay="240"] { transition-delay: 240ms; }
.aos.aos-animate[data-aos-delay="280"] { transition-delay: 280ms; }
.aos.aos-animate[data-aos-delay="300"] { transition-delay: 300ms; }
.aos.aos-animate[data-aos-delay="360"] { transition-delay: 360ms; }
.aos.aos-animate[data-aos-delay="400"] { transition-delay: 400ms; }
.aos.aos-animate[data-aos-delay="500"] { transition-delay: 500ms; }
.aos.aos-animate[data-aos-delay="600"] { transition-delay: 600ms; }
.aos.aos-animate[data-aos-delay="720"] { transition-delay: 720ms; }
.aos.aos-animate[data-aos-delay="840"] { transition-delay: 840ms; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .aos {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Hero entrance (run once on load) */
.hero .hero-content h1 {
    animation: fadeInUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero .hero-content p {
    opacity: 0;
    animation: fadeInUp 0.9s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero .hero-buttons {
    opacity: 0;
    animation: fadeInUp 0.9s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero .hero-visual-inner {
    opacity: 0;
    animation: zoomIn 1s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-grid {
    animation: fadeIn 2s 0.5s ease-out forwards;
    opacity: 0;
}

/* Hero floating effect (after entrance) */
.hero .hero-visual-inner.aos-animate {
    animation: float 6s ease-in-out infinite;
}

/* Hero stats visible after parent animation */
.hero .hero-visual-inner .hero-stat {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.hero .hero-visual-inner .hero-stat.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.hero .hero-visual-inner .hero-stat.aos-animate[data-aos-delay="100"] {
    transition-delay: 100ms;
}

.hero .hero-visual-inner .hero-stat.aos-animate[data-aos-delay="200"] {
    transition-delay: 200ms;
}

.hero .hero-visual-inner .hero-stat.aos-animate[data-aos-delay="300"] {
    transition-delay: 300ms;
}

/* Icon hover animation */
.feature-card:hover .icon,
.service-card:hover .icon {
    animation: icon-bounce 0.5s ease;
}

/* Counter number (JS will animate value) */
.hero-stat .num,
.about-stat .value {
    display: inline-block;
}

.hero-stat.animated .num {
    animation: countUp 0.6s ease-out forwards;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(24, 87, 255, 0.2);
}

.blog-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-dark);
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-content {
    padding: 24px;
}

.blog-content h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
    line-height: 1.3;
}

.blog-featured-image {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-content h2 {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    margin: 40px 0 24px;
    color: var(--text);
    line-height: 1.3;
}

.blog-content h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--text);
}

.blog-content ul,
.blog-content ol {
    margin: 24px 0;
    padding-left: 24px;
    line-height: 1.8;
}

.blog-content li {
    margin-bottom: 12px;
    color: var(--text);
}

.blog-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Blog Single Post Page */
.page-hero--blog-single {
    padding: 100px 0 48px;
}

.page-hero-content--narrow {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.blog-single-title {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 12px 0 0;
    color: var(--text);
}

.blog-single .section {
    padding-top: 48px;
    padding-bottom: 64px;
}

.blog-content--prose {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text);
}

.blog-content--prose p {
    margin-bottom: 1.25em;
}

.blog-content--prose p:last-child {
    margin-bottom: 0;
}

.blog-content--prose h2 {
    margin-top: 1.75em;
    margin-bottom: 0.5em;
    padding-bottom: 0.25em;
}

.blog-content--prose h2:first-child {
    margin-top: 0;
}

/* Blog Post Page Styles */
.blog-single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-single-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.blog-widget {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 12px;
    padding: 20px;
}

.blog-widget__title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--text);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.blog-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-widget-list li {
    margin-bottom: 10px;
}

.blog-widget-list li:last-child {
    margin-bottom: 0;
}

.blog-widget-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.2s;
}

.blog-widget-list a:hover {
    color: var(--primary);
}

.blog-widget-list--recent a {
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-widget-list--recent li:last-child a {
    border-bottom: none;
}

.blog-widget__empty,
.blog-widget__text {
    margin: 0 0 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.blog-widget__btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .blog-single-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .blog-single-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .blog-widget--cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .blog-single-sidebar {
        grid-template-columns: 1fr;
    }
}

.blog-single-layout .blog-post-content {
    width: 100%;
    max-width: 720px;
    margin: 0;
}

.blog-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.blog-meta i {
    margin-right: 6px;
    color: var(--primary);
}

.blog-lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.blog-highlight {
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text);
}

.blog-result {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 32px;
}

.blog-italic {
    font-style: italic;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.blog-list-check {
    list-style: none;
    padding-left: 0;
    margin: 24px 0;
}

.blog-list-check li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    color: var(--text);
}

.blog-list-check li i {
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.9rem;
}

.blog-cta-box {
    background: var(--bg-card);
    border-left: 4px solid var(--primary);
    padding: 24px;
    border-radius: var(--radius);
    margin: 40px 0;
}

.blog-cta-box p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.blog-cta-box a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-cta-box a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.blog-navigation {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.blog-single .blog-featured-image {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-card);
}

.blog-single .blog-featured-image img {
    width: 100%;
    height: auto;
}

.blog-single .blog-featured-image--placeholder {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(0, 212, 255, 0.06);
    border: 1px dashed rgba(0, 212, 255, 0.25);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-featured-placeholder-inner {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--text-muted);
}

.blog-featured-placeholder-inner .blog-featured-placeholder-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.6;
}

.blog-featured-placeholder-inner p {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
}

.blog-featured-placeholder-inner code {
    font-size: 0.8rem;
    padding: 0.15rem 0.4rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 4px;
    display: block;
    vertical-align: middle;
}

/* Page hero (inner pages) entrance */
.page-hero .section-label {
    opacity: 0;
    animation: fadeInUp 0.7s 0.1s ease-out forwards;
}

.page-hero h1 {
    opacity: 0;
    animation: fadeInUp 0.7s 0.25s ease-out forwards;
}

.page-hero p {
    opacity: 0;
    animation: fadeInUp 0.7s 0.4s ease-out forwards;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 87, 255, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(24, 87, 255, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top i {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
}

/* Responsive adjustments for scroll to top button */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 86px;
        right: 18px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* ========== COMPREHENSIVE MOBILE RESPONSIVE STYLES ========== */

/* Base Mobile Styles (480px and below) */
@media (max-width: 480px) {

    /* Container & Spacing */
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 40px 0;
    }

    /* Contact page: compact layout on small phones */
    .contact-form-wrap {
        padding: 20px 16px;
    }
    .contact-info h2,
    .contact-form-wrap h2 {
        font-size: 1.35rem;
    }
    .contact-details .item {
        gap: 12px;
    }
    .contact-details .item i {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    .contact-map-wrap {
        margin-top: 28px;
        padding-top: 24px;
    }
    .contact-map-title {
        font-size: 1.15rem;
        margin-bottom: 14px;
    }
    .contact-map-inner iframe {
        height: 260px;
        min-height: 200px;
    }

    /* Typography */
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    .section-label {
        font-size: 0.8rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Header */
    .header-inner {
        height: 60px;
        padding: 0 16px;
    }

    .logo-image {
        height: 32px;
        max-width: 140px;
    }

    .main-header .container {
        max-width: 100%;
        width: 100%;
    }

    /* Hero Section */
    .hero-infinite-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .hero-infinite-subtitle {
        font-size: 0.9rem;
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0 16px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item {
        padding: 20px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .feature-card {
        padding: 20px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 24px;
    }

    /* Portfolio Grid */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Blog Grid */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-card {
        padding: 20px;
    }

    /* About Section */
    .about-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-stats {
        flex-direction: column;
        gap: 16px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Contact Form */
    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .contact-details {
        gap: 20px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Pricing Cards */
    .services-grid[style*="repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
    }

    /* Industries Grid */
    .industries-grid {
        grid-template-columns: 1fr !important;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: 1fr !important;
    }

    /* Page Hero */
    .page-hero {
        padding: 80px 0 40px;
    }

    .page-hero h1 {
        font-size: 1.75rem;
    }

    /* FAQ */
    .faq-question-btn {
        padding: 16px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 16px 16px 16px !important;
        font-size: 0.9rem;
    }

    /* Scrolling Services */
    .scrolling-services {
        padding: 20px 0;
    }

    .scrolling-service-item {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    /* Off-Canvas Menu */
    .off-canvas-content {
        padding: 40px 20px 20px;
    }

    .off-canvas-header h2 {
        font-size: 1.5rem;
    }

    .off-canvas-phone {
        font-size: 1.25rem;
    }
}

/* Tablet Styles (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {

    /* Container */
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    /* Typography */
    .section-title {
        font-size: 2rem;
    }

    /* Header */
    .header-inner {
        padding: 0 20px;
    }

    /* Hero */
    .hero-infinite-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    /* Grids - 2 columns */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* About */
    .about-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Contact */
    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    /* Pricing */
    .services-grid[style*="repeat(auto-fit"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Small Desktop / Large Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {

    /* Container */
    .container {
        padding: 0 24px;
    }

    /* Header */
    .main-nav a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    /* Grids - 3 columns */
    .features-grid--five {
        grid-template-columns: repeat(3, 1fr) !important;
    }

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

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

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

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact */
    .contact-wrap {
        grid-template-columns: 1fr;
    }
}

/* Mobile Landscape & Small Tablets (481px - 768px) - Additional adjustments */
@media (max-width: 768px) {

    /* Hero adjustments */
    .hero-infinite {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-torus-wrap {
        display: none;
        /* Hide 3D torus on mobile for better performance */
    }

    /* Typography adjustments */
    .section-title {
        font-size: 1.85rem;
    }

    /* Grid adjustments */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Cards */
    .service-card,
    .feature-card,
    .portfolio-card,
    .blog-card {
        padding: 24px;
    }

    /* Forms */
    .contact-form-wrap {
        padding: 24px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-social {
        justify-content: center;
    }

    /* About stats */
    .about-stats {
        flex-direction: column;
        align-items: center;
    }

    /* Page hero */
    .page-hero {
        padding: 100px 0 40px;
    }

    /* Blog content */
    .blog-content {
        font-size: 1rem;
        line-height: 1.7;
    }

    .blog-content h2 {
        font-size: 1.75rem;
        margin-top: 32px;
        margin-bottom: 16px;
    }

    .blog-content h3 {
        font-size: 1.5rem;
        margin-top: 24px;
        margin-bottom: 12px;
    }

    .blog-post-content {
        padding: 0 16px;
    }

    .blog-meta {
        flex-direction: column;
        gap: 12px;
        font-size: 0.85rem;
    }

    /* Industries & Products */
    .industries-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* Careers */
    .job-listing {
        padding: 20px;
    }

    /* Pricing */
    .services-grid[style*="repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    /* Larger touch targets */
    .btn {
        min-height: 44px;
        padding: 12px 24px;
    }

    .main-nav a {
        min-height: 44px;
        padding: 12px 16px;
    }

    .menu-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    /* Remove hover effects on touch devices */
    .service-card:hover,
    .feature-card:hover,
    .portfolio-card:hover {
        transform: none;
    }
}

/* High DPI / Retina Display Adjustments */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .logo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {

    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Better spacing for hero buttons */
    .hero-infinite-text>div {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-infinite-text .btn {
        width: 100%;
        margin: 4px 0;
    }

    /* Improve form inputs on mobile */
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
    }

    /* Better table display on mobile */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Improve card spacing */
    .service-card,
    .feature-card,
    .portfolio-card {
        margin-bottom: 0;
    }

    /* Better breadcrumb on mobile */
    .breadcrumb {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    /* Improve scrolling services */
    .scrolling-services {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Better video display */
    .hero-bg-video {
        object-fit: cover;
    }

    /* Improve pricing cards */
    .service-card[style*="transform: scale"] {
        transform: none !important;
    }

    /* Better testimonial cards */
    .testimonial-card {
        padding: 24px;
    }

    /* Improve industries grid */
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .industry-card {
        padding: 24px;
    }

    /* Improve products grid */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 24px;
    }

    /* Better startup program section */
    .startup-features {
        grid-template-columns: 1fr;
    }

    /* Improve job listings */
    .job-listing {
        margin-bottom: 20px;
    }

    /* Better CTA sections */
    .cta-section {
        padding: 40px 20px;
        text-align: center;
    }

    .cta-section .btn {
        width: 100%;
        margin: 8px 0;
    }
}

/* Very Small Mobile Devices (320px - 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .section {
        padding: 32px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-infinite-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .service-card,
    .feature-card {
        padding: 16px;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-infinite {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-torus-wrap {
        display: none;
    }

    .section {
        padding: 40px 0;
    }
}

/* Print Styles */
@media print {

    .main-header,
    .main-footer,
    .scroll-to-top,
    .off-canvas-menu,
    .menu-toggle {
        display: none !important;
    }

    .main-content {
        padding-top: 0;
    }

    body {
        background: white;
        color: black;
    }
}