/* ===== CSS Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #072ACB;
    --primary-dark: #0521a3;
    --primary-light: #e8ecfa;
    --accent: #072ACB;
    --accent-dark: #0521a3;
    --dark: #0a0e1a;
    --dark-2: #0f1526;
    --dark-3: #152035;
    --gray-900: #1a1a2e;
    --gray-800: #2d2d44;
    --gray-700: #44445e;
    --gray-600: #6b6b8a;
    --gray-500: #8888a4;
    --gray-400: #a8a8c0;
    --gray-300: #c8c8da;
    --gray-200: #e2e2ed;
    --gray-100: #f4f4f8;
    --white: #ffffff;
    --danger: #ff4757;
    --warning: #ffa502;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', 'Inter', -apple-system, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 30px rgba(7, 42, 203, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(7, 42, 203, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-nav {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.logo-img:hover {
    opacity: 0.85;
}

.footer-logo-img {
    height: 48px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--white);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 40%, var(--dark-3) 70%, var(--dark) 100%);
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 130px;
}

.hero-bg-animation {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 500px at 20% 50%, rgba(28, 25, 230, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 500px 400px at 80% 20%, rgba(7, 42, 203, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 700px 300px at 50% 90%, rgba(7, 42, 203, 0.06) 0%, transparent 60%);
    animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: var(--white);
}

.hero-tagline {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.typed-text {
    color: var(--accent);
    display: inline;
}

.hero-fixed-text {
    color: var(--accent);
    font-size: 0.55em;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-top: 8px;
}

.hero-typed-line {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
    min-height: 1.8em;
    font-family: var(--font-heading);
}

.cursor {
    color: var(--accent);
    animation: blink 1s infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Hero Bottom Marquee */
.hero-marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    overflow: hidden;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
}

.hero-scroll-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.hero-scroll-track {
    display: flex;
    gap: 24px;
    animation: heroMarquee 25s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.hero-phrase {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.hero-phrase-dot {
    color: rgba(7, 42, 203, 0.5);
    font-size: 0.85rem;
}

@keyframes heroMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-300);
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Hero Visual - Circuit Board */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.circuit-board {
    position: relative;
    width: 360px;
    height: 360px;
}

.chip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--dark-3), var(--gray-900));
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow), inset 0 0 30px rgba(0, 102, 255, 0.1);
    animation: chipGlow 3s ease-in-out infinite alternate;
}

@keyframes chipGlow {
    0% { box-shadow: var(--shadow-glow), inset 0 0 30px rgba(7, 42, 203, 0.15); }
    100% { box-shadow: 0 0 50px rgba(7, 42, 203, 0.3), inset 0 0 40px rgba(7, 42, 203, 0.2); }
}

.chip-inner {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 4px;
}

.trace {
    position: absolute;
    background: var(--primary);
    opacity: 0.3;
}

.trace-1 {
    top: 50%;
    left: 0;
    width: 90px;
    height: 2px;
    transform: translateY(-50%);
}

.trace-2 {
    top: 50%;
    right: 0;
    width: 90px;
    height: 2px;
    transform: translateY(-50%);
}

.trace-3 {
    left: 50%;
    top: 0;
    width: 2px;
    height: 90px;
    transform: translateX(-50%);
}

.trace-4 {
    left: 50%;
    bottom: 0;
    width: 2px;
    height: 90px;
    transform: translateX(-50%);
}

.node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    animation: nodePulse 2s ease-in-out infinite;
}

.node-1 { top: 50%; left: 0; transform: translate(-50%, -50%); animation-delay: 0s; }
.node-2 { top: 50%; right: 0; transform: translate(50%, -50%); animation-delay: 0.5s; }
.node-3 { top: 0; left: 50%; transform: translate(-50%, -50%); animation-delay: 1s; }
.node-4 { bottom: 0; left: 50%; transform: translate(-50%, 50%); animation-delay: 1.5s; }

@keyframes nodePulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
}

.node-2 {
    animation-name: nodePulse2;
}

