/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Design tokens – single light theme, colors from logo (blue sphere + white) */
:root {
    --bg: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --border: rgba(204, 204, 204, 0.5);
    /* Logo: deeper blue (#0B6BFF), lighter blue (#56B6F9), white */
    --primary: #0B6BFF;
    --primary-2: #094bb8;
    --primary-light: #56B6F9;
    --navbar-bg: rgba(255, 255, 255, 0.98);
    --card-bg: #ffffff;
    --card-border: rgba(220, 220, 220, 0.6);
    --hero-bg: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e8f4fc 100%);
    --shadow-sm: 0 4px 14px rgba(11, 107, 255, 0.08);
    --shadow-md: 0 14px 30px rgba(11, 107, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.06);
    --radius: 14px;
    --radius-lg: 18px;
}

/* Ensure proper text sizing on all devices */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Safe area support for notched devices (iOS, Android) */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
}

/* Crisp, consistent typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

/* Scroll offset for fixed navbar when using anchor links */
section[id] {
    scroll-margin-top: 80px;
}

/* Better focus for accessibility (keyboard users) */
:where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid rgba(11, 107, 255, 0.35);
    outline-offset: 3px;
}

/* Prevent horizontal scroll and ensure images scale */
img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3.5vw, 28px);
    width: 100%;
    position: relative;
}

.container--wide {
    max-width: min(1400px, 100%);
    padding: 0 clamp(24px, 5vw, 48px);
}

/* Responsive design tokens – spacing that scales across devices */
:root {
    --section-padding-y: clamp(3rem, 8vw, 6rem);
    --section-padding-x: clamp(16px, 4vw, 28px);
    --card-padding: clamp(1.25rem, 4vw, 2.5rem);
    --card-gap: clamp(1rem, 3vw, 2rem);
    --touch-target: 44px; /* iOS/Android minimum touch target */
}

/* Prevent horizontal scroll: scope to layout/containers and media only (not grid children) */
main, .container, .container--wide, section > .container,
img, video, iframe, svg, picture {
    max-width: 100%;
}

/* Better image handling for all devices – fast load, responsive, no layout shift */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
img[width][height] {
    height: auto;
}

/* Better video and iframe handling */
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navbar-bg, rgba(255, 255, 255, 0.95));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border, rgba(59, 130, 246, 0.1));
    /* Safe area support for notched devices */
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
    background: #ffffff;
    display: block;
    transition: opacity 0.2s ease;
}

.logo-img:hover {
    opacity: 0.9;
}

.nav-logo h2,
.logo-text {
    background: linear-gradient(135deg, #0B6BFF, #094bb8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text, #333);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    background: transparent !important;
}

.nav-link:hover {
    color: var(--primary);
    background: transparent !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link.current {
    color: var(--primary);
    font-weight: 600;
}
.nav-link.current::after {
    width: 100%;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text, #333);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 70px; /* accounts for fixed navbar */
    padding-bottom: 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 999px;
    letter-spacing: 0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    font-size: clamp(2.1rem, 4.2vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-description {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-height: 44px; /* tap-friendly */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: var(--card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--card-bg);
    transform: translateY(-2px);
}

.hero-trust-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1rem 0;
    background: linear-gradient(to top, rgba(255,255,255,0.98), rgba(255,255,255,0.85));
    border-top: 1px solid var(--border);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.trust-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.5rem;
}

.trust-stat {
    font-size: 0.875rem;
    color: var(--muted);
}

.trust-stat strong {
    color: var(--text);
    font-weight: 600;
}

.trust-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.5;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 2s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floating-card span {
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 2s;
}

/* Products strip (home) */
.products-strip {
    padding: 4rem 0;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}

.products-strip .section-header {
    margin-bottom: 2.5rem;
}

.products-strip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.product-pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(59, 130, 246, 0.3);
}

.product-pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(30, 64, 175, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.product-pillar-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.product-pillar h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.product-pillar p {
    font-size: 0.8125rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .trust-dot {
        display: none;
    }
    .trust-bar-inner {
        gap: 0.5rem 1rem;
    }
    .products-strip-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .product-pillar {
        padding: 1.25rem 0.75rem;
    }
    .product-pillar h3 {
        font-size: 0.9375rem;
    }
}

/* Inner page banner (for multi-page site) */
.page-hero {
    padding: calc(70px + 3rem) 0 3rem;
    text-align: center;
    background: var(--hero-bg, linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%));
    border-bottom: 1px solid var(--border);
}
.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-hero p {
    color: var(--muted);
    font-size: 1.05rem;
}

.page-hero.support-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f2fe 50%, #f1f5f9 100%);
    padding: calc(70px + 3.5rem) 0 3.5rem;
}

.page-hero.support-hero h1 {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
}

.resources-quick-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    margin-top: 1.5rem;
}

.resources-quick-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.25s ease;
}

.resources-quick-nav a:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== Insight / Article pages (professional editorial layout) ===== */
.insight-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px) 4rem;
}
.insight-hero {
    margin-bottom: 3rem;
}
.insight-hero .insight-breadcrumb {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.75rem;
}
.insight-hero .insight-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}
.insight-hero .insight-breadcrumb a:hover { text-decoration: underline; }
.insight-hero h1 {
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.insight-hero .insight-meta {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}
.insight-hero .insight-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--muted);
    font-weight: 400;
}
.insight-featured-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md);
}
.insight-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.insight-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: var(--text);
}
.insight-body h2 {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    color: var(--text);
}
.insight-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.insight-body ul {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}
.insight-body li {
    margin-bottom: 0.6rem;
    line-height: 1.65;
}
.insight-body hr {
    border: none;
    margin: 2.5rem 0;
    height: 1px;
    background: var(--border);
}
.insight-card {
    background: var(--surface-2);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0;
    border: 1px solid var(--border);
}
.insight-card h3 { margin-top: 0; margin-bottom: 0.75rem; }
.insight-card p:last-child { margin-bottom: 0; }
.insight-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.insight-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.insight-table th,
.insight-table td {
    padding: 0.85rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.insight-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}
.insight-table tr:last-child td { border-bottom: none; }
.insight-table tbody tr:nth-child(even) { background: var(--surface-2); }
.insight-table .price { font-weight: 600; white-space: nowrap; }
.insight-quote {
    background: var(--surface-2);
    border-left: 4px solid var(--primary);
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text);
}
.insight-quote p { margin-bottom: 0.75rem; }
.insight-quote p:last-child { margin-bottom: 0; }
.insight-quote-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 0.5rem;
    font-style: normal;
}
.insight-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(30, 64, 175, 0.06) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    margin-top: 3rem;
    text-align: center;
}
.insight-cta p { margin-bottom: 1rem; }
.insight-cta p:last-of-type { margin-bottom: 1.25rem; }
.insight-cta .btn { min-width: 180px; }
.insight-article-banner {
    padding: calc(70px + 2.5rem) clamp(16px, 4vw, 24px) 2rem;
    border-bottom: 1px solid var(--border);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #fff;
}

.about--home {
    padding: 5rem 0 6rem;
    background: var(--surface-2);
}

.about--home .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 100%;
}

.about--home .about-text {
    max-width: 100%;
}

.about--home .about-text h3 {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    text-align: center;
    margin-bottom: 2rem;
}

.about--home .about-text > p {
    font-size: clamp(1.05rem, 1.2vw, 1.15rem);
    line-height: 1.75;
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 2.5rem;
}

.about--home .mission-vision {
    margin-bottom: 2.5rem;
}

.about--home .mission,
.about--home .vision {
    padding: 1.75rem 2rem;
    border-radius: var(--radius);
    border-left-width: 4px;
}

.about--home .stats {
    gap: 1.5rem;
}

.about--home .stat {
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.mission, .vision {
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.mission h4, .vision h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-2);
}

.mission p, .vision p {
    font-size: 0.95rem;
    color: var(--muted);
    font-style: italic;
}

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--card-border);
}

.stat h4 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--muted);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ceo-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.1);
    max-width: 400px;
    width: 100%;
}

.ceo-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ceo-image img {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.image-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    margin: 0 auto;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.image-placeholder p {
    font-size: 0.9rem;
    font-weight: 600;
}

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

.ceo-info h4 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.ceo-title {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.ceo-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.ceo-achievements {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.achievement {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 64, 175, 0.1));
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-2);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Leadership page: image + history side by side (framed) */
.leadership-founder {
    padding: 2rem 0 4rem;
    background: var(--bg);
}

.leadership-founder-layout {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.leadership-founder-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.leadership-founder-caption {
    padding: 1rem 0 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.leadership-founder-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.02em;
}

.leadership-founder-role {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
}

.leadership-founder-tagline-small {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

.leadership-founder-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: var(--surface-2);
    aspect-ratio: 3 / 4;
    max-height: 520px;
}

.leadership-founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.leadership-founder-placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 1rem;
}

.leadership-founder-placeholder i {
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.7;
}

.leadership-founder-history {
    padding: 1.5rem 0 0;
    border-left: 3px solid var(--primary);
    padding-left: 2rem;
}

.leadership-founder-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.leadership-founder-content {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text);
}

