/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1a1a2e;
  background: #fff;
  font-size: 15px;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===================== HEADER / NAV ===================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0a0a23;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 6px;
}
.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e0e6ff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.brand-text p {
  font-size: 0.68rem;
  color: #00d4ff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}
nav ul {
  display: flex;
  gap: 6px;
}
nav ul li a {
  color: #c8d6ff;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.3px;
}
nav ul li a:hover,
nav ul li a.active {
  background: #00d4ff;
  color: #0a0a23;
}

/* ===================== SLIDER ===================== */
.slider {
  position: relative;
  width: 100%;
  height: clamp(220px, 45vw, 600px);
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  /*background: linear-gradient(to right, rgba(10,10,35,0.65) 40%, transparent);*/
  display: flex;
  align-items: center;
  padding: 0 80px;
}
.slide-text h2 {
  font-size: 2.6rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 12px;
}
.slide-text p {
  font-size: 1.1rem;
  color: #b8d4ff;
  max-width: 480px;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,212,255,0.25);
  border: 2px solid #00d4ff;
  color: #fff;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.slider-btn:hover { background: #00d4ff; color: #0a0a23; }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.2s;
}
.slider-dots span.active { background: #00d4ff; }

/* ===================== SECTIONS ===================== */
.section {
  padding: 72px 32px;
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0a0a23;
  text-align: center;
  margin-bottom: 8px;
}
.section-subtitle {
  text-align: center;
  color: #5a6a8a;
  font-size: 1rem;
  margin-bottom: 48px;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00d4ff, #0070f3);
  margin: 12px auto 40px;
  border-radius: 2px;
}

/* ===================== EXPERTISE TILES ===================== */
.expertise-grid {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.expertise-card {
  background: #f4f8ff;
  border: 1px solid #dde6f8;
  border-radius: 14px;
  padding: 32px 28px;
  flex: 1;
  min-width: 260px;
  max-width: 360px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,100,200,0.12);
}
.expertise-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
  margin-bottom: 20px;
}
.expertise-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a0a23;
  margin-bottom: 10px;
}
.expertise-card p {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.65;
}

