/* ===== OMEGA ITES SOLUTIONS — MODERN DESIGN SYSTEM ===== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #1e293b;
  background: #ffffff;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #6147d1; text-decoration: none; transition: color 0.2s; }
a:hover { color: #4930a8; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: #0f172a;
  line-height: 1.3;
  font-weight: 700;
}

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: #f8fafc; }
.section-dark { background: #0f172a; color: #e2e8f0; }
.section-dark h2, .section-dark h3 { color: #ffffff; }
.text-center { text-align: center; }
.text-muted { color: #64748b; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* --- Typography --- */
.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #6147d1;
  margin-bottom: 12px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 18px;
  color: #64748b;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.page-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
}
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* --- Header / Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.navbar-brand .brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.navbar-brand:hover { color: #0f172a; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #475569;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: #6147d1;
  background: #f1f0ff;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: 1px;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #475569;
  border-radius: 8px;
  transition: all 0.15s;
}
.dropdown-menu a:hover {
  background: #f1f0ff;
  color: #6147d1;
}

/* Nested dropdown */
.dropdown-submenu { position: relative; }
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 4px;
}
.dropdown-submenu:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-submenu > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  margin-left: auto;
  float: right;
  margin-top: 6px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0f172a;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #6147d1 100%);
  margin-top: 72px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 .highlight { color: #a78bfa; }
.hero p {
  font-size: 19px;
  color: #cbd5e1;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #94a3b8;
}
.hero-badge svg { flex-shrink: 0; }

/* Page hero (smaller for inner pages) */
.page-hero {
  min-height: 320px;
  padding: 60px 0;
}
.page-hero h1 { font-size: 42px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
  color: #94a3b8;
}
.breadcrumb a { color: #a78bfa; }
.breadcrumb a:hover { color: #c4b5fd; }
.breadcrumb-sep { color: #475569; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: #6147d1;
  color: #ffffff;
}
.btn-primary:hover {
  background: #4930a8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(97,71,209,0.35);
}
.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #ffffff;
}
.btn-white {
  background: #ffffff;
  color: #6147d1;
}
.btn-white:hover {
  background: #f1f0ff;
  color: #4930a8;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* --- Cards --- */
.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e2e8f0;
  transition: all 0.25s;
}
.card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 30px rgba(97,71,209,0.08);
  transform: translateY(-2px);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #f1f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #6147d1;
  font-size: 24px;
}
.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.card p { color: #64748b; font-size: 15px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #6147d1;
  margin-top: 16px;
}
.card-link:hover { gap: 10px; }

/* --- Grid --- */
.grid { display: grid; gap: 24px; }
.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-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat { text-align: center; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #6147d1;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 15px;
  color: #64748b;
  font-weight: 500;
}

/* --- Feature row (icon + text side by side) --- */
.feature-row {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.feature-row-reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-visual { flex: 1; }
.feature-list { margin-top: 16px; }
.feature-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: #475569;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #6147d1;
  font-weight: 700;
}

/* --- Service list (for data processing etc) --- */
.service-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  padding-left: 20px;
  position: relative;
}
.service-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #6147d1;
  font-weight: 700;
}
.service-list li:last-child { border-bottom: none; }

/* --- Content page --- */
.content-page { padding: 64px 0 80px; }
.content-page h2 {
  font-size: 28px;
  margin: 40px 0 16px;
}
.content-page h2:first-child { margin-top: 0; }
.content-page h3 {
  font-size: 22px;
  margin: 32px 0 12px;
}
.content-page p {
  color: #475569;
  font-size: 16px;
  line-height: 1.8;
}
.content-page ul {
  margin: 16px 0;
  padding-left: 0;
}
.content-page ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: #475569;
}
.content-page ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c7d2fe;
}

/* Sidebar layout */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.sidebar-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 28px;
  position: sticky;
  top: 96px;
}
.sidebar-card h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: #0f172a;
}
.sidebar-nav a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: #475569;
  border-radius: 8px;
  transition: all 0.15s;
  margin-bottom: 2px;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: #f1f0ff;
  color: #6147d1;
}