.leadership-founder-content p {
    margin: 0 0 1.125rem 0;
}

.leadership-founder-content p:last-child {
    margin-bottom: 0;
}

.leadership-founder-tagline {
    margin-top: 1.5rem !important;
    font-size: 1rem;
    color: var(--primary-2);
}

@media (max-width: 900px) {
    .leadership-founder-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .leadership-founder-col {
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }
    .leadership-founder-image-wrap {
        max-width: 100%;
        max-height: 420px;
    }
    .leadership-founder-history {
        border-left: none;
        border-top: 3px solid var(--primary);
        padding-left: 0;
        padding-top: 1.5rem;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .leadership-founder {
        padding: 1.5rem 0 3rem;
    }
    .leadership-founder-title {
        font-size: 1.25rem;
    }
    .leadership-founder-content {
        font-size: 0.9375rem;
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: var(--card-gap, 2rem);
}

/* Service cards with image on top – matches blog card design (no gap between image and card edge) */
.service-card.service-card--image {
    min-width: 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.service-card--image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
}

.service-card-image {
    height: 200px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    overflow: hidden;
}

.service-card-image {
    aspect-ratio: 16 / 9;
    min-height: 180px;
}
.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.service-card-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: block;
    background: var(--surface-2);
}

.service-card-image:has(img) .service-card-placeholder {
    display: none;
}

.service-card-content {
    padding: var(--card-padding, 2rem);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.service-card--image .service-card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-2);
    line-height: 1.4;
}

.service-card--image .service-card-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Legacy icon-only service cards (e.g. other pages) */
.service-card {
    min-width: 0;
    background: var(--card-bg);
    padding: var(--card-padding, 2.5rem);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--card-border);
    color: var(--text);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-image {
    width: 100%;
    aspect-ratio: 2 / 1;
    min-height: 180px;
    max-height: 220px;
    margin: 0 auto 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-2);
}

.service-card p {
    color: var(--muted);
    line-height: 1.6;
}

/* Solutions backbone – 5 pillars */
.solutions-backbone {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card-saas {
    text-align: left;
}

.service-card-saas .service-icon {
    margin-left: 0;
}

.solution-sublist {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.solution-sublist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.4;
}

.solution-sublist li i {
    color: var(--primary);
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* Audience Section */
.audience {
    padding: 6rem 0;
    background: #fff;
}

.audience-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2rem;
}

/* Icon + name items (no cards) */
.audience-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.audience-item:hover {
    transform: translateY(-2px);
}

.audience-item-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 12px;
    color: #fff;
    font-size: 1.4rem;
}

.audience-item:hover .audience-item-icon {
    box-shadow: 0 4px 12px rgba(11, 107, 255, 0.35);
}

.audience-item-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-2);
    text-align: center;
}

/* Industries section: 4 items in 2x2 layout on medium+ */
.industries-grid {
    grid-template-columns: repeat(2, 1fr);
}

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

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: var(--surface-2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    color: var(--text);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
    border-color: var(--primary);
}

.portfolio-item .portfolio-image {
    opacity: 1 !important;
}

.portfolio-image {
    aspect-ratio: 16 / 9;
    min-height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

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

.portfolio-item img {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

.portfolio-image i {
    font-size: 3rem;
}


.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-2);
}

.portfolio-content p {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.portfolio-tag {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: var(--card-gap, 2rem);
}

.testimonial-card {
    min-width: 0;
    background: white;
    padding: var(--card-padding, 2.5rem);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--primary-2);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.author-info p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Certifications Section */
.certifications {
    padding: 6rem 0;
    background: #fff;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: var(--card-gap, 2rem);
}

.cert-item {
    min-width: 0;
    text-align: center;
    padding: var(--card-padding, 2rem);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(30, 64, 175, 0.05));
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 64, 175, 0.1));
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.cert-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-2);
    margin-bottom: 0.5rem;
}

.cert-item p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: var(--card-gap, 1rem);
}

.team-member {
    min-width: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    padding-bottom: 0.5rem;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.12);
}

.member-image {
    height: 160px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.member-image .image-placeholder i {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.member-info {
    padding: 1rem 1rem 0.8rem 1rem;
    text-align: center;
}

.member-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-2);
    margin-bottom: 0.4rem;
}

.member-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.member-bio {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

.member-social a {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.25s ease;
}

.member-social a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.22);
}

/* Case Studies Section */
.case-studies {
    padding: 6rem 0;
    background: #fff;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

@media (max-width: 768px) {
    .case-studies {
        padding: 4rem 0;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .case-study {
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    .case-content {
        padding: 1.5rem;
        box-sizing: border-box;
    }
    
    .case-content h3 {
        font-size: 1.25rem;
    }
    
    .case-challenge,
    .case-solution {
        font-size: 0.9rem;
        padding: 0.75rem;
        word-wrap: break-word;
    }
    
    .case-results {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .case-image {
        height: 200px;
        width: 100%;
    }
    
    .case-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .case-studies {
        padding: 3rem 0;
    }
    
    .case-studies-grid {
        gap: 1.5rem;
        width: 100%;
    }
    
    .case-study {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .case-content {
        padding: 1.25rem;
    }
    
    .case-content h3 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .case-challenge,
    .case-solution {
        font-size: 0.875rem;
        padding: 0.625rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }
    
    .case-image {
        height: 180px;
        width: 100%;
    }
    
    .result-item {
        padding: 0.875rem;
    }
    
    .result-number {
        font-size: 1.5rem;
    }
    
    .result-label {
        font-size: 0.8rem;
    }
    
    .case-client {
        font-size: 0.875rem;
    }
}

.case-study {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.case-study:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
}

.case-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-image .image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.case-image .image-placeholder i {
    font-size: 2.5rem;
    opacity: 0.9;
}

/* Case Study Slider Styles */
.case-image.slider-container {
    position: relative;
    overflow: hidden;
}

.case-image .slider-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.case-image .slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.case-image .slider-image.active {
    opacity: 1;
}

.case-image .slider-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(59, 130, 246, 0.8);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 0.9rem;
}

.case-image .slider-nav-button:hover {
    background: rgba(59, 130, 246, 1);
    transform: translateY(-50%) scale(1.1);
}

.case-image .slider-nav-button.prev {
    left: 8px;
}

.case-image .slider-nav-button.next {
    right: 8px;
}

.case-image .slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.case-image .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.case-image .dot.active {
    background: white;
    transform: scale(1.2);
}

.case-image .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.case-image:hover img {
    transform: scale(1.02);
}

.case-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.case-image .image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.case-content {
    padding: 2.5rem;
}

.case-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-2);
    margin-bottom: 1.5rem;
}

.case-challenge {
    color: #dc2626;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 8px;
    border-left: 4px solid #dc2626;
}

.case-solution {
    color: #059669;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 8px;
    border-left: 4px solid #059669;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.result-item {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 64, 175, 0.1));
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.result-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-2);
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.case-client {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(30, 64, 175, 0.05));
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.case-client p {
    color: var(--primary-2);
    font-weight: 500;
    margin: 0;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.1);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(30, 64, 175, 0.05));
    border-left: 4px solid var(--primary);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-2);
    margin: 0;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section - World-Class AI Design */
.contact {
    position: relative;
    padding: 7rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    overflow: hidden;
    isolation: isolate;
}

/* Contact Section - World Class Professional Design */
.contact {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    overflow: hidden;
}

/* AI Background - Subtle & Professional */
.contact-ai-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    opacity: 0.4;
}

.ai-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.ai-glow-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
    animation: orbFloat 30s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
        opacity: 0.6;
    }
}

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

.contact-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    color: #cbd5e1;
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: start;
}

/* Contact Info Section - World Class with AI Features */
.contact-info {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* AI Background for Contact Info */
.contact-info-ai-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

.contact-info-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: infoGridMove 25s linear infinite;
}

@keyframes infoGridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.contact-info-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
    animation: infoParticleFloat 20s ease-in-out infinite;
}

@keyframes infoParticleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(15px, -15px) scale(1.1);
        opacity: 0.5;
    }
}

.contact-info-header {
    position: relative;
    z-index: 1;
    text-align: left;
    padding: 0;
    background: transparent;
    border: none;
    margin-bottom: 1.5rem;
}

.header-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 14px;
}

.header-icon-wrapper i {
    font-size: 1.5rem;
    color: var(--primary-light);
    position: relative;
    z-index: 2;
}

.icon-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 14px;
    animation: pulseRing 2s ease-in-out infinite;
}

@keyframes pulseRing {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.3;
    }
}

.contact-info-header h3 {
    color: #ffffff;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info-header p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
}

.contact-items-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.contact-item {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    overflow: hidden;
}

.contact-item-ai-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover .contact-item-ai-glow {
    left: 100%;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(6px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15), 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.contact-item-icon {
    position: relative;
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    color: var(--primary-light);
    font-size: 1.375rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.icon-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.contact-item:hover .contact-item-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.15));
    border-color: rgba(59, 130, 246, 0.4);
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.contact-item:hover .icon-shine {
    transform: rotate(45deg) translate(100%, 100%);
}