/* ===================== AI SECTION ===================== */
.ai-section {
  background: linear-gradient(135deg, #0a0a23 0%, #0d1b4b 50%, #0a1628 100%);
  padding: 72px 32px;
  text-align: center;
}
.ai-section h2 {
  font-size: 2rem;
  color: #00d4ff;
  font-weight: 700;
  margin-bottom: 20px;
}
.ai-section p {
  max-width: 820px;
  margin: 0 auto;
  color: #b8d4ff;
  font-size: 1.02rem;
  line-height: 1.85;
}

/* ===================== FOOTER ===================== */
footer {
  background: #070713;
  padding: 28px 32px;
  text-align: center;
}
footer h3 {
  color: #e0e6ff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
footer p {
  color: #5a6a8a;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* ===================== PAGE HERO ===================== */
.page-hero {
  background: linear-gradient(135deg, #0a0a23, #0d2060);
  padding: 64px 32px;
  text-align: center;
}
.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.page-hero p {
  color: #00d4ff;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

/* ===================== SERVICES PAGE ===================== */
.services-intro {
  background: #f7faff;
  border-left: 4px solid #00d4ff;
  padding: 24px 28px;
  border-radius: 8px;
  margin-bottom: 48px;
  color: #2d3a55;
  font-size: 0.97rem;
  line-height: 1.8;
}
.service-block {
  margin-bottom: 60px;
}
.service-block h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0a0a23;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2eaff;
}
.service-block p {
  color: #3a4a65;
  margin-bottom: 18px;
  font-size: 0.96rem;
  line-height: 1.8;
}
.service-images {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.service-images img {
  flex: 1 1 28%;
  min-width: 0;
  max-width: 32%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}
.table-wrap {
  overflow-x: auto;
  margin-bottom: 18px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
thead tr { background: #0a0a23; color: #fff; }
th, td { padding: 10px 16px; text-align: left; border: 1px solid #dde6f8; }
tbody tr:nth-child(even) { background: #f4f8ff; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.feature-item {
  background: #f0f6ff;
  border: 1px solid #dde6f8;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #2d3a55;
}
.feature-item::before { content: "✓ "; color: #0070f3; font-weight: 700; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.process-card {
  background: #f4f8ff;
  border: 1px solid #dde6f8;
  border-radius: 12px;
  padding: 22px 18px;
}
.process-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a0a23;
  margin-bottom: 10px;
}
.process-card li {
  font-size: 0.85rem;
  color: #4a5568;
  padding: 3px 0 3px 14px;
  position: relative;
}
.process-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #00d4ff;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}
.why-item {
  background: #0a0a23;
  color: #e0e6ff;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 500;
}
.industries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.industries-list li {
  background: #e8f0ff;
  color: #0a0a23;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid #c5d5f5;
}

/* ===================== ABOUT PAGE ===================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.about-text h2 { font-size: 1.5rem; font-weight: 700; color: #0a0a23; margin-bottom: 14px; }
.about-text p { color: #3a4a65; font-size: 0.97rem; line-height: 1.85; margin-bottom: 14px; }
.about-img { border-radius: 14px; overflow: hidden; }
.about-img img { width: 100%; height: 340px; object-fit: cover; }
.stat-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.stat-card {
  flex: 1;
  min-width: 180px;
  background: linear-gradient(135deg, #0a0a23, #0d2060);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  color: #fff;
}
.stat-card .num { font-size: 2.2rem; font-weight: 800; color: #00d4ff; }
.stat-card .lbl { font-size: 0.85rem; color: #b8d4ff; margin-top: 6px; }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.cap-item {
  background: #f0f6ff;
  border: 1px solid #dde6f8;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.88rem;
  color: #2d3a55;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cap-item::before { content: "⚙"; font-size: 1.1rem; }
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
.vm-card {
  background: #f4f8ff;
  border: 1px solid #dde6f8;
  border-top: 4px solid #00d4ff;
  border-radius: 12px;
  padding: 28px 24px;
}
.vm-card h3 { font-size: 1.15rem; font-weight: 700; color: #0a0a23; margin-bottom: 12px; }
.vm-card p { font-size: 0.93rem; color: #4a5568; line-height: 1.8; }

/* ===================== PARTNERS PAGE ===================== */
.partner-intro {
  background: #f4f8ff;
  border-left: 4px solid #00d4ff;
  padding: 22px 26px;
  border-radius: 8px;
  margin-bottom: 40px;
  color: #2d3a55;
  font-size: 0.97rem;
  line-height: 1.8;
}
.partner-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.partner-card {
  background: #fff;
  border: 1px solid #dde6f8;
  border-radius: 14px;
  padding: 28px 24px;
  border-top: 4px solid #0070f3;
  transition: transform 0.2s, box-shadow 0.2s;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,80,200,0.1);
}
.partner-card h3 { font-size: 1rem; font-weight: 700; color: #0a0a23; margin-bottom: 10px; }
.partner-card p { font-size: 0.87rem; color: #4a5568; line-height: 1.7; }
.trust-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.trust-item {
  background: #e8f0ff;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.87rem;
  color: #0a0a23;
  font-weight: 500;
  border: 1px solid #c5d5f5;
}
.trust-item::before { content: "✓ "; color: #0070f3; font-weight: 700; }

/* ===================== CONTACT PAGE ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: #2d3a55;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #dde6f8;
  border-radius: 8px;
  font-size: 0.94rem;
  font-family: inherit;
  color: #1a1a2e;
  background: #f8faff;
  margin-bottom: 20px;
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #0070f3; background: #fff; }
.contact-form textarea { height: 130px; resize: vertical; }
.btn-submit {
  background: linear-gradient(90deg, #0070f3, #00d4ff);
  color: #fff;
  font-size: 0.97rem;
  font-weight: 700;
  padding: 13px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.88; }
.contact-info h3 { font-size: 1.3rem; font-weight: 700; color: #0a0a23; margin-bottom: 14px; }
.contact-info p { font-size: 0.95rem; color: #3a4a65; line-height: 1.8; margin-bottom: 28px; }
.info-block { margin-bottom: 26px; }
.info-block h4 { font-size: 1rem; font-weight: 700; color: #0a0a23; margin-bottom: 10px; }
.info-block ul li { font-size: 0.92rem; color: #3a4a65; margin-bottom: 6px; }
.address-box {
  background: #f0f6ff;
  border: 1px solid #dde6f8;
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.92rem;
  color: #2d3a55;
  line-height: 1.9;
  margin-top: 10px;
}

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

/* ---- Tablet (≤ 900px) ---- */
@media (max-width: 900px) {
  /* Layout collapses */
  .about-intro, .vm-grid, .contact-grid { grid-template-columns: 1fr; }

  /* Slider text */
  .slide-text h2 { font-size: 1.8rem; }
  .slide-overlay { padding: 0 36px; }

  /* Section padding */
  .section, .ai-section { padding: 52px 24px; }

  /* Services images — two columns */
  .service-images img { max-width: 48%; }

  /* Page hero */
  .page-hero { padding: 48px 24px; }
  .page-hero h1 { font-size: 1.9rem; }

  /* About */
  .about-img img { width: 100%; height: auto; }
  .stat-row { gap: 16px; }

  /* Contact */
  .contact-grid { gap: 36px; }
}

/* ---- Mobile (≤ 680px) ---- */
@media (max-width: 680px) {
  /* Nav — stacked layout */
  .nav-inner {
    flex-direction: column;
    height: auto;
    padding: 14px 16px;
    gap: 10px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
  nav ul li a {
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  /* Brand */
  .brand-text h1 { font-size: 1.05rem; }
  .brand img { height: 42px; width: 42px; }

  /* Slider nav buttons */
  .slider-btn { width: 36px; height: 36px; font-size: 1.2rem; }
  .slider-btn.prev { left: 10px; }
  .slider-btn.next { right: 10px; }
  .slide-text h2 { font-size: 1.3rem; }
  .slide-overlay { padding: 0 20px; }

  /* Section headings */
  .section-title, .ai-section h2 { font-size: 1.5rem; }
  .section { padding: 40px 16px; }
  .ai-section { padding: 44px 16px; }
  .ai-section p { font-size: 0.93rem; }

  /* Expertise grid — single column; wide images contained, not cropped */
  .expertise-grid { flex-direction: column; align-items: stretch; }
  .expertise-card { max-width: 100%; min-width: unset; }
  .expertise-card img {
    object-fit: contain;
    background: #e8f0ff;
  }

  /* Slider — contain wide images on narrow screens so nothing is cut off */
  .slide img {
    object-fit: contain;
    background: #0a0a23;
  }

  /* Page hero */
  .page-hero { padding: 36px 16px; }
  .page-hero h1 { font-size: 1.55rem; }
  .page-hero p { font-size: 0.9rem; }

  /* Services — stack images full width, contained not cropped */
  .service-images { flex-direction: column; }
  .service-images img {
    max-width: 100%;
    flex-basis: auto;
    object-fit: contain;
    background: #f4f8ff;
  }
  .service-block h2 { font-size: 1.25rem; }

  /* About */
  .stat-card .num { font-size: 1.8rem; }
  .about-text h2 { font-size: 1.25rem; }

  /* Partners */
  .partner-cards { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { gap: 28px; }
  .contact-info h3 { font-size: 1.1rem; }

  /* Footer */
  footer { padding: 20px 16px; }
  footer h3 { font-size: 0.95rem; }
  footer p { font-size: 0.78rem; }

  /* Tables — smooth horizontal scroll on iOS */
  .table-wrap { -webkit-overflow-scrolling: touch; }
}

/* ---- Very small (≤ 400px) ---- */
@media (max-width: 400px) {
  .brand-text h1 { font-size: 0.95rem; }
  nav ul li a { padding: 5px 9px; font-size: 0.78rem; }
  .section-title, .ai-section h2 { font-size: 1.25rem; }
}