/* --- Footer --- */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1e293b;
}
.footer-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand span {
  color: #a78bfa;
  font-size: 28px;
  font-weight: 800;
}
.footer h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: #94a3b8;
  font-size: 14px;
  transition: color 0.2s;
}
.footer ul a:hover { color: #a78bfa; }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
  color: #64748b;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #6147d1, #4930a8);
  border-radius: 20px;
  padding: 64px;
  text-align: center;
  color: #ffffff;
}
.cta-banner h2 {
  color: #ffffff;
  font-size: 32px;
  margin-bottom: 16px;
}
.cta-banner p {
  color: #ddd6fe;
  font-size: 18px;
  margin-bottom: 32px;
}

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
  line-height: 1.5;
}
.form-control:focus {
  outline: none;
  border-color: #6147d1;
  box-shadow: 0 0 0 3px rgba(97,71,209,0.12);
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-info-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 32px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f1f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6147d1;
  flex-shrink: 0;
}
.contact-info-text h4 {
  font-size: 15px;
  margin-bottom: 4px;
}
.contact-info-text p {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  }
  .nav-links.open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 16px;
    display: none;
  }
  .nav-links.open .dropdown.open > .dropdown-menu { display: block; }
  .hero { min-height: 400px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .page-hero h1 { font-size: 30px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 28px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .feature-row, .feature-row-reverse { flex-direction: column; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .cta-banner h2 { font-size: 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .container { padding: 0 16px; }
  .card { padding: 24px; }
}

/* --- Certification Top Bar --- */
.cert-bar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 12px;
  padding: 6px 0;
  text-align: center;
  letter-spacing: 0.5px;
}
.cert-bar strong { color: #a78bfa; }
.cert-bar + .navbar { top: 30px; }
.cert-bar + .navbar + .hero,
.cert-bar + .navbar + section.hero { margin-top: 102px; }

/* --- Brand Tagline (used in hero/footer only) --- */
.brand-tagline {
  display: none;
}

/* --- Footer Certs & Tagline --- */
.footer-tagline {
  font-style: italic;
  color: #a78bfa;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.footer-certs span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: #1e293b;
  color: #a78bfa;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* --- Client Logos Grid --- */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.clients-grid .client-card {
  width: 200px;
}
.client-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 160px;
  transition: all 0.3s;
}
.client-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 30px rgba(97,71,209,0.12);
  transform: translateY(-4px);
}
.client-card img {
  height: 72px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: all 0.3s;
}
.client-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
.client-card .client-name {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  text-align: center;
  line-height: 1.4;
}
.client-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.client-acronym {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #6147d1, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: 1px;
}
.client-card:hover .client-acronym {
  background: linear-gradient(135deg, #4930a8, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
}
.client-fullname {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
}

/* --- Homepage client carousel/slider --- */
.client-slider-section {
  background: #f1f5f9;
  padding: 60px 0;
  overflow: hidden;
}
.client-slider-track {
  display: flex;
  gap: 32px;
  animation: scrollClients 30s linear infinite;
  width: max-content;
}
.client-slider-track:hover { animation-play-state: paused; }
@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-slide {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  padding: 24px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}
.client-slide:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 20px rgba(97,71,209,0.1);
}
.client-slide img {
  height: 56px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: all 0.3s;
}
.client-slide:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.client-slide .client-acronym {
  font-size: 24px;
}
.client-slide .client-fullname {
  font-size: 10px;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .cert-bar span:last-child { display: none; }
  .cert-bar + .navbar { top: 24px; }
  .cert-bar + .navbar + .hero,
  .cert-bar + .navbar + section.hero { margin-top: 96px; }
  .clients-grid .client-card { width: calc(50% - 12px); }
  .brand-tagline { display: none; }
}
@media (max-width: 480px) {
  .clients-grid .client-card { width: 100%; }
}