.contact-item-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.contact-item-content h4 {
    color: #e2e8f0;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-item-content p,
.contact-item-content a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.contact-item-content a:hover {
    color: var(--primary-light);
    transform: translateX(2px);
}

.contact-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem 1.75rem;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 1;
}

.contact-whatsapp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.contact-whatsapp-cta i {
    font-size: 1.5rem;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.contact-social-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-social-icon:hover {
    color: var(--primary-2);
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

/* Contact Form Section - World Class Design */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.25);
}

.form-header {
    text-align: left;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.form-header i {
    display: none;
}

.form-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.form-header p {
    color: #94a3b8;
    font-size: 0.9375rem;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group label i {
    display: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-glow {
    display: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Inter', sans-serif;
}

.btn-submit {
    position: relative;
    padding: 1rem 2rem;
    background: var(--primary);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-glow {
    display: none;
}

.btn-submit:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-text,
.btn-submit i {
    position: relative;
    z-index: 1;
}

.btn-submit i {
    transition: transform 0.2s ease;
    font-size: 0.875rem;
}

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

/* Contact Section Responsive */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-items-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }
    
    .contact-title {
        font-size: 2.25rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .contact-info {
        padding: 1.75rem;
    }
    
    .contact-info-header h3 {
        font-size: 1.5rem;
    }
    
    .header-icon-wrapper {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }
    
    .header-icon-wrapper i {
        font-size: 1.25rem;
    }
    
    .contact-item {
        padding: 1.25rem;
    }
    
    .contact-item-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .form-header h3 {
        font-size: 1.25rem;
    }
    
    .ai-grid-pattern {
        opacity: 0.3;
    }
    
    .ai-glow-orbs {
        opacity: 0.3;
    }
    
    .contact-info-grid {
        opacity: 0.2;
    }
    
    .contact-info-particles {
        opacity: 0.2;
    }
}

/* ============================================
   SUPPORT PAGE (contact.html) – clean light layout
   ============================================ */

.support-section {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 35%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}

.support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(11, 107, 255, 0.15), transparent);
    opacity: 0.8;
}

.support-section .section-header {
    margin-bottom: 2.5rem;
}

.support-section .section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.support-section .section-header p {
    font-size: 1.0625rem;
    color: var(--muted);
    max-width: 42ch;
}

.support-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.support-contact-cards {
    position: relative;
}

.support-cards-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

.support-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.support-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(11, 107, 255, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.support-card:hover {
    border-color: rgba(11, 107, 255, 0.35);
    box-shadow: 0 12px 28px rgba(11, 107, 255, 0.12);
    transform: translateY(-3px);
}

.support-card--plain {
    cursor: default;
    pointer-events: none;
}

.support-card--plain:hover {
    border-color: var(--border);
    box-shadow: 0 2px 12px rgba(11, 107, 255, 0.04);
    transform: none;
}

.support-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(11, 107, 255, 0.08), rgba(11, 107, 255, 0.04));
    border: 1px solid rgba(11, 107, 255, 0.12);
    border-radius: 14px;
    color: var(--primary);
    font-size: 1.25rem;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.support-card:hover .support-card-icon {
    background: linear-gradient(135deg, rgba(11, 107, 255, 0.15), rgba(11, 107, 255, 0.08));
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(11, 107, 255, 0.15);
}

.support-card-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.support-card-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
}

.support-form-wrap {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: 0 4px 24px rgba(11, 107, 255, 0.06);
    position: relative;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.support-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--primary-2));
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.support-form-wrap:hover {
    box-shadow: 0 12px 36px rgba(11, 107, 255, 0.1);
    border-color: rgba(11, 107, 255, 0.2);
}

.support-form-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.02em;
}

.support-form-desc {
    font-size: 1rem;
    color: var(--muted);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.support-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.375rem;
}

.support-field input,
.support-field textarea {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-field input::placeholder,
.support-field textarea::placeholder {
    color: var(--muted);
}

.support-field input:focus,
.support-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 107, 255, 0.12);
}

.support-field textarea {
    resize: vertical;
    min-height: 120px;
}

.support-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(11, 107, 255, 0.35);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.support-submit:hover {
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 107, 255, 0.4);
}

.support-newsletter {
    margin-top: 3.5rem;
    padding: 2rem 2rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    background: linear-gradient(180deg, transparent, rgba(11, 107, 255, 0.02));
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.support-newsletter-text {
    font-size: 1rem;
    color: var(--muted);
    margin: 0;
}

.support-newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.support-newsletter-form input {
    padding: 0.6rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9375rem;
    width: 220px;
    font-family: inherit;
}

.support-newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.support-newsletter-form button {
    padding: 0.6rem 1.25rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.support-newsletter-form button:hover {
    background: var(--primary-2);
}

@media (max-width: 1024px) {
    .support-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .support-section {
        padding: 2rem 0 2.5rem;
    }
    
    .support-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .support-form-wrap {
        padding: 1.5rem;
    }
    
    .support-newsletter {
        margin-top: 2rem;
        padding: 1.25rem 1rem 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .support-newsletter-text {
        font-size: 0.875rem;
        flex: 0 0 100%;
    }
    
    .support-newsletter-form {
        flex-direction: row;
        flex: 1;
        min-width: 0;
    }
    
    .support-newsletter-form input {
        flex: 1;
        min-width: 0;
    }
}

/* Client Logos Section */
.clients {
    padding: 4rem 0;
    background: #fff;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.client-logo {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.client-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(30, 64, 175, 0.05));
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.client-placeholder i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.client-placeholder span {
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
}

.client-logo:hover .client-placeholder {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
}

.pricing-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-2);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
}

.price .currency {
    font-size: 1.5rem;
    color: #64748b;
    font-weight: 600;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price .period {
    font-size: 1rem;
    color: #64748b;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
}

.pricing-features li i {
    color: #059669;
    font-size: 1rem;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* Blog Section */
.blog {
    padding: 6rem 0;
    background: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: var(--card-gap, 2rem);
    margin-bottom: 3rem;
}

.blog-card {
    min-width: 0; /* Allow grid child to shrink; prevents compression */
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
}

.blog-image {
    height: 200px;
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    overflow: hidden;
}

.blog-image {
    aspect-ratio: 16 / 9;
    min-height: 180px;
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.blog-placeholder i {
    font-size: 4rem;
    opacity: 0.8;
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-2);
}

/* Last three cards: category at bottom left */
.blog-card-bottom-category .blog-category {
    top: auto;
    bottom: 1rem;
    right: auto;
    left: 1rem;
}

.blog-content {
    padding: var(--card-padding, 2rem);
}

.blog-date {
    font-size: 0.85rem;
    color: #64748b;
    display: block;
    margin-bottom: 0.75rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-2);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.25rem 0;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(59, 130, 246, 0.2);
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-link:hover {
    gap: 0.75rem;
    color: var(--primary-2);
}

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

/* Resources Section */
.resources {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--card-gap, 2rem);
}

.resource-card {
    min-width: 0;
    background: white;
    padding: var(--card-padding, 2.5rem);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
}

.resource-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.resource-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-2);
    margin-bottom: 1rem;
}

.resource-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.resource-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem 1.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(59, 130, 246, 0.2);
}

.resource-download:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.resource-download:active {
    transform: translateY(0);
}

/* Resource card as link (Resources hub) */
.resource-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--card-border);
}

.resource-card-link:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.resource-card-link .resource-download {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border: none;
    padding: 0;
    background: none;
}

.resource-card-link:hover .resource-download {
    color: var(--primary-2);
    background: none;
    transform: none;
}

.resources-hub {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.resources-subsection {
    padding-top: 1rem;
}

/* Careers Section */
.careers {
    padding: 6rem 0;
    background: #fff;
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.careers-intro h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-2);
    margin-bottom: 1.5rem;
}

.careers-intro p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.careers-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(30, 64, 175, 0.05));
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.benefit-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

.benefit-item span {
    color: var(--primary-2);
    font-weight: 500;
}

.careers-jobs h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-2);
    margin-bottom: 2rem;
}

.job-listings {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(30, 64, 175, 0.05));
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.job-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-2);
    margin-bottom: 1rem;
}

.job-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.job-meta i {
    color: var(--primary);
}

.job-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.job-apply {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.job-apply:hover {
    background: var(--primary);
    color: white;
}

/* Newsletter Subscription - Simple Modern Classic (Integrated in Contact Section) */
.newsletter-subscription {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
}

.newsletter-subscription-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-subscription-text h3 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.newsletter-subscription-text p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.newsletter-subscription-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-subscription-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.newsletter-subscription-form input::placeholder {
    color: #94a3b8;
}

.newsletter-subscription-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.newsletter-btn {
    padding: 0.875rem 2rem;
    background: var(--primary);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.newsletter-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.newsletter-btn:active {
    transform: translateY(0);
}

/* Responsive Newsletter Subscription */
@media (max-width: 768px) {
    .newsletter-subscription {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    .newsletter-subscription-text h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-subscription-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.5);
}

/* Dark mode removed (site uses original theme only) */

/* Footer - Clean Professional Design */
/* ============================================
   MODERN FOOTER DESIGN
   ============================================ */

/* ============================================
   FOOTER – NVIDIA-style template (dark, compact)
   ============================================ */

.footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 0 0;
    margin-top: 4rem;
    color: #fff;
    /* Extra bottom space so newsletter form & Subscribe stay above chat button on all devices */
    padding-bottom: max(6rem, env(safe-area-inset-bottom));
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 40px);
}

