/* =====================================================
   RESET & VARIABLES
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand */
    --accent: #3b82f6;
    --accent-soft: #60a5fa;
    --accent-secondary: #8b5cf6;

    /* Text */
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;

    /* Backgrounds */
    --bg-dark: #0b0f19;
    --bg-soft: #111827;
    --bg-card: #0f172a;

    /* UI */
    --border: #1f2937;
    --radius-lg: 16px;
    --radius-sm: 10px;

    /* Effects */
    --shadow-soft: 0 10px 30px rgba(0,0,0,.4);
    --shadow-strong: 0 30px 80px rgba(0,0,0,.6);
    --glow-soft: 0 0 20px rgba(59,130,246,.25);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =====================================================
   BASE
===================================================== */
body {
    font-family: Inter, system-ui, sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at top, #111827, var(--bg-dark));
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: auto;
    padding: 0 24px;
}

section {
    padding: 140px 0;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
h1::selection {
    background: #2563eb;   /* solid blue */
    color: #ffffff;        /* force visible text */
    -webkit-text-fill-color: #ffffff;
}

p::selection,
a::selection {
    background: #2563eb;
    color: #ffffff;
}



h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #fbf9fa;
}

h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--accent-soft);
    margin-bottom: 12px;
}

p {
    font-size: 18px;
    color: var(--text-muted);
}

/* =====================================================
   HEADER / NAV
===================================================== */
header {
    position: sticky;
    top: 0;
    background: rgba(11,15,25,.8);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.navbar {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

nav a {
    margin-left: 36px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
}

nav a:hover {
    color: #fff;
}

.nav-cta {
    padding: 12px 22px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--glow-soft);
}

/* =====================================================
   HERO
===================================================== */
.hero {
    padding: 180px 0 160px;
}

.hero p {
    max-width: 680px;
    margin-top: 28px;
    font-size: 20px;
}

.hero-actions {
    margin-top: 48px;
    display: flex;
    gap: 18px;
}

.btn-primary {
    padding: 16px 34px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.btn-outline {
    padding: 16px 34px;
    border: 1px solid var(--border);
    color: #fff;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(255,255,255,.05);
}

/* =====================================================
   SERVICES (PREMIUM CARDS)
===================================================== */
.services {
    background: var(--bg-soft);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.service-box {
    background: linear-gradient(
        180deg,
        var(--bg-card),
        rgba(15,23,42,.9)
    );
    padding: 44px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.service-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(59,130,246,.15);
}

.service-box p {
    margin-top: 16px;
}

/* =====================================================
   PROCESS
===================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform .4s var(--ease);
}

.step:hover {
    transform: translateY(-6px);
}

.step span {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}
/* TECHNOLOGY SLIDER */
/* ================================
   TECHNOLOGY SLIDER SECTION
================================ */

/* ================================
   TECHNOLOGY SECTION (PREMIUM)
================================ */

.tech-section {
  background: linear-gradient(
    180deg,
    #f8fafc 0%,
    #ffffff 40%,
    #f8fafc 100%
  );
  position: relative;
}

/* heading contrast fix */
.tech-section h2 {
  color: #0f172a;
}

.tech-section p {
  color: #475569;
}

/* slider container */
.tech-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* moving track */
.tech-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.tech-slider.reverse .tech-track {
  animation: scroll-right 35s linear infinite;
}

/* card */
.tech-item {
  min-width: 170px;
  height: 96px;
  margin-right: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: all 0.35s ease;
}

/* icon */
.tech-item img {
  max-height: 42px;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: all 0.35s ease;
}

/* hover = alive */
.tech-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

.tech-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* animations */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* mobile tuning */
@media (max-width: 768px) {
  .tech-item {
    min-width: 140px;
    height: 86px;
  }
}

/* mobile optimization */
@media (max-width: 768px) {
  .tech-item {
    min-width: 140px;
    height: 90px;
  }
}
/* ============================
   INDUSTRIES WE SERVE
============================ */
.industries-section {
  background: radial-gradient(circle at center, rgba(255,180,80,0.15), #000 70%);
  padding: 140px 20px;
  color: #fff;
}

.industries-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.industries-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #f5e6d3;
}

.industries-subtitle {
  max-width: 850px;
  margin: 0 auto 80px;
  font-size: 18px;
  line-height: 1.7;
  color: #d6c7b2;
}

/* GRID */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

/* CARD */
.industry-card {
  background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
  border-radius: 20px;
  padding: 40px 20px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.industry-card i {
  font-size: 48px;
  color: #cfcfcf;
  margin-bottom: 18px;
  transition: all 0.4s ease;
}

.industry-card span {
  font-size: 16px;
  font-weight: 500;
  color: #e0e0e0;
}

/* HOVER */
.industry-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(145deg, #3a2f1f, #1f1a12);
  box-shadow: 0 30px 80px rgba(255,180,80,0.25);
}

.industry-card:hover i {
  color: #ffb450;
}

/* =====================================================
   WORK / CASE STUDIES
===================================================== */
.work {
    background: var(--bg-soft);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.work-card {
    background: var(--bg-card);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0,0,0,.5);
}

/* =====================================================
   CONTACT
===================================================== */
.contact {
    text-align: center;
}

.contact form {
    max-width: 540px;
    margin: 60px auto 0;
    display: grid;
    gap: 18px;
}

input,
textarea {
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 15px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* =====================================================
   FOOTER
===================================================== */
footer {
    border-top: 1px solid var(--border);
    padding: 48px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
    h1 { font-size: 42px; }

    .service-grid,
    .process-grid,
    .work-grid {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
    }
}
