/* =============================================================================
   innData AI Solutions - Softarex-Inspired Modern Design System
   Clean, Professional, Minimal - White backgrounds with Red accents
   ============================================================================= */

/* Typography - Modern Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* =============================================================================
   CSS Variables - Clean & Professional Color Palette
   ============================================================================= */
:root {
    /* Backgrounds - Clean white and light grays */
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;
    --bg-section: #FAFBFC;

    /* Text Colors - Black and Dark Grays (NOT red-heavy) */
    --text-primary: #111827;      /* Near black for headings */
    --text-secondary: #374151;    /* Dark gray for body text */
    --text-muted: #6B7280;        /* Muted gray for secondary text */
    --text-light: #9CA3AF;        /* Light gray for hints */

    /* Accent Red - ONLY for buttons and highlights */
    --accent-red: #DC143C;        /* Crimson red */
    --accent-red-hover: #B91C1C;  /* Darker red on hover */
    --accent-red-light: #FEE2E2;  /* Very light red background */

    /* Footer - Dark gray/charcoal with rounded corners */
    --footer-bg: #1F2937;         /* Dark charcoal */
    --footer-text: #9CA3AF;       /* Muted gray text */
    --footer-heading: #F9FAFB;    /* Light text for headings */

    /* Borders and Dividers */
    --border-light: #E5E7EB;      /* Light gray border */
    --border-medium: #D1D5DB;     /* Medium gray border */

    /* Shadows - Subtle and soft */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.10);
    --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-pill: 999px;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;
    --text-7xl: 6rem;

    /* Typography - Modern Premium Fonts */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================================
   Reset & Base Styles
   ============================================================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--text-secondary);
    background: var(--bg-white);
    overflow-x: hidden;
}

::selection {
    background: var(--accent-red);
    color: var(--bg-white);
}

/* =============================================================================
   Typography
   ============================================================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Typography Display Classes - Modern Clean */
.display-1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.display-2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.display-3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

.heading-1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.heading-2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
}

.heading-3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
}

/* Body Text Classes */
.body-lg {
    font-size: var(--text-xl);
    line-height: 1.7;
}

.body-base {
    font-size: var(--text-base);
    line-height: 1.7;
}

.body-sm {
    font-size: var(--text-sm);
    line-height: 1.6;
}

.subtitle {
    font-size: var(--text-xl);
    line-height: 1.7;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
}

a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover:not(.btn):not(.logo):not(.footer-logo):not(.social-link):not(.footer-social a) {
    color: var(--accent-red);
}

/* =============================================================================
   Navigation - Softarex-Inspired Modern Design
   ============================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-white);
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
    white-space: nowrap;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 56px;
    width: auto;
}

.logo span {
    color: var(--accent-red);
}

.logo:hover {
    opacity: 0.85;
}

/* Navigation Menu - Center */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--accent-red);
    background: rgba(220, 20, 60, 0.04);
}

.nav-link.active {
    color: var(--accent-red);
}

/* Dropdown Arrow for items with dropdown */
.nav-item.has-dropdown > .nav-link::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 0.25rem;
    transition: transform var(--transition-base);
}

.nav-item.has-dropdown:hover > .nav-link::after {
    transform: rotate(180deg);
}

/* Dropdown Menu - Softarex Style */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.03);
    padding: 0.75rem;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

/* Industries dropdown - 2 column layout */
.dropdown-menu.dropdown-industries {
    min-width: 480px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
}

/* Add invisible bridge to prevent gap issues */
.nav-item.has-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown items - Modern Clean Styling */
.dropdown-menu a,
.dropdown-item {
    display: block;
    padding: 0.875rem 1.125rem;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
}

.dropdown-menu a:hover,
.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--accent-red);
    padding-left: 1.375rem;
}