/* Main footer grid: 4 columns across full width */
.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2rem 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col-title {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.25rem;
}

/* Brand column: logo + long form + social */
.footer-col-brand .footer-long-form {
    max-width: 220px;
}

.footer-col-nav .footer-nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-bottom: 0;
    border-bottom: none;
}

/* Footer newsletter: clearly visible and never blocked */
.footer-col-engage {
    visibility: visible;
    overflow: visible;
    z-index: 10;
    min-width: 0;
    position: relative;
    pointer-events: auto;
}

.footer-col-engage .footer-newsletter-form,
.footer-col-engage .footer-newsletter-form input,
.footer-col-engage .footer-newsletter-form button,
.footer-col-engage .newsletter-input,
.footer-col-engage .newsletter-button {
    pointer-events: auto !important;
    touch-action: manipulation;
}

.footer-col-engage .footer-newsletter-form button,
.footer-col-engage .newsletter-button {
    cursor: pointer;
}

.footer-col-engage .newsletter-button {
    min-width: 48px;
    min-height: 48px;
}

.footer-col-engage .footer-col-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
}

.footer-newsletter-title-short {
    display: none;
}

.footer-col-engage {
    min-width: 0;
    max-width: 100%;
}

.footer-col-engage .footer-newsletter-form {
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.footer-col-engage .footer-newsletter-form input,
.footer-col-engage .footer-newsletter-form .newsletter-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9375rem;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    touch-action: manipulation;
}

.footer-col-engage .footer-newsletter-form button,
.footer-col-engage .footer-newsletter-form .newsletter-button {
    flex-shrink: 0;
    min-height: 44px;
    min-width: 44px;
}

/* Legal & Compliance: compact list, presentable */
.footer-col-legal .footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0;
    border: none;
    padding-bottom: 0;
    border-bottom: none;
}

.footer-col-legal .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    touch-action: manipulation;
    text-decoration: none;
    padding: 0.15rem 0 0.15rem 0.5rem;
    line-height: 1.35;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-col-legal .footer-links a:hover {
    color: #fff;
    border-left-color: rgba(255, 255, 255, 0.5);
}

.footer-col-legal .footer-links a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
}

.footer-logo-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 0;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-long-form {
    font-size: 0.875rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    max-width: 220px;
    text-transform: none;
    letter-spacing: 0.01em;
}

.footer-location {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Horizontal link list (Privacy, Terms, Accessibility, Contact) */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.15s ease;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Copyright bar */
.footer-bar {
    padding: 1rem 0 1.25rem;
    text-align: center;
}

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Footer nav shortcuts (Services, Home, Blog, etc.) */
.footer-nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    touch-action: manipulation;
    transition: color 0.15s ease;
    padding: 0.25rem 0;
}

.footer-nav-links a:hover {
    color: #fff;
}