@keyframes nodePulse2 {
    0%, 100% { opacity: 0.4; transform: translate(50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(50%, -50%) scale(1.5); }
}

.node-4 {
    animation-name: nodePulse4;
}

@keyframes nodePulse4 {
    0%, 100% { opacity: 0.4; transform: translate(-50%, 50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, 50%) scale(1.5); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-indicator:hover {
    opacity: 0.7;
}

.scroll-line {
    width: 1px;
    height: 40px;
    position: relative;
    background: rgba(255,255,255,0.1);
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.05rem;
}

/* ===== Services Section ===== */
.services {
    padding: 120px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.service-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.service-icon svg {
    width: 22px;
    height: 22px;
}

.service-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.84rem;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.service-tags li {
    padding: 3px 10px;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
}

/* ===== Industries Section ===== */
.industries {
    padding: 120px 0;
    background: var(--gray-100);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: subgrid;
    gap: 28px;
}

.industry-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 500px;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    transition: var(--transition);
}

.industry-automotive {
    background: linear-gradient(135deg, #1a1a40, #0a0e1a);
}

.industry-industrial {
    background: linear-gradient(135deg, #1a2820, #0a1a0e);
}

.industry-drones {
    background: linear-gradient(135deg, #1a2040, #0a0e2a);
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.industry-content {
    position: relative;
    z-index: 2;
    padding: 36px;
    color: var(--white);
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    gap: 0;
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: rgba(7, 42, 203, 0.15);
    border: 1px solid rgba(7, 42, 203, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    align-self: start;
}

.industry-icon svg {
    width: 32px;
    height: 32px;
}

.industry-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.industry-content > p {
    color: var(--gray-400);
    font-size: 0.92rem;
    margin-bottom: 0;
    line-height: 1.7;
    align-self: start;
}

.industry-content ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-self: start;
}

.industry-content li {
    color: var(--gray-300);
    font-size: 0.85rem;
    padding-left: 16px;
    position: relative;
}

.industry-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* ===== Expertise Section ===== */
.expertise {
    padding: 120px 0;
    background: var(--white);
}

.expertise-tabs {
    max-width: 960px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    background: var(--gray-100);
    padding: 6px;
    border-radius: var(--radius-sm);
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
    font-family: var(--font-main);
    white-space: nowrap;
}

.tab-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.tab-btn:hover:not(.active) {
    color: var(--dark);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.expertise-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.expertise-item {
    padding: 24px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.expertise-item:hover {
    background: var(--primary-light);
    transform: translateX(4px);
    border-left-color: var(--primary);
}

.expertise-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.expertise-item p {
    color: var(--gray-600);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ===== Products Section ===== */
.products {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}

.products .section-header h2 {
    color: var(--white);
}

.products .section-subtitle {
    color: var(--gray-400);
}

.products .section-tag {
    color: var(--accent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--dark-3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 36px;
    position: relative;
    transition: var(--transition);
    display: grid;
    grid-template-rows: auto auto 1fr auto auto;
}

.product-card:hover {
    border-color: rgba(7, 42, 203, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.product-badge.accent {
    background: var(--accent);
}

.product-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.product-card > p {
    color: var(--gray-400);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 24px;
    align-self: start;
}

.product-features {
    margin-bottom: 28px;
    align-self: end;
}

.product-features li {
    color: var(--gray-300);
    font-size: 0.88rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-features li:last-child {
    border-bottom: none;
}

/* ===== Process Section ===== */
.process {
    padding: 120px 0;
    background: var(--gray-100);
}

.process-timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    padding-left: 60px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 48px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: -60px;
    width: 56px;
    height: 56px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ===== About Section ===== */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.about-content > p {
    color: var(--gray-600);
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-values {
    display: grid;
    gap: 20px;
    margin-top: 32px;
}

.value h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.value p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-light), var(--gray-100));
    border-radius: var(--radius-lg);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.floating-badge {
    position: absolute;
    padding: 10px 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}

.badge-1 { top: 20%; right: -10px; animation-delay: 0s; }
.badge-2 { bottom: 30%; left: -10px; animation-delay: 1s; }
.badge-3 { top: 10%; left: 20%; animation-delay: 2s; }
.badge-4 { bottom: 12%; right: 10%; animation-delay: 1.5s; }
.badge-5 { bottom: 8%; left: 15%; animation-delay: 0.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.about-logo-img {
    width: 70%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    z-index: 1;
}

/* ===== Partners Section ===== */
.partners {
    padding: 60px 0;
    background: var(--gray-100);
    overflow: hidden;
}

.partners-title {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 32px;
}

.partners-scroll {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.partner-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-400);
    white-space: nowrap;
    opacity: 0.6;
    transition: var(--transition);
}

.partner-name:hover {
    opacity: 1;
    color: var(--primary);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Contact Section ===== */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 36px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-details {
    display: grid;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--gray-600);
    font-size: 0.92rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-100);
    padding: 40px;
    border-radius: var(--radius-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.92rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(7, 42, 203, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.82rem;
    margin-top: 12px;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--gray-500);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-400);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ===== Training Section ===== */
.training {
    padding: 120px 0;
    background: var(--white);
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.training-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.training-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.training-card.featured {
    border-color: var(--primary);
    background: var(--primary-light);
}

.training-card.featured:hover {
    box-shadow: 0 12px 40px rgba(7, 42, 203, 0.2);
}

.training-level {
    display: inline-block;
    padding: 4px 16px;
    background: var(--gray-100);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.training-card.featured .training-level {
    background: var(--primary);
    color: var(--white);
}

.training-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.training-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.training-details {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.training-details li {
    font-size: 0.82rem;
    color: var(--gray-600);
    font-weight: 500;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid var(--gray-300);
    background: transparent;
    color: var(--dark);
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn-outline-dark:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 24px;
    }

    .circuit-board {
        width: 200px;
        height: 200px;
    }

    .chip {
        width: 80px;
        height: 80px;
    }

    .chip-inner {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .trace-1, .trace-2 {
        width: 50px;
    }

    .trace-3, .trace-4 {
        height: 50px;
    }

    .node {
        width: 8px;
        height: 8px;
    }

    .hero-marquee {
        padding: 12px 0;
    }

    .hero-phrase {
        font-size: 0.8rem;
    }

    .scroll-indicator {
        bottom: 60px;
    }

    .scroll-line {
        height: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .industry-card {
        grid-row: auto;
        display: flex;
        flex-direction: column;
    }

    .industry-content {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .training-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    section {
        padding: 80px 0;
    }

    .industries,
    .expertise,
    .products,
    .process,
    .training {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        backdrop-filter: blur(20px);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: auto;
        padding: 120px 0 100px;
    }

    .hero-marquee {
        padding: 10px 0;
    }

    .hero-phrase {
        font-size: 0.75rem;
    }

    .scroll-indicator {
        bottom: 52px;
    }

    .scroll-line {
        height: 24px;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    .hero-typed-line {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hero-tagline {
        font-size: 0.8rem;
    }

    .circuit-board {
        width: 160px;
        height: 160px;
    }

    .chip {
        width: 64px;
        height: 64px;
    }

    .chip-inner {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .trace-1, .trace-2 {
        width: 40px;
    }

    .trace-3, .trace-4 {
        height: 40px;
    }

    .node {
        width: 6px;
        height: 6px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid,
    .products-grid,
    .training-grid {
        grid-template-columns: 1fr;
    }

    .industry-card {
        min-height: 380px;
        grid-row: auto;
        display: flex;
        flex-direction: column;
    }

    .industry-content {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .industry-content ul {
        grid-template-columns: 1fr 1fr;
    }

    .expertise-items {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .section-header h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .floating-badge {
        font-size: 0.72rem;
        padding: 6px 12px;
    }

    .about-image-placeholder {
        max-width: 320px;
    }

    .partners-title {
        font-size: 0.75rem;
    }

    section {
        padding: 60px 0;
    }

    .industries,
    .expertise,
    .products,
    .process,
    .training {
        padding: 60px 0;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding-bottom: 90px;
    }

    .circuit-board {
        width: 120px;
        height: 120px;
    }

    .chip {
        width: 52px;
        height: 52px;
    }

    .chip-inner {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .trace-1, .trace-2 {
        width: 28px;
    }

    .trace-3, .trace-4 {
        height: 28px;
    }

    .node {
        width: 5px;
        height: 5px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-typed-line {
        font-size: 0.85rem;
        min-height: 1.5em;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .scroll-indicator {
        bottom: 48px;
    }

    .scroll-line {
        height: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 20px;
    }

    .industry-card {
        min-height: 340px;
    }

    .industry-content {
        padding: 24px;
    }

    .industry-content h3 {
        font-size: 1.2rem;
    }

    .product-card {
        padding: 24px;
    }

    .training-card {
        padding: 24px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .process-timeline {
        padding-left: 48px;
    }

    .step-number {
        width: 44px;
        height: 44px;
        left: -48px;
        font-size: 0.9rem;
    }

    .navbar {
        padding: 12px 0;
    }

    .logo-img {
        height: 32px;
    }

    .footer-logo-img {
        height: 36px;
    }

    .about-image-placeholder {
        max-width: 260px;
    }

    .floating-badge {
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    .badge-1 { top: 15%; right: -5px; }
    .badge-2 { bottom: 25%; left: -5px; }
    .badge-3 { top: 5%; left: 10%; }
    .badge-4 { bottom: 8%; right: 5%; }
    .badge-5 { bottom: 3%; left: 10%; }

    section {
        padding: 48px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }
}

/* ===== Animations ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll reveal - uses classes so it doesn't override hover transforms */
.scroll-hidden {
    opacity: 0;
    translate: 0 30px;
    transition: opacity 0.5s ease, translate 0.5s ease;
}

.scroll-visible {
    opacity: 1;
    translate: 0 0;
}