/* Nav Right Section */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Contact Button - Navbar Style */
.nav-right .btn-primary {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.nav-right .btn-primary:hover {
    background-color: var(--accent-red-hover);
}

/* Search Box (optional - hidden by default for cleaner look) */
.search-box {
    display: none;
    align-items: center;
    background: var(--bg-light);
    border-radius: var(--radius-pill);
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.search-box.visible {
    display: flex;
}

.search-box:focus-within {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.search-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    padding: 0 0.5rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    width: 140px;
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle,
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: background var(--transition-base);
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:hover,
.menu-toggle:hover {
    background: var(--bg-light);
}

.mobile-menu-toggle span,
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* Hamburger to X animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   SEARCH FUNCTIONALITY
   ========================================== */

/* Search Toggle Button */
.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.search-toggle:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.search-modal-content {
    position: relative;
    width: 90%;
    max-width: 640px;
    max-height: 70vh;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: transform 0.3s ease;
}

.search-modal.active .search-modal-content {
    transform: translateY(0) scale(1);
}

/* Search Header */
.search-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
}

.search-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.125rem;
    font-family: inherit;
    color: var(--text-primary);
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.search-close:hover {
    background: var(--bg-gray);
    color: var(--text-primary);
}

.search-hint {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}

.search-hint kbd {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Search Results */
.search-results {
    max-height: calc(70vh - 120px);
    overflow-y: auto;
    padding: 0.75rem;
}

.search-placeholder {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
}

.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-result-item {
    margin-bottom: 0.25rem;
}

.search-result-link {
    display: block;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
}

.search-result-link:hover,
.search-result-link.focused {
    background: var(--bg-light);
}

.search-result-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.375rem;
}

.search-result-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.search-result-title mark {
    background: rgba(255, 204, 0, 0.4);
    color: inherit;
    padding: 0 0.125rem;
    border-radius: 2px;
}

.search-result-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.search-no-results {
    padding: 2rem;
    text-align: center;
}

.search-no-results-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.search-no-results h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.search-no-results p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* =============================================================================
   Breadcrumbs - Simple and Clean
   ============================================================================= */
.breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.breadcrumbs a {
    color: var(--text-muted);
    transition: color var(--transition-base);
}

.breadcrumbs a:hover {
    color: var(--accent-red);
}

.breadcrumbs span {
    color: var(--text-light);
}

.breadcrumbs .current {
    color: var(--text-primary);
    font-weight: 500;
}

/* Breadcrumbs Dark Variant - for use on dark hero banners */
.breadcrumbs-dark {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumbs-dark a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs-dark a:hover {
    color: #ffffff;
}

.breadcrumbs-dark span {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs-dark .current {
    color: #ffffff;
    font-weight: 500;
}

/* =============================================================================
   Buttons - Simple Clean Style (No Animations)
   ============================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    letter-spacing: 0.01em;
    border-radius: var(--radius-md);
    cursor: pointer;
    white-space: nowrap;
}

/* Primary Button - Red */
.btn-primary {
    background-color: var(--accent-red);
    color: white !important;
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
}

/* Secondary Button - Light */
.btn-secondary {
    background-color: var(--bg-light);
    color: var(--text-primary) !important;
}

.btn-secondary:hover {
    background-color: var(--bg-gray);
}

/* Outline Button */
.btn-outline {
    background-color: transparent;
    color: var(--accent-red) !important;
    box-shadow: inset 0 0 0 2px var(--accent-red);
}

.btn-outline:hover {
    background-color: var(--accent-red);
    color: white !important;
}

/* Ghost Button */
.btn-ghost {
    background-color: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background-color: var(--bg-light);
}

/* Pill Button */
.btn-pill {
    border-radius: var(--radius-pill);
}

/* Large Button */
.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* Small Button */
.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* =============================================================================
   Hero Section - Stunning Visual with Gradient Background
   ============================================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(90px + 2rem) 2rem 4rem;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* Stunning Visual Hero Background */
.hero.hero-visual-bg {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
}

/* Gradient Overlay */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(220, 20, 60, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 0% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Grid Pattern Background */
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Floating Elements Container */
.hero-floating-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Floating Orbs */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: floatOrb 20s ease-in-out infinite;
}

.floating-orb.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(220, 20, 60, 0.12);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-orb.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.1);
    bottom: 20%;
    left: 5%;
    animation-delay: -7s;
}

.floating-orb.orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(139, 92, 246, 0.1);
    top: 50%;
    left: 40%;
    animation-delay: -14s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Data Flow Lines */
.data-flow-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(220, 20, 60, 0.3), transparent);
    animation: dataFlow 8s linear infinite;
}