.footer-nav-links a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Footer engagement: newsletter + CTAs */
.footer-engagement {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-newsletter-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer newsletter: row layout, works on all devices */
.footer-newsletter-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.footer-newsletter-form input,
.footer-newsletter-form .newsletter-input {
    flex: 1 1 auto;
    min-width: 12ch;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

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

.footer-newsletter-form input:focus,
.footer-newsletter-form .newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-form button,
.footer-newsletter-form .newsletter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    touch-action: manipulation;
}

.footer-newsletter-form button:hover,
.footer-newsletter-form .newsletter-button:hover {
    opacity: 0.9;
}

.footer-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.footer-cta-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
    background: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

.footer-cta-link:hover {
    opacity: 0.9;
}

.footer-cta-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Footer Legal & Compliance */
.footer-legal-section {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
}

.footer-legal-section .footer-links {
    padding-bottom: 0;
    border-bottom: none;
}

/* Footer security badges */
.footer-security-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
    padding: 1rem 0 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.35rem 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.footer-badge i {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer social icons (NVIDIA-style footer) */
.footer .footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.footer .footer-social a:hover {
    color: #fff;
}

.footer .footer-social a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Legacy footer markup: hide when not used */
.footer-brand,
.footer-tagline,
.footer-nav,
.footer-legal {
    display: none !important;
}

/* ============================================
   RESPONSIVE FOOTER (NVIDIA-style)
   ============================================ */

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0 0;
        padding-bottom: calc(max(4rem, 72px) + env(safe-area-inset-bottom, 0px));
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 0.875rem;
        padding-bottom: 1.5rem;
    }
    
    /* Hide newsletter on mobile only – title and form; CTAs (Contact us, Get Support) stay visible */
    .footer-col-engage .footer-col-title,
    .footer-col-engage .footer-newsletter-form {
        display: none !important;
    }
    
    .footer-col-engage .footer-cta {
        margin-top: 0;
    }
    
    /* Compact Stay updated: single row, minimal height (hidden on mobile) */
    .footer-col-engage {
        min-width: 0;
        max-width: 100%;
        overflow: visible;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        width: 100%;
    }
    
    .footer-col-engage .footer-col-title {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
        line-height: 1.2;
    }
    
    .footer-newsletter-title-long {
        display: none;
    }
    
    .footer-newsletter-title-short {
        display: inline;
    }
    
    /* Inline layout - input + button side by side, reduced height */
    .footer-newsletter-form {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.4rem;
        margin-bottom: 0.2rem;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-newsletter-form input,
    .footer-newsletter-form .newsletter-input {
        flex: 1 1 0%;
        min-width: 0;
        min-height: 40px;
        padding: 0.4rem 0.6rem;
        font-size: 16px;
        -webkit-appearance: none;
        appearance: none;
        box-sizing: border-box;
        touch-action: manipulation;
    }
    
    .footer-newsletter-form button,
    .footer-newsletter-form .newsletter-button {
        flex-shrink: 0;
        min-width: 40px;
        min-height: 40px;
        padding: 0;
        cursor: pointer;
        pointer-events: auto;
    }
    
    /* Footer CTAs compact */
    .footer-col-engage .footer-cta {
        gap: 0.4rem;
        margin-top: 0.2rem;
    }
    
    .footer-col-engage .footer-cta-link {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }
    
    .footer-security-badges {
        padding: 0.5rem 0 0.6rem;
        gap: 0.4rem;
    }
    
    .footer-bar {
        padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1rem 0 0;
        padding-bottom: calc(max(3.5rem, 60px) + env(safe-area-inset-bottom, 0px));
    }
    
    .footer-main {
        gap: 0.75rem;
        padding-bottom: 1rem;
    }
    
    /* Ultra-compact Stay updated on small phones – fits fully, clear of bottom */
    .footer-col-engage .footer-col-title {
        font-size: 0.6875rem;
        margin-bottom: 0.15rem;
    }
    
    .footer-newsletter-form {
        gap: 0.35rem;
        margin-bottom: 0.15rem;
    }
    
    .footer-newsletter-form input,
    .footer-newsletter-form .newsletter-input {
        min-height: 38px;
        padding: 0.35rem 0.5rem;
        font-size: 16px;
        min-width: 0;
    }
    
    .footer-newsletter-form button,
    .footer-newsletter-form .newsletter-button {
        min-height: 38px;
        min-width: 38px;
        padding: 0;
        flex-shrink: 0;
    }
    
    .footer-newsletter-form .newsletter-button .fa-envelope {
        font-size: 0.9rem;
    }
    
    .footer-col-engage .footer-cta {
        gap: 0.35rem;
        margin-top: 0.15rem;
    }
    
    .footer-col-engage .footer-cta-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
    
    .footer-security-badges {
        padding: 0.4rem 0 0.5rem;
    }
    
    .footer-bar {
        padding: 0.4rem 0 calc(0.4rem + env(safe-area-inset-bottom, 0px));
    }
}

/* Short viewport (e.g. landscape or small phones): keep newsletter fully visible */
@media (max-width: 768px) and (max-height: 500px) {
    .footer {
        padding-bottom: calc(max(3rem, 50px) + env(safe-area-inset-bottom, 0px));
    }
    
    .footer-main {
        padding-bottom: 0.75rem;
        gap: 0.5rem;
    }
    
    .footer-col-engage .footer-col-title {
        font-size: 0.65rem;
        margin-bottom: 0.1rem;
    }
    
    .footer-newsletter-form {
        margin-bottom: 0.1rem;
    }
    
    .footer-newsletter-form input,
    .footer-newsletter-form .newsletter-input,
    .footer-newsletter-form button,
    .footer-newsletter-form .newsletter-button {
        min-height: 36px;
    }
    
    .footer-newsletter-form button,
    .footer-newsletter-form .newsletter-button {
        min-width: 36px;
    }
}
    
    @keyframes aiPulse {
        0%, 100% {
            opacity: 0.6;
            width: 150px;
            transform: translateX(-50%) scaleX(1);
        }
        50% {
            opacity: 1;
            width: 300px;
            transform: translateX(-50%) scaleX(1.2);
        }
    }
    
    .footer-main {
        gap: 2rem;
    }
    
    .footer-logo h3 {
        font-size: 1.75rem;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

/* Footer Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo-wrapper {
    position: relative;
    display: inline-block;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.footer-logo-accent {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #8b5cf6);
    border-radius: 2px;
    opacity: 0.8;
}

.footer-tagline {
    color: #94a3b8;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
    max-width: 90%;
}

/* Footer Social Links */
.footer-social {
    margin-top: 0.5rem;
}

.footer-social h4 {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    border-color: rgba(59, 130, 246, 0.5);
    color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.social-link i {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

.social-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.social-link:hover .social-tooltip {
    opacity: 1;
}

/* Footer Links Section */
.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-column-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-title-icon {
    position: relative;
    padding-left: 1.5rem;
}

.footer-title-icon::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, var(--primary), #8b5cf6);
    border-radius: 2px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.nav-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-nav a:hover {
    color: var(--primary-light);
    transform: translateX(6px);
}

.footer-nav a:hover .nav-indicator {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

/* Footer Contact Section */
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(4px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 10px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    background: rgba(59, 130, 246, 0.25);
    color: var(--primary);
    transform: scale(1.1);
}

.contact-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-value {
    font-size: 0.9375rem;
    color: #e2e8f0;
    font-weight: 500;
}

/* Newsletter Section */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-description {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

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

.newsletter-input-wrapper {
    position: relative;
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.newsletter-input-wrapper:focus-within {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #e2e8f0;
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: #64748b;
}

/* Footer newsletter: icon-only subscribe button – fits all devices */
.newsletter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    touch-action: manipulation;
}

.newsletter-button .fa-envelope {
    font-size: 1rem;
}

.newsletter-button:hover {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.newsletter-button:active {
    transform: scale(0.98);
}

.newsletter-button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
}

.copyright strong {
    color: #cbd5e1;
    font-weight: 600;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--primary-light);
}

.legal-separator {
    color: #64748b;
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE FOOTER
   ============================================ */

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr;
        gap: 3.5rem;
    }
    
    .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-contact {
        gap: 2rem;
    }
    
    .footer-logo {
        font-size: 2rem;
    }
    
    .footer-tagline {
        max-width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo {
        font-size: 1.75rem;
    }
    
    .contact-item {
        padding: 0.75rem;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
    }
}

/* Old complex footer styles removed - using simple professional design above */

/* Animations */
.tech-grid-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(52, 211, 238, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 211, 238, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.5;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Holographic Particles */
.holographic-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(52, 211, 238, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 60% 20%, rgba(168, 85, 247, 0.7), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(59, 130, 246, 0.8), transparent),
        radial-gradient(1px 1px at 80% 60%, rgba(34, 211, 238, 0.6), transparent),
        radial-gradient(1.5px 1.5px at 10% 80%, rgba(168, 85, 247, 0.6), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(59, 130, 246, 0.7), transparent);
    background-size: 200% 200%;
    animation: holographicFloat 25s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes holographicFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        background-position: 0% 0%;
        opacity: 0.7;
    }
    50% {
        transform: translate(50px, -50px) rotate(180deg);
        background-position: 100% 100%;
        opacity: 1;
    }
}

/* Neural Network Lines */
.neural-network-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(52, 211, 238, 0.1) 20%, transparent 40%),
        linear-gradient(225deg, transparent 0%, rgba(168, 85, 247, 0.1) 20%, transparent 40%),
        linear-gradient(45deg, transparent 0%, rgba(59, 130, 246, 0.08) 30%, transparent 50%),
        linear-gradient(315deg, transparent 0%, rgba(34, 211, 238, 0.08) 30%, transparent 50%);
    background-size: 200% 200%;
    animation: neuralPulse 15s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes neuralPulse {
    0%, 100% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
        opacity: 0.6;
    }
    50% {
        background-position: 50% 50%, 50% 50%, 50% 50%, 50% 50%;
        opacity: 0.9;
    }
}

/* Quantum Particles */
.quantum-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(52, 211, 238, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 85% 35%, rgba(168, 85, 247, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 60%, rgba(59, 130, 246, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 25% 75%, rgba(34, 211, 238, 0.2) 0%, transparent 35%),
        radial-gradient(circle at 75% 80%, rgba(168, 85, 247, 0.2) 0%, transparent 35%);
    background-size: 100% 100%;
    animation: quantumShift 30s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes quantumShift {
    0%, 100% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
        opacity: 0.5;
    }
    25% {
        background-position: 30% 20%, 70% 30%, 50% 50%, 20% 60%, 80% 70%;
        opacity: 0.7;
    }
    50% {
        background-position: 20% 30%, 80% 40%, 40% 60%, 30% 70%, 70% 80%;
        opacity: 0.6;
    }
    75% {
        background-position: 25% 25%, 75% 35%, 45% 55%, 25% 65%, 75% 75%;
        opacity: 0.65;
    }
}

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

/* Footer Main Content */
.footer-main-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Brand Section */
.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.brand-hologram {
    position: relative;
    padding: 2rem;
    background: rgba(52, 211, 238, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(52, 211, 238, 0.2);
    border-radius: 20px;
    overflow: hidden;
}

.hologram-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 211, 238, 0.2) 0%, transparent 70%);
    animation: hologramPulse 4s ease-in-out infinite;
}

@keyframes hologramPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.footer-brand {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #34d5ee 0%, #a855f7 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(52, 211, 238, 0.5));
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.brand-subtitle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.tech-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(52, 211, 238, 0.3);
}

.tech-divider {
    color: #34d5ee;
    font-size: 0.875rem;
    animation: dividerBlink 2s ease-in-out infinite;
}

@keyframes dividerBlink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.tech-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(52, 211, 238, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 211, 238, 0.2);
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tech-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(52, 211, 238, 0.2), transparent);
    transition: width 0.4s ease;
}

.tech-badge:hover::before {
    width: 100%;
}

.tech-badge:hover {
    background: rgba(52, 211, 238, 0.15);
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(52, 211, 238, 0.2);
}

.tech-badge i {
    color: #34d5ee;
    font-size: 1.25rem;
    filter: drop-shadow(0 0 8px rgba(52, 211, 238, 0.6));
    position: relative;
    z-index: 1;
}

.tech-badge span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Footer Links */
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-link-column {
    display: flex;
    flex-direction: column;
}

.link-column-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(52, 211, 238, 0.2);
    position: relative;
}

.link-column-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #34d5ee, #a855f7);
    box-shadow: 0 0 8px rgba(52, 211, 238, 0.6);
}

.link-column-title i {
    color: #34d5ee;
    font-size: 1rem;
    filter: drop-shadow(0 0 6px rgba(52, 211, 238, 0.5));
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-indicator {
    width: 6px;
    height: 6px;
    background: #34d5ee;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(52, 211, 238, 0.8);
}

.footer-nav a:hover .nav-indicator {
    opacity: 1;
    transform: scale(1);
}

.footer-nav a:hover {
    color: #34d5ee;
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(52, 211, 238, 0.5);
}

/* Social Section */
.footer-social-section {
    display: flex;
    flex-direction: column;
}

.social-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(52, 211, 238, 0.2);
    position: relative;
}

.social-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #34d5ee, #a855f7);
    box-shadow: 0 0 8px rgba(52, 211, 238, 0.6);
}

.social-title i {
    color: #34d5ee;
    font-size: 1rem;
    filter: drop-shadow(0 0 6px rgba(52, 211, 238, 0.5));
}

.social-links-future {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link-tech {
    position: relative;
    text-decoration: none;
    display: block;
}

.social-icon-wrapper {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(52, 211, 238, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 211, 238, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #34d5ee;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(52, 211, 238, 0.2);
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 238, 0.4), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        width: 0;
        height: 0;
        opacity: 0;
    }
    50% {
        width: 100px;
        height: 100px;
        opacity: 0.6;
    }
}

.social-link-tech:hover .icon-pulse {
    width: 200px;
    height: 200px;
    animation: none;
}

.social-link-tech:hover .social-icon-wrapper {
    background: rgba(52, 211, 238, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    color: #a855f7;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 40px rgba(52, 211, 238, 0.4), 0 0 30px rgba(168, 85, 247, 0.3);
}

.social-icon-wrapper i {
    position: relative;
    z-index: 1;
}

/* Footer Bottom */
.footer-bottom-future {
    position: relative;
    padding-top: 3rem;
}

.tech-divider-line {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 211, 238, 0.3), transparent);
    margin-bottom: 2rem;
}