.data-flow-line.line-1 {
    width: 200px;
    top: 30%;
    left: -200px;
    animation-delay: 0s;
}

.data-flow-line.line-2 {
    width: 150px;
    top: 60%;
    left: -150px;
    animation-delay: -4s;
}

@keyframes dataFlow {
    0% { transform: translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(calc(100vw + 400px)); opacity: 0; }
}

/* Centered Hero Content */
.hero-content.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-visual-bg .hero-text h1,
.hero-visual-bg .hero-text .display-1 {
    color: #FFFFFF;
}

.hero-visual-bg .hero-text .subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-tag {
    background: rgba(220, 20, 60, 0.15);
    border: 1px solid rgba(220, 20, 60, 0.3);
    color: #FF6B8A;
}

/* Animated Gradient Text */
.text-gradient-animated {
    background: linear-gradient(135deg, #DC143C, #FF6B8A, #DC143C);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

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

/* Trust Badges */
.hero-trust-badges {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.trust-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trust-industries {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-industries span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
}

.trust-industries span:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(220, 20, 60, 0.3);
    color: #FFFFFF;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-indicator svg {
    opacity: 0.6;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Original hero styles for other pages */
.hero:not(.hero-visual-bg) .hero-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero:not(.hero-visual-bg) .hero-text h1 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero:not(.hero-visual-bg) .hero-text .subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* =============================================================================
   Cards - Modern Compact Design
   ============================================================================= */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
}

.card-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

/* Removed image scale on hover for cleaner experience */

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-tag {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: var(--accent-red-light);
    color: var(--accent-red);
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    width: fit-content;
}

.card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.card-description {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

/* Compact Card Variant */
.card-compact {
    border-radius: var(--radius-md);
}

.card-compact .card-image {
    height: 100px;
}

.card-compact .card-content {
    padding: 1.25rem;
}

.card-compact .card-title {
    font-size: 1rem;
    margin-bottom: 0.375rem;
}

.card-compact .card-description {
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.5;
    color: var(--text-muted);
}

.card-compact .card-tag {
    font-size: 0.625rem;
    padding: 0.1875rem 0.5rem;
    margin-bottom: 0.5rem;
}

/* Horizontal Card for Solutions */
.card-horizontal {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: var(--radius-md);
}

.card-horizontal .card-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-horizontal .card-icon svg {
    width: 32px;
    height: 32px;
}

.card-horizontal .card-body {
    flex: 1;
}

.card-horizontal .card-title {
    font-size: 1.0625rem;
    margin-bottom: 0.25rem;
}

.card-horizontal .card-description {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* =============================================================================
   Feature Cards - Modern Compact Design
   ============================================================================= */
.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-smooth);
    position: relative;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
}

/* Icon Container - Compact Design */
.feature-icon,
.icon-container {
    width: 48px;
    height: 48px;
    background: var(--accent-red-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all var(--transition-smooth);
}

.icon-container.gradient-red { background: linear-gradient(135deg, #DC143C 0%, #B01030 100%); }
.icon-container.gradient-blue { background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%); }
.icon-container.gradient-green { background: linear-gradient(135deg, #059669 0%, #047857 100%); }
.icon-container.gradient-purple { background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%); }

/* Removed icon transform on hover for cleaner experience */

.feature-icon svg,
.icon-container svg,
.icon-container .icon {
    width: 24px;
    height: 24px;
    fill: none;
}

/* Only apply red color to icons without inline stroke attribute */
.feature-icon svg:not([stroke]),
.icon-container svg:not([stroke]),
.icon-container .icon:not([stroke]) {
    color: var(--accent-red);
    stroke: currentColor;
}

.icon-container.gradient-blue .icon:not([stroke]) { color: #2563EB; }
.icon-container.gradient-green .icon:not([stroke]) { color: #059669; }
.icon-container.gradient-purple .icon:not([stroke]) { color: #7C3AED; }

.feature-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.feature-description {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Industry Chips - Modern Pill Style */
.industry-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-smooth);
}

.industry-chip:hover {
    background: var(--accent-red-light);
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.industry-chip svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* =============================================================================
   Solutions Grid - Modern Card Layout
   ============================================================================= */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.solution-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-decoration: none;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: all var(--transition-smooth);
}

.solution-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.solution-card:hover::before {
    background: var(--accent-red);
}

.solution-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.solution-icon svg {
    width: 28px;
    height: 28px;
    color: white;
    stroke: currentColor;
}

.solution-content h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.solution-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-red);
    transition: gap var(--transition-base);
}

.solution-card:hover .solution-link {
    gap: 0.625rem;
}

.solution-link svg {
    transition: transform var(--transition-base);
}

.solution-card:hover .solution-link svg {
    transform: translateX(2px);
}

/* =============================================================================
   Products Grid - Modern Card Layout
   ============================================================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-decoration: none;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-card.product-featured {
    border-color: rgba(220, 20, 60, 0.2);
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.02) 0%, var(--bg-white) 100%);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.625rem;
    background: var(--accent-red);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
}

.product-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.product-icon svg {
    width: 26px;
    height: 26px;
    color: white;
    stroke: currentColor;
}

.product-tag {
    display: inline-block;
    padding: 0.1875rem 0.5rem;
    background: var(--accent-red-light);
    color: var(--accent-red);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    margin-bottom: 0.625rem;
    width: fit-content;
}

.product-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

.product-description {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1rem;
    flex: 1;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-red);
    transition: gap var(--transition-base);
}

.product-card:hover .product-link {
    gap: 0.5rem;
}

.product-link svg {
    transition: transform var(--transition-base);
}

.product-card:hover .product-link svg {
    transform: translateX(2px);
}

/* =============================================================================
   Sections - Compact Modern Spacing with Container
   ============================================================================= */
.section {
    padding: 4rem 2rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.section-lg {
    padding: 5rem 2rem;
}

.section-sm {
    padding: 2.5rem 2rem;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Full-width sections with backgrounds - use wrapper technique */
.section.bg-light,
.section.bg-gray,
.section.bg-gradient,
.section.bg-dark {
    max-width: 100%;
    position: relative;
}

/* Inner container for background sections */
.section.bg-light .section-header,
.section.bg-light .grid,
.section.bg-light .container,
.section.bg-light .feature-card,
.section.bg-light > div,
.section.bg-gray .section-header,
.section.bg-gray .grid,
.section.bg-gray .container,
.section.bg-gray .feature-card,
.section.bg-gray > div,
.section.bg-gradient .section-header,
.section.bg-gradient .grid,
.section.bg-gradient .container,
.section.bg-gradient > div,
.section.bg-dark .section-header,
.section.bg-dark .grid,
.section.bg-dark .container,
.section.bg-dark > div {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Section Headers - Compact */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--accent-red-light);
    color: var(--accent-red);
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.section-title {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Background Variants */
.bg-white {
    background: var(--bg-white);
}

.bg-light {
    background: var(--bg-light);
}

.bg-gray {
    background: var(--bg-gray);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-red) 0%, #B01030 100%);
}

.bg-dark {
    background: var(--gray-900);
}

/* =============================================================================
   Grid Layouts - Modern Compact
   ============================================================================= */
.grid {
    display: grid;
    gap: 1.5rem;
}

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

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

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

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

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

/* =============================================================================
   Stats Section
   ============================================================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

.stat-item:hover {
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

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

/* =============================================================================
   Job Listings - Compact Modern Design
   ============================================================================= */
.job-listing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.job-listing:hover {
    border-color: var(--accent-red);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.1);
    transform: translateX(4px);
}

.job-info {
    flex: 1;
    min-width: 0;
}

.job-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.job-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.job-listing:hover .job-title {
    color: var(--accent-red);
}

.job-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--radius-sm);
    background: rgba(220, 20, 60, 0.08);
    color: var(--accent-red);
    white-space: nowrap;
}

.job-tag.tag-mobile {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.job-tag.tag-data {
    background: rgba(59, 130, 246, 0.1);
    color: #2563EB;
}

.job-tag.tag-infra {
    background: rgba(139, 92, 246, 0.1);
    color: #7C3AED;
}

.job-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 0.625rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.job-location,
.job-type {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.job-location svg,
.job-type svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.job-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.job-listing:hover .job-arrow {
    background: var(--accent-red);
    color: white;
}

/* Mobile responsive for job listings */
@media (max-width: 640px) {
    .job-listing {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }

    .job-arrow {
        align-self: flex-end;
        margin-top: -2.5rem;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .job-meta {
        gap: 0.75rem;
    }
}

/* =============================================================================
   Footer - Dark Gray with Rounded Top Corners (Like Softarex)
   ============================================================================= */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 2rem 2rem;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--footer-heading);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.footer-logo span {
    color: var(--accent-red);
}

.footer-description,
.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--footer-text);
    margin-bottom: 1.5rem;
}

/* Footer Container (alternate structure) */
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.footer-links-grid .footer-column h4 {
    color: var(--footer-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-links-grid .footer-column ul {
    list-style: none;
}

.footer-links-grid .footer-column ul li {
    margin-bottom: 0.625rem;
}

.footer-links-grid .footer-column ul a {
    color: var(--footer-text);
    font-size: 0.9375rem;
    transition: all var(--transition-base);
}

.footer-links-grid .footer-column ul a:hover {
    color: var(--accent-red);
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--footer-text);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent-red);
    color: var(--bg-white);
}

.footer-column h4 {
    color: var(--footer-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--footer-text);
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-red);
    padding-left: 0.25rem;
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--footer-text);
}

.footer-bottom p {
    color: var(--footer-text);
    margin: 0;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--footer-text);
}

/* Social Links - Clean SVG Style */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--footer-text);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--accent-red);
    color: var(--bg-white);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* =============================================================================
   Utility Classes
   ============================================================================= */

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Text Colors */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-red { color: var(--accent-red); }

/* Font Weights */
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* Margins */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

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

/* Named Margin Utilities */
.mb-xs { margin-bottom: 0.5rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2rem; }
.mb-xl { margin-bottom: 3rem; }
.mb-2xl { margin-bottom: 4rem; }

/* Padding */
.p-0 { padding: 0; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }

/* Flexbox */
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* Border Radius */
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-pill { border-radius: var(--radius-pill); }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* =============================================================================
   Animations
   ============================================================================= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

.animate-fade-in {
    animation: fadeIn 0.6s ease;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease;
}

/* =============================================================================
   Responsive Design
   ============================================================================= */

/* Tablets and below */
@media (max-width: 1024px) {
    .navbar-container {
        padding: 0 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .footer-main {
        grid-template-columns: 1fr 3fr;
        gap: 2rem;
    }

    .footer-links-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }

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

    /* Solutions and Products grids - 3 columns on tablet */
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    /* About page story section responsive */
    .section > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    /* Touch-friendly tap targets */
    a, button, .btn, input, select, textarea {
        min-height: 44px;
    }

    .navbar-container {
        height: 70px;
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .logo-img {
        height: 44px;
    }

    .mobile-menu-toggle,
    .menu-toggle {
        display: flex;
    }

    .nav-center {
        display: none;
    }

    .nav-center.active {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-white);
        padding: 1rem;
        overflow-y: auto;
        z-index: 999;
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-center.active .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-center.active .nav-item {
        border-bottom: 1px solid var(--border-light);
    }

    .nav-center.active .nav-link {
        padding: 1rem 0;
        font-size: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Reset desktop dropdown arrow for mobile */
    .nav-center.active .nav-item.has-dropdown > .nav-link::after {
        content: '';
        width: 10px;
        height: 10px;
        border: none;
        border-right: 2px solid var(--text-muted);
        border-bottom: 2px solid var(--text-muted);
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        margin-left: auto;
        flex-shrink: 0;
    }

    .nav-center.active .nav-item.has-dropdown.open > .nav-link::after {
        transform: rotate(-135deg);
    }

    /* Mobile dropdown base styles - collapsed by default */
    .nav-center.active .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0;
        min-width: auto !important;
        max-height: 0;
        overflow: hidden;
        background: var(--bg-light);
        border-radius: var(--radius-md);
        margin: 0;
        transition: max-height 0.3s ease-out, margin 0.3s ease-out, padding 0.3s ease-out;
        display: block !important;
    }

    /* Disable hover-based dropdown on mobile - must come after base styles */
    .nav-center.active .nav-item.has-dropdown:hover .dropdown-menu {
        max-height: 0;
        padding: 0;
        margin: 0;
    }

    /* Disable pointer events on closed dropdowns to prevent touch issues */
    .nav-center.active .dropdown-menu {
        pointer-events: none;
    }

    .nav-center.active .nav-item.has-dropdown.open > .dropdown-menu {
        pointer-events: auto;
    }

    /* Open state for dropdowns - highest specificity */
    .nav-center.active .nav-item.has-dropdown.open > .dropdown-menu {
        max-height: 500px !important;
        margin: 0.5rem 0 !important;
        padding: 0.5rem !important;
        overflow: visible !important;
    }

    /* Also handle hover + open state */
    .nav-center.active .nav-item.has-dropdown.open:hover > .dropdown-menu {
        max-height: 500px !important;
        margin: 0.5rem 0 !important;
        padding: 0.5rem !important;
        overflow: visible !important;
    }

    .nav-center.active .dropdown-menu a {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
        border-radius: var(--radius-sm);
        display: block;
        min-height: auto;
    }

    .nav-center.active .dropdown-menu a:hover {
        background: var(--bg-gray);
    }

    /* Industries dropdown - 2 columns on mobile when open */
    .nav-center.active .dropdown-industries {
        display: block !important;
    }

    .nav-center.active .nav-item.has-dropdown.open > .dropdown-industries {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.25rem;
        max-height: 600px !important;
    }

    .nav-right {
        display: none;
    }

    /* Hero Banner adjustments */
    .hero-banner {
        padding: calc(70px + 2rem) 1rem 2rem !important;
        min-height: auto !important;
    }

    .hero-banner .hero-text {
        padding: 0 !important;
    }

    .hero-banner .display-1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
        line-height: 1.2 !important;
    }

    .hero-banner .subtitle {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .hero {
        padding: calc(70px + 2rem) 1rem 2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    /* Only hero CTA buttons go full width on mobile */
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Section adjustments */
    .section {
        padding: 2.5rem 1rem;
    }

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

    .section-tag {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

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

    /* Solutions and Products grids - 2 columns on mobile */
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .solution-card,
    .product-card {
        padding: 1rem;
    }

    .solution-icon,
    .product-icon {
        width: 44px;
        height: 44px;
    }

    .solution-icon svg,
    .product-icon svg {
        width: 22px;
        height: 22px;
    }

    /* Hero adjustments for mobile */
    .hero-scroll-indicator {
        display: none;
    }

    .trust-industries {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-industries span {
        font-size: 0.75rem;
        padding: 0.375rem 0.625rem;
    }

    /* Footer adjustments */
    .footer {
        padding: 2.5rem 1rem 1.5rem;
    }

    .footer-container {
        padding: 0;
    }

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

    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

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

    .footer-column h4 {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .footer-column ul li a {
        font-size: 0.8125rem;
        padding: 0.375rem 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    /* Card adjustments */
    .card-content {
        padding: 1.25rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* Breadcrumbs */
    .breadcrumb-wrapper {
        padding: calc(70px + 0.75rem) 1rem 0 !important;
    }

    .breadcrumbs {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    /* Stats grid */
    .stats-grid,
    [class*="grid"] > .stat-item {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Tables - horizontal scroll */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Forms */
    .form-group {
        margin-bottom: 1rem;
    }

    input, select, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Touch devices - disable hover effects that conflict with touch */
@media (hover: none) and (pointer: coarse) {
    .nav-item.has-dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
    }

    .nav-center.active .nav-item.has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 0;
    }

    .nav-center.active .nav-item.has-dropdown.open > .dropdown-menu {
        max-height: 500px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .display-1 {
        font-size: 1.75rem !important;
    }

    .display-2 {
        font-size: 1.5rem !important;
    }

    .display-3 {
        font-size: 1.25rem !important;
    }

    .navbar-container {
        padding: 0 0.75rem;
    }

    .logo-img {
        height: 40px;
    }

    .section {
        padding: 2rem 0.75rem;
    }

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

    .card-content,
    .feature-card {
        padding: 1.25rem;
    }

    /* Solutions and Products - single column on small mobile */
    .solutions-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .solution-content h3,
    .product-title {
        font-size: 1rem;
    }

    .solution-content p,
    .product-description {
        font-size: 0.8125rem;
    }

    /* Hero text adjustments */
    .hero-banner .display-1 {
        font-size: 1.5rem !important;
    }

    .hero-visual-bg .hero-text .subtitle {
        font-size: 0.9375rem;
    }

    .hero-trust-badges {
        margin-top: 1.5rem;
    }

    .trust-industries span {
        font-size: 0.6875rem;
        padding: 0.25rem 0.5rem;
    }

    /* Footer for small screens */
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

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

    .footer-column ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .footer-column ul li {
        display: inline;
    }

    .footer-column ul li a {
        display: inline-block;
        padding: 0.25rem 0.5rem;
    }

    /* Industries dropdown - single column on very small */
    .nav-center.active .nav-item.has-dropdown.open .dropdown-industries {
        grid-template-columns: 1fr;
    }

    /* Button adjustments */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    /* Breadcrumbs */
    .breadcrumb-wrapper {
        padding: calc(70px + 0.5rem) 0.75rem 0 !important;
    }
}

/* Landscape mobile orientation */
@media (max-width: 896px) and (orientation: landscape) {
    .navbar-container {
        height: 60px;
    }

    .nav-center.active {
        top: 60px;
    }

    .hero-banner {
        padding: calc(60px + 1.5rem) 1rem 1.5rem !important;
        min-height: auto !important;
    }

    .hero {
        padding: calc(60px + 1.5rem) 1rem 1.5rem;
    }

    .section {
        padding: 2rem 1rem;
    }
}

/* Large screens */
@media (min-width: 1440px) {
    .navbar-container,
    .section-container,
    .footer-content,
    .footer-bottom {
        max-width: 1400px;
    }
}

/* =============================================================================
   Mobile Utility Classes
   ============================================================================= */
.hide-mobile {
    display: block;
}

.show-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block !important;
    }

    .text-center-mobile {
        text-align: center !important;
    }

    .full-width-mobile {
        width: 100% !important;
    }
}

/* =============================================================================
   Scroll to Top Button
   ============================================================================= */
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    background: var(--accent-red);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
    border: none;
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.scroll-top:hover {
    background: var(--accent-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    .scroll-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }

    .scroll-top svg {
        width: 20px;
        height: 20px;
    }
}

/* =============================================================================
   Print Styles
   ============================================================================= */
@media print {
    .navbar,
    .menu-toggle,
    .btn,
    .social-links {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .card,
    .feature-card {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}