.divider-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #34d5ee, #a855f7, var(--primary), transparent);
    box-shadow: 0 0 20px rgba(52, 211, 238, 0.8), 0 0 40px rgba(168, 85, 247, 0.4);
    animation: dividerScan 3s ease-in-out infinite;
}

@keyframes dividerScan {
    0%, 100% {
        opacity: 0.6;
        width: 200px;
    }
    50% {
        opacity: 1;
        width: 300px;
    }
}

.footer-bottom-content {
    text-align: center;
}

.copyright-future {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.copyright-year {
    color: rgba(255, 255, 255, 0.7);
}

.copyright-brand-future {
    background: linear-gradient(135deg, #34d5ee 0%, #a855f7 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    filter: drop-shadow(0 0 10px rgba(52, 211, 238, 0.5));
    font-size: 1.125rem;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-main-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand-section {
        grid-column: 1 / -1;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-main-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        font-size: 2.5rem;
    }
    
    .brand-subtitle {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .tech-divider {
        display: none;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links-future {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .tech-grid-overlay {
        opacity: 0.3;
    }
    
    .holographic-particles {
        opacity: 0.4;
    }
    
    .neural-network-lines {
        opacity: 0.3;
    }
    
    .quantum-particles {
        opacity: 0.3;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-20px);
    }
    50% {
        transform: translateY(-25px);
    }
    75% {
        transform: translateY(-20px);
    }
}

/* Logo "AI pop" animation */
@keyframes logoAIPop {
    0%, 100% {
        transform: translateZ(0) scale(1);
        box-shadow:
            0 8px 20px rgba(59, 130, 246, 0.25),
            0 0 0 2px rgba(59, 130, 246, 0.18);
        filter: saturate(1) contrast(1);
    }
    35% {
        transform: translateZ(0) scale(1.06);
        box-shadow:
            0 12px 28px rgba(59, 130, 246, 0.33),
            0 0 0 2px rgba(59, 130, 246, 0.26),
            0 0 18px rgba(96, 165, 250, 0.28);
        filter: saturate(1.05) contrast(1.03);
    }
    55% {
        transform: translateZ(0) scale(0.98);
        box-shadow:
            0 6px 16px rgba(59, 130, 246, 0.22),
            0 0 0 2px rgba(59, 130, 246, 0.16);
        filter: saturate(0.98) contrast(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .logo-img {
        height: 52px;
        max-width: 52px;
    }

    .nav-logo h2,
    .logo-text {
        font-size: 1.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
        padding: 1.25rem 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu .nav-item {
        padding: 0.25rem 0;
    }

    .nav-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.9rem 1rem;
        min-height: 44px;
        width: min(520px, 92vw);
        border-radius: 12px;
    }

    .nav-link:hover {
        background: transparent;
    }

    .nav-menu.active {
        left: 0;
    }
    
    /* Body scroll lock when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    /* Menu overlay */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    /* Better hamburger animation */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-vision {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .floating-card {
        position: relative;
        margin: 1rem auto;
        width: 200px;
    }

    .card-1, .card-2, .card-3 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .ceo-section {
        max-width: 100%;
        margin: 0 auto;
    }

    .ceo-achievements {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .achievement {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

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

    .careers-content {
        grid-template-columns: 1fr;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

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

    .careers-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 max(15px, env(safe-area-inset-left));
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Cards: keep readable padding, never compressed */
    .service-card,
    .audience-item {
        padding: var(--card-padding);
    }

    .contact-form {
        padding: var(--card-padding);
    }
}

/* Mobile-first: single column, full-width cards, no compression (phones & small tablets) */
@media (max-width: 640px) {
    .blog-grid,
    .resources-grid,
    .services-grid,
    .testimonials-grid,
    .certifications-grid,
    .team-grid,
    .audience-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--card-gap);
    }

    .blog-card,
    .resource-card,
    .service-card,
    .testimonial-card,
    .cert-item,
    .team-member,
    .audience-item {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .blog-content,
    .resource-card,
    .service-card-content {
        padding: var(--card-padding);
    }
}

/* Enhanced Responsive Design for All Devices */
/* Large Tablets and Small Desktops */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 30px;
    }

    .services-grid,
    .audience-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

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

/* Large Desktops & Laptops */
@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
        padding: 0 32px;
    }
}

/* Extra-large / Smart TV & 4K – classic, readable presentation */
@media (min-width: 1440px) {
    .container {
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 40px;
    }

    .blog-grid,
    .services-grid,
    .resources-grid {
        gap: 2rem;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
        padding: 0 48px;
    }

    .container--wide {
        max-width: 1600px;
    }
}

/* Medium Tablets */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

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

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

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

/* Small Mobile Devices (compact phones) */
@media (max-width: 360px) {
    .container {
        padding: 0 max(12px, env(safe-area-inset-left));
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

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

    .section-header p {
        font-size: 0.9rem;
    }

    /* Cards still full width, no compression */
    .blog-content,
    .resource-card,
    .service-card,
    .service-card-content {
        padding: clamp(1rem, 4vw, 1.5rem);
    }

    .service-card,
    .audience-item,
    .portfolio-item,
    .testimonial-card {
        padding: var(--card-padding);
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Touch-Friendly Elements for Mobile */
@media (hover: none) and (pointer: coarse) {
    /* Ensure buttons are large enough for touch */
    .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 0.875rem 1.75rem;
    }

    .nav-menu a {
        padding: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .hamburger {
        min-width: 44px;
        min-height: 44px;
    }

    .faq-question {
        min-height: 44px;
        padding: 1rem;
    }

    /* Remove hover effects on touch devices */
    .service-card:hover,
    .audience-item:hover,
    .portfolio-item:hover {
        transform: none;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .service-image img,
    .portfolio-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .nav-menu,
    .dark-mode-toggle,
    .back-to-top,
    .hero-buttons {
        display: none;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .section-header h2 {
        page-break-after: avoid;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Ensure readable text on all devices */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.6;
    }

    p {
        font-size: 1rem;
        line-height: 1.7;
    }

    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }

    /* Prevent text from being too small */
    .service-card p,
    .audience-item-name,
    .portfolio-content p {
        font-size: 0.95rem;
    }
}

/* Fix overflow issues on mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Ensure modals don't overflow */
    .modal-content {
        max-width: 95vw;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Improve spacing for better readability */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .services-grid,
    .audience-grid,
    .portfolio-grid {
        gap: 1.5rem;
    }
}

/* Better form inputs on mobile */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem;
        min-height: 44px;
    }

    textarea {
        min-height: 120px;
    }
}

/* ============================================
   COMPREHENSIVE CROSS-DEVICE COMPATIBILITY
   ============================================ */

/* Safe Area Insets for Notched Devices (iPhone X+, Android with notches) */
@supports (padding: max(0px)) {
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    .navbar {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .hero {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    section {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

/* Enhanced Tablet Support (iPad, Android Tablets) */
@media (min-width: 481px) and (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
}

/* Large Tablets and Small Laptops (1024px - 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
    .container {
        max-width: 1140px;
        padding: 0 30px;
    }
    
    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktops (1367px+) */
@media (min-width: 1367px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-container {
        gap: 5rem;
    }
}

/* iOS Specific Fixes */
@supports (-webkit-touch-callout: none) {
    /* Prevent text size adjustment on iOS */
    html {
        -webkit-text-size-adjust: 100%;
    }
    
    /* Fix input zoom on iOS */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px !important;
    }
    
    /* Better scrolling on iOS */
    .nav-menu {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Fix fixed positioning issues on iOS */
    .navbar {
        position: -webkit-sticky;
        position: sticky;
    }
}

/* Android Specific Fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    /* Better font rendering on Android */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Enhanced Touch Targets for All Mobile Devices */
@media (max-width: 1024px) {
    .btn,
    .nav-link,
    .hamburger,
    .faq-question,
    button,
    a[role="button"] {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better spacing for touch */
    .hero-buttons {
        gap: 1rem;
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
    }
}

/* Very Small Devices (320px - 374px) */
@media (max-width: 374px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Extra Large Devices (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
}

/* Better Grid Layouts for Different Screen Sizes */
@media (min-width: 1200px) {
    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Ensure hamburger is hidden on large screens (smart TVs) */
    .hamburger {
        display: none !important;
    }
    
    /* Ensure navigation is always visible and horizontal */
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        left: auto !important;
        width: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    /* Blog grid - at least 3 cards */
    .blog-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    /* Case studies - show both 2 cards */
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Portfolio - at least 3 cards */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Fix for Horizontal Scrolling Issues */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

* {
    max-width: 100%;
}

/* Improve Image Loading and Responsiveness */
img {
    height: auto;
    max-width: 100%;
    display: block;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* Better Video and Iframe Responsiveness */
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

/* Enhanced Scroll Behavior */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Better Focus States for Keyboard Navigation */
:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Prevent Text Selection on UI Elements */
.nav-link,
.btn,
.hamburger {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Better Backdrop Filter Support */
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
    .navbar {
        background: rgba(255, 255, 255, 0.85);
    }
}

@supports not (backdrop-filter: blur(10px)) {
    .navbar {
        background: rgba(255, 255, 255, 0.98);
    }
}

/* Fix for Mobile Menu Overlay */
@media (max-width: 768px) {
    .nav-menu.active {
        position: fixed;
        left: 0;
        top: 70px;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        z-index: 999;
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* Better Button Hover States for Touch Devices */
@media (hover: hover) and (pointer: fine) {
    .btn:hover,
    .nav-link:hover {
        transform: translateY(-2px);
    }
}

/* Landscape Phone Optimization */
@media (max-width: 896px) and (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN FOR ALL DEVICES
   ============================================ */

/* Smart TVs and Ultra-Wide Displays (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        padding: 0 60px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-main-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 4rem;
    }
}

/* Large Desktops (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .container {
        max-width: 1400px;
        padding: 0 50px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    /* Hide hamburger on large screens (smart TVs) */
    .hamburger {
        display: none !important;
    }
    
    /* Ensure navigation is always visible and horizontal */
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        left: auto !important;
        width: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    /* Blog grid - at least 3 cards */
    .blog-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    /* Case studies - show both 2 cards */
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Portfolio - at least 3 cards */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* Standard Desktops (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .container {
        max-width: 1200px;
        padding: 0 40px;
    }
}

/* Laptops (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .container {
        max-width: 1100px;
        padding: 0 35px;
    }
    
    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    /* Hide hamburger on large screens (smart TVs) */
    .hamburger {
        display: none !important;
    }
    
    /* Ensure navigation is always visible and horizontal */
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        left: auto !important;
        width: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    /* Blog grid - at least 3 cards on large screens */
    .blog-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    /* Case studies - show both 2 cards */
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Portfolio - at least 3 cards */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets - Landscape (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 960px;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-main-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand-section {
        grid-column: 1 / -1;
    }
}

/* Mobile Phones - Large (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-main-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Phones - Standard (360px - 480px) */
@media (min-width: 360px) and (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .case-studies-grid {
        width: 100%;
        padding: 0;
    }
    
    .case-study {
        width: 100%;
        max-width: 100%;
    }
    
    .hero {
        padding: 4rem 0 2.5rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 0.9375rem;
    }
    
    .services-grid,
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .service-card,
    .audience-item {
        padding: 1rem 1.25rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
        min-height: 44px;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links-future {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Phones - Small (320px - 359px) */
@media (min-width: 320px) and (max-width: 359px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.625rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .service-card,
    .audience-item,
    .portfolio-item {
        padding: 1.25rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .footer-brand {
        font-size: 2rem;
    }
}

/* Very Small Devices (< 320px) */
@media (max-width: 319px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.375rem;
    }
    
    .service-card,
    .audience-item {
        padding: 1rem;
    }
}

/* Landscape Orientation - Mobile & Tablet */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi),
       (min-resolution: 2dppx) {
    .logo-img,
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    /* Sharper borders on high DPI */
    .service-card,
    .portfolio-item {
        border-width: 0.5px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn,
    .nav-link,
    .social-link-tech,
    .contact-item,
    .faq-question {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Prevent hover states on touch */
    .service-card:hover,
    .audience-item:hover,
    .portfolio-item:hover {
        transform: none;
    }
    
    /* Better spacing for touch */
    .footer-nav a,
    .contact-form input,
    .contact-form textarea {
        padding: 1rem;
        min-height: 44px;
    }
    
    /* Remove hover effects */
    .social-link-tech:hover .social-icon-wrapper {
        transform: scale(1);
    }
}

/* Mouse/Desktop Optimizations */
@media (hover: hover) and (pointer: fine) {
    .service-card:hover,
    .audience-item:hover,
    .portfolio-item:hover {
        transform: translateY(-8px);
    }
    
    .btn:hover {
        transform: translateY(-2px);
    }
}

/* Large Screen Optimizations (Smart TVs) */
@media (min-width: 1920px) {
    body {
        font-size: 18px;
    }
    
    .container {
        max-width: 1800px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-header h2 {
        font-size: 3.5rem;
    }
    
    p {
        font-size: 1.125rem;
        line-height: 1.8;
    }
}

/* Ultra-Wide Displays (2560px+) */
@media (min-width: 2560px) {
    .container {
        max-width: 2400px;
        padding: 0 80px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Print Optimization */
@media print {
    .navbar,
    .hamburger,
    .hero-buttons,
    .footer-future-tech {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.6;
        background: white;
        color: black;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* ============================================
   COMPREHENSIVE CROSS-DEVICE OPTIMIZATIONS
   ============================================ */

/* Universal Touch Target Sizes (All Devices) */
button,
.btn,
.nav-link,
a[role="button"],
input[type="submit"],
input[type="button"],
.faq-question,
.hamburger,
.social-link-tech,
.contact-item {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(59, 130, 246, 0.2);
}

/* Prevent text selection on interactive elements */
button,
.btn {
    user-select: none;
    -webkit-user-select: none;
}

/* Better scrolling for all devices */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Prevent layout shift on image load */
img {
    aspect-ratio: attr(width) / attr(height);
}

/* Better form inputs for all devices */
input,
textarea,
select {
    font-size: 16px; /* Prevents zoom on iOS */
    -webkit-appearance: none;
    appearance: none;
    border-radius: 8px;
}

/* Better focus states for keyboard navigation */
*:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Smart TV Optimizations (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    /* Larger text for TV viewing distance */
    body {
        font-size: 18px;
    }
    
    h1 { font-size: 4rem; }
    h2 { font-size: 3rem; }
    h3 { font-size: 2rem; }
    
    /* Larger interactive elements */
    .btn {
        padding: 1.25rem 2.5rem;
        font-size: 1.125rem;
    }
    
    /* Better spacing for large screens */
    .section {
        padding: 6rem 0;
    }
    
    /* Ensure hamburger is hidden on smart TVs */
    .hamburger {
        display: none !important;
    }
    
    /* Ensure navigation is always visible and horizontal */
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        left: auto !important;
        width: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    /* Blog grid - at least 3 cards on smart TVs */
    .blog-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    /* Case studies - show both 2 cards */
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Portfolio - at least 3 cards */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* iPhone SE and Small Android (320px - 374px) */
@media (max-width: 374px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .service-card,
    .audience-item {
        padding: 1rem;
    }
}

/* iPhone Standard (375px - 414px) */
@media (min-width: 375px) and (max-width: 414px) {
    .hero-title {
        font-size: 1.875rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* iPhone Plus/Max and Large Android (415px - 480px) */
@media (min-width: 415px) and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }
}

/* iPad Portrait (768px - 834px) */
@media (min-width: 768px) and (max-width: 834px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* iPad Landscape (1024px - 1112px) */
@media (min-width: 1024px) and (max-width: 1112px) {
    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop HD (1366px - 1439px) */
@media (min-width: 1366px) and (max-width: 1439px) {
    .container {
        max-width: 1300px;
    }
}

/* 4K and Ultra-Wide (2560px+) */
@media (min-width: 2560px) {
    .container {
        max-width: 2400px;
        padding: 0 100px;
    }
    
    body {
        font-size: 20px;
    }
    
    .hero-title {
        font-size: 5.5rem;
    }
    
    .section-header h2 {
        font-size: 4rem;
    }
}

/* Landscape Phone Optimization - iOS and Android */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .navbar {
        height: 60px;
    }
    
    .nav-container {
        height: 60px;
    }
    
    /* Prevent zoom on input focus in landscape */
    input, textarea, select {
        font-size: 16px !important;
    }
}

/* iOS Safari specific landscape fixes */
@media (max-width: 896px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    /* Fix iOS Safari address bar issue */
    .navbar {
        position: fixed;
        top: 0;
    }
}

/* Android Chrome landscape optimizations */
@media (max-width: 896px) and (orientation: landscape) and (not (-webkit-min-device-pixel-ratio: 2)) {
    /* Android specific landscape styles */
    .hero-container {
        gap: 2rem;
    }
}

/* Portrait Tablet Optimization */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid,
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Better font rendering on all devices */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* iOS Safari momentum scrolling */
    -webkit-overflow-scrolling: touch;
}

/* Prevent horizontal scroll on all devices */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    /* Prevent pull-to-refresh on mobile */
    overscroll-behavior-y: contain;
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    /* Fix for iOS Safari viewport height */
    .hero {
        min-height: -webkit-fill-available;
    }
    
    /* Fix iOS input zoom - must be 16px or larger */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 8px;
    }
    
    /* Fix iOS Safari address bar issue */
    @media (max-width: 896px) {
        .hero {
            min-height: -webkit-fill-available;
        }
    }
}

/* Android Chrome optimizations */
@supports (-webkit-appearance: none) and (not (-webkit-touch-callout: none)) {
    /* Android specific styles */
    body {
        -webkit-font-smoothing: antialiased;
    }
    
    /* Fix Android Chrome address bar issue */
    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
}

/* Touch device enhancements */
@media (hover: none) and (pointer: coarse) {
    /* All touch devices (iOS, Android) */
    * {
        -webkit-tap-highlight-color: rgba(59, 130, 246, 0.2);
    }
    
    /* Larger touch targets */
    .btn, button, a, .nav-link, .hamburger {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    /* Better scrolling */
    .nav-menu,
    .contact-content,
    .services-grid,
    .portfolio-grid {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    
    /* Prevent text selection on touch */
    .btn, .nav-link, button {
        -webkit-user-select: none;
        user-select: none;
    }
}

/* Desktop and laptop with mouse */
@media (hover: hover) and (pointer: fine) {
    /* Desktop hover effects */
    .btn:hover,
    .nav-link:hover,
    .service-card:hover {
        transform: translateY(-2px);
    }
}

/* Better image loading - Enhanced for All Devices */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari specific styles */
    input, textarea, select {
        font-size: 16px !important; /* Prevents zoom on focus */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 8px;
    }
    
    /* Fix iOS input shadow */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        -webkit-appearance: none;
        appearance: none;
    }
}

/* Android Chrome specific optimizations */
@supports (-webkit-appearance: none) and (not (-webkit-touch-callout: none)) {
    /* Android specific styles */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Mobile touch devices */
    .btn, .nav-link, button, a {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(59, 130, 246, 0.2);
    }
    
    /* Larger touch targets for mobile */
    .hamburger {
        min-width: 44px;
        min-height: 44px;
        padding: 12px;
    }
    
    /* Prevent double-tap zoom */
    * {
        touch-action: manipulation;
    }
    
    /* Better scrolling on iOS */
    .nav-menu,
    .contact-content,
    .services-grid {
        -webkit-overflow-scrolling: touch;
    }
}

/* Desktop and laptop optimizations */
@media (hover: hover) and (pointer: fine) {
    /* Desktop/laptop with mouse */
    .btn:hover,
    .nav-link:hover,
    .service-card:hover {
        transform: translateY(-2px);
    }
}

/* TV and large screen optimizations */
@media (min-width: 1920px) and (min-height: 1080px) {
    /* Smart TV and large displays */
    body {
        font-size: 18px;
        line-height: 1.8;
    }
    
    .container {
        max-width: 1800px;
    }
    
    /* Larger text for TV viewing distance */
    h1 { font-size: 4.5rem; }
    h2 { font-size: 3.5rem; }
    h3 { font-size: 2.5rem; }
    
    /* Larger buttons for remote control navigation */
    .btn {
        padding: 1.5rem 3rem;
        font-size: 1.25rem;
        min-height: 60px;
    }
    
    /* Larger navigation for TV */
    .nav-link {
        font-size: 1.25rem;
        padding: 1rem 1.5rem;
    }
    
    /* Ensure all interactive elements are TV-friendly */
    button, a, input, select, textarea {
        min-height: 50px;
        font-size: 1.1rem;
    }
}

/* Smooth transitions for all interactive elements */
a, button, .btn {
    transition: all 0.3s ease;
}

/* Better table responsiveness */
table {
    width: 100%;
    border-collapse: collapse;
}

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ============================================
   SMART TV OPTIMIZATIONS (1920px and above)
   ============================================ */

/* Full HD Smart TVs (1920px - 2559px) */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
        padding: 0 60px;
    }
    
    /* Header - Single Linear Layout */
    .nav-container {
        max-width: 1800px;
        padding: 0 60px;
        height: 80px;
    }
    
    .nav-menu {
        gap: 2.5rem;
        display: flex !important;
        flex-wrap: nowrap;
        position: static !important;
        left: auto !important;
        width: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        flex-direction: row !important;
    }
    
    .nav-item {
        padding: 0 !important;
    }
    
    .nav-link {
        font-size: 1.1rem;
        white-space: nowrap;
        display: inline-block !important;
        padding: 0.5rem 0 !important;
        width: auto !important;
        min-height: auto !important;
        border-radius: 0 !important;
        text-align: left !important;
    }
    
    .nav-link:hover {
        background: transparent !important;
        color: var(--primary);
    }
    
    .nav-logo h2,
    .logo-text {
        font-size: 2rem;
    }
    
    .logo-img {
        height: 55px;
        width: 55px;
    }
    
    /* Hamburger menu must be hidden on smart TVs */
    .hamburger {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Blog Section - At least 3 Cards */
    .blog-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem;
    }
    
    .blog-card {
        min-height: 450px;
    }
    
    .blog-content {
        padding: 2.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.5rem;
    }
    
    /* Portfolio Section - At least 3 Cards */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem;
    }
    
    .portfolio-item {
        min-height: 400px;
    }
    
    .portfolio-content {
        padding: 2.5rem;
    }
    
    .portfolio-content h3 {
        font-size: 1.5rem;
    }
    
    /* Case Studies Section - Show both 2 Cards */
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 4rem;
    }
    
    .case-study {
        min-height: 500px;
    }
    
    .case-content {
        padding: 3rem;
    }
    
    .case-content h3 {
        font-size: 1.75rem;
    }
    
    .case-image {
        height: 300px;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 3rem;
    }
    
    .section-header p {
        font-size: 1.25rem;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
}

/* 4K Smart TVs (2560px - 3839px) */
@media (min-width: 2560px) {
    .container {
        max-width: 2400px;
        padding: 0 80px;
    }
    
    .nav-container {
        max-width: 2400px;
        padding: 0 80px;
        height: 90px;
    }
    
    .nav-menu {
        gap: 3rem;
        display: flex !important;
        flex-wrap: nowrap;
        position: static !important;
        left: auto !important;
        width: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        flex-direction: row !important;
    }
    
    .nav-item {
        padding: 0 !important;
    }
    
    /* Hamburger menu must be hidden on 4K smart TVs */
    .hamburger {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Blog grid - at least 3 cards */
    .blog-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    /* Case studies - show both 2 cards */
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Portfolio - at least 3 cards */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .nav-link {
        font-size: 1.2rem;
        display: inline-block !important;
        padding: 0.5rem 0 !important;
        width: auto !important;
        min-height: auto !important;
        border-radius: 0 !important;
        text-align: left !important;
    }
    
    .nav-link:hover {
        background: transparent !important;
        color: var(--primary);
    }
    
    .nav-logo h2,
    .logo-text {
        font-size: 2.25rem;
    }
    
    .logo-img {
        height: 60px;
        width: 60px;
    }
    
    /* Blog Section - 3 Cards with larger spacing */
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .blog-card {
        min-height: 500px;
    }
    
    .blog-content {
        padding: 3rem;
    }
    
    .blog-content h3 {
        font-size: 1.75rem;
    }
    
    /* Portfolio Section - 3 Cards */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .portfolio-item {
        min-height: 450px;
    }
    
    .portfolio-content {
        padding: 3rem;
    }
    
    .portfolio-content h3 {
        font-size: 1.75rem;
    }
    
    /* Case Studies Section - 2 Cards */
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem;
    }
    
    .case-study {
        min-height: 550px;
    }
    
    .case-content {
        padding: 3.5rem;
    }
    
    .case-content h3 {
        font-size: 2rem;
    }
    
    .case-image {
        height: 350px;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 3.5rem;
    }
    
    .section-header p {
        font-size: 1.5rem;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-description {
        font-size: 1.75rem;
    }
}

/* 8K Smart TVs (3840px and above) */
@media (min-width: 3840px) {
    .container {
        max-width: 3600px;
        padding: 0 100px;
    }
    
    .nav-container {
        max-width: 3600px;
        padding: 0 100px;
        height: 100px;
    }
    
    .nav-menu {
        gap: 3.5rem;
        display: flex !important;
        flex-wrap: nowrap;
        position: static !important;
        left: auto !important;
        width: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        flex-direction: row !important;
    }
    
    .nav-item {
        padding: 0 !important;
    }
    
    .nav-link {
        font-size: 1.3rem;
        display: inline-block !important;
        padding: 0.5rem 0 !important;
        width: auto !important;
        min-height: auto !important;
        border-radius: 0 !important;
        text-align: left !important;
    }
    
    .nav-link:hover {
        background: transparent !important;
        color: var(--primary);
    }
    
    .nav-logo h2,
    .logo-text {
        font-size: 2.5rem;
    }
    
    .logo-img {
        height: 70px;
        width: 70px;
    }
    
    /* Blog Section - 3 Cards */
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
    
    .blog-card {
        min-height: 550px;
    }
    
    .blog-content {
        padding: 3.5rem;
    }
    
    .blog-content h3 {
        font-size: 2rem;
    }
    
    /* Portfolio Section - 3 Cards */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
    
    .portfolio-item {
        min-height: 500px;
    }
    
    .portfolio-content {
        padding: 3.5rem;
    }
    
    .portfolio-content h3 {
        font-size: 2rem;
    }
    
    /* Case Studies Section - 2 Cards */
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6rem;
    }
    
    .case-study {
        min-height: 600px;
    }
    
    .case-content {
        padding: 4rem;
    }
    
    .case-content h3 {
        font-size: 2.25rem;
    }
    
    .case-image {
        height: 400px;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 4rem;
    }
    
    .section-header p {
        font-size: 1.75rem;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-description {
        font-size: 2rem;
    }
}


